Network Working Group X. Wang Internet-Draft Ruijie Networks Intended status: Standards Track H. Yao Expires: 8 January 2024 Z. Li China Mobile 7 July 2023 A YANG Data Model for Service Information draft-wang-service-information-yang-00 Abstract Computing-Aware Traffic Steering (CATS) aims to solve the problem of how the network edge can steer traffic between clients of a service and sites offering the service. To achieve such scheduling, the network needs to aware the computing information of the service. This document defines a YANG data model for the computing information of the service for CATS. 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 8 January 2024. Copyright Notice Copyright (c) 2023 IETF Trust and the persons identified as the document authors. All rights reserved. Wang, et al. Expires 8 January 2024 [Page 1] Internet-Draft Service Information YANG Model July 2023 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. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1. Tree Diagram . . . . . . . . . . . . . . . . . . . . . . 2 2. Computing Information Data Model . . . . . . . . . . . . . . 3 3. References . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.1. Normative References . . . . . . . . . . . . . . . . . . 6 3.2. Informative References . . . . . . . . . . . . . . . . . 6 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 6 1. Introduction Computing-Aware Traffic Steering (CATS) [I-D.ldbc-cats-framework] aims to solve the problem of how the network edge can steer traffic between clients of a service and sites offering the service. To achieve such scheduling, the network needs to aware the computing information of the service. The awareness methods are not limited to distributed, centralized, or hybrid[I-D.yao-cats-awareness-architecture]. This document defines a YANG data model for the computing information of the service transferring between the CATS-control center and the CATS-routers. Naturally, this data model could also be used for distributed solution. 1.1. Tree Diagram This section presents a simplified graphical representation of the computing information model using a YANG tree diagram[RFC8340]. Wang, et al. Expires 8 January 2024 [Page 2] Internet-Draft Service Information YANG Model July 2023 module: ietf-computing-information +--rw awareness +--rw computing-information +--rw service-instance +--rw service-ID inet:ip-prefix +--rw service-domain-name string +--rw computing-energy-consumption uint32 +--rw computing-cost uint32 +--rw peak-value-of-available-computing uint32 +--rw number-of-available-service-connections uint32 +--rw CPU-performance uint16 +--rw GPU-performance uint16 +--rw NPU-performance uint16 +--rw storage-capacity uint32 +--rw service-delay uint32 2. Computing Information Data Model file "ietf-computing-information@2022-07-08.yang" module ietf-computing-information { yang-version "1.1"; namespace "urn:ietf:params:xml:ns:yang: ietf-computing-information"; prefix computing-information; import ietf-inet-types { prefix inet ; revision-date 2013-07-15 ; reference "RFC 6991: Common YANG Data Types"; } organization "IETF cats(Computing-Aware Traffic Steering)Working Group"; contact "WG Web: WG List: Author: Xuewei Wang Author: Huijuan Yao Author: Zhiqiang Li "; description "This document defines a YANG data model used for computing information awareness. Wang, et al. Expires 8 January 2024 [Page 3] Internet-Draft Service Information YANG Model July 2023 Copyright (c) 2023 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Revised BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info). This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices. The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document are to be interpreted as described in BCP 14 (RFC 2119) (RFC 8174) when, and only when, they appear in all capitals, as shown here."; revision 2022-05-11 { description 'First draft.' ; reference 'RFC XXXX: A YANG Data Model for Computing ' + 'Information Awareness.' ; } container awareness { description 'transferring of computing information of the service.' ; container computing-information { description 'computing information transferring.' ; container service-instance { description 'computing information of a service instance.' ; leaf service-ID { type inet:ip-prefix; description ' The ID of the service provided by the service instance ' ; } leaf service-domain-name { type string; description ' The domain name of the service provided by the service instance ' ; } leaf computing-energy-consumption { type uint32 Wang, et al. Expires 8 January 2024 [Page 4] Internet-Draft Service Information YANG Model July 2023 description ' the value of computing energy consumption ' ; } leaf computing-cost { type uint32 description ' the comprehensive computing cost ' ; } leaf peak-value-of-available-computing { type uint32 description ' the peak value of available computing ' ; } leaf number-of-available-service-connections { type uint32 description ' the number of available service connections ' ; } leaf CPU-performance { type uint16; description ' the CPU utilization' ; } leaf GPU-performance { type uint16; description ' the GPU utilization' ; } leaf NPU-performance { type uint16; description ' the NPU utilization' ; } leaf storage-capacity { type uint32; description ' The capacity of the storage ' ; } leaf service-delay { type uint32; description ' Service processing latency ' ; } } } } } Wang, et al. Expires 8 January 2024 [Page 5] Internet-Draft Service Information YANG Model July 2023 3. References 3.1. Normative References [RFC8340] Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams", BCP 215, RFC 8340, DOI 10.17487/RFC8340, March 2018, . 3.2. Informative References [I-D.ldbc-cats-framework] Li, C., Du, Z., Boucadair, M., Contreras, L. M., Drake, J., Huang, D., and G. S. Mishra, "A Framework for Computing-Aware Traffic Steering (CATS)", Work in Progress, Internet-Draft, draft-ldbc-cats-framework-02, 22 June 2023, . [I-D.yao-cats-awareness-architecture] Yao, H., Wang, X., Li, Z., and D. Huang, "Computing and Network Information Awareness (CNIA) system architecture for CATS", Work in Progress, Internet-Draft, draft-yao- cats-awareness-architecture-00, 7 July 2023, . Authors' Addresses Xuewei Wang Ruijie Networks Beijing China Email: wangxuewei1@ruijie.com.cn Huijuan Yao China Mobile Beijing China Email: yaohuijuan@chinamobile.com Zhiqiang Li China Mobile No.32 XuanWuMen West Street Beijing 100053 China Wang, et al. Expires 8 January 2024 [Page 6] Internet-Draft Service Information YANG Model July 2023 Email: lizhiqiangyjy@chinamobile.com Wang, et al. Expires 8 January 2024 [Page 7]