a7952f83b0b4f4339e402dc3e6c38ac71d6126a6
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemodel / src / main / yang / MicrowaveModel-ObjectClasses-PureEthernetStructure@2016-09-02.yang
1 module MicrowaveModel-ObjectClasses-PureEthernetStructure {
2     namespace "uri:onf:MicrowaveModel-ObjectClasses-PureEthernetStructure";
3     prefix MicrowaveModel-ObjectClasses-PureEthernetStructure;
4
5     import CoreModel-CoreNetworkModule-ObjectClasses {
6         prefix CoreModel-CoreNetworkModule-ObjectClasses;
7     }
8     import CoreModel-CoreFoundationModule-SuperClassesAndCommonPackages {
9         prefix CoreModel-CoreFoundationModule-SuperClassesAndCommonPackages;
10     }
11     import MicrowaveModel-TypeDefinitions {
12         prefix MicrowaveModel-TypeDefinitions;
13     }
14     import CoreModel-CoreFoundationModule-TypeDefinitions {
15         prefix CoreModel-CoreFoundationModule-TypeDefinitions;
16     }
17
18     organization 
19         'ONF (Open Networking Foundation) Open Transport Working Group - Wireless Transport Project';
20
21     contact 
22         'WG Web:   <https://www.opennetworking.org/technical-communities/areas/specification/1931-optical-transport>
23          WG List:  <mailto:wireless-transport@login.opennetworking.org >
24          WG Chair: Lyndon Ong
25                    <mailto:lyong@ciena.com>
26          WG Chair: Giorgio Cazzaniga
27                    <mailto:giorgio.cazzaniga@sm-optics.com>';
28
29     description 
30         'This module contains a collection of YANG definitions for 
31          managing microwave transport networks.';
32
33     revision 2016-09-02 {
34         description 
35             "Initial revision."; 
36         reference 
37             "ONF TR xyz: A YANG Data Model for Microwave Transport Networks."; 
38     }
39
40     feature pure-ethernet {
41         description "Feature 'pure-ethernet' is mandatory for device types transporting pure Ethernet.";
42     }
43     list MW_PureEthernetStructure_Pac {
44         description "LTP(MWS-TTP)
45             The pureEthernetStructure_Pac and its attached classes MUST be provided on management interfaces of microwave devices, which are transporting Ethernet traffic only.";
46         key 'layerProtocol';
47         config true;
48         leaf layerProtocol {
49             type leafref {
50                 path '/CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/CoreModel-CoreNetworkModule-ObjectClasses:_ltpRefList/CoreModel-CoreNetworkModule-ObjectClasses:_lpList/CoreModel-CoreNetworkModule-ObjectClasses:uuid';
51             }
52             description "";
53         }
54         container pureEthernetStructureCapability {
55             config false;
56             uses PureEthernetStructureCapability;
57         }
58         container pureEthernetStructureConfiguration {
59             config true;
60             uses PureEthernetStructureConfiguration;
61         }
62         container pureEthernetStructureStatus {
63             config false;
64             uses PureEthernetStructureStatus;
65         }
66         container pureEthernetStructureCurrentProblems {
67             config false;
68             uses PureEthernetStructureCurrentProblems;
69         }
70         container pureEthernetStructureCurrentPerformance {
71             config false;
72             uses PureEthernetStructureCurrentPerformance;
73         }
74         container pureEthernetStructureHistoricalPerformances {
75             config false;
76             uses PureEthernetStructureHistoricalPerformances;
77         }
78     }
79     grouping PureEthernetStructureCapability {
80         description "Describes the logical structuring of the physical capacity provided by a pure Ethernet microwave device.
81             Segmentation is not available.
82             No fixed segment size.
83             No TDM transport.";
84         leaf structureId {
85             type CoreModel-CoreFoundationModule-SuperClassesAndCommonPackages:UniversalId;
86             config false;
87             description "Identifies the Structure for bundling and container.";
88         }
89         leaf supportedAlarms {
90             type string;
91             config false;
92             description "Available alarms to be listed. Mandatory:non. Names are to be separated by commas. Further alarms might be added by the device.";
93             default "Supported alarms not yet defined.";
94         }
95     }
96     grouping PureEthernetStructureConfiguration {
97         list problemKindSeverityList {
98             description "Severity of the type of problem to be configured.";
99             key 'problemKindName';
100             config true;
101             ordered-by system;
102             uses MicrowaveModel-TypeDefinitions:structureProblemSeverityType;
103         }
104     }
105     grouping PureEthernetStructureStatus {
106         container segmentStatusList {
107             description "Status of the Ethernet transport segment.
108                 Always just one segment.";
109             uses MicrowaveModel-TypeDefinitions:segmentStatusType;
110         }
111         leaf lastStatusChange {
112             type CoreModel-CoreFoundationModule-TypeDefinitions:DateAndTime;
113             config false;
114             description "Time and date of the last update of the status information.
115                 _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.";
116         }
117     }
118     grouping PureEthernetStructureCurrentProblems {
119         list currentProblemList {
120             key 'sequenceNumber';
121             ordered-by system;
122             uses MicrowaveModel-TypeDefinitions:structureCurrentProblemType;
123         }
124     }
125     grouping PureEthernetStructureCurrentPerformance {
126         description "Aggregated performance information of the structure of an pure Ethernet microwave at a particular moment.";
127         list currentPerformanceDataList {
128             description "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too.";
129             key 'scannerId';
130             ordered-by system;
131             uses MicrowaveModel-TypeDefinitions:structureCurrentPerformanceType;
132             max-elements 2;
133             min-elements 1;
134         }
135     }
136     grouping PureEthernetStructureHistoricalPerformances {
137         description "Aggregated performance information of the structure of an pure Ethernet microwave for a pre-defined measurement interval.";
138         list historicalPerformanceDataList {
139             key 'historyDataId';
140             ordered-by system;
141             uses MicrowaveModel-TypeDefinitions:structureHistoricalPerformanceType;
142         }
143     }
144 }