@itentialopensource/adapter-nokia_nsp_network_management 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 (179) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +38 -0
  5. package/BROKER.md +211 -0
  6. package/CALLS.md +206 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +13 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +646 -0
  13. package/README.md +343 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +22 -0
  16. package/TAB1.md +14 -0
  17. package/TAB2.md +321 -0
  18. package/TROUBLESHOOT.md +47 -0
  19. package/adapter.js +11110 -0
  20. package/adapterBase.js +1452 -0
  21. package/entities/.generic/action.json +214 -0
  22. package/entities/.generic/schema.json +28 -0
  23. package/entities/.system/action.json +52 -0
  24. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  25. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  26. package/entities/.system/schema.json +19 -0
  27. package/entities/.system/schemaTokenReq.json +53 -0
  28. package/entities/.system/schemaTokenResp.json +31 -0
  29. package/entities/AddressPool/action.json +65 -0
  30. package/entities/AddressPool/mockdatafiles/getIPv4AddressPool-default.json +47 -0
  31. package/entities/AddressPool/mockdatafiles/obtainValueFromPool-default.json +23 -0
  32. package/entities/AddressPool/schema.json +32 -0
  33. package/entities/AuditAndAlignment/action.json +165 -0
  34. package/entities/AuditAndAlignment/mockdatafiles/alignConfigurationDeployment-default.json +6 -0
  35. package/entities/AuditAndAlignment/mockdatafiles/alignConfigurationTemplateAllDeployments-default.json +7 -0
  36. package/entities/AuditAndAlignment/mockdatafiles/alignConfigurationTemplateMisalignedDeployments-default.json +7 -0
  37. package/entities/AuditAndAlignment/mockdatafiles/auditDeployment-default.json +7 -0
  38. package/entities/AuditAndAlignment/mockdatafiles/auditNodeDeployments-default.json +6 -0
  39. package/entities/AuditAndAlignment/mockdatafiles/auditTemplate-default.json +7 -0
  40. package/entities/AuditAndAlignment/mockdatafiles/checkAuditStatusCount-default.json +15 -0
  41. package/entities/AuditAndAlignment/mockdatafiles/getAuditDetails-default.json +9 -0
  42. package/entities/AuditAndAlignment/schema.json +26 -0
  43. package/entities/BaselineOperationsRestconfAPI/action.json +207 -0
  44. package/entities/BaselineOperationsRestconfAPI/mockdatafiles/createBaselineDetector-default.json +35 -0
  45. package/entities/BaselineOperationsRestconfAPI/mockdatafiles/getAllBaselines-default.json +44 -0
  46. package/entities/BaselineOperationsRestconfAPI/mockdatafiles/getBaseline-default.json +24 -0
  47. package/entities/BaselineOperationsRestconfAPI/mockdatafiles/getBaselineDetector-default.json +15 -0
  48. package/entities/BaselineOperationsRestconfAPI/mockdatafiles/patchBaselineDetector-default.json +13 -0
  49. package/entities/BaselineOperationsRestconfAPI/schema.json +39 -0
  50. package/entities/Brownfield/action.json +24 -0
  51. package/entities/Brownfield/mockdatafiles/discoverDeployments-default.json +7 -0
  52. package/entities/Brownfield/schema.json +19 -0
  53. package/entities/ConfigurationDeployments/action.json +207 -0
  54. package/entities/ConfigurationDeployments/mockdatafiles/createDeployment-default.json +7 -0
  55. package/entities/ConfigurationDeployments/mockdatafiles/createPortGroup-default.json +18 -0
  56. package/entities/ConfigurationDeployments/mockdatafiles/createPortGroupDirectory-default.json +16 -0
  57. package/entities/ConfigurationDeployments/mockdatafiles/deleteDeployments-default.json +7 -0
  58. package/entities/ConfigurationDeployments/mockdatafiles/getDeployments-default.json +322 -0
  59. package/entities/ConfigurationDeployments/mockdatafiles/getPortGroupFDN-default.json +18 -0
  60. package/entities/ConfigurationDeployments/mockdatafiles/getSpecificDeployment-default.json +43 -0
  61. package/entities/ConfigurationDeployments/mockdatafiles/replaceDeployment-default.json +7 -0
  62. package/entities/ConfigurationDeployments/mockdatafiles/updateDeploymentConfiguration-default.json +7 -0
  63. package/entities/ConfigurationDeployments/schema.json +28 -0
  64. package/entities/ConfigurationTemplates/action.json +85 -0
  65. package/entities/ConfigurationTemplates/mockdatafiles/createTemplate-default.json +4 -0
  66. package/entities/ConfigurationTemplates/mockdatafiles/getTemplates-default.json +195 -0
  67. package/entities/ConfigurationTemplates/schema.json +22 -0
  68. package/entities/DataTablesRetention/action.json +86 -0
  69. package/entities/DataTablesRetention/mockdatafiles/getBaselineAgeoutPolicySettings-default.json +22 -0
  70. package/entities/DataTablesRetention/mockdatafiles/getIndicatorAgeoutPolicySettings-default.json +16 -0
  71. package/entities/DataTablesRetention/schema.json +22 -0
  72. package/entities/IETFL2Model/action.json +67 -0
  73. package/entities/IETFL2Model/mockdatafiles/getL2TopologyAttributes-default.json +5 -0
  74. package/entities/IETFL2Model/mockdatafiles/getL2TopologyNodeTerminationPoints-default.json +69 -0
  75. package/entities/IETFL2Model/schema.json +21 -0
  76. package/entities/IETFL3Model/action.json +277 -0
  77. package/entities/IETFL3Model/mockdatafiles/getAllNodesInANetwork-default.json +207 -0
  78. package/entities/IETFL3Model/mockdatafiles/getL3TopologyAttribute-default.json +8 -0
  79. package/entities/IETFL3Model/mockdatafiles/getNetworkType-default.json +7 -0
  80. package/entities/IETFL3Model/mockdatafiles/getSpecificLinkInANetwork-default.json +67 -0
  81. package/entities/IETFL3Model/mockdatafiles/getSpecificNetwork-default.json +498 -0
  82. package/entities/IETFL3Model/mockdatafiles/getSpecificNodeInANetwork-default.json +56 -0
  83. package/entities/IETFL3Model/mockdatafiles/getSpecificTerminationPointsOfANode-default.json +17 -0
  84. package/entities/IETFL3Model/mockdatafiles/getSupportingLink-default.json +8 -0
  85. package/entities/IETFL3Model/mockdatafiles/getSupportingNetwork-default.json +7 -0
  86. package/entities/IETFL3Model/mockdatafiles/getSupportingTerminationPoint-default.json +9 -0
  87. package/entities/IETFL3Model/mockdatafiles/l3GETSRTopologyLinkAttributes-default.json +41 -0
  88. package/entities/IETFL3Model/mockdatafiles/l3GETSRTopologyNodeAttributes-default.json +16 -0
  89. package/entities/IETFL3Model/schema.json +42 -0
  90. package/entities/IETFLogicalInventoryRestconfAPI/action.json +235 -0
  91. package/entities/IETFLogicalInventoryRestconfAPI/mockdatafiles/retrieveNetworkInterfacesConfig-default.json +14 -0
  92. package/entities/IETFLogicalInventoryRestconfAPI/mockdatafiles/retrieveNetworkInterfacesUnnumbered-default.json +28 -0
  93. package/entities/IETFLogicalInventoryRestconfAPI/mockdatafiles/retrieveNetworkInterfacesUnnumberedIntf-default.json +21 -0
  94. package/entities/IETFLogicalInventoryRestconfAPI/mockdatafiles/retrieveNetworkSubInterfacesConfig-default.json +16 -0
  95. package/entities/IETFLogicalInventoryRestconfAPI/mockdatafiles/retrieveNetworkSubInterfacesIPv4Addresses-default.json +39 -0
  96. package/entities/IETFLogicalInventoryRestconfAPI/mockdatafiles/retrieveNetworkSubInterfacesIPv6Addresses-default.json +38 -0
  97. package/entities/IETFLogicalInventoryRestconfAPI/mockdatafiles/retrieveNetworkSubInterfacesState-default.json +15 -0
  98. package/entities/IETFLogicalInventoryRestconfAPI/mockdatafiles/retrieveResyncPolicyNodeVersionEntity-default.json +797 -0
  99. package/entities/IETFLogicalInventoryRestconfAPI/schema.json +51 -0
  100. package/entities/IETFSAPTopology/action.json +67 -0
  101. package/entities/IETFSAPTopology/mockdatafiles/getIETFNetworkFromSpecificNode-default.json +483 -0
  102. package/entities/IETFSAPTopology/mockdatafiles/getSAPNetwork-default.json +9 -0
  103. package/entities/IETFSAPTopology/mockdatafiles/getSAPsOnASpecificNodeOfSpecificServiceType-default.json +153 -0
  104. package/entities/IETFSAPTopology/schema.json +21 -0
  105. package/entities/IndicatorRules/action.json +106 -0
  106. package/entities/IndicatorRules/mockdatafiles/getAllIndicatorRules-default.json +818 -0
  107. package/entities/IndicatorRules/mockdatafiles/getSpecificIndicatorRule-default.json +119 -0
  108. package/entities/IndicatorRules/schema.json +23 -0
  109. package/entities/IndicatorTemplates/action.json +106 -0
  110. package/entities/IndicatorTemplates/mockdatafiles/avgCPUAllNodesAllActions-default.json +105 -0
  111. package/entities/IndicatorTemplates/mockdatafiles/getAllIndicatorTemplates-default.json +512 -0
  112. package/entities/IndicatorTemplates/mockdatafiles/getSpecificIndicatorTemplate-default.json +88 -0
  113. package/entities/IndicatorTemplates/mockdatafiles/uPDATEIndicatorTemplate-default.json +48 -0
  114. package/entities/IndicatorTemplates/schema.json +23 -0
  115. package/entities/Intent/action.json +105 -0
  116. package/entities/Intent/mockdatafiles/getIntent-default.json +161 -0
  117. package/entities/Intent/mockdatafiles/synchronizeIntent-default.json +6 -0
  118. package/entities/Intent/schema.json +23 -0
  119. package/entities/IntentTypeManagement/action.json +65 -0
  120. package/entities/IntentTypeManagement/mockdatafiles/getIntentTypes-default.json +482 -0
  121. package/entities/IntentTypeManagement/mockdatafiles/importIntentTypeFromIntentManager-default.json +6 -0
  122. package/entities/IntentTypeManagement/mockdatafiles/removeIntentType-default.json +7 -0
  123. package/entities/IntentTypeManagement/schema.json +21 -0
  124. package/entities/LogicalInventoryRestconfAPI/action.json +107 -0
  125. package/entities/LogicalInventoryRestconfAPI/mockdatafiles/nspInventoryFindWithFilter-default.json +528 -0
  126. package/entities/LogicalInventoryRestconfAPI/mockdatafiles/retrieveResyncPolicy-default.json +4189 -0
  127. package/entities/LogicalInventoryRestconfAPI/mockdatafiles/retrieveResyncPolicyNEAndVersionSpecific-default.json +1083 -0
  128. package/entities/LogicalInventoryRestconfAPI/mockdatafiles/retrieveResyncPollingPolicyNESpecific-default.json +1113 -0
  129. package/entities/LogicalInventoryRestconfAPI/schema.json +34 -0
  130. package/entities/ManageZTPListFromDeviceAdministrator/action.json +85 -0
  131. package/entities/ManageZTPListFromDeviceAdministrator/mockdatafiles/getZTPListFromDeviceAdministrator-default.json +114 -0
  132. package/entities/ManageZTPListFromDeviceAdministrator/schema.json +33 -0
  133. package/entities/RouterNECorrelationMappingService/action.json +147 -0
  134. package/entities/RouterNECorrelationMappingService/mockdatafiles/getCorrelationPolicy-default.json +38 -0
  135. package/entities/RouterNECorrelationMappingService/mockdatafiles/getRouterNeMapping-default.json +32 -0
  136. package/entities/RouterNECorrelationMappingService/mockdatafiles/getSpecificMappingPolicy-default.json +32 -0
  137. package/entities/RouterNECorrelationMappingService/schema.json +47 -0
  138. package/entities/TemplateMigration/action.json +44 -0
  139. package/entities/TemplateMigration/mockdatafiles/cloneTemplate-default.json +7 -0
  140. package/entities/TemplateMigration/mockdatafiles/migrateDeployments-default.json +7 -0
  141. package/entities/TemplateMigration/schema.json +20 -0
  142. package/entities/UploadMappingFiles/action.json +45 -0
  143. package/entities/UploadMappingFiles/mockdatafiles/getIETFMappingFiles-default.json +953 -0
  144. package/entities/UploadMappingFiles/schema.json +31 -0
  145. package/error.json +190 -0
  146. package/metadata.json +61 -0
  147. package/package.json +81 -0
  148. package/pronghorn.json +5141 -0
  149. package/propertiesDecorators.json +14 -0
  150. package/propertiesSchema.json +1666 -0
  151. package/refs?service=git-upload-pack +0 -0
  152. package/report/creationReport.json +657 -0
  153. package/report/update-postman.json-OpenApi3Json.json +112049 -0
  154. package/report/updateReport1718639512342.json +120 -0
  155. package/sampleProperties.json +268 -0
  156. package/test/integration/adapterTestBasicGet.js +83 -0
  157. package/test/integration/adapterTestConnectivity.js +142 -0
  158. package/test/integration/adapterTestIntegration.js +3836 -0
  159. package/test/unit/adapterBaseTestUnit.js +1024 -0
  160. package/test/unit/adapterTestUnit.js +5403 -0
  161. package/utils/adapterInfo.js +206 -0
  162. package/utils/addAuth.js +94 -0
  163. package/utils/artifactize.js +146 -0
  164. package/utils/basicGet.js +50 -0
  165. package/utils/checkMigrate.js +63 -0
  166. package/utils/entitiesToDB.js +179 -0
  167. package/utils/findPath.js +74 -0
  168. package/utils/methodDocumentor.js +273 -0
  169. package/utils/modify.js +152 -0
  170. package/utils/packModificationScript.js +35 -0
  171. package/utils/patches2bundledDeps.js +90 -0
  172. package/utils/pre-commit.sh +32 -0
  173. package/utils/removeHooks.js +20 -0
  174. package/utils/setup.js +33 -0
  175. package/utils/taskMover.js +309 -0
  176. package/utils/tbScript.js +239 -0
  177. package/utils/tbUtils.js +489 -0
  178. package/utils/testRunner.js +298 -0
  179. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,322 @@
1
+ {
2
+ "nsp-icm:deployments": {
3
+ "@": {
4
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments",
5
+ "nsp-model:identifier": "/nsp-icm:icm/deployments"
6
+ },
7
+ "deployment": [
8
+ {
9
+ "@": {
10
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment",
11
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/7']'][target-identifier-value='1/2/7']",
12
+ "nsp-model:creation-time": "2024-04-23T17:00:47.349Z",
13
+ "nsp-model:last-modified-time": "2024-04-23T17:00:48.936Z"
14
+ },
15
+ "template-name": "Configure Port",
16
+ "target-identifier-value": "1/2/7",
17
+ "merge": true,
18
+ "deployment-action": "deploy",
19
+ "ne-id": "72.20.20.2",
20
+ "ne-name": "sr2",
21
+ "status": "intent-aligned",
22
+ "message": "Alignment Successful",
23
+ "detailed-message": "Alignment Successful",
24
+ "target": "/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/7']",
25
+ "target-data": "{\"port\":{\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1600,\"mode\":\"access\"},\"admin-state\":\"enable\"}}",
26
+ "deployed-target-data": "{\"icm-equipment-port-ethernet:icm-equipment-port-ethernet\" : {\"port\":{\"admin-state\":\"enable\",\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1600,\"mode\":\"access\"}}}}",
27
+ "deployment-status": "deployed-aligned",
28
+ "deployment-status-message": "Alignment Successful",
29
+ "config-status": "modified",
30
+ "is-discovering": false,
31
+ "role": "physical",
32
+ "category": "port",
33
+ "create-start-time": "2024-04-23T17:00:47.345730Z",
34
+ "create-end-time": "2024-04-23T17:00:47.345752Z",
35
+ "last-modified-time": "2024-04-23T17:00:48.920467Z",
36
+ "created-by": "admin",
37
+ "last-aligned-by": "admin",
38
+ "last-audited-by": "admin",
39
+ "align-end-time": "2024-04-23T17:00:48.920482Z",
40
+ "audit-details": {
41
+ "@": {
42
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment/audit-details",
43
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/7']'][target-identifier-value='1/2/7']/audit-details"
44
+ }
45
+ }
46
+ },
47
+ {
48
+ "@": {
49
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment",
50
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/10']'][target-identifier-value='1/2/10']",
51
+ "nsp-model:creation-time": "2024-04-23T16:59:55.136Z",
52
+ "nsp-model:last-modified-time": "2024-04-23T16:59:57.808Z"
53
+ },
54
+ "template-name": "Configure Port",
55
+ "target-identifier-value": "1/2/10",
56
+ "merge": true,
57
+ "deployment-action": "deploy",
58
+ "ne-id": "72.20.20.2",
59
+ "ne-name": "sr2",
60
+ "status": "intent-aligned",
61
+ "message": "Alignment Successful",
62
+ "detailed-message": "Alignment Successful",
63
+ "target": "/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/10']",
64
+ "target-data": "{\"port\":{\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1492,\"mode\":\"access\"},\"admin-state\":\"enable\"}}",
65
+ "deployed-target-data": "{\"icm-equipment-port-ethernet:icm-equipment-port-ethernet\" : {\"port\":{\"admin-state\":\"enable\",\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1492,\"mode\":\"access\"}}}}",
66
+ "deployment-status": "deployed-aligned",
67
+ "deployment-status-message": "Alignment Successful",
68
+ "config-status": "modified",
69
+ "is-discovering": false,
70
+ "role": "physical",
71
+ "category": "port",
72
+ "create-start-time": "2024-04-23T16:59:55.062190Z",
73
+ "create-end-time": "2024-04-23T16:59:55.062203Z",
74
+ "last-modified-time": "2024-04-23T16:59:57.805819Z",
75
+ "created-by": "admin",
76
+ "last-aligned-by": "admin",
77
+ "last-audited-by": "admin",
78
+ "align-end-time": "2024-04-23T16:59:57.805825Z",
79
+ "audit-details": {
80
+ "@": {
81
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment/audit-details",
82
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/10']'][target-identifier-value='1/2/10']/audit-details"
83
+ }
84
+ }
85
+ },
86
+ {
87
+ "@": {
88
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment",
89
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/9']'][target-identifier-value='1/2/9']",
90
+ "nsp-model:creation-time": "2024-04-23T16:59:54.869Z",
91
+ "nsp-model:last-modified-time": "2024-04-23T16:59:56.737Z"
92
+ },
93
+ "template-name": "Configure Port",
94
+ "target-identifier-value": "1/2/9",
95
+ "merge": true,
96
+ "deployment-action": "deploy",
97
+ "ne-id": "72.20.20.2",
98
+ "ne-name": "sr2",
99
+ "status": "intent-aligned",
100
+ "message": "Alignment Successful",
101
+ "detailed-message": "Alignment Successful",
102
+ "target": "/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/9']",
103
+ "target-data": "{\"port\":{\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1492,\"mode\":\"access\"},\"admin-state\":\"enable\"}}",
104
+ "deployed-target-data": "{\"icm-equipment-port-ethernet:icm-equipment-port-ethernet\" : {\"port\":{\"admin-state\":\"enable\",\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1492,\"mode\":\"access\"}}}}",
105
+ "deployment-status": "deployed-aligned",
106
+ "deployment-status-message": "Alignment Successful",
107
+ "config-status": "modified",
108
+ "is-discovering": false,
109
+ "role": "physical",
110
+ "category": "port",
111
+ "create-start-time": "2024-04-23T16:59:54.866034Z",
112
+ "create-end-time": "2024-04-23T16:59:54.866062Z",
113
+ "last-modified-time": "2024-04-23T16:59:56.734480Z",
114
+ "created-by": "admin",
115
+ "last-aligned-by": "admin",
116
+ "last-audited-by": "admin",
117
+ "align-end-time": "2024-04-23T16:59:56.734487Z",
118
+ "audit-details": {
119
+ "@": {
120
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment/audit-details",
121
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/9']'][target-identifier-value='1/2/9']/audit-details"
122
+ }
123
+ }
124
+ },
125
+ {
126
+ "@": {
127
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment",
128
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/8']'][target-identifier-value='1/2/8']",
129
+ "nsp-model:creation-time": "2024-04-23T17:00:50.792Z",
130
+ "nsp-model:last-modified-time": "2024-04-23T17:00:51.666Z"
131
+ },
132
+ "template-name": "Configure Port",
133
+ "target-identifier-value": "1/2/8",
134
+ "merge": true,
135
+ "deployment-action": "deploy",
136
+ "ne-id": "72.20.20.2",
137
+ "ne-name": "sr2",
138
+ "status": "intent-aligned",
139
+ "message": "Alignment Successful",
140
+ "detailed-message": "Alignment Successful",
141
+ "target": "/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/8']",
142
+ "target-data": "{\"port\":{\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1600,\"mode\":\"access\"},\"admin-state\":\"enable\"}}",
143
+ "deployed-target-data": "{\"icm-equipment-port-ethernet:icm-equipment-port-ethernet\" : {\"port\":{\"admin-state\":\"enable\",\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1600,\"mode\":\"access\"}}}}",
144
+ "deployment-status": "deployed-aligned",
145
+ "deployment-status-message": "Alignment Successful",
146
+ "config-status": "modified",
147
+ "is-discovering": false,
148
+ "role": "physical",
149
+ "category": "port",
150
+ "create-start-time": "2024-04-23T17:00:50.789758Z",
151
+ "create-end-time": "2024-04-23T17:00:50.789778Z",
152
+ "last-modified-time": "2024-04-23T17:00:51.663647Z",
153
+ "created-by": "admin",
154
+ "last-aligned-by": "admin",
155
+ "last-audited-by": "admin",
156
+ "align-end-time": "2024-04-23T17:00:51.663658Z",
157
+ "audit-details": {
158
+ "@": {
159
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment/audit-details",
160
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/8']'][target-identifier-value='1/2/8']/audit-details"
161
+ }
162
+ }
163
+ },
164
+ {
165
+ "@": {
166
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment",
167
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.3']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/9']'][target-identifier-value='1/2/9']",
168
+ "nsp-model:creation-time": "2024-04-23T16:59:55.394Z",
169
+ "nsp-model:last-modified-time": "2024-04-23T17:00:26.505Z"
170
+ },
171
+ "template-name": "Configure Port",
172
+ "target-identifier-value": "1/2/9",
173
+ "merge": true,
174
+ "deployment-action": "deploy",
175
+ "ne-id": "72.20.20.3",
176
+ "ne-name": "sr3",
177
+ "status": "intent-aligned",
178
+ "message": "Alignment Successful",
179
+ "detailed-message": "Alignment Successful",
180
+ "target": "/nsp-equipment:network/network-element[ne-id='72.20.20.3']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/9']",
181
+ "target-data": "{\"port\":{\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1600,\"mode\":\"access\"},\"admin-state\":\"enable\"}}",
182
+ "deployed-target-data": "{\"icm-equipment-port-ethernet:icm-equipment-port-ethernet\" : {\"port\":{\"admin-state\":\"enable\",\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1600,\"mode\":\"access\"}}}}",
183
+ "deployment-status": "deployed-aligned",
184
+ "deployment-status-message": "Alignment Successful",
185
+ "config-status": "modified",
186
+ "is-discovering": false,
187
+ "role": "physical",
188
+ "category": "port",
189
+ "create-start-time": "2024-04-23T16:59:55.392231Z",
190
+ "create-end-time": "2024-04-23T16:59:55.392247Z",
191
+ "last-modified-time": "2024-04-23T17:00:26.502858Z",
192
+ "created-by": "admin",
193
+ "last-aligned-by": "admin",
194
+ "last-audited-by": "admin",
195
+ "align-end-time": "2024-04-23T17:00:26.502869Z",
196
+ "audit-details": {
197
+ "@": {
198
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment/audit-details",
199
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.3']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/9']'][target-identifier-value='1/2/9']/audit-details"
200
+ }
201
+ }
202
+ },
203
+ {
204
+ "@": {
205
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment",
206
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.3']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/10']'][target-identifier-value='1/2/10']",
207
+ "nsp-model:creation-time": "2024-04-23T16:59:55.451Z",
208
+ "nsp-model:last-modified-time": "2024-04-23T17:00:27.471Z"
209
+ },
210
+ "template-name": "Configure Port",
211
+ "target-identifier-value": "1/2/10",
212
+ "merge": true,
213
+ "deployment-action": "deploy",
214
+ "ne-id": "72.20.20.3",
215
+ "ne-name": "sr3",
216
+ "status": "intent-aligned",
217
+ "message": "Alignment Successful",
218
+ "detailed-message": "Alignment Successful",
219
+ "target": "/nsp-equipment:network/network-element[ne-id='72.20.20.3']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/10']",
220
+ "target-data": "{\"port\":{\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1600,\"mode\":\"access\"},\"admin-state\":\"enable\"}}",
221
+ "deployed-target-data": "{\"icm-equipment-port-ethernet:icm-equipment-port-ethernet\" : {\"port\":{\"admin-state\":\"enable\",\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1600,\"mode\":\"access\"}}}}",
222
+ "deployment-status": "deployed-aligned",
223
+ "deployment-status-message": "Alignment Successful",
224
+ "config-status": "modified",
225
+ "is-discovering": false,
226
+ "role": "physical",
227
+ "category": "port",
228
+ "create-start-time": "2024-04-23T16:59:55.448840Z",
229
+ "create-end-time": "2024-04-23T16:59:55.448851Z",
230
+ "last-modified-time": "2024-04-23T17:00:27.469069Z",
231
+ "created-by": "admin",
232
+ "last-aligned-by": "admin",
233
+ "last-audited-by": "admin",
234
+ "align-end-time": "2024-04-23T17:00:27.469080Z",
235
+ "audit-details": {
236
+ "@": {
237
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment/audit-details",
238
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.3']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/10']'][target-identifier-value='1/2/10']/audit-details"
239
+ }
240
+ }
241
+ },
242
+ {
243
+ "@": {
244
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment",
245
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure EQoS'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']'][target-identifier-value='Egress100#100']",
246
+ "nsp-model:creation-time": "2024-04-23T17:00:14.983Z",
247
+ "nsp-model:last-modified-time": "2024-04-23T17:00:17.739Z"
248
+ },
249
+ "template-name": "Configure EQoS",
250
+ "target-identifier-value": "Egress100#100",
251
+ "merge": true,
252
+ "deployment-action": "deploy",
253
+ "ne-id": "72.20.20.2",
254
+ "ne-name": "sr2",
255
+ "status": "intent-aligned",
256
+ "message": "Alignment Successful",
257
+ "detailed-message": "Alignment Successful",
258
+ "target": "/nsp-equipment:network/network-element[ne-id='72.20.20.2']",
259
+ "target-data": "{\"sap-egress\": {\"description\": \"Egress QoS 1\",\"fc\": [{\"fc-name\": \"be\",\"queue\": \"1\"},{\"fc-name\": \"l2\",\"queue\": \"2\"},{\"fc-name\": \"af\",\"queue\": \"3\"},{\"fc-name\": \"l1\",\"queue\": \"4\"},{\"fc-name\": \"h2\",\"queue\": \"5\"},{\"fc-name\": \"ef\",\"queue\": \"6\"},{\"fc-name\": \"h1\",\"queue\": \"7\"},{\"fc-name\": \"nc\",\"queue\": \"8\"}],\"queue\": [{\"adaptation-rule\": {\"cir\": \"min\",\"pir\": \"max\"},\"queue-id\": 1,\"queue-type\": \"auto-expedited\",\"rate\": {\"cir\": 100,\"pir\": 1000}},{\"adaptation-rule\": {\"cir\": \"min\",\"pir\": \"max\"},\"queue-id\": 2,\"queue-type\": \"expedited\",\"rate\": {\"cir\": 100,\"pir\": 1000}},{\"adaptation-rule\": {\"cir\": \"min\",\"pir\": \"max\"},\"queue-id\": 3,\"queue-type\": \"expedited\",\"rate\": {\"cir\": 100,\"pir\": 1000}},{\"adaptation-rule\": {\"cir\": \"min\",\"pir\": \"max\"},\"queue-id\": 4,\"queue-type\": \"expedited\",\"rate\": {\"cir\": 100,\"pir\": 1000}},{\"adaptation-rule\": {\"cir\": \"min\",\"pir\": \"max\"},\"queue-id\": 5,\"queue-type\": \"expedited\",\"rate\": {\"cir\": 100,\"pir\": 1000}},{\"adaptation-rule\": {\"cir\": \"min\",\"pir\": \"max\"},\"queue-id\": 6,\"queue-type\": \"expedited\",\"rate\": {\"cir\": 100,\"pir\": 1000}},{\"adaptation-rule\": {\"cir\": \"min\",\"pir\": \"max\"},\"queue-id\": 7,\"queue-type\": \"expedited\",\"rate\": {\"cir\": 100,\"pir\": 1000}},{\"adaptation-rule\": {\"cir\": \"min\",\"pir\": \"max\"},\"queue-id\": 8,\"queue-type\": \"expedited\",\"rate\": {\"cir\": 100,\"pir\": 1000}}]}}",
260
+ "deployed-target-data": "{\"icm-qos-sapegress-srqos:icm-qos-sapegress-srqos\" : {\"sap-egress\":{\"description\":\"Egress QoS 1\",\"fc\":[{\"fc-name\":\"be\",\"queue\":\"1\"},{\"fc-name\":\"l2\",\"queue\":\"2\"},{\"fc-name\":\"af\",\"queue\":\"3\"},{\"fc-name\":\"l1\",\"queue\":\"4\"},{\"fc-name\":\"h2\",\"queue\":\"5\"},{\"fc-name\":\"ef\",\"queue\":\"6\"},{\"fc-name\":\"h1\",\"queue\":\"7\"},{\"fc-name\":\"nc\",\"queue\":\"8\"}],\"queue\":[{\"adaptation-rule\":{\"cir\":\"min\",\"pir\":\"max\"},\"queue-id\":1,\"queue-type\":\"auto-expedited\",\"rate\":{\"cir\":100,\"pir\":1000}},{\"adaptation-rule\":{\"cir\":\"min\",\"pir\":\"max\"},\"queue-id\":2,\"queue-type\":\"expedited\",\"rate\":{\"cir\":100,\"pir\":1000}},{\"adaptation-rule\":{\"cir\":\"min\",\"pir\":\"max\"},\"queue-id\":3,\"queue-type\":\"expedited\",\"rate\":{\"cir\":100,\"pir\":1000}},{\"adaptation-rule\":{\"cir\":\"min\",\"pir\":\"max\"},\"queue-id\":4,\"queue-type\":\"expedited\",\"rate\":{\"cir\":100,\"pir\":1000}},{\"adaptation-rule\":{\"cir\":\"min\",\"pir\":\"max\"},\"queue-id\":5,\"queue-type\":\"expedited\",\"rate\":{\"cir\":100,\"pir\":1000}},{\"adaptation-rule\":{\"cir\":\"min\",\"pir\":\"max\"},\"queue-id\":6,\"queue-type\":\"expedited\",\"rate\":{\"cir\":100,\"pir\":1000}},{\"adaptation-rule\":{\"cir\":\"min\",\"pir\":\"max\"},\"queue-id\":7,\"queue-type\":\"expedited\",\"rate\":{\"cir\":100,\"pir\":1000}},{\"adaptation-rule\":{\"cir\":\"min\",\"pir\":\"max\"},\"queue-id\":8,\"queue-type\":\"expedited\",\"rate\":{\"cir\":100,\"pir\":1000}}]}}}",
261
+ "deployment-status": "deployed-aligned",
262
+ "deployment-status-message": "Alignment Successful",
263
+ "config-status": "modified",
264
+ "is-discovering": false,
265
+ "role": "logical",
266
+ "category": "QoS",
267
+ "create-start-time": "2024-04-23T17:00:14.979897Z",
268
+ "create-end-time": "2024-04-23T17:00:14.979934Z",
269
+ "last-modified-time": "2024-04-23T17:00:17.736513Z",
270
+ "created-by": "admin",
271
+ "last-aligned-by": "admin",
272
+ "last-audited-by": "admin",
273
+ "align-end-time": "2024-04-23T17:00:17.736523Z",
274
+ "audit-details": {
275
+ "@": {
276
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment/audit-details",
277
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure EQoS'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']'][target-identifier-value='Egress100#100']/audit-details"
278
+ }
279
+ }
280
+ },
281
+ {
282
+ "@": {
283
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment",
284
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure LAG'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']'][target-identifier-value='lag-100#100']",
285
+ "nsp-model:creation-time": "2024-04-23T17:00:35.104Z",
286
+ "nsp-model:last-modified-time": "2024-04-23T17:00:37.875Z"
287
+ },
288
+ "template-name": "Configure LAG",
289
+ "target-identifier-value": "lag-100#100",
290
+ "merge": true,
291
+ "deployment-action": "deploy",
292
+ "ne-id": "72.20.20.2",
293
+ "ne-name": "sr2",
294
+ "status": "intent-aligned",
295
+ "message": "Alignment Successful",
296
+ "detailed-message": "Alignment Successful",
297
+ "target": "/nsp-equipment:network/network-element[ne-id='72.20.20.2']",
298
+ "target-data": "{\"lag\":{\"mode\":\"access\",\"lacp\":{\"enableLacp\":false},\"per-link-hash\":{\"enablePerLinkHash\":false,\"weighted\":{\"enableWeighted\":false}},\"admin-state\":\"enable\",\"encap-type\":\"qinq\",\"port-type\":\"hs\",\"port-threshold\":{\"value\":1,\"action\":\"down\"},\"port\":[{\"port-id\":\"1/2/9\"},{\"port-id\":\"1/2/10\"}]}}",
299
+ "deployed-target-data": "{\"icm-logical-lag-access:icm-logical-lag-access\" : {\"lag\":{\"admin-state\":\"enable\",\"mode\":\"access\",\"lacp\":{\"enableLacp\":false},\"per-link-hash\":{\"enablePerLinkHash\":false,\"weighted\":{\"enableWeighted\":false}},\"encap-type\":\"qinq\",\"port-type\":\"hs\",\"port-threshold\":{\"value\":1,\"action\":\"down\"},\"port\":[{\"port-id\":\"1/2/9\"},{\"port-id\":\"1/2/10\"}]}}}",
300
+ "deployment-status": "deployed-aligned",
301
+ "deployment-status-message": "Alignment Successful",
302
+ "config-status": "modified",
303
+ "is-discovering": false,
304
+ "role": "logical",
305
+ "category": "LAG",
306
+ "create-start-time": "2024-04-23T17:00:35.101582Z",
307
+ "create-end-time": "2024-04-23T17:00:35.101599Z",
308
+ "last-modified-time": "2024-04-23T17:00:37.873310Z",
309
+ "created-by": "admin",
310
+ "last-aligned-by": "admin",
311
+ "last-audited-by": "admin",
312
+ "align-end-time": "2024-04-23T17:00:37.873321Z",
313
+ "audit-details": {
314
+ "@": {
315
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment/audit-details",
316
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure LAG'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']'][target-identifier-value='lag-100#100']/audit-details"
317
+ }
318
+ }
319
+ }
320
+ ]
321
+ }
322
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "response": {
3
+ "status": 0,
4
+ "startRow": 0,
5
+ "endRow": 0,
6
+ "totalRows": 1,
7
+ "data": {
8
+ "fdn": "fdn:model:group:EquipmentGroup:718393",
9
+ "name": "AccessPorts",
10
+ "description": "N/A",
11
+ "category": "port",
12
+ "creationType": "manual",
13
+ "advancedFilterExpression": "( name EQUAL '1/2/3' OR name EQUAL '1/2/4' OR name EQUAL '1/2/5')",
14
+ "groupMemberCount": 12,
15
+ "usePhysicalMapLayout": false
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "nsp-icm:deployment": [
3
+ {
4
+ "@": {
5
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment",
6
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/7']'][target-identifier-value='1/2/7']",
7
+ "nsp-model:creation-time": "2024-04-23T17:00:47.349Z",
8
+ "nsp-model:last-modified-time": "2024-04-23T17:00:48.936Z"
9
+ },
10
+ "template-name": "Configure Port",
11
+ "target-identifier-value": "1/2/7",
12
+ "merge": true,
13
+ "deployment-action": "deploy",
14
+ "ne-id": "72.20.20.2",
15
+ "ne-name": "sr2",
16
+ "status": "intent-aligned",
17
+ "message": "Alignment Successful",
18
+ "detailed-message": "Alignment Successful",
19
+ "target": "/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/7']",
20
+ "target-data": "{\"port\":{\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1600,\"mode\":\"access\"},\"admin-state\":\"enable\"}}",
21
+ "deployed-target-data": "{\"icm-equipment-port-ethernet:icm-equipment-port-ethernet\" : {\"port\":{\"admin-state\":\"enable\",\"description\":null,\"ethernet\":{\"dot1q-etype\":null,\"pbb-etype\":null,\"qinq-etype\":null,\"hold-time\":{},\"down-when-looped\":{},\"lldp\":{\"dest-mac\":[]},\"encap-type\":\"qinq\",\"mtu\":1600,\"mode\":\"access\"}}}}",
22
+ "deployment-status": "deployed-aligned",
23
+ "deployment-status-message": "Alignment Successful",
24
+ "config-status": "modified",
25
+ "is-discovering": false,
26
+ "role": "physical",
27
+ "category": "port",
28
+ "create-start-time": "2024-04-23T17:00:47.345730Z",
29
+ "create-end-time": "2024-04-23T17:00:47.345752Z",
30
+ "last-modified-time": "2024-04-23T17:00:48.920467Z",
31
+ "created-by": "admin",
32
+ "last-aligned-by": "admin",
33
+ "last-audited-by": "admin",
34
+ "align-end-time": "2024-04-23T17:00:48.920482Z",
35
+ "audit-details": {
36
+ "@": {
37
+ "nsp-model:schema-nodeid": "/nsp-icm:icm/deployments/deployment/audit-details",
38
+ "nsp-model:identifier": "/nsp-icm:icm/deployments/deployment[template-name='Configure Port'][target='/nsp-equipment:network/network-element[ne-id='72.20.20.2']/hardware-component/port[component-id='shelf=1/cardSlot=1/card=1/mdaSlot=2/mda=2/port=1/2/7']'][target-identifier-value='1/2/7']/audit-details"
39
+ }
40
+ }
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "nsp-icm:output": {
3
+ "status-code": 200,
4
+ "message": "Replace Deployment started."
5
+ },
6
+ "statusCode": "OK"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "nsp-icm:output": {
3
+ "status-code": 200,
4
+ "message": "Update Deployment started."
5
+ },
6
+ "statusCode": "OK"
7
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "createPortGroupDirectory",
12
+ "enum": [
13
+ "createPortGroupDirectory",
14
+ "createPortGroup",
15
+ "getPortGroupFDN",
16
+ "createDeployment",
17
+ "updateDeploymentConfiguration",
18
+ "replaceDeployment",
19
+ "getDeployments",
20
+ "getSpecificDeployment",
21
+ "deleteSingleDeployment",
22
+ "deleteDeployments"
23
+ ],
24
+ "external_name": "ph_request_type"
25
+ }
26
+ },
27
+ "definitions": {}
28
+ }
@@ -0,0 +1,85 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "createTemplate",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/restconf/data/nsp-icm:icm/templates?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": "mockdatafiles/createTemplate-default.json"
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "getTemplates",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/restconf/data/nsp-icm:icm/templates?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "sendGetBody": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": "mockdatafiles/getTemplates-default.json"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "updateTemplateLifecycle",
46
+ "protocol": "REST",
47
+ "method": "PATCH",
48
+ "entitypath": "{base_path}/{version}/restconf/data/nsp-icm:icm/templates/{pathv1}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "deleteTemplate",
66
+ "protocol": "REST",
67
+ "method": "DELETE",
68
+ "entitypath": "{base_path}/{version}/restconf/data/nsp-icm:icm/templates/{pathv1}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "requestDatatype": "JSON",
74
+ "responseDatatype": "JSON",
75
+ "headers": {},
76
+ "responseObjects": [
77
+ {
78
+ "type": "default",
79
+ "key": "",
80
+ "mockFile": ""
81
+ }
82
+ ]
83
+ }
84
+ ]
85
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "Buffer",
3
+ "data": []
4
+ }