Merge dev/fluorine work across to master
[unimgr.git] / legato-api / src / main / yang / mef-types.yang
diff --git a/legato-api/src/main/yang/mef-types.yang b/legato-api/src/main/yang/mef-types.yang
deleted file mode 100644 (file)
index 8202505..0000000
+++ /dev/null
@@ -1,1166 +0,0 @@
-module mef-types {\r
-  namespace "http://metroethernetforum.org/ns/yang/mef-types";\r
-  prefix mef-types;\r
-  organization "Metro Ethernet Forum";\r
-  contact\r
-    "Web URL: http://metroethernetforum.org/ E-mail: mibs@metroethernetforum.org\r
-    Postal: Metro Ethernet Forum 6033 W. Century Boulevard, Suite\r
-    1107 Los Angeles, CA 90045 U.S.A. Phone: +1 310-642-2800 Fax:\r
-    +1 310-642-2808";\r
-  description\r
-    "This module defines the YANG Type Definitions and shared (templated)\r
-    groupings of data elementsused by MEF YANG Modules. Reference\r
-    Overview: A number of base documents have been used to create\r
-    the MEF Types YANG Module. The following are the abbreviations\r
-    for the baseline documents: [RFC 6991] refers to IETF RFC 6991\r
-    'Common YANG Data Types', 2013-07-15 [RFC 6643] refers to IETF\r
-    RFC 6643 'Translation of Structure of Management Information Version\r
-    2 (SMIv2) MIB Modules to YANG Modules', 2011-11-25 [802.1AB] refers\r
-    to 'Station and Media Access Control Connectivity Discovery',\r
-    IEEE 802.1AB-2009, September 2009 [802.1q] refers to IEEE 802.1Q-2011\r
-    'IEEE Standard for Local and metropolitan area networks --Media\r
-    Access Control (MAC) Bridges and Virtual Bridged Local Area Networks,\r
-    August 2011 [802-2001] refers to 'IEEE Standard for Local and\r
-    Metropolitan Area Networks: Overview and Architecture', IEEE 802-2001,\r
-    February 2002 [MEF10.3] refers to MEF 10.3 'Ethernet Services\r
-    Attributes Phase 3', October 2013 [MEF6.2] refers to MEF 6.2 'EVC\r
-    Ethernet Services Defintions Phase 3', August 2014 [MEF40] refers\r
-    to MEF 40 'UNI and EVC Definition of Managed Objects', April 2013\r
-    [MEF45] refers to MEF 45 'Multi-CEN L2CP', August 2014 [MEF7.2]\r
-    refers to MEF 7.2 'Carrier Ethernet Management Information Model',\r
-    April 2013 [MEF7.3] refers to MEF 7.3 'Carrier Ethernet Management\r
-    Information Model', Working Draft #1 2015 [RFC 2737] refers to\r
-    IETF RFC 2737 'Entity MIB (Version 2)', December 1999 [RFC 2863]\r
-    refers to IETF RFC 2863 'The Interfaces Group MIB', June 2000\r
-    [RFC 3419] refers to IETF RFC 3419 'Textual Conventions for Transport\r
-    Addresses', December 2002 [Y.1731] refers to ITU-T Y.1731 'OAM\r
-    functions and mechanisms for Ethernet based networks', July 2011\r
-    [Q.840.1] refers to ITU-T Q.840.1 'Requirements and analysis for\r
-    NMS-EMS management interface of Ethernet over Transport and Metro\r
-    Ethernet Network(EoT/MEN)' March 2007";\r
-  revision 2015-05-26 {\r
-    description\r
-        "Formal Project Review Draft 1.";\r
-    reference "EVC Ethernet Services Definitions YANG Modules " +\r
-        "(MEF XX), TBD";\r
-  }\r
-  identity ieee-8023-interface-type {\r
-    description\r
-        "Base identity from which specific IEEE 802.3-2012 " +\r
-        "interface types are derived. This list was taken " +\r
-        "from Section 1.4 'Definitions'.";\r
-  }\r
-  identity ieee8023-10BASE2 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10BASE2";\r
-  }\r
-  identity ieee8023-10BASE5 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10BASE5";\r
-  }\r
-  identity ieee8023-10BASE-F {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10BASEF";\r
-  }\r
-  identity ieee8023-10BASE-FB {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10BASE-FB";\r
-  }\r
-  identity ieee8023-1000BASE-PX-D {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "1000BASE-PX-D";\r
-  }\r
-  identity ieee8023-1000BASE-PX-U {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "1000BASE-PX-U";\r
-  }\r
-  identity ieee8023-10BASE-FL {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10BASE-FL";\r
-  }\r
-  identity ieee8023-10BASE-FP {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10BASE-FP";\r
-  }\r
-  identity ieee8023-10BASE-T {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10BASE-T";\r
-  }\r
-  identity ieee8023-10BASE-Te {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10BASE-Te";\r
-  }\r
-  identity ieee8023-10BROAD36 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10BROAD36";\r
-  }\r
-  identity ieee8023-10PASS-TS {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10PASS-TS";\r
-  }\r
-  identity ieee8023-100BASE-BX10 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "100BASE-BX10";\r
-  }\r
-  identity ieee8023-100BASE-FX {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "100BASE-FX";\r
-  }\r
-  identity ieee8023-100BASE-LX10 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "100BASE-LX10";\r
-  }\r
-  identity ieee8023-100BASE-T {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "100BASE-T";\r
-  }\r
-  identity ieee8023-100BASE-T2 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "100BASE-T2";\r
-  }\r
-  identity ieee8023-100BASE-T4 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "100BASE-T4";\r
-  }\r
-  identity ieee8023-100BASE-TX {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "100BASE-TX";\r
-  }\r
-  identity ieee8023-100BASE-X {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "100BASE-X";\r
-  }\r
-  identity ieee8023-1000BASE-BX10 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "1000BASE-BX10";\r
-  }\r
-  identity ieee8023-1000BASE-CX {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "1000BASE-CX";\r
-  }\r
-  identity ieee8023-1000BASE-KX {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "1000BASE-KX";\r
-  }\r
-  identity ieee8023-1000BASE-LX {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "1000BASE-LX";\r
-  }\r
-  identity ieee8023-1000BASE-LX10 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "1000BASE-LX10";\r
-  }\r
-  identity ieee8023-1000BASE-PX10 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "1000BASE-PX10";\r
-  }\r
-  identity ieee8023-1000BASE-PX20 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "1000BASE-PX20";\r
-  }\r
-  identity ieee8023-1000BASE-SX {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "1000BASE-SX";\r
-  }\r
-  identity ieee8023-1000BASE-T {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "1000BASE-T";\r
-  }\r
-  identity ieee8023-1000BASE-X {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "1000BASE-X";\r
-  }\r
-  identity ieee8023-10GBASE-CX4 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10GBASE-CX4";\r
-  }\r
-  identity ieee8023-10GBASE-E {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10GBASE-E";\r
-  }\r
-  identity ieee8023-10GBASE-ER {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10GBASE-ER";\r
-  }\r
-  identity ieee8023-10GBASE-EW {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10GBASE-EW";\r
-  }\r
-  identity ieee8023-10GBASE-KR {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10GBASE-KR";\r
-  }\r
-  identity ieee8023-10GBASE-KX4 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10GBASE-KX4";\r
-  }\r
-  identity ieee8023-10GBASE-L {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10GBASE-L";\r
-  }\r
-  identity ieee8023-10GBASE-LR {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10GBASE-LR";\r
-  }\r
-  identity ieee8023-10GBASE-LRM {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10GBASE-LRM";\r
-  }\r
-  identity ieee8023-10GBASE-LW {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10GBASE-LW";\r
-  }\r
-  identity ieee8023-10GBASE-LX4 {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10GBASE-LX4";\r
-  }\r
-  identity ieee8023-10GBASE-PR {\r
-    base ieee-8023-interface-type;\r
-    description\r
-        "10GBASE-PR";\r
-  }\r
-  typedef identifier45 {\r
-    type string {\r
-      length "min..45";\r
-      pattern "[ -~]+";\r
-    }\r
-    description\r
-        "This type definition accepts any visible ASCII character " +\r
-        "plus the <space> character.The string must be an RFC 2579 " +\r
-        "Display String (RFC 854 ASCII 0.00-0.7f) but not contain " +\r
-        "the characters 0.00 through 0.1f. It does not accept " +\r
-        "the <delete> character (0.7f) despite the current MEF " +\r
-        "specification not disallowing it.";\r
-    reference "[MEF10.3] [R8], [R9]. [RFC2579]. [RFC854].";\r
-  }\r
-  typedef max-svc-frame-size-type {\r
-    type uint32 {\r
-      range "1522..16384";\r
-    }\r
-    units "bytes";\r
-    description\r
-        "Max Frame Size Type in bytes. Service Frames larger than " +\r
-        "this size will be discarded.";\r
-    reference "[MEF 10.3] Section 8.9 and Section 9.7.";\r
-  }\r
-  typedef retail-svc-id-type {\r
-    type uint32;\r
-    description\r
-        "General ID used by higher level applications that " +\r
-        "connect Subscribers information and SLA's with " +\r
-        "configured Ethernet Services.";\r
-    reference "[MEF10.3].";\r
-  }\r
-  typedef svc-provider-type {\r
-    type identifier45;\r
-    description\r
-        "Service Provider Type";\r
-    reference "[MEF10.3].";\r
-  }\r
-  typedef cen-type {\r
-    type identifier45;\r
-    description\r
-        "CEN Type";\r
-    reference "[MEF10.3].";\r
-  }\r
-  typedef subscriber-type {\r
-    type identifier45;\r
-    description\r
-        "Subscriber Type";\r
-    reference "[MEF10.3].";\r
-  }\r
-  typedef evc-id-type {\r
-    type identifier45;\r
-    description\r
-        "EVC ID Type";\r
-    reference "[MEF10.3].";\r
-  }\r
-  typedef simple-percent {\r
-    type decimal64 {\r
-      fraction-digits 2;\r
-      range "0.00 .. 100.00";\r
-    }\r
-    description "Percent.";\r
-  }\r
-  typedef vlan-id-type {\r
-    type uint32 {\r
-      range "1..4094";\r
-    }\r
-    description\r
-        "The VLAN-ID that uniquely identifies a VLAN. This is the " +\r
-        "12-bit  VLAN-ID used in the VLAN Tag header. The range " +\r
-        "is defined by the REFERENCED specification. VLAN ID 0 is " +\r
-        "used for VLAN Unaware Mode.";\r
-    reference "IEEE Std 802.1Q 2003 Edition, Virtual Bridged " +\r
-        "Local Area Networks.";\r
-  }\r
-  typedef vlan-id-or-none-type {\r
-    type uint32 {\r
-      range "0..4094";\r
-    }\r
-    description\r
-        "The VLAN-ID that uniquely identifies a VLAN. This is the " +\r
-        "12-bit VLAN-ID used in the VLAN Tag header. The range is " +\r
-        "defined by the REFERENCED specification. VLAN ID 0 is " +\r
-        "used for VLAN Unaware (ie. None) Mode";\r
-    reference "IEEE Std 802.1Q 2003 Edition, Virtual Bridged " +\r
-        "Local Area Networks.";\r
-  }\r
-  typedef vlan-id-or-all-type {\r
-    type uint32 {\r
-      range "1..4095";\r
-    }\r
-    description\r
-        "The VLAN-ID that uniquely identifies a VLAN. This is the " +\r
-        "12-bit  VLAN-ID used in the VLAN Tag header. The range " +\r
-        "is defined by the REFERENCED specification. VLAN ID 4095 " +\r
-        "is used for VLAN Any Mode";\r
-    reference "IEEE Std 802.1Q 2003 Edition, Virtual Bridged " +\r
-        "Local Area Networks.";\r
-  }\r
-  typedef vlan-id-any-none-type {\r
-    type uint32 {\r
-      range "0..4095";\r
-    }\r
-    description\r
-        "The VLAN-ID that uniquely identifies a VLAN. This is the " +\r
-        "12-bit VLAN-ID used in the VLAN Tag header. The range " +\r
-        "is defined by the REFERENCED specification. This " +\r
-        "typedef is for use with Operational Status information " +\r
-        "where VLAN ID 0 may be used for VLAN Unaware Mode and " +\r
-        "use of 4095 is Reserved / None.";\r
-    reference "IEEE Std 802.1Q 2003 Edition, Virtual Bridged " +\r
-        "Local Area Networks.";\r
-  }\r
-  typedef ieee-8021-priority {\r
-    type uint8 {\r
-      range "0..7";\r
-    }\r
-    description\r
-        "An 802.1Q user priority value.";\r
-    reference "IEEE 802.1Q";\r
-  }\r
-  typedef entity-admin-state-type {\r
-    type enumeration {\r
-      enum "unknown" {\r
-        description\r
-                "Unknown";\r
-      }\r
-      enum "locked" {\r
-        description\r
-                "Locked";\r
-      }\r
-      enum "shutting-down" {\r
-        description\r
-                "Shutting Down";\r
-      }\r
-      enum "unlocked" {\r
-        description\r
-                "Unlocked";\r
-      }\r
-    }\r
-    description\r
-        "Represents the various possible administrative states. " +\r
-        "A value of 'locked' means the resource is " +\r
-        "administratively prohibited from use.  A value of " +\r
-        "'shuttingDown' means that usage is administratively " +\r
-        "limited to current instances of use.A value of " +\r
-        "'unlocked' means the resource is not administratively " +\r
-        "prohibited from use.A value of 'unknown' means that " +\r
-        "this resource is unable to report administrative state.";\r
-    reference "ENTITY-STATE-TC-MIB";\r
-  }\r
-  typedef performance-metric-type {\r
-    type enumeration {\r
-      enum "one-way-frame-delay-performance" {\r
-        description\r
-                "One-way Frame Delay Performance.";\r
-      }\r
-      enum "one-way-frame-delay-range-performance" {\r
-        description\r
-                "One-way Frame Delay Range Performance.";\r
-      }\r
-      enum "one-way-mean-frame-delay-performance" {\r
-        description\r
-                "One-way Mean Frame Delay Performance.";\r
-      }\r
-      enum "one-way-inter-frame-delay-variation-performance" {\r
-        description\r
-                "One-way Inter-Frame Delay Variation Performance.";\r
-      }\r
-      enum "one-way-frame-loss-ratio-performance" {\r
-        description\r
-                "One-way Frame Loss Ratio Performance.";\r
-      }\r
-      enum "one-way-availability-performance" {\r
-        description\r
-                "One-way Availability Performance.";\r
-      }\r
-      enum "one-way-resiliency-performance-hli" {\r
-        description\r
-                "One-way Resiliency Performance expressed as High " +\r
-                "Loss Intervals.";\r
-      }\r
-      enum "one-way-resiliency-performance-chli" {\r
-        description\r
-                "One-way Resiliency Performance expressed as " +\r
-                "Consecutive High Loss Intervals.";\r
-      }\r
-      enum "one-way-group-availability-performance" {\r
-        description\r
-                "One-way Group Availability Performance.";\r
-      }\r
-      enum "one-way-multiple-evc-group-availability-performance" {\r
-        description\r
-                "One-way Multiple EVC Group Availability Performance.";\r
-      }\r
-    }\r
-    description\r
-        "Performance Metrics.";\r
-    reference "[MEF10.3] Section 8.8 and Section 11.";\r
-  }\r
-  typedef evc-type {\r
-    type enumeration {\r
-      enum "point-to-point" {\r
-        description\r
-                "Point to Point.";\r
-      }\r
-      enum "multipoint-to-multipoint" {\r
-        description\r
-                "Multipoint to Multipoint.";\r
-      }\r
-      enum "rooted-multipoint" {\r
-        description\r
-                "Rooted Multipoint.";\r
-      }\r
-    }\r
-    description\r
-        "EVC Type";\r
-    reference "[MEF10.3] Section 8.1.";\r
-  }\r
-  typedef ipvc-type {\r
-    type enumeration {\r
-      enum "multipoint" {\r
-        description\r
-                "Multipoint.";\r
-      }\r
-      enum "cloud-access" {\r
-        description\r
-                "Cloud-access.";\r
-      }\r
-      enum "rooted-multipoint" {\r
-        description\r
-                "Rooted Multipoint.";\r
-      }\r
-    }\r
-    description\r
-        "IPVC Type";\r
-  }\r
-  typedef evc-status-type {\r
-    type enumeration {\r
-      enum "new" {\r
-        description\r
-                "New.";\r
-      }\r
-      enum "active" {\r
-        description\r
-                "Active.";\r
-      }\r
-      enum "inactive" {\r
-        description\r
-                "Inactive (Not Active).";\r
-      }\r
-      enum "partially-active" {\r
-        description\r
-                "PartiallyActive.";\r
-      }\r
-    }\r
-    description\r
-        "EVC Status Type";\r
-    reference "[MEF16] Section 5.3.";\r
-  }\r
-  typedef evc-uni-role-type {\r
-    type enumeration {\r
-      enum "root" {\r
-        description\r
-                "Root Role for UNI. Valid setting for all service " +\r
-                "types. A UNI set to this value may send frames " +\r
-                "to UNIs configured as 'root' or 'leaf'.";\r
-      }\r
-      enum "leaf" {\r
-        description\r
-                "Leaf Role for UNI. Valid setting for Root-Multipoint " +\r
-                "EVCs only. A UNI set to this value may send frames " +\r
-                "to UNIs 'root'.";\r
-      }\r
-    }\r
-    description\r
-        "This object configures UNI type on an EVC.";\r
-    reference "[MEF10.3] Section 8.1.2.1.";\r
-  }\r
-  typedef data-svc-frame-delivery-type {\r
-    type enumeration {\r
-      enum "discard" {\r
-        description\r
-                "Service Frames are discarded.";\r
-      }\r
-      enum "unconditional" {\r
-        description\r
-                "Service Frames are unconditionally delivered no matter the content\r
-                of the Service Frame. An example of this is a Point-to-Point EVC";\r
-      }\r
-      enum "conditional" {\r
-        description\r
-                "Service Frame are conditionally delivered to the destination\r
-                UNI. The condition is specified, for example via a bandwidth profile\r
-                or unicast MAC address learning.";\r
-      }\r
-    }\r
-    description\r
-        "A MEF service can have one of three different " +\r
-        "delivery types.";\r
-  }\r
-  typedef uni-resiliency-type {\r
-    type enumeration {\r
-      enum "none" {\r
-        description\r
-                "No protection mechanism defined.";\r
-      }\r
-      enum "dual-link-aggregation" {\r
-        description\r
-                "Protection mechanism is Link Aggreg- ation as specified in [802.3],\r
-                with one link in active mode and one link in standby mode.";\r
-      }\r
-      enum "other" {\r
-        description\r
-                "Protection method defined that is not Link Aggregation active/standby\r
-                mode.";\r
-      }\r
-    }\r
-    description\r
-        "This object type of resiliency mechanism for a " +\r
-        "specific UNI.";\r
-  }\r
-  typedef svc-frame-format-type {\r
-    type enumeration {\r
-      enum "no-tag" {\r
-        description\r
-                "No-tag indicates that all data on the interface is " +\r
-                "as untagged data.";\r
-      }\r
-      enum "ctag" {\r
-        description\r
-                "Ctag indicates that tagged data is associated with " +\r
-                "CE-VLAN ID or a C-TAG.";\r
-      }\r
-      enum "stag" {\r
-        description\r
-                "Stag indicates that tagged data is associated with " +\r
-                "a provider tag or S-TAG.";\r
-      }\r
-      enum "stag-ctag" {\r
-        description\r
-                "Stag-ctag indicates that service traffic identified " +\r
-                "with both an S-TAG (outer tag) and a C-TAG (inner tag).";\r
-      }\r
-    }\r
-    description\r
-        "The format must be that of a MAC Frame specified in " +\r
-        "IEEE Std 802.3-2012 Clause 3.";\r
-    reference "[MEF10.3] Section 9.6. [MEF15]. [MEF7.2]. " +\r
-        "[MEF7.3] Section 10.1.1. MEF-UNI-EVC-MIB.yang.";\r
-  }\r
-  typedef uni-mode-type {\r
-    type enumeration {\r
-      enum "uni" {\r
-        description\r
-                "UNI Mode.";\r
-      }\r
-      enum "vuni" {\r
-        description\r
-                "VUNI Mode.";\r
-      }\r
-    }\r
-    description\r
-        "This setting is used to configure a UNI as either a " +\r
-        "UNI or a VUNI";\r
-    reference "[MEF7.3] Section 10.2.2.";\r
-  }\r
-  typedef evc-cos-identifier-type {\r
-    type enumeration {\r
-      enum "evc" {\r
-        description\r
-                "The EVC ID, depends on the CE-VLAN ID / EVC Mapping " +\r
-                "at the UNI, will be used to map Service Frames to " +\r
-                "CoS Names/Labels.";\r
-        reference "MEF 10.3 Section 10.2.1.1 for " +\r
-                "Data Service Frames.";\r
-      }\r
-      enum "pcp" {\r
-        description\r
-                "The Priority Code Point(PCP) value within the " +\r
-                "CE-VLAN Tag will be used to map Service Frames " +\r
-                "to CoS Names/Labels.";\r
-        reference "MEF 10.3 Section 10.2.1.2: Priority Code " +\r
-                "Point (PCP) Field in the Customer VLAN Tag " +\r
-                "in a Tagged Service Frame. ";\r
-      }\r
-      enum "dscp" {\r
-        description\r
-                "The Differentiated Services Code Point(DSCP) value " +\r
-                "from the IP Packet's IP Header Differentiated " +\r
-                "Services Group, associated with the Service Frame, " +\r
-                "will be used to map Service Frames to CoS Names/Labels.";\r
-        reference "MEF 10.3 Section 10.2.1.3: AKA Internet " +\r
-                "Protocol. For a Data Service Frame carrying an " +\r
-                "IPv4 or and IPv6 packet.";\r
-      }\r
-    }\r
-    description\r
-        "[MEF10.3] Section 10.2.1.";\r
-  }\r
-  typedef evc-eec-identifier-type {\r
-    type enumeration {\r
-      enum "pcp" {\r
-        description\r
-                "The Priority Code Point(PCP) value within the " +\r
-                "CE-VLAN Tag will be used to map Service Frames " +\r
-                "to CoS Names/Labels.";\r
-        reference "MEF 10.3 Section 10.2.1.2: Priority Code " +\r
-                "Point (PCP) Field in the Customer VLAN Tag " +\r
-                "in a Tagged Service Frame.";\r
-      }\r
-      enum "dscp" {\r
-        description\r
-                "The Differentiated Services Code Point(DSCP) value " +\r
-                "from the IP Packet's IP Header Differentiated " +\r
-                "Services Group, associated with the Service Frame, " +\r
-                "will be used to map Service Frames to CoS Names/Labels.";\r
-        reference "MEF 10.3 Section 10.2.1.3: AKA Internet " +\r
-                "Protocol. For a Data Service Frame carrying " +\r
-                "an IPv4 or and IPv6 packet.";\r
-      }\r
-    }\r
-    description\r
-        "[MEF10.3] Section 10.2.1.";\r
-  }\r
-  typedef cos-color-identifier-type {\r
-    type enumeration {\r
-      enum "evc" {\r
-        description\r
-                "The EVC ID, depends on the CE-VLAN ID / EVC Mapping " +\r
-                "at the UNI, will be used to map Service Frames to " +\r
-                "CoS Names/Labels.";\r
-        reference "MEF 10.3 Section 10.2.1.1 for Data " +\r
-                "Service Frames.";\r
-      }\r
-      enum "pcp" {\r
-        description\r
-                "The Priority Code Point(PCP) value within the " +\r
-                "CE-VLAN Tag will be used to map Service Frames " +\r
-                "to CoS Names/Labels.";\r
-        reference "MEF 10.3 Section 10.2.1.2: Priority Code " +\r
-                "Point (PCP) Field in the Customer VLAN Tag " +\r
-                "in a Tagged Service Frame. ";\r
-      }\r
-      enum "dei" {\r
-        description\r
-                "Drop Eligible Indicator(DEI) field of the CE-VLAN Tag.";\r
-      }\r
-      enum "dscp" {\r
-        description\r
-                "The Differentiated Services Code Point(DSCP) value " +\r
-                "from the IP Packet's IP Header Differentiated " +\r
-                "Services Group, associated with the Service " +\r
-                "Frame, will be used to map Service Frames to " +\r
-                "CoS Names/Labels.";\r
-        reference "MEF 10.3 Section 10.2.1.3: AKA Internet " +\r
-                "Protocol. For a Data Service Frame carrying " +\r
-                "an IPv4 or and IPv6 packet.";\r
-      }\r
-    }\r
-    description\r
-        "CoS Color Identification Type.";\r
-    reference "[MEF23.1].";\r
-  }\r
-  typedef cos-color-type {\r
-    type enumeration {\r
-      enum "green" {\r
-        description\r
-                "Green.";\r
-      }\r
-      enum "yellow" {\r
-        description\r
-                "Yellow.";\r
-      }\r
-    }\r
-    description\r
-        "CoS Color.";\r
-    reference "[MEF23.1].";\r
-  }\r
-  typedef bwp-cir-type {\r
-    type uint32;\r
-    description\r
-        "Bandwidth Profile Committed Information Rate in " +\r
-        "Kilobits Per Second.";\r
-    reference "[MEF10.3] [R143], [R144].";\r
-  }\r
-  typedef bwp-cbs-type {\r
-    type uint32;\r
-    description\r
-        "Bandwidth Profile Committed Burst Size in Bytes.";\r
-    reference "[MEF10.3] [R145].";\r
-  }\r
-  typedef bwp-eir-type {\r
-    type uint32;\r
-    description\r
-        "Bandwidth Profile Excess Information Rate in " +\r
-        "Kilobits Per Second.";\r
-    reference "[MEF10.3] [R146], [R147].";\r
-  }\r
-  typedef bwp-ebs-type {\r
-    type uint32 {\r
-      range "0 .. 10000000";\r
-    }\r
-    description\r
-        "Excess Burst Size (EBS) in bytes: This parameter limits " +\r
-        "the maximum number of bytes available for a burst " +\r
-        "of Service Frames sent at the UNI line rate that " +\r
-        "will be declared Yellow by the Bandwidth Profile. " +\r
-        "If this value is 0, then no limit is assumed.";\r
-    reference "[MEF10.3] [R146], [R147].";\r
-  }\r
-  typedef elmi-polling-counter-type {\r
-    type uint16 {\r
-      range "1 .. max";\r
-    }\r
-    description\r
-        "ELMI Polling Counter.";\r
-    reference "[MEF16] Section 5.6.1.";\r
-  }\r
-  typedef elmi-status-error-threshold-type {\r
-    type uint8 {\r
-      range "2 .. 10";\r
-    }\r
-    description\r
-        "The count of consecutive ELMI status polling errors " +\r
-        "before raising an error.";\r
-    reference "[MEF16] Section 5.6.1.";\r
-  }\r
-  typedef elmi-polling-timer-type {\r
-    type uint8 {\r
-      range "5 .. 30";\r
-    }\r
-    description\r
-        "The type used for a timer started after tranmitting " +\r
-        "a Status Enquiry. If the timer expires, record " +\r
-        "the error if a STATUS message not received and " +\r
-        "resend Status Enquiry.";\r
-    reference "[MEF16] Section 5.6.1.";\r
-  }\r
-  typedef elmi-polling-verification-timer-type {\r
-    type uint8 {\r
-      range "5 .. 30";\r
-    }\r
-    description\r
-        "The type used for a timer started after tranmitting " +\r
-        "a Status Message. If a Status Enquiry is recieved before " +\r
-        "this timer expires, record the error.";\r
-    reference "[MEF16] Section 5.6.1.";\r
-  }\r
-  typedef bwp-color-mode-type {\r
-    type enumeration {\r
-      enum "color-blind" {\r
-        description\r
-                "Color Blind. Do not use CoS Color Configuration for " +\r
-                "this Bandwidth Profile.";\r
-      }\r
-      enum "color-aware" {\r
-        description\r
-                "Color Aware. Use CoS Color Configuration for this " +\r
-                "Bandwidth Profile.";\r
-      }\r
-    }\r
-    description\r
-        "This attribute describes the color mode (CM) to be " +\r
-        "applied as \"color-blind mode\" or \"color-aware mode\".";\r
-    reference "[MEF10.3] Section 10.3, [R151].";\r
-  }\r
-  typedef bwp-coupling-flag-type {\r
-    type enumeration {\r
-      enum "yellow-eir-only" {\r
-        description\r
-                "When CF is set to \"yellow-eir-only\", the volume of " +\r
-                "the yellow service frames admitted to the network " +\r
-                "cannot exceed EIR.";\r
-      }\r
-      enum "yellow-eir-plus-cir" {\r
-        description\r
-                "When CF is set to \"yellow-eir-plus-cir\", the " +\r
-                "volume of the yellow service frames admitted to " +\r
-                "the network is bounded by CIR + EIR depending on " +\r
-                "volume of the offered green Service Frames.";\r
-      }\r
-    }\r
-    description\r
-        "The Bandwidth Profile parameter that determines whether " +\r
-        "or not overflow tokens not used for Service Frames " +\r
-        "declared Green can be used as Yellow tokens.";\r
-    reference "[MEF10.3] Section 12.1. [MEF23.1] Section 8.1.";\r
-  }\r
-  typedef auto-negotiation-type {\r
-    type enumeration {\r
-      enum "on" {\r
-        description\r
-                "Phy Auto-negotiation Enabled.";\r
-      }\r
-      enum "off" {\r
-        description\r
-                "Phy Auto-negotiation Disabled.";\r
-      }\r
-    }\r
-    description\r
-        "Phy Auto-negotiation Enabled/Disabled.";\r
-    reference "[MEF20].";\r
-  }\r
-  typedef service-entity-type {\r
-    type enumeration {\r
-      enum "evc" {\r
-        description\r
-                "EVC.";\r
-      }\r
-      enum "tunnel-1" {\r
-        description\r
-                "Tunnel Type 1.";\r
-      }\r
-      enum "tunnel-2" {\r
-        description\r
-                "Tunnel Type 2.";\r
-      }\r
-      enum "ovc" {\r
-        description\r
-                "OVC.";\r
-      }\r
-    }\r
-    description\r
-        "MEF Service Entity Type.";\r
-    reference "[MEF12.2] Section 7.3, Table 3.";\r
-  }\r
-  typedef l2cp-handling-type {\r
-    type enumeration {\r
-      enum "discard" {\r
-        description\r
-                "Discard - An action taken at a L2CP Decision Point " +\r
-                "where a L2CP frame is neither delivered to a protocol " +\r
-                "entity, nor delivered to the External Interface " +\r
-                "where the L2CP Decision Point is located, nor " +\r
-                "propagated to L2CP Decision Points at other " +\r
-                "External Interfaces.";\r
-      }\r
-      enum "pass" {\r
-        description\r
-                "Pass(Tunnel) - An action taken at a L2CP Decision " +\r
-                "Point where a L2CP frame is either delivered to " +\r
-                "the External Interface where the L2CP Decision Point " +\r
-                "is located, or propagated to the L2CP Decision " +\r
-                "Points located at all other External Interfaces " +\r
-                "associated by the EVC or OVC.";\r
-      }\r
-      enum "peer" {\r
-        description\r
-                "Peer - An action taken at a L2CP Decision Point " +\r
-                "where a L2CP frame is delivered to a protocol " +\r
-                "entity determined by the Protocol Identifier " +\r
-                "in the L2CP Frame.";\r
-      }\r
-    }\r
-    description\r
-        "L2CP Service Frame handling option.";\r
-    reference "[MEF45] Table 8.";\r
-  }\r
-  typedef l2cp-address-set-type {\r
-    type enumeration {\r
-      enum "aware-cta" {\r
-        description\r
-                "C-VLAN Tag Aware (CTA), for VLAN-based services where" +\r
-                " the CE-VLAN ID is used to map a frame to a service.";\r
-      }\r
-      enum "blind-ctb" {\r
-        description\r
-                "C-VLAN Tag Blind (CTB), for Port-based services where " +\r
-                "the CE-VLAN ID is not used to map a frame to a service.";\r
-      }\r
-      enum "option2-blind-ctb2" {\r
-        description\r
-                "C-VLAN Tag Blind Option 2 (CTB-2), for point-to-point " +\r
-                "Port-based services that support the EPL Option 2 " +\r
-                "L2CP processing.";\r
-      }\r
-    }\r
-    description\r
-        "The L2CP Address Set Service Attribute specifies the " +\r
-        "subset of the Bridge Reserved Addresses that are " +\r
-        "filtered (i.e. L2CP Frames with this destination " +\r
-        "address are Peered or Discarded but not Passed) " +\r
-        "at a L2CP Decision Point.";\r
-    reference "[MEF10.3] Section 9.19. [MEF45] Section 8.1, " +\r
-        "[R2] through [R9]. [MEF6.2] Section 8.2.2, [R1]. " +\r
-        "[MEF45] Section 8.1.";\r
-  }\r
-  typedef l2cp-peering-protocol-type {\r
-    type enumeration {\r
-      enum "ethertype" {\r
-        description\r
-                "Ethertype.";\r
-      }\r
-      enum "llc" {\r
-        description\r
-                "LLC.";\r
-      }\r
-      enum "other" {\r
-        description\r
-                "Other: Not using LLC nor Ethertype to specify " +\r
-                "the Protocol ID.";\r
-      }\r
-    }\r
-    description\r
-        "The Peering Protocol Identifier is one of Ethertype, " +\r
-        "LLC, or Other.";\r
-    reference "[MEF45] Section 7.";\r
-  }\r
-  typedef ieee8021p-priority-type {\r
-    type uint8 {\r
-      range "0 .. 7";\r
-    }\r
-    description\r
-        "IEEE 802.1p VLAN Header Class of Service field. Used for " +\r
-        "Priority Code Point(PCP) configurations.";\r
-    reference "[MEF10.3] Section 10.2.1.";\r
-  }\r
-  typedef mef-service-type {\r
-    type enumeration {\r
-      enum "epl" {\r
-        description\r
-                "Ethernet Private Line Service (EPL) Point-to-Point " +\r
-                "EVC, all to one bundling";\r
-      }\r
-      enum "evpl" {\r
-        description\r
-                "Ethernet Virtual Private Line (EVPL) Point-to-Point " +\r
-                "EVC, bundling and/or multiplexing";\r
-      }\r
-      enum "eplan" {\r
-        description\r
-                "Ethernet Private LAN Service (EP-LAN) " +\r
-                "Multipoint-to-Multipoint EVC, all to one bundling";\r
-      }\r
-      enum "evplan" {\r
-        description\r
-                "Ethernet Virtual Private LAN Service (EVP-LAN) " +\r
-                "Multipoint-to-Multipoint EVC, bundling and/or " +\r
-                "multiplexing";\r
-      }\r
-      enum "eptree" {\r
-        description\r
-                "Ethernet Private Tree Service (EP-Tree) " +\r
-                "Rooted-Multipoint EVC, all to one bundling";\r
-      }\r
-      enum "evptree" {\r
-        description\r
-                "Ethernet Virtual Private Tree Service (EVP-Tree) " +\r
-                "Rooted-Multipoint EVC, bundling and/or multiplexing";\r
-      }\r
-    }\r
-    description\r
-        "This object indicates the specific Ethernet service type.";\r
-  }\r
-  typedef ext-if-availability-type {\r
-    type enumeration {\r
-      enum "in-test" {\r
-        description\r
-                "In-test is equivalent to the IETF RFC 2883 " +\r
-                "ifOperStatus 'testing' state.";\r
-      }\r
-      enum "failed" {\r
-        description\r
-                "Failed is to be interpretted along with " +\r
-                "Operational State.";\r
-      }\r
-      enum "power-off" {\r
-        description\r
-                "Power-off indicates the phy is down.";\r
-      }\r
-      enum "degraded" {\r
-        description\r
-                "Degraded is to be interpretted along with " +\r
-                "Operational State..";\r
-      }\r
-      enum "not-installed" {\r
-        description\r
-                "Not-installed is equivalent to the " +\r
-                "IETF RFC 2883 ifOperStatus 'notPresent' state.";\r
-      }\r
-    }\r
-    description\r
-        "Availability of the Physical Interface. The " +\r
-        "availability status type indicates that the Phy " +\r
-        "is functioning properly.  May  be  mapped  to  " +\r
-        "RFC  2863,  The Interfaces  Group  MIB  " +\r
-        "IfOperstatus. Values for availability status " +\r
-        "include: inTest, failed, powerOff, degraded, " +\r
-        "notInstalled.";\r
-    reference "[ITU-T X.731]. [MEF7.3] Section 10.1.1, " +\r
-        "[MEF15], [MEF7.2] Appendix II.";\r
-  }\r
-  typedef virt-cx-availability-type {\r
-    type enumeration {\r
-      enum "in-test" {\r
-        description\r
-                "In-test is equivalent to the " +\r
-                "IETF RFC 2883 ifOperStatus 'testing' state.";\r
-      }\r
-      enum "failed" {\r
-        description\r
-                "Failed is to be interpretted along " +\r
-                "with Operational State.";\r
-      }\r
-      enum "degraded" {\r
-        description\r
-                "Degraded is to be interpretted along " +\r
-                "with Operational State..";\r
-      }\r
-      enum "not-installed" {\r
-        description\r
-                "Not-installed is equivalent to the " +\r
-                "IETF RFC 2883 ifOperStatus 'notPresent' state.";\r
-      }\r
-    }\r
-    description\r
-        "Availability of the Virtual Connection. The " +\r
-        "availability status type indicates that the " +\r
-        "Virtual Connection is functioning properly. " +\r
-        "May be mapped to RFC 2863, The Interfaces Group MIB " +\r
-        "IfOperstatus. Values for availability status include: inTest," +\r
-        " failed, powerOff, degraded, notInstalled.";\r
-    reference "[ITU-T X.731]. [MEF7.3] Section 10.1.1, " +\r
-        "[MEF15], [MEF7.2] Appendix II.";\r
-  }\r
-  typedef svc-endpoint-availability-type {\r
-    type enumeration {\r
-      enum "in-test" {\r
-        description\r
-                "In-test is equivalent to the " +\r
-                "IETF RFC 2883 ifOperStatus 'testing' state.";\r
-      }\r
-      enum "failed" {\r
-        description\r
-                "Failed is to be interpretted along " +\r
-                "with Operational State.";\r
-      }\r
-      enum "degraded" {\r
-        description\r
-                "Degraded is to be interpretted along " +\r
-                "with Operational State..";\r
-      }\r
-      enum "not-installed" {\r
-        description\r
-                "Not-installed is equivalent to the " +\r
-                "IETF RFC 2883 ifOperStatus 'notPresent' state.";\r
-      }\r
-    }\r
-    description\r
-        "Availability of the Service Endpoint. The " +\r
-        "availability status type indicates that the " +\r
-        "Service Endpoint is functioning properly. " +\r
-        "May be mapped to RFC 2863. The Interfaces Group MIB " +\r
-        "IfOperstatus. Values for availability status include: " +\r
-        "inTest, failed, powerOff, degraded, notInstalled.";\r
-    reference "[ITU-T X.731]. [MEF7.3] Section 10.1.1, " +\r
-        "[MEF15], [MEF7.2] Appendix II.";\r
-  }\r
-  typedef ext-if-physical-layer-type {\r
-    type enumeration {\r
-      enum "10M" {\r
-        description\r
-                "10M bits-per-second.";\r
-      }\r
-      enum "100M" {\r
-        description\r
-                "100M bits-per-second.";\r
-      }\r
-      enum "1G" {\r
-        description\r
-                "1G bits-per-second.";\r
-      }\r
-      enum "10G" {\r
-        description\r
-                "10G bits-per-second.";\r
-      }\r
-      enum "40G" {\r
-        description\r
-                "40G bits-per-second.";\r
-      }\r
-      enum "100G" {\r
-        description\r
-                "100G bits-per-second.";\r
-      }\r
-    }\r
-    description\r
-        "The maximum theoretical bandwidth for the phy.";\r
-    reference "MEF 7.3 Section 10.1.1, MEF 6.2, MEF 10.3, MEF 26.1";\r
-  }\r
-  typedef device-role {\r
-    type enumeration {\r
-      enum "ce" {\r
-        description "Customer Edge(CE) Access Device";\r
-      }\r
-      enum "pe" {\r
-        description "Aggregation Router";\r
-      }\r
-      enum "p" {\r
-        description "Core Router";\r
-      }\r
-    }\r
-  }\r
-}\r