1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
|
module g.874.1-model {
namespace "urn:onf:params:xml:ns:yang:g.874.1-model";
prefix g.874.1-model;
import core-model {
prefix core-model;
}
import ietf-yang-types {
prefix yang;
}
organization "ONF (Open Networking Foundation) Open Transport Working Group - Wireless Transport Project";
contact "WG Web: <https://www.opennetworking.org/technical-communities/areas/specification/1931-optical-transport>
WG List: <mailto:wireless-transport@login.opennetworking.org>
WG Chair: Lyndon Ong
<mailto:lyong@ciena.com>
WG Chair: Giorgio Cazzaniga
<mailto:giorgio.cazzaniga@sm-optics.com>
Editors: Thorsten Heinze
<mailto:thorsten.heinze@telefonica.com>
Martin Skorupski
<mailto:martin.skorupski@highstreet-technologies.com>";
description "<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>";
revision 2017-03-20 {
description "Initial version";
reference "ONF TR 532: A YANG Data Model for Wireless Networks.";
}
/***********************
* package object-classes
**********************/
grouping otn-current-data-g {
leaf timestamp {
type date-and-time;
description "The timestamp associated with when the current data was collected.";
}
uses q.822-current-data-g;
description "This object class is an abstract class from which the OTN layer-specific CurrentData object classes are inherited. This object class is a subclass of the Q.822 CurrentData object class, which in turn is a subclass of X.739 Scanner object class. It inherits the following attributes: scannerId, operationalState, granularityPeriod, administrativeState, suspectIntervalFlag, elapsedTime, observedObjectClass, and observedObjectInstance.";
}
grouping otn-history-data-g {
leaf suspect-interval-flag {
type boolean;
default false;
description "This attribute indicates that the data collected during the interval is suspect.";
}
uses q.822-history-data-g;
description "This object class is an abstract class from which the OTN layer-specific HistoryData object classes are inherited. ";
}
/***********************
* package type-definitions
**********************/
typedef directionality {
type enumeration {
enum sink {
description "none";
}
enum source {
description "none";
}
enum bidirectional {
description "none";
}
}
description "The enumeration with the options for directionality of the termination point.";
}
typedef gcc-access {
type enumeration {
enum gcc1 {
description "none";
}
enum gcc2 {
description "none";
}
enum gcc1-and-gcc2 {
description "none";
}
}
description "This enumeration indicates the GCC access represented by the entity.";
}
typedef operational-state {
type enumeration {
enum enabled {
description "none";
}
enum disabled {
description "none";
}
}
description "The list of valid operational states for the connection.";
}
typedef oper-type {
type enumeration {
enum revertive {
description "none";
}
enum non-revertive {
description "none";
}
}
description "The operation type associated with the protection mechanism (either non-revertive or revertive).";
}
typedef ext-cmd-operation {
type enumeration {
enum exercise {
description "none";
}
enum manual-switch {
description "none";
}
enum forced-switch {
description "none";
}
enum lockout {
description "none";
}
enum release-of-manual-switch {
description "none";
}
enum release-of-forced-switch {
description "none";
}
enum release-of-lockout {
description "none";
}
}
description "This enumeration contains the options for the actions that instruct the protection system for performing specific protection switching operations.";
}
typedef administrative-state {
type enumeration {
enum unlocked {
description "none";
}
enum locked {
description "none";
}
enum shutting-down {
description "none";
}
}
description "For more information on Administrative State, See ITU-T Recs. X.731 and M.3100.";
}
typedef oc-tk-nim-k-bit-rate {
type enumeration {
enum 2.5-g {
description "none";
}
enum 10-g {
description "none";
}
enum 40-g {
description "none";
}
enum 100-g {
description "none";
}
}
description "Provides an enumeration with the meaning of each 'k' value.";
}
typedef tim-det-mo {
type enumeration {
enum dapi {
description "none";
}
enum sapi {
description "none";
}
enum both {
description "none";
}
}
description "List of modes for trace identifier mismatch detection.";
}
typedef oc-tk-nim-problem-list {
type enumeration {
enum los-p {
description "Loss of Signal -- Payload";
}
enum oci {
description "Open Connection Indicator";
}
enum ssf-p {
description "Server Signal Failure -- Payload -- can not co-exist with SSF or SSF-O";
}
enum ssf-o {
description "Server Signal Failure -- Overhead; can not co-exist with SSF or SSF-P";
}
enum ssf {
description "Server Signal Failure; can not co-exist with SSF-P or SSF-O";
}
enum tim {
description "Trail Trace Identifier Mismatch";
}
enum deg {
description "Signal Degraded";
}
enum bdi {
description "Backward Defect Indication";
}
}
description "The valid list of problems for the entity.";
}
typedef tcm-monitoring {
type enumeration {
enum intrusive {
description "none";
}
enum non-intrusive {
description "none";
}
}
description "Monitoring types for the tandem connection monitoring function.";
}
typedef tcm-mode {
type enumeration {
enum operational {
description "none";
}
enum transparent {
description "none";
}
enum monitor {
description "none";
}
}
description "List of value modes for the sink side of the tandem connection monitoring function.";
}
typedef ops-mnk-ttp-k-bit-rate {
type enumeration {
enum 40-g {
description "none";
}
enum 100-g {
description "none";
}
}
description "Provides an enumeration with the meaning of each 'k' value.";
}
typedef ops-mnk-ttp-problem-list {
type enumeration {
enum los {
description "Loss of Signal";
}
enum lol {
description "Loss of Lane Alignment";
}
}
description "The valid list of problems for the entity.";
}
typedef op-sn-ttp-problem-list {
type enumeration {
enum los {
description "Loss of Signal";
}
}
description "The valid list of problems for the entity.";
}
typedef otm-n-k-bit-rates {
type enumeration {
enum 2.5-g {
description "none";
}
enum 10-g {
description "none";
}
enum 40-g {
description "none";
}
enum 2.5-10-g {
description "none";
}
enum 10-40-g {
description "none";
}
enum 2.5-10-40-g {
description "none";
}
}
description "Provides an enumeration with the meaning of each 'k' value.";
}
typedef domain-interface {
type enumeration {
enum intra-domain {
description "none";
}
enum inter-domain {
description "none";
}
}
description "This enumeration provides the options for the interface associated with OTMn.";
}
typedef otm-n-optical-reach {
type enumeration {
enum intra-office {
description "none";
}
enum shorthaul {
description "none";
}
enum longhaul {
description "none";
}
}
description "The valid options for reach of the optical cable.";
}
typedef apr-status {
type enumeration {
enum on {
description "none";
}
enum off {
description "none";
}
}
description "The enumeration of the options for the Automatic Power Reduction Status.";
}
typedef ot-sn-ttp-problem-list {
type enumeration {
enum bdi-p {
description "BDI-P (Backward Defect Indication - Payload); not co-exist with BDI-O or BDI";
}
enum bdi-o {
description "BDI-O (Backward Defect Indication - Overhead); not co-exist with BDI-P or BDI";
}
enum bdi {
description "BDI (Backward Defect Indication); not co-exist with BDI-P or BDI-O";
}
enum tim {
description "TIM (Trail Trace Identifier Mismatch);";
}
enum los-p {
description "-P (Loss of Signal - Payload); not co-exist with LOS-O or LOS";
}
enum los-o {
description "LOS-O (Loss of Signal - Overhead); not co-exist with LOS-P or LOS";
}
enum los {
description "LOS (Loss of Signal); not co-exist with LOS-P or LOS-O. ";
}
}
description "The valid list of problems for the entity.";
}
typedef ot-uk-ctp-adaptation {
type enumeration {
enum regular {
description "i.e. OPSM/OTUk-a, OCh[r]/OTUk-a";
}
enum none {
description "i.e. OPSM/OTUk-b, OCh[r]/OTUk-b";
}
enum vendor-specific {
description "i.e. OCh[r]/OTUk-v";
}
enum functionally-standardized {
description "i.e. OCh[r]/OTUkV";
}
}
description "The adaptation options for OTUk_ConnectionTermationPoints.";
}
typedef ot-uk-ctp-k-bit-rate {
type enumeration {
enum 2.5-g {
description "none";
}
enum 10-g {
description "none";
}
enum 40-g {
description "none";
}
enum 100-g {
description "none";
}
}
description "Provides an enumeration with the meaning of each 'k' value.";
}
typedef ot-uk-ctp-problem-list {
type enumeration {
enum lof {
description "Loss of Frame";
}
enum ais {
description "Alarm Indication Signal";
}
enum lom {
description "Loss of MultiFrame";
}
}
description "The valid list of problems for the entity.";
}
typedef ot-uk-ttp-problem-list {
type enumeration {
enum tim {
description "Trail Trace Identifier Mismatch";
}
enum deg {
description "Signal Degraded";
}
enum bdi {
description "Backward Defect Indication";
}
enum ssf {
description "Server Signal Failure";
}
}
description "The valid list of problems for the entity.";
}
typedef monitored-direction {
type enumeration {
enum sink {
description "none";
}
enum source {
description "none";
}
}
description "The enumeration with the options for directionality for nonintrusive monitoring.";
}
typedef deg-thr-type {
type enumeration {
enum percentage {
description "<p>Choice of % or Number of errored blocks</p>";
}
enum number-errored-blocks {
description "<p>Number of % or blocks</p>";
}
}
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>";
}
typedef link-type {
type enumeration {
enum dwdm {
description "none";
}
enum cwdm {
description "none";
}
enum no-wdm {
description "none";
}
}
description "none";
}
typedef application-identifier-type {
type enumeration {
enum standard {
description "none";
}
enum proprietary {
description "none";
}
}
description "none";
}
typedef printable-string {
type string;
description "none";
}
typedef date-and-time {
type string;
description "This primitive type defines the date and time according to the following structure:
'yyyyMMddhhmmss.s[Z|{+|-}HHMm]' where:
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.";
}
typedef aps-channel {
type enumeration {
enum path {
description "none";
}
enum tcm1 {
description "none";
}
enum tcm2 {
description "none";
}
enum tcm3 {
description "none";
}
enum tcm4 {
description "none";
}
enum tcm5 {
description "none";
}
enum tcm6 {
description "none";
}
enum section {
description "none";
}
}
description "none";
}
typedef bit-string {
type string;
description "This primitive type defines a bit oriented string.
The size of the BitString will be defined in the valueRange property of the attribute; according to ASN.1 (X.680).
The semantic of each bit position will be defined in the Documentation field of the attribute.";
}
typedef delay-measurement-role {
type enumeration {
enum controller {
description "none";
}
enum responder {
description "none";
}
}
description "none";
}
typedef resize-operation-type {
type enumeration {
enum increase-bw {
description "Increase Bandwidth";
}
enum decrease-bw {
description "Decrease Bandwidth";
}
}
description "none";
}
typedef granularity-period-type {
type enumeration {
enum unknown {
description "none";
}
enum period-15-min {
description "none";
}
enum period-24-hours {
description "none";
}
}
description "The enumeration with the options for granularity period of the performance data.";
}
/***********************
* package illustrative-object-diagrams
**********************/
/***********************
* package imported-information-object-classes
**********************/
/***********************
* package q.822
**********************/
grouping q.822-current-data-g {
leaf suspect-interval-flag {
type boolean;
description "This attribute is used to indicate that the performance data for the current period may not be reliable. Some reasons for this to occur are:- Suspect data were detected by the actual resource doing data collection.- Transition of the administrativeState attribute to/from the 'lock' state.- Transition of the operationalState to/from the 'disabled' state.- Scheduler setting that inhibits the collection function.- The performance counters were reset during the interval.- The currentData (or subclass) object instance was created during the monitoring period.";
}
leaf elapsed-time {
type int64;
description "none";
}
uses x.739-scanner-g;
description "none";
}
grouping q.822-history-data-g {
leaf history-data-id {
type string;
description "none";
}
leaf period-end-time {
type yang:date-and-time;
description "none";
}
leaf granularity-period {
type granularity-period-type;
description "none";
}
uses x.721-top-g;
description "none";
}
/***********************
* package x.739
**********************/
grouping x.739-scanner-g {
leaf scanner-id {
type string;
description "none";
}
leaf granularity-period {
type granularity-period-type;
description "none";
}
leaf administrative-state {
type core-model:administrative-state;
description "none";
}
uses x.721-top-g;
description "none";
}
/***********************
* package x.721
**********************/
grouping x.721-top-g {
leaf object-class {
type object-identifier;
description "ObjectClass ::= CHOICE{ globalForm [0] OBJECT IDENTIFIER,
localForm [1] INTEGER}";
}
leaf name-binding {
type object-identifier;
description "none";
}
description "This is the top level of managed object class hierarchy and every other managed object class is a specialization of either this generic class (top) or a specialization of subclass of top. The parameter miscellaneousError is to be used when a processing failure has occurred and the error condition encountered does not match any of object's defined specific error types.";
}
/***********************
* package imported-data-types
**********************/
typedef object-instance {
type string;
description "none";
}
typedef name {
type string;
description "none";
}
typedef object-identifier {
type string;
description "none";
}
typedef generalized-time {
type string;
description "none";
}
typedef time-period {
type string;
description "This primitive Type is imported from X.739.";
}
}
|