Internet-Draft Service Information YANG Model July 2023
Wang, et al. Expires 8 January 2024 [Page]
Workgroup:
Network Working Group
Internet-Draft:
draft-wang-service-information-yang-00
Published:
Intended Status:
Standards Track
Expires:
Authors:
X. Wang
Ruijie Networks
H. Yao
China Mobile
Z. Li
China Mobile

A YANG Data Model for Service Information

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.

Table of Contents

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].

    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

<CODE BEGINS> file "[email protected]"

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:[email protected]>

     Author:   Xuewei Wang
               <mailto:[email protected]>
     Author:   Huijuan Yao
               <mailto:[email protected]>
     Author:   Zhiqiang Li
               <mailto:[email protected]> ";

  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>

3. References

3.1. Normative References

[RFC8340]
Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams", BCP 215, RFC 8340, DOI 10.17487/RFC8340, , <https://www.rfc-editor.org/info/rfc8340>.

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, , <https://datatracker.ietf.org/doc/html/draft-ldbc-cats-framework-02>.
[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, , <https://datatracker.ietf.org/api/v1/doc/document/draft-yao-cats-awareness-architecture/>.

Authors' Addresses

Xuewei Wang
Ruijie Networks
Beijing
China
Huijuan Yao
China Mobile
Beijing
China
Zhiqiang Li
China Mobile
No.32 XuanWuMen West Street
Beijing
100053
China