NMRG L. M. Contreras, Ed. Internet-Draft G. Sanchez Illan Intended status: Informational Telefonica Expires: 9 January 2025 8 July 2024 Intent for Green Services draft-contreras-nmrg-green-intent-00 Abstract There is an increasing interest on incorporating sustainable dimension to the provision of commnunication services. This document describes an intent for allowing customers to express their desired intents in terms of the green service objectives they expect from the network provider. 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 9 January 2025. Copyright Notice Copyright (c) 2024 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 (https://trustee.ietf.org/ license-info) in effect on the date of 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 Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Contreras & Sanchez IllanExpires 9 January 2025 [Page 1] Internet-Draft Green Intent July 2024 Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Intents Targeting Green Services . . . . . . . . . . . . . . 2 3. Green Intent Lifecycle . . . . . . . . . . . . . . . . . . . 3 4. Implementation Status and Lessons Learned . . . . . . . . . . 5 4.1. Implementation Status . . . . . . . . . . . . . . . . . . 5 4.2. Lessons learned . . . . . . . . . . . . . . . . . . . . . 5 5. Security considerations . . . . . . . . . . . . . . . . . . . 5 6. Informative References . . . . . . . . . . . . . . . . . . . 5 Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . 6 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 6 1. Introduction Sustainability goals are moving the industry to the objective of providing services in a more efficient way from the perspective of energy consumption, which can be referred to as “green servicesâ€. The actual provision of such green services has dependencies on the challenges identified for the management for green networking [I-D.irtf-nmrg-green-ps]. In this respect, it is of interest allowing customers to express their desired intents in terms of the green service objectives they expect from the network provider. Such objectives can be related not only to the energy consumption itself, but also to the source of the energy being consumed for providing the service. The former relates to the CO2 footprint associated to the service. The provider could, or could not, honor the customer request expressed by the intent. It will be then necessary to enable a framework for negotiation, validation and enforcement of the objectives subject to the intent. This document primarily focuses on the structure and attributes of an intent targeting green services. The discussion on how to assess the value of the intent attributes is out of scope of this document. 2. Intents Targeting Green Services For customers it can be of interest to provide descriptive information about the expected energy and the CO2 intensity of the service. This information can be processed by the network provider for determining the way in which the service can be realized, as any other service constrained. For instance, according to some defined policies, a service could be provided using resources of a certain geographical area. Contreras & Sanchez IllanExpires 9 January 2025 [Page 2] Internet-Draft Green Intent July 2024 It should be noted that the concept of service can include not only connectivity but also Service Functions hosted in different points of presence. All of them can be subject to different levels of energy consumption and different sources of energy generation. The following parameters are considered as possible attributes of the intent: * _Energy consumption_. This attribute refers to the overall consumed energy, specifying a threshold value of consumption (e.g., less than such threshold). * _Energy efficiency_. This attribute relates to the ratio of energy per a given unit related to the service (typically such unit refers to unit of traffic, e.g., bits per Joule), specifying a threshold value of efficiency (e.g., greater than such threshold). * _Carbon emissions_. This attribute refers to the overall carbon intensity of the service (i.e., grams of CO2 per kWh), specifying a threshold value of emissions (e.g., less than such threshold). * _Use of renewable energy_ (expressed as a rate). This attribute relates to ratio of renewable energy used for the service (e.g., greater than such threshold), as well as, potentially, the source of renewable energy. These attributes do not necessarily be present at the same time in the green intent. Moreover, the final values of the intent attributes could be aligned with metrics defined in [I-D.cx-opsawg-green-metrics]. Finally, the customer can assess the commitment of the desired intents by the provider by means of APIs as the one defined in [I-D.petra-path-energy-api]. 3. Green Intent Lifecycle [RFC9315] defines an intent lifecycle composed of two phases, namely fulfillment and assurance. Figure 1 captures the intent procedure for the fulfillment phase. Contreras & Sanchez IllanExpires 9 January 2025 [Page 3] Internet-Draft Green Intent July 2024 User Space : Translation / IBS : Network Ops : Space : Space : : +----------+ : +----------+ +-----------+ : +-----------+ Fulfill |recognize/|---> |translate/|-->| learn/ |-->| configure/| |generate | | | | plan/ | | provision | |intent |<--- | refine | | render | : | | +----------+ : +----------+ +-----------+ : +-----------+ : : ......................................................................... Customer : Provider -------- : -------- : - Generate a green : - Translation of attributes as: - Configuration intent using one : constraints to check against: of the network or more of the : pre-defined policies : according to attributes defined : : policies in this document : : Figure 1: Fulfillment phase of the Green Intent Similarly, Figure 2 sketches the intent procedure for the assurance phase. : +--------+ : : |validate| : +----------+ : +----^---+ <----| monitor/ | Assure +-------+ : +---------+ +-----+---+ : | observe/ | |report | <---- |abstract |<---| analyze | <----| | +-------+ : +---------+ |aggregate| : +----------+ : +---------+ : ..................................................................... Customer : Provider -------- : -------- : - Analysis of the : - Checking of monitored data : - Collection of reported metrics : for internal closed loops : green metrics against the intent : to ensure commited SLOs : [I-D.cx-opsawg request : (inner closed loop) : -green-metrics] - Trigger of actions : - Exposure of green data by : suitable for if needed (outer : APIs, e.g. : the intent closed loop) : [I-D.petra-path-energy-api] : attributes Figure 2: Assurance phase of the Green Intent Contreras & Sanchez IllanExpires 9 January 2025 [Page 4] Internet-Draft Green Intent July 2024 4. Implementation Status and Lessons Learned This section will be used to track the status of the implementations of the model, which is part of software developments in the European HORIZON-JU-SNS 2022 Research and Innovation Action project 6Green. 4.1. Implementation Status Work in progress 4.2. Lessons learned At this stage of definition of the intent for green services, the following lessons can be reported: * There is yet an ongoing work on definition of metrics which requires to mature. Such metrics will conidtion the final format of the intents. * A service is composed by multiple assets, each of them with their own way of characterizing energy and power related metrics. A typical service could be composed of connectivity services, service functions, control and processing capabilities, etc. Thus an abstract way of reporting the overall green attributes for a service is needed, since it can not be expected full knowledge of the particular aspects of a service by the customer using the intent. As long as the work progress, additional lessons will be provided. 5. Security considerations To be done. 6. Informative References [I-D.cx-opsawg-green-metrics] Clemm, A., Dong, L., Mirsky, G., Ciavaglia, L., Tantsura, J., Odini, M., Schooler, E., Rezaki, A., and C. Pignataro, "Green Networking Metrics", Work in Progress, Internet- Draft, draft-cx-opsawg-green-metrics-02, 4 March 2024, <https://datatracker.ietf.org/doc/html/draft-cx-opsawg- green-metrics-02>. [I-D.irtf-nmrg-green-ps] Clemm, A., Westphal, C., Tantsura, J., Ciavaglia, L., Pignataro, C., and M. Odini, "Challenges and Opportunities in Management for Green Networking", Work in Progress, Contreras & Sanchez IllanExpires 9 January 2025 [Page 5] Internet-Draft Green Intent July 2024 Internet-Draft, draft-irtf-nmrg-green-ps-03, 28 June 2024, <https://datatracker.ietf.org/doc/html/draft-irtf-nmrg- green-ps-03>. [I-D.petra-path-energy-api] Rodriguez-Natal, A., Contreras, L. M., Muniz, A., Palmero, M., and F. Munoz, "Path Energy Traffic Ratio API (PETRA)", Work in Progress, Internet-Draft, draft-petra-path-energy- api-01, 18 March 2024, <https://datatracker.ietf.org/doc/html/draft-petra-path- energy-api-01>. [RFC9315] Clemm, A., Ciavaglia, L., Granville, L. Z., and J. Tantsura, "Intent-Based Networking - Concepts and Definitions", RFC 9315, DOI 10.17487/RFC9315, October 2022, <https://www.rfc-editor.org/info/rfc9315>. Acknowledgements This work has been partially funded by the HORIZON-JU-SNS 2022 Research and Innovation Action project 6Green (Grant Agreement no. 101096925). Authors' Addresses Luis M. Contreras (editor) Telefonica Ronda de la Comunicacion, s/n 28050 Madrid Spain Email: luismiguel.contrerasmurillo@telefonica.com URI: http://lmcontreras.com Guillermo Sanchez Illan Telefonica Ronda de la Comunicacion, s/n 28050 Madrid Spain Email: guillermo.sanchezillan@telefonica.com Contreras & Sanchez IllanExpires 9 January 2025 [Page 6]