netconfcentral logo

ietf-l1csm

HTML

ietf-l1csm@2020-03-09



  module ietf-l1csm {

    yang-version 1.1;

    namespace
      "urn:ietf:params:xml:ns:yang:ietf-l1csm";

    prefix l1csm;

    import ietf-yang-types {
      prefix yang;
    }
    import ietf-layer1-types {
      prefix l1-types;
    }

    organization
      "Internet Engineering Task Force (IETF) CCAMP WG";

    contact
      "Editor: Y. Lee (younglee.tx@gmail.com)
     Editor: K. Lee (kwangkoog.lee@kt.com)
     Editor: H. Zheng (zhenghaomian@huawei.com)
     Editor: D. Dhody (dhruv.ietf@gmail.com)
     Editor: O. G. de-Dios (oscar.gonzalezdedios@telefonica.com)
     Editor: D. Ceccarelli (daniele.ceccarelli@ericsson.com)";

    description
      "This module describes L1 connectivity service based on MEF 63:
     Subscriber Layer 1 Service Attribute Technical Specification.
     Refer to MEF 63 for all terms and the original references
     used in the module.

     Copyright (c) 2020 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 Simplified BSD
     License set forth in Section 4.c of the IETF Trust's Legal
     Provisions Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX; see
     the RFC itself for full legal notices.";

    revision "2020-03-09" {
      description "Initial revision.";
      reference
        "RFC XXXX: A Yang Data Model for L1 Connectivity
        Service Model (L1CSM)";

    }


    grouping protocol-coding-optical-interface {
      description
        "describes <p,c,o> where p:protocol type; c:coding
       function; o:optical interface function";
      reference
        "MEF 63";

      leaf protocol {
        type identityref {
          base l1-types:client-signal;
        }
        description
          "List of physical layer L1VC client protocol";
      }

      leaf coding {
        type identityref {
          base l1-types:coding-func;
        }
        description "coding function";
      }

      leaf optical-interface {
        type identityref {
          base l1-types:optical-interface-func;
        }
        description
          "optical-interface-function";
      }
    }  // grouping protocol-coding-optical-interface

    grouping subscriber-l1vc-sls-service-attribute {
      description
        "The value of the Subscriber L1VC SLS (Service Level
        Specification) Service Attribute";
      reference
        "MEF 63";

      leaf start-time {
        type yang:date-and-time;
        description
          "a time that represent the date and time
                     for the start of the SLS";
      }

      leaf time-interval {
        type int32;
        units "seconds";
        description
          "a time interval (e.g., 2,419,200 seconds which is 28 days)
          that is used in conjunction wuth time-start to specify a
          contiguous sequence of time intervals T for determining
          when performance objectives are met.";
      }

      leaf-list performance-metric {
        type identityref {
          base l1-types:service-performance-metric;
        }
        description
          "list of service performance metric.";
      }
    }  // grouping subscriber-l1vc-sls-service-attribute

    grouping subscriber-l1vc-endpoint-attributes {
      description
        "subscriber layer 1 connection endpoint attributes";
      reference
        "MEF 63";

      container endpoint-1 {
        description
          "One end of UNI id's - string and id";
        leaf id {
          type string;
          mandatory true;
          description
            "subscriber end point ID of one end";
        }

        leaf uni {
          type leafref {
            path
              "/l1-connectivity/access/unis/uni/id";
          }
          mandatory true;
          description
            "this is one end of subscriber L1VC end point
           ID value = UNI-1";
        }
      }  // container endpoint-1

      container endpoint-2 {
        description
          "One end of UNI id's - string and id";
        leaf id {
          type string;
          mandatory true;
          description
            "subscriber end point ID of the other end";
        }

        leaf uni {
          type leafref {
            path
              "/l1-connectivity/access/unis/uni/id";
          }
          mandatory true;
          description
            "this is one other end of subscriber L1VC end point
              ID value = UNI-2";
        }
      }  // container endpoint-2
    }  // grouping subscriber-l1vc-endpoint-attributes

    container l1-connectivity {
      description
        "serves as a top-level container for a list of layer 1
       connection services (l1cs)";
      container access {
        description
          "UNI configurations for access networks";
        container unis {
          description
            "the list of UNI's to be configured";
          list uni {
            key "id";
            description "UNI identifier";
            leaf id {
              type string;
              description
                "the UNI id of UNI Service Attributes";
            }

            uses protocol-coding-optical-interface;
          }  // list uni
        }  // container unis
      }  // container access

      container services {
        description "L1VC services";
        list service {
          key "service-id";
          description
            "an unique identifier of a subscriber L1VC service";
          leaf service-id {
            type string;
            mandatory true;
            description
              "a unique service identifier for
                    subscriber L1VC.";
          }

          uses subscriber-l1vc-endpoint-attributes;

          uses subscriber-l1vc-sls-service-attribute;
        }  // list service
      }  // container services
    }  // container l1-connectivity
  }  // module ietf-l1csm

Summary

  
  
Organization Internet Engineering Task Force (IETF) CCAMP WG
  
Module ietf-l1csm
Version 2020-03-09
File ietf-l1csm@2020-03-09.yang
  
Prefix l1csm
Namespace urn:ietf:params:xml:ns:yang:ietf-l1csm
  
Cooked /cookedmodules/ietf-l1csm/2020-03-09
YANG /src/ietf-l1csm@2020-03-09.yang
XSD /xsd/ietf-l1csm@2020-03-09.xsd
  
Abstract This module describes L1 connectivity service based on MEF 63: Subscriber Layer 1 Service Attribute Technical Specification. Ref...
  
Contact
Editor: Y. Lee (younglee.tx@gmail.com)
Editor: K. Lee (kwangkoog.lee@kt.com)
Editor: H. Zheng (zhenghaomian@huawei.com)
Editor: D. Dhody (dhruv.ietf@gmail.com)
Editor: O. G. de-Dios (oscar.gonzalezdedios@telefonica.com)
Editor: D. Ceccarelli (daniele.ceccarelli@ericsson.com)

Description

 
This module describes L1 connectivity service based on MEF 63:
Subscriber Layer 1 Service Attribute Technical Specification.
Refer to MEF 63 for all terms and the original references
used in the module.

Copyright (c) 2020 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 Simplified BSD
License set forth in Section 4.c of the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info).

This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices.

Groupings

Grouping Objects Abstract
protocol-coding-optical-interface protocol coding optical-interface describes <p,c,o> where p:protocol type; c:coding function; o:optical interface function
subscriber-l1vc-endpoint-attributes endpoint-1 endpoint-2 subscriber layer 1 connection endpoint attributes
subscriber-l1vc-sls-service-attribute start-time time-interval performance-metric The value of the Subscriber L1VC SLS (Service Level Specification) Service Attribute

Objects

Type Key
Mandatory config
Optional config
Not config
Object Type Abstract
l1-connectivity container serves as a top-level container for a list of layer 1 connection services (l1cs)
   access container UNI configurations for access networks
      unis container the list of UNI's to be configured
         uni list UNI identifier
            coding leaf coding function
            id leaf the UNI id of UNI Service Attributes
            optical-interface leaf optical-interface-function
            protocol leaf List of physical layer L1VC client protocol
   services container L1VC services
      service list an unique identifier of a subscriber L1VC service
         endpoint-1 container One end of UNI id's - string and id
            id leaf subscriber end point ID of one end
            uni leaf this is one end of subscriber L1VC end point ID value = UNI-1
         endpoint-2 container One end of UNI id's - string and id
            id leaf subscriber end point ID of the other end
            uni leaf this is one other end of subscriber L1VC end point ID value = UNI-2
         performance-metric leaf-list list of service performance metric.
         service-id leaf a unique service identifier for subscriber L1VC.
         start-time leaf a time that represent the date and time for the start of the SLS
         time-interval leaf a time interval (e.g., 2,419,200 seconds which is 28 days) that is used in conjunction wuth time-start to specify a contiguous sequence of time intervals T for determining when performance objectives are met.