Newer
Older
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
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
module tapi-oam {
namespace "urn:onf:otcc:yang:tapi-oam";
prefix tapi-oam;
import tapi-common {
prefix tapi-common;
}
import tapi-connectivity {
prefix tapi-connectivity;
}
import tapi-topology {
prefix tapi-topology;
}
import tapi-notification {
prefix tapi-notification;
}
organization "ONF OTCC (Open Transport Configuration & Control) Project";
contact "
Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
Project List: <mailto:transport-api@opennetworking.org>
Editor: Karthik Sethuraman
<mailto:karthik.sethuraman@necam.com>";
description "
This module contains TAPI OAM Model definitions.
Source: TapiOam.uml
Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
License: This module is distributed under the Apache License 2.0
- The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.
- The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
<https://github.com/OpenNetworkingFoundation/EagleUmlYang>
and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
<https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
- Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
- The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
YANG models included in this release may not be backward compatible with previous TAPI releases.";
revision 2019-03-31 {
description "ONF Transport API version 2.2-RC1.
Changes included in this TAPI release (v2.2) are listed in
<https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.2.md>";
reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
<https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.2.0/UML>";
}
revision 2018-12-10 {
description "ONF Transport API version 2.1.1.
Changes included in this TAPI release (v2.1.1) are listed in
<https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md>";
reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
<https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.1/UML>";
}
revision 2018-10-16 {
description "ONF Transport API version 2.1.0.
Changes included in this TAPI release (v2.1.0) are listed in
<https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
<https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
}
revision 2018-03-07 {
description "ONF Transport API version 2.0.2
This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
<https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
}
revision 2018-02-16 {
description "ONF Transport API version 2.0.1
This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
<https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
}
revision 2018-01-02 {
description "ONF Transport API version 2.0.0
This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
<https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
}
augment "/tapi-common:context" {
container oam-context {
uses oam-context;
description "Augments the base TAPI Context with OamService information";
}
description "Augments the base TAPI Context with OamService information";
}
augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
container mep-mip-list {
uses mep-mip-list;
description "none";
}
description "none";
}
augment "/tapi-common:context/tapi-notification:notification-context/tapi-notification:notification" {
container alarm-info {
uses alarm-info;
description "none";
}
description "none";
}
augment "/tapi-common:context/tapi-notification:notification-context/tapi-notification:notification" {
container tca-info {
uses tca-info;
description "none";
}
description "none";
}
augment "/tapi-notification:get-notification-list/tapi-notification:output/tapi-notification:notification" {
container alarm-info {
uses alarm-info;
description "none";
}
description "none";
}
augment "/tapi-notification:get-notification-list/tapi-notification:output/tapi-notification:notification" {
container tca-info {
uses tca-info;
description "none";
}
description "none";
}
/**************************
* definitions of references
**************************/
grouping oam-service-ref {
leaf oam-service-uuid {
type leafref {
path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-service/tapi-oam:uuid';
}
description "none";
}
description "none";
}
grouping oam-service-point-ref {
uses oam-service-ref;
leaf oam-service-point-local-id {
type leafref {
path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-service/tapi-oam:oam-service-point/tapi-oam:local-id';
}
description "none";
}
description "none";
}
grouping meg-ref {
leaf meg-uuid {
type leafref {
path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:uuid';
}
description "none";
}
description "none";
}
grouping mep-ref {
uses meg-ref;
leaf mep-local-id {
type leafref {
path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:mep/tapi-oam:local-id';
}
description "none";
}
description "none";
}
grouping mip-ref {
uses meg-ref;
leaf mip-local-id {
type leafref {
path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:mip/tapi-oam:local-id';
}
description "none";
}
description "none";
}
grouping oam-job-ref {
leaf oam-job-uuid {
type leafref {
path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:uuid';
}
description "none";
}
description "none";
}
grouping current-data-ref {
uses oam-job-ref;
leaf current-data-local-id {
type leafref {
path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:current-data/tapi-oam:local-id';
}
description "none";
}
description "none";
}
grouping history-data-ref {
uses current-data-ref;
leaf history-data-local-id {
type leafref {
path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:current-data/tapi-oam:history-data/tapi-oam:local-id';
}
description "none";
}
description "none";
}
grouping oam-profile-ref {
leaf oam-profile-uuid {
type leafref {
path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:uuid';
}
description "none";
}
description "none";
}
grouping pm-threshold-data-ref {
uses oam-profile-ref;
leaf pm-threshold-data-local-id {
type leafref {
path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:pm-threshold-data/tapi-oam:local-id';
}
description "none";
}
description "none";
}
grouping pm-bin-data-ref {
uses oam-profile-ref;
leaf pm-bin-data-local-id {
type leafref {
path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:pm-bin-data/tapi-oam:local-id';
}
description "none";
}
description "none";
}
/**************************
* package object-classes
**************************/
grouping mep {
leaf layer-protocol-name {
type tapi-common:layer-protocol-name;
config false;
description "none";
}
uses tapi-common:local-class;
uses tapi-common:operational-state-pac;
description "none";
}
grouping oam-job {
list oam-service-point {
uses oam-service-point-ref;
key 'oam-service-uuid oam-service-point-local-id';
min-elements 1;
description "none";
}
container oam-profile {
uses oam-profile-ref;
description "none";
}
list current-data {
key 'local-id';
config false;
uses current-data;
description "Granularity period of the CurrentData identifies the specific CurrentData instance in the scope of this OamJob.
For example, typically at least
one 15min and
one 24hr;
optionally one additional configurable (< 15min)";
}
leaf oam-job-type {
type oam-job-type;
description "none";
}
container schedule {
uses tapi-common:time-range;
description "none";
}
leaf creation-time {
type tapi-common:date-and-time;
config false;
description "none";
}
uses tapi-common:global-class;
uses tapi-common:admin-state-pac;
description "none";
}
grouping meg {
list mep {
key 'local-id';
config false;
uses mep;
description "1. ME may have 0 MEPs (case of transit domains where at least 1 MIP is present)
2. ME may have 1 MEP (case of edge domains, where the peer MEP is ouside the managed domain)
3. ME may have 2 MEPs";
}
list mip {
key 'local-id';
config false;
uses mip;
description "ME may 0, 1, or more MIPs";
}
leaf layer-protocol-name {
type tapi-common:layer-protocol-name;
config false;
description "none";
}
uses tapi-common:global-class;
uses tapi-common:operational-state-pac;
description "none";
}
grouping mip {
leaf layer-protocol-name {
type tapi-common:layer-protocol-name;
config false;
description "none";
}
uses tapi-common:local-class;
description "none";
}
grouping oam-service {
leaf layer-protocol-name {
type tapi-common:layer-protocol-name;
description "none";
}
list oam-service-point {
key 'local-id';
min-elements 2;
uses oam-service-point;
description "none";
}
container meg {
uses meg-ref;
config false;
description "none";
}
uses tapi-common:global-class;
uses tapi-common:admin-state-pac;
description "none";
}
grouping oam-context {
list oam-service {
key 'uuid';
uses oam-service;
description "none";
}
list meg {
key 'uuid';
config false;
uses meg;
description "none";
}
list oam-job {
key 'uuid';
uses oam-job;
description "none";
}
list oam-profile {
key 'uuid';
uses oam-profile;
description "none";
}
description "none";
}
grouping oam-service-point {
container service-interface-point {
uses tapi-common:service-interface-point-ref;
description "none";
}
container connectivity-service-end-point {
uses tapi-connectivity:connectivity-service-end-point-ref;
description "none";
}
container mep {
uses mep-ref;
config false;
description "none";
}
container mip {
uses mip-ref;
config false;
description "none";
}
leaf layer-protocol-name {
type tapi-common:layer-protocol-name;
description "none";
}
leaf is-mip {
type boolean;
description "If true, the object is related to a MIP.
If false, the object is related to a MEP.";
}
uses tapi-common:local-class;
uses tapi-common:admin-state-pac;
description "none";
}
grouping mep-mip-list {
list mip {
uses mip-ref;
key 'meg-uuid mip-local-id';
description "none";
}
list mep {
uses mep-ref;
key 'meg-uuid mep-local-id';
description "none";
}
description "none";
}
grouping current-data {
leaf period-start-time {
type tapi-common:date-and-time;
config false;
description "This attribute indicates the start of the current monitoring interval.
The value is bound to the quarter of an hour in case of a 15 minute interval and bound to the hour in case of a 24 hour interval.";
}
container elapsed-time {
uses tapi-common:time-interval;
description "none";
}
container pm-data-pac {
uses pm-data-pac;
description "none";
}
list history-data {
key 'local-id';
config false;
uses history-data;
description "in case of 24hr Current Data, at least 1 History Data.
In case of 15min Current Data, at least 16 History Data.
In case of <15min, the number of History Data shall be able to cover a span of 4 hours.";
}
uses tapi-common:local-class;
description "none";
}
grouping history-data {
leaf period-start-time {
type tapi-common:date-and-time;
description "This attribute indicates the start of the monitoring interval.
The value is bound to the quarter of an hour in case of a 15 minute interval and bound to the hour in case of a 24 hour interval.";
}
leaf period-end-time {
type tapi-common:date-and-time;
description "none";
}
container pm-data-pac {
uses pm-data-pac;
description "none";
}
uses tapi-common:local-class;
description "none";
}
grouping oam-profile {
list pm-threshold-data {
key 'local-id';
min-elements 1;
uses pm-threshold-data;
description "none";
}
uses tapi-common:global-class;
description "none";
}
grouping pm-threshold-data {
leaf-list applicable-job-type {
type oam-job-type;
description "This attribute allows an PMThresholdData instance to be constrained to specific job types. If an PMThresholdData instance is so configured to be applicable to more than one job type (worst case ALL), only the parameters relevant for the job instance will be used (non-applicable profile parameters will be ignored)";
}
list threshold-parameter {
key 'pm-parameter-name threshold-location';
uses threshold-parameter;
description "none";
}
container granularity-period {
uses tapi-common:time-period;
description "none";
}
leaf is-transient {
type boolean;
description "none";
}
uses tapi-common:local-class;
description "none";
}
grouping pm-data-pac {
container granularity-period {
uses tapi-common:time-period;
description "none";
}
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.";
}
description "none";
}
grouping tca-info {
leaf is-transient {
type boolean;
config false;
description "none";
}
leaf perceived-severity {
type perceived-tca-severity;
description "none";
}
container threshold-parameter {
config false;
uses threshold-parameter;
description "none";
}
leaf measurement-interval {
type tapi-common:date-and-time;
description "none";
}
leaf suspect-interval-flag {
type boolean;
description "none";
}
container oam-job {
uses oam-job-ref;
description "MEF 35.1
Identification of the PM Session for which the TCA Function was configured.";
}
description "none";
}
grouping alarm-info {
leaf is-transient {
type boolean;
config false;
description "none";
}
leaf perceived-severity {
type perceived-severity-type;
config false;
description "none";
}
leaf probable-cause {
type alarm-condition-name;
config false;
description "none";
}
leaf service-affecting {
type service-affecting;
description "none";
}
description "none";
}
/**************************
* package type-definitions
**************************/
identity OAM_JOB_TYPE {
description "none";
}
identity OAM_NOTIFICATION_TYPE {
base tapi-notification:NOTIFICATION_TYPE;
description "none";
}
identity OAM_NOTIFICATION_TYPE_ALARM_EVENT {
base OAM_NOTIFICATION_TYPE;
description "none";
}
identity OAM_NOTIFICATION_TYPE_THRESHOLD_CROSSING_ALERT {
base OAM_NOTIFICATION_TYPE;
description "none";
}
identity ALARM_CONDITION_NAME {
description "none";
}
identity PM_PARAMETER_NAME {
description "none";
}
identity OAM_OBJECT_TYPE {
base tapi-common:OBJECT_TYPE;
description "none";
}
identity OAM_OBJECT_TYPE_OAM_SERVICE {
base OAM_OBJECT_TYPE;
description "none";
}
identity OAM_OBJECT_TYPE_OAM_SERVICE_POINT {
base OAM_OBJECT_TYPE;
description "none";
}
identity OAM_OBJECT_TYPE_MEG {
base OAM_OBJECT_TYPE;
description "none";
}
identity OAM_OBJECT_TYPE_MEP {
base OAM_OBJECT_TYPE;
description "none";
}
identity OAM_OBJECT_TYPE_MIP {
base OAM_OBJECT_TYPE;
description "none";
}
identity OAM_OBJECT_TYPE_OAM_JOB {
base OAM_OBJECT_TYPE;
description "none";
}
identity OAM_OBJECT_TYPE_OAM_PROFILE {
base OAM_OBJECT_TYPE;
description "none";
}
identity OAM_OBJECT_TYPE_PM_THRESHOLD_DATA {
base OAM_OBJECT_TYPE;
description "none";
}
identity OAM_OBJECT_TYPE_CURRENT_DATA {
base OAM_OBJECT_TYPE;
description "none";
}
identity OAM_OBJECT_TYPE_HISTORY_DATA {
base OAM_OBJECT_TYPE;
description "none";
}
typedef oam-job-type {
type identityref {
base OAM_JOB_TYPE;
}
description "none";
}
typedef perceived-tca-severity {
type enumeration {
enum WARNING {
description "none";
}
enum CLEAR {
description "none";
}
}
description "none";
}
typedef perceived-severity-type {
type enumeration {
enum CRITICAL {
description "none";
}
enum MAJOR {
description "none";
}
enum MINOR {
description "none";
}
enum WARNING {
description "none";
}
enum CLEARED {
description "none";
}
}
description "none";
}
typedef service-affecting {
type enumeration {
enum SERVICE_AFFECTING {
description "none";
}
enum NOT_SERVICE_AFFECTING {
description "none";
}
enum UNKNOWN {
description "none";
}
}
description "none";
}
typedef oam-notification-type {
type identityref {
base OAM_NOTIFICATION_TYPE;
}
description "none";
}
typedef alarm-condition-name {
type identityref {
base ALARM_CONDITION_NAME;
}
description "none";
}
grouping pm-parameter {
leaf pm-parameter-name {
type pm-parameter-name;
description "none";
}
container pm-parameter-value {
uses pm-parameter-value;
description "none";
}
description "none";
}
typedef pm-parameter-name {
type identityref {
base PM_PARAMETER_NAME;
}
description "none";
}
grouping threshold-parameter {
leaf pm-parameter-name {
type pm-parameter-name;
description "none";
}
leaf threshold-location {
type threshold-crossing-qualifier;
description "none";
}
container pm-parameter-above-thrs {
uses pm-parameter-value;
description "none";
}
container pm-parameter-below-thrs {
uses pm-parameter-value;
description "none";
}
container pm-parameter-clear-thrs {
uses pm-parameter-value;
description "none";
}
description "none";
}
typedef threshold-crossing-qualifier {
type enumeration {
enum NOT_APPLICABLE {
description "none";
}
enum NEAR_END {
description "none";
}
enum FAR_END {
description "none";
}
enum BIDIRECTIONAL {
description "none";
}
enum FORWARD {
description "none";
}
enum BACKWARD {
description "none";
}
}
description "none";
}
typedef oam-object-type {
type identityref {
base OAM_OBJECT_TYPE;
}
description "The list of TAPI Global Object Class types on which Notifications can be raised.";
}
grouping pm-parameter-value {
leaf pm-parameter-int-value {
type uint64;
description "none";
}
leaf pm-parameter-real-value {
type decimal64 {
fraction-digits 7;
}
description "none";
}
description "none";
}
/**************************
* package interfaces
**************************/
rpc create-oam-service {
description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
An UUID carries no semantics with respect to the purpose or state of the entity.
UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
input {
leaf uuid {
type tapi-common:uuid;
description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
An UUID carries no semantics with respect to the purpose or state of the entity.
UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
}
list name {
key 'value-name';
uses tapi-common:name-and-value;
description "List of names. This value is unique in some namespace but may change during the life of the entity.
A name carries no semantics with respect to the purpose of the entity.";
}
leaf layer-protocol-name {
type tapi-common:layer-protocol-name;
description "none";
}
leaf state {
type tapi-common:administrative-state;
description "none";
}
list oam-service-point {
key 'local-id';
min-elements 2;
uses oam-service-point;
description "none";
}
}
output {
container oam-service {
uses oam-service;
description "none";
}
}
}
rpc delete-oam-service {
description "none";
input {
leaf uuid {
type tapi-common:uuid;
description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
An UUID carries no semantics with respect to the purpose or state of the entity.
UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
}
}
}
rpc get-oam-service {
description "none";
input {
leaf uuid {
type tapi-common:uuid;
description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
An UUID carries no semantics with respect to the purpose or state of the entity.
UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
}
}
output {
container oam-service {
uses oam-service;
description "none";
}
}
}
rpc get-oam-service-list {
description "none";
output {
list oam-service {
key 'uuid';
uses oam-service;
description "none";
}
}
}
rpc get-meg {
description "none";
input {
leaf uuid {
type tapi-common:uuid;
description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
An UUID carries no semantics with respect to the purpose or state of the entity.
UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
}
}
output {
container meg {
uses meg;
description "none";
}
}
}
rpc update-oam-service {
description "none";
input {
leaf uuid {
type tapi-common:uuid;
description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
An UUID carries no semantics with respect to the purpose or state of the entity.
UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
}
list name {
key 'value-name';
uses tapi-common:name-and-value;
description "List of names. This value is unique in some namespace but may change during the life of the entity.
A name carries no semantics with respect to the purpose of the entity.";
}
leaf state {
type tapi-common:administrative-state;
description "none";
}
list oam-service-point {
key 'local-id';
uses oam-service-point;
description "none";
}
}
output {
container oam-service {
uses oam-service;
description "none";
}
}
}
rpc create-oam-service-point {
description "none";
input {
leaf uuid {
type tapi-common:uuid;
description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
An UUID carries no semantics with respect to the purpose or state of the entity.
UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
}
leaf oam-service-id {
type tapi-common:uuid;
description "UUID of the parent OamService: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
An UUID carries no semantics with respect to the purpose or state of the entity.
UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
}
leaf service-interface-point-id {
type tapi-common:uuid;
description "UUID of the associated SIP to be monitored: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
An UUID carries no semantics with respect to the purpose or state of the entity.
UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
}
leaf connectivity-service-end-point-id {
type tapi-common:uuid;
description "UUID of the CSEP to be monitored: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
An UUID carries no semantics with respect to the purpose or state of the entity.
UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
}
list name {
key 'value-name';
uses tapi-common:name-and-value;
description "List of names. This value is unique in some namespace but may change during the life of the entity.
A name carries no semantics with respect to the purpose of the entity.";
}
leaf layer-protocol-name {
type tapi-common:layer-protocol-name;
description "none";
}
leaf state {
type tapi-common:administrative-state;
description "none";
}
}
output {
container oam-service-point {
uses oam-service-point;
description "none";
}
}
}
rpc delete-oam-service-point {
description "none";
input {
leaf uuid {
type tapi-common:uuid;
description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
An UUID carries no semantics with respect to the purpose or state of the entity.
UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
}
}
}
rpc update-oam-service-point {
description "none";
input {
leaf uuid {
type tapi-common:uuid;
description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
An UUID carries no semantics with respect to the purpose or state of the entity.
UUID here uses string representation as defined in RFC 4122. The canonical representation uses lowercase characters.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
}
list name {
key 'value-name';
uses tapi-common:name-and-value;
description "List of names. This value is unique in some namespace but may change during the life of the entity.
A name carries no semantics with respect to the purpose of the entity.";
}
leaf state {
type tapi-common:administrative-state;
description "none";
}
}
output {
container oam-service-point {
uses oam-service-point;
description "none";
}
}
}