8ed5d90c9c5fa8d55e1ae16d99f887ce195de5c7
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemodel / src / main / yang / G_874_1_model-Type_Definitions@2016-07-10.yang
1 module G_874_1_model-Type_Definitions {
2     namespace "uri:onf:G_874_1_model-Type_Definitions";
3     prefix G_874_1_model-Type_Definitions;
4
5
6     organization 
7         'ONF (Open Networking Foundation) Open Transport Working Group - Wireless Transport Project';
8
9     contact 
10         'WG Web:   <https://www.opennetworking.org/technical-communities/areas/specification/1931-optical-transport>
11          WG List:  <mailto:wireless-transport@login.opennetworking.org >
12          WG Chair: Lyndon Ong
13                    <mailto:lyong@ciena.com>
14          WG Chair: Giorgio Cazzaniga
15                    <mailto:giorgio.cazzaniga@sm-optics.com>';
16
17     description 
18         '<p>Version 2.02; outcome of the 10/2013 Nuremberg meeting.<br>Version 2.03; updates for Geneva 03-2014<br>Version 2.04; updates for Shanghai 09-2014<br>Version 2.05; input to Geneva 11-2014<br>Version 2.06; output from Geneva 11-2014<br>Version 2.07; using OpenProfile 3-2015<br>Version 2.08; output from Geneva 06-2015</p>';
19
20     revision 2016-07-10 {
21         description 
22             "Initial revision."; 
23         reference 
24             "ONF TR xyz: A YANG Data Model for Microwave Transport Networks."; 
25     }
26
27     typedef Directionality {
28         description "The enumeration with the options for directionality of the termination point.";
29         type enumeration {
30             enum SINK;
31             enum SOURCE;
32             enum BIDIRECTIONAL;
33         }
34     }
35     typedef GccAccess {
36         description "This enumeration indicates the GCC access represented by the entity.";
37         type enumeration {
38             enum GCC1;
39             enum GCC2;
40             enum GCC1_AND_GCC2;
41         }
42     }
43     typedef OperationalState {
44         description "The list of valid operational states for the connection.";
45         type enumeration {
46             enum ENABLED;
47             enum DISABLED;
48         }
49     }
50     typedef OperType {
51         description "The operation type associated with the protection mechanism (either non-revertive or revertive).";
52         type enumeration {
53             enum REVERTIVE;
54             enum NON-REVERTIVE;
55         }
56     }
57     typedef ExtCmdOperation {
58         description "This enumeration contains the options for the actions that instruct the protection system for performing specific protection switching operations.";
59         type enumeration {
60             enum EXERCISE;
61             enum MANUAL_SWITCH;
62             enum FORCED_SWITCH;
63             enum LOCKOUT;
64             enum RELEASE_OF_MANUAL_SWITCH;
65             enum RELEASE_OF_FORCED_SWITCH;
66             enum RELEASE_OF_LOCKOUT;
67         }
68     }
69     typedef AdministrativeState {
70         description "For more information on Administrative State, See ITU-T Recs. X.731 and M.3100.";
71         type enumeration {
72             enum UNLOCKED;
73             enum LOCKED;
74             enum SHUTTING_DOWN;
75         }
76     }
77     typedef OCTk_NimKBitRate {
78         description "Provides an enumeration with the meaning of each 'k' value.";
79         type enumeration {
80             enum 2.5_G;
81             enum 10_G;
82             enum 40_G;
83             enum 100_G;
84         }
85     }
86     typedef TimDetMo {
87         description "List of modes for trace identifier mismatch detection.";
88         type enumeration {
89             enum DAPI;
90             enum SAPI;
91             enum BOTH;
92         }
93     }
94     typedef OCTk_NimProblemList {
95         description "The valid list of problems for the entity.";
96         type enumeration {
97             enum LOS_P;
98             enum OCI;
99             enum SSF_P;
100             enum SSF_O;
101             enum SSF;
102             enum TIM;
103             enum DEG;
104             enum BDI;
105         }
106     }
107     typedef TcmMonitoring {
108         description "Monitoring types for the tandem connection monitoring function.";
109         type enumeration {
110             enum INTRUSIVE;
111             enum NON-INTRUSIVE;
112         }
113     }
114     typedef TcmMode {
115         description "List of value modes for the sink side of the tandem connection monitoring function.";
116         type enumeration {
117             enum OPERATIONAL;
118             enum TRANSPARENT;
119             enum MONITOR;
120         }
121     }
122     typedef OPSMnk_TtpKBitRate {
123         description "Provides an enumeration with the meaning of each 'k' value.";
124         type enumeration {
125             enum 40_G;
126             enum 100_G;
127         }
128     }
129     typedef OPSMnk_TtpProblemList {
130         description "The valid list of problems for the entity.";
131         type enumeration {
132             enum LOS;
133             enum LOL;
134         }
135     }
136     typedef OPSn_TtpProblemList {
137         description "The valid list of problems for the entity.";
138         type enumeration {
139             enum LOS;
140         }
141     }
142     typedef OTM_n_KBitRates {
143         description "Provides an enumeration with the meaning of each 'k' value.";
144         type enumeration {
145             enum 2.5_G;
146             enum 10_G;
147             enum 40_G;
148             enum 2.5_10_G;
149             enum 10_40_G;
150             enum 2.5_10_40_G;
151         }
152     }
153     typedef DomainInterface {
154         description "This enumeration provides the options for the interface associated with OTMn.";
155         type enumeration {
156             enum INTRA_DOMAIN;
157             enum INTER_DOMAIN;
158         }
159     }
160     typedef OTM_n_OpticalReach {
161         description "The valid options for reach of the optical cable.";
162         type enumeration {
163             enum INTRA_OFFICE;
164             enum SHORTHAUL;
165             enum LONGHAUL;
166         }
167     }
168     typedef AprStatus {
169         description "The enumeration of the options for the Automatic Power Reduction Status.";
170         type enumeration {
171             enum ON;
172             enum OFF;
173         }
174     }
175     typedef OTSn_TtpProblemList {
176         description "The valid list of problems for the entity.";
177         type enumeration {
178             enum BDI_P;
179             enum BDI_O;
180             enum BDI;
181             enum TIM;
182             enum LOS_P;
183             enum LOS_O;
184             enum LOS;
185         }
186     }
187     typedef OTUk_CtpAdaptation {
188         description "The adaptation options for OTUk_ConnectionTermationPoints.";
189         type enumeration {
190             enum REGULAR;
191             enum NONE;
192             enum VENDOR_SPECIFIC;
193             enum FUNCTIONALLY_STANDARDIZED;
194         }
195     }
196     typedef OTUk_CtpKBitRate {
197         description "Provides an enumeration with the meaning of each 'k' value.";
198         type enumeration {
199             enum 2.5_G;
200             enum 10_G;
201             enum 40_G;
202             enum 100_G;
203         }
204     }
205     typedef OTUk_CtpProblemList {
206         description "The valid list of problems for the entity.";
207         type enumeration {
208             enum LOF;
209             enum AIS;
210             enum LOM;
211         }
212     }
213     typedef OTUk_TtpProblemList {
214         description "The valid list of problems for the entity.";
215         type enumeration {
216             enum TIM;
217             enum DEG;
218             enum BDI;
219             enum SSF;
220         }
221     }
222     typedef MonitoredDirection {
223         description "The enumeration with the options for directionality for nonintrusive monitoring.";
224         type enumeration {
225             enum SINK;
226             enum SOURCE;
227         }
228     }
229     typedef DegThrType {
230         description "<p>The value of the threshold can be provisioned in terms of number of errored blocks or in terms of percentage of errored blocks. For percentage-based specification, in order to support provision of less than 1%, the specification consists of two fields. The first field indicates the granularity of percentage. For examples, in 1%, in 0.1%, or in 0.01%, etc. The second field indicates the multiple of the granularity. For number of errored block based, the value is a positive integer.</p>";
231         type enumeration {
232             enum PERCENTAGE;
233             enum NUMBER_ERRORED_BLOCKS;
234         }
235     }
236     typedef LinkType {
237         type enumeration {
238             enum DWDM;
239             enum CWDM;
240             enum NO_WDM;
241         }
242     }
243     typedef ApplicationIdentifierType {
244         type enumeration {
245             enum STANDARD;
246             enum PROPRIETARY;
247         }
248     }
249     typedef PrintableString {
250         type string;
251     }
252     typedef DateAndTime {
253         description "This primitive type defines the date and time according to the following structure:
254             'yyyyMMddhhmmss.s[Z|{+|-}HHMm]' where:
255             yyyy    '0000'..'9999'    year
256             MM        '01'..'12'            month
257             dd        '01'..'31'            day
258             hh        '00'..'23'            hour
259             mm        '00'..'59'            minute
260             ss        '00'..'59'            second
261             s        '.0'..'.9'            tenth of second (set to '.0' if EMS or NE cannot support this granularity)
262             Z        'Z'                    indicates UTC (rather than local time)
263             {+|-}    '+' or '-'            delta from UTC
264             HH        '00'..'23'            time zone difference in hours
265             Mm        '00'..'59'            time zone difference in minutes.";
266         type string;
267     }
268     typedef ApsChannel {
269         type enumeration {
270             enum PATH;
271             enum TCM1;
272             enum TCM2;
273             enum TCM3;
274             enum TCM4;
275             enum TCM5;
276             enum TCM6;
277             enum SECTION;
278         }
279     }
280     typedef BitString {
281         description "This primitive type defines a bit oriented string.
282             The size of the BitString will be defined in the valueRange property of the attribute; according to ASN.1 (X.680).
283             The semantic of each bit position will be defined in the Documentation field of the attribute.";
284         type string;
285     }
286     typedef DelayMeasurementRole {
287         type enumeration {
288             enum CONTROLLER;
289             enum RESPONDER;
290         }
291     }
292     typedef ResizeOperationType {
293         type enumeration {
294             enum INCREASE_BW;
295             enum DECREASE_BW;
296         }
297     }
298     typedef GranularityPeriodType {
299         description "The enumeration with the options for granularity period of the performance data.";
300         type enumeration {
301             enum UNKNOWN;
302             enum PERIOD_15MIN;
303             enum PERIOD_24HOURS;
304         }
305     }
306 }