@itentialopensource/adapter-nokia_nsp_device_configurator 0.3.6 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/.eslintrc.js +1 -0
  2. package/AUTH.md +4 -4
  3. package/BROKER.md +4 -4
  4. package/CALLS.md +9 -9
  5. package/ENHANCE.md +3 -3
  6. package/PROPERTIES.md +24 -9
  7. package/README.md +24 -23
  8. package/SUMMARY.md +2 -2
  9. package/SYSTEMINFO.md +1 -1
  10. package/TAB1.md +2 -2
  11. package/TAB2.md +9 -5
  12. package/TROUBLESHOOT.md +10 -1
  13. package/UTILITIES.md +473 -0
  14. package/adapter.js +5 -5
  15. package/adapterBase.js +52 -16
  16. package/package.json +24 -28
  17. package/pronghorn.json +17 -15
  18. package/propertiesSchema.json +68 -7
  19. package/report/adapterInfo.json +7 -7
  20. package/report/auto-adapter-openapi.json +2079 -0
  21. package/report/updateReport1748551698143.json +120 -0
  22. package/sampleProperties.json +4 -0
  23. package/test/integration/adapterTestBasicGet.js +88 -54
  24. package/test/integration/adapterTestConnectivity.js +15 -16
  25. package/test/integration/adapterTestIntegration.js +1 -38
  26. package/test/unit/adapterBaseTestUnit.js +641 -39
  27. package/test/unit/adapterTestUnit.js +17 -54
  28. package/utils/adapterInfo.js +114 -164
  29. package/utils/argParser.js +44 -0
  30. package/utils/checkMigrate.js +77 -38
  31. package/utils/entitiesToDB.js +53 -42
  32. package/utils/logger.js +26 -0
  33. package/utils/modify.js +56 -55
  34. package/utils/mongoDbConnection.js +79 -0
  35. package/utils/mongoUtils.js +162 -0
  36. package/utils/taskMover.js +31 -32
  37. package/utils/tbScript.js +36 -172
  38. package/utils/tbUtils.js +84 -226
  39. package/utils/troubleshootingAdapter.js +68 -84
  40. package/utils/updateAdapterConfig.js +158 -0
  41. package/utils/addAuth.js +0 -94
  42. package/utils/artifactize.js +0 -146
  43. package/utils/basicGet.js +0 -50
  44. package/utils/packModificationScript.js +0 -35
  45. package/utils/patches2bundledDeps.js +0 -90
@@ -0,0 +1,2079 @@
1
+ {
2
+ "openapi": "3.1.0",
3
+ "info": {
4
+ "title": "",
5
+ "version": "1.0.0"
6
+ },
7
+ "paths": {
8
+ "/rest-gateway/rest/api/v1/auth/token": {
9
+ "post": {
10
+ "tags": [
11
+ "GetBearerToken"
12
+ ],
13
+ "operationId": "getAuthBearerToken",
14
+ "description": "The parameters and request body are for method: getAuthBearerToken. Same endpoint also used in methods:",
15
+ "responses": {
16
+ "200": {
17
+ "description": "Successful operation",
18
+ "content": {
19
+ "application/json": {
20
+ "schema": {
21
+ "type": "object",
22
+ "properties": {
23
+ "access_token": {
24
+ "type": "string"
25
+ },
26
+ "refresh_token": {
27
+ "type": "string"
28
+ },
29
+ "token_type": {
30
+ "type": "string"
31
+ },
32
+ "expires_in": {
33
+ "type": "number"
34
+ }
35
+ }
36
+ },
37
+ "example": {
38
+ "access_token": "VEtOLWFkbWluYjcxY2RiMzMtYWZkMS00ZGY2LWFlMDktMDBiNmQ5OTYwNGQ5",
39
+ "refresh_token": "UkVUS04tYWRtaW41M2I3YWUwOS1iYzRlLTQ2N2UtOWEwYy0wMDljOTc0YjQ2YWY=",
40
+ "token_type": "Bearer",
41
+ "expires_in": 3600
42
+ }
43
+ }
44
+ }
45
+ }
46
+ },
47
+ "requestBody": {
48
+ "description": "indeterminate body object",
49
+ "content": {
50
+ "application/json": {
51
+ "schema": {
52
+ "type": "object"
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ },
59
+ "/.well-known/host-meta": {
60
+ "get": {
61
+ "tags": [
62
+ "BasicRESTCONFFlow"
63
+ ],
64
+ "operationId": "gettheRESTCONFRoot",
65
+ "description": "The parameters and request body are for method: gettheRESTCONFRoot. Same endpoint also used in methods:",
66
+ "responses": {
67
+ "200": {
68
+ "description": "Successful operation",
69
+ "content": {
70
+ "application/json": {
71
+ "schema": {
72
+ "type": "object",
73
+ "properties": {
74
+ "links": {
75
+ "type": "array",
76
+ "items": {
77
+ "type": "object",
78
+ "properties": {
79
+ "rel": {
80
+ "type": "string"
81
+ },
82
+ "href": {
83
+ "type": "string"
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ },
90
+ "example": {
91
+ "links": [
92
+ {
93
+ "rel": "restconf",
94
+ "href": "/restconf"
95
+ }
96
+ ]
97
+ }
98
+ }
99
+ }
100
+ }
101
+ },
102
+ "requestBody": {
103
+ "content": {
104
+ "application/json": {
105
+ "schema": {
106
+ "type": "object"
107
+ },
108
+ "example": {}
109
+ }
110
+ }
111
+ }
112
+ }
113
+ },
114
+ "/restconf": {
115
+ "get": {
116
+ "tags": [
117
+ "BasicRESTCONFFlow"
118
+ ],
119
+ "operationId": "getthedatastore",
120
+ "description": "The parameters and request body are for method: getthedatastore. Same endpoint also used in methods:",
121
+ "responses": {
122
+ "200": {
123
+ "description": "Successful operation",
124
+ "content": {
125
+ "application/json": {
126
+ "schema": {
127
+ "type": "object",
128
+ "properties": {
129
+ "ietf-restconf:restconf": {
130
+ "type": "object",
131
+ "properties": {
132
+ "data": {
133
+ "type": "object"
134
+ },
135
+ "yang-library-version": {
136
+ "type": "string"
137
+ }
138
+ }
139
+ }
140
+ }
141
+ },
142
+ "example": {
143
+ "ietf-restconf:restconf": {
144
+ "data": {},
145
+ "yang-library-version": "2019-01-04"
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+ },
152
+ "requestBody": {
153
+ "content": {
154
+ "application/json": {
155
+ "schema": {
156
+ "type": "object"
157
+ },
158
+ "example": {}
159
+ }
160
+ }
161
+ }
162
+ }
163
+ },
164
+ "/restconf/data/ietf-yang-library:yang-library": {
165
+ "get": {
166
+ "tags": [
167
+ "BasicRESTCONFFlow"
168
+ ],
169
+ "operationId": "gettheyangLibrary",
170
+ "description": "The parameters and request body are for method: gettheyangLibrary. Same endpoint also used in methods:",
171
+ "responses": {
172
+ "200": {
173
+ "description": "Successful operation",
174
+ "content": {
175
+ "application/json": {
176
+ "schema": {
177
+ "type": "object",
178
+ "properties": {
179
+ "ietf-yang-library:yang-library": {
180
+ "type": "object",
181
+ "properties": {
182
+ "content-id": {
183
+ "type": "string"
184
+ },
185
+ "module-set": {
186
+ "type": "array",
187
+ "items": {
188
+ "type": "object",
189
+ "properties": {
190
+ "name": {
191
+ "type": "string"
192
+ },
193
+ "module": {
194
+ "type": "array",
195
+ "items": {
196
+ "type": "object",
197
+ "properties": {
198
+ "name": {
199
+ "type": "string"
200
+ },
201
+ "revision": {
202
+ "type": "string"
203
+ },
204
+ "namespace": {
205
+ "type": "string"
206
+ },
207
+ "conformance-type": {
208
+ "type": "string"
209
+ }
210
+ }
211
+ }
212
+ }
213
+ }
214
+ }
215
+ }
216
+ }
217
+ }
218
+ }
219
+ },
220
+ "example": {
221
+ "ietf-yang-library:yang-library": {
222
+ "content-id": "NSP-2019-05-20",
223
+ "module-set": [
224
+ {
225
+ "name": "NSP-MDC-2019-05-20",
226
+ "module": [
227
+ {
228
+ "name": "network-device-mgr",
229
+ "revision": "2018-06-06",
230
+ "namespace": "urn:nokia:nsp:mdm:network-device-mgr",
231
+ "conformance-type": "implement"
232
+ },
233
+ {
234
+ "name": "ietf-yang-library",
235
+ "revision": "2019-01-04",
236
+ "namespace": "urn:ietf:params:xml:ns:yang:ietf-yang-library",
237
+ "conformance-type": "implement"
238
+ },
239
+ {
240
+ "name": "ietf-yang-schema-mount",
241
+ "revision": "2017-10-09",
242
+ "namespace": "urn:ietf:params:xml:ns:yang:ietf-yang-schema-mount",
243
+ "conformance-type": "implement"
244
+ },
245
+ {
246
+ "name": "ietf-restconf",
247
+ "revision": "2016-08-15",
248
+ "namespace": "urn:ietf:params:xml:ns:yang:ietf-restconf",
249
+ "conformance-type": "implement"
250
+ }
251
+ ]
252
+ }
253
+ ]
254
+ }
255
+ }
256
+ }
257
+ }
258
+ }
259
+ },
260
+ "requestBody": {
261
+ "content": {
262
+ "application/json": {
263
+ "schema": {
264
+ "type": "object"
265
+ },
266
+ "example": {}
267
+ }
268
+ }
269
+ }
270
+ }
271
+ },
272
+ "/restconf/data/ietf-yang-schema-mount:schema-mounts": {
273
+ "get": {
274
+ "tags": [
275
+ "BasicRESTCONFFlow"
276
+ ],
277
+ "operationId": "gettheschemamounts",
278
+ "description": "The parameters and request body are for method: gettheschemamounts. Same endpoint also used in methods:",
279
+ "responses": {
280
+ "200": {
281
+ "description": "Successful operation",
282
+ "content": {
283
+ "application/json": {
284
+ "schema": {
285
+ "type": "object",
286
+ "properties": {
287
+ "ietf-yang-schema-mounts:schema-mounts": {
288
+ "type": "object",
289
+ "properties": {
290
+ "mount-point": {
291
+ "type": "array",
292
+ "items": {
293
+ "type": "object",
294
+ "properties": {
295
+ "module": {
296
+ "type": "string"
297
+ },
298
+ "label": {
299
+ "type": "string"
300
+ },
301
+ "inline": {
302
+ "type": "object"
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ },
311
+ "example": {
312
+ "ietf-yang-schema-mounts:schema-mounts": {
313
+ "mount-point": [
314
+ {
315
+ "module": "ietf-network",
316
+ "label": "ne-management-nm",
317
+ "inline": {}
318
+ },
319
+ {
320
+ "module": "nsp-network",
321
+ "label": "node-root",
322
+ "inline": {}
323
+ },
324
+ {
325
+ "module": "ietf-network",
326
+ "label": "system-root",
327
+ "inline": {}
328
+ },
329
+ {
330
+ "module": "ietf-network",
331
+ "label": "protocol-root",
332
+ "inline": {}
333
+ },
334
+ {
335
+ "module": "ietf-network",
336
+ "label": "port-root",
337
+ "inline": {}
338
+ },
339
+ {
340
+ "module": "ietf-network",
341
+ "label": "interfaces-root",
342
+ "inline": {}
343
+ },
344
+ {
345
+ "module": "ietf-network",
346
+ "label": "routing-root",
347
+ "inline": {}
348
+ },
349
+ {
350
+ "module": "nsp-service-intent",
351
+ "label": "intent",
352
+ "inline": {}
353
+ },
354
+ {
355
+ "module": "nsp-tunnel-intent",
356
+ "label": "intent",
357
+ "inline": {}
358
+ },
359
+ {
360
+ "module": "network-device-mgr",
361
+ "label": "root",
362
+ "inline": {}
363
+ }
364
+ ]
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
370
+ },
371
+ "requestBody": {
372
+ "content": {
373
+ "application/json": {
374
+ "schema": {
375
+ "type": "object"
376
+ },
377
+ "example": {}
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "/restconf/data/network-device-mgr:network-devices": {
384
+ "get": {
385
+ "tags": [
386
+ "BasicRESTCONFFlow"
387
+ ],
388
+ "operationId": "getallthenetworkdevices",
389
+ "description": "The parameters and request body are for method: getallthenetworkdevices. Same endpoint also used in methods:",
390
+ "responses": {
391
+ "200": {
392
+ "description": "Successful operation",
393
+ "content": {
394
+ "application/json": {
395
+ "schema": {
396
+ "type": "object",
397
+ "properties": {
398
+ "network-device-mgr:network-devices": {
399
+ "type": "object",
400
+ "properties": {
401
+ "network-device": {
402
+ "type": "array",
403
+ "items": {
404
+ "type": "object",
405
+ "properties": {
406
+ "neId": {
407
+ "type": "string"
408
+ },
409
+ "type": {
410
+ "type": "string"
411
+ },
412
+ "version": {
413
+ "type": "string"
414
+ },
415
+ "root": {
416
+ "type": "object",
417
+ "properties": {
418
+ "yanglib:yang-library": {
419
+ "type": "object",
420
+ "properties": {
421
+ "content-id": {
422
+ "type": "string"
423
+ },
424
+ "module-set": {
425
+ "type": "array",
426
+ "items": {
427
+ "type": "object",
428
+ "properties": {
429
+ "name": {
430
+ "type": "string"
431
+ },
432
+ "module": {
433
+ "type": "array",
434
+ "items": {
435
+ "type": "object",
436
+ "properties": {
437
+ "name": {
438
+ "type": "string"
439
+ },
440
+ "namespace": {
441
+ "type": "string"
442
+ },
443
+ "revision": {
444
+ "type": "string"
445
+ }
446
+ }
447
+ }
448
+ }
449
+ }
450
+ }
451
+ }
452
+ }
453
+ }
454
+ }
455
+ }
456
+ }
457
+ }
458
+ }
459
+ }
460
+ }
461
+ }
462
+ },
463
+ "example": {
464
+ "network-device-mgr:network-devices": {
465
+ "network-device": [
466
+ {
467
+ "neId": "10.10.10.1",
468
+ "type": "SR-7750",
469
+ "version": "20.10.R3",
470
+ "root": {
471
+ "yanglib:yang-library": {
472
+ "content-id": "NSP-19.6.0",
473
+ "module-set": [
474
+ {
475
+ "name": "SrosOpenConfigMDCNBI@1.0.0",
476
+ "module": [
477
+ {
478
+ "name": "openconfig-interfaces",
479
+ "namespace": "2.0.0",
480
+ "revision": "2.0.0"
481
+ },
482
+ {
483
+ "name": "openconfig-lacp",
484
+ "namespace": "1.1.0",
485
+ "revision": "1.1.0"
486
+ },
487
+ {
488
+ "name": "openconfig-network-instance",
489
+ "namespace": "0.8.0",
490
+ "revision": "0.8.0"
491
+ },
492
+ {
493
+ "name": "openconfig-relay-agent",
494
+ "namespace": "0.1.0",
495
+ "revision": "0.1.0"
496
+ },
497
+ {
498
+ "name": "openconfig-routing-policy",
499
+ "namespace": "3.0.0",
500
+ "revision": "3.0.0"
501
+ },
502
+ {
503
+ "name": "openconfig-lldp",
504
+ "namespace": "0.1.0",
505
+ "revision": "0.1.0"
506
+ },
507
+ {
508
+ "name": "openconfig-mpls",
509
+ "namespace": "2.3.0",
510
+ "revision": "2.3.0"
511
+ },
512
+ {
513
+ "name": "openconfig-acl",
514
+ "namespace": "1.0.0",
515
+ "revision": "1.0.0"
516
+ },
517
+ {
518
+ "name": "openconfig-bgp",
519
+ "namespace": "3.0.1",
520
+ "revision": "3.0.1"
521
+ },
522
+ {
523
+ "name": "openconfig-local-routing",
524
+ "namespace": "1.0.1",
525
+ "revision": "1.0.1"
526
+ }
527
+ ]
528
+ }
529
+ ]
530
+ }
531
+ }
532
+ },
533
+ {
534
+ "neId": "10.10.10.2",
535
+ "type": "SR-7750",
536
+ "version": "20.10.R3",
537
+ "root": {
538
+ "yanglib:yang-library": {
539
+ "content-id": "NSP-19.6.0",
540
+ "module-set": [
541
+ {
542
+ "name": "SrosOpenConfigMDCNBI@1.0.0",
543
+ "module": [
544
+ {
545
+ "name": "openconfig-interfaces",
546
+ "namespace": "2.0.0",
547
+ "revision": "2.0.0"
548
+ },
549
+ {
550
+ "name": "openconfig-lacp",
551
+ "namespace": "1.1.0",
552
+ "revision": "1.1.0"
553
+ },
554
+ {
555
+ "name": "openconfig-network-instance",
556
+ "namespace": "0.8.0",
557
+ "revision": "0.8.0"
558
+ },
559
+ {
560
+ "name": "openconfig-relay-agent",
561
+ "namespace": "0.1.0",
562
+ "revision": "0.1.0"
563
+ },
564
+ {
565
+ "name": "openconfig-routing-policy",
566
+ "namespace": "3.0.0",
567
+ "revision": "3.0.0"
568
+ },
569
+ {
570
+ "name": "openconfig-lldp",
571
+ "namespace": "0.1.0",
572
+ "revision": "0.1.0"
573
+ },
574
+ {
575
+ "name": "openconfig-mpls",
576
+ "namespace": "2.3.0",
577
+ "revision": "2.3.0"
578
+ },
579
+ {
580
+ "name": "openconfig-acl",
581
+ "namespace": "1.0.0",
582
+ "revision": "1.0.0"
583
+ },
584
+ {
585
+ "name": "openconfig-bgp",
586
+ "namespace": "3.0.1",
587
+ "revision": "3.0.1"
588
+ },
589
+ {
590
+ "name": "openconfig-local-routing",
591
+ "namespace": "1.0.1",
592
+ "revision": "1.0.1"
593
+ }
594
+ ]
595
+ }
596
+ ]
597
+ }
598
+ }
599
+ }
600
+ ]
601
+ }
602
+ }
603
+ }
604
+ }
605
+ }
606
+ },
607
+ "requestBody": {
608
+ "content": {
609
+ "application/json": {
610
+ "schema": {
611
+ "type": "object"
612
+ },
613
+ "example": {}
614
+ }
615
+ }
616
+ }
617
+ }
618
+ },
619
+ "/restconf/data/network-device-mgr:network-devices/{pathv1}": {
620
+ "get": {
621
+ "tags": [
622
+ "BasicRESTCONFFlow"
623
+ ],
624
+ "operationId": "getagivennetworkdevice",
625
+ "description": "The parameters and request body are for method: getagivennetworkdevice. Same endpoint also used in methods:",
626
+ "responses": {
627
+ "200": {
628
+ "description": "Successful operation",
629
+ "content": {
630
+ "application/json": {
631
+ "schema": {
632
+ "type": "object",
633
+ "properties": {
634
+ "network-device-mgr:network-device": {
635
+ "type": "array",
636
+ "items": {
637
+ "type": "object",
638
+ "properties": {
639
+ "neId": {
640
+ "type": "string"
641
+ },
642
+ "type": {
643
+ "type": "string"
644
+ },
645
+ "version": {
646
+ "type": "string"
647
+ },
648
+ "root": {
649
+ "type": "object",
650
+ "properties": {
651
+ "yanglib:yang-library": {
652
+ "type": "object",
653
+ "properties": {
654
+ "content-id": {
655
+ "type": "string"
656
+ },
657
+ "module-set": {
658
+ "type": "array",
659
+ "items": {
660
+ "type": "object",
661
+ "properties": {
662
+ "name": {
663
+ "type": "string"
664
+ },
665
+ "module": {
666
+ "type": "array",
667
+ "items": {
668
+ "type": "object",
669
+ "properties": {
670
+ "name": {
671
+ "type": "string"
672
+ },
673
+ "namespace": {
674
+ "type": "string"
675
+ },
676
+ "revision": {
677
+ "type": "string"
678
+ }
679
+ }
680
+ }
681
+ }
682
+ }
683
+ }
684
+ }
685
+ }
686
+ }
687
+ }
688
+ }
689
+ }
690
+ }
691
+ }
692
+ }
693
+ },
694
+ "example": {
695
+ "network-device-mgr:network-device": [
696
+ {
697
+ "neId": "10.10.10.1",
698
+ "type": "SR-7750",
699
+ "version": "20.10.R3",
700
+ "root": {
701
+ "yanglib:yang-library": {
702
+ "content-id": "NSP-19.6.0",
703
+ "module-set": [
704
+ {
705
+ "name": "SrosOpenConfigMDCNBI@1.0.0",
706
+ "module": [
707
+ {
708
+ "name": "openconfig-interfaces",
709
+ "namespace": "2.0.0",
710
+ "revision": "2.0.0"
711
+ },
712
+ {
713
+ "name": "openconfig-lacp",
714
+ "namespace": "1.1.0",
715
+ "revision": "1.1.0"
716
+ },
717
+ {
718
+ "name": "openconfig-network-instance",
719
+ "namespace": "0.8.0",
720
+ "revision": "0.8.0"
721
+ },
722
+ {
723
+ "name": "openconfig-relay-agent",
724
+ "namespace": "0.1.0",
725
+ "revision": "0.1.0"
726
+ },
727
+ {
728
+ "name": "openconfig-routing-policy",
729
+ "namespace": "3.0.0",
730
+ "revision": "3.0.0"
731
+ },
732
+ {
733
+ "name": "openconfig-lldp",
734
+ "namespace": "0.1.0",
735
+ "revision": "0.1.0"
736
+ },
737
+ {
738
+ "name": "openconfig-mpls",
739
+ "namespace": "2.3.0",
740
+ "revision": "2.3.0"
741
+ },
742
+ {
743
+ "name": "openconfig-acl",
744
+ "namespace": "1.0.0",
745
+ "revision": "1.0.0"
746
+ },
747
+ {
748
+ "name": "openconfig-bgp",
749
+ "namespace": "3.0.1",
750
+ "revision": "3.0.1"
751
+ },
752
+ {
753
+ "name": "openconfig-local-routing",
754
+ "namespace": "1.0.1",
755
+ "revision": "1.0.1"
756
+ }
757
+ ]
758
+ }
759
+ ]
760
+ }
761
+ }
762
+ }
763
+ ]
764
+ }
765
+ }
766
+ }
767
+ }
768
+ },
769
+ "requestBody": {
770
+ "content": {
771
+ "application/json": {
772
+ "schema": {
773
+ "type": "object"
774
+ },
775
+ "example": {}
776
+ }
777
+ }
778
+ }
779
+ }
780
+ },
781
+ "/restconf/data/network-device-mgr:network-devices/{pathv1}/root/nokia-conf:configure/{pathv2}": {
782
+ "post": {
783
+ "tags": [
784
+ "CreateConfigureAndDelete"
785
+ ],
786
+ "operationId": "createMDA",
787
+ "description": "The parameters and request body are for method: createMDA. Same endpoint also used in methods:",
788
+ "responses": {
789
+ "200": {
790
+ "description": "Successful operation",
791
+ "content": {
792
+ "application/json": {
793
+ "schema": {
794
+ "title": "result",
795
+ "type": "object"
796
+ }
797
+ }
798
+ }
799
+ }
800
+ },
801
+ "requestBody": {
802
+ "description": "indeterminate body object",
803
+ "content": {
804
+ "application/json": {
805
+ "schema": {
806
+ "type": "object"
807
+ }
808
+ }
809
+ }
810
+ }
811
+ },
812
+ "get": {
813
+ "tags": [
814
+ "PlainPatch"
815
+ ],
816
+ "operationId": "verifyyangDataJsoninAcceptPatchheader",
817
+ "description": "The parameters and request body are for method: verifyyangDataJsoninAcceptPatchheader. Same endpoint also used in methods:",
818
+ "responses": {
819
+ "200": {
820
+ "description": "Successful operation",
821
+ "content": {
822
+ "application/json": {
823
+ "schema": {
824
+ "title": "result",
825
+ "type": "object"
826
+ }
827
+ }
828
+ }
829
+ }
830
+ },
831
+ "requestBody": {
832
+ "content": {
833
+ "application/json": {
834
+ "schema": {
835
+ "type": "object"
836
+ },
837
+ "example": {}
838
+ }
839
+ }
840
+ }
841
+ },
842
+ "patch": {
843
+ "tags": [
844
+ "PlainPatch"
845
+ ],
846
+ "operationId": "patchMultipleinterfaces",
847
+ "description": "The parameters and request body are for method: patchMultipleinterfaces. Same endpoint also used in methods:",
848
+ "responses": {
849
+ "200": {
850
+ "description": "Successful operation",
851
+ "content": {
852
+ "application/json": {
853
+ "schema": {
854
+ "title": "result",
855
+ "type": "object"
856
+ }
857
+ }
858
+ }
859
+ }
860
+ },
861
+ "requestBody": {
862
+ "description": "indeterminate body object",
863
+ "content": {
864
+ "application/json": {
865
+ "schema": {
866
+ "type": "object"
867
+ }
868
+ }
869
+ }
870
+ }
871
+ }
872
+ },
873
+ "/restconf/data/network-device-mgr:network-devices/{pathv1}/root/nokia-conf:configure/{pathv2}/{pathv3}": {
874
+ "put": {
875
+ "tags": [
876
+ "CreateConfigureAndDelete"
877
+ ],
878
+ "operationId": "configureMDA",
879
+ "description": "The parameters and request body are for method: configureMDA. Same endpoint also used in methods:<br> createInterface (neId : string,router : string,interfaceParam : string,body : object)",
880
+ "responses": {
881
+ "200": {
882
+ "description": "Successful operation",
883
+ "content": {
884
+ "application/json": {
885
+ "schema": {
886
+ "title": "result",
887
+ "type": "object"
888
+ }
889
+ }
890
+ }
891
+ }
892
+ },
893
+ "requestBody": {
894
+ "description": "indeterminate body object",
895
+ "content": {
896
+ "application/json": {
897
+ "schema": {
898
+ "type": "object"
899
+ }
900
+ }
901
+ }
902
+ }
903
+ }
904
+ },
905
+ "/restconf/data/network-device-mgr:network-devices/{pathv1}/root/nokia-conf:/configure/{pathv2}/{pathv3}": {
906
+ "delete": {
907
+ "tags": [
908
+ "CreateConfigureAndDelete"
909
+ ],
910
+ "operationId": "deleteMDA",
911
+ "description": "The parameters and request body are for method: deleteMDA. Same endpoint also used in methods:",
912
+ "responses": {
913
+ "200": {
914
+ "description": "Successful operation",
915
+ "content": {
916
+ "application/json": {
917
+ "schema": {
918
+ "title": "result",
919
+ "type": "object"
920
+ }
921
+ }
922
+ }
923
+ }
924
+ },
925
+ "requestBody": {
926
+ "content": {
927
+ "application/json": {
928
+ "schema": {
929
+ "type": "object"
930
+ },
931
+ "example": {}
932
+ }
933
+ }
934
+ }
935
+ }
936
+ },
937
+ "/restconf/data/network-device-mgr:network-devices/{pathv1}/root/nokia-conf:configure/{pathv2}/interface": {
938
+ "get": {
939
+ "tags": [
940
+ "PlainPatch"
941
+ ],
942
+ "operationId": "getthelistofinterfaces",
943
+ "description": "The parameters and request body are for method: getthelistofinterfaces. Same endpoint also used in methods:",
944
+ "responses": {
945
+ "200": {
946
+ "description": "Successful operation",
947
+ "content": {
948
+ "application/json": {
949
+ "schema": {
950
+ "type": "object",
951
+ "properties": {
952
+ "nokia-conf:interface": {
953
+ "type": "array",
954
+ "items": {
955
+ "type": "object",
956
+ "properties": {
957
+ "ipv4": {
958
+ "type": "object",
959
+ "properties": {
960
+ "primary": {
961
+ "type": "object",
962
+ "properties": {
963
+ "prefix-length": {
964
+ "type": "number"
965
+ },
966
+ "address": {
967
+ "type": "string"
968
+ }
969
+ }
970
+ }
971
+ }
972
+ },
973
+ "port": {
974
+ "type": "string"
975
+ },
976
+ "interface-name": {
977
+ "type": "string"
978
+ }
979
+ }
980
+ }
981
+ }
982
+ }
983
+ },
984
+ "example": {
985
+ "nokia-conf:interface": [
986
+ {
987
+ "ipv4": {
988
+ "primary": {
989
+ "prefix-length": 24,
990
+ "address": "10.0.0.2"
991
+ }
992
+ },
993
+ "port": "1/1/1",
994
+ "interface-name": "if1"
995
+ },
996
+ {
997
+ "ipv4": {
998
+ "primary": {
999
+ "prefix-length": 24,
1000
+ "address": "10.18.1.1"
1001
+ }
1002
+ },
1003
+ "interface-name": "plain_patch_1",
1004
+ "description": "To be modified by plain patch"
1005
+ },
1006
+ {
1007
+ "ipv4": {
1008
+ "primary": {
1009
+ "prefix-length": 24,
1010
+ "address": "10.18.2.1"
1011
+ }
1012
+ },
1013
+ "interface-name": "plain_patch_2",
1014
+ "description": "To be modified by plain patch"
1015
+ },
1016
+ {
1017
+ "ipv4": {
1018
+ "primary": {
1019
+ "prefix-length": 24,
1020
+ "address": "10.18.3.1"
1021
+ }
1022
+ },
1023
+ "interface-name": "plain_patch_3",
1024
+ "description": "To be modified by plain patch"
1025
+ },
1026
+ {
1027
+ "ipv4": {
1028
+ "primary": {
1029
+ "prefix-length": 32,
1030
+ "address": "10.10.10.2"
1031
+ }
1032
+ },
1033
+ "interface-name": "system"
1034
+ }
1035
+ ]
1036
+ }
1037
+ }
1038
+ }
1039
+ }
1040
+ },
1041
+ "requestBody": {
1042
+ "content": {
1043
+ "application/json": {
1044
+ "schema": {
1045
+ "type": "object"
1046
+ },
1047
+ "example": {}
1048
+ }
1049
+ }
1050
+ }
1051
+ }
1052
+ },
1053
+ "/restconf/data/network-device-mgr:network-devices/{pathv1}/root/junos-conf-root:configuration/interfaces/{pathv2}": {
1054
+ "patch": {
1055
+ "tags": [
1056
+ "PatchForLeafTypeEmpty"
1057
+ ],
1058
+ "operationId": "addEmptytype",
1059
+ "description": "The parameters and request body are for method: addEmptytype. Same endpoint also used in methods:",
1060
+ "responses": {
1061
+ "200": {
1062
+ "description": "Successful operation",
1063
+ "content": {
1064
+ "application/json": {
1065
+ "schema": {
1066
+ "title": "result",
1067
+ "type": "object"
1068
+ }
1069
+ }
1070
+ }
1071
+ }
1072
+ },
1073
+ "requestBody": {
1074
+ "description": "indeterminate body object",
1075
+ "content": {
1076
+ "application/json": {
1077
+ "schema": {
1078
+ "type": "object"
1079
+ }
1080
+ }
1081
+ }
1082
+ }
1083
+ }
1084
+ },
1085
+ "/restconf/data/network-device-mgr:network-devices/{pathv1}/root/junos-conf-root:configuration/interfaces/{pathv2}/disable": {
1086
+ "delete": {
1087
+ "tags": [
1088
+ "PatchForLeafTypeEmpty"
1089
+ ],
1090
+ "operationId": "removeEmptytype",
1091
+ "description": "The parameters and request body are for method: removeEmptytype. Same endpoint also used in methods:",
1092
+ "responses": {
1093
+ "200": {
1094
+ "description": "Successful operation",
1095
+ "content": {
1096
+ "application/json": {
1097
+ "schema": {
1098
+ "title": "result",
1099
+ "type": "object"
1100
+ }
1101
+ }
1102
+ }
1103
+ }
1104
+ },
1105
+ "requestBody": {
1106
+ "content": {
1107
+ "application/json": {
1108
+ "schema": {
1109
+ "type": "object"
1110
+ },
1111
+ "example": {}
1112
+ }
1113
+ }
1114
+ }
1115
+ }
1116
+ },
1117
+ "/restconf/data/network-device-mgr:network-devices/{pathv1}/root/nokia-conf:/configure/port": {
1118
+ "get": {
1119
+ "tags": [
1120
+ "Search"
1121
+ ],
1122
+ "operationId": "fieldquerytoselectmultiplefieldsunderthetargetresource",
1123
+ "description": "The parameters and request body are for method: fieldquerytoselectmultiplefieldsunderthetargetresource. Same endpoint also used in methods:",
1124
+ "responses": {
1125
+ "200": {
1126
+ "description": "Successful operation",
1127
+ "content": {
1128
+ "application/json": {
1129
+ "schema": {
1130
+ "type": "object",
1131
+ "properties": {
1132
+ "nokia-conf:port": {
1133
+ "type": "array",
1134
+ "items": {
1135
+ "type": "object",
1136
+ "properties": {
1137
+ "port-id": {
1138
+ "type": "string"
1139
+ },
1140
+ "admin-state": {
1141
+ "type": "string"
1142
+ }
1143
+ }
1144
+ }
1145
+ }
1146
+ }
1147
+ },
1148
+ "example": {
1149
+ "nokia-conf:port": [
1150
+ {
1151
+ "port-id": "1/1/1",
1152
+ "admin-state": "enable"
1153
+ },
1154
+ {
1155
+ "port-id": "1/1/9",
1156
+ "admin-state": "enable"
1157
+ },
1158
+ {
1159
+ "port-id": "1/1/10",
1160
+ "admin-state": "enable"
1161
+ }
1162
+ ]
1163
+ }
1164
+ }
1165
+ }
1166
+ }
1167
+ },
1168
+ "parameters": [
1169
+ {
1170
+ "name": "fields",
1171
+ "in": "query",
1172
+ "required": true,
1173
+ "schema": {
1174
+ "type": "string"
1175
+ }
1176
+ }
1177
+ ],
1178
+ "requestBody": {
1179
+ "content": {
1180
+ "application/json": {
1181
+ "schema": {
1182
+ "type": "object"
1183
+ },
1184
+ "example": {}
1185
+ }
1186
+ }
1187
+ }
1188
+ }
1189
+ },
1190
+ "/restconf/data/network-device-mgr:network-devices/{pathv1}/root/nokia-conf:/configure/{pathv2}": {
1191
+ "get": {
1192
+ "tags": [
1193
+ "Search"
1194
+ ],
1195
+ "operationId": "fieldquerywithsubSelectorsofanodeunderthetargetresource",
1196
+ "description": "The parameters and request body are for method: fieldquerywithsubSelectorsofanodeunderthetargetresource. Same endpoint also used in methods:<br> fieldQueryToRetrieveASingleChildNodeUnderTheTargetResource (fields : string,neId : string,port : string)",
1197
+ "responses": {
1198
+ "200": {
1199
+ "description": "Successful operation",
1200
+ "content": {
1201
+ "application/json": {
1202
+ "schema": {
1203
+ "type": "object",
1204
+ "properties": {
1205
+ "nokia-conf:card": {
1206
+ "type": "array",
1207
+ "items": {
1208
+ "type": "object",
1209
+ "properties": {
1210
+ "slot-number": {
1211
+ "type": "string"
1212
+ },
1213
+ "mda": {
1214
+ "type": "array",
1215
+ "items": {
1216
+ "type": "object",
1217
+ "properties": {
1218
+ "mda-slot": {
1219
+ "type": "number"
1220
+ },
1221
+ "mda-type": {
1222
+ "type": "string"
1223
+ }
1224
+ }
1225
+ }
1226
+ }
1227
+ }
1228
+ }
1229
+ }
1230
+ }
1231
+ },
1232
+ "example": {
1233
+ "nokia-conf:card": [
1234
+ {
1235
+ "slot-number": "1",
1236
+ "mda": [
1237
+ {
1238
+ "mda-slot": 1,
1239
+ "mda-type": "m60-10/100eth-tx"
1240
+ },
1241
+ {
1242
+ "mda-slot": 2,
1243
+ "mda-type": "m10-1gb+1-10gb"
1244
+ }
1245
+ ]
1246
+ }
1247
+ ]
1248
+ }
1249
+ }
1250
+ }
1251
+ }
1252
+ },
1253
+ "parameters": [
1254
+ {
1255
+ "name": "fields",
1256
+ "in": "query",
1257
+ "required": true,
1258
+ "schema": {
1259
+ "type": "string"
1260
+ }
1261
+ }
1262
+ ],
1263
+ "requestBody": {
1264
+ "content": {
1265
+ "application/json": {
1266
+ "schema": {
1267
+ "type": "object"
1268
+ },
1269
+ "example": {}
1270
+ }
1271
+ }
1272
+ }
1273
+ }
1274
+ },
1275
+ "/restconf/data/network-device-mgr:network-devices/{pathv1}/root/nokia-conf:configure/qos": {
1276
+ "get": {
1277
+ "tags": [
1278
+ "QOSPolicyGetCreateEdit"
1279
+ ],
1280
+ "operationId": "getQoS",
1281
+ "description": "The parameters and request body are for method: getQoS. Same endpoint also used in methods:",
1282
+ "responses": {
1283
+ "200": {
1284
+ "description": "Successful operation",
1285
+ "content": {
1286
+ "application/json": {
1287
+ "schema": {
1288
+ "type": "object",
1289
+ "properties": {
1290
+ "nokia-conf:qos": {
1291
+ "type": "object",
1292
+ "properties": {
1293
+ "sap-egress": {
1294
+ "type": "array",
1295
+ "items": {
1296
+ "type": "object",
1297
+ "properties": {
1298
+ "sap-egress-policy-name": {
1299
+ "type": "string"
1300
+ },
1301
+ "description": {
1302
+ "type": "string"
1303
+ },
1304
+ "policy-id": {
1305
+ "type": "number"
1306
+ },
1307
+ "fc": {
1308
+ "type": "array",
1309
+ "items": {
1310
+ "type": "object",
1311
+ "properties": {
1312
+ "fc-name": {
1313
+ "type": "string"
1314
+ },
1315
+ "queue": {
1316
+ "type": "number"
1317
+ }
1318
+ }
1319
+ }
1320
+ },
1321
+ "queue": {
1322
+ "type": "array",
1323
+ "items": {
1324
+ "type": "object",
1325
+ "properties": {
1326
+ "queue-id": {
1327
+ "type": "number"
1328
+ },
1329
+ "rate": {
1330
+ "type": "object",
1331
+ "properties": {
1332
+ "pir": {
1333
+ "type": "string"
1334
+ },
1335
+ "cir": {
1336
+ "type": "string"
1337
+ }
1338
+ }
1339
+ },
1340
+ "adaptation-rule": {
1341
+ "type": "object",
1342
+ "properties": {
1343
+ "pir": {
1344
+ "type": "string"
1345
+ },
1346
+ "cir": {
1347
+ "type": "string"
1348
+ }
1349
+ }
1350
+ },
1351
+ "queue-type": {
1352
+ "type": "string"
1353
+ }
1354
+ }
1355
+ }
1356
+ }
1357
+ }
1358
+ }
1359
+ },
1360
+ "sap-ingress": {
1361
+ "type": "array",
1362
+ "items": {
1363
+ "type": "object",
1364
+ "properties": {
1365
+ "ip-criteria": {
1366
+ "type": "object",
1367
+ "properties": {
1368
+ "entry": {
1369
+ "type": "array",
1370
+ "items": {
1371
+ "type": "object",
1372
+ "properties": {
1373
+ "entry-id": {
1374
+ "type": "number"
1375
+ },
1376
+ "match": {
1377
+ "type": "object",
1378
+ "properties": {
1379
+ "protocol": {
1380
+ "type": "string"
1381
+ }
1382
+ }
1383
+ },
1384
+ "action": {
1385
+ "type": "object",
1386
+ "properties": {
1387
+ "fc": {
1388
+ "type": "string"
1389
+ }
1390
+ }
1391
+ }
1392
+ }
1393
+ }
1394
+ }
1395
+ }
1396
+ },
1397
+ "description": {
1398
+ "type": "string"
1399
+ },
1400
+ "sap-ingress-policy-name": {
1401
+ "type": "string"
1402
+ },
1403
+ "policy-id": {
1404
+ "type": "number"
1405
+ },
1406
+ "fc": {
1407
+ "type": "array",
1408
+ "items": {
1409
+ "type": "object",
1410
+ "properties": {
1411
+ "fc-name": {
1412
+ "type": "string"
1413
+ },
1414
+ "queue": {
1415
+ "type": "number"
1416
+ }
1417
+ }
1418
+ }
1419
+ },
1420
+ "queue": {
1421
+ "type": "array",
1422
+ "items": {
1423
+ "type": "object",
1424
+ "properties": {
1425
+ "queue-id": {
1426
+ "type": "number"
1427
+ },
1428
+ "rate": {
1429
+ "type": "object",
1430
+ "properties": {
1431
+ "pir": {
1432
+ "type": "string"
1433
+ },
1434
+ "cir": {
1435
+ "type": "string"
1436
+ }
1437
+ }
1438
+ },
1439
+ "adaptation-rule": {
1440
+ "type": "object",
1441
+ "properties": {
1442
+ "pir": {
1443
+ "type": "string"
1444
+ },
1445
+ "cir": {
1446
+ "type": "string"
1447
+ }
1448
+ }
1449
+ },
1450
+ "queue-type": {
1451
+ "type": "string"
1452
+ }
1453
+ }
1454
+ }
1455
+ }
1456
+ }
1457
+ }
1458
+ }
1459
+ }
1460
+ }
1461
+ }
1462
+ },
1463
+ "example": {
1464
+ "nokia-conf:qos": {
1465
+ "sap-egress": [
1466
+ {
1467
+ "sap-egress-policy-name": "Engress5",
1468
+ "description": "Egress QoS 5",
1469
+ "policy-id": 5,
1470
+ "fc": [
1471
+ {
1472
+ "fc-name": "be",
1473
+ "queue": 1
1474
+ },
1475
+ {
1476
+ "fc-name": "l2",
1477
+ "queue": 2
1478
+ },
1479
+ {
1480
+ "fc-name": "af",
1481
+ "queue": 3
1482
+ },
1483
+ {
1484
+ "fc-name": "l1",
1485
+ "queue": 4
1486
+ },
1487
+ {
1488
+ "fc-name": "h2",
1489
+ "queue": 5
1490
+ },
1491
+ {
1492
+ "fc-name": "ef",
1493
+ "queue": 6
1494
+ },
1495
+ {
1496
+ "fc-name": "h1",
1497
+ "queue": 7
1498
+ },
1499
+ {
1500
+ "fc-name": "nc",
1501
+ "queue": 8
1502
+ }
1503
+ ],
1504
+ "queue": [
1505
+ {
1506
+ "queue-id": 1,
1507
+ "rate": {
1508
+ "pir": "1000",
1509
+ "cir": "100"
1510
+ },
1511
+ "adaptation-rule": {
1512
+ "pir": "max",
1513
+ "cir": "min"
1514
+ },
1515
+ "queue-type": "auto-expedited"
1516
+ },
1517
+ {
1518
+ "queue-id": 2,
1519
+ "rate": {
1520
+ "pir": "1000",
1521
+ "cir": "100"
1522
+ },
1523
+ "adaptation-rule": {
1524
+ "pir": "max",
1525
+ "cir": "min"
1526
+ },
1527
+ "queue-type": "expedited"
1528
+ },
1529
+ {
1530
+ "queue-id": 3,
1531
+ "rate": {
1532
+ "pir": "1000",
1533
+ "cir": "100"
1534
+ },
1535
+ "adaptation-rule": {
1536
+ "pir": "max",
1537
+ "cir": "min"
1538
+ },
1539
+ "queue-type": "expedited"
1540
+ },
1541
+ {
1542
+ "queue-id": 4,
1543
+ "rate": {
1544
+ "pir": "1000",
1545
+ "cir": "100"
1546
+ },
1547
+ "adaptation-rule": {
1548
+ "pir": "max",
1549
+ "cir": "min"
1550
+ },
1551
+ "queue-type": "expedited"
1552
+ },
1553
+ {
1554
+ "queue-id": 5,
1555
+ "rate": {
1556
+ "pir": "1000",
1557
+ "cir": "100"
1558
+ },
1559
+ "adaptation-rule": {
1560
+ "pir": "max",
1561
+ "cir": "min"
1562
+ },
1563
+ "queue-type": "expedited"
1564
+ },
1565
+ {
1566
+ "queue-id": 6,
1567
+ "rate": {
1568
+ "pir": "1000",
1569
+ "cir": "100"
1570
+ },
1571
+ "adaptation-rule": {
1572
+ "pir": "max",
1573
+ "cir": "min"
1574
+ },
1575
+ "queue-type": "expedited"
1576
+ },
1577
+ {
1578
+ "queue-id": 7,
1579
+ "rate": {
1580
+ "pir": "1000",
1581
+ "cir": "100"
1582
+ },
1583
+ "adaptation-rule": {
1584
+ "pir": "max",
1585
+ "cir": "min"
1586
+ },
1587
+ "queue-type": "expedited"
1588
+ },
1589
+ {
1590
+ "queue-id": 8,
1591
+ "rate": {
1592
+ "pir": "1000",
1593
+ "cir": "100"
1594
+ },
1595
+ "adaptation-rule": {
1596
+ "pir": "max",
1597
+ "cir": "min"
1598
+ },
1599
+ "queue-type": "expedited"
1600
+ }
1601
+ ]
1602
+ }
1603
+ ],
1604
+ "sap-ingress": [
1605
+ {
1606
+ "ip-criteria": {
1607
+ "entry": [
1608
+ {
1609
+ "entry-id": 10,
1610
+ "match": {
1611
+ "protocol": "tcp"
1612
+ },
1613
+ "action": {
1614
+ "fc": "af"
1615
+ }
1616
+ }
1617
+ ]
1618
+ },
1619
+ "description": "Ingress QoS 1",
1620
+ "sap-ingress-policy-name": "Ingress3",
1621
+ "policy-id": 3,
1622
+ "fc": [
1623
+ {
1624
+ "fc-name": "af",
1625
+ "queue": 3
1626
+ },
1627
+ {
1628
+ "fc-name": "be",
1629
+ "queue": 3
1630
+ },
1631
+ {
1632
+ "fc-name": "ef",
1633
+ "queue": 3
1634
+ },
1635
+ {
1636
+ "fc-name": "h1",
1637
+ "queue": 3
1638
+ },
1639
+ {
1640
+ "fc-name": "h2",
1641
+ "queue": 5
1642
+ },
1643
+ {
1644
+ "fc-name": "l1",
1645
+ "queue": 4
1646
+ },
1647
+ {
1648
+ "fc-name": "l2",
1649
+ "queue": 2
1650
+ },
1651
+ {
1652
+ "fc-name": "nc",
1653
+ "queue": 3
1654
+ }
1655
+ ],
1656
+ "queue": [
1657
+ {
1658
+ "queue-id": 1,
1659
+ "rate": {
1660
+ "pir": "1000",
1661
+ "cir": "100"
1662
+ },
1663
+ "adaptation-rule": {
1664
+ "pir": "max",
1665
+ "cir": "min"
1666
+ },
1667
+ "queue-type": "auto-expedited"
1668
+ },
1669
+ {
1670
+ "queue-id": 2,
1671
+ "rate": {
1672
+ "pir": "1000",
1673
+ "cir": "100"
1674
+ },
1675
+ "adaptation-rule": {
1676
+ "pir": "max",
1677
+ "cir": "min"
1678
+ },
1679
+ "queue-type": "expedited"
1680
+ },
1681
+ {
1682
+ "queue-id": 3,
1683
+ "rate": {
1684
+ "pir": "1000",
1685
+ "cir": "100"
1686
+ },
1687
+ "adaptation-rule": {
1688
+ "pir": "max",
1689
+ "cir": "min"
1690
+ },
1691
+ "queue-type": "expedited"
1692
+ },
1693
+ {
1694
+ "queue-id": 4,
1695
+ "rate": {
1696
+ "pir": "1000",
1697
+ "cir": "100"
1698
+ },
1699
+ "adaptation-rule": {
1700
+ "pir": "max",
1701
+ "cir": "min"
1702
+ },
1703
+ "queue-type": "expedited"
1704
+ },
1705
+ {
1706
+ "queue-id": 5,
1707
+ "rate": {
1708
+ "pir": "1000",
1709
+ "cir": "100"
1710
+ },
1711
+ "adaptation-rule": {
1712
+ "pir": "max",
1713
+ "cir": "min"
1714
+ },
1715
+ "queue-type": "expedited"
1716
+ },
1717
+ {
1718
+ "queue-id": 6,
1719
+ "rate": {
1720
+ "pir": "1000",
1721
+ "cir": "100"
1722
+ },
1723
+ "adaptation-rule": {
1724
+ "pir": "max",
1725
+ "cir": "min"
1726
+ },
1727
+ "queue-type": "expedited"
1728
+ },
1729
+ {
1730
+ "queue-id": 7,
1731
+ "rate": {
1732
+ "pir": "1000",
1733
+ "cir": "100"
1734
+ },
1735
+ "adaptation-rule": {
1736
+ "pir": "max",
1737
+ "cir": "min"
1738
+ },
1739
+ "queue-type": "expedited"
1740
+ },
1741
+ {
1742
+ "queue-id": 8,
1743
+ "rate": {
1744
+ "pir": "1000",
1745
+ "cir": "100"
1746
+ },
1747
+ "adaptation-rule": {
1748
+ "pir": "max",
1749
+ "cir": "min"
1750
+ },
1751
+ "queue-type": "expedited"
1752
+ }
1753
+ ]
1754
+ }
1755
+ ]
1756
+ }
1757
+ }
1758
+ }
1759
+ }
1760
+ }
1761
+ },
1762
+ "requestBody": {
1763
+ "content": {
1764
+ "application/json": {
1765
+ "schema": {
1766
+ "type": "object"
1767
+ },
1768
+ "example": {}
1769
+ }
1770
+ }
1771
+ }
1772
+ },
1773
+ "post": {
1774
+ "tags": [
1775
+ "QOSPolicyGetCreateEdit"
1776
+ ],
1777
+ "operationId": "createQOSPolicy",
1778
+ "description": "The parameters and request body are for method: createQOSPolicy. Same endpoint also used in methods:",
1779
+ "responses": {
1780
+ "200": {
1781
+ "description": "Successful operation",
1782
+ "content": {
1783
+ "application/json": {
1784
+ "schema": {
1785
+ "title": "result",
1786
+ "type": "object"
1787
+ }
1788
+ }
1789
+ }
1790
+ }
1791
+ },
1792
+ "requestBody": {
1793
+ "description": "indeterminate body object",
1794
+ "content": {
1795
+ "application/json": {
1796
+ "schema": {
1797
+ "type": "object"
1798
+ }
1799
+ }
1800
+ }
1801
+ }
1802
+ }
1803
+ },
1804
+ "/restconf/data/network-device-mgr:network-devices/{pathv1}/root/nokia-conf:configure/qos/sap-egress": {
1805
+ "get": {
1806
+ "tags": [
1807
+ "QOSPolicyGetCreateEdit"
1808
+ ],
1809
+ "operationId": "getQOSSAPEgressPolicy",
1810
+ "description": "The parameters and request body are for method: getQOSSAPEgressPolicy. Same endpoint also used in methods:",
1811
+ "responses": {
1812
+ "200": {
1813
+ "description": "Successful operation",
1814
+ "content": {
1815
+ "application/json": {
1816
+ "schema": {
1817
+ "type": "object",
1818
+ "properties": {
1819
+ "nokia-conf:sap-egress": {
1820
+ "type": "array",
1821
+ "items": {
1822
+ "type": "object",
1823
+ "properties": {
1824
+ "sap-egress-policy-name": {
1825
+ "type": "string"
1826
+ },
1827
+ "description": {
1828
+ "type": "string"
1829
+ },
1830
+ "policy-id": {
1831
+ "type": "number"
1832
+ },
1833
+ "fc": {
1834
+ "type": "array",
1835
+ "items": {
1836
+ "type": "object",
1837
+ "properties": {
1838
+ "fc-name": {
1839
+ "type": "string"
1840
+ },
1841
+ "queue": {
1842
+ "type": "number"
1843
+ }
1844
+ }
1845
+ }
1846
+ },
1847
+ "queue": {
1848
+ "type": "array",
1849
+ "items": {
1850
+ "type": "object",
1851
+ "properties": {
1852
+ "queue-id": {
1853
+ "type": "number"
1854
+ },
1855
+ "rate": {
1856
+ "type": "object",
1857
+ "properties": {
1858
+ "pir": {
1859
+ "type": "string"
1860
+ },
1861
+ "cir": {
1862
+ "type": "string"
1863
+ }
1864
+ }
1865
+ },
1866
+ "adaptation-rule": {
1867
+ "type": "object",
1868
+ "properties": {
1869
+ "pir": {
1870
+ "type": "string"
1871
+ },
1872
+ "cir": {
1873
+ "type": "string"
1874
+ }
1875
+ }
1876
+ },
1877
+ "queue-type": {
1878
+ "type": "string"
1879
+ }
1880
+ }
1881
+ }
1882
+ }
1883
+ }
1884
+ }
1885
+ }
1886
+ }
1887
+ },
1888
+ "example": {
1889
+ "nokia-conf:sap-egress": [
1890
+ {
1891
+ "sap-egress-policy-name": "Engress5",
1892
+ "description": "Egress QoS 5",
1893
+ "policy-id": 5,
1894
+ "fc": [
1895
+ {
1896
+ "fc-name": "be",
1897
+ "queue": 1
1898
+ },
1899
+ {
1900
+ "fc-name": "l2",
1901
+ "queue": 2
1902
+ },
1903
+ {
1904
+ "fc-name": "af",
1905
+ "queue": 3
1906
+ },
1907
+ {
1908
+ "fc-name": "l1",
1909
+ "queue": 4
1910
+ },
1911
+ {
1912
+ "fc-name": "h2",
1913
+ "queue": 5
1914
+ },
1915
+ {
1916
+ "fc-name": "ef",
1917
+ "queue": 6
1918
+ },
1919
+ {
1920
+ "fc-name": "h1",
1921
+ "queue": 7
1922
+ },
1923
+ {
1924
+ "fc-name": "nc",
1925
+ "queue": 8
1926
+ }
1927
+ ],
1928
+ "queue": [
1929
+ {
1930
+ "queue-id": 1,
1931
+ "rate": {
1932
+ "pir": "1000",
1933
+ "cir": "100"
1934
+ },
1935
+ "adaptation-rule": {
1936
+ "pir": "max",
1937
+ "cir": "min"
1938
+ },
1939
+ "queue-type": "auto-expedited"
1940
+ },
1941
+ {
1942
+ "queue-id": 2,
1943
+ "rate": {
1944
+ "pir": "1000",
1945
+ "cir": "100"
1946
+ },
1947
+ "adaptation-rule": {
1948
+ "pir": "max",
1949
+ "cir": "min"
1950
+ },
1951
+ "queue-type": "expedited"
1952
+ },
1953
+ {
1954
+ "queue-id": 3,
1955
+ "rate": {
1956
+ "pir": "1000",
1957
+ "cir": "100"
1958
+ },
1959
+ "adaptation-rule": {
1960
+ "pir": "max",
1961
+ "cir": "min"
1962
+ },
1963
+ "queue-type": "expedited"
1964
+ },
1965
+ {
1966
+ "queue-id": 4,
1967
+ "rate": {
1968
+ "pir": "1000",
1969
+ "cir": "100"
1970
+ },
1971
+ "adaptation-rule": {
1972
+ "pir": "max",
1973
+ "cir": "min"
1974
+ },
1975
+ "queue-type": "expedited"
1976
+ },
1977
+ {
1978
+ "queue-id": 5,
1979
+ "rate": {
1980
+ "pir": "1000",
1981
+ "cir": "100"
1982
+ },
1983
+ "adaptation-rule": {
1984
+ "pir": "max",
1985
+ "cir": "min"
1986
+ },
1987
+ "queue-type": "expedited"
1988
+ },
1989
+ {
1990
+ "queue-id": 6,
1991
+ "rate": {
1992
+ "pir": "1000",
1993
+ "cir": "100"
1994
+ },
1995
+ "adaptation-rule": {
1996
+ "pir": "max",
1997
+ "cir": "min"
1998
+ },
1999
+ "queue-type": "expedited"
2000
+ },
2001
+ {
2002
+ "queue-id": 7,
2003
+ "rate": {
2004
+ "pir": "1000",
2005
+ "cir": "100"
2006
+ },
2007
+ "adaptation-rule": {
2008
+ "pir": "max",
2009
+ "cir": "min"
2010
+ },
2011
+ "queue-type": "expedited"
2012
+ },
2013
+ {
2014
+ "queue-id": 8,
2015
+ "rate": {
2016
+ "pir": "1000",
2017
+ "cir": "100"
2018
+ },
2019
+ "adaptation-rule": {
2020
+ "pir": "max",
2021
+ "cir": "min"
2022
+ },
2023
+ "queue-type": "expedited"
2024
+ }
2025
+ ]
2026
+ }
2027
+ ]
2028
+ }
2029
+ }
2030
+ }
2031
+ }
2032
+ },
2033
+ "requestBody": {
2034
+ "content": {
2035
+ "application/json": {
2036
+ "schema": {
2037
+ "type": "object"
2038
+ },
2039
+ "example": {}
2040
+ }
2041
+ }
2042
+ }
2043
+ },
2044
+ "put": {
2045
+ "tags": [
2046
+ "QOSPolicyGetCreateEdit"
2047
+ ],
2048
+ "operationId": "editQOSPolicy",
2049
+ "description": "The parameters and request body are for method: editQOSPolicy. Same endpoint also used in methods:",
2050
+ "responses": {
2051
+ "200": {
2052
+ "description": "Successful operation",
2053
+ "content": {
2054
+ "application/json": {
2055
+ "schema": {
2056
+ "title": "result",
2057
+ "type": "object"
2058
+ }
2059
+ }
2060
+ }
2061
+ }
2062
+ },
2063
+ "requestBody": {
2064
+ "description": "indeterminate body object",
2065
+ "content": {
2066
+ "application/json": {
2067
+ "schema": {
2068
+ "type": "object"
2069
+ }
2070
+ }
2071
+ }
2072
+ }
2073
+ }
2074
+ }
2075
+ },
2076
+ "components": {
2077
+ "schemas": {}
2078
+ }
2079
+ }