@itentialopensource/adapter-drivenets_networkorchestrator 0.1.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 (72) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +39 -0
  5. package/BROKER.md +199 -0
  6. package/CALLS.md +314 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +172 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +641 -0
  13. package/README.md +337 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +11 -0
  16. package/TROUBLESHOOT.md +47 -0
  17. package/adapter.js +2778 -0
  18. package/adapterBase.js +1787 -0
  19. package/entities/.generic/action.json +214 -0
  20. package/entities/.generic/schema.json +28 -0
  21. package/entities/.system/action.json +50 -0
  22. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  23. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  24. package/entities/.system/schema.json +19 -0
  25. package/entities/.system/schemaTokenReq.json +53 -0
  26. package/entities/.system/schemaTokenResp.json +53 -0
  27. package/entities/MonitoringFaultManagementActiveAlarms/action.json +25 -0
  28. package/entities/MonitoringFaultManagementActiveAlarms/schema.json +19 -0
  29. package/entities/MonitoringFaultManagementAlarms/action.json +46 -0
  30. package/entities/MonitoringFaultManagementAlarms/schema.json +31 -0
  31. package/entities/NCEGroupManagement/action.json +85 -0
  32. package/entities/NCEGroupManagement/schema.json +33 -0
  33. package/entities/NCEManagement/action.json +144 -0
  34. package/entities/NCEManagement/schema.json +36 -0
  35. package/entities/Redundancy/action.json +64 -0
  36. package/entities/Redundancy/schema.json +21 -0
  37. package/entities/TaskManagement/action.json +146 -0
  38. package/entities/TaskManagement/schema.json +47 -0
  39. package/error.json +190 -0
  40. package/package.json +88 -0
  41. package/pronghorn.json +1598 -0
  42. package/propertiesDecorators.json +14 -0
  43. package/propertiesSchema.json +1248 -0
  44. package/refs?service=git-upload-pack +0 -0
  45. package/report/adapterInfo.json +10 -0
  46. package/report/creationReport.json +405 -0
  47. package/report/openapi_dnor.json +1634 -0
  48. package/sampleProperties.json +195 -0
  49. package/test/integration/adapterTestBasicGet.js +83 -0
  50. package/test/integration/adapterTestConnectivity.js +93 -0
  51. package/test/integration/adapterTestIntegration.js +963 -0
  52. package/test/unit/adapterBaseTestUnit.js +949 -0
  53. package/test/unit/adapterTestUnit.js +1888 -0
  54. package/utils/adapterInfo.js +206 -0
  55. package/utils/addAuth.js +94 -0
  56. package/utils/artifactize.js +146 -0
  57. package/utils/basicGet.js +50 -0
  58. package/utils/checkMigrate.js +63 -0
  59. package/utils/entitiesToDB.js +178 -0
  60. package/utils/findPath.js +74 -0
  61. package/utils/methodDocumentor.js +225 -0
  62. package/utils/modify.js +154 -0
  63. package/utils/packModificationScript.js +35 -0
  64. package/utils/patches2bundledDeps.js +90 -0
  65. package/utils/pre-commit.sh +32 -0
  66. package/utils/removeHooks.js +20 -0
  67. package/utils/setup.js +33 -0
  68. package/utils/tbScript.js +246 -0
  69. package/utils/tbUtils.js +490 -0
  70. package/utils/testRunner.js +298 -0
  71. package/utils/troubleshootingAdapter.js +195 -0
  72. package/workflows/README.md +3 -0
package/pronghorn.json ADDED
@@ -0,0 +1,1598 @@
1
+ {
2
+ "id": "@itentialopensource/adapter-drivenets_networkorchestrator",
3
+ "type": "Adapter",
4
+ "export": "DriveNetsNetworkOrchestrator",
5
+ "title": "DriveNetsNetworkOrchestrator",
6
+ "src": "adapter.js",
7
+ "roles": [
8
+ "admin"
9
+ ],
10
+ "methods": [
11
+ {
12
+ "name": "iapUpdateAdapterConfiguration",
13
+ "summary": "Updates the adapter configuration",
14
+ "description": "Updates the adapter configuration file with the provided changes",
15
+ "input": [
16
+ {
17
+ "name": "configFile",
18
+ "type": "string",
19
+ "info": "The name of the file to change",
20
+ "required": true,
21
+ "schema": {
22
+ "title": "configFile",
23
+ "type": "string"
24
+ }
25
+ },
26
+ {
27
+ "name": "changes",
28
+ "type": "object",
29
+ "info": "JSON object containing the configuration changes",
30
+ "required": true,
31
+ "schema": {
32
+ "title": "changes",
33
+ "type": "object"
34
+ }
35
+ },
36
+ {
37
+ "name": "entity",
38
+ "type": "string",
39
+ "info": "The entity in which the changes are being made",
40
+ "required": false,
41
+ "schema": {
42
+ "title": "entity",
43
+ "type": "string"
44
+ }
45
+ },
46
+ {
47
+ "name": "type",
48
+ "type": "string",
49
+ "info": "The type of file to change - action, schema, or mock",
50
+ "required": false,
51
+ "schema": {
52
+ "title": "type",
53
+ "type": "string"
54
+ }
55
+ },
56
+ {
57
+ "name": "action",
58
+ "type": "string",
59
+ "info": "The action to be changed",
60
+ "required": false,
61
+ "schema": {
62
+ "title": "action",
63
+ "type": "string"
64
+ }
65
+ }
66
+ ],
67
+ "output": {
68
+ "name": "result",
69
+ "type": "object",
70
+ "description": "A JSON Object containing status, code and the result",
71
+ "schema": {
72
+ "title": "result",
73
+ "type": "object"
74
+ }
75
+ },
76
+ "roles": [
77
+ "admin"
78
+ ],
79
+ "route": {
80
+ "verb": "POST",
81
+ "path": "/iapUpdateAdapterConfiguration"
82
+ },
83
+ "task": true
84
+ },
85
+ {
86
+ "name": "iapFindAdapterPath",
87
+ "summary": "Provides the ability to see if a particular API path is supported by the adapter",
88
+ "description": "Provides the ability to see if a particular API path is supported by the adapter",
89
+ "input": [
90
+ {
91
+ "name": "apiPath",
92
+ "type": "string",
93
+ "info": "The API Path you want to check - make sure to not include base path and version",
94
+ "description": "The API Path you want to check - make sure to not include base path and version",
95
+ "schema": {
96
+ "title": "apiPath",
97
+ "type": "string"
98
+ },
99
+ "required": true
100
+ }
101
+ ],
102
+ "output": {
103
+ "name": "result",
104
+ "type": "object",
105
+ "description": "A JSON Object containing the result",
106
+ "schema": {
107
+ "title": "result",
108
+ "type": "object"
109
+ }
110
+ },
111
+ "roles": [
112
+ "admin"
113
+ ],
114
+ "route": {
115
+ "verb": "POST",
116
+ "path": "/iapFindAdapterPath"
117
+ },
118
+ "task": true
119
+ },
120
+ {
121
+ "name": "iapSuspendAdapter",
122
+ "summary": "Suspends the adapter",
123
+ "description": "Suspends the adapter",
124
+ "input": [
125
+ {
126
+ "name": "mode",
127
+ "type": "enum",
128
+ "enumerals": [
129
+ "pause",
130
+ "error"
131
+ ],
132
+ "info": "How incoming requests are handled. Defaults to 'pause'",
133
+ "description": "How incoming requests are handled. Defaults to 'pause'",
134
+ "schema": {
135
+ "title": "mode",
136
+ "type": "string"
137
+ },
138
+ "required": false
139
+ }
140
+ ],
141
+ "output": {
142
+ "name": "result",
143
+ "type": "object",
144
+ "description": "A JSON Object containing the adapter suspended status",
145
+ "schema": {
146
+ "title": "result",
147
+ "type": "object"
148
+ }
149
+ },
150
+ "roles": [
151
+ "admin"
152
+ ],
153
+ "route": {
154
+ "verb": "POST",
155
+ "path": "/iapSuspendAdapter"
156
+ },
157
+ "task": true
158
+ },
159
+ {
160
+ "name": "iapUnsuspendAdapter",
161
+ "summary": "Unsuspends the adapter",
162
+ "description": "Unsuspends the adapter",
163
+ "input": [],
164
+ "output": {
165
+ "name": "result",
166
+ "type": "object",
167
+ "description": "A JSON Object containing the adapter suspended status",
168
+ "schema": {
169
+ "title": "result",
170
+ "type": "object"
171
+ }
172
+ },
173
+ "roles": [
174
+ "admin"
175
+ ],
176
+ "route": {
177
+ "verb": "POST",
178
+ "path": "/iapUnsuspendAdapter"
179
+ },
180
+ "task": true
181
+ },
182
+ {
183
+ "name": "iapGetAdapterQueue",
184
+ "summary": "Return the requests that are waiting in the queue if throttling is enabled",
185
+ "description": "Return the requests that are waiting in the queue if throttling is enabled",
186
+ "input": [],
187
+ "output": {
188
+ "name": "result",
189
+ "type": "object",
190
+ "description": "A JSON Object containing the adapter queue",
191
+ "schema": {
192
+ "title": "result",
193
+ "type": "object"
194
+ }
195
+ },
196
+ "roles": [
197
+ "admin"
198
+ ],
199
+ "route": {
200
+ "verb": "POST",
201
+ "path": "/iapGetAdapterQueue"
202
+ },
203
+ "task": true
204
+ },
205
+ {
206
+ "name": "iapTroubleshootAdapter",
207
+ "summary": "Runs troubleshoot script for adapter",
208
+ "description": "Runs troubleshoot script for adapter",
209
+ "input": [
210
+ {
211
+ "name": "props",
212
+ "type": "object",
213
+ "info": "Object containing configuration, healthcheck and auth properties {'connProps':{'host': 'api.service.com', 'base_path': '/', 'protocol': 'http', 'port': 443, 'version': 'v1'},'healthCheckEndpoint': '/healthcheck', 'auth': {'auth_method': 'no authentication', 'username': 'username', 'password': 'password'}}",
214
+ "required": true,
215
+ "schema": {
216
+ "title": "props",
217
+ "type": "object"
218
+ }
219
+ },
220
+ {
221
+ "name": "persistFlag",
222
+ "type": "boolean",
223
+ "info": "Whether the input properties should be saved",
224
+ "required": true
225
+ }
226
+ ],
227
+ "output": {
228
+ "name": "result",
229
+ "type": "object",
230
+ "description": "A JSON Object containing the test results",
231
+ "schema": {
232
+ "title": "result",
233
+ "type": "object"
234
+ }
235
+ },
236
+ "roles": [
237
+ "admin"
238
+ ],
239
+ "route": {
240
+ "verb": "POST",
241
+ "path": "/iapTroubleshootAdapter"
242
+ },
243
+ "task": true
244
+ },
245
+ {
246
+ "name": "iapRunAdapterHealthcheck",
247
+ "summary": "Runs healthcheck script for adapter",
248
+ "description": "Runs healthcheck script for adapter",
249
+ "input": [],
250
+ "output": {
251
+ "name": "result",
252
+ "type": "boolean",
253
+ "description": "Whether healthcheck passed or failed"
254
+ },
255
+ "roles": [
256
+ "admin"
257
+ ],
258
+ "route": {
259
+ "verb": "POST",
260
+ "path": "/iapRunAdapterHealthcheck"
261
+ },
262
+ "task": true
263
+ },
264
+ {
265
+ "name": "iapRunAdapterConnectivity",
266
+ "summary": "Runs connectivity check script for adapter",
267
+ "description": "Runs connectivity check script for adapter",
268
+ "input": [],
269
+ "output": {
270
+ "name": "result",
271
+ "type": "object",
272
+ "description": "A JSON Object containing the test results",
273
+ "schema": {
274
+ "title": "result",
275
+ "type": "object"
276
+ }
277
+ },
278
+ "roles": [
279
+ "admin"
280
+ ],
281
+ "route": {
282
+ "verb": "POST",
283
+ "path": "/iapRunAdapterConnectivity"
284
+ },
285
+ "task": true
286
+ },
287
+ {
288
+ "name": "iapRunAdapterBasicGet",
289
+ "summary": "Runs basicGet script for adapter",
290
+ "description": "Runs basicGet script for adapter",
291
+ "input": [],
292
+ "output": {
293
+ "name": "result",
294
+ "type": "object",
295
+ "description": "A JSON Object containing the test results",
296
+ "schema": {
297
+ "title": "result",
298
+ "type": "object"
299
+ }
300
+ },
301
+ "roles": [
302
+ "admin"
303
+ ],
304
+ "route": {
305
+ "verb": "POST",
306
+ "path": "/iapRunAdapterBasicGet"
307
+ },
308
+ "task": true
309
+ },
310
+ {
311
+ "name": "iapMoveAdapterEntitiesToDB",
312
+ "summary": "Moves entities from an adapter into the IAP database",
313
+ "description": "Moves entities from an adapter into the IAP database",
314
+ "input": [],
315
+ "output": {
316
+ "name": "res",
317
+ "type": "object",
318
+ "description": "A JSON Object containing status, code and the response from the mongo transaction",
319
+ "schema": {
320
+ "title": "res",
321
+ "type": "object"
322
+ }
323
+ },
324
+ "roles": [
325
+ "admin"
326
+ ],
327
+ "route": {
328
+ "verb": "POST",
329
+ "path": "/iapMoveAdapterEntitiesToDB"
330
+ },
331
+ "task": true
332
+ },
333
+ {
334
+ "name": "genericAdapterRequest",
335
+ "summary": "Makes the requested generic call",
336
+ "description": "Makes the requested generic call",
337
+ "input": [
338
+ {
339
+ "name": "uriPath",
340
+ "type": "string",
341
+ "info": "the path of the api call - do not include the host, port, base path or version",
342
+ "description": "the path of the api call",
343
+ "schema": {
344
+ "title": "uriPath",
345
+ "type": "string"
346
+ },
347
+ "required": true
348
+ },
349
+ {
350
+ "name": "restMethod",
351
+ "type": "string",
352
+ "info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
353
+ "description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
354
+ "schema": {
355
+ "title": "restMethod",
356
+ "type": "string"
357
+ },
358
+ "required": true
359
+ },
360
+ {
361
+ "name": "queryData",
362
+ "type": "object",
363
+ "info": "the query parameters to be put on the url (optional)",
364
+ "description": "the query parameters to be put on the url (optional)",
365
+ "schema": {
366
+ "title": "queryData",
367
+ "type": "object"
368
+ },
369
+ "required": false
370
+ },
371
+ {
372
+ "name": "requestBody",
373
+ "type": "object",
374
+ "info": "the payload to be sent with the request (optional)",
375
+ "description": "the payload to be sent with the request (optional)",
376
+ "schema": {
377
+ "title": "requestBody",
378
+ "type": "object"
379
+ },
380
+ "required": false
381
+ },
382
+ {
383
+ "name": "addlHeaders",
384
+ "type": "object",
385
+ "info": "additional headers to be put on the call (optional)",
386
+ "description": "additional headers to be put on the call (optional)",
387
+ "schema": {
388
+ "title": "addlHeaders",
389
+ "type": "object"
390
+ },
391
+ "required": false
392
+ }
393
+ ],
394
+ "output": {
395
+ "name": "result",
396
+ "type": "object",
397
+ "description": "A JSON Object containing status, code and the result",
398
+ "schema": {
399
+ "title": "result",
400
+ "type": "object"
401
+ }
402
+ },
403
+ "roles": [
404
+ "admin"
405
+ ],
406
+ "route": {
407
+ "verb": "POST",
408
+ "path": "/genericAdapterRequest"
409
+ },
410
+ "task": true
411
+ },
412
+ {
413
+ "name": "genericAdapterRequestNoBasePath",
414
+ "summary": "Makes the requested generic call",
415
+ "description": "Makes the requested generic call",
416
+ "input": [
417
+ {
418
+ "name": "uriPath",
419
+ "type": "string",
420
+ "info": "the path of the api call - do not include the host, port, base path or version",
421
+ "description": "the path of the api call",
422
+ "schema": {
423
+ "title": "uriPath",
424
+ "type": "string"
425
+ },
426
+ "required": true
427
+ },
428
+ {
429
+ "name": "restMethod",
430
+ "type": "string",
431
+ "info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
432
+ "description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
433
+ "schema": {
434
+ "title": "restMethod",
435
+ "type": "string"
436
+ },
437
+ "required": true
438
+ },
439
+ {
440
+ "name": "queryData",
441
+ "type": "object",
442
+ "info": "the query parameters to be put on the url (optional)",
443
+ "description": "the query parameters to be put on the url (optional)",
444
+ "schema": {
445
+ "title": "queryData",
446
+ "type": "object"
447
+ },
448
+ "required": false
449
+ },
450
+ {
451
+ "name": "requestBody",
452
+ "type": "object",
453
+ "info": "the payload to be sent with the request (optional)",
454
+ "description": "the payload to be sent with the request (optional)",
455
+ "schema": {
456
+ "title": "requestBody",
457
+ "type": "object"
458
+ },
459
+ "required": false
460
+ },
461
+ {
462
+ "name": "addlHeaders",
463
+ "type": "object",
464
+ "info": "additional headers to be put on the call (optional)",
465
+ "description": "additional headers to be put on the call (optional)",
466
+ "schema": {
467
+ "title": "addlHeaders",
468
+ "type": "object"
469
+ },
470
+ "required": false
471
+ }
472
+ ],
473
+ "output": {
474
+ "name": "result",
475
+ "type": "object",
476
+ "description": "A JSON Object containing status, code and the result",
477
+ "schema": {
478
+ "title": "result",
479
+ "type": "object"
480
+ }
481
+ },
482
+ "roles": [
483
+ "admin"
484
+ ],
485
+ "route": {
486
+ "verb": "POST",
487
+ "path": "/genericAdapterRequestNoBasePath"
488
+ },
489
+ "task": true
490
+ },
491
+ {
492
+ "name": "getDevice",
493
+ "summary": "Get the Appliance",
494
+ "description": "Get the Appliance",
495
+ "input": [
496
+ {
497
+ "name": "deviceName",
498
+ "type": "string",
499
+ "info": "An Appliance Device Name",
500
+ "required": true,
501
+ "schema": {
502
+ "title": "deviceName",
503
+ "type": "string"
504
+ }
505
+ }
506
+ ],
507
+ "output": {
508
+ "name": "result",
509
+ "type": "object",
510
+ "description": "A JSON Object containing status, code and the result",
511
+ "schema": {
512
+ "title": "result",
513
+ "type": "object"
514
+ }
515
+ },
516
+ "roles": [
517
+ "admin"
518
+ ],
519
+ "route": {
520
+ "verb": "POST",
521
+ "path": "/getDevice"
522
+ },
523
+ "task": true
524
+ },
525
+ {
526
+ "name": "getDevicesFiltered",
527
+ "summary": "Get Appliances that match the filter",
528
+ "description": "Get Appliances that match the filter",
529
+ "input": [
530
+ {
531
+ "name": "options",
532
+ "type": "object",
533
+ "info": "options - e.g. { 'start': 1, 'limit': 20, 'filter': { 'name': 'abc123' } }",
534
+ "required": true,
535
+ "schema": {
536
+ "title": "options",
537
+ "type": "object"
538
+ }
539
+ }
540
+ ],
541
+ "output": {
542
+ "name": "result",
543
+ "type": "array",
544
+ "description": "A JSON Object containing status, code and the result",
545
+ "schema": {
546
+ "title": "result",
547
+ "type": "array"
548
+ }
549
+ },
550
+ "roles": [
551
+ "admin"
552
+ ],
553
+ "route": {
554
+ "verb": "POST",
555
+ "path": "/getDevicesFiltered"
556
+ },
557
+ "task": true
558
+ },
559
+ {
560
+ "name": "isAlive",
561
+ "summary": "Checks the status for the provided Appliance",
562
+ "description": "Checks the status for the provided Appliance",
563
+ "input": [
564
+ {
565
+ "name": "deviceName",
566
+ "type": "string",
567
+ "info": "An Appliance Device Name",
568
+ "required": true,
569
+ "schema": {
570
+ "title": "deviceName",
571
+ "type": "string"
572
+ }
573
+ }
574
+ ],
575
+ "output": {
576
+ "name": "result",
577
+ "type": "boolean",
578
+ "description": "A JSON Object containing status, code and the result",
579
+ "schema": {
580
+ "title": "result",
581
+ "type": "boolean"
582
+ }
583
+ },
584
+ "roles": [
585
+ "admin"
586
+ ],
587
+ "route": {
588
+ "verb": "POST",
589
+ "path": "/isAlive"
590
+ },
591
+ "task": true
592
+ },
593
+ {
594
+ "name": "getConfig",
595
+ "summary": "Gets a config for the provided Appliance",
596
+ "description": "Gets a config for the provided Appliance",
597
+ "input": [
598
+ {
599
+ "name": "deviceName",
600
+ "type": "string",
601
+ "info": "An Appliance Device Name",
602
+ "required": true,
603
+ "schema": {
604
+ "title": "deviceName",
605
+ "type": "string"
606
+ }
607
+ },
608
+ {
609
+ "name": "format",
610
+ "type": "string",
611
+ "info": "The format to be returned - this is ignored as we always return json",
612
+ "required": false,
613
+ "schema": {
614
+ "title": "format",
615
+ "type": "string"
616
+ }
617
+ }
618
+ ],
619
+ "output": {
620
+ "name": "result",
621
+ "type": "object",
622
+ "description": "A JSON Object containing status, code and the result",
623
+ "schema": {
624
+ "title": "result",
625
+ "type": "object"
626
+ }
627
+ },
628
+ "roles": [
629
+ "admin"
630
+ ],
631
+ "route": {
632
+ "verb": "POST",
633
+ "path": "/getConfig"
634
+ },
635
+ "task": true
636
+ },
637
+ {
638
+ "name": "iapGetDeviceCount",
639
+ "summary": "Gets a device count from the system",
640
+ "description": "Gets a device count from the system",
641
+ "input": [],
642
+ "output": {
643
+ "name": "result",
644
+ "type": "object",
645
+ "description": "A JSON Object containing status, code and the result",
646
+ "schema": {
647
+ "title": "result",
648
+ "type": "object"
649
+ }
650
+ },
651
+ "roles": [
652
+ "admin"
653
+ ],
654
+ "route": {
655
+ "verb": "POST",
656
+ "path": "/iapGetDeviceCount"
657
+ },
658
+ "task": true
659
+ },
660
+ {
661
+ "name": "deploy",
662
+ "summary": "deploy",
663
+ "description": "Deploy DNOS to create an NCE.",
664
+ "input": [
665
+ {
666
+ "name": "body",
667
+ "type": "object",
668
+ "info": ": object",
669
+ "required": true,
670
+ "schema": {
671
+ "example": {
672
+ "name": "NY22C",
673
+ "candidateDNOSYaml": "v13.0",
674
+ "oobIpv4Address": "Acquired",
675
+ "oobIpv4Subnet": 24,
676
+ "oobIpv6Address": "Acquired",
677
+ "oobIpv6Subnet": 127,
678
+ "oobIpv4DefaultGateway": "198.51.100.42",
679
+ "oobIpv6DefaultGateway": "2001:0db8:5b96:0000:0000:426f:8e17:642a",
680
+ "inBandIpv4Address": "198.51.100.42",
681
+ "inBandIpv4Subnet": 24,
682
+ "inBandIpv6Address": "2001:0db8:5b96:0000:0000:426f:8e17:642a",
683
+ "inBandIpv6Subnet": 127,
684
+ "minimumNccs": 2,
685
+ "siteId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
686
+ "configurationData": {
687
+ "filename": "baseConfig.xml",
688
+ "username": "dnroot",
689
+ "configurationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
690
+ },
691
+ "formation": {
692
+ "type": "Cluster",
693
+ "specific": "CL-96"
694
+ },
695
+ "nccs": [
696
+ {
697
+ "serialNumber": "string",
698
+ "nccId": 1
699
+ }
700
+ ]
701
+ },
702
+ "definitions": {}
703
+ }
704
+ }
705
+ ],
706
+ "output": {
707
+ "name": "result",
708
+ "type": "object",
709
+ "description": "A JSON Object containing status, code and the result",
710
+ "schema": {
711
+ "title": "result",
712
+ "type": "object"
713
+ }
714
+ },
715
+ "roles": [
716
+ "admin"
717
+ ],
718
+ "route": {
719
+ "verb": "POST",
720
+ "path": "/deploy"
721
+ },
722
+ "task": true
723
+ },
724
+ {
725
+ "name": "updateNCEbyClusterID",
726
+ "summary": "updateNCEbyClusterID",
727
+ "description": "Edit an existing NCE. If NCE is in 'Waiting for equipment' status all required body fields should be provided as in Create NCE",
728
+ "input": [
729
+ {
730
+ "name": "clusterId",
731
+ "type": "string",
732
+ "info": "System-ID of the NCE: string",
733
+ "required": true,
734
+ "schema": {
735
+ "title": "clusterId",
736
+ "type": "string"
737
+ }
738
+ },
739
+ {
740
+ "name": "body",
741
+ "type": "object",
742
+ "info": ": object",
743
+ "required": true,
744
+ "schema": {
745
+ "example": {
746
+ "name": "NY22C",
747
+ "inBandIpv4Address": "198.51.100.42",
748
+ "inBandIpv4Subnet": 24,
749
+ "inBandIpv6Address": "2001:0db8:5b96:0000:0000:426f:8e17:642a",
750
+ "inBandIpv6Subnet": 127,
751
+ "oobIpv4DefaultGateway": "198.51.100.42",
752
+ "oobIpv6DefaultGateway": "2001:0db8:5b96:0000:0000:426f:8e17:642a",
753
+ "siteId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
754
+ "formation": {
755
+ "type": "Cluster",
756
+ "specific": "CL-96"
757
+ },
758
+ "targetGroupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
759
+ "nccs": [
760
+ {
761
+ "serialNumber": "string",
762
+ "nccId": 1
763
+ }
764
+ ]
765
+ },
766
+ "definitions": {}
767
+ }
768
+ }
769
+ ],
770
+ "output": {
771
+ "name": "result",
772
+ "type": "object",
773
+ "description": "A JSON Object containing status, code and the result",
774
+ "schema": {
775
+ "title": "result",
776
+ "type": "object"
777
+ }
778
+ },
779
+ "roles": [
780
+ "admin"
781
+ ],
782
+ "route": {
783
+ "verb": "POST",
784
+ "path": "/updateNCEbyClusterID"
785
+ },
786
+ "task": true
787
+ },
788
+ {
789
+ "name": "deleteNCEbyClusterID",
790
+ "summary": "deleteNCEbyClusterID",
791
+ "description": "Remove an NCE from DNOR and delete the DNOS installation on the NCE nodes.",
792
+ "input": [
793
+ {
794
+ "name": "clusterId",
795
+ "type": "string",
796
+ "info": ": string",
797
+ "required": true,
798
+ "schema": {
799
+ "title": "clusterId",
800
+ "type": "string"
801
+ }
802
+ }
803
+ ],
804
+ "output": {
805
+ "name": "result",
806
+ "type": "object",
807
+ "description": "A JSON Object containing status, code and the result",
808
+ "schema": {
809
+ "title": "result",
810
+ "type": "object"
811
+ }
812
+ },
813
+ "roles": [
814
+ "admin"
815
+ ],
816
+ "route": {
817
+ "verb": "POST",
818
+ "path": "/deleteNCEbyClusterID"
819
+ },
820
+ "task": true
821
+ },
822
+ {
823
+ "name": "nceManagementDownload",
824
+ "summary": "download",
825
+ "description": "Download a newer version of DNOS to the NCE (prior to upgrade).",
826
+ "input": [
827
+ {
828
+ "name": "clusterId",
829
+ "type": "string",
830
+ "info": "System-ID of the NCE: string",
831
+ "required": true,
832
+ "schema": {
833
+ "title": "clusterId",
834
+ "type": "string"
835
+ }
836
+ },
837
+ {
838
+ "name": "body",
839
+ "type": "object",
840
+ "info": "Download values: object",
841
+ "required": true,
842
+ "schema": {
843
+ "example": {
844
+ "version": "string",
845
+ "inBand": false
846
+ },
847
+ "definitions": {}
848
+ }
849
+ }
850
+ ],
851
+ "output": {
852
+ "name": "result",
853
+ "type": "object",
854
+ "description": "A JSON Object containing status, code and the result",
855
+ "schema": {
856
+ "title": "result",
857
+ "type": "object"
858
+ }
859
+ },
860
+ "roles": [
861
+ "admin"
862
+ ],
863
+ "route": {
864
+ "verb": "POST",
865
+ "path": "/nceManagementDownload"
866
+ },
867
+ "task": true
868
+ },
869
+ {
870
+ "name": "nceManagementUpgrade",
871
+ "summary": "Upgrade",
872
+ "description": "Upgrade the version of DNOS running on an NCE.",
873
+ "input": [
874
+ {
875
+ "name": "clusterId",
876
+ "type": "string",
877
+ "info": "System-ID of the NCE: string",
878
+ "required": true,
879
+ "schema": {
880
+ "title": "clusterId",
881
+ "type": "string"
882
+ }
883
+ },
884
+ {
885
+ "name": "body",
886
+ "type": "object",
887
+ "info": "Upgrade deatil: object",
888
+ "required": true,
889
+ "schema": {
890
+ "example": {},
891
+ "definitions": {}
892
+ }
893
+ }
894
+ ],
895
+ "output": {
896
+ "name": "result",
897
+ "type": "object",
898
+ "description": "A JSON Object containing status, code and the result",
899
+ "schema": {
900
+ "title": "result",
901
+ "type": "object"
902
+ }
903
+ },
904
+ "roles": [
905
+ "admin"
906
+ ],
907
+ "route": {
908
+ "verb": "POST",
909
+ "path": "/nceManagementUpgrade"
910
+ },
911
+ "task": true
912
+ },
913
+ {
914
+ "name": "nceManagementCancel",
915
+ "summary": "Cancel",
916
+ "description": "Cancel the current process running on an NCE",
917
+ "input": [
918
+ {
919
+ "name": "clusterId",
920
+ "type": "string",
921
+ "info": "System-ID of the NCE: string",
922
+ "required": true,
923
+ "schema": {
924
+ "title": "clusterId",
925
+ "type": "string"
926
+ }
927
+ }
928
+ ],
929
+ "output": {
930
+ "name": "result",
931
+ "type": "object",
932
+ "description": "A JSON Object containing status, code and the result",
933
+ "schema": {
934
+ "title": "result",
935
+ "type": "object"
936
+ }
937
+ },
938
+ "roles": [
939
+ "admin"
940
+ ],
941
+ "route": {
942
+ "verb": "POST",
943
+ "path": "/nceManagementCancel"
944
+ },
945
+ "task": true
946
+ },
947
+ {
948
+ "name": "nceManagementPrecheck",
949
+ "summary": "Preupgrade validation",
950
+ "description": "Preupgrade validation",
951
+ "input": [
952
+ {
953
+ "name": "clusterId",
954
+ "type": "string",
955
+ "info": "System-ID of the NCE: string",
956
+ "required": true,
957
+ "schema": {
958
+ "title": "clusterId",
959
+ "type": "string"
960
+ }
961
+ }
962
+ ],
963
+ "output": {
964
+ "name": "result",
965
+ "type": "object",
966
+ "description": "A JSON Object containing status, code and the result",
967
+ "schema": {
968
+ "title": "result",
969
+ "type": "object"
970
+ }
971
+ },
972
+ "roles": [
973
+ "admin"
974
+ ],
975
+ "route": {
976
+ "verb": "POST",
977
+ "path": "/nceManagementPrecheck"
978
+ },
979
+ "task": true
980
+ },
981
+ {
982
+ "name": "redundancyDisable",
983
+ "summary": "Disable all DNOR services on a node",
984
+ "description": "Disable DNOR node values",
985
+ "input": [
986
+ {
987
+ "name": "body",
988
+ "type": "object",
989
+ "info": ": object",
990
+ "required": false,
991
+ "schema": {
992
+ "example": {
993
+ "dnorRole": "PRIMARY",
994
+ "addr": "198.51.100.42"
995
+ },
996
+ "definitions": {}
997
+ }
998
+ }
999
+ ],
1000
+ "output": {
1001
+ "name": "result",
1002
+ "type": "object",
1003
+ "description": "A JSON Object containing status, code and the result",
1004
+ "schema": {
1005
+ "title": "result",
1006
+ "type": "object"
1007
+ }
1008
+ },
1009
+ "roles": [
1010
+ "admin"
1011
+ ],
1012
+ "route": {
1013
+ "verb": "POST",
1014
+ "path": "/redundancyDisable"
1015
+ },
1016
+ "task": true
1017
+ },
1018
+ {
1019
+ "name": "redundancyEnable",
1020
+ "summary": "Enable all DNOR services on a node",
1021
+ "description": "Enable DNOR node values",
1022
+ "input": [
1023
+ {
1024
+ "name": "body",
1025
+ "type": "object",
1026
+ "info": ": object",
1027
+ "required": false,
1028
+ "schema": {
1029
+ "example": {
1030
+ "dnorRole": "PRIMARY",
1031
+ "addr": "198.51.100.42"
1032
+ },
1033
+ "definitions": {}
1034
+ }
1035
+ }
1036
+ ],
1037
+ "output": {
1038
+ "name": "result",
1039
+ "type": "object",
1040
+ "description": "A JSON Object containing status, code and the result",
1041
+ "schema": {
1042
+ "title": "result",
1043
+ "type": "object"
1044
+ }
1045
+ },
1046
+ "roles": [
1047
+ "admin"
1048
+ ],
1049
+ "route": {
1050
+ "verb": "POST",
1051
+ "path": "/redundancyEnable"
1052
+ },
1053
+ "task": true
1054
+ },
1055
+ {
1056
+ "name": "redundancy",
1057
+ "summary": "Manual switchover",
1058
+ "description": "Trigger manual switchover on the active DNOR node",
1059
+ "input": [
1060
+ {
1061
+ "name": "body",
1062
+ "type": "object",
1063
+ "info": "Manual switchover: object",
1064
+ "required": false,
1065
+ "schema": {
1066
+ "example": {},
1067
+ "definitions": {}
1068
+ }
1069
+ }
1070
+ ],
1071
+ "output": {
1072
+ "name": "result",
1073
+ "type": "object",
1074
+ "description": "A JSON Object containing status, code and the result",
1075
+ "schema": {
1076
+ "title": "result",
1077
+ "type": "object"
1078
+ }
1079
+ },
1080
+ "roles": [
1081
+ "admin"
1082
+ ],
1083
+ "route": {
1084
+ "verb": "POST",
1085
+ "path": "/redundancy"
1086
+ },
1087
+ "task": true
1088
+ },
1089
+ {
1090
+ "name": "targetGroupGroups",
1091
+ "summary": "Get all existing target groups",
1092
+ "description": "Get all existing target groups",
1093
+ "input": [],
1094
+ "output": {
1095
+ "name": "result",
1096
+ "type": "object",
1097
+ "description": "A JSON Object containing status, code and the result",
1098
+ "schema": {
1099
+ "title": "result",
1100
+ "type": "object"
1101
+ }
1102
+ },
1103
+ "roles": [
1104
+ "admin"
1105
+ ],
1106
+ "route": {
1107
+ "verb": "GET",
1108
+ "path": "/targetGroupGroups"
1109
+ },
1110
+ "task": true
1111
+ },
1112
+ {
1113
+ "name": "targetGroupCreateGroup",
1114
+ "summary": "Create new target group",
1115
+ "description": "Create new target gorup",
1116
+ "input": [
1117
+ {
1118
+ "name": "body",
1119
+ "type": "object",
1120
+ "info": "Target group details: object",
1121
+ "required": false,
1122
+ "schema": {
1123
+ "example": {
1124
+ "groupName": "firstGroup",
1125
+ "parentGroupId": "firstGroupId"
1126
+ },
1127
+ "definitions": {}
1128
+ }
1129
+ }
1130
+ ],
1131
+ "output": {
1132
+ "name": "result",
1133
+ "type": "object",
1134
+ "description": "A JSON Object containing status, code and the result",
1135
+ "schema": {
1136
+ "title": "result",
1137
+ "type": "object"
1138
+ }
1139
+ },
1140
+ "roles": [
1141
+ "admin"
1142
+ ],
1143
+ "route": {
1144
+ "verb": "POST",
1145
+ "path": "/targetGroupCreateGroup"
1146
+ },
1147
+ "task": true
1148
+ },
1149
+ {
1150
+ "name": "targetGroupUpdateGroupGroupID",
1151
+ "summary": "Update target group",
1152
+ "description": "Update target group",
1153
+ "input": [
1154
+ {
1155
+ "name": "groupId",
1156
+ "type": "string",
1157
+ "info": "Group id: string",
1158
+ "required": true,
1159
+ "schema": {
1160
+ "title": "groupId",
1161
+ "type": "string"
1162
+ }
1163
+ },
1164
+ {
1165
+ "name": "body",
1166
+ "type": "object",
1167
+ "info": "Target group details: object",
1168
+ "required": false,
1169
+ "schema": {
1170
+ "example": {
1171
+ "groupName": "firstGroup",
1172
+ "parentGroupId": "firstGroupId"
1173
+ },
1174
+ "definitions": {}
1175
+ }
1176
+ }
1177
+ ],
1178
+ "output": {
1179
+ "name": "result",
1180
+ "type": "object",
1181
+ "description": "A JSON Object containing status, code and the result",
1182
+ "schema": {
1183
+ "title": "result",
1184
+ "type": "object"
1185
+ }
1186
+ },
1187
+ "roles": [
1188
+ "admin"
1189
+ ],
1190
+ "route": {
1191
+ "verb": "POST",
1192
+ "path": "/targetGroupUpdateGroupGroupID"
1193
+ },
1194
+ "task": true
1195
+ },
1196
+ {
1197
+ "name": "deleteTargetGroupGroupId",
1198
+ "summary": "Delete target group by id",
1199
+ "description": "Delete target group by id",
1200
+ "input": [
1201
+ {
1202
+ "name": "groupId",
1203
+ "type": "string",
1204
+ "info": "Group id: string",
1205
+ "required": true,
1206
+ "schema": {
1207
+ "title": "groupId",
1208
+ "type": "string"
1209
+ }
1210
+ }
1211
+ ],
1212
+ "output": {
1213
+ "name": "result",
1214
+ "type": "object",
1215
+ "description": "A JSON Object containing status, code and the result",
1216
+ "schema": {
1217
+ "title": "result",
1218
+ "type": "object"
1219
+ }
1220
+ },
1221
+ "roles": [
1222
+ "admin"
1223
+ ],
1224
+ "route": {
1225
+ "verb": "POST",
1226
+ "path": "/deleteTargetGroupGroupId"
1227
+ },
1228
+ "task": true
1229
+ },
1230
+ {
1231
+ "name": "getTaskManagementTaskExecutions",
1232
+ "summary": "Get all tasks executions",
1233
+ "description": "Get all tasks executions, past and currently running",
1234
+ "input": [],
1235
+ "output": {
1236
+ "name": "result",
1237
+ "type": "object",
1238
+ "description": "A JSON Object containing status, code and the result",
1239
+ "schema": {
1240
+ "title": "result",
1241
+ "type": "object"
1242
+ }
1243
+ },
1244
+ "roles": [
1245
+ "admin"
1246
+ ],
1247
+ "route": {
1248
+ "verb": "GET",
1249
+ "path": "/getTaskManagementTaskExecutions"
1250
+ },
1251
+ "task": true
1252
+ },
1253
+ {
1254
+ "name": "getTaskManagementTasks",
1255
+ "summary": "Get all tasks",
1256
+ "description": "Get all tasks",
1257
+ "input": [],
1258
+ "output": {
1259
+ "name": "result",
1260
+ "type": "object",
1261
+ "description": "A JSON Object containing status, code and the result",
1262
+ "schema": {
1263
+ "title": "result",
1264
+ "type": "object"
1265
+ }
1266
+ },
1267
+ "roles": [
1268
+ "admin"
1269
+ ],
1270
+ "route": {
1271
+ "verb": "GET",
1272
+ "path": "/getTaskManagementTasks"
1273
+ },
1274
+ "task": true
1275
+ },
1276
+ {
1277
+ "name": "postTaskManagementCreateTask",
1278
+ "summary": "Create new task",
1279
+ "description": "Create new task",
1280
+ "input": [
1281
+ {
1282
+ "name": "body",
1283
+ "type": "object",
1284
+ "info": "Task details: object",
1285
+ "required": false,
1286
+ "schema": {
1287
+ "example": {
1288
+ "name": "testTask",
1289
+ "function": "Software Upgrade",
1290
+ "activation": "Recurrence",
1291
+ "scheduledOnce": {
1292
+ "startDate": "08-11-2020",
1293
+ "startTime": "14:15"
1294
+ },
1295
+ "scheduledRecurrent": {
1296
+ "startDate": "08-11-2020",
1297
+ "endDate": "08-11-2020",
1298
+ "timeFrame": "Weekly",
1299
+ "daysOfWeek": [
1300
+ "Sunday"
1301
+ ],
1302
+ "daysOfMonth": "1,4,15",
1303
+ "months": [
1304
+ "January"
1305
+ ],
1306
+ "timeOfDay": "14:15"
1307
+ },
1308
+ "targetNCEs": [
1309
+ "string"
1310
+ ],
1311
+ "groupIdList": [
1312
+ "string"
1313
+ ],
1314
+ "additionalInfo": {
1315
+ "management-channel": "In-Band"
1316
+ }
1317
+ },
1318
+ "definitions": {}
1319
+ }
1320
+ }
1321
+ ],
1322
+ "output": {
1323
+ "name": "result",
1324
+ "type": "object",
1325
+ "description": "A JSON Object containing status, code and the result",
1326
+ "schema": {
1327
+ "title": "result",
1328
+ "type": "object"
1329
+ }
1330
+ },
1331
+ "roles": [
1332
+ "admin"
1333
+ ],
1334
+ "route": {
1335
+ "verb": "POST",
1336
+ "path": "/postTaskManagementCreateTask"
1337
+ },
1338
+ "task": true
1339
+ },
1340
+ {
1341
+ "name": "putTaskManagementUpdateTask",
1342
+ "summary": "Update task",
1343
+ "description": "Update task",
1344
+ "input": [
1345
+ {
1346
+ "name": "taskId",
1347
+ "type": "string",
1348
+ "info": "Task id: string",
1349
+ "required": true,
1350
+ "schema": {
1351
+ "title": "taskId",
1352
+ "type": "string"
1353
+ }
1354
+ },
1355
+ {
1356
+ "name": "body",
1357
+ "type": "object",
1358
+ "info": "Task details: object",
1359
+ "required": false,
1360
+ "schema": {
1361
+ "example": {
1362
+ "name": "testTask",
1363
+ "function": "Software Upgrade",
1364
+ "activation": "Recurrence",
1365
+ "scheduledOnce": {
1366
+ "startDate": "08-11-2020",
1367
+ "startTime": "14:15"
1368
+ },
1369
+ "scheduledRecurrent": {
1370
+ "startDate": "08-11-2020",
1371
+ "endDate": "08-11-2020",
1372
+ "timeFrame": "Weekly",
1373
+ "daysOfWeek": [
1374
+ "Sunday"
1375
+ ],
1376
+ "daysOfMonth": "1,4,15",
1377
+ "months": [
1378
+ "January"
1379
+ ],
1380
+ "timeOfDay": "14:15"
1381
+ },
1382
+ "targetNCEs": [
1383
+ "string"
1384
+ ],
1385
+ "groupIdList": [
1386
+ "string"
1387
+ ],
1388
+ "additionalInfo": {
1389
+ "management-channel": "In-Band"
1390
+ }
1391
+ },
1392
+ "definitions": {}
1393
+ }
1394
+ }
1395
+ ],
1396
+ "output": {
1397
+ "name": "result",
1398
+ "type": "object",
1399
+ "description": "A JSON Object containing status, code and the result",
1400
+ "schema": {
1401
+ "title": "result",
1402
+ "type": "object"
1403
+ }
1404
+ },
1405
+ "roles": [
1406
+ "admin"
1407
+ ],
1408
+ "route": {
1409
+ "verb": "POST",
1410
+ "path": "/putTaskManagementUpdateTask"
1411
+ },
1412
+ "task": true
1413
+ },
1414
+ {
1415
+ "name": "postTaskManagementExecuteTask",
1416
+ "summary": "Execute task",
1417
+ "description": "Execute task",
1418
+ "input": [
1419
+ {
1420
+ "name": "taskId",
1421
+ "type": "string",
1422
+ "info": "Task id: string",
1423
+ "required": true,
1424
+ "schema": {
1425
+ "title": "taskId",
1426
+ "type": "string"
1427
+ }
1428
+ }
1429
+ ],
1430
+ "output": {
1431
+ "name": "result",
1432
+ "type": "object",
1433
+ "description": "A JSON Object containing status, code and the result",
1434
+ "schema": {
1435
+ "title": "result",
1436
+ "type": "object"
1437
+ }
1438
+ },
1439
+ "roles": [
1440
+ "admin"
1441
+ ],
1442
+ "route": {
1443
+ "verb": "POST",
1444
+ "path": "/postTaskManagementExecuteTask"
1445
+ },
1446
+ "task": true
1447
+ },
1448
+ {
1449
+ "name": "postTaskManagementCancelTask",
1450
+ "summary": "Cancel running task",
1451
+ "description": "Cancel running task",
1452
+ "input": [
1453
+ {
1454
+ "name": "taskExecutionId",
1455
+ "type": "string",
1456
+ "info": "Task execution id: string",
1457
+ "required": true,
1458
+ "schema": {
1459
+ "title": "taskExecutionId",
1460
+ "type": "string"
1461
+ }
1462
+ }
1463
+ ],
1464
+ "output": {
1465
+ "name": "result",
1466
+ "type": "object",
1467
+ "description": "A JSON Object containing status, code and the result",
1468
+ "schema": {
1469
+ "title": "result",
1470
+ "type": "object"
1471
+ }
1472
+ },
1473
+ "roles": [
1474
+ "admin"
1475
+ ],
1476
+ "route": {
1477
+ "verb": "POST",
1478
+ "path": "/postTaskManagementCancelTask"
1479
+ },
1480
+ "task": true
1481
+ },
1482
+ {
1483
+ "name": "taskManagementDeleteTask",
1484
+ "summary": "Delete task by task id",
1485
+ "description": "Delete task by task id",
1486
+ "input": [
1487
+ {
1488
+ "name": "taskId",
1489
+ "type": "string",
1490
+ "info": "Task id: string",
1491
+ "required": true,
1492
+ "schema": {
1493
+ "title": "taskId",
1494
+ "type": "string"
1495
+ }
1496
+ }
1497
+ ],
1498
+ "output": {
1499
+ "name": "result",
1500
+ "type": "object",
1501
+ "description": "A JSON Object containing status, code and the result",
1502
+ "schema": {
1503
+ "title": "result",
1504
+ "type": "object"
1505
+ }
1506
+ },
1507
+ "roles": [
1508
+ "admin"
1509
+ ],
1510
+ "route": {
1511
+ "verb": "POST",
1512
+ "path": "/taskManagementDeleteTask"
1513
+ },
1514
+ "task": true
1515
+ },
1516
+ {
1517
+ "name": "getFaultManagementAlarmConfiguration",
1518
+ "summary": "Get alarm configuration by alarm name.",
1519
+ "description": "Get alarm configuration by alarm name.",
1520
+ "input": [
1521
+ {
1522
+ "name": "alarmName",
1523
+ "type": "string",
1524
+ "info": "Alarm name: string",
1525
+ "required": true,
1526
+ "schema": {
1527
+ "title": "alarmName",
1528
+ "type": "string"
1529
+ }
1530
+ }
1531
+ ],
1532
+ "output": {
1533
+ "name": "result",
1534
+ "type": "object",
1535
+ "description": "A JSON Object containing status, code and the result",
1536
+ "schema": {
1537
+ "title": "result",
1538
+ "type": "object"
1539
+ }
1540
+ },
1541
+ "roles": [
1542
+ "admin"
1543
+ ],
1544
+ "route": {
1545
+ "verb": "POST",
1546
+ "path": "/getFaultManagementAlarmConfiguration"
1547
+ },
1548
+ "task": true
1549
+ },
1550
+ {
1551
+ "name": "getAllFaultManagementAlarmConfiguration",
1552
+ "summary": "Get all alarms configuration.",
1553
+ "description": "Get all alarms configuration.",
1554
+ "input": [],
1555
+ "output": {
1556
+ "name": "result",
1557
+ "type": "object",
1558
+ "description": "A JSON Object containing status, code and the result",
1559
+ "schema": {
1560
+ "title": "result",
1561
+ "type": "object"
1562
+ }
1563
+ },
1564
+ "roles": [
1565
+ "admin"
1566
+ ],
1567
+ "route": {
1568
+ "verb": "GET",
1569
+ "path": "/getAllFaultManagementAlarmConfiguration"
1570
+ },
1571
+ "task": true
1572
+ },
1573
+ {
1574
+ "name": "getAllFaultManagementActiveAlarms",
1575
+ "summary": "Get all active alarms.",
1576
+ "description": "Get all active alarms.",
1577
+ "input": [],
1578
+ "output": {
1579
+ "name": "result",
1580
+ "type": "object",
1581
+ "description": "A JSON Object containing status, code and the result",
1582
+ "schema": {
1583
+ "title": "result",
1584
+ "type": "object"
1585
+ }
1586
+ },
1587
+ "roles": [
1588
+ "admin"
1589
+ ],
1590
+ "route": {
1591
+ "verb": "GET",
1592
+ "path": "/getAllFaultManagementActiveAlarms"
1593
+ },
1594
+ "task": true
1595
+ }
1596
+ ],
1597
+ "views": []
1598
+ }