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-l1-mef-service-types { prefix "l1-st"; } organization "Internet Engineering Task Force (IETF) CCAMP WG"; contact "Editor: G. Fioccolla (giuseppe.fioccola@telecomitalia.it) Editor: K. Lee (kwangkoog.lee@kt.com) Editor: Y. Lee (leeyoung@huawei.com) Editor: D. Dhody (dhruv.ietf@gmail.com) Editor: O. Gonzalez de-Dio(oscar.gonzalezdedios@telefonica.com) Editor: D. Ceccarelli (daniele.ceccarelli@ericsson.com)"; description "this module describes Layer 1 connectivity service model for subscriber Layer 1 Connectivity Services and Attributes"; revision 2018-06-20 { description "updated version to incorporate MEF comments"; reference "to add the draft name"; } revision 2018-04-11 { description "Initial revision."; reference "to add the draft name"; } grouping protocol-coding-optical_interface { description "describes
"; leaf protocol { type identityref { base "l1-st:protocol-type"; } description "List of physical layer L1VC client protocol"; } leaf coding { type identityref { base "l1-st:coding-func"; } description "coding function"; } leaf optical_interface { type identityref { base "l1-st:optical-interface-func"; } description "optical-interface-function"; } } grouping uni-attributes { description "uni-service-attributes"; leaf UNI-ID { type string; description "the UNI id of UNI Service Attributes"; } uses protocol-coding-optical_interface; } grouping subscriber-l1vc-sls-service-attribute { description "The value of the Subscriber L1VC SLS (Service Level Specification) Service Attribute expressed in a 3-tuple of the form."; leaf time-start { type yang:date-and-time; description "a time that represent the date and time for the start of the SLS"; } leaf time-interval { type int64; units seconds; description "a time interval (e.g., 1 month) 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 performance-metric { type identityref { base "l1-st:performance-" +"metriclist"; } description "list of performance metric"; } } grouping subscriber-l1vc-service-attributes { description "subscriber layer 1 connection service service level"; leaf subscriber-l1vc-id { type string; description "subscriber L1VC identifier"; } leaf subscriber-l1vc-ep-id-1 { type string; description "subscriber end point ID"; } leaf subscriber-l1vc-ep-id-2 { type string; description "subscriber end point ID"; } leaf subscriber-l1vc-ep-UNI-1 { type leafref { path "/l1cs/access/uni-list/UNI-ID"; } description "this is one end of subscriber L1VC end point ID value = UNI-1"; } leaf subscriber-l1vc-ep-UNI-2 { type leafref { path "/l1cs/access/uni-list/UNI-ID"; } description "this is the other end of subscriber L1VC end point ID value = UNI-2"; } uses subscriber-l1vc-sls-service-attribute; } grouping subscriber-attributes { description "subscriber attributes"; uses subscriber-l1vc-service-attributes; } container l1cs { description "serves as a top-level container for a list of layer 1 connection services (l1cs)"; container access { description "UNI configurations"; list uni-list { key "UNI-ID"; description "uni identifier"; uses uni-attributes { description "UNI attributes information"; } } } container service { description "L1VC service"; list service-list { key "subscriber-l1vc-id"; description "an unique identifier of a service"; leaf subscriber-l1vc-id { type string; description "a unique service identifier for L1VC."; } container service-config { description "service-config container"; uses subscriber-attributes; }//end of service-config }//end of service list } //end of service container }//service top container }