1 module MicrowaveModel-ObjectClasses-EthernetContainer {
2 namespace "uri:onf:MicrowaveModel-ObjectClasses-EthernetContainer";
3 prefix MicrowaveModel-ObjectClasses-EthernetContainer;
5 import CoreModel-CoreNetworkModule-ObjectClasses {
6 prefix CoreModel-CoreNetworkModule-ObjectClasses;
8 import MicrowaveModel-TypeDefinitions {
9 prefix MicrowaveModel-TypeDefinitions;
11 import CoreModel-CoreFoundationModule-TypeDefinitions {
12 prefix CoreModel-CoreFoundationModule-TypeDefinitions;
16 'ONF (Open Networking Foundation) Open Transport Working Group - Wireless Transport Project';
19 'WG Web: <https://www.opennetworking.org/technical-communities/areas/specification/1931-optical-transport>
20 WG List: <mailto:wireless-transport@login.opennetworking.org >
22 <mailto:lyong@ciena.com>
23 WG Chair: Giorgio Cazzaniga
24 <mailto:giorgio.cazzaniga@sm-optics.com>';
27 'This module contains a collection of YANG definitions for
28 managing microwave transport networks.';
34 "ONF TR xyz: A YANG Data Model for Microwave Transport Networks.";
37 list MW_EthernetContainer_Pac {
38 description "LTP(Client)";
43 path '/CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/CoreModel-CoreNetworkModule-ObjectClasses:_ltpRefList/CoreModel-CoreNetworkModule-ObjectClasses:_lpList/CoreModel-CoreNetworkModule-ObjectClasses:uuid';
47 container ethernetContainerCapability {
49 uses EthernetContainerCapability;
51 container ethernetContainerConfiguration {
53 uses EthernetContainerConfiguration;
55 container ethernetContainerStatus {
57 uses EthernetContainerStatus;
59 container ethernetContainerCurrentProblems {
61 uses EthernetContainerCurrentProblems;
63 container ethernetContainerCurrentPerformance {
65 uses EthernetContainerCurrentPerformance;
67 container ethernetContainerHistoricalPerformances {
69 uses EthernetContainerHistoricalPerformances;
72 grouping EthernetContainerCapability {
73 leaf bundlingIsAvail {
76 description "This attribute has to be set on 'true', if the device allows combining resources from several air interfaces for transporting this Ethernet container.";
79 leaf packetCompressionIsAvail {
82 description "In case packet compression can be activated, but not configured to a certain type, packetCompressionAvail shall be set on 'true', but none of the compression level specific booleans.";
85 leaf layer2CompressionIsAvail {
88 description "Packet compression on layer 2 available at the device.";
91 leaf vlanCompressionIsAvail {
94 description "Packet compression on VLAN layer available at the device.";
97 leaf qInQCompressionIsAvail {
100 description "Packet compression on layer of a second VLAN available at the device.";
103 leaf mplsCompressionIsAvail {
106 description "Packet compression on mpls layer available at the device.";
109 leaf ipv4CompressionIsAvail {
112 description "Packet compression on layer 3 for IPv4 available at the device.";
115 leaf ipv6CompressionIsAvail {
118 description "Packet compression on layer 3 for IPv6 available at the device.";
121 leaf layer4CompressionIsAvail {
124 description "Packet compression on layer 4 (TCP and UDP header) available at the device.";
127 leaf encryptionIsAvail {
130 description "Shall be marked 'true', if Ethernet payload encryption is available.";
133 leaf supportedAlarms {
136 description "Available alarms to be listed. Mandatory:'framingIsFaulty' and 'containerIsDown'. Further alarms might be added by the device.";
137 default "Supported alarms not yet defined.";
140 grouping EthernetContainerConfiguration {
143 description "ContainterID in Netconf must be the same as EthernetPortID in OpenFlow so a connection can be made between the two items, which separately exist in the controller.";
145 list segmentsIDList {
146 description "Lists the segments used for transporting this Ethernet container. In case EthernetContainer::ContainerCapability::bundlingIsAvail==0, all TypeDefinitions::segmentIdType::structureId must be identical in the list.";
147 key 'structureIdRef segmentIdRef';
150 uses MicrowaveModel-TypeDefinitions:segmentIDType;
153 leaf packetCompressionIsOn {
155 description "In case packet compression is activated, but no type is activated, it is assumed that the device chooses the optimum.";
158 leaf layer2CompressionIsOn {
160 description "Packet compression on layer 2 configured at the device.";
163 leaf vlanCompressionIsOn {
165 description "Packet compression on VLAN layer configured at the device.";
168 leaf qInQCompressionIsOn {
170 description "Packet compression on layer of a second VLAN configured at the device.";
173 leaf mplsCompressionIsOn {
175 description "Packet compression on MPLS layer configured at the device.";
178 leaf ipv4CompressionIsOn {
180 description "Packet compression on layer 3 for IPv4 configured at the device.";
183 leaf ipv6CompressionIsOn {
185 description "Packet compression on layer 3 for IPv6 configured at the device.";
188 leaf layer4CompressionIsOn {
190 description "Packet compression on layer 4 (TCP and UDP header) configured at the device.";
193 leaf encryptionIsOn {
195 description "Activates encryption of the Ethernet payload.";
198 leaf cryptographicKey {
200 description "Key for transforming plaintext into cipher text data.";
201 default "Cryptographic key not yet defined.";
203 list problemKindSeverityList {
204 description "Severity of the problem to be configured.";
205 key 'problemKindName';
208 uses MicrowaveModel-TypeDefinitions:containerProblemSeverityType;
212 grouping EthernetContainerStatus {
213 leaf lastStatusChange {
214 type CoreModel-CoreFoundationModule-TypeDefinitions:DateAndTime;
216 description "Time the Container entered its current operational status.
217 _format:yyyyMMddhhmmss.s[Z|{+|-}HHMm]; yyyy='0000'..'9999' year; MM='01'..'12' month; dd='01'..'31' day; hh='00'..'23' hour; mm='00'..'59' minute; ss='00'..'59' second; s='.0'..'.9'tenth of second (set to '.0' if EMS or NE cannot support this granularity); Z='Z' indicates UTC (rather than local time); {+|-}='+' or '-' delta from UTC; HH='00'..'23' time zone difference in hours; Mm='00'..'59' time zone difference in minutes.";
218 default "20101120140000.0Z+1";
221 grouping EthernetContainerCurrentProblems {
222 list currentProblemList {
223 key 'sequenceNumber';
225 uses MicrowaveModel-TypeDefinitions:containerCurrentProblemType;
228 grouping EthernetContainerCurrentPerformance {
229 description "Aggregated performance information of the Ethernet container at a particular moment.";
230 list currentPerformanceDataList {
233 uses MicrowaveModel-TypeDefinitions:containerCurrentPerformanceType;
238 grouping EthernetContainerHistoricalPerformances {
239 description "Aggregated performance information of the Ethernet container for a pre-defined measurement interval.";
240 list historicalPerformanceDataList {
243 uses MicrowaveModel-TypeDefinitions:containerHistoricalPerformanceType;