OPSAWG WG S. Sasidharan Internet-Draft KP. Bhat Expires: July 10, 2010 S. Shreekantaiah Infosys Technologies Ltd. January 6, 2010 MIB for Energy, Efficiency, Throughput and Carbon Emission draft-sreek-powerconsumption-mib-00.txt Abstract This document defines a portion of Management Information Base (MIB) for the Energy consumption, Throughput, Efficiency and Carbon emission in a Network Element. Energy,Throughput and Efficiency are required to calculate the carbon emission of the network element. Status of this Memo This Internet-Draft is submitted to IETF in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet- Drafts. 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." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. This Internet-Draft will expire on July 10, 2010. Copyright Notice Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of Sasidharan, et al. Expires July 10, 2010 [Page 1] Internet-Draft Power Consuption MIB January 2010 publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 2. The Internet-Standard Management Framework . . . . . . . . . . 3 3. Conventions . . . . . . . . . . . . . . . . . . . . . . . . . 3 4. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 5. Definitions . . . . . . . . . . . . . . . . . . . . . . . . . 3 6. Security Considerations . . . . . . . . . . . . . . . . . . . 13 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 14 8. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 14 9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 14 9.1. Normative References . . . . . . . . . . . . . . . . . . . 14 9.2. Informative References . . . . . . . . . . . . . . . . . . 14 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 15 Sasidharan, et al. Expires July 10, 2010 [Page 2] Internet-Draft Power Consuption MIB January 2010 1. Introduction The carbon emission for a device is calculated as a function of Energy Consumed (Power in Watts) and efficiency (which is dependent on throughput). Mathematically the carbon emission is directly proportional to Energy Consumption Rate (ECR). Again, depending on the utilization of the device, meaning fully utilized, half or idle the ECR will change. For all practical purpose, the carbon emission from a device is calculated considering how much percentage of time the device has been utilized full, half and idle. This document suggests MIb structures for all the parameters required for calculating the carbon emission of a device successfully. 2. The Internet-Standard Management Framework For a detailed overview of the documents that describe the current Internet-Standard Management Framework, please refer to section 7 of RFC 3410[RFC3410]. Managed objects are accessed via a virtual information store, termed the Management Information Base or MIB. MIB objects are generally accessed through the Simple Network Management Protocol (SNMP). Objects in the MIB are defined using the mechanisms defined in the Structure of Management Information (SMI). This memo specifies a MIB module that is compliant to the SMIv2, which is described in STD 58, RFC 2578 [RFC2578], STD 58, RFC 2579 [RFC2579] and STD 58, RFC 2580 [RFC2580]. 3. Conventions 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 RFC 2119 [RFC2119]. 4. Overview The global MIB variables defined are for the system as a whole and a table of MIBs are being defined for the indpendent devices within the system. The table is meant for the systems whose independent module energy consumption and throughput can be measured. 5. Definitions Sasidharan, et al. Expires July 10, 2010 [Page 3] Internet-Draft Power Consuption MIB January 2010 POWERCONSUMPTION-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32, mib-2 FROM SNMPv2-SMI DisplayString FROM SNMPv2-TC MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP FROM SNMPv2-CONF; powerConsumptionMib MODULE-IDENTITY LAST-UPDATED "201001050000Z" ORGANIZATION "PowerConsumption Mib Working Group" CONTACT-INFO "Sreekanth Sasidharan, Sahana Shreekantaiah, KrishnaPrasad Bhat E-Mail: sreekanthss@infosys.com, sahana_s@infosys.com, krishnap_bhat@infosys.com" DESCRIPTION "This MIB describes Energy consumption, Throughput, Efficiency and Carbon emission." -- RFC Ed.: replace yyyy with actual RFC number & remove this note REVISION "201001050000Z" -- 05 January 2010 DESCRIPTION "Initial version, published as RFC yyyy." -- RFC Ed.: replace yyyy with actual RFC number & remove this note ::= { mib-2 XXX } -- RFC Ed.: replace XXX with IANA-assigned number & remove this note -- -- Top-level structure -- powerConsumptionNotifications OBJECT IDENTIFIER ::= { powerConsumptionMib 0 } powerConsumptionObjects OBJECT IDENTIFIER ::= { powerConsumptionMib 1 } -- -- Conformance Information -- powerConsumptionConformance OBJECT IDENTIFIER ::= { powerConsumptionMIB 2 } powerConsumptionCompliances OBJECT IDENTIFIER ::= { powerConsumptionConformance 1 } powerConsumptionGroups OBJECT IDENTIFIER ::= { powerConsumptionConformance 2 } powerGlobalResourceType OBJECT-TYPE Sasidharan, et al. Expires July 10, 2010 [Page 4] Internet-Draft Power Consuption MIB January 2010 SYNTAX DisplayString (SIZE (0..80)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "Type of equipment like router, switch,PC,Laptop .. etc" ::= {powerConsumptionObjects 1} powerGlobalResourceName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..80)) MAX-ACCESS read-only STATUS current DESCRIPTION "Name of the resource from which the information on power is collected" ::= {powerConsumptionObjects 2} powerGlobalResourceDesc OBJECT-TYPE SYNTAX DisplayString (SIZE (0..80)) MAX-ACCESS read-only STATUS current DESCRIPTION "Description of the resource like if its a switch/router/PC" ::= {powerConsumptionObjects 3} powerGlobalEnergyConsumptionFull OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "Energy Consumption measured in watts" ::= {powerConsumptionObjects 4} powerGlobalThroughputFull OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "Throughput measured in Gbps" ::= {powerConsumptionObjects 5} powerGlobalEffeciencyFull OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "It is a function of EnergyConsumption and Throughput( or utilization)" ::= {powerConsumptionObjects 6} powerGlobalEnergyConsumptionHalf OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only Sasidharan, et al. Expires July 10, 2010 [Page 5] Internet-Draft Power Consuption MIB January 2010 STATUS current DESCRIPTION "Energy Consumption measured in watts when the resource is running at half capacity" ::= {powerConsumptionObjects 7} powerGlobalThroughputHalf OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "Throughput measured in Gbps when the resource is running at half capacity" ::= {powerConsumptionObjects 8} powerGlobalEffeciencyHalf OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "It is a function of EnergyConsumption Half and ThroughputHalf (or utilization)" ::= {powerConsumptionObjects 9} powerGlobalEnergyConsumptionIdle OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "Energy Consumption measured in watts when the resource is idle" ::= {powerConsumptionObjects 10} powerGlobalThroughputIdle OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "Throughput measured in Gbps when the resource is idle" ::= {powerConsumptionObjects 11} powerGlobalEffeciencyIdle OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "It is function of EnergyConsumptionIdle and ThroughputIdle (or utilization)" ::= {powerConsumptionObjects 12} powerGlobalLoad OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only Sasidharan, et al. Expires July 10, 2010 [Page 6] Internet-Draft Power Consuption MIB January 2010 STATUS current DESCRIPTION "Load is the total power consumption which is measured as a function of load and throughput" ::= {powerConsumptionObjects 13} powerGlobalCo2Emission OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "The total Co2 emission is calculated as a function of total effeciency and load" ::= {powerConsumptionObjects 14} powerGlobalEffeciencyPercentageFull OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..8)) MAX-ACCESS read-write STATUS current DESCRIPTION "Percentage of the equipment running on full load" ::= {powerConsumptionObjects 15} powerGlobalEffeciencyPercentageHalf OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..8)) MAX-ACCESS read-write STATUS current DESCRIPTION "Percentage of the equipment running on half load" ::= {powerConsumptionObjects 16} powerGlobalEffeciencyPercentageIdle OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..8)) MAX-ACCESS read-write STATUS current DESCRIPTION "Percentage of the equipment being idle" ::= {powerConsumptionObjects 17} -- -- The power consumption Table -- powerConsumptionTable OBJECT-TYPE SYNTAX SEQUENCE OF PowerConsumptionEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Measuring the Carbon footprint of devices" ::= { powerConsumptionObjects 18} Sasidharan, et al. Expires July 10, 2010 [Page 7] Internet-Draft Power Consuption MIB January 2010 powerConsumptionEntry OBJECT-TYPE SYNTAX PowerConsumptionEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Measuring the Carbon footprint of equipments entry" INDEX {powerResourceId} ::= { powerConsumptionTable 1} PowerConsumptionEntry ::= SEQUENCE { powerResourceId Integer32, powerResourceType DisplayString, powerResourceName DisplayString, powerResourceDesc DisplayString, powerEnergyConsumptionFull OCTET STRING, powerThroughputFull OCTET STRING, powerEffeciencyFull OCTET STRING, powerEnergyConsumptionHalf OCTET STRING, powerThroughputHalf OCTET STRING, powerEffeciencyHalf OCTET STRING, powerEnergyConsumptionIdle OCTET STRING, powerThroughputIdle OCTET STRING, powerEffeciencyIdle OCTET STRING, powerLoad OCTET STRING, powerCo2Emission OCTET STRING, powerEffeciencyPercentageFull OCTET STRING, powerEffeciencyPercentageHalf OCTET STRING, powerEffeciencyPercentageIdle OCTET STRING } powerResourceId OBJECT-TYPE SYNTAX Integer32(1..200) MAX-ACCESS not-accessible STATUS current DESCRIPTION "Index for the table" ::= {powerConsumptionEntry 1} powerResourceType OBJECT-TYPE SYNTAX DisplayString (SIZE (0..80)) MAX-ACCESS read-only STATUS current DESCRIPTION "Type of the resource like Slot,CPU card, Chip..etc" ::= {powerConsumptionEntry 2} powerResourceName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..80)) MAX-ACCESS read-only Sasidharan, et al. Expires July 10, 2010 [Page 8] Internet-Draft Power Consuption MIB January 2010 STATUS current DESCRIPTION "Name of the resource from which the information on power is collected" ::= {powerConsumptionEntry 3} powerResourceDesc OBJECT-TYPE SYNTAX DisplayString (SIZE (0..80)) MAX-ACCESS read-only STATUS current DESCRIPTION "Description of the resource like if it a slot/Chit, CPU card etc" ::= {powerConsumptionEntry 4} powerEnergyConsumptionFull OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "Energy Consumption measured in watts" ::= {powerConsumptionEntry 5} powerThroughputFull OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "Throughput measured in Gbps" ::= {powerConsumptionEntry 6} powerEffeciencyFull OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "It is function of Energy Consumption and Throughput (or utilization)" ::= {powerConsumptionEntry 7} powerEnergyConsumptionHalf OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "Energy Consumption measured in watts when the resource is running at half capacity" ::= {powerConsumptionEntry 8} powerThroughputHalf OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "Throughput measured in Gbps when the Sasidharan, et al. Expires July 10, 2010 [Page 9] Internet-Draft Power Consuption MIB January 2010 resource is running at half capacity" ::= {powerConsumptionEntry 9} powerEffeciencyHalf OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "It is function of EnergyConsumptionHalf and ThroughputHalf (or Utilization)" ::= {powerConsumptionEntry 10} powerEnergyConsumptionIdle OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "Energy Consumption measured in watts when the resource is idle" ::= {powerConsumptionEntry 11} powerThroughputIdle OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "Throughput measured in Gbps when the resource is idle" ::= {powerConsumptionEntry 12} powerEffeciencyIdle OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "It is function of EnergyConsumptionidle and Throughputidle (or Utilization)" ::= {powerConsumptionEntry 13} powerLoad OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current DESCRIPTION "Load is the total power consumption which is measured as a function of load and throughput" ::= {powerConsumptionEntry 14} powerCo2Emission OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..16)) MAX-ACCESS read-only STATUS current Sasidharan, et al. Expires July 10, 2010 [Page 10] Internet-Draft Power Consuption MIB January 2010 DESCRIPTION "The total Co2 emission is calculated as a function of total effeciency and load" ::= {powerConsumptionEntry 15} powerEffeciencyPercentageFull OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..8)) MAX-ACCESS read-write STATUS current DESCRIPTION "Percentage of the equipment running on full load" ::= {powerConsumptionEntry 16} powerEffeciencyPercentageHalf OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..8)) MAX-ACCESS read-write STATUS current DESCRIPTION "Percentage of the equipment running on half load" ::= {powerConsumptionEntry 17} powerEffeciencyPercentageIdle OBJECT-TYPE SYNTAX OCTET STRING (SIZE(1..8)) MAX-ACCESS read-write STATUS current DESCRIPTION "Percentage of the equipment being idle" ::= {powerConsumptionEntry 18} -- -- Compliance Statements -- powerConsumptionCompliances MODULE-COMPLIANCE STATUS current DESCRIPTION "The compliance statement for network elements that implement methods to calculate Carbon Emission" MODULE -- this module MANDATORY-GROUPS { powerConsumptionCarbonEmissionGroup } GROUP pimBsrDiagnosticsGroup DESCRIPTION "This group is optional." ::= { powerConsumptionCompliances 1 } -- -- Units of Conformance -- Sasidharan, et al. Expires July 10, 2010 [Page 11] Internet-Draft Power Consuption MIB January 2010 powerConsumptionCarbonEmissionGroup OBJECT-GROUP OBJECTS { powerGlobalResourceType, powerGlobalResourceName, powerGlobalResourceDesc, powerGlobalEnergyConsumptionFull, powerGlobalThroughputFull, powerGlobalEffeciencyFull, powerGlobalEnergyConsumptionHalf, powerGlobalThroughputHalf, powerGlobalEffeciencyHalf, powerGlobalEnergyConsumptionIdle, powerGlobalThroughputIdle, powerGlobalEffeciencyIdle, powerGlobalLoad, powerGlobalCo2Emission, powerGlobalEffeciencyPercentageFull, powerGlobalEffeciencyPercentageHalf, powerGlobalEffeciencyPercentageIdle, powerResourceId, powerResourceType, powerResourceName, powerResourceDesc, powerEnergyConsumptionFull, powerThroughputFull, powerEffeciencyFull, powerEnergyConsumptionHalf, powerThroughputHalf, powerEffeciencyHalf, powerEnergyConsumptionIdle, powerThroughputIdle, powerEffeciencyIdle, powerLoad, powerCo2Emission, powerEffeciencyPercentageFull, powerEffeciencyPercentageHalf, powerEffeciencyPercentageIdle } STATUS current DESCRIPTION "A collection of objects for Carbon Emission in network element." ::= { powerConsumptionGroups 1 } END Sasidharan, et al. Expires July 10, 2010 [Page 12] Internet-Draft Power Consuption MIB January 2010 6. Security Considerations There are a number of management objects defined in this MIB module with a MAX-ACCESS clause of read-write and/or read-create. Such objects may be considered sensitive or vulnerable in some network environments. The support for SET operations in a non-secure environment without proper protection can have a negative effect on network operations. These are the objects and their sensitivity/ vulnerability: o powerGlobalEffeciencyPercentageFull, powerGlobalEffeciencyPercentageHalf, powerGlobalEffeciencyPercentageIdle - Changing these values will impact the calculations of carbon footprint of the whole device. o powerGlobalEffeciencyPercentageFull, powerGlobalEffeciencyPercentageHalf, powerGlobalEffeciencyPercentageIdle - Changing these values will impact the calculation of carbon footprint of the individual resource in the device. Some of the readable objects in this MIB module (i.e., objects with a MAX-ACCESS other than not-accessible) may be considered sensitive or vulnerable in some network environments. It is thus important to control even GET and/or NOTIFY access to these objects and possibly to even encrypt the values of these objects when sending them over the network via SNMP. In this MIB module, possible effects that can be induced by GET and/or NOTIFY operations include: o powerGlobalResourceType - This information will give the type of device. o powerResourceType - This information will give the type of the individual resource in the device. SNMP versions prior to SNMPv3 did not include adequate security. Even if the network itself is secure (for example by using IPSec), there is still no control over whom on the secure network is allowed to access (read/change/create/delete) the objects in this MIB module. It is RECOMMENDED that implementers consider the security features as provided by the SNMPv3 framework (see [RFC3410], section 8), including full support for the SNMPv3 cryptographic mechanisms (for authentication and privacy). Further, deployment of SNMP versions prior to SNMPv3 is NOT Sasidharan, et al. Expires July 10, 2010 [Page 13] Internet-Draft Power Consuption MIB January 2010 RECOMMENDED. Instead, it is RECOMMENDED to deploy SNMPv3 and to enable cryptographic security. It is then a customer/operator responsibility to ensure that the SNMP entity giving access to an instance of this MIB module is properly configured to give access to the objects only to those principals (users) that have legitimate rights to access (read/change/create/delete) them. 7. IANA Considerations POWERCONSUMPTION-MIB should be rooted under the mib-2 subtree. IANA is requested to assign { mib-2 XXX } to the POWERCONSUMPTION-MIB module specified in this document. 8. Acknowledgments Authors would like to acknowledge Mr. Bharat Joshi for the guidence in creating the RFC draft. 9. References 9.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC2434] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 2434, October 1998. [RFC2578] McCloghrie, K., Ed., Perkins, D., Ed., and J. Schoenwaelder, Ed., "Structure of Management Information Version 2 (SMIv2)", STD 58, RFC 2578, April 1999. [RFC2579] McCloghrie, K., Ed., Perkins, D., Ed., and J. Schoenwaelder, Ed., "Textual Conventions for SMIv2", STD 58, RFC 2579, April 1999. [RFC2580] McCloghrie, K., Perkins, D., and J. Schoenwaelder, "Conformance Statements for SMIv2", STD 58, RFC 2580, April 1999. 9.2. Informative References [RFC3410] Case, J., Mundy, R., Partain, D., and B. Stewart, "Introduction and Applicability Statements for Internet- Sasidharan, et al. Expires July 10, 2010 [Page 14] Internet-Draft Power Consuption MIB January 2010 Standard Management Framework", RFC 3410, December 2002. Authors' Addresses Sreekanth Sasidharan Infosys Technologies Ltd. 44 Electronics City, Hosur Road Bangalore 560 100 India Email: sreekanthss@infosys.com URI: http://www.infosys.com/ Krishna Prasad Bhat Infosys Technologies Ltd. 44 Electronics City, Hosur Road Bangalore 560 100 India Email: KrishnaP_Bhat@infosys.com URI: http://www.infosys.com/ Sahana Shreekantaiah Infosys Technologies Ltd. 44 Electronics City, Hosur Road Bangalore 560 100 India Email: Sahana_S@infosys.com URI: http://www.infosys.com/ Sasidharan, et al. Expires July 10, 2010 [Page 15]