3 "id": "c7ab28db.5fa9f8",
\r
9 "z": "5b68e0d.bd97b2",
\r
17 "id": "b4f2bafa.fe95a",
\r
18 "type": "service-logic",
\r
19 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
20 "module": "GENERIC-RESOURCE-API",
\r
21 "version": "${project.version}",
\r
23 "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
\r
25 "x": 392.2856903076172,
\r
26 "y": 130.23810863494873,
\r
27 "z": "5b68e0d.bd97b2",
\r
35 "id": "5dd33274.e7d4cc",
\r
37 "name": "method tsli-vnf-topology-operation-trans-slice-allocate",
\r
38 "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-allocate' mode='sync'>\n",
\r
41 "x": 398.42860412597656,
\r
42 "y": 215.00003051757812,
\r
43 "z": "5b68e0d.bd97b2",
\r
51 "id": "28d22516.fc87aa",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 768.238037109375,
\r
58 "y": 239.66668701171875,
\r
59 "z": "5b68e0d.bd97b2",
\r
80 "id": "11269eb9.b73d59",
\r
82 "name": "set vnf-level-oper-status to Created",
\r
83 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
\r
85 "x": 1190.3848495483398,
\r
86 "y": 603.6706197531894,
\r
87 "z": "5b68e0d.bd97b2",
\r
91 "id": "7c0b6069.496758",
\r
93 "name": "copy input data to service data",
\r
94 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id' value='`$prop.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' value='$vnf-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.' value='$vnf-topology-operation-input.vnf-request-input.' />\n\n",
\r
96 "x": 1182.238037109375,
\r
97 "y": 498.6668718131259,
\r
98 "z": "5b68e0d.bd97b2",
\r
102 "id": "703f0f3.2526ff",
\r
104 "name": "execute generate-vnf-index",
\r
105 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vnf-id\"/>\n",
\r
108 "x": 1170.5715408325195,
\r
109 "y": 448.3334558280185,
\r
110 "z": "5b68e0d.bd97b2",
\r
116 "id": "4948ae3d.2fb728",
\r
118 "name": "set vnf-index to service data",
\r
119 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id' value='`$prop.vnf-id`' />\n",
\r
121 "x": 1181.5716171264648,
\r
122 "y": 555.3334596427158,
\r
123 "z": "5b68e0d.bd97b2",
\r
127 "id": "b98a68a9.509cb8",
\r
128 "type": "switchNode",
\r
129 "name": "switch service-data.vnfs.vnf_length",
\r
130 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r
133 "x": 1197.5713577270508,
\r
134 "y": 118.33337858039886,
\r
135 "z": "5b68e0d.bd97b2",
\r
144 "id": "45cce5a8.451aac",
\r
147 "xml": "<outcome value=''>\n",
\r
150 "x": 1432.285743713379,
\r
151 "y": 113.47619893867522,
\r
152 "z": "5b68e0d.bd97b2",
\r
160 "id": "6299edd9.775e24",
\r
162 "name": "set vnf-index=0",
\r
163 "xml": "<set>\n<parameter name='vnf-index' value='0' />\n",
\r
165 "x": 1592.5714492797852,
\r
166 "y": 113.4762904914096,
\r
167 "z": "5b68e0d.bd97b2",
\r
171 "id": "48e9b931.dabab8",
\r
174 "xml": "<outcome value='Other'>\n",
\r
177 "x": 1428.714282989502,
\r
178 "y": 146.76203039009124,
\r
179 "z": "5b68e0d.bd97b2",
\r
187 "id": "6abef48d.2c4e6c",
\r
189 "name": "set vnf-index = vnf_length",
\r
190 "xml": "<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",
\r
192 "x": 1821.5715255737305,
\r
193 "y": 125.04775598365813,
\r
194 "z": "5b68e0d.bd97b2",
\r
198 "id": "8a52abb7.25d258",
\r
200 "name": "for each existing VNF",
\r
201 "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
204 "x": 1810.000144958496,
\r
205 "y": 160.0477278502658,
\r
206 "z": "5b68e0d.bd97b2",
\r
214 "id": "777ae1e9.6bbca",
\r
217 "xml": "<block>\n",
\r
221 "x": 1563.428565979004,
\r
222 "y": 148.76199987251312,
\r
223 "z": "5b68e0d.bd97b2",
\r
232 "id": "1ea03c6.7395dc4",
\r
233 "type": "switchNode",
\r
234 "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id",
\r
235 "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",
\r
238 "x": 2203.2858810424805,
\r
239 "y": 160.6192119391635,
\r
240 "z": "5b68e0d.bd97b2",
\r
248 "id": "95d50976.54cf58",
\r
249 "type": "outcomeTrue",
\r
251 "xml": "<outcome value='true'>\n",
\r
254 "x": 2484.5715827941895,
\r
255 "y": 159.1906173499301,
\r
256 "z": "5b68e0d.bd97b2",
\r
264 "id": "78e378bf.79cf5",
\r
266 "name": "make sure this vnf-id doesn't exist already",
\r
269 "x": 2172.428497314453,
\r
270 "y": 124.19060399848968,
\r
271 "z": "5b68e0d.bd97b2",
\r
275 "id": "18445def.73c80a",
\r
277 "name": "set new vnf_length",
\r
278 "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n",
\r
280 "x": 1128.571533203125,
\r
281 "y": 396.33343505859375,
\r
282 "z": "5b68e0d.bd97b2",
\r
286 "id": "d4cb43.708284c",
\r
287 "type": "returnSuccess",
\r
288 "name": "return success",
\r
289 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
291 "x": 1124.571533203125,
\r
292 "y": 1344.5969848632812,
\r
293 "z": "5b68e0d.bd97b2",
\r
297 "id": "efeb4f56.d9cc7",
\r
299 "name": "save service relationship in AAI",
\r
300 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id\n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/generic-vnfs/generic-vnf/' + $prop.vnf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vnf-id`\" />\n\n\n<!--key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--key='service-instance.service-instance-id = $service-data.service-instance-id -->\n",
\r
303 "x": 1162.2382736206055,
\r
304 "y": 815.5968644889072,
\r
305 "z": "5b68e0d.bd97b2",
\r
311 "id": "9006694b.0db0e8",
\r
313 "name": "set vnf-index and vnf-object-path",
\r
314 "xml": "<set>\n<parameter name='vnfId' value='`$prop.vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $prop.vnf-id + '/vnf-data/'` \" />",
\r
316 "x": 1183.571533203125,
\r
317 "y": 644.5968902381137,
\r
318 "z": "5b68e0d.bd97b2",
\r
322 "id": "19c5d87f.a3e7b",
\r
323 "type": "returnFailure",
\r
324 "name": "return failure",
\r
325 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'VNF id ' + $service-data.vnfs.vnf[$idx].vnf-id\n + ' already exists, and has order status ' + $service-data.vnfs.vnf[$idx].vnf-data.vnf-level-oper-status.order-status`\" />\n",
\r
327 "x": 2613.142951965332,
\r
328 "y": 210.19063165504485,
\r
329 "z": "5b68e0d.bd97b2",
\r
333 "id": "e3c7ee55.46e6f8",
\r
335 "name": "save AnAI - vnf-instance.orchestration-status",
\r
336 "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey='generic-vnf.vnf-id = $prop.vnf-id' >\n<parameter name=\"orchestration-status\" value=\"Created\" />\n<parameter name=\"in-maint\" value = \"true\" />\n<parameter name=\"vnf-type\" value='`$prop.vnfName`' />\n<parameter name=\"vnf-name\" value = \"`$prop.vnfName`\"/>\n<parameter name=\"model-invariant-id\" value = \"`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`\"/>\n<parameter name=\"model-version-id\" value = \"`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`\"/>\n<parameter name=\"model-customization-id\" value = \"`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\"/>",
\r
339 "x": 1238.5458374023438,
\r
340 "y": 754.2471072943881,
\r
341 "z": "5b68e0d.bd97b2",
\r
347 "id": "8b2c577f.aa706",
\r
349 "name": "TODO: change AAI models",
\r
352 "x": 1172.1820983886719,
\r
353 "y": 713.9743230612949,
\r
354 "z": "5b68e0d.bd97b2",
\r
358 "id": "d58f334a.ba5338",
\r
360 "name": "execute split parameterName",
\r
361 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n",
\r
364 "x": 1598.7395858764648,
\r
365 "y": 207.75002291519195,
\r
366 "z": "5b68e0d.bd97b2",
\r
372 "id": "889ccd2d.4a8fe8",
\r
375 "xml": "<block>\n",
\r
379 "x": 1402.483383178711,
\r
380 "y": 212.00189593154937,
\r
381 "z": "5b68e0d.bd97b2",
\r
390 "id": "e0ae06d.cc68bf8",
\r
392 "name": "for loop idx - VNF input parameters",
\r
393 "xml": "<for index=\"idx\" start=\"0\" end=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`\">\n",
\r
396 "x": 1187.7050399780273,
\r
397 "y": 214.44631197769195,
\r
398 "z": "5b68e0d.bd97b2",
\r
406 "id": "fd6957d.13c0a28",
\r
408 "name": "set vnf-request-input.",
\r
409 "xml": "<set>\n<parameter name='vnf-request-input.' value='`$vnf-topology-operation-input.vnf-request-input.`' />\n",
\r
411 "x": 1144.7046737670898,
\r
412 "y": 284.77101900894195,
\r
413 "z": "5b68e0d.bd97b2",
\r
417 "id": "e9083033.2291c8",
\r
419 "name": "set parameterName",
\r
420 "xml": "<set>\n<parameter name=\"`vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name`\" value='`$param-prefix[$param-prefix_length -1]`'/>\n",
\r
422 "x": 1575.7395858764648,
\r
423 "y": 253.75002291519195,
\r
424 "z": "5b68e0d.bd97b2",
\r
428 "id": "8c69784a.6fe62",
\r
430 "name": "for each sdwan-get-request-input-param",
\r
431 "xml": "<for index=\"idx\" start=\"0\" end=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`\">\n",
\r
434 "x": 1200.7395858764648,
\r
435 "y": 336.75002291519195,
\r
436 "z": "5b68e0d.bd97b2",
\r
444 "id": "ab7df566.3e05d",
\r
447 "xml": "<block>\n",
\r
451 "x": 1426.9722518920898,
\r
452 "y": 335.09377291519195,
\r
453 "z": "5b68e0d.bd97b2",
\r
461 "id": "352dca87.707f0e",
\r
462 "type": "switchNode",
\r
463 "name": "switch vnf name",
\r
464 "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n",
\r
467 "x": 1583.4722518920898,
\r
468 "y": 333.0938339503482,
\r
469 "z": "5b68e0d.bd97b2",
\r
477 "id": "590b3579.cf8c54",
\r
478 "type": "outcomeTrue",
\r
480 "xml": "<outcome value='true'>\n",
\r
483 "x": 1744.4726181030273,
\r
484 "y": 333.09389498550445,
\r
485 "z": "5b68e0d.bd97b2",
\r
493 "id": "63083064.a23a18",
\r
495 "name": "set vnf name",
\r
496 "xml": "<set>\n<parameter name='prop.vnfName' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
\r
498 "x": 1902.4727401733398,
\r
499 "y": 331.6939316065982,
\r
500 "z": "5b68e0d.bd97b2",
\r
504 "id": "e181a758.620248",
\r
506 "name": "get service-instance from aai",
\r
507 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id\n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">",
\r
512 "z": "5b68e0d.bd97b2",
\r
522 "id": "5d430eb5.2b236",
\r
525 "xml": "<outcome value='success'>\n",
\r
530 "z": "5b68e0d.bd97b2",
\r
538 "id": "4db06806.f53418",
\r
539 "type": "not-found",
\r
540 "name": "not-found",
\r
541 "xml": "<outcome value='not-found'>\n",
\r
544 "x": 1380.490966796875,
\r
545 "y": 947.5740356445312,
\r
546 "z": "5b68e0d.bd97b2",
\r
554 "id": "95ae5b5a.c22a4",
\r
557 "xml": "<outcome value='failure'>\n",
\r
562 "z": "5b68e0d.bd97b2",
\r
570 "id": "53896828.686ee8",
\r
571 "type": "switchNode",
\r
572 "name": "switch allotted-resources_length != 0",
\r
573 "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources_length != 0`'>\n",
\r
578 "z": "5b68e0d.bd97b2",
\r
587 "id": "2be30b71.aee02c",
\r
588 "type": "returnFailure",
\r
589 "name": "return failure",
\r
590 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
592 "x": 1534.0623779296875,
\r
593 "y": 950.8597717285156,
\r
594 "z": "5b68e0d.bd97b2",
\r
598 "id": "ecad310e.0677",
\r
599 "type": "returnFailure",
\r
600 "name": "return failure",
\r
601 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
605 "z": "5b68e0d.bd97b2",
\r
609 "id": "a019135.4f8ccf",
\r
611 "name": "set the 1st allotted-resource-id",
\r
612 "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources[0]`\" />\n\n\n",
\r
616 "z": "5b68e0d.bd97b2",
\r
620 "id": "a4b1136f.62ed08",
\r
621 "type": "outcomeTrue",
\r
623 "xml": "<outcome value='true'>\n",
\r
628 "z": "5b68e0d.bd97b2",
\r
636 "id": "46b85697.e69b9",
\r
637 "type": "outcomeFalse",
\r
639 "xml": "<outcome value='false'>\n",
\r
644 "z": "5b68e0d.bd97b2",
\r
650 "id": "67d7c08a.0b2928",
\r
652 "name": "new for TransportSlicing",
\r
657 "z": "5b68e0d.bd97b2",
\r
661 "id": "457beb03.a98104",
\r
662 "type": "switchNode",
\r
663 "name": "switch logical-links_length != 0",
\r
664 "xml": "<switch test='`$tmp.aai.allotted-resource.logical-links_length != 0`'>\n",
\r
669 "z": "5b68e0d.bd97b2",
\r
678 "id": "643d2cea.4605b4",
\r
679 "type": "outcomeTrue",
\r
681 "xml": "<outcome value='true'>\n",
\r
686 "z": "5b68e0d.bd97b2",
\r
694 "id": "7caeb522.7a961c",
\r
695 "type": "outcomeFalse",
\r
697 "xml": "<outcome value='false'>\n",
\r
702 "z": "5b68e0d.bd97b2",
\r
708 "id": "814386d7.12d29",
\r
710 "name": "set the 1st logical-link-name",
\r
711 "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.logical-links[0]`\" />\n\n\n",
\r
715 "z": "5b68e0d.bd97b2",
\r
719 "id": "cb1b8f06.47ef2",
\r
722 "xml": "<block>\n",
\r
728 "z": "5b68e0d.bd97b2",
\r
737 "id": "152d2d7d.5e3893",
\r
740 "xml": "<block>\n",
\r
746 "z": "5b68e0d.bd97b2",
\r
755 "id": "67195ddd.58b94c",
\r
757 "name": "set EndpointA",
\r
758 "xml": "<set>\n<parameter name='endpointA' value=\"`$tmp.aai.logical-link.name`\" />\n\n\n",
\r
762 "z": "5b68e0d.bd97b2",
\r
766 "id": "3cb07e0e.1a73c2",
\r
768 "name": "set EndpointB",
\r
769 "xml": "<set>\n<parameter name='endpointB' value=\"`$tmp.aai.logical-link.name2`\" />\n\n\n",
\r
773 "z": "5b68e0d.bd97b2",
\r
777 "id": "e575462e.50d5b",
\r
779 "name": "get allotted-resource from aai",
\r
780 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">",
\r
785 "z": "5b68e0d.bd97b2",
\r
795 "id": "9038c1c3.67b67",
\r
798 "xml": "<outcome value='success'>\n",
\r
803 "z": "5b68e0d.bd97b2",
\r
811 "id": "d5fe3cc1.f1ab58",
\r
812 "type": "not-found",
\r
813 "name": "not-found",
\r
814 "xml": "<outcome value='not-found'>\n",
\r
817 "x": 2228.490966796875,
\r
818 "y": 1010.573974609375,
\r
819 "z": "5b68e0d.bd97b2",
\r
827 "id": "3a3c5476.f230dc",
\r
830 "xml": "<outcome value='failure'>\n",
\r
835 "z": "5b68e0d.bd97b2",
\r
843 "id": "d1ddfc7b.e8b11",
\r
844 "type": "returnFailure",
\r
845 "name": "return failure",
\r
846 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
849 "y": 1009.8597412109375,
\r
850 "z": "5b68e0d.bd97b2",
\r
854 "id": "5d76fda0.b3386c",
\r
855 "type": "returnFailure",
\r
856 "name": "return failure",
\r
857 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
861 "z": "5b68e0d.bd97b2",
\r
865 "id": "9b0fc370.e7b168",
\r
867 "name": "Question?",
\r
868 "info": "Can we assume ....logical-links[0] would have \nthe whole object or it is only a pointer to \nlogical-link name in AAI?\nIf only name, then we have to retrieve it from \nAAI",
\r
872 "z": "5b68e0d.bd97b2",
\r
876 "id": "fecafec9.0d1c5",
\r
878 "name": "get logical-link from aai",
\r
879 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",
\r
884 "z": "5b68e0d.bd97b2",
\r
894 "id": "cbe9f0d3.03cae",
\r
895 "type": "not-found",
\r
896 "name": "not-found",
\r
897 "xml": "<outcome value='not-found'>\n",
\r
900 "x": 2056.490966796875,
\r
901 "y": 1366.573974609375,
\r
902 "z": "5b68e0d.bd97b2",
\r
910 "id": "f1d67d6b.7b18f8",
\r
913 "xml": "<outcome value='failure'>\n",
\r
918 "z": "5b68e0d.bd97b2",
\r
926 "id": "df9ad0cd.393e9",
\r
927 "type": "returnFailure",
\r
928 "name": "return failure",
\r
929 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
932 "y": 1366.8597412109375,
\r
933 "z": "5b68e0d.bd97b2",
\r
937 "id": "387801a6.c55046",
\r
938 "type": "returnFailure",
\r
939 "name": "return failure",
\r
940 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
944 "z": "5b68e0d.bd97b2",
\r
948 "id": "c3decf76.de238",
\r
951 "xml": "<outcome value='success'>\n",
\r
956 "z": "5b68e0d.bd97b2",
\r
964 "id": "85643202.66a9f8",
\r
967 "xml": "<block>\n",
\r
973 "z": "5b68e0d.bd97b2",
\r
990 "id": "e13bd0db.73d81",
\r
992 "name": "get EndpointA from aai",
\r
993 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"endpoint\"\n\tkey='endpoint.endpoint-id = $endpointA'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.endpointA\">",
\r
998 "z": "5b68e0d.bd97b2",
\r
1001 "6b7f9293.5e4b3c",
\r
1002 "271678cd.b7a718",
\r
1008 "id": "44095776.64c828",
\r
1010 "name": "get EndpointB from aai",
\r
1011 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"endpoint\"\n\tkey='endpoint.endpoint-id = $endpointB'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.endpointB\">",
\r
1016 "z": "5b68e0d.bd97b2",
\r
1020 "cd4a18c4.24c5e8",
\r
1026 "id": "6b7f9293.5e4b3c",
\r
1027 "type": "not-found",
\r
1028 "name": "not-found",
\r
1029 "xml": "<outcome value='not-found'>\n",
\r
1034 "z": "5b68e0d.bd97b2",
\r
1042 "id": "271678cd.b7a718",
\r
1043 "type": "failure",
\r
1044 "name": "failure",
\r
1045 "xml": "<outcome value='failure'>\n",
\r
1048 "x": 2616.509033203125,
\r
1049 "y": 1504.426025390625,
\r
1050 "z": "5b68e0d.bd97b2",
\r
1058 "id": "fda0cd5e.c574c8",
\r
1059 "type": "success",
\r
1060 "name": "success",
\r
1061 "xml": "<outcome value='success'>\n",
\r
1064 "x": 2620.509033203125,
\r
1065 "y": 1555.426025390625,
\r
1066 "z": "5b68e0d.bd97b2",
\r
1074 "id": "6df2f8ce.f4df28",
\r
1075 "type": "returnFailure",
\r
1076 "name": "return failure",
\r
1077 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
1079 "x": 2769.571533203125,
\r
1080 "y": 1454.2857666015625,
\r
1081 "z": "5b68e0d.bd97b2",
\r
1085 "id": "a0e96fb5.85588",
\r
1086 "type": "returnFailure",
\r
1087 "name": "return failure",
\r
1088 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1090 "x": 2759.509033203125,
\r
1091 "y": 1504.426025390625,
\r
1092 "z": "5b68e0d.bd97b2",
\r
1096 "id": "cac7dfa0.02314",
\r
1097 "type": "not-found",
\r
1098 "name": "not-found",
\r
1099 "xml": "<outcome value='not-found'>\n",
\r
1104 "z": "5b68e0d.bd97b2",
\r
1112 "id": "cd4a18c4.24c5e8",
\r
1113 "type": "failure",
\r
1114 "name": "failure",
\r
1115 "xml": "<outcome value='failure'>\n",
\r
1118 "x": 2631.509033203125,
\r
1119 "y": 1864.426025390625,
\r
1120 "z": "5b68e0d.bd97b2",
\r
1128 "id": "b2a92c1e.f10cd8",
\r
1129 "type": "success",
\r
1130 "name": "success",
\r
1131 "xml": "<outcome value='success'>\n",
\r
1134 "x": 2635.509033203125,
\r
1135 "y": 1915.426025390625,
\r
1136 "z": "5b68e0d.bd97b2",
\r
1144 "id": "857e5bf7.e021b",
\r
1145 "type": "returnFailure",
\r
1146 "name": "return failure",
\r
1147 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
1149 "x": 2784.571533203125,
\r
1150 "y": 1814.2857666015625,
\r
1151 "z": "5b68e0d.bd97b2",
\r
1155 "id": "68a88270.f542bc",
\r
1156 "type": "returnFailure",
\r
1157 "name": "return failure",
\r
1158 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1160 "x": 2774.509033203125,
\r
1161 "y": 1864.426025390625,
\r
1162 "z": "5b68e0d.bd97b2",
\r
1166 "id": "404469ae.c8a71",
\r
1168 "name": "for each relationship",
\r
1169 "xml": "<for index='rel-index' start='0' end='`$tmp.aai.endpointA.relationship-list.relationship_length`' >\n",
\r
1174 "z": "5b68e0d.bd97b2",
\r
1182 "id": "ca5e0e2a.2b9fd8",
\r
1183 "type": "switchNode",
\r
1184 "name": "switch related-to",
\r
1185 "xml": "<switch test='`$tmp.aai.endpointA.relationship-list.relationship[$rel-index].related-to`'>\n",
\r
1188 "x": 3206.3334426879883,
\r
1189 "y": 1555.9999389648438,
\r
1190 "z": "5b68e0d.bd97b2",
\r
1198 "id": "20488961.beb436",
\r
1199 "type": "outcome",
\r
1200 "name": "p-interface",
\r
1201 "xml": "<outcome value='p-interface'>\n",
\r
1204 "x": 3378.0000801086426,
\r
1205 "y": 1556.000020980835,
\r
1206 "z": "5b68e0d.bd97b2",
\r
1214 "id": "6bc94704.d03de",
\r
1216 "name": "block : atomic",
\r
1217 "xml": "<block atomic=\"true\">",
\r
1220 "x": 4040.66650390625,
\r
1222 "z": "5b68e0d.bd97b2",
\r
1226 "502adfb6.94aa38",
\r
1227 "6f6a8b61.fa1ffc",
\r
1233 "id": "3536184f.ec7b9",
\r
1235 "name": "get p-interface-src from aai",
\r
1236 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",
\r
1241 "z": "5b68e0d.bd97b2",
\r
1244 "d439294.8fb6358",
\r
1251 "id": "d439294.8fb6358",
\r
1252 "type": "success",
\r
1253 "name": "success",
\r
1254 "xml": "<outcome value='success'>\n",
\r
1259 "z": "5b68e0d.bd97b2",
\r
1267 "id": "f82521c.310fee",
\r
1268 "type": "not-found",
\r
1269 "name": "not-found",
\r
1270 "xml": "<outcome value='not-found'>\n",
\r
1273 "x": 3877.490966796875,
\r
1274 "y": 1591.5740356445312,
\r
1275 "z": "5b68e0d.bd97b2",
\r
1283 "id": "5c59ee09.9262d",
\r
1284 "type": "failure",
\r
1285 "name": "failure",
\r
1286 "xml": "<outcome value='failure'>\n",
\r
1291 "z": "5b68e0d.bd97b2",
\r
1299 "id": "da7fc859.beff18",
\r
1300 "type": "returnFailure",
\r
1301 "name": "return failure",
\r
1302 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
1304 "x": 4031.0623779296875,
\r
1305 "y": 1594.8597717285156,
\r
1306 "z": "5b68e0d.bd97b2",
\r
1310 "id": "872414be.4b5f28",
\r
1311 "type": "returnFailure",
\r
1312 "name": "return failure",
\r
1313 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1317 "z": "5b68e0d.bd97b2",
\r
1321 "id": "57154704.0e805",
\r
1323 "name": "block : atomic",
\r
1324 "xml": "<block atomic=\"true\">",
\r
1329 "z": "5b68e0d.bd97b2",
\r
1337 "id": "85084de0.cfb7d",
\r
1338 "type": "comment",
\r
1339 "name": "Question?",
\r
1340 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1344 "z": "5b68e0d.bd97b2",
\r
1348 "id": "4220b72.dbed048",
\r
1350 "name": "block : atomic",
\r
1351 "xml": "<block atomic=\"true\">",
\r
1356 "z": "5b68e0d.bd97b2",
\r
1364 "id": "8dfc41f6.4f4f",
\r
1366 "name": "for each relationship",
\r
1367 "xml": "<for index='rel-index' start='0' end='`$tmp.aai.endpointB.relationship-list.relationship_length`' >\n",
\r
1372 "z": "5b68e0d.bd97b2",
\r
1380 "id": "5452c2da.11d5dc",
\r
1381 "type": "switchNode",
\r
1382 "name": "switch related-to",
\r
1383 "xml": "<switch test='`$tmp.aai.endpointB.relationship-list.relationship[$rel-index].related-to`'>\n",
\r
1386 "x": 3210.3334426879883,
\r
1387 "y": 1915.9999389648438,
\r
1388 "z": "5b68e0d.bd97b2",
\r
1396 "id": "cb7a504b.d626a",
\r
1397 "type": "outcome",
\r
1398 "name": "p-interface",
\r
1399 "xml": "<outcome value='p-interface'>\n",
\r
1402 "x": 3382.0000801086426,
\r
1403 "y": 1916.000020980835,
\r
1404 "z": "5b68e0d.bd97b2",
\r
1412 "id": "825ff590.84496",
\r
1414 "name": "block : atomic",
\r
1415 "xml": "<block atomic=\"true\">",
\r
1418 "x": 4044.66650390625,
\r
1420 "z": "5b68e0d.bd97b2",
\r
1424 "f4b1b11a.276db8",
\r
1425 "485a23dc.9461bc",
\r
1431 "id": "8fa1d382.ebbb3",
\r
1433 "name": "get p-interface-dst from aai",
\r
1434 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"p-interface.interface-name = $tmp.aai.endpointB.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.endpointB.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointB.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointB.p-interface-dst\" >-->\n",
\r
1439 "z": "5b68e0d.bd97b2",
\r
1442 "e30b52f2.d3bd18",
\r
1443 "2a8a7b32.c6c034",
\r
1449 "id": "e30b52f2.d3bd18",
\r
1450 "type": "success",
\r
1451 "name": "success",
\r
1452 "xml": "<outcome value='success'>\n",
\r
1457 "z": "5b68e0d.bd97b2",
\r
1465 "id": "95395b70.5ce658",
\r
1466 "type": "not-found",
\r
1467 "name": "not-found",
\r
1468 "xml": "<outcome value='not-found'>\n",
\r
1471 "x": 3881.490966796875,
\r
1472 "y": 1951.5740356445312,
\r
1473 "z": "5b68e0d.bd97b2",
\r
1481 "id": "2a8a7b32.c6c034",
\r
1482 "type": "failure",
\r
1483 "name": "failure",
\r
1484 "xml": "<outcome value='failure'>\n",
\r
1489 "z": "5b68e0d.bd97b2",
\r
1497 "id": "ec0be134.e7e7f8",
\r
1498 "type": "returnFailure",
\r
1499 "name": "return failure",
\r
1500 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
1502 "x": 4035.0623779296875,
\r
1503 "y": 1954.8597717285156,
\r
1504 "z": "5b68e0d.bd97b2",
\r
1508 "id": "5f44beb8.f571",
\r
1509 "type": "returnFailure",
\r
1510 "name": "return failure",
\r
1511 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1515 "z": "5b68e0d.bd97b2",
\r
1519 "id": "18f16001.6c653",
\r
1520 "type": "comment",
\r
1521 "name": "Question?",
\r
1522 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1526 "z": "5b68e0d.bd97b2",
\r
1530 "id": "b0648d5.a5c8bf",
\r
1531 "type": "execute",
\r
1532 "name": "execute split tp-id to get pnf-name",
\r
1533 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.endpointA.p-interface-src`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[^-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",
\r
1538 "z": "5b68e0d.bd97b2",
\r
1541 "6bf39cd9.c078dc",
\r
1547 "id": "1f241f8d.ded588",
\r
1548 "type": "failure",
\r
1549 "name": "success",
\r
1550 "xml": "<outcome value='success'>\n",
\r
1555 "z": "5b68e0d.bd97b2",
\r
1563 "id": "6bf39cd9.c078dc",
\r
1564 "type": "failure",
\r
1565 "name": "failure",
\r
1566 "xml": "<outcome value='failure'>\n",
\r
1571 "z": "5b68e0d.bd97b2",
\r
1579 "id": "8f149145.0a9d38",
\r
1581 "name": "set ltpId",
\r
1582 "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",
\r
1586 "z": "5b68e0d.bd97b2",
\r
1590 "id": "d87f8a80.c2edb8",
\r
1591 "type": "returnFailure",
\r
1592 "name": "return failure",
\r
1593 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
\r
1597 "z": "5b68e0d.bd97b2",
\r
1601 "id": "711e2d50.cbfec4",
\r
1603 "name": "block : atomic",
\r
1604 "xml": "<block atomic=\"true\">",
\r
1609 "z": "5b68e0d.bd97b2",
\r
1612 "8f149145.0a9d38",
\r
1618 "id": "ed673da0.d5043",
\r
1620 "name": "set pnf-name",
\r
1621 "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",
\r
1625 "z": "5b68e0d.bd97b2",
\r
1629 "id": "5bd7fa96.a6e064",
\r
1630 "type": "comment",
\r
1631 "name": "TODO: FIXME",
\r
1632 "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",
\r
1636 "z": "5b68e0d.bd97b2",
\r
1640 "id": "6f6a8b61.fa1ffc",
\r
1642 "name": "save connectivity resource in AAI",
\r
1643 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='' />\n<parameter name='access-client-id' value='' />\n<parameter name='access-topology-id' value='' />\n<parameter name='access-node-id' value='' />\n<parameter name='access-ltp-id' value='' />\n<parameter name='cvlan' value='' />\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
\r
1648 "z": "5b68e0d.bd97b2",
\r
1654 "id": "502adfb6.94aa38",
\r
1655 "type": "execute",
\r
1656 "name": "execute UUID generator for connectivity domainA",
\r
1657 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainA-uuid\"/>\n",
\r
1662 "z": "5b68e0d.bd97b2",
\r
1668 "id": "2f48d78c.e343f8",
\r
1669 "type": "comment",
\r
1670 "name": "TODO: FIXME",
\r
1671 "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",
\r
1675 "z": "5b68e0d.bd97b2",
\r
1679 "id": "674b1eb0.174b2",
\r
1680 "type": "execute",
\r
1681 "name": "execute split tp-id to get pnf-name",
\r
1682 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.endpointB.p-interface-dst`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[^-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n",
\r
1687 "z": "5b68e0d.bd97b2",
\r
1696 "id": "816a3f3d.c967d",
\r
1697 "type": "failure",
\r
1698 "name": "success",
\r
1699 "xml": "<outcome value='success'>\n",
\r
1704 "z": "5b68e0d.bd97b2",
\r
1712 "id": "bf4f2038.8bcc6",
\r
1713 "type": "failure",
\r
1714 "name": "failure",
\r
1715 "xml": "<outcome value='failure'>\n",
\r
1720 "z": "5b68e0d.bd97b2",
\r
1728 "id": "2024c7b6.3996d",
\r
1730 "name": "set ltpId",
\r
1731 "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",
\r
1735 "z": "5b68e0d.bd97b2",
\r
1739 "id": "3fe77c2.445af04",
\r
1740 "type": "returnFailure",
\r
1741 "name": "return failure",
\r
1742 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
\r
1746 "z": "5b68e0d.bd97b2",
\r
1750 "id": "bbb7eb1.f117918",
\r
1752 "name": "block : atomic",
\r
1753 "xml": "<block atomic=\"true\">",
\r
1758 "z": "5b68e0d.bd97b2",
\r
1767 "id": "e7f53e76.5ddf",
\r
1769 "name": "set pnf-name",
\r
1770 "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",
\r
1774 "z": "5b68e0d.bd97b2",
\r
1778 "id": "71ef13be.57065c",
\r
1779 "type": "comment",
\r
1780 "name": "TODO: FIXME",
\r
1781 "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",
\r
1785 "z": "5b68e0d.bd97b2",
\r
1789 "id": "485a23dc.9461bc",
\r
1791 "name": "save connectivity resource in AAI",
\r
1792 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='' />\n<parameter name='access-client-id' value='' />\n<parameter name='access-topology-id' value='' />\n<parameter name='access-node-id' value='' />\n<parameter name='access-ltp-id' value='' />\n<parameter name='cvlan' value='' />\n\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
\r
1797 "z": "5b68e0d.bd97b2",
\r
1803 "id": "f4b1b11a.276db8",
\r
1804 "type": "execute",
\r
1805 "name": "execute UUID generator for connectivity domainB",
\r
1806 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",
\r
1811 "z": "5b68e0d.bd97b2",
\r
1817 "id": "985d1e1b.82a998",
\r
1818 "type": "comment",
\r
1819 "name": "TODO: FIXME",
\r
1820 "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",
\r
1824 "z": "5b68e0d.bd97b2",
\r
1828 "id": "3eb8bee0.c23c0a",
\r
1830 "name": "call GENERIC-RESOURCE-API:sotn-get-otn-tunnel-path-from-oof",
\r
1831 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-otn-tunnel-path-from-oof' mode='sync' >\n",
\r
1836 "z": "5b68e0d.bd97b2",
\r
1842 "id": "e199c2c7.64ce48",
\r
1844 "name": "set attachment_param",
\r
1845 "xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n",
\r
1849 "z": "5b68e0d.bd97b2",
\r
1853 "id": "50e758b0.2c60a",
\r
1854 "type": "comment",
\r
1855 "name": "TODO: FIXME",
\r
1856 "info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",
\r
1860 "z": "5b68e0d.bd97b2",
\r
1864 "id": "4e9e1552.e1012c",
\r
1866 "name": "save vpn-binding A resource (aka. OTN domainA) in AAI",
\r
1867 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.vpnName' >\n<parameter name='vpn-id' value='`$tmp.vpnName`' />\n<parameter name='vpn-name' value='`$tmp.vpnName`' />\n<parameter name='access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='src-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='dst-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />",
\r
1872 "z": "5b68e0d.bd97b2",
\r
1880 "id": "879bdb34.60c748",
\r
1882 "name": "save connectivity-A relationship to vpn-binding-A, in AAI",
\r
1883 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $mdsal-psd.service-data.networks.network[0].network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$mdsal-psd.service-data.networks.network[0].network-id`\" />",
\r
1888 "z": "5b68e0d.bd97b2",
\r
1894 "id": "5ac2c26e.60f274",
\r
1896 "name": "save srcLTP relationship in AAI",
\r
1897 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
\r
1902 "z": "5b68e0d.bd97b2",
\r
1908 "id": "481b1bdc.29fad4",
\r
1910 "name": "save dstLTP relationship in AAI",
\r
1911 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
\r
1916 "z": "5b68e0d.bd97b2",
\r
1922 "id": "24d9a7fc.8cd3f8",
\r
1924 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1925 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id\n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
\r
1930 "z": "5b68e0d.bd97b2",
\r
1936 "id": "a54100e4.bdfd8",
\r
1938 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1939 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id\n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
\r
1944 "z": "5b68e0d.bd97b2",
\r
1950 "id": "eee018f4.9abed",
\r
1951 "type": "success",
\r
1952 "name": "success",
\r
1953 "xml": "<outcome value='success'>\n",
\r
1958 "z": "5b68e0d.bd97b2",
\r
1966 "id": "60c98c50.d9d324",
\r
1969 "xml": "<block>\n",
\r
1970 "atomic": "false",
\r
1973 "x": 2923.500244140625,
\r
1974 "y": 2168.25390625,
\r
1975 "z": "5b68e0d.bd97b2",
\r
1981 "id": "99e923c8.5700b8",
\r
1982 "type": "comment",
\r
1983 "name": "TODO: FIXME: do we need this relationship?",
\r
1988 "z": "5b68e0d.bd97b2",
\r
1992 "id": "debe7c1a.c25a08",
\r
1993 "type": "comment",
\r
1994 "name": "TODO: FIXME: put proper values",
\r
1999 "z": "5b68e0d.bd97b2",
\r
2003 "id": "ccc984ea.946438",
\r
2005 "name": "save vpn-binding B resource (aka. OTN domainB) in AAI",
\r
2006 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.vpnName' >\n<parameter name='vpn-id' value='`$tmp.vpnName`' />\n<parameter name='vpn-name' value='`$tmp.vpnName`' />\n<parameter name='access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='src-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='dst-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />",
\r
2011 "z": "5b68e0d.bd97b2",
\r
2019 "id": "ff4306de.40969",
\r
2020 "type": "comment",
\r
2021 "name": "TODO: FIXME: do we need this relationship?",
\r
2026 "z": "5b68e0d.bd97b2",
\r
2030 "id": "bddb99db.4eee1",
\r
2032 "name": "save srcLTP relationship in AAI",
\r
2033 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
\r
2038 "z": "5b68e0d.bd97b2",
\r
2044 "id": "4e5e60ab.6592a8",
\r
2046 "name": "save dstLTP relationship in AAI",
\r
2047 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
\r
2052 "z": "5b68e0d.bd97b2",
\r
2058 "id": "82297458.0d3c48",
\r
2061 "xml": "<block>\n",
\r
2062 "atomic": "false",
\r
2065 "x": 2905.500244140625,
\r
2066 "y": 2348.25390625,
\r
2067 "z": "5b68e0d.bd97b2",
\r
2073 "id": "de2c330e.390d88",
\r
2074 "type": "success",
\r
2075 "name": "success",
\r
2076 "xml": "<outcome value='success'>\n",
\r
2081 "z": "5b68e0d.bd97b2",
\r
2089 "id": "8b5978da.cf55b8",
\r
2090 "type": "comment",
\r
2091 "name": "TODO: FIXME: put proper values",
\r
2096 "z": "5b68e0d.bd97b2",
\r
2100 "id": "3824458b.0c70c2",
\r
2102 "name": "save connectivity-B relationship to vpn-binding-B, in AAI",
\r
2103 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $mdsal-psd.service-data.networks.network[0].network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$mdsal-psd.service-data.networks.network[0].network-id`\" />",
\r
2108 "z": "5b68e0d.bd97b2",
\r
2114 "id": "ed749360.08754",
\r
2115 "type": "comment",
\r
2116 "name": "TODO: FIXME:",
\r
2117 "info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",
\r
2121 "z": "5b68e0d.bd97b2",
\r
2125 "id": "97832dc3.63313",
\r
2127 "name": "set attachment_param",
\r
2128 "xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n",
\r
2132 "z": "5b68e0d.bd97b2",
\r
2136 "id": "f27e6517.ff7968",
\r
2137 "type": "execute",
\r
2138 "name": "get parent-service-data tmp.ar-url-psd",
\r
2139 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url-psd\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>\n",
\r
2144 "z": "5b68e0d.bd97b2",
\r