Internet-Draft Export of Energy Consumption Information July 2026
Yan & Li Expires 7 January 2027 [Page]
Workgroup:
OPSAWG
Internet-Draft:
draft-yan-opsawg-ipfix-energy-consumption-02
Published:
Intended Status:
Standards Track
Expires:
Authors:
Jinjie. Yan
ZTE Corporation
Jinming. Li
China Mobile

Export of Energy Consumption Information in IPFIX

Abstract

This document introduces new IPFIX IEs for exporting energy consumption information of physical entities in a network device. New Information Elements are defined to report instantaneous and average energy consumption information at device, line-card, and port granularity.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 7 January 2027.

Table of Contents

1. Introduction

Energy consumption has emerged as a critical operational metric in modern data centers and communication networks, driven by increasing demands for sustainability and cost efficiency. Operators require accurate, traffic-correlated energy information to support applications such as energy-aware routing, per-service energy cost accounting, and fine-grained energy management.

General-purpose device energy monitoring solutions represented by YANG Push telemetry are designed for full-lifecycle energy status collection of devices and components, with periodic or state-change-triggered reporting as the native working mode. For scenarios that require deep binding of energy metrics with traffic flow events, additional subscription policy configuration and cross-dataset time alignment processing are required on the management side. In contrast, the IP Flow Information Export (IPFIX) protocol [RFC7011]is natively built around traffic flow metering and event-driven reporting. It can inherently associate energy observations with traffic events at the data source, providing causal and time-aligned traffic-energy associated data without additional post-processing.

To address these needs, this document defines six new Information Elements (IEs) that enable an IPFIX Exporting Process to report energy consumption for physical entities within a network device, including the entire device, line cards, and ports. The semantic definition of these metrics is aligned with the GREEN WG Power and Energy YANG module [I-D.ietf-green-power-and-energy-yang] to ensure data consistency across different telemetry protocols. These IEs support both instantaneous (realtime) power values, which provide snapshots at the moment of export for immediate analysis, and average power values over the measurement interval since the last export, which are useful for trend detection and aggregated accounting. The measurements are exported via existing IPFIX triggering mechanisms, such as packet count thresholds, active timeouts, and inactive timeouts—preserving causality between observed traffic and reported power metrics.

This document introduces new IPFIX IEs for exporting energy consumption information of physical entities in a network device to facilitate energy-aware networking by providing granular, real-time data for optimized network operations.

1.1. Requirements Language

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].

2. Terminology

This document makes use of the terms defined in [RFC7011]:

For energy efficiency related concepts, this document follows the definitions specified in [I-D.ietf-green-terminology].

3. New IPFIX IEs for Energy Consumption Information

The following new Information Elements are defined:

3.1. deviceRealtimePower

Name:deviceRealtimePower

ElementID: TBD1

Description: Instantaneous total power consumption of the entire exporting device at the time of export. To support interoperability across telemetry protocols, it is RECOMMENDED that the semantic of this IE aligns with the device-level instantaneous-power leaf defined in the GREEN Power and Energy YANG module.

Abstract Data Type: unsigned32

Data Type Semantics: quantity

Units: watts

Reference: This document and [I-D.ietf-green-power-and-energy-yang].

3.2. deviceAveragePower

Name:deviceAveragePower

ElementID: TBD2

Description: Average total power consumption of the entire exporting device over the interval since the last export of this Template.It is RECOMMENDED that the unit and measurement caliber of this IE align with the power metrics defined in the GREEN Power and Energy YANG module, to ensure cross-protocol data comparability.

Abstract Data Type: unsigned32

Data Type Semantics: quantity

Units: watts

Reference: This document and [I-D.ietf-green-power-and-energy-yang].

3.3. lineCardRealtimePower

Name:lineCardRealtimePower

ElementID: TBD3

Description: Instantaneous power consumption of the line card at the time of export.To support interoperability across telemetry protocols, it is RECOMMENDED that the semantic of this IE aligns with the component-level instantaneous-power leaf defined in the GREEN Power and Energy YANG module.

Abstract Data Type: unsigned32

Data Type Semantics: quantity

Units: milliwatts

Reference: This document and [I-D.ietf-green-power-and-energy-yang].

3.4. lineCardAveragePower

Name:lineCardAveragePower

ElementID: TBD4

Description: Average power consumption of the line card identified over the interval since the last export. It is RECOMMENDED that the unit and measurement caliber of this IE align with the power metrics defined in the GREEN Power and Energy YANG module, to ensure cross-protocol data comparability.

Abstract Data Type: unsigned32

Data Type Semantics: quantity

Units: milliwatts

Reference: This document and [I-D.ietf-green-power-and-energy-yang].

3.5. portRealtimePower

Name:portRealtimePower

ElementID: TBD5

Description: Instantaneous power consumption of the port at the time of export.To support interoperability across telemetry protocols, it is RECOMMENDED that the semantic of this IE aligns with the component-level instantaneous-power leaf defined in the GREEN Power and Energy YANG module.

Abstract Data Type: unsigned32

Data Type Semantics: quantity

Units: milliwatts

Reference: This document and [I-D.ietf-green-power-and-energy-yang].

3.6. portAveragePower

Name:portAveragePower

ElementID: TBD6

Description: Average power consumption of the port over the interval since the last export.It is RECOMMENDED that the unit and measurement caliber of this IE align with the power metrics defined in the GREEN Power and Energy YANG module, to ensure cross-protocol data comparability.

Abstract Data Type: unsigned32

Data Type Semantics: quantity

Units: milliwatts

Reference: This document and [I-D.ietf-green-power-and-energy-yang].

4. Use Cases

4.1. Energy-Aware Routing

This use case aligns with the "Selective reduction of energy consumption in network parts proportional to traffic levels" and "Fixed Network Energy Saving" use cases defined in [I-D.ietf-green-use-cases].

In this scenario, network controllers may require accurate, traffic-correlated energy consumption metrics of physical links (represented by ports) to compute paths that minimize total energy cost. For energy-aware routing scenarios, the accuracy of routing decisions depends on the time synchronization between traffic load data and energy consumption data at the moment of path calculation. General periodic telemetry reports both metrics independently; time offsets may degrade energy cost calculation precision.This IPFIX-based solution encapsulates traffic statistics and power measurements in a single traffic-triggered data record, ensuring natural time alignment for more accurate routing computation.

By leveraging the IPFIX-based energy telemetry defined in this document, a network device can export multi-level energy consumption data (e.g., port, line card, and device levels) triggered by traffic events such as packet count thresholds or active/inactive timeouts. The exported data records can provide both instantaneous and average power values over the observation interval, enabling the controller to derive meaningful energy cost metrics, such as per-link power-per-bit or average power under load, for use in path computation algorithms. This tight coupling between traffic behavior and energy reporting ensures that routing decisions reflect real-time energy efficiency characteristics of network links.

4.2. Per-Flow Energy Consumption Monitoring

For fine-grained energy accounting and auditing of specific high-bandwidth ("elephant") flows, such as backup traffic between data center servers, it is essential to attribute the energy consumed across multiple physical components (e.g., ingress/egress ports and their respective line cards) to the flow itself.

Using the mechanisms described in this document, an IPFIX Exporting Process can associate energy consumption measurements with a specific IP flow (identified by, e.g., a 5-tuple) and trigger synchronized reporting when predefined traffic thresholds are met. By including physical entity identifiers (e.g., lineCardId, portId) and the newly defined energy Information Elements, the exporter can generate multiple correlated data records corresponding to the various physical interfaces involved in forwarding the flow. This enables collectors to reconstruct a complete, multi-path energy footprint of the flow across the device, supporting accurate per-flow energy cost attribution and operational analysis.

5. Relationship to GREEN WG Work and Other Telemetry Mechanisms

5.1. Positioning within the GREEN Framework

The IPFIX energy telemetry mechanism defined in this document is recommended as a protocol-specific supplement to the GREEN WG energy efficiency management framework [I-D.ietf-green-framework], targeting monitoring use cases that require tight coupling of traffic and energy metrics.

To support uniform data aggregation and analysis across different telemetry protocols, it is RECOMMENDED to align the semantic definitions of energy metrics with the GREEN Power and Energy YANG module [I-D.ietf-green-power-and-energy-yang].

5.2. Complementarity with YANG Push

IPFIX-based energy telemetry and YANG Push-based telemetry are both viable implementation options for energy efficiency monitoring under the GREEN framework, with different design focuses and applicable scenarios.

For operators with both general device monitoring and fine-grained traffic-related analysis requirements, it is advisable to deploy both mechanisms in a complementary manner.

6. Operational Considerations

The export and interpretation of energy consumption information in IPFIX are intended to be driven by traffic activity observed at specific points in the data plane. Implementations SHOULD configure monitoring policies that associate one or more physical entities, such as a device, line card, or port—with an observation object (e.g., an interface or a flow).

Energy telemetry records SHOULD be generated when predefined traffic-driven conditions are met. These conditions MAY include:

The Exporting Process collects power measurements—such as instantaneous and average power—for each associated physical entity. These measurements are encoded into Data Records using the newly defined energy Information Elements (e.g., lineCardRealtimePower, portAveragePower). Each Data Record SHOULD also include identifier Information Elements (e.g., lineCardId, portId) to unambiguously associate the reported power values with their corresponding hardware components.

The resulting Data Records are exported to a Collector within an IPFIX Message, along with a reference to the applicable Template Record (e.g., via Template ID).

A Collector receiving such messages SHOULD possess the corresponding Template Record to correctly parse the structure and semantics of the Data Records.

The Collector parses each Data Record to recover:

This end-to-end mechanism ensures that energy reports are causally tied to traffic activity.

7. Security Considerations

TBA

8. IANA Considerations

This document requests IANA to create a new IE under the "IPFIX Information Elements" registry [RFC7012]available at [IANA-IPFIX].

Table 1: IPFIX Information Elements Registry
Element ID Name Reference
TBD1 deviceRealtimePower Section 3.1
TBD2 deviceAveragePower Section 3.2
TBD3 lineCardRealtimePower Section 3.3
TBD4 lineCardAveragePower Section 3.4
TBD5 portRealtimePower Section 3.5
TBD6 portAveragePower Section 3.6

9. Acknowledgements

TBA

10. References

10.1. Normative References

[I-D.ietf-green-framework]
Claise, B., Contreras, L. M., Lindblad, J., Palmero, M. P., Stephan, E., and Q. Wu, "Framework for Energy Efficiency Management", Work in Progress, Internet-Draft, draft-ietf-green-framework-02, , <https://datatracker.ietf.org/doc/html/draft-ietf-green-framework-02>.
[I-D.ietf-green-power-and-energy-yang]
Claise, B., Chen, G., Palmero, M. P., and J. Lindblad, "Power and Energy YANG Module", Work in Progress, Internet-Draft, draft-ietf-green-power-and-energy-yang-00, , <https://datatracker.ietf.org/doc/html/draft-ietf-green-power-and-energy-yang-00>.
[I-D.ietf-green-terminology]
Chen, G., Boucadair, M., Wu, Q., Contreras, L. M., and M. P. Palmero, "Terminology for Energy Efficiency Network Management", Work in Progress, Internet-Draft, draft-ietf-green-terminology-02, , <https://datatracker.ietf.org/doc/html/draft-ietf-green-terminology-02>.
[I-D.ietf-green-use-cases]
Stephan, E., Palmero, M. P., Claise, B., Wu, Q., Contreras, L. M., Bernardos, C. J., and X. Chen, "Use Cases for Energy Efficiency Management", Work in Progress, Internet-Draft, draft-ietf-green-use-cases-01, , <https://datatracker.ietf.org/doc/html/draft-ietf-green-use-cases-01>.
[IANA-IPFIX]
IANA, "IP Flow Information Export (IPFIX) Entities", <https://www.iana.org/assignments/ipfix>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC7011]
Claise, B., Ed., Trammell, B., Ed., and P. Aitken, "Specification of the IP Flow Information Export (IPFIX) Protocol for the Exchange of Flow Information", STD 77, RFC 7011, DOI 10.17487/RFC7011, , <https://www.rfc-editor.org/info/rfc7011>.
[RFC7012]
Claise, B., Ed. and B. Trammell, Ed., "Information Model for IP Flow Information Export (IPFIX)", RFC 7012, DOI 10.17487/RFC7012, , <https://www.rfc-editor.org/info/rfc7012>.

Authors' Addresses

Jinjie Yan
ZTE Corporation
China
Jinming Li
China Mobile
China