@itentialopensource/adapter-nokia_altiplano 0.5.2 → 0.6.1

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 (42) hide show
  1. package/CALLS.md +144 -0
  2. package/CHANGELOG.md +16 -0
  3. package/CONTRIBUTING.md +1 -160
  4. package/ENHANCE.md +2 -2
  5. package/README.md +32 -23
  6. package/adapter.js +157 -329
  7. package/adapterBase.js +549 -879
  8. package/changelogs/changelog.md +72 -0
  9. package/metadata.json +47 -0
  10. package/package.json +24 -25
  11. package/pronghorn.json +981 -642
  12. package/propertiesSchema.json +431 -31
  13. package/refs?service=git-upload-pack +0 -0
  14. package/report/adapter-openapi.json +1546 -0
  15. package/report/adapter-openapi.yaml +1392 -0
  16. package/report/adapterInfo.json +8 -8
  17. package/report/updateReport1691507619656.json +120 -0
  18. package/report/updateReport1692202622632.json +120 -0
  19. package/report/updateReport1694462147618.json +120 -0
  20. package/report/updateReport1698421046815.json +120 -0
  21. package/sampleProperties.json +63 -2
  22. package/test/integration/adapterTestBasicGet.js +2 -4
  23. package/test/integration/adapterTestConnectivity.js +91 -42
  24. package/test/integration/adapterTestIntegration.js +130 -2
  25. package/test/unit/adapterBaseTestUnit.js +388 -313
  26. package/test/unit/adapterTestUnit.js +338 -112
  27. package/utils/adapterInfo.js +1 -1
  28. package/utils/addAuth.js +1 -1
  29. package/utils/artifactize.js +1 -1
  30. package/utils/checkMigrate.js +1 -1
  31. package/utils/entitiesToDB.js +2 -2
  32. package/utils/findPath.js +1 -1
  33. package/utils/methodDocumentor.js +273 -0
  34. package/utils/modify.js +13 -15
  35. package/utils/packModificationScript.js +1 -1
  36. package/utils/pre-commit.sh +2 -0
  37. package/utils/taskMover.js +309 -0
  38. package/utils/tbScript.js +89 -34
  39. package/utils/tbUtils.js +41 -21
  40. package/utils/testRunner.js +1 -1
  41. package/utils/troubleshootingAdapter.js +9 -6
  42. package/workflows/README.md +0 -3
@@ -0,0 +1,1392 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ title: Nokia Altiplano
4
+ contact: {}
5
+ version: '1.0'
6
+ servers:
7
+ - url: http://nokiaaltiplano.com/{base-url}/rest
8
+ variables:
9
+ base-url:
10
+ default: DefaultParameterValue
11
+ paths:
12
+ /auth/login:
13
+ post:
14
+ tags:
15
+ - Intent
16
+ summary: GetAccessToken
17
+ description: Get Access Token and Refresh Token by Login method before executing any other RESTCONF request.
18
+ operationId: GetAccessToken
19
+ parameters: []
20
+ responses:
21
+ '200':
22
+ description: ''
23
+ headers: {}
24
+ content: {}
25
+ deprecated: false
26
+ /restconf/data/ibn:ibn/{intent}/dependents-summary:
27
+ post:
28
+ tags:
29
+ - Intent
30
+ summary: dependentsSummaryForDevice
31
+ description: Dependents-summary for device
32
+ operationId: dependentsSummaryForDevice
33
+ parameters:
34
+ - name: intent
35
+ in: path
36
+ description: the intent
37
+ required: true
38
+ style: simple
39
+ schema:
40
+ type: string
41
+ example: intent=INES-172-31-30-140,device-fx
42
+ responses:
43
+ '200':
44
+ description: ''
45
+ headers: {}
46
+ content: {}
47
+ deprecated: false
48
+ /restconf/operations/ibn:search-intents:
49
+ post:
50
+ tags:
51
+ - Intent
52
+ summary: getuplinkConnectionConfiguration
53
+ description: >-
54
+ This request sample is used to search intents.
55
+
56
+ This request contains all the filter elements, elements which should not be part of search filter should be removed before sending the request.
57
+ operationId: getuplinkConnectionConfiguration
58
+ parameters: []
59
+ requestBody:
60
+ description: ''
61
+ content:
62
+ application/json:
63
+ schema:
64
+ allOf:
65
+ - $ref: '#/components/schemas/Getuplink-connectionconfigurationRequest'
66
+ - example:
67
+ ibn:input:
68
+ filter:
69
+ intent-type-list:
70
+ intent-type: uplink-connection
71
+ target: INES-172-31-30-140
72
+ predicate: MATCHES
73
+ required-network-state: active
74
+ order-by: asc.intent-type
75
+ config-required: 'true'
76
+ page-number: '0'
77
+ page-size: '10'
78
+ example:
79
+ ibn:input:
80
+ filter:
81
+ intent-type-list:
82
+ intent-type: uplink-connection
83
+ target: INES-172-31-30-140
84
+ predicate: MATCHES
85
+ required-network-state: active
86
+ order-by: asc.intent-type
87
+ config-required: 'true'
88
+ page-number: '0'
89
+ page-size: '10'
90
+ required: true
91
+ responses:
92
+ '200':
93
+ description: ''
94
+ headers: {}
95
+ content: {}
96
+ deprecated: false
97
+ /restconf/data/ibn:ibn/{intent},fiber/dependents-summary:
98
+ post:
99
+ tags:
100
+ - Intent
101
+ summary: dependentsSummaryFiber
102
+ description: Dependents summary fiber
103
+ operationId: dependentsSummaryFiber
104
+ parameters:
105
+ - name: intent
106
+ in: path
107
+ description: the intent
108
+ required: true
109
+ style: simple
110
+ schema:
111
+ type: string
112
+ example: intent=INES-1-1-4-3
113
+ responses:
114
+ '200':
115
+ description: ''
116
+ headers: {}
117
+ content: {}
118
+ deprecated: false
119
+ /restconf/data/ibn:ibn:
120
+ post:
121
+ tags:
122
+ - Intent
123
+ summary: createOnt
124
+ description: Create ont
125
+ operationId: createOnt
126
+ parameters: []
127
+ requestBody:
128
+ description: ''
129
+ content:
130
+ application/json:
131
+ schema:
132
+ allOf:
133
+ - $ref: '#/components/schemas/CreateontRequest'
134
+ - example:
135
+ ibn:intent:
136
+ target: INES-1-1-4-3-a
137
+ intent-type: ont
138
+ intent-type-version: '4'
139
+ required-network-state: active
140
+ intent-specific-data:
141
+ ont:ont:
142
+ ont-type: G-010G-Q
143
+ fiber-name: INES-1-1-4-3
144
+ expected-serial-number: ALCLF846403A
145
+ onu-service-profile: default
146
+ uni-service-configuration:
147
+ uni-id: LAN1
148
+ service-profile: default
149
+ example:
150
+ ibn:intent:
151
+ target: INES-1-1-4-3-a
152
+ intent-type: ont
153
+ intent-type-version: '4'
154
+ required-network-state: active
155
+ intent-specific-data:
156
+ ont:ont:
157
+ ont-type: G-010G-Q
158
+ fiber-name: INES-1-1-4-3
159
+ expected-serial-number: ALCLF846403A
160
+ onu-service-profile: default
161
+ uni-service-configuration:
162
+ uni-id: LAN1
163
+ service-profile: default
164
+ required: true
165
+ responses:
166
+ '200':
167
+ description: ''
168
+ headers: {}
169
+ content: {}
170
+ deprecated: false
171
+ /restconf/data/ibn:ibn/{intent},ont:
172
+ get:
173
+ tags:
174
+ - Intent
175
+ summary: getOnt
176
+ description: GET ont
177
+ operationId: getOnt
178
+ parameters:
179
+ - name: intent
180
+ in: path
181
+ description: the intent
182
+ required: true
183
+ style: simple
184
+ schema:
185
+ type: string
186
+ example: intent=INES-1-1-4-3
187
+ responses:
188
+ '200':
189
+ description: ''
190
+ headers: {}
191
+ content: {}
192
+ deprecated: false
193
+ patch:
194
+ tags:
195
+ - Intent
196
+ summary: lockOnt
197
+ description: >-
198
+ This request sample is used to modify intent state.
199
+
200
+ The value of required-network-state can be active or suspend or delete
201
+ operationId: lockOnt
202
+ parameters:
203
+ - name: intent
204
+ in: path
205
+ description: the intent
206
+ required: true
207
+ style: simple
208
+ schema:
209
+ type: string
210
+ example: intent=INES-1-1-4-3
211
+ requestBody:
212
+ description: ''
213
+ content:
214
+ application/json:
215
+ schema:
216
+ allOf:
217
+ - $ref: '#/components/schemas/LockontRequest'
218
+ - example:
219
+ ibn:intent:
220
+ intent-type-version: 4
221
+ required-network-state: suspend
222
+ example:
223
+ ibn:intent:
224
+ intent-type-version: 4
225
+ required-network-state: suspend
226
+ required: true
227
+ responses:
228
+ '200':
229
+ description: ''
230
+ headers: {}
231
+ content: {}
232
+ deprecated: false
233
+ delete:
234
+ tags:
235
+ - Intent
236
+ summary: deleteOnt
237
+ description: This request sample is used to delete an intent.
238
+ operationId: deleteOnt
239
+ parameters:
240
+ - name: intent
241
+ in: path
242
+ description: the intent
243
+ required: true
244
+ style: simple
245
+ schema:
246
+ type: string
247
+ example: intent=INES-1-1-4-3
248
+ responses:
249
+ '200':
250
+ description: ''
251
+ headers: {}
252
+ content: {}
253
+ deprecated: false
254
+ /restconf/data/ibn:ibn/{intent},ont/synchronize:
255
+ post:
256
+ tags:
257
+ - Intent
258
+ summary: synchronizeOnt
259
+ description: Synchronize ont
260
+ operationId: synchronizeOnt
261
+ parameters:
262
+ - name: intent
263
+ in: path
264
+ description: the intent
265
+ required: true
266
+ style: simple
267
+ schema:
268
+ type: string
269
+ example: intent=INES-1-1-4-3
270
+ responses:
271
+ '200':
272
+ description: ''
273
+ headers: {}
274
+ content: {}
275
+ deprecated: false
276
+ /restconf/data/ibn:ibn/{intent},ont/audit:
277
+ post:
278
+ tags:
279
+ - Intent
280
+ summary: auditOnt
281
+ description: Audit ont
282
+ operationId: auditOnt
283
+ parameters:
284
+ - name: intent
285
+ in: path
286
+ description: the intent
287
+ required: true
288
+ style: simple
289
+ schema:
290
+ type: string
291
+ example: intent=INES-1-1-4-3
292
+ responses:
293
+ '200':
294
+ description: ''
295
+ headers: {}
296
+ content: {}
297
+ deprecated: false
298
+ /restconf/data/ibn:ibn/{intent},l2-user/synchronize:
299
+ post:
300
+ tags:
301
+ - Intent
302
+ summary: synchronizel2User
303
+ description: Synchronize l2-user
304
+ operationId: synchronizel2User
305
+ parameters:
306
+ - name: intent
307
+ in: path
308
+ description: the intent
309
+ required: true
310
+ style: simple
311
+ schema:
312
+ type: string
313
+ example: intent=INES-1-1-4-3
314
+ responses:
315
+ '200':
316
+ description: ''
317
+ headers: {}
318
+ content: {}
319
+ deprecated: false
320
+ /restconf/data/ibn:ibn/{intent},l2-user:
321
+ get:
322
+ tags:
323
+ - Intent
324
+ summary: getl2User
325
+ description: GET l2-user
326
+ operationId: getl2User
327
+ parameters:
328
+ - name: intent
329
+ in: path
330
+ description: the intent
331
+ required: true
332
+ style: simple
333
+ schema:
334
+ type: string
335
+ example: intent=INES-1-1-4-3
336
+ responses:
337
+ '200':
338
+ description: ''
339
+ headers: {}
340
+ content: {}
341
+ deprecated: false
342
+ patch:
343
+ tags:
344
+ - Intent
345
+ summary: modifyl2User
346
+ description: >-
347
+ This request sample is used to modify intent state.
348
+
349
+ The value of required-network-state can be active or suspend or delete
350
+ operationId: modifyl2User
351
+ parameters:
352
+ - name: intent
353
+ in: path
354
+ description: the intent
355
+ required: true
356
+ style: simple
357
+ schema:
358
+ type: string
359
+ example: intent=INES-1-1-4-3
360
+ requestBody:
361
+ description: ''
362
+ content:
363
+ application/json:
364
+ schema:
365
+ allOf:
366
+ - $ref: '#/components/schemas/Modifyl2-userRequest'
367
+ - example:
368
+ ibn:intent:
369
+ intent-type: l2-user
370
+ intent-type-version: 4
371
+ intent-specific-data:
372
+ l2-user:l2-user:
373
+ service-profile: HSI-100M-10M-16MAC
374
+ example:
375
+ ibn:intent:
376
+ intent-type: l2-user
377
+ intent-type-version: 4
378
+ intent-specific-data:
379
+ l2-user:l2-user:
380
+ service-profile: HSI-100M-10M-16MAC
381
+ required: true
382
+ responses:
383
+ '200':
384
+ description: ''
385
+ headers: {}
386
+ content: {}
387
+ deprecated: false
388
+ delete:
389
+ tags:
390
+ - Intent
391
+ summary: deletel2User
392
+ description: This request sample is used to delete an intent.
393
+ operationId: deletel2User
394
+ parameters:
395
+ - name: intent
396
+ in: path
397
+ description: the intent
398
+ required: true
399
+ style: simple
400
+ schema:
401
+ type: string
402
+ example: intent=INES-1-1-4-3
403
+ responses:
404
+ '200':
405
+ description: ''
406
+ headers: {}
407
+ content: {}
408
+ deprecated: false
409
+ /restconf/data/ibn:ibn/{intent},l2-user/audit:
410
+ post:
411
+ tags:
412
+ - Intent
413
+ summary: auditl2User
414
+ description: Audit l2-user
415
+ operationId: auditl2User
416
+ parameters:
417
+ - name: intent
418
+ in: path
419
+ description: the intent
420
+ required: true
421
+ style: simple
422
+ schema:
423
+ type: string
424
+ example: intent=INES-1-1-4-3
425
+ responses:
426
+ '200':
427
+ description: ''
428
+ headers: {}
429
+ content: {}
430
+ deprecated: false
431
+ components:
432
+ schemas:
433
+ Getuplink-connectionconfigurationRequest:
434
+ title: Getuplink-connectionconfigurationRequest
435
+ required:
436
+ - ibn:input
437
+ type: object
438
+ properties:
439
+ ibn:input:
440
+ allOf:
441
+ - $ref: '#/components/schemas/IbnInput'
442
+ - example:
443
+ filter:
444
+ intent-type-list:
445
+ intent-type: uplink-connection
446
+ target: INES-172-31-30-140
447
+ predicate: MATCHES
448
+ required-network-state: active
449
+ order-by: asc.intent-type
450
+ config-required: 'true'
451
+ page-number: '0'
452
+ page-size: '10'
453
+ example:
454
+ ibn:input:
455
+ filter:
456
+ intent-type-list:
457
+ intent-type: uplink-connection
458
+ target: INES-172-31-30-140
459
+ predicate: MATCHES
460
+ required-network-state: active
461
+ order-by: asc.intent-type
462
+ config-required: 'true'
463
+ page-number: '0'
464
+ page-size: '10'
465
+ IbnInput:
466
+ title: IbnInput
467
+ required:
468
+ - filter
469
+ - page-number
470
+ - page-size
471
+ type: object
472
+ properties:
473
+ filter:
474
+ allOf:
475
+ - $ref: '#/components/schemas/Filter'
476
+ - example:
477
+ intent-type-list:
478
+ intent-type: uplink-connection
479
+ target: INES-172-31-30-140
480
+ predicate: MATCHES
481
+ required-network-state: active
482
+ order-by: asc.intent-type
483
+ config-required: 'true'
484
+ page-number:
485
+ type: string
486
+ page-size:
487
+ type: string
488
+ example:
489
+ filter:
490
+ intent-type-list:
491
+ intent-type: uplink-connection
492
+ target: INES-172-31-30-140
493
+ predicate: MATCHES
494
+ required-network-state: active
495
+ order-by: asc.intent-type
496
+ config-required: 'true'
497
+ page-number: '0'
498
+ page-size: '10'
499
+ Filter:
500
+ title: Filter
501
+ required:
502
+ - intent-type-list
503
+ - target
504
+ - predicate
505
+ - required-network-state
506
+ - order-by
507
+ - config-required
508
+ type: object
509
+ properties:
510
+ intent-type-list:
511
+ allOf:
512
+ - $ref: '#/components/schemas/IntentTypeList'
513
+ - example:
514
+ intent-type: uplink-connection
515
+ target:
516
+ type: string
517
+ predicate:
518
+ type: string
519
+ required-network-state:
520
+ type: string
521
+ order-by:
522
+ type: string
523
+ config-required:
524
+ type: string
525
+ example:
526
+ intent-type-list:
527
+ intent-type: uplink-connection
528
+ target: INES-172-31-30-140
529
+ predicate: MATCHES
530
+ required-network-state: active
531
+ order-by: asc.intent-type
532
+ config-required: 'true'
533
+ IntentTypeList:
534
+ title: IntentTypeList
535
+ required:
536
+ - intent-type
537
+ type: object
538
+ properties:
539
+ intent-type:
540
+ type: string
541
+ example:
542
+ intent-type: uplink-connection
543
+ Getl2-infraconfigurationRequest:
544
+ title: Getl2-infraconfigurationRequest
545
+ required:
546
+ - ibn:input
547
+ type: object
548
+ properties:
549
+ ibn:input:
550
+ allOf:
551
+ - $ref: '#/components/schemas/IbnInput'
552
+ - example:
553
+ filter:
554
+ intent-type-list:
555
+ intent-type: uplink-connection
556
+ target: INES-172-31-30-140
557
+ predicate: MATCHES
558
+ required-network-state: active
559
+ order-by: asc.intent-type
560
+ config-required: 'true'
561
+ page-number: '0'
562
+ page-size: '10'
563
+ example:
564
+ ibn:input:
565
+ filter:
566
+ intent-type-list:
567
+ intent-type: l2-infra
568
+ target: INES-172-31-30-140#HSI_Bronze
569
+ predicate: MATCHES
570
+ required-network-state: active
571
+ order-by: asc.intent-type
572
+ config-required: 'true'
573
+ page-number: '0'
574
+ page-size: '10'
575
+ GetfiberconfigurationonefiberinstanceRequest:
576
+ title: GetfiberconfigurationonefiberinstanceRequest
577
+ required:
578
+ - ibn:input
579
+ type: object
580
+ properties:
581
+ ibn:input:
582
+ allOf:
583
+ - $ref: '#/components/schemas/IbnInput'
584
+ - example:
585
+ filter:
586
+ intent-type-list:
587
+ intent-type: uplink-connection
588
+ target: INES-172-31-30-140
589
+ predicate: MATCHES
590
+ required-network-state: active
591
+ order-by: asc.intent-type
592
+ config-required: 'true'
593
+ page-number: '0'
594
+ page-size: '10'
595
+ example:
596
+ ibn:input:
597
+ filter:
598
+ intent-type-list:
599
+ intent-type: fiber
600
+ target: INES-1-1-4-3
601
+ predicate: MATCHES
602
+ required-network-state: active
603
+ order-by: asc.intent-type
604
+ config-required: 'true'
605
+ page-number: '0'
606
+ page-size: '10'
607
+ GetfiberconfigurationallfiberinstancesRequest:
608
+ title: GetfiberconfigurationallfiberinstancesRequest
609
+ required:
610
+ - ibn:input
611
+ type: object
612
+ properties:
613
+ ibn:input:
614
+ allOf:
615
+ - $ref: '#/components/schemas/IbnInput3'
616
+ - example:
617
+ filter:
618
+ intent-type-list:
619
+ intent-type: fiber
620
+ page-number: '0'
621
+ page-size: '10'
622
+ example:
623
+ ibn:input:
624
+ filter:
625
+ intent-type-list:
626
+ intent-type: fiber
627
+ page-number: '0'
628
+ page-size: '10'
629
+ IbnInput3:
630
+ title: IbnInput3
631
+ required:
632
+ - filter
633
+ - page-number
634
+ - page-size
635
+ type: object
636
+ properties:
637
+ filter:
638
+ allOf:
639
+ - $ref: '#/components/schemas/Filter3'
640
+ - example:
641
+ intent-type-list:
642
+ intent-type: fiber
643
+ page-number:
644
+ type: string
645
+ page-size:
646
+ type: string
647
+ example:
648
+ filter:
649
+ intent-type-list:
650
+ intent-type: fiber
651
+ page-number: '0'
652
+ page-size: '10'
653
+ Filter3:
654
+ title: Filter3
655
+ required:
656
+ - intent-type-list
657
+ type: object
658
+ properties:
659
+ intent-type-list:
660
+ allOf:
661
+ - $ref: '#/components/schemas/IntentTypeList'
662
+ - example:
663
+ intent-type: uplink-connection
664
+ example:
665
+ intent-type-list:
666
+ intent-type: fiber
667
+ CreateontRequest:
668
+ title: CreateontRequest
669
+ required:
670
+ - ibn:intent
671
+ type: object
672
+ properties:
673
+ ibn:intent:
674
+ allOf:
675
+ - $ref: '#/components/schemas/IbnIntent'
676
+ - example:
677
+ target: INES-1-1-4-3-a
678
+ intent-type: ont
679
+ intent-type-version: '4'
680
+ required-network-state: active
681
+ intent-specific-data:
682
+ ont:ont:
683
+ ont-type: G-010G-Q
684
+ fiber-name: INES-1-1-4-3
685
+ expected-serial-number: ALCLF846403A
686
+ onu-service-profile: default
687
+ uni-service-configuration:
688
+ uni-id: LAN1
689
+ service-profile: default
690
+ example:
691
+ ibn:intent:
692
+ target: INES-1-1-4-3-a
693
+ intent-type: ont
694
+ intent-type-version: '4'
695
+ required-network-state: active
696
+ intent-specific-data:
697
+ ont:ont:
698
+ ont-type: G-010G-Q
699
+ fiber-name: INES-1-1-4-3
700
+ expected-serial-number: ALCLF846403A
701
+ onu-service-profile: default
702
+ uni-service-configuration:
703
+ uni-id: LAN1
704
+ service-profile: default
705
+ IbnIntent:
706
+ title: IbnIntent
707
+ required:
708
+ - target
709
+ - intent-type
710
+ - intent-type-version
711
+ - required-network-state
712
+ - intent-specific-data
713
+ type: object
714
+ properties:
715
+ target:
716
+ type: string
717
+ intent-type:
718
+ type: string
719
+ intent-type-version:
720
+ type: string
721
+ required-network-state:
722
+ type: string
723
+ intent-specific-data:
724
+ allOf:
725
+ - $ref: '#/components/schemas/IntentSpecificData'
726
+ - example:
727
+ ont:ont:
728
+ ont-type: G-010G-Q
729
+ fiber-name: INES-1-1-4-3
730
+ expected-serial-number: ALCLF846403A
731
+ onu-service-profile: default
732
+ uni-service-configuration:
733
+ uni-id: LAN1
734
+ service-profile: default
735
+ example:
736
+ target: INES-1-1-4-3-a
737
+ intent-type: ont
738
+ intent-type-version: '4'
739
+ required-network-state: active
740
+ intent-specific-data:
741
+ ont:ont:
742
+ ont-type: G-010G-Q
743
+ fiber-name: INES-1-1-4-3
744
+ expected-serial-number: ALCLF846403A
745
+ onu-service-profile: default
746
+ uni-service-configuration:
747
+ uni-id: LAN1
748
+ service-profile: default
749
+ IntentSpecificData:
750
+ title: IntentSpecificData
751
+ required:
752
+ - ont:ont
753
+ type: object
754
+ properties:
755
+ ont:ont:
756
+ allOf:
757
+ - $ref: '#/components/schemas/OntOnt'
758
+ - example:
759
+ ont-type: G-010G-Q
760
+ fiber-name: INES-1-1-4-3
761
+ expected-serial-number: ALCLF846403A
762
+ onu-service-profile: default
763
+ uni-service-configuration:
764
+ uni-id: LAN1
765
+ service-profile: default
766
+ example:
767
+ ont:ont:
768
+ ont-type: G-010G-Q
769
+ fiber-name: INES-1-1-4-3
770
+ expected-serial-number: ALCLF846403A
771
+ onu-service-profile: default
772
+ uni-service-configuration:
773
+ uni-id: LAN1
774
+ service-profile: default
775
+ OntOnt:
776
+ title: OntOnt
777
+ required:
778
+ - ont-type
779
+ - fiber-name
780
+ - expected-serial-number
781
+ - onu-service-profile
782
+ - uni-service-configuration
783
+ type: object
784
+ properties:
785
+ ont-type:
786
+ type: string
787
+ fiber-name:
788
+ type: string
789
+ expected-serial-number:
790
+ type: string
791
+ onu-service-profile:
792
+ type: string
793
+ uni-service-configuration:
794
+ allOf:
795
+ - $ref: '#/components/schemas/UniServiceConfiguration'
796
+ - example:
797
+ uni-id: LAN1
798
+ service-profile: default
799
+ example:
800
+ ont-type: G-010G-Q
801
+ fiber-name: INES-1-1-4-3
802
+ expected-serial-number: ALCLF846403A
803
+ onu-service-profile: default
804
+ uni-service-configuration:
805
+ uni-id: LAN1
806
+ service-profile: default
807
+ UniServiceConfiguration:
808
+ title: UniServiceConfiguration
809
+ required:
810
+ - uni-id
811
+ - service-profile
812
+ type: object
813
+ properties:
814
+ uni-id:
815
+ type: string
816
+ service-profile:
817
+ type: string
818
+ example:
819
+ uni-id: LAN1
820
+ service-profile: default
821
+ GetontconfigurationRequest:
822
+ title: GetontconfigurationRequest
823
+ required:
824
+ - ibn:input
825
+ type: object
826
+ properties:
827
+ ibn:input:
828
+ allOf:
829
+ - $ref: '#/components/schemas/IbnInput4'
830
+ - example:
831
+ filter:
832
+ intent-type-list:
833
+ intent-type: ont
834
+ target: INES-1-1-4-3-a
835
+ predicate: MATCHES
836
+ order-by: asc.intent-type
837
+ config-required: 'true'
838
+ page-number: '0'
839
+ page-size: '10'
840
+ example:
841
+ ibn:input:
842
+ filter:
843
+ intent-type-list:
844
+ intent-type: ont
845
+ target: INES-1-1-4-3-a
846
+ predicate: MATCHES
847
+ order-by: asc.intent-type
848
+ config-required: 'true'
849
+ page-number: '0'
850
+ page-size: '10'
851
+ IbnInput4:
852
+ title: IbnInput4
853
+ required:
854
+ - filter
855
+ - page-number
856
+ - page-size
857
+ type: object
858
+ properties:
859
+ filter:
860
+ allOf:
861
+ - $ref: '#/components/schemas/Filter4'
862
+ - example:
863
+ intent-type-list:
864
+ intent-type: ont
865
+ target: INES-1-1-4-3-a
866
+ predicate: MATCHES
867
+ order-by: asc.intent-type
868
+ config-required: 'true'
869
+ page-number:
870
+ type: string
871
+ page-size:
872
+ type: string
873
+ example:
874
+ filter:
875
+ intent-type-list:
876
+ intent-type: ont
877
+ target: INES-1-1-4-3-a
878
+ predicate: MATCHES
879
+ order-by: asc.intent-type
880
+ config-required: 'true'
881
+ page-number: '0'
882
+ page-size: '10'
883
+ Filter4:
884
+ title: Filter4
885
+ required:
886
+ - intent-type-list
887
+ - target
888
+ - predicate
889
+ - order-by
890
+ - config-required
891
+ type: object
892
+ properties:
893
+ intent-type-list:
894
+ allOf:
895
+ - $ref: '#/components/schemas/IntentTypeList'
896
+ - example:
897
+ intent-type: uplink-connection
898
+ target:
899
+ type: string
900
+ predicate:
901
+ type: string
902
+ order-by:
903
+ type: string
904
+ config-required:
905
+ type: string
906
+ example:
907
+ intent-type-list:
908
+ intent-type: ont
909
+ target: INES-1-1-4-3-a
910
+ predicate: MATCHES
911
+ order-by: asc.intent-type
912
+ config-required: 'true'
913
+ GetallontsthatcontainstringRequest:
914
+ title: GetallontsthatcontainstringRequest
915
+ required:
916
+ - ibn:input
917
+ type: object
918
+ properties:
919
+ ibn:input:
920
+ allOf:
921
+ - $ref: '#/components/schemas/IbnInput'
922
+ - example:
923
+ filter:
924
+ intent-type-list:
925
+ intent-type: uplink-connection
926
+ target: INES-172-31-30-140
927
+ predicate: MATCHES
928
+ required-network-state: active
929
+ order-by: asc.intent-type
930
+ config-required: 'true'
931
+ page-number: '0'
932
+ page-size: '10'
933
+ example:
934
+ ibn:input:
935
+ filter:
936
+ intent-type-list:
937
+ intent-type: ont
938
+ target: INES-1-1-4-3
939
+ predicate: CONTAINS
940
+ required-network-state: active
941
+ order-by: asc.intent-type
942
+ config-required: 'true'
943
+ page-number: '0'
944
+ page-size: '10'
945
+ SearchESforanontRequest:
946
+ title: SearchESforanontRequest
947
+ required:
948
+ - ibn:input
949
+ type: object
950
+ properties:
951
+ ibn:input:
952
+ allOf:
953
+ - $ref: '#/components/schemas/IbnInput6'
954
+ - example:
955
+ search-from: ES
956
+ filter:
957
+ intent-type-list:
958
+ intent-type: ont
959
+ intent-type-version: '4'
960
+ target: INES-1-1-4-3-a
961
+ predicate: MATCHES
962
+ required-network-state: active
963
+ order-by: asc.intent-type
964
+ config-required: 'true'
965
+ page-number: '0'
966
+ page-size: '10'
967
+ example:
968
+ ibn:input:
969
+ search-from: ES
970
+ filter:
971
+ intent-type-list:
972
+ intent-type: ont
973
+ intent-type-version: '4'
974
+ target: INES-1-1-4-3-a
975
+ predicate: MATCHES
976
+ required-network-state: active
977
+ order-by: asc.intent-type
978
+ config-required: 'true'
979
+ page-number: '0'
980
+ page-size: '10'
981
+ IbnInput6:
982
+ title: IbnInput6
983
+ required:
984
+ - search-from
985
+ - filter
986
+ - page-number
987
+ - page-size
988
+ type: object
989
+ properties:
990
+ search-from:
991
+ type: string
992
+ filter:
993
+ allOf:
994
+ - $ref: '#/components/schemas/Filter6'
995
+ - example:
996
+ intent-type-list:
997
+ intent-type: ont
998
+ intent-type-version: '4'
999
+ target: INES-1-1-4-3-a
1000
+ predicate: MATCHES
1001
+ required-network-state: active
1002
+ order-by: asc.intent-type
1003
+ config-required: 'true'
1004
+ page-number:
1005
+ type: string
1006
+ page-size:
1007
+ type: string
1008
+ example:
1009
+ search-from: ES
1010
+ filter:
1011
+ intent-type-list:
1012
+ intent-type: ont
1013
+ intent-type-version: '4'
1014
+ target: INES-1-1-4-3-a
1015
+ predicate: MATCHES
1016
+ required-network-state: active
1017
+ order-by: asc.intent-type
1018
+ config-required: 'true'
1019
+ page-number: '0'
1020
+ page-size: '10'
1021
+ Filter6:
1022
+ title: Filter6
1023
+ required:
1024
+ - intent-type-list
1025
+ - target
1026
+ - predicate
1027
+ - required-network-state
1028
+ - order-by
1029
+ - config-required
1030
+ type: object
1031
+ properties:
1032
+ intent-type-list:
1033
+ allOf:
1034
+ - $ref: '#/components/schemas/IntentTypeList6'
1035
+ - example:
1036
+ intent-type: ont
1037
+ intent-type-version: '4'
1038
+ target:
1039
+ type: string
1040
+ predicate:
1041
+ type: string
1042
+ required-network-state:
1043
+ type: string
1044
+ order-by:
1045
+ type: string
1046
+ config-required:
1047
+ type: string
1048
+ example:
1049
+ intent-type-list:
1050
+ intent-type: ont
1051
+ intent-type-version: '4'
1052
+ target: INES-1-1-4-3-a
1053
+ predicate: MATCHES
1054
+ required-network-state: active
1055
+ order-by: asc.intent-type
1056
+ config-required: 'true'
1057
+ IntentTypeList6:
1058
+ title: IntentTypeList6
1059
+ required:
1060
+ - intent-type
1061
+ - intent-type-version
1062
+ type: object
1063
+ properties:
1064
+ intent-type:
1065
+ type: string
1066
+ intent-type-version:
1067
+ type: string
1068
+ example:
1069
+ intent-type: ont
1070
+ intent-type-version: '4'
1071
+ Createl2-userRequest:
1072
+ title: Createl2-userRequest
1073
+ required:
1074
+ - ibn:intent
1075
+ type: object
1076
+ properties:
1077
+ ibn:intent:
1078
+ allOf:
1079
+ - $ref: '#/components/schemas/IbnIntent1'
1080
+ - example:
1081
+ target: HSI_Bronze#INES-1-1-4-3-a
1082
+ intent-type: l2-user
1083
+ intent-type-version: '4'
1084
+ required-network-state: active
1085
+ intent-specific-data:
1086
+ l2-user:l2-user:
1087
+ service-profile: HSI-100M-10M
1088
+ user-device-name: INES-1-1-4-3-a
1089
+ q-vlan-id: '30'
1090
+ uni-id: LAN1
1091
+ example:
1092
+ ibn:intent:
1093
+ target: HSI_Bronze#INES-1-1-4-3-a
1094
+ intent-type: l2-user
1095
+ intent-type-version: '4'
1096
+ required-network-state: active
1097
+ intent-specific-data:
1098
+ l2-user:l2-user:
1099
+ service-profile: HSI-100M-10M
1100
+ user-device-name: INES-1-1-4-3-a
1101
+ q-vlan-id: '30'
1102
+ uni-id: LAN1
1103
+ IbnIntent1:
1104
+ title: IbnIntent1
1105
+ required:
1106
+ - target
1107
+ - intent-type
1108
+ - intent-type-version
1109
+ - required-network-state
1110
+ - intent-specific-data
1111
+ type: object
1112
+ properties:
1113
+ target:
1114
+ type: string
1115
+ intent-type:
1116
+ type: string
1117
+ intent-type-version:
1118
+ type: string
1119
+ required-network-state:
1120
+ type: string
1121
+ intent-specific-data:
1122
+ allOf:
1123
+ - $ref: '#/components/schemas/IntentSpecificData1'
1124
+ - example:
1125
+ l2-user:l2-user:
1126
+ service-profile: HSI-100M-10M
1127
+ user-device-name: INES-1-1-4-3-a
1128
+ q-vlan-id: '30'
1129
+ uni-id: LAN1
1130
+ example:
1131
+ target: HSI_Bronze#INES-1-1-4-3-a
1132
+ intent-type: l2-user
1133
+ intent-type-version: '4'
1134
+ required-network-state: active
1135
+ intent-specific-data:
1136
+ l2-user:l2-user:
1137
+ service-profile: HSI-100M-10M
1138
+ user-device-name: INES-1-1-4-3-a
1139
+ q-vlan-id: '30'
1140
+ uni-id: LAN1
1141
+ IntentSpecificData1:
1142
+ title: IntentSpecificData1
1143
+ required:
1144
+ - l2-user:l2-user
1145
+ type: object
1146
+ properties:
1147
+ l2-user:l2-user:
1148
+ allOf:
1149
+ - $ref: '#/components/schemas/L2UserL2User'
1150
+ - example:
1151
+ service-profile: HSI-100M-10M
1152
+ user-device-name: INES-1-1-4-3-a
1153
+ q-vlan-id: '30'
1154
+ uni-id: LAN1
1155
+ example:
1156
+ l2-user:l2-user:
1157
+ service-profile: HSI-100M-10M
1158
+ user-device-name: INES-1-1-4-3-a
1159
+ q-vlan-id: '30'
1160
+ uni-id: LAN1
1161
+ L2UserL2User:
1162
+ title: L2UserL2User
1163
+ required:
1164
+ - service-profile
1165
+ - user-device-name
1166
+ - q-vlan-id
1167
+ - uni-id
1168
+ type: object
1169
+ properties:
1170
+ service-profile:
1171
+ type: string
1172
+ user-device-name:
1173
+ type: string
1174
+ q-vlan-id:
1175
+ type: string
1176
+ uni-id:
1177
+ type: string
1178
+ example:
1179
+ service-profile: HSI-100M-10M
1180
+ user-device-name: INES-1-1-4-3-a
1181
+ q-vlan-id: '30'
1182
+ uni-id: LAN1
1183
+ Getl2-userconfigurationRequest:
1184
+ title: Getl2-userconfigurationRequest
1185
+ required:
1186
+ - ibn:input
1187
+ type: object
1188
+ properties:
1189
+ ibn:input:
1190
+ allOf:
1191
+ - $ref: '#/components/schemas/IbnInput'
1192
+ - example:
1193
+ filter:
1194
+ intent-type-list:
1195
+ intent-type: uplink-connection
1196
+ target: INES-172-31-30-140
1197
+ predicate: MATCHES
1198
+ required-network-state: active
1199
+ order-by: asc.intent-type
1200
+ config-required: 'true'
1201
+ page-number: '0'
1202
+ page-size: '10'
1203
+ example:
1204
+ ibn:input:
1205
+ filter:
1206
+ intent-type-list:
1207
+ intent-type: l2-user
1208
+ target: HSI_Bronze#INES-1-1-4-3-a
1209
+ predicate: MATCHES
1210
+ required-network-state: active
1211
+ order-by: asc.intent-type
1212
+ config-required: 'true'
1213
+ page-number: '0'
1214
+ page-size: '10'
1215
+ SearchformisalignedintentsRequest:
1216
+ title: SearchformisalignedintentsRequest
1217
+ required:
1218
+ - ibn:input
1219
+ type: object
1220
+ properties:
1221
+ ibn:input:
1222
+ allOf:
1223
+ - $ref: '#/components/schemas/IbnInput8'
1224
+ - example:
1225
+ filter:
1226
+ aligned: 'false'
1227
+ page-number: '0'
1228
+ page-size: '10'
1229
+ example:
1230
+ ibn:input:
1231
+ filter:
1232
+ aligned: 'false'
1233
+ page-number: '0'
1234
+ page-size: '10'
1235
+ IbnInput8:
1236
+ title: IbnInput8
1237
+ required:
1238
+ - filter
1239
+ - page-number
1240
+ - page-size
1241
+ type: object
1242
+ properties:
1243
+ filter:
1244
+ allOf:
1245
+ - $ref: '#/components/schemas/Filter8'
1246
+ - example:
1247
+ aligned: 'false'
1248
+ page-number:
1249
+ type: string
1250
+ page-size:
1251
+ type: string
1252
+ example:
1253
+ filter:
1254
+ aligned: 'false'
1255
+ page-number: '0'
1256
+ page-size: '10'
1257
+ Filter8:
1258
+ title: Filter8
1259
+ required:
1260
+ - aligned
1261
+ type: object
1262
+ properties:
1263
+ aligned:
1264
+ type: string
1265
+ example:
1266
+ aligned: 'false'
1267
+ Modifyl2-userRequest:
1268
+ title: Modifyl2-userRequest
1269
+ required:
1270
+ - ibn:intent
1271
+ type: object
1272
+ properties:
1273
+ ibn:intent:
1274
+ allOf:
1275
+ - $ref: '#/components/schemas/IbnIntent2'
1276
+ - example:
1277
+ intent-type: l2-user
1278
+ intent-type-version: 4
1279
+ intent-specific-data:
1280
+ l2-user:l2-user:
1281
+ service-profile: HSI-100M-10M-16MAC
1282
+ example:
1283
+ ibn:intent:
1284
+ intent-type: l2-user
1285
+ intent-type-version: 4
1286
+ intent-specific-data:
1287
+ l2-user:l2-user:
1288
+ service-profile: HSI-100M-10M-16MAC
1289
+ IbnIntent2:
1290
+ title: IbnIntent2
1291
+ required:
1292
+ - intent-type
1293
+ - intent-type-version
1294
+ - intent-specific-data
1295
+ type: object
1296
+ properties:
1297
+ intent-type:
1298
+ type: string
1299
+ intent-type-version:
1300
+ type: integer
1301
+ format: int32
1302
+ intent-specific-data:
1303
+ allOf:
1304
+ - $ref: '#/components/schemas/IntentSpecificData2'
1305
+ - example:
1306
+ l2-user:l2-user:
1307
+ service-profile: HSI-100M-10M-16MAC
1308
+ example:
1309
+ intent-type: l2-user
1310
+ intent-type-version: 4
1311
+ intent-specific-data:
1312
+ l2-user:l2-user:
1313
+ service-profile: HSI-100M-10M-16MAC
1314
+ IntentSpecificData2:
1315
+ title: IntentSpecificData2
1316
+ required:
1317
+ - l2-user:l2-user
1318
+ type: object
1319
+ properties:
1320
+ l2-user:l2-user:
1321
+ allOf:
1322
+ - $ref: '#/components/schemas/L2UserL2User1'
1323
+ - example:
1324
+ service-profile: HSI-100M-10M-16MAC
1325
+ example:
1326
+ l2-user:l2-user:
1327
+ service-profile: HSI-100M-10M-16MAC
1328
+ L2UserL2User1:
1329
+ title: L2UserL2User1
1330
+ required:
1331
+ - service-profile
1332
+ type: object
1333
+ properties:
1334
+ service-profile:
1335
+ type: string
1336
+ example:
1337
+ service-profile: HSI-100M-10M-16MAC
1338
+ LockontRequest:
1339
+ title: LockontRequest
1340
+ required:
1341
+ - ibn:intent
1342
+ type: object
1343
+ properties:
1344
+ ibn:intent:
1345
+ allOf:
1346
+ - $ref: '#/components/schemas/IbnIntent3'
1347
+ - example:
1348
+ intent-type-version: 4
1349
+ required-network-state: suspend
1350
+ example:
1351
+ ibn:intent:
1352
+ intent-type-version: 4
1353
+ required-network-state: suspend
1354
+ IbnIntent3:
1355
+ title: IbnIntent3
1356
+ required:
1357
+ - intent-type-version
1358
+ - required-network-state
1359
+ type: object
1360
+ properties:
1361
+ intent-type-version:
1362
+ type: integer
1363
+ format: int32
1364
+ required-network-state:
1365
+ type: string
1366
+ example:
1367
+ intent-type-version: 4
1368
+ required-network-state: suspend
1369
+ UnlockontRequest:
1370
+ title: UnlockontRequest
1371
+ required:
1372
+ - ibn:intent
1373
+ type: object
1374
+ properties:
1375
+ ibn:intent:
1376
+ allOf:
1377
+ - $ref: '#/components/schemas/IbnIntent3'
1378
+ - example:
1379
+ intent-type-version: 4
1380
+ required-network-state: suspend
1381
+ example:
1382
+ ibn:intent:
1383
+ intent-type-version: 4
1384
+ required-network-state: active
1385
+ securitySchemes:
1386
+ httpBasic:
1387
+ type: http
1388
+ scheme: basic
1389
+ security:
1390
+ - httpBasic: []
1391
+ tags:
1392
+ - name: Intent