@itentialopensource/adapter-nokia_altiplano 0.1.3 → 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.
package/pronghorn.json CHANGED
@@ -386,6 +386,198 @@
386
386
  },
387
387
  "task": true
388
388
  },
389
+ {
390
+ "name": "moveEntitiesToDB",
391
+ "summary": "Moves entities from an adapter into the IAP database",
392
+ "description": "Moves entities from an adapter into the IAP database",
393
+ "input": [],
394
+ "output": {
395
+ "name": "res",
396
+ "type": "object",
397
+ "description": "A JSON Object containing status, code and the response from the mongo transaction",
398
+ "schema": {
399
+ "title": "res",
400
+ "type": "object"
401
+ }
402
+ },
403
+ "roles": [
404
+ "admin"
405
+ ],
406
+ "route": {
407
+ "verb": "POST",
408
+ "path": "/moveEntitiesToDB"
409
+ },
410
+ "task": true
411
+ },
412
+ {
413
+ "name": "getDevice",
414
+ "summary": "Get the Appliance",
415
+ "description": "Get the Appliance",
416
+ "input": [
417
+ {
418
+ "name": "deviceName",
419
+ "type": "string",
420
+ "info": "An Appliance Device Name",
421
+ "required": true,
422
+ "schema": {
423
+ "title": "deviceName",
424
+ "type": "string"
425
+ }
426
+ }
427
+ ],
428
+ "output": {
429
+ "name": "result",
430
+ "type": "object",
431
+ "description": "A JSON Object containing status, code and the result",
432
+ "schema": {
433
+ "title": "result",
434
+ "type": "object"
435
+ }
436
+ },
437
+ "roles": [
438
+ "admin"
439
+ ],
440
+ "route": {
441
+ "verb": "POST",
442
+ "path": "/getDevice"
443
+ },
444
+ "task": false
445
+ },
446
+ {
447
+ "name": "getDevicesFiltered",
448
+ "summary": "Get Appliances that match the filter",
449
+ "description": "Get Appliances that match the filter",
450
+ "input": [
451
+ {
452
+ "name": "options",
453
+ "type": "object",
454
+ "info": "options - e.g. { 'start': 1, 'limit': 20, 'filter': { 'name': 'abc123' } }",
455
+ "required": true,
456
+ "schema": {
457
+ "title": "options",
458
+ "type": "object"
459
+ }
460
+ }
461
+ ],
462
+ "output": {
463
+ "name": "result",
464
+ "type": "array",
465
+ "description": "A JSON Object containing status, code and the result",
466
+ "schema": {
467
+ "title": "result",
468
+ "type": "array"
469
+ }
470
+ },
471
+ "roles": [
472
+ "admin"
473
+ ],
474
+ "route": {
475
+ "verb": "POST",
476
+ "path": "/getDevicesFiltered"
477
+ },
478
+ "task": false
479
+ },
480
+ {
481
+ "name": "isAlive",
482
+ "summary": "Checks the status for the provided Appliance",
483
+ "description": "Checks the status for the provided Appliance",
484
+ "input": [
485
+ {
486
+ "name": "deviceName",
487
+ "type": "string",
488
+ "info": "An Appliance Device Name",
489
+ "required": true,
490
+ "schema": {
491
+ "title": "deviceName",
492
+ "type": "string"
493
+ }
494
+ }
495
+ ],
496
+ "output": {
497
+ "name": "result",
498
+ "type": "boolean",
499
+ "description": "A JSON Object containing status, code and the result",
500
+ "schema": {
501
+ "title": "result",
502
+ "type": "boolean"
503
+ }
504
+ },
505
+ "roles": [
506
+ "admin"
507
+ ],
508
+ "route": {
509
+ "verb": "POST",
510
+ "path": "/isAlive"
511
+ },
512
+ "task": false
513
+ },
514
+ {
515
+ "name": "getConfig",
516
+ "summary": "Gets a config for the provided Appliance",
517
+ "description": "Gets a config for the provided Appliance",
518
+ "input": [
519
+ {
520
+ "name": "deviceName",
521
+ "type": "string",
522
+ "info": "An Appliance Device Name",
523
+ "required": true,
524
+ "schema": {
525
+ "title": "deviceName",
526
+ "type": "string"
527
+ }
528
+ },
529
+ {
530
+ "name": "format",
531
+ "type": "string",
532
+ "info": "The format to be returned - this is ignored as we always return json",
533
+ "required": false,
534
+ "schema": {
535
+ "title": "format",
536
+ "type": "string"
537
+ }
538
+ }
539
+ ],
540
+ "output": {
541
+ "name": "result",
542
+ "type": "object",
543
+ "description": "A JSON Object containing status, code and the result",
544
+ "schema": {
545
+ "title": "result",
546
+ "type": "object"
547
+ }
548
+ },
549
+ "roles": [
550
+ "admin"
551
+ ],
552
+ "route": {
553
+ "verb": "POST",
554
+ "path": "/getConfig"
555
+ },
556
+ "task": false
557
+ },
558
+ {
559
+ "name": "getCount",
560
+ "summary": "Gets a device count from the system",
561
+ "description": "Gets a device count from the system",
562
+ "input": [],
563
+ "output": {
564
+ "name": "result",
565
+ "type": "object",
566
+ "description": "A JSON Object containing status, code and the result",
567
+ "schema": {
568
+ "title": "result",
569
+ "type": "object"
570
+ }
571
+ },
572
+ "roles": [
573
+ "admin"
574
+ ],
575
+ "route": {
576
+ "verb": "POST",
577
+ "path": "/getCount"
578
+ },
579
+ "task": false
580
+ },
389
581
  {
390
582
  "name": "getAccessToken",
391
583
  "summary": "GetAccessToken",
@@ -795,6 +987,194 @@
795
987
  },
796
988
  "task": true
797
989
  },
990
+ {
991
+ "name": "createOntWithQuery",
992
+ "summary": "Create ont with query",
993
+ "description": "Create ont with query",
994
+ "input": [
995
+ {
996
+ "name": "body",
997
+ "type": "object",
998
+ "info": ": {\"ibn:intent\": {\"target\": \"string\", \"intent-type\": \"string\", \"intent-type-version\": \"string\", \"required-network-state\": \"string\", \"intent-specific-data\": {\"ont:ont\": {\"ont-type\": \"string\", \"fiber-name\": \"string\", \"expected-serial-number\": \"string\", \"onu-service-profile\": \"string\", \"uni-service-configuration\": {\"uni-id\": \"string\", \"service-profile\": \"string\"}}}}}",
999
+ "required": true,
1000
+ "schema": {
1001
+ "title": "CreateontRequest",
1002
+ "required": [
1003
+ "ibn:intent"
1004
+ ],
1005
+ "type": "object",
1006
+ "properties": {
1007
+ "ibn:intent": {
1008
+ "title": "IbnIntent",
1009
+ "required": [
1010
+ "target",
1011
+ "intent-type",
1012
+ "intent-type-version",
1013
+ "required-network-state",
1014
+ "intent-specific-data"
1015
+ ],
1016
+ "type": "object",
1017
+ "properties": {
1018
+ "target": {
1019
+ "type": "string"
1020
+ },
1021
+ "intent-type": {
1022
+ "type": "string"
1023
+ },
1024
+ "intent-type-version": {
1025
+ "type": "string"
1026
+ },
1027
+ "required-network-state": {
1028
+ "type": "string"
1029
+ },
1030
+ "intent-specific-data": {
1031
+ "title": "IntentSpecificData",
1032
+ "required": [
1033
+ "ont:ont"
1034
+ ],
1035
+ "type": "object",
1036
+ "properties": {
1037
+ "ont:ont": {
1038
+ "title": "OntOnt",
1039
+ "required": [
1040
+ "ont-type",
1041
+ "fiber-name",
1042
+ "expected-serial-number",
1043
+ "onu-service-profile",
1044
+ "uni-service-configuration"
1045
+ ],
1046
+ "type": "object",
1047
+ "properties": {
1048
+ "ont-type": {
1049
+ "type": "string"
1050
+ },
1051
+ "fiber-name": {
1052
+ "type": "string"
1053
+ },
1054
+ "expected-serial-number": {
1055
+ "type": "string"
1056
+ },
1057
+ "onu-service-profile": {
1058
+ "type": "string"
1059
+ },
1060
+ "uni-service-configuration": {
1061
+ "title": "UniServiceConfiguration",
1062
+ "required": [
1063
+ "uni-id",
1064
+ "service-profile"
1065
+ ],
1066
+ "type": "object",
1067
+ "properties": {
1068
+ "uni-id": {
1069
+ "type": "string"
1070
+ },
1071
+ "service-profile": {
1072
+ "type": "string"
1073
+ }
1074
+ },
1075
+ "example": {
1076
+ "uni-id": "LAN1",
1077
+ "service-profile": "default"
1078
+ }
1079
+ }
1080
+ },
1081
+ "example": {
1082
+ "ont-type": "G-010G-Q",
1083
+ "fiber-name": "INES-1-1-4-3",
1084
+ "expected-serial-number": "ALCLF846403A",
1085
+ "onu-service-profile": "default",
1086
+ "uni-service-configuration": {
1087
+ "uni-id": "LAN1",
1088
+ "service-profile": "default"
1089
+ }
1090
+ }
1091
+ }
1092
+ },
1093
+ "example": {
1094
+ "ont:ont": {
1095
+ "ont-type": "G-010G-Q",
1096
+ "fiber-name": "INES-1-1-4-3",
1097
+ "expected-serial-number": "ALCLF846403A",
1098
+ "onu-service-profile": "default",
1099
+ "uni-service-configuration": {
1100
+ "uni-id": "LAN1",
1101
+ "service-profile": "default"
1102
+ }
1103
+ }
1104
+ }
1105
+ }
1106
+ },
1107
+ "example": {
1108
+ "target": "INES-1-1-4-3-a",
1109
+ "intent-type": "ont",
1110
+ "intent-type-version": "4",
1111
+ "required-network-state": "active",
1112
+ "intent-specific-data": {
1113
+ "ont:ont": {
1114
+ "ont-type": "G-010G-Q",
1115
+ "fiber-name": "INES-1-1-4-3",
1116
+ "expected-serial-number": "ALCLF846403A",
1117
+ "onu-service-profile": "default",
1118
+ "uni-service-configuration": {
1119
+ "uni-id": "LAN1",
1120
+ "service-profile": "default"
1121
+ }
1122
+ }
1123
+ }
1124
+ }
1125
+ }
1126
+ },
1127
+ "example": {
1128
+ "ibn:intent": {
1129
+ "target": "INES-1-1-4-3-a",
1130
+ "intent-type": "ont",
1131
+ "intent-type-version": "4",
1132
+ "required-network-state": "active",
1133
+ "intent-specific-data": {
1134
+ "ont:ont": {
1135
+ "ont-type": "G-010G-Q",
1136
+ "fiber-name": "INES-1-1-4-3",
1137
+ "expected-serial-number": "ALCLF846403A",
1138
+ "onu-service-profile": "default",
1139
+ "uni-service-configuration": {
1140
+ "uni-id": "LAN1",
1141
+ "service-profile": "default"
1142
+ }
1143
+ }
1144
+ }
1145
+ }
1146
+ }
1147
+ }
1148
+ },
1149
+ {
1150
+ "name": "query",
1151
+ "type": "object",
1152
+ "info": "{\"altiplano-triggerSyncUponSuccess\": \"true\"}",
1153
+ "required": true,
1154
+ "schema": {
1155
+ "title": "query",
1156
+ "type": "object"
1157
+ }
1158
+ }
1159
+ ],
1160
+ "output": {
1161
+ "name": "result",
1162
+ "type": "object",
1163
+ "description": "A JSON Object containing status, code and the result",
1164
+ "schema": {
1165
+ "title": "result",
1166
+ "type": "object"
1167
+ }
1168
+ },
1169
+ "roles": [
1170
+ "admin"
1171
+ ],
1172
+ "route": {
1173
+ "verb": "POST",
1174
+ "path": "/createOntWithQuery"
1175
+ },
1176
+ "task": true
1177
+ },
798
1178
  {
799
1179
  "name": "getOnt",
800
1180
  "summary": "GET ont",
@@ -1256,6 +1636,217 @@
1256
1636
  "path": "/auditl2User"
1257
1637
  },
1258
1638
  "task": true
1639
+ },
1640
+ {
1641
+ "name": "getIbnIntent",
1642
+ "summary": "GET ibn intent",
1643
+ "description": "GET ibn intent",
1644
+ "input": [
1645
+ {
1646
+ "name": "intent",
1647
+ "type": "string",
1648
+ "info": "the intent value, type (MYINTONT1,ont)",
1649
+ "required": true,
1650
+ "schema": {
1651
+ "title": "intent",
1652
+ "type": "string"
1653
+ }
1654
+ }
1655
+ ],
1656
+ "output": {
1657
+ "name": "result",
1658
+ "type": "object",
1659
+ "description": "A JSON Object containing status, code and the result",
1660
+ "schema": {
1661
+ "title": "result",
1662
+ "type": "object"
1663
+ }
1664
+ },
1665
+ "roles": [
1666
+ "admin"
1667
+ ],
1668
+ "route": {
1669
+ "verb": "POST",
1670
+ "path": "/getIbnIntent"
1671
+ },
1672
+ "task": true
1673
+ },
1674
+ {
1675
+ "name": "modifyIbnIntent",
1676
+ "summary": "Modify ibn intent",
1677
+ "description": "This request sample is used to modify intent state.\r\nThe value of required-network-state can be active or suspend or delete",
1678
+ "input": [
1679
+ {
1680
+ "name": "intent",
1681
+ "type": "string",
1682
+ "info": "the intent value, type (MYINTONT1,ont)",
1683
+ "required": true,
1684
+ "schema": {
1685
+ "title": "intent",
1686
+ "type": "string"
1687
+ }
1688
+ },
1689
+ {
1690
+ "name": "body",
1691
+ "type": "object",
1692
+ "info": ": {\"ibn:intent\": {\"intent-type-version\": 123, \"required-network-state\": \"string\"}}",
1693
+ "required": true,
1694
+ "schema": {
1695
+ "title": "LockontRequest",
1696
+ "required": [
1697
+ "ibn:intent"
1698
+ ],
1699
+ "type": "object",
1700
+ "properties": {
1701
+ "ibn:intent": {
1702
+ "title": "IbnIntent3",
1703
+ "required": [
1704
+ "intent-type-version",
1705
+ "required-network-state"
1706
+ ],
1707
+ "type": "object",
1708
+ "properties": {
1709
+ "intent-type-version": {
1710
+ "type": "integer"
1711
+ },
1712
+ "required-network-state": {
1713
+ "type": "string"
1714
+ }
1715
+ },
1716
+ "example": {
1717
+ "intent-type-version": 4,
1718
+ "required-network-state": "suspend"
1719
+ }
1720
+ }
1721
+ },
1722
+ "example": {
1723
+ "ibn:intent": {
1724
+ "intent-type-version": 4,
1725
+ "required-network-state": "suspend"
1726
+ }
1727
+ }
1728
+ }
1729
+ }
1730
+ ],
1731
+ "output": {
1732
+ "name": "result",
1733
+ "type": "object",
1734
+ "description": "A JSON Object containing status, code and the result",
1735
+ "schema": {
1736
+ "title": "result",
1737
+ "type": "object"
1738
+ }
1739
+ },
1740
+ "roles": [
1741
+ "admin"
1742
+ ],
1743
+ "route": {
1744
+ "verb": "POST",
1745
+ "path": "/modifyIbnIntent"
1746
+ },
1747
+ "task": true
1748
+ },
1749
+ {
1750
+ "name": "deleteIbnIntent",
1751
+ "summary": "Delete ibn intent",
1752
+ "description": "This request sample is used to delete an intent.",
1753
+ "input": [
1754
+ {
1755
+ "name": "intent",
1756
+ "type": "string",
1757
+ "info": "the intent value, type (MYINTONT1,ont)",
1758
+ "required": true,
1759
+ "schema": {
1760
+ "title": "intent",
1761
+ "type": "string"
1762
+ }
1763
+ }
1764
+ ],
1765
+ "output": {
1766
+ "name": "result",
1767
+ "type": "object",
1768
+ "description": "A JSON Object containing status, code and the result",
1769
+ "schema": {
1770
+ "title": "result",
1771
+ "type": "object"
1772
+ }
1773
+ },
1774
+ "roles": [
1775
+ "admin"
1776
+ ],
1777
+ "route": {
1778
+ "verb": "POST",
1779
+ "path": "/deleteIbnIntent"
1780
+ },
1781
+ "task": true
1782
+ },
1783
+ {
1784
+ "name": "synchronizeIbnIntent",
1785
+ "summary": "Synchronize ibn intent",
1786
+ "description": "Synchronize ibn intent",
1787
+ "input": [
1788
+ {
1789
+ "name": "intent",
1790
+ "type": "string",
1791
+ "info": "the intent value, type (MYINTONT1,ont)",
1792
+ "required": true,
1793
+ "schema": {
1794
+ "title": "intent",
1795
+ "type": "string"
1796
+ }
1797
+ }
1798
+ ],
1799
+ "output": {
1800
+ "name": "result",
1801
+ "type": "object",
1802
+ "description": "A JSON Object containing status, code and the result",
1803
+ "schema": {
1804
+ "title": "result",
1805
+ "type": "object"
1806
+ }
1807
+ },
1808
+ "roles": [
1809
+ "admin"
1810
+ ],
1811
+ "route": {
1812
+ "verb": "POST",
1813
+ "path": "/synchronizeIbnIntent"
1814
+ },
1815
+ "task": true
1816
+ },
1817
+ {
1818
+ "name": "auditIbnIntent",
1819
+ "summary": "Audit ibn intent",
1820
+ "description": "Audit ibn intent",
1821
+ "input": [
1822
+ {
1823
+ "name": "intent",
1824
+ "type": "string",
1825
+ "info": "the intent value, type (MYINTONT1,ont)",
1826
+ "required": true,
1827
+ "schema": {
1828
+ "title": "intent",
1829
+ "type": "string"
1830
+ }
1831
+ }
1832
+ ],
1833
+ "output": {
1834
+ "name": "result",
1835
+ "type": "object",
1836
+ "description": "A JSON Object containing status, code and the result",
1837
+ "schema": {
1838
+ "title": "result",
1839
+ "type": "object"
1840
+ }
1841
+ },
1842
+ "roles": [
1843
+ "admin"
1844
+ ],
1845
+ "route": {
1846
+ "verb": "POST",
1847
+ "path": "/auditIbnIntent"
1848
+ },
1849
+ "task": true
1259
1850
  }
1260
1851
  ],
1261
1852
  "views": []
Binary file