@itentialopensource/adapter-nokia_altiplano 0.2.0 → 0.5.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/CHANGELOG.md +24 -0
- package/ENHANCE.md +6 -6
- package/PROPERTIES.md +9 -3
- package/README.md +112 -542
- package/SUMMARY.md +4 -4
- package/SYSTEMINFO.md +12 -0
- package/TROUBLESHOOT.md +1 -1
- package/adapter.js +1392 -540
- package/adapterBase.js +548 -283
- package/entities/Entity/action.json +70 -0
- package/entities/Entity/schema.json +21 -0
- package/entities/Intent/action.json +116 -0
- package/entities/Intent/schema.json +6 -1
- package/error.json +6 -0
- package/package.json +3 -3
- package/pronghorn.json +944 -330
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +350 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/updateReport1651493162166.json +114 -0
- package/test/integration/adapterTestIntegration.js +227 -0
- package/test/unit/adapterBaseTestUnit.js +22 -24
- package/test/unit/adapterTestUnit.js +437 -51
- package/utils/tbUtils.js +20 -7
package/pronghorn.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
],
|
|
10
10
|
"methods": [
|
|
11
11
|
{
|
|
12
|
-
"name": "
|
|
12
|
+
"name": "iapUpdateAdapterConfiguration",
|
|
13
13
|
"summary": "Updates the adapter configuration",
|
|
14
14
|
"description": "Updates the adapter configuration file with the provided changes",
|
|
15
15
|
"input": [
|
|
@@ -78,27 +78,25 @@
|
|
|
78
78
|
],
|
|
79
79
|
"route": {
|
|
80
80
|
"verb": "POST",
|
|
81
|
-
"path": "/
|
|
81
|
+
"path": "/iapUpdateAdapterConfiguration"
|
|
82
82
|
},
|
|
83
83
|
"task": true
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
|
-
"name": "
|
|
86
|
+
"name": "iapFindAdapterPath",
|
|
87
87
|
"summary": "Provides the ability to see if a particular API path is supported by the adapter",
|
|
88
88
|
"description": "Provides the ability to see if a particular API path is supported by the adapter",
|
|
89
|
-
"input": [
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
],
|
|
89
|
+
"input": [{
|
|
90
|
+
"name": "apiPath",
|
|
91
|
+
"type": "string",
|
|
92
|
+
"info": "The API Path you want to check - make sure to not include base path and version",
|
|
93
|
+
"description": "The API Path you want to check - make sure to not include base path and version",
|
|
94
|
+
"schema": {
|
|
95
|
+
"title": "apiPath",
|
|
96
|
+
"type": "string"
|
|
97
|
+
},
|
|
98
|
+
"required": true
|
|
99
|
+
}],
|
|
102
100
|
"output": {
|
|
103
101
|
"name": "result",
|
|
104
102
|
"type": "object",
|
|
@@ -113,36 +111,30 @@
|
|
|
113
111
|
],
|
|
114
112
|
"route": {
|
|
115
113
|
"verb": "POST",
|
|
116
|
-
"path": "/
|
|
114
|
+
"path": "/iapFindAdapterPath"
|
|
117
115
|
},
|
|
118
116
|
"task": true
|
|
119
117
|
},
|
|
120
118
|
{
|
|
121
|
-
"name": "
|
|
122
|
-
"summary": "
|
|
123
|
-
"description": "
|
|
124
|
-
"input": [
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
119
|
+
"name": "iapSuspendAdapter",
|
|
120
|
+
"summary": "Suspends the adapter",
|
|
121
|
+
"description": "Suspends the adapter",
|
|
122
|
+
"input": [{
|
|
123
|
+
"name": "mode",
|
|
124
|
+
"type": "enum",
|
|
125
|
+
"enumerals": ["pause", "error"],
|
|
126
|
+
"info": "How incoming requests are handled. Defaults to 'pause'",
|
|
127
|
+
"description": "How incoming requests are handled. Defaults to 'pause'",
|
|
128
|
+
"schema": {
|
|
129
|
+
"title": "mode",
|
|
130
|
+
"type": "string"
|
|
134
131
|
},
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"type": "boolean",
|
|
138
|
-
"info": "Whether the input properties should be saved",
|
|
139
|
-
"required": true
|
|
140
|
-
}
|
|
141
|
-
],
|
|
132
|
+
"required": false
|
|
133
|
+
}],
|
|
142
134
|
"output": {
|
|
143
135
|
"name": "result",
|
|
144
136
|
"type": "object",
|
|
145
|
-
"description": "A JSON Object containing the
|
|
137
|
+
"description": "A JSON Object containing the adapter suspended status",
|
|
146
138
|
"schema": {
|
|
147
139
|
"title": "result",
|
|
148
140
|
"type": "object"
|
|
@@ -153,38 +145,42 @@
|
|
|
153
145
|
],
|
|
154
146
|
"route": {
|
|
155
147
|
"verb": "POST",
|
|
156
|
-
"path": "/
|
|
148
|
+
"path": "/iapSuspendAdapter"
|
|
157
149
|
},
|
|
158
150
|
"task": true
|
|
159
151
|
},
|
|
160
152
|
{
|
|
161
|
-
"name": "
|
|
162
|
-
"summary": "
|
|
163
|
-
"description": "
|
|
153
|
+
"name": "iapUnsuspendAdapter",
|
|
154
|
+
"summary": "Unsuspends the adapter",
|
|
155
|
+
"description": "Unsuspends the adapter",
|
|
164
156
|
"input": [],
|
|
165
157
|
"output": {
|
|
166
158
|
"name": "result",
|
|
167
|
-
"type": "
|
|
168
|
-
"description": "
|
|
159
|
+
"type": "object",
|
|
160
|
+
"description": "A JSON Object containing the adapter suspended status",
|
|
161
|
+
"schema": {
|
|
162
|
+
"title": "result",
|
|
163
|
+
"type": "object"
|
|
164
|
+
}
|
|
169
165
|
},
|
|
170
166
|
"roles": [
|
|
171
167
|
"admin"
|
|
172
168
|
],
|
|
173
169
|
"route": {
|
|
174
170
|
"verb": "POST",
|
|
175
|
-
"path": "/
|
|
171
|
+
"path": "/iapUnsuspendAdapter"
|
|
176
172
|
},
|
|
177
173
|
"task": true
|
|
178
174
|
},
|
|
179
175
|
{
|
|
180
|
-
"name": "
|
|
181
|
-
"summary": "
|
|
182
|
-
"description": "
|
|
176
|
+
"name": "iapGetAdapterQueue",
|
|
177
|
+
"summary": "Return the requests that are waiting in the queue if throttling is enabled",
|
|
178
|
+
"description": "Return the requests that are waiting in the queue if throttling is enabled",
|
|
183
179
|
"input": [],
|
|
184
180
|
"output": {
|
|
185
181
|
"name": "result",
|
|
186
182
|
"type": "object",
|
|
187
|
-
"description": "A JSON Object containing the
|
|
183
|
+
"description": "A JSON Object containing the adapter queue",
|
|
188
184
|
"schema": {
|
|
189
185
|
"title": "result",
|
|
190
186
|
"type": "object"
|
|
@@ -195,15 +191,32 @@
|
|
|
195
191
|
],
|
|
196
192
|
"route": {
|
|
197
193
|
"verb": "POST",
|
|
198
|
-
"path": "/
|
|
194
|
+
"path": "/iapGetAdapterQueue"
|
|
199
195
|
},
|
|
200
196
|
"task": true
|
|
201
197
|
},
|
|
202
198
|
{
|
|
203
|
-
"name": "
|
|
204
|
-
"summary": "Runs
|
|
205
|
-
"description": "Runs
|
|
206
|
-
"input": [
|
|
199
|
+
"name": "iapTroubleshootAdapter",
|
|
200
|
+
"summary": "Runs troubleshoot script for adapter",
|
|
201
|
+
"description": "Runs troubleshoot script for adapter",
|
|
202
|
+
"input": [
|
|
203
|
+
{
|
|
204
|
+
"name": "props",
|
|
205
|
+
"type": "object",
|
|
206
|
+
"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'}}",
|
|
207
|
+
"required": true,
|
|
208
|
+
"schema": {
|
|
209
|
+
"title": "props",
|
|
210
|
+
"type": "object"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "persistFlag",
|
|
215
|
+
"type": "boolean",
|
|
216
|
+
"info": "Whether the input properties should be saved",
|
|
217
|
+
"required": true
|
|
218
|
+
}
|
|
219
|
+
],
|
|
207
220
|
"output": {
|
|
208
221
|
"name": "result",
|
|
209
222
|
"type": "object",
|
|
@@ -218,35 +231,38 @@
|
|
|
218
231
|
],
|
|
219
232
|
"route": {
|
|
220
233
|
"verb": "POST",
|
|
221
|
-
"path": "/
|
|
234
|
+
"path": "/iapTroubleshootAdapter"
|
|
222
235
|
},
|
|
223
236
|
"task": true
|
|
224
237
|
},
|
|
225
238
|
{
|
|
226
|
-
"name": "
|
|
227
|
-
"summary": "
|
|
228
|
-
"description": "
|
|
229
|
-
"input": [
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
"info": "How incoming requests are handled. Defaults to 'pause'",
|
|
238
|
-
"description": "How incoming requests are handled. Defaults to 'pause'",
|
|
239
|
-
"schema": {
|
|
240
|
-
"title": "mode",
|
|
241
|
-
"type": "string"
|
|
242
|
-
},
|
|
243
|
-
"required": false
|
|
244
|
-
}
|
|
239
|
+
"name": "iapRunAdapterHealthcheck",
|
|
240
|
+
"summary": "Runs healthcheck script for adapter",
|
|
241
|
+
"description": "Runs healthcheck script for adapter",
|
|
242
|
+
"input": [],
|
|
243
|
+
"output": {
|
|
244
|
+
"name": "result",
|
|
245
|
+
"type": "boolean",
|
|
246
|
+
"description": "Whether healthcheck passed or failed"
|
|
247
|
+
},
|
|
248
|
+
"roles": [
|
|
249
|
+
"admin"
|
|
245
250
|
],
|
|
251
|
+
"route": {
|
|
252
|
+
"verb": "POST",
|
|
253
|
+
"path": "/iapRunAdapterHealthcheck"
|
|
254
|
+
},
|
|
255
|
+
"task": true
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "iapRunAdapterConnectivity",
|
|
259
|
+
"summary": "Runs connectivity check script for adapter",
|
|
260
|
+
"description": "Runs connectivity check script for adapter",
|
|
261
|
+
"input": [],
|
|
246
262
|
"output": {
|
|
247
263
|
"name": "result",
|
|
248
264
|
"type": "object",
|
|
249
|
-
"description": "A JSON Object containing the
|
|
265
|
+
"description": "A JSON Object containing the test results",
|
|
250
266
|
"schema": {
|
|
251
267
|
"title": "result",
|
|
252
268
|
"type": "object"
|
|
@@ -257,19 +273,19 @@
|
|
|
257
273
|
],
|
|
258
274
|
"route": {
|
|
259
275
|
"verb": "POST",
|
|
260
|
-
"path": "/
|
|
276
|
+
"path": "/iapRunAdapterConnectivity"
|
|
261
277
|
},
|
|
262
278
|
"task": true
|
|
263
279
|
},
|
|
264
280
|
{
|
|
265
|
-
"name": "
|
|
266
|
-
"summary": "
|
|
267
|
-
"description": "
|
|
281
|
+
"name": "iapRunAdapterBasicGet",
|
|
282
|
+
"summary": "Runs basicGet script for adapter",
|
|
283
|
+
"description": "Runs basicGet script for adapter",
|
|
268
284
|
"input": [],
|
|
269
285
|
"output": {
|
|
270
286
|
"name": "result",
|
|
271
287
|
"type": "object",
|
|
272
|
-
"description": "A JSON Object containing the
|
|
288
|
+
"description": "A JSON Object containing the test results",
|
|
273
289
|
"schema": {
|
|
274
290
|
"title": "result",
|
|
275
291
|
"type": "object"
|
|
@@ -280,21 +296,21 @@
|
|
|
280
296
|
],
|
|
281
297
|
"route": {
|
|
282
298
|
"verb": "POST",
|
|
283
|
-
"path": "/
|
|
299
|
+
"path": "/iapRunAdapterBasicGet"
|
|
284
300
|
},
|
|
285
301
|
"task": true
|
|
286
302
|
},
|
|
287
303
|
{
|
|
288
|
-
"name": "
|
|
289
|
-
"summary": "
|
|
290
|
-
"description": "
|
|
304
|
+
"name": "iapMoveAdapterEntitiesToDB",
|
|
305
|
+
"summary": "Moves entities from an adapter into the IAP database",
|
|
306
|
+
"description": "Moves entities from an adapter into the IAP database",
|
|
291
307
|
"input": [],
|
|
292
308
|
"output": {
|
|
293
|
-
"name": "
|
|
309
|
+
"name": "res",
|
|
294
310
|
"type": "object",
|
|
295
|
-
"description": "A JSON Object containing the
|
|
311
|
+
"description": "A JSON Object containing status, code and the response from the mongo transaction",
|
|
296
312
|
"schema": {
|
|
297
|
-
"title": "
|
|
313
|
+
"title": "res",
|
|
298
314
|
"type": "object"
|
|
299
315
|
}
|
|
300
316
|
},
|
|
@@ -303,7 +319,7 @@
|
|
|
303
319
|
],
|
|
304
320
|
"route": {
|
|
305
321
|
"verb": "POST",
|
|
306
|
-
"path": "/
|
|
322
|
+
"path": "/iapMoveAdapterEntitiesToDB"
|
|
307
323
|
},
|
|
308
324
|
"task": true
|
|
309
325
|
},
|
|
@@ -386,29 +402,6 @@
|
|
|
386
402
|
},
|
|
387
403
|
"task": true
|
|
388
404
|
},
|
|
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
405
|
{
|
|
413
406
|
"name": "getDevice",
|
|
414
407
|
"summary": "Get the Appliance",
|
|
@@ -556,7 +549,7 @@
|
|
|
556
549
|
"task": false
|
|
557
550
|
},
|
|
558
551
|
{
|
|
559
|
-
"name": "
|
|
552
|
+
"name": "iapGetDeviceCount",
|
|
560
553
|
"summary": "Gets a device count from the system",
|
|
561
554
|
"description": "Gets a device count from the system",
|
|
562
555
|
"input": [],
|
|
@@ -574,7 +567,7 @@
|
|
|
574
567
|
],
|
|
575
568
|
"route": {
|
|
576
569
|
"verb": "POST",
|
|
577
|
-
"path": "/
|
|
570
|
+
"path": "/iapGetDeviceCount"
|
|
578
571
|
},
|
|
579
572
|
"task": false
|
|
580
573
|
},
|
|
@@ -988,126 +981,667 @@
|
|
|
988
981
|
"task": true
|
|
989
982
|
},
|
|
990
983
|
{
|
|
991
|
-
"name": "
|
|
992
|
-
"summary": "
|
|
993
|
-
"description": "
|
|
994
|
-
"input": [
|
|
995
|
-
{
|
|
996
|
-
"name": "intent",
|
|
997
|
-
"type": "string",
|
|
998
|
-
"info": "the intent: string",
|
|
999
|
-
"required": true,
|
|
1000
|
-
"schema": {
|
|
1001
|
-
"title": "intent",
|
|
1002
|
-
"type": "string"
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
],
|
|
1006
|
-
"output": {
|
|
1007
|
-
"name": "result",
|
|
1008
|
-
"type": "object",
|
|
1009
|
-
"description": "A JSON Object containing status, code and the result",
|
|
1010
|
-
"schema": {
|
|
1011
|
-
"title": "result",
|
|
1012
|
-
"type": "object"
|
|
1013
|
-
}
|
|
1014
|
-
},
|
|
1015
|
-
"roles": [
|
|
1016
|
-
"admin"
|
|
1017
|
-
],
|
|
1018
|
-
"route": {
|
|
1019
|
-
"verb": "POST",
|
|
1020
|
-
"path": "/getOnt"
|
|
1021
|
-
},
|
|
1022
|
-
"task": true
|
|
1023
|
-
},
|
|
1024
|
-
{
|
|
1025
|
-
"name": "lockOnt",
|
|
1026
|
-
"summary": "Lock ont",
|
|
1027
|
-
"description": "This request sample is used to modify intent state.\r\nThe value of required-network-state can be active or suspend or delete",
|
|
984
|
+
"name": "createOntWithQuery",
|
|
985
|
+
"summary": "Create ont with query",
|
|
986
|
+
"description": "Create ont with query",
|
|
1028
987
|
"input": [
|
|
1029
|
-
{
|
|
1030
|
-
"name": "intent",
|
|
1031
|
-
"type": "string",
|
|
1032
|
-
"info": "the intent: string",
|
|
1033
|
-
"required": true,
|
|
1034
|
-
"schema": {
|
|
1035
|
-
"title": "intent",
|
|
1036
|
-
"type": "string"
|
|
1037
|
-
}
|
|
1038
|
-
},
|
|
1039
988
|
{
|
|
1040
989
|
"name": "body",
|
|
1041
990
|
"type": "object",
|
|
1042
|
-
"info": ": {\"ibn:intent\": {\"intent-type-version\":
|
|
991
|
+
"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\"}}}}}",
|
|
1043
992
|
"required": true,
|
|
1044
993
|
"schema": {
|
|
1045
|
-
"title": "
|
|
994
|
+
"title": "CreateontRequest",
|
|
1046
995
|
"required": [
|
|
1047
996
|
"ibn:intent"
|
|
1048
997
|
],
|
|
1049
998
|
"type": "object",
|
|
1050
999
|
"properties": {
|
|
1051
1000
|
"ibn:intent": {
|
|
1052
|
-
"title": "
|
|
1001
|
+
"title": "IbnIntent",
|
|
1053
1002
|
"required": [
|
|
1003
|
+
"target",
|
|
1004
|
+
"intent-type",
|
|
1054
1005
|
"intent-type-version",
|
|
1055
|
-
"required-network-state"
|
|
1006
|
+
"required-network-state",
|
|
1007
|
+
"intent-specific-data"
|
|
1056
1008
|
],
|
|
1057
1009
|
"type": "object",
|
|
1058
1010
|
"properties": {
|
|
1011
|
+
"target": {
|
|
1012
|
+
"type": "string"
|
|
1013
|
+
},
|
|
1014
|
+
"intent-type": {
|
|
1015
|
+
"type": "string"
|
|
1016
|
+
},
|
|
1059
1017
|
"intent-type-version": {
|
|
1060
|
-
"type": "
|
|
1018
|
+
"type": "string"
|
|
1061
1019
|
},
|
|
1062
1020
|
"required-network-state": {
|
|
1063
1021
|
"type": "string"
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1022
|
+
},
|
|
1023
|
+
"intent-specific-data": {
|
|
1024
|
+
"title": "IntentSpecificData",
|
|
1025
|
+
"required": [
|
|
1026
|
+
"ont:ont"
|
|
1027
|
+
],
|
|
1028
|
+
"type": "object",
|
|
1029
|
+
"properties": {
|
|
1030
|
+
"ont:ont": {
|
|
1031
|
+
"title": "OntOnt",
|
|
1032
|
+
"required": [
|
|
1033
|
+
"ont-type",
|
|
1034
|
+
"fiber-name",
|
|
1035
|
+
"expected-serial-number",
|
|
1036
|
+
"onu-service-profile",
|
|
1037
|
+
"uni-service-configuration"
|
|
1038
|
+
],
|
|
1039
|
+
"type": "object",
|
|
1040
|
+
"properties": {
|
|
1041
|
+
"ont-type": {
|
|
1042
|
+
"type": "string"
|
|
1043
|
+
},
|
|
1044
|
+
"fiber-name": {
|
|
1045
|
+
"type": "string"
|
|
1046
|
+
},
|
|
1047
|
+
"expected-serial-number": {
|
|
1048
|
+
"type": "string"
|
|
1049
|
+
},
|
|
1050
|
+
"onu-service-profile": {
|
|
1051
|
+
"type": "string"
|
|
1052
|
+
},
|
|
1053
|
+
"uni-service-configuration": {
|
|
1054
|
+
"title": "UniServiceConfiguration",
|
|
1055
|
+
"required": [
|
|
1056
|
+
"uni-id",
|
|
1057
|
+
"service-profile"
|
|
1058
|
+
],
|
|
1059
|
+
"type": "object",
|
|
1060
|
+
"properties": {
|
|
1061
|
+
"uni-id": {
|
|
1062
|
+
"type": "string"
|
|
1063
|
+
},
|
|
1064
|
+
"service-profile": {
|
|
1065
|
+
"type": "string"
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
"example": {
|
|
1069
|
+
"uni-id": "LAN1",
|
|
1070
|
+
"service-profile": "default"
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
"example": {
|
|
1075
|
+
"ont-type": "G-010G-Q",
|
|
1076
|
+
"fiber-name": "INES-1-1-4-3",
|
|
1077
|
+
"expected-serial-number": "ALCLF846403A",
|
|
1078
|
+
"onu-service-profile": "default",
|
|
1079
|
+
"uni-service-configuration": {
|
|
1080
|
+
"uni-id": "LAN1",
|
|
1081
|
+
"service-profile": "default"
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
},
|
|
1086
|
+
"example": {
|
|
1087
|
+
"ont:ont": {
|
|
1088
|
+
"ont-type": "G-010G-Q",
|
|
1089
|
+
"fiber-name": "INES-1-1-4-3",
|
|
1090
|
+
"expected-serial-number": "ALCLF846403A",
|
|
1091
|
+
"onu-service-profile": "default",
|
|
1092
|
+
"uni-service-configuration": {
|
|
1093
|
+
"uni-id": "LAN1",
|
|
1094
|
+
"service-profile": "default"
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
},
|
|
1100
|
+
"example": {
|
|
1101
|
+
"target": "INES-1-1-4-3-a",
|
|
1102
|
+
"intent-type": "ont",
|
|
1103
|
+
"intent-type-version": "4",
|
|
1104
|
+
"required-network-state": "active",
|
|
1105
|
+
"intent-specific-data": {
|
|
1106
|
+
"ont:ont": {
|
|
1107
|
+
"ont-type": "G-010G-Q",
|
|
1108
|
+
"fiber-name": "INES-1-1-4-3",
|
|
1109
|
+
"expected-serial-number": "ALCLF846403A",
|
|
1110
|
+
"onu-service-profile": "default",
|
|
1111
|
+
"uni-service-configuration": {
|
|
1112
|
+
"uni-id": "LAN1",
|
|
1113
|
+
"service-profile": "default"
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
"example": {
|
|
1121
|
+
"ibn:intent": {
|
|
1122
|
+
"target": "INES-1-1-4-3-a",
|
|
1123
|
+
"intent-type": "ont",
|
|
1124
|
+
"intent-type-version": "4",
|
|
1125
|
+
"required-network-state": "active",
|
|
1126
|
+
"intent-specific-data": {
|
|
1127
|
+
"ont:ont": {
|
|
1128
|
+
"ont-type": "G-010G-Q",
|
|
1129
|
+
"fiber-name": "INES-1-1-4-3",
|
|
1130
|
+
"expected-serial-number": "ALCLF846403A",
|
|
1131
|
+
"onu-service-profile": "default",
|
|
1132
|
+
"uni-service-configuration": {
|
|
1133
|
+
"uni-id": "LAN1",
|
|
1134
|
+
"service-profile": "default"
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"name": "query",
|
|
1144
|
+
"type": "object",
|
|
1145
|
+
"info": "{\"altiplano-triggerSyncUponSuccess\": \"true\"}",
|
|
1146
|
+
"required": true,
|
|
1147
|
+
"schema": {
|
|
1148
|
+
"title": "query",
|
|
1149
|
+
"type": "object"
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
],
|
|
1153
|
+
"output": {
|
|
1154
|
+
"name": "result",
|
|
1155
|
+
"type": "object",
|
|
1156
|
+
"description": "A JSON Object containing status, code and the result",
|
|
1157
|
+
"schema": {
|
|
1158
|
+
"title": "result",
|
|
1159
|
+
"type": "object"
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
"roles": [
|
|
1163
|
+
"admin"
|
|
1164
|
+
],
|
|
1165
|
+
"route": {
|
|
1166
|
+
"verb": "POST",
|
|
1167
|
+
"path": "/createOntWithQuery"
|
|
1168
|
+
},
|
|
1169
|
+
"task": true
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"name": "getOnt",
|
|
1173
|
+
"summary": "GET ont",
|
|
1174
|
+
"description": "GET ont",
|
|
1175
|
+
"input": [
|
|
1176
|
+
{
|
|
1177
|
+
"name": "intent",
|
|
1178
|
+
"type": "string",
|
|
1179
|
+
"info": "the intent: string",
|
|
1180
|
+
"required": true,
|
|
1181
|
+
"schema": {
|
|
1182
|
+
"title": "intent",
|
|
1183
|
+
"type": "string"
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
],
|
|
1187
|
+
"output": {
|
|
1188
|
+
"name": "result",
|
|
1189
|
+
"type": "object",
|
|
1190
|
+
"description": "A JSON Object containing status, code and the result",
|
|
1191
|
+
"schema": {
|
|
1192
|
+
"title": "result",
|
|
1193
|
+
"type": "object"
|
|
1194
|
+
}
|
|
1195
|
+
},
|
|
1196
|
+
"roles": [
|
|
1197
|
+
"admin"
|
|
1198
|
+
],
|
|
1199
|
+
"route": {
|
|
1200
|
+
"verb": "POST",
|
|
1201
|
+
"path": "/getOnt"
|
|
1202
|
+
},
|
|
1203
|
+
"task": true
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"name": "lockOnt",
|
|
1207
|
+
"summary": "Lock ont",
|
|
1208
|
+
"description": "This request sample is used to modify intent state.\r\nThe value of required-network-state can be active or suspend or delete",
|
|
1209
|
+
"input": [
|
|
1210
|
+
{
|
|
1211
|
+
"name": "intent",
|
|
1212
|
+
"type": "string",
|
|
1213
|
+
"info": "the intent: string",
|
|
1214
|
+
"required": true,
|
|
1215
|
+
"schema": {
|
|
1216
|
+
"title": "intent",
|
|
1217
|
+
"type": "string"
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
"name": "body",
|
|
1222
|
+
"type": "object",
|
|
1223
|
+
"info": ": {\"ibn:intent\": {\"intent-type-version\": 123, \"required-network-state\": \"string\"}}",
|
|
1224
|
+
"required": true,
|
|
1225
|
+
"schema": {
|
|
1226
|
+
"title": "LockontRequest",
|
|
1227
|
+
"required": [
|
|
1228
|
+
"ibn:intent"
|
|
1229
|
+
],
|
|
1230
|
+
"type": "object",
|
|
1231
|
+
"properties": {
|
|
1232
|
+
"ibn:intent": {
|
|
1233
|
+
"title": "IbnIntent3",
|
|
1234
|
+
"required": [
|
|
1235
|
+
"intent-type-version",
|
|
1236
|
+
"required-network-state"
|
|
1237
|
+
],
|
|
1238
|
+
"type": "object",
|
|
1239
|
+
"properties": {
|
|
1240
|
+
"intent-type-version": {
|
|
1241
|
+
"type": "integer"
|
|
1242
|
+
},
|
|
1243
|
+
"required-network-state": {
|
|
1244
|
+
"type": "string"
|
|
1245
|
+
}
|
|
1246
|
+
},
|
|
1247
|
+
"example": {
|
|
1248
|
+
"intent-type-version": 4,
|
|
1249
|
+
"required-network-state": "suspend"
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
},
|
|
1253
|
+
"example": {
|
|
1254
|
+
"ibn:intent": {
|
|
1255
|
+
"intent-type-version": 4,
|
|
1256
|
+
"required-network-state": "suspend"
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
],
|
|
1262
|
+
"output": {
|
|
1263
|
+
"name": "result",
|
|
1264
|
+
"type": "object",
|
|
1265
|
+
"description": "A JSON Object containing status, code and the result",
|
|
1266
|
+
"schema": {
|
|
1267
|
+
"title": "result",
|
|
1268
|
+
"type": "object"
|
|
1269
|
+
}
|
|
1270
|
+
},
|
|
1271
|
+
"roles": [
|
|
1272
|
+
"admin"
|
|
1273
|
+
],
|
|
1274
|
+
"route": {
|
|
1275
|
+
"verb": "POST",
|
|
1276
|
+
"path": "/lockOnt"
|
|
1277
|
+
},
|
|
1278
|
+
"task": true
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"name": "deleteOnt",
|
|
1282
|
+
"summary": "Delete ont",
|
|
1283
|
+
"description": "This request sample is used to delete an intent.",
|
|
1284
|
+
"input": [
|
|
1285
|
+
{
|
|
1286
|
+
"name": "intent",
|
|
1287
|
+
"type": "string",
|
|
1288
|
+
"info": "the intent: string",
|
|
1289
|
+
"required": true,
|
|
1290
|
+
"schema": {
|
|
1291
|
+
"title": "intent",
|
|
1292
|
+
"type": "string"
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
],
|
|
1296
|
+
"output": {
|
|
1297
|
+
"name": "result",
|
|
1298
|
+
"type": "object",
|
|
1299
|
+
"description": "A JSON Object containing status, code and the result",
|
|
1300
|
+
"schema": {
|
|
1301
|
+
"title": "result",
|
|
1302
|
+
"type": "object"
|
|
1303
|
+
}
|
|
1304
|
+
},
|
|
1305
|
+
"roles": [
|
|
1306
|
+
"admin"
|
|
1307
|
+
],
|
|
1308
|
+
"route": {
|
|
1309
|
+
"verb": "POST",
|
|
1310
|
+
"path": "/deleteOnt"
|
|
1311
|
+
},
|
|
1312
|
+
"task": true
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"name": "synchronizeOnt",
|
|
1316
|
+
"summary": "Synchronize ont",
|
|
1317
|
+
"description": "Synchronize ont",
|
|
1318
|
+
"input": [
|
|
1319
|
+
{
|
|
1320
|
+
"name": "intent",
|
|
1321
|
+
"type": "string",
|
|
1322
|
+
"info": "the intent: string",
|
|
1323
|
+
"required": true,
|
|
1324
|
+
"schema": {
|
|
1325
|
+
"title": "intent",
|
|
1326
|
+
"type": "string"
|
|
1327
|
+
}
|
|
1328
|
+
}
|
|
1329
|
+
],
|
|
1330
|
+
"output": {
|
|
1331
|
+
"name": "result",
|
|
1332
|
+
"type": "object",
|
|
1333
|
+
"description": "A JSON Object containing status, code and the result",
|
|
1334
|
+
"schema": {
|
|
1335
|
+
"title": "result",
|
|
1336
|
+
"type": "object"
|
|
1337
|
+
}
|
|
1338
|
+
},
|
|
1339
|
+
"roles": [
|
|
1340
|
+
"admin"
|
|
1341
|
+
],
|
|
1342
|
+
"route": {
|
|
1343
|
+
"verb": "POST",
|
|
1344
|
+
"path": "/synchronizeOnt"
|
|
1345
|
+
},
|
|
1346
|
+
"task": true
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"name": "auditOnt",
|
|
1350
|
+
"summary": "Audit ont",
|
|
1351
|
+
"description": "Audit ont",
|
|
1352
|
+
"input": [
|
|
1353
|
+
{
|
|
1354
|
+
"name": "intent",
|
|
1355
|
+
"type": "string",
|
|
1356
|
+
"info": "the intent: string",
|
|
1357
|
+
"required": true,
|
|
1358
|
+
"schema": {
|
|
1359
|
+
"title": "intent",
|
|
1360
|
+
"type": "string"
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
],
|
|
1364
|
+
"output": {
|
|
1365
|
+
"name": "result",
|
|
1366
|
+
"type": "object",
|
|
1367
|
+
"description": "A JSON Object containing status, code and the result",
|
|
1368
|
+
"schema": {
|
|
1369
|
+
"title": "result",
|
|
1370
|
+
"type": "object"
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1373
|
+
"roles": [
|
|
1374
|
+
"admin"
|
|
1375
|
+
],
|
|
1376
|
+
"route": {
|
|
1377
|
+
"verb": "POST",
|
|
1378
|
+
"path": "/auditOnt"
|
|
1379
|
+
},
|
|
1380
|
+
"task": true
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"name": "synchronizel2User",
|
|
1384
|
+
"summary": "Synchronize l2-user",
|
|
1385
|
+
"description": "Synchronize l2-user",
|
|
1386
|
+
"input": [
|
|
1387
|
+
{
|
|
1388
|
+
"name": "intent",
|
|
1389
|
+
"type": "string",
|
|
1390
|
+
"info": "the intent: string",
|
|
1391
|
+
"required": true,
|
|
1392
|
+
"schema": {
|
|
1393
|
+
"title": "intent",
|
|
1394
|
+
"type": "string"
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
],
|
|
1398
|
+
"output": {
|
|
1399
|
+
"name": "result",
|
|
1400
|
+
"type": "object",
|
|
1401
|
+
"description": "A JSON Object containing status, code and the result",
|
|
1402
|
+
"schema": {
|
|
1403
|
+
"title": "result",
|
|
1404
|
+
"type": "object"
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
"roles": [
|
|
1408
|
+
"admin"
|
|
1409
|
+
],
|
|
1410
|
+
"route": {
|
|
1411
|
+
"verb": "POST",
|
|
1412
|
+
"path": "/synchronizel2User"
|
|
1413
|
+
},
|
|
1414
|
+
"task": true
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"name": "getl2User",
|
|
1418
|
+
"summary": "GET l2-user",
|
|
1419
|
+
"description": "GET l2-user",
|
|
1420
|
+
"input": [
|
|
1421
|
+
{
|
|
1422
|
+
"name": "intent",
|
|
1423
|
+
"type": "string",
|
|
1424
|
+
"info": "the intent: string",
|
|
1425
|
+
"required": true,
|
|
1426
|
+
"schema": {
|
|
1427
|
+
"title": "intent",
|
|
1428
|
+
"type": "string"
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
],
|
|
1432
|
+
"output": {
|
|
1433
|
+
"name": "result",
|
|
1434
|
+
"type": "object",
|
|
1435
|
+
"description": "A JSON Object containing status, code and the result",
|
|
1436
|
+
"schema": {
|
|
1437
|
+
"title": "result",
|
|
1438
|
+
"type": "object"
|
|
1439
|
+
}
|
|
1440
|
+
},
|
|
1441
|
+
"roles": [
|
|
1442
|
+
"admin"
|
|
1443
|
+
],
|
|
1444
|
+
"route": {
|
|
1445
|
+
"verb": "POST",
|
|
1446
|
+
"path": "/getl2User"
|
|
1447
|
+
},
|
|
1448
|
+
"task": true
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"name": "modifyl2User",
|
|
1452
|
+
"summary": "Modify l2-user",
|
|
1453
|
+
"description": "This request sample is used to modify intent state.\r\nThe value of required-network-state can be active or suspend or delete",
|
|
1454
|
+
"input": [
|
|
1455
|
+
{
|
|
1456
|
+
"name": "intent",
|
|
1457
|
+
"type": "string",
|
|
1458
|
+
"info": "the intent: string",
|
|
1459
|
+
"required": true,
|
|
1460
|
+
"schema": {
|
|
1461
|
+
"title": "intent",
|
|
1462
|
+
"type": "string"
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"name": "body",
|
|
1467
|
+
"type": "object",
|
|
1468
|
+
"info": ": {\"ibn:intent\": {\"intent-type\": \"string\", \"intent-type-version\": 123, \"intent-specific-data\": {\"l2-user:l2-user\": {\"service-profile\": \"string\"}}}}",
|
|
1469
|
+
"required": true,
|
|
1470
|
+
"schema": {
|
|
1471
|
+
"title": "Modifyl2-userRequest",
|
|
1472
|
+
"required": [
|
|
1473
|
+
"ibn:intent"
|
|
1474
|
+
],
|
|
1475
|
+
"type": "object",
|
|
1476
|
+
"properties": {
|
|
1477
|
+
"ibn:intent": {
|
|
1478
|
+
"title": "IbnIntent2",
|
|
1479
|
+
"required": [
|
|
1480
|
+
"intent-type",
|
|
1481
|
+
"intent-type-version",
|
|
1482
|
+
"intent-specific-data"
|
|
1483
|
+
],
|
|
1484
|
+
"type": "object",
|
|
1485
|
+
"properties": {
|
|
1486
|
+
"intent-type": {
|
|
1487
|
+
"type": "string"
|
|
1488
|
+
},
|
|
1489
|
+
"intent-type-version": {
|
|
1490
|
+
"type": "integer"
|
|
1491
|
+
},
|
|
1492
|
+
"intent-specific-data": {
|
|
1493
|
+
"title": "IntentSpecificData2",
|
|
1494
|
+
"required": [
|
|
1495
|
+
"l2-user:l2-user"
|
|
1496
|
+
],
|
|
1497
|
+
"type": "object",
|
|
1498
|
+
"properties": {
|
|
1499
|
+
"l2-user:l2-user": {
|
|
1500
|
+
"title": "L2UserL2User1",
|
|
1501
|
+
"required": [
|
|
1502
|
+
"service-profile"
|
|
1503
|
+
],
|
|
1504
|
+
"type": "object",
|
|
1505
|
+
"properties": {
|
|
1506
|
+
"service-profile": {
|
|
1507
|
+
"type": "string"
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
"example": {
|
|
1511
|
+
"service-profile": "HSI-100M-10M-16MAC"
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
"example": {
|
|
1516
|
+
"l2-user:l2-user": {
|
|
1517
|
+
"service-profile": "HSI-100M-10M-16MAC"
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
},
|
|
1522
|
+
"example": {
|
|
1523
|
+
"intent-type": "l2-user",
|
|
1524
|
+
"intent-type-version": 4,
|
|
1525
|
+
"intent-specific-data": {
|
|
1526
|
+
"l2-user:l2-user": {
|
|
1527
|
+
"service-profile": "HSI-100M-10M-16MAC"
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
},
|
|
1533
|
+
"example": {
|
|
1534
|
+
"ibn:intent": {
|
|
1535
|
+
"intent-type": "l2-user",
|
|
1536
|
+
"intent-type-version": 4,
|
|
1537
|
+
"intent-specific-data": {
|
|
1538
|
+
"l2-user:l2-user": {
|
|
1539
|
+
"service-profile": "HSI-100M-10M-16MAC"
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
],
|
|
1547
|
+
"output": {
|
|
1548
|
+
"name": "result",
|
|
1549
|
+
"type": "object",
|
|
1550
|
+
"description": "A JSON Object containing status, code and the result",
|
|
1551
|
+
"schema": {
|
|
1552
|
+
"title": "result",
|
|
1553
|
+
"type": "object"
|
|
1554
|
+
}
|
|
1555
|
+
},
|
|
1556
|
+
"roles": [
|
|
1557
|
+
"admin"
|
|
1558
|
+
],
|
|
1559
|
+
"route": {
|
|
1560
|
+
"verb": "POST",
|
|
1561
|
+
"path": "/modifyl2User"
|
|
1562
|
+
},
|
|
1563
|
+
"task": true
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"name": "deletel2User",
|
|
1567
|
+
"summary": "Delete l2-user",
|
|
1568
|
+
"description": "This request sample is used to delete an intent.",
|
|
1569
|
+
"input": [
|
|
1570
|
+
{
|
|
1571
|
+
"name": "intent",
|
|
1572
|
+
"type": "string",
|
|
1573
|
+
"info": "the intent: string",
|
|
1574
|
+
"required": true,
|
|
1575
|
+
"schema": {
|
|
1576
|
+
"title": "intent",
|
|
1577
|
+
"type": "string"
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
],
|
|
1581
|
+
"output": {
|
|
1582
|
+
"name": "result",
|
|
1583
|
+
"type": "object",
|
|
1584
|
+
"description": "A JSON Object containing status, code and the result",
|
|
1585
|
+
"schema": {
|
|
1586
|
+
"title": "result",
|
|
1587
|
+
"type": "object"
|
|
1588
|
+
}
|
|
1589
|
+
},
|
|
1590
|
+
"roles": [
|
|
1591
|
+
"admin"
|
|
1592
|
+
],
|
|
1593
|
+
"route": {
|
|
1594
|
+
"verb": "POST",
|
|
1595
|
+
"path": "/deletel2User"
|
|
1596
|
+
},
|
|
1597
|
+
"task": true
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"name": "auditl2User",
|
|
1601
|
+
"summary": "Audit l2-user",
|
|
1602
|
+
"description": "Audit l2-user",
|
|
1603
|
+
"input": [
|
|
1604
|
+
{
|
|
1605
|
+
"name": "intent",
|
|
1606
|
+
"type": "string",
|
|
1607
|
+
"info": "the intent: string",
|
|
1608
|
+
"required": true,
|
|
1609
|
+
"schema": {
|
|
1610
|
+
"title": "intent",
|
|
1611
|
+
"type": "string"
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1614
|
+
],
|
|
1615
|
+
"output": {
|
|
1616
|
+
"name": "result",
|
|
1617
|
+
"type": "object",
|
|
1618
|
+
"description": "A JSON Object containing status, code and the result",
|
|
1619
|
+
"schema": {
|
|
1620
|
+
"title": "result",
|
|
1621
|
+
"type": "object"
|
|
1622
|
+
}
|
|
1623
|
+
},
|
|
1624
|
+
"roles": [
|
|
1625
|
+
"admin"
|
|
1626
|
+
],
|
|
1627
|
+
"route": {
|
|
1628
|
+
"verb": "POST",
|
|
1629
|
+
"path": "/auditl2User"
|
|
1630
|
+
},
|
|
1631
|
+
"task": true
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
"name": "getIbnIntent",
|
|
1635
|
+
"summary": "GET ibn intent",
|
|
1636
|
+
"description": "GET ibn intent",
|
|
1637
|
+
"input": [
|
|
1638
|
+
{
|
|
1639
|
+
"name": "intent",
|
|
1640
|
+
"type": "string",
|
|
1641
|
+
"info": "the intent value, type (MYINTONT1,ont)",
|
|
1642
|
+
"required": true,
|
|
1643
|
+
"schema": {
|
|
1644
|
+
"title": "intent",
|
|
1111
1645
|
"type": "string"
|
|
1112
1646
|
}
|
|
1113
1647
|
}
|
|
@@ -1126,24 +1660,65 @@
|
|
|
1126
1660
|
],
|
|
1127
1661
|
"route": {
|
|
1128
1662
|
"verb": "POST",
|
|
1129
|
-
"path": "/
|
|
1663
|
+
"path": "/getIbnIntent"
|
|
1130
1664
|
},
|
|
1131
1665
|
"task": true
|
|
1132
1666
|
},
|
|
1133
1667
|
{
|
|
1134
|
-
"name": "
|
|
1135
|
-
"summary": "
|
|
1136
|
-
"description": "
|
|
1668
|
+
"name": "modifyIbnIntent",
|
|
1669
|
+
"summary": "Modify ibn intent",
|
|
1670
|
+
"description": "This request sample is used to modify intent state.\r\nThe value of required-network-state can be active or suspend or delete",
|
|
1137
1671
|
"input": [
|
|
1138
1672
|
{
|
|
1139
1673
|
"name": "intent",
|
|
1140
1674
|
"type": "string",
|
|
1141
|
-
"info": "the intent
|
|
1675
|
+
"info": "the intent value, type (MYINTONT1,ont)",
|
|
1142
1676
|
"required": true,
|
|
1143
1677
|
"schema": {
|
|
1144
1678
|
"title": "intent",
|
|
1145
1679
|
"type": "string"
|
|
1146
1680
|
}
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"name": "body",
|
|
1684
|
+
"type": "object",
|
|
1685
|
+
"info": ": {\"ibn:intent\": {\"intent-type-version\": 123, \"required-network-state\": \"string\"}}",
|
|
1686
|
+
"required": true,
|
|
1687
|
+
"schema": {
|
|
1688
|
+
"title": "LockontRequest",
|
|
1689
|
+
"required": [
|
|
1690
|
+
"ibn:intent"
|
|
1691
|
+
],
|
|
1692
|
+
"type": "object",
|
|
1693
|
+
"properties": {
|
|
1694
|
+
"ibn:intent": {
|
|
1695
|
+
"title": "IbnIntent3",
|
|
1696
|
+
"required": [
|
|
1697
|
+
"intent-type-version",
|
|
1698
|
+
"required-network-state"
|
|
1699
|
+
],
|
|
1700
|
+
"type": "object",
|
|
1701
|
+
"properties": {
|
|
1702
|
+
"intent-type-version": {
|
|
1703
|
+
"type": "integer"
|
|
1704
|
+
},
|
|
1705
|
+
"required-network-state": {
|
|
1706
|
+
"type": "string"
|
|
1707
|
+
}
|
|
1708
|
+
},
|
|
1709
|
+
"example": {
|
|
1710
|
+
"intent-type-version": 4,
|
|
1711
|
+
"required-network-state": "suspend"
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
"example": {
|
|
1716
|
+
"ibn:intent": {
|
|
1717
|
+
"intent-type-version": 4,
|
|
1718
|
+
"required-network-state": "suspend"
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1147
1722
|
}
|
|
1148
1723
|
],
|
|
1149
1724
|
"output": {
|
|
@@ -1160,19 +1735,19 @@
|
|
|
1160
1735
|
],
|
|
1161
1736
|
"route": {
|
|
1162
1737
|
"verb": "POST",
|
|
1163
|
-
"path": "/
|
|
1738
|
+
"path": "/modifyIbnIntent"
|
|
1164
1739
|
},
|
|
1165
1740
|
"task": true
|
|
1166
1741
|
},
|
|
1167
1742
|
{
|
|
1168
|
-
"name": "
|
|
1169
|
-
"summary": "
|
|
1170
|
-
"description": "
|
|
1743
|
+
"name": "deleteIbnIntent",
|
|
1744
|
+
"summary": "Delete ibn intent",
|
|
1745
|
+
"description": "This request sample is used to delete an intent.",
|
|
1171
1746
|
"input": [
|
|
1172
1747
|
{
|
|
1173
1748
|
"name": "intent",
|
|
1174
1749
|
"type": "string",
|
|
1175
|
-
"info": "the intent
|
|
1750
|
+
"info": "the intent value, type (MYINTONT1,ont)",
|
|
1176
1751
|
"required": true,
|
|
1177
1752
|
"schema": {
|
|
1178
1753
|
"title": "intent",
|
|
@@ -1194,19 +1769,19 @@
|
|
|
1194
1769
|
],
|
|
1195
1770
|
"route": {
|
|
1196
1771
|
"verb": "POST",
|
|
1197
|
-
"path": "/
|
|
1772
|
+
"path": "/deleteIbnIntent"
|
|
1198
1773
|
},
|
|
1199
1774
|
"task": true
|
|
1200
1775
|
},
|
|
1201
1776
|
{
|
|
1202
|
-
"name": "
|
|
1203
|
-
"summary": "Synchronize
|
|
1204
|
-
"description": "Synchronize
|
|
1777
|
+
"name": "synchronizeIbnIntent",
|
|
1778
|
+
"summary": "Synchronize ibn intent",
|
|
1779
|
+
"description": "Synchronize ibn intent",
|
|
1205
1780
|
"input": [
|
|
1206
1781
|
{
|
|
1207
1782
|
"name": "intent",
|
|
1208
1783
|
"type": "string",
|
|
1209
|
-
"info": "the intent
|
|
1784
|
+
"info": "the intent value, type (MYINTONT1,ont)",
|
|
1210
1785
|
"required": true,
|
|
1211
1786
|
"schema": {
|
|
1212
1787
|
"title": "intent",
|
|
@@ -1228,19 +1803,19 @@
|
|
|
1228
1803
|
],
|
|
1229
1804
|
"route": {
|
|
1230
1805
|
"verb": "POST",
|
|
1231
|
-
"path": "/
|
|
1806
|
+
"path": "/synchronizeIbnIntent"
|
|
1232
1807
|
},
|
|
1233
1808
|
"task": true
|
|
1234
1809
|
},
|
|
1235
1810
|
{
|
|
1236
|
-
"name": "
|
|
1237
|
-
"summary": "
|
|
1238
|
-
"description": "
|
|
1811
|
+
"name": "auditIbnIntent",
|
|
1812
|
+
"summary": "Audit ibn intent",
|
|
1813
|
+
"description": "Audit ibn intent",
|
|
1239
1814
|
"input": [
|
|
1240
1815
|
{
|
|
1241
1816
|
"name": "intent",
|
|
1242
1817
|
"type": "string",
|
|
1243
|
-
"info": "the intent
|
|
1818
|
+
"info": "the intent value, type (MYINTONT1,ont)",
|
|
1244
1819
|
"required": true,
|
|
1245
1820
|
"schema": {
|
|
1246
1821
|
"title": "intent",
|
|
@@ -1262,104 +1837,63 @@
|
|
|
1262
1837
|
],
|
|
1263
1838
|
"route": {
|
|
1264
1839
|
"verb": "POST",
|
|
1265
|
-
"path": "/
|
|
1840
|
+
"path": "/auditIbnIntent"
|
|
1266
1841
|
},
|
|
1267
1842
|
"task": true
|
|
1268
1843
|
},
|
|
1269
1844
|
{
|
|
1270
|
-
"name": "
|
|
1271
|
-
"summary": "
|
|
1272
|
-
"description": "
|
|
1845
|
+
"name": "getEntityOntView",
|
|
1846
|
+
"summary": "Get ONT Network View",
|
|
1847
|
+
"description": "Get ONT Network View",
|
|
1273
1848
|
"input": [
|
|
1274
1849
|
{
|
|
1275
|
-
"name": "
|
|
1850
|
+
"name": "isamVer",
|
|
1276
1851
|
"type": "string",
|
|
1277
|
-
"info": "the
|
|
1852
|
+
"info": "the ISAM Version",
|
|
1278
1853
|
"required": true,
|
|
1279
1854
|
"schema": {
|
|
1280
|
-
"title": "
|
|
1855
|
+
"title": "isamVer",
|
|
1281
1856
|
"type": "string"
|
|
1282
1857
|
}
|
|
1283
1858
|
},
|
|
1284
1859
|
{
|
|
1285
|
-
"name": "
|
|
1286
|
-
"type": "
|
|
1287
|
-
"info": "
|
|
1860
|
+
"name": "shelfName",
|
|
1861
|
+
"type": "string",
|
|
1862
|
+
"info": "the Shelf Name",
|
|
1288
1863
|
"required": true,
|
|
1289
1864
|
"schema": {
|
|
1290
|
-
"title": "
|
|
1291
|
-
"
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
],
|
|
1323
|
-
"type": "object",
|
|
1324
|
-
"properties": {
|
|
1325
|
-
"service-profile": {
|
|
1326
|
-
"type": "string"
|
|
1327
|
-
}
|
|
1328
|
-
},
|
|
1329
|
-
"example": {
|
|
1330
|
-
"service-profile": "HSI-100M-10M-16MAC"
|
|
1331
|
-
}
|
|
1332
|
-
}
|
|
1333
|
-
},
|
|
1334
|
-
"example": {
|
|
1335
|
-
"l2-user:l2-user": {
|
|
1336
|
-
"service-profile": "HSI-100M-10M-16MAC"
|
|
1337
|
-
}
|
|
1338
|
-
}
|
|
1339
|
-
}
|
|
1340
|
-
},
|
|
1341
|
-
"example": {
|
|
1342
|
-
"intent-type": "l2-user",
|
|
1343
|
-
"intent-type-version": 4,
|
|
1344
|
-
"intent-specific-data": {
|
|
1345
|
-
"l2-user:l2-user": {
|
|
1346
|
-
"service-profile": "HSI-100M-10M-16MAC"
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
|
-
},
|
|
1352
|
-
"example": {
|
|
1353
|
-
"ibn:intent": {
|
|
1354
|
-
"intent-type": "l2-user",
|
|
1355
|
-
"intent-type-version": 4,
|
|
1356
|
-
"intent-specific-data": {
|
|
1357
|
-
"l2-user:l2-user": {
|
|
1358
|
-
"service-profile": "HSI-100M-10M-16MAC"
|
|
1359
|
-
}
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1865
|
+
"title": "shelfName",
|
|
1866
|
+
"type": "string"
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"name": "demark",
|
|
1871
|
+
"type": "string",
|
|
1872
|
+
"info": "the Demark",
|
|
1873
|
+
"required": true,
|
|
1874
|
+
"schema": {
|
|
1875
|
+
"title": "demark",
|
|
1876
|
+
"type": "string"
|
|
1877
|
+
}
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"name": "child",
|
|
1881
|
+
"type": "string",
|
|
1882
|
+
"info": "is this a child (default false)",
|
|
1883
|
+
"required": false,
|
|
1884
|
+
"schema": {
|
|
1885
|
+
"title": "child",
|
|
1886
|
+
"type": "string"
|
|
1887
|
+
}
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
"name": "one",
|
|
1891
|
+
"type": "string",
|
|
1892
|
+
"info": "should there be only one (default true)",
|
|
1893
|
+
"required": false,
|
|
1894
|
+
"schema": {
|
|
1895
|
+
"title": "one",
|
|
1896
|
+
"type": "string"
|
|
1363
1897
|
}
|
|
1364
1898
|
}
|
|
1365
1899
|
],
|
|
@@ -1377,22 +1911,62 @@
|
|
|
1377
1911
|
],
|
|
1378
1912
|
"route": {
|
|
1379
1913
|
"verb": "POST",
|
|
1380
|
-
"path": "/
|
|
1914
|
+
"path": "/getEntityOntView"
|
|
1381
1915
|
},
|
|
1382
1916
|
"task": true
|
|
1383
1917
|
},
|
|
1384
1918
|
{
|
|
1385
|
-
"name": "
|
|
1386
|
-
"summary": "
|
|
1387
|
-
"description": "
|
|
1919
|
+
"name": "getEntityOntPort",
|
|
1920
|
+
"summary": "Get ONT Port",
|
|
1921
|
+
"description": "Get ONT Port",
|
|
1388
1922
|
"input": [
|
|
1389
1923
|
{
|
|
1390
|
-
"name": "
|
|
1924
|
+
"name": "isamVer",
|
|
1391
1925
|
"type": "string",
|
|
1392
|
-
"info": "the
|
|
1926
|
+
"info": "the ISAM Version",
|
|
1393
1927
|
"required": true,
|
|
1394
1928
|
"schema": {
|
|
1395
|
-
"title": "
|
|
1929
|
+
"title": "isamVer",
|
|
1930
|
+
"type": "string"
|
|
1931
|
+
}
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
"name": "shelfName",
|
|
1935
|
+
"type": "string",
|
|
1936
|
+
"info": "the Shelf Name",
|
|
1937
|
+
"required": true,
|
|
1938
|
+
"schema": {
|
|
1939
|
+
"title": "shelfName",
|
|
1940
|
+
"type": "string"
|
|
1941
|
+
}
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
"name": "demark",
|
|
1945
|
+
"type": "string",
|
|
1946
|
+
"info": "the Demark",
|
|
1947
|
+
"required": true,
|
|
1948
|
+
"schema": {
|
|
1949
|
+
"title": "demark",
|
|
1950
|
+
"type": "string"
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"name": "child",
|
|
1955
|
+
"type": "string",
|
|
1956
|
+
"info": "is this a child (default false)",
|
|
1957
|
+
"required": false,
|
|
1958
|
+
"schema": {
|
|
1959
|
+
"title": "child",
|
|
1960
|
+
"type": "string"
|
|
1961
|
+
}
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"name": "one",
|
|
1965
|
+
"type": "string",
|
|
1966
|
+
"info": "should there be only one (default true)",
|
|
1967
|
+
"required": false,
|
|
1968
|
+
"schema": {
|
|
1969
|
+
"title": "one",
|
|
1396
1970
|
"type": "string"
|
|
1397
1971
|
}
|
|
1398
1972
|
}
|
|
@@ -1411,22 +1985,62 @@
|
|
|
1411
1985
|
],
|
|
1412
1986
|
"route": {
|
|
1413
1987
|
"verb": "POST",
|
|
1414
|
-
"path": "/
|
|
1988
|
+
"path": "/getEntityOntPort"
|
|
1415
1989
|
},
|
|
1416
1990
|
"task": true
|
|
1417
1991
|
},
|
|
1418
1992
|
{
|
|
1419
|
-
"name": "
|
|
1420
|
-
"summary": "
|
|
1421
|
-
"description": "
|
|
1993
|
+
"name": "getEntityOntVlanAssociation",
|
|
1994
|
+
"summary": "Get ONT Vlan Association",
|
|
1995
|
+
"description": "Get ONT Vlan Association",
|
|
1422
1996
|
"input": [
|
|
1423
1997
|
{
|
|
1424
|
-
"name": "
|
|
1998
|
+
"name": "isamVer",
|
|
1425
1999
|
"type": "string",
|
|
1426
|
-
"info": "the
|
|
2000
|
+
"info": "the ISAM Version",
|
|
1427
2001
|
"required": true,
|
|
1428
2002
|
"schema": {
|
|
1429
|
-
"title": "
|
|
2003
|
+
"title": "isamVer",
|
|
2004
|
+
"type": "string"
|
|
2005
|
+
}
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"name": "shelfName",
|
|
2009
|
+
"type": "string",
|
|
2010
|
+
"info": "the Shelf Name",
|
|
2011
|
+
"required": true,
|
|
2012
|
+
"schema": {
|
|
2013
|
+
"title": "shelfName",
|
|
2014
|
+
"type": "string"
|
|
2015
|
+
}
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"name": "vlanAssociation",
|
|
2019
|
+
"type": "string",
|
|
2020
|
+
"info": "the VLAN Association",
|
|
2021
|
+
"required": true,
|
|
2022
|
+
"schema": {
|
|
2023
|
+
"title": "vlanAssociation",
|
|
2024
|
+
"type": "string"
|
|
2025
|
+
}
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
"name": "child",
|
|
2029
|
+
"type": "string",
|
|
2030
|
+
"info": "is this a child (default false)",
|
|
2031
|
+
"required": false,
|
|
2032
|
+
"schema": {
|
|
2033
|
+
"title": "child",
|
|
2034
|
+
"type": "string"
|
|
2035
|
+
}
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
"name": "one",
|
|
2039
|
+
"type": "string",
|
|
2040
|
+
"info": "should there be only one (default true)",
|
|
2041
|
+
"required": false,
|
|
2042
|
+
"schema": {
|
|
2043
|
+
"title": "one",
|
|
1430
2044
|
"type": "string"
|
|
1431
2045
|
}
|
|
1432
2046
|
}
|
|
@@ -1445,7 +2059,7 @@
|
|
|
1445
2059
|
],
|
|
1446
2060
|
"route": {
|
|
1447
2061
|
"verb": "POST",
|
|
1448
|
-
"path": "/
|
|
2062
|
+
"path": "/getEntityOntVlanAssociation"
|
|
1449
2063
|
},
|
|
1450
2064
|
"task": true
|
|
1451
2065
|
}
|