Internet-Draft | Service Information YANG Model | July 2023 |
Wang, et al. | Expires 8 January 2024 | [Page] |
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.¶
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 (c) 2023 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.¶
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.¶
This section presents a simplified graphical representation of the computing information model using a YANG tree diagram[RFC8340].¶
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¶
<CODE BEGINS> 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: <http://datatracker.ietf.org/group/cats/> WG List: <mailto:cats@ietf.org> Author: Xuewei Wang <mailto:wangxuewei1@ruijie.com.cn> Author: Huijuan Yao <mailto:yaohuijuan@chinamobile.com> Author: Zhiqiang Li <mailto:lizhiqiangyjy@chinamobile.com> "; description "This document defines a YANG data model used for computing information awareness. 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 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 ' ; } } } } } <CODE ENDS>¶