3 "id": "6fd18371.ab4fc4",
\r
7 "x": 138.56666564941406,
\r
8 "y": 144.56666564941406,
\r
9 "z": "9256178d.211a68",
\r
17 "id": "f71dc579.359058",
\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": 422.85235595703125,
\r
26 "y": 205.8047742843628,
\r
27 "z": "9256178d.211a68",
\r
35 "id": "c0146243.1b894",
\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": 428.9952697753906,
\r
42 "y": 290.5666961669922,
\r
43 "z": "9256178d.211a68",
\r
51 "id": "8f2a1d48.4d5c1",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 798.8047027587891,
\r
58 "y": 315.2333526611328,
\r
59 "z": "9256178d.211a68",
\r
69 "id": "aba9a33d.b56118",
\r
70 "type": "returnSuccess",
\r
71 "name": "return success",
\r
72 "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
74 "x": 1100.138198852539,
\r
75 "y": 586.1636505126953,
\r
76 "z": "9256178d.211a68",
\r
80 "id": "b34cfae3.a993d8",
\r
82 "name": "get service-instance from aai",
\r
83 "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-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\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<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
86 "x": 1121.566665649414,
\r
87 "y": 288.56666564941406,
\r
88 "z": "9256178d.211a68",
\r
98 "id": "689fbe64.b269",
\r
101 "xml": "<outcome value='success'>\n",
\r
104 "x": 1346.566665649414,
\r
105 "y": 146.56666564941406,
\r
106 "z": "9256178d.211a68",
\r
114 "id": "60b4e331.4ab1b4",
\r
115 "type": "not-found",
\r
116 "name": "not-found",
\r
117 "xml": "<outcome value='not-found'>\n",
\r
120 "x": 1342.057632446289,
\r
121 "y": 216.1407012939453,
\r
122 "z": "9256178d.211a68",
\r
130 "id": "69c448c.334a3b8",
\r
133 "xml": "<outcome value='failure'>\n",
\r
136 "x": 1330.566665649414,
\r
137 "y": 262.56666564941406,
\r
138 "z": "9256178d.211a68",
\r
146 "id": "fead0819.21d2e8",
\r
147 "type": "switchNode",
\r
148 "name": "switch allotted-resources_length != 0",
\r
149 "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",
\r
152 "x": 1585.566665649414,
\r
153 "y": 143.56666564941406,
\r
154 "z": "9256178d.211a68",
\r
163 "id": "ad666133.38332",
\r
164 "type": "returnFailure",
\r
165 "name": "return failure",
\r
166 "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
168 "x": 1495.6290435791016,
\r
169 "y": 219.4264373779297,
\r
170 "z": "9256178d.211a68",
\r
174 "id": "be5632ce.888008",
\r
175 "type": "returnFailure",
\r
176 "name": "return failure",
\r
177 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
179 "x": 1499.566665649414,
\r
180 "y": 263.56666564941406,
\r
181 "z": "9256178d.211a68",
\r
185 "id": "79e1f5a9.abc0fc",
\r
186 "type": "outcomeTrue",
\r
188 "xml": "<outcome value='true'>\n",
\r
191 "x": 1798.566665649414,
\r
192 "y": 167.56666564941406,
\r
193 "z": "9256178d.211a68",
\r
201 "id": "628b0c00.38066c",
\r
202 "type": "outcomeFalse",
\r
204 "xml": "<outcome value='false'>\n",
\r
207 "x": 1800.566665649414,
\r
208 "y": 107.56666564941406,
\r
209 "z": "9256178d.211a68",
\r
215 "id": "13f096c3.155339",
\r
217 "name": "new for TransportSlicing",
\r
220 "x": 1100.566665649414,
\r
221 "y": 176.56666564941406,
\r
222 "z": "9256178d.211a68",
\r
226 "id": "affa73a3.ee8208",
\r
229 "xml": "<block>\n",
\r
233 "x": 1783.566665649414,
\r
234 "y": 255.56666564941406,
\r
235 "z": "9256178d.211a68",
\r
248 "id": "bc7152e2.d9d418",
\r
250 "name": "set network-route-A",
\r
251 "xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />-->\n\n\n",
\r
253 "x": 2646.566665649414,
\r
254 "y": 855.5666656494141,
\r
255 "z": "9256178d.211a68",
\r
259 "id": "c38cb4ff.6bd5e",
\r
261 "name": "set network-route-B",
\r
262 "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",
\r
264 "x": 2647.566665649414,
\r
265 "y": 910.5666656494141,
\r
266 "z": "9256178d.211a68",
\r
270 "id": "91e3d9ca.33dbb",
\r
272 "name": "get allotted-resource from aai",
\r
273 "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-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<!-- AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",
\r
276 "x": 2269.566665649414,
\r
277 "y": 306.56666564941406,
\r
278 "z": "9256178d.211a68",
\r
288 "id": "5160a5be.66b9fc",
\r
291 "xml": "<outcome value='success'>\n",
\r
294 "x": 2485.566665649414,
\r
295 "y": 373.56666564941406,
\r
296 "z": "9256178d.211a68",
\r
304 "id": "bc755c97.0130a8",
\r
305 "type": "not-found",
\r
306 "name": "not-found",
\r
307 "xml": "<outcome value='not-found'>\n",
\r
310 "x": 2486.057632446289,
\r
311 "y": 273.14064025878906,
\r
312 "z": "9256178d.211a68",
\r
320 "id": "8c53c9d8.1845d8",
\r
323 "xml": "<outcome value='failure'>\n",
\r
326 "x": 2481.566665649414,
\r
327 "y": 322.56666564941406,
\r
328 "z": "9256178d.211a68",
\r
336 "id": "9c5f6654.ebe11",
\r
337 "type": "returnFailure",
\r
338 "name": "return failure",
\r
339 "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
341 "x": 2663.629165649414,
\r
342 "y": 273.42640686035156,
\r
343 "z": "9256178d.211a68",
\r
347 "id": "3ae07ef4.fec912",
\r
348 "type": "returnFailure",
\r
349 "name": "return failure",
\r
350 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
352 "x": 2663.566665649414,
\r
353 "y": 322.56666564941406,
\r
354 "z": "9256178d.211a68",
\r
358 "id": "cb7d8033.d10ca8",
\r
360 "name": "get logical-link from aai",
\r
361 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",
\r
364 "x": 2004.566665649414,
\r
365 "y": 795.5666656494141,
\r
366 "z": "9256178d.211a68",
\r
376 "id": "2b85dd7e.f02352",
\r
377 "type": "not-found",
\r
378 "name": "not-found",
\r
379 "xml": "<outcome value='not-found'>\n",
\r
382 "x": 2296.057632446289,
\r
383 "y": 774.1406402587891,
\r
384 "z": "9256178d.211a68",
\r
392 "id": "1b3631c4.5fdf36",
\r
395 "xml": "<outcome value='failure'>\n",
\r
398 "x": 2284.566665649414,
\r
399 "y": 818.5666656494141,
\r
400 "z": "9256178d.211a68",
\r
408 "id": "2de91143.9e84c6",
\r
409 "type": "returnFailure",
\r
410 "name": "return failure",
\r
411 "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
413 "x": 2444.629165649414,
\r
414 "y": 774.4264068603516,
\r
415 "z": "9256178d.211a68",
\r
419 "id": "f3744c4d.35627",
\r
420 "type": "returnFailure",
\r
421 "name": "return failure",
\r
422 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
424 "x": 2443.566665649414,
\r
425 "y": 818.5666656494141,
\r
426 "z": "9256178d.211a68",
\r
430 "id": "233346f1.01fed2",
\r
433 "xml": "<outcome value='success'>\n",
\r
436 "x": 2291.566665649414,
\r
437 "y": 897.5666656494141,
\r
438 "z": "9256178d.211a68",
\r
446 "id": "14e4e24b.240d3e",
\r
449 "xml": "<block>\n",
\r
453 "x": 2430.566665649414,
\r
454 "y": 897.5666656494141,
\r
455 "z": "9256178d.211a68",
\r
475 "id": "6b90e6dc.1a4938",
\r
477 "name": "get network-route-A from aai",
\r
478 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",
\r
481 "x": 2659.566665649414,
\r
482 "y": 978.5666656494141,
\r
483 "z": "9256178d.211a68",
\r
493 "id": "f826c02e.b2d98",
\r
495 "name": "get network-route-B from aai",
\r
496 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",
\r
499 "x": 2638.566665649414,
\r
500 "y": 1580.5665435791016,
\r
501 "z": "9256178d.211a68",
\r
511 "id": "1d7d57d5.4b528",
\r
512 "type": "not-found",
\r
513 "name": "not-found",
\r
514 "xml": "<outcome value='not-found'>\n",
\r
517 "x": 2860.566665649414,
\r
518 "y": 862.5666656494141,
\r
519 "z": "9256178d.211a68",
\r
527 "id": "d18df8cc.ecc03",
\r
530 "xml": "<outcome value='failure'>\n",
\r
533 "x": 2856.075698852539,
\r
534 "y": 911.9926910400391,
\r
535 "z": "9256178d.211a68",
\r
543 "id": "cbd2b797.9f07e8",
\r
546 "xml": "<outcome value='success'>\n",
\r
549 "x": 2860.075698852539,
\r
550 "y": 962.9926910400391,
\r
551 "z": "9256178d.211a68",
\r
559 "id": "9adb7053.6193c",
\r
560 "type": "returnFailure",
\r
561 "name": "return failure",
\r
562 "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
564 "x": 3009.138198852539,
\r
565 "y": 861.8524322509766,
\r
566 "z": "9256178d.211a68",
\r
570 "id": "bc31bdd5.70d25",
\r
571 "type": "returnFailure",
\r
572 "name": "return failure",
\r
573 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
575 "x": 2999.075698852539,
\r
576 "y": 911.9926910400391,
\r
577 "z": "9256178d.211a68",
\r
581 "id": "6cc847e1.0c4c8",
\r
582 "type": "not-found",
\r
583 "name": "not-found",
\r
584 "xml": "<outcome value='not-found'>\n",
\r
587 "x": 2861.566665649414,
\r
588 "y": 1550.5665435791016,
\r
589 "z": "9256178d.211a68",
\r
597 "id": "9bc40e0b.3e66b8",
\r
600 "xml": "<outcome value='failure'>\n",
\r
603 "x": 2857.075698852539,
\r
604 "y": 1599.9925689697266,
\r
605 "z": "9256178d.211a68",
\r
613 "id": "4130e8fa.6dc708",
\r
616 "xml": "<outcome value='success'>\n",
\r
619 "x": 2861.075698852539,
\r
620 "y": 1650.9925689697266,
\r
621 "z": "9256178d.211a68",
\r
629 "id": "9ebfd12f.98fe08",
\r
630 "type": "returnFailure",
\r
631 "name": "return failure",
\r
632 "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
634 "x": 3010.138198852539,
\r
635 "y": 1549.852310180664,
\r
636 "z": "9256178d.211a68",
\r
640 "id": "e2a53907.ab9ce8",
\r
641 "type": "returnFailure",
\r
642 "name": "return failure",
\r
643 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
645 "x": 3000.075698852539,
\r
646 "y": 1599.9925689697266,
\r
647 "z": "9256178d.211a68",
\r
651 "id": "eabcf699.92546",
\r
653 "name": "block : atomic",
\r
654 "xml": "<block atomic=\"true\">",
\r
657 "x": 3674.233169555664,
\r
658 "y": 1006.5666656494141,
\r
659 "z": "9256178d.211a68",
\r
671 "id": "89cd3be0.fed2e8",
\r
674 "xml": "<outcome value='success'>\n",
\r
677 "x": 3501.566665649414,
\r
678 "y": 1007.5666656494141,
\r
679 "z": "9256178d.211a68",
\r
687 "id": "6ce22fa5.148738",
\r
688 "type": "not-found",
\r
689 "name": "not-found",
\r
690 "xml": "<outcome value='not-found'>\n",
\r
693 "x": 3511.057632446289,
\r
694 "y": 1050.1407012939453,
\r
695 "z": "9256178d.211a68",
\r
703 "id": "316c237c.fde964",
\r
706 "xml": "<outcome value='failure'>\n",
\r
709 "x": 3499.566665649414,
\r
710 "y": 1096.566665649414,
\r
711 "z": "9256178d.211a68",
\r
719 "id": "6f858024.73295",
\r
720 "type": "returnFailure",
\r
721 "name": "return failure",
\r
722 "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
724 "x": 3664.6290435791016,
\r
725 "y": 1053.4264373779297,
\r
726 "z": "9256178d.211a68",
\r
730 "id": "7e23353f.01fac4",
\r
731 "type": "returnFailure",
\r
732 "name": "return failure",
\r
733 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
735 "x": 3668.566665649414,
\r
736 "y": 1097.566665649414,
\r
737 "z": "9256178d.211a68",
\r
741 "id": "fa5d0125.b00d78",
\r
743 "name": "block : atomic",
\r
744 "xml": "<block atomic=\"true\">",
\r
747 "x": 3021.566665649414,
\r
748 "y": 964.5666656494141,
\r
749 "z": "9256178d.211a68",
\r
758 "id": "dd04bd6b.572858",
\r
760 "name": "block : atomic",
\r
761 "xml": "<block atomic=\"true\">",
\r
764 "x": 3011.566665649414,
\r
765 "y": 1652.5665435791016,
\r
766 "z": "9256178d.211a68",
\r
775 "id": "9231955e.3e12f8",
\r
777 "name": "block : atomic",
\r
778 "xml": "<block atomic=\"true\">",
\r
781 "x": 3642.233169555664,
\r
782 "y": 1842.566665649414,
\r
783 "z": "9256178d.211a68",
\r
795 "id": "e0e6a71d.ebb61",
\r
798 "xml": "<outcome value='success'>\n",
\r
801 "x": 3469.566665649414,
\r
802 "y": 1843.566665649414,
\r
803 "z": "9256178d.211a68",
\r
811 "id": "20818b75.1274cc",
\r
812 "type": "not-found",
\r
813 "name": "not-found",
\r
814 "xml": "<outcome value='not-found'>\n",
\r
817 "x": 3479.057632446289,
\r
818 "y": 1886.1407012939453,
\r
819 "z": "9256178d.211a68",
\r
827 "id": "ef5e9023.0ffb1",
\r
830 "xml": "<outcome value='failure'>\n",
\r
833 "x": 3467.566665649414,
\r
834 "y": 1932.566665649414,
\r
835 "z": "9256178d.211a68",
\r
843 "id": "729c480a.b2455",
\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
848 "x": 3632.6290435791016,
\r
849 "y": 1889.4264373779297,
\r
850 "z": "9256178d.211a68",
\r
854 "id": "76e8a026.d94a18",
\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
859 "x": 3636.566665649414,
\r
860 "y": 1933.566665649414,
\r
861 "z": "9256178d.211a68",
\r
865 "id": "ff0400bb.e98958",
\r
867 "name": "execute split tp-id to get pnf-name",
\r
868 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",
\r
871 "x": 3938.566665649414,
\r
872 "y": 990.5666656494141,
\r
873 "z": "9256178d.211a68",
\r
882 "id": "7716f28b.4501a4",
\r
885 "xml": "<outcome value='success'>\n",
\r
888 "x": 4161.566665649414,
\r
889 "y": 945.5666656494141,
\r
890 "z": "9256178d.211a68",
\r
898 "id": "1b7a2eba.962ee9",
\r
901 "xml": "<outcome value='failure'>\n",
\r
904 "x": 4163.566665649414,
\r
905 "y": 1009.5666656494141,
\r
906 "z": "9256178d.211a68",
\r
914 "id": "690a2492.cfb0bc",
\r
916 "name": "set ltpId",
\r
917 "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",
\r
919 "x": 4496.566665649414,
\r
920 "y": 900.5666656494141,
\r
921 "z": "9256178d.211a68",
\r
925 "id": "b1d0addd.f89fe8",
\r
926 "type": "returnFailure",
\r
927 "name": "return failure",
\r
928 "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
930 "x": 4325.566665649414,
\r
931 "y": 1005.5666656494141,
\r
932 "z": "9256178d.211a68",
\r
936 "id": "22cc4911.ba723e",
\r
938 "name": "block : atomic",
\r
939 "xml": "<block atomic=\"true\">",
\r
942 "x": 4326.566665649414,
\r
943 "y": 942.5666656494141,
\r
944 "z": "9256178d.211a68",
\r
953 "id": "86327d08.aa9fb8",
\r
955 "name": "set pnf-name",
\r
956 "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",
\r
958 "x": 4497.566665649414,
\r
959 "y": 1008.5666656494141,
\r
960 "z": "9256178d.211a68",
\r
964 "id": "cde2aa0c.c7d71",
\r
966 "name": "TODO: FIXME",
\r
967 "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
969 "x": 4498.566665649414,
\r
970 "y": 957.5666656494141,
\r
971 "z": "9256178d.211a68",
\r
975 "id": "1c74c2ea.33d395",
\r
977 "name": "save connectivity resource in AAI",
\r
978 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\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
981 "x": 3940.566665649414,
\r
982 "y": 1149.566665649414,
\r
983 "z": "9256178d.211a68",
\r
989 "id": "2638e2e.143761e",
\r
991 "name": "execute UUID generator for connectivity domainA",
\r
992 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",
\r
995 "x": 3985.566665649414,
\r
996 "y": 1059.566665649414,
\r
997 "z": "9256178d.211a68",
\r
1003 "id": "5d159096.a0e35",
\r
1004 "type": "comment",
\r
1005 "name": "TODO: FIXME",
\r
1006 "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
1008 "x": 3874.566665649414,
\r
1009 "y": 1100.566665649414,
\r
1010 "z": "9256178d.211a68",
\r
1014 "id": "834482bc.da8c9",
\r
1015 "type": "execute",
\r
1016 "name": "execute split tp-id to get pnf-name",
\r
1017 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",
\r
1020 "x": 3928.566665649414,
\r
1021 "y": 1846.5667877197266,
\r
1022 "z": "9256178d.211a68",
\r
1025 "78906c54.263be4",
\r
1031 "id": "da17cabc.510218",
\r
1032 "type": "failure",
\r
1033 "name": "success",
\r
1034 "xml": "<outcome value='success'>\n",
\r
1037 "x": 4151.566665649414,
\r
1038 "y": 1801.5667877197266,
\r
1039 "z": "9256178d.211a68",
\r
1047 "id": "78906c54.263be4",
\r
1048 "type": "failure",
\r
1049 "name": "failure",
\r
1050 "xml": "<outcome value='failure'>\n",
\r
1053 "x": 4153.566665649414,
\r
1054 "y": 1865.5667877197266,
\r
1055 "z": "9256178d.211a68",
\r
1063 "id": "7e4bfbaf.bbef8c",
\r
1065 "name": "set ltpId",
\r
1066 "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",
\r
1068 "x": 4486.566665649414,
\r
1069 "y": 1759.5667877197266,
\r
1070 "z": "9256178d.211a68",
\r
1074 "id": "dfe47f7c.d37a1",
\r
1075 "type": "returnFailure",
\r
1076 "name": "return failure",
\r
1077 "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
1079 "x": 4312.566665649414,
\r
1080 "y": 1884.5667877197266,
\r
1081 "z": "9256178d.211a68",
\r
1085 "id": "4c8e2849.b6ab18",
\r
1087 "name": "block : atomic",
\r
1088 "xml": "<block atomic=\"true\">",
\r
1091 "x": 4316.566665649414,
\r
1092 "y": 1798.5667877197266,
\r
1093 "z": "9256178d.211a68",
\r
1096 "7e4bfbaf.bbef8c",
\r
1102 "id": "26579dba.f3fbba",
\r
1104 "name": "set pnf-name",
\r
1105 "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",
\r
1107 "x": 4487.566665649414,
\r
1108 "y": 1864.5667877197266,
\r
1109 "z": "9256178d.211a68",
\r
1113 "id": "8836114.dcb937",
\r
1114 "type": "comment",
\r
1115 "name": "TODO: FIXME",
\r
1116 "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
1118 "x": 4482.566665649414,
\r
1119 "y": 1813.5667877197266,
\r
1120 "z": "9256178d.211a68",
\r
1124 "id": "359ab66.2c0144a",
\r
1126 "name": "save connectivity resource in AAI",
\r
1127 "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='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\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
1130 "x": 3930.566665649414,
\r
1131 "y": 2005.5667877197266,
\r
1132 "z": "9256178d.211a68",
\r
1138 "id": "713b2333.204aec",
\r
1139 "type": "execute",
\r
1140 "name": "execute UUID generator for connectivity domainB",
\r
1141 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",
\r
1144 "x": 3975.566665649414,
\r
1145 "y": 1915.5667877197266,
\r
1146 "z": "9256178d.211a68",
\r
1152 "id": "9f1fac8a.3f574",
\r
1153 "type": "comment",
\r
1154 "name": "TODO: FIXME",
\r
1155 "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
1157 "x": 3864.566665649414,
\r
1158 "y": 1953.5667877197266,
\r
1159 "z": "9256178d.211a68",
\r
1163 "id": "d4510409.d18f8",
\r
1165 "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
\r
1166 "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",
\r
1169 "x": 2860.566665649414,
\r
1170 "y": 2349.566665649414,
\r
1171 "z": "9256178d.211a68",
\r
1177 "id": "f73397ef.aaf4c",
\r
1179 "name": "set attachment_param",
\r
1180 "xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\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
1182 "x": 2658.566665649414,
\r
1183 "y": 2228.566665649414,
\r
1184 "z": "9256178d.211a68",
\r
1188 "id": "200f044c.0142e4",
\r
1189 "type": "comment",
\r
1190 "name": "TODO: FIXME",
\r
1191 "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
1193 "x": 2624.566665649414,
\r
1194 "y": 2162.566665649414,
\r
1195 "z": "9256178d.211a68",
\r
1199 "id": "3078ca2b.4c72c6",
\r
1201 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1202 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.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/' + $uuid.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=\"`$uuid.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
1205 "x": 4068.566665649414,
\r
1206 "y": 1197.566665649414,
\r
1207 "z": "9256178d.211a68",
\r
1213 "id": "2cc88657.e87afa",
\r
1215 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1216 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.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\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
1219 "x": 4057.566665649414,
\r
1220 "y": 2070.5667877197266,
\r
1221 "z": "9256178d.211a68",
\r
1227 "id": "117cb756.a2a2d9",
\r
1228 "type": "execute",
\r
1229 "name": "get esr-thirdparty-sdnc",
\r
1230 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",
\r
1233 "x": 5112.566665649414,
\r
1234 "y": 717.5666656494141,
\r
1235 "z": "9256178d.211a68",
\r
1239 "72d35790.07a0a8",
\r
1245 "id": "d72f2b29.b29698",
\r
1247 "name": "block : atomic",
\r
1248 "xml": "<block atomic=\"true\">",
\r
1251 "x": 2665.566665649414,
\r
1252 "y": 373.56666564941406,
\r
1253 "z": "9256178d.211a68",
\r
1261 "id": "ba7cd715.7b1848",
\r
1262 "type": "outcome",
\r
1263 "name": "logical-link",
\r
1264 "xml": "<outcome value='logical-link'>\n",
\r
1267 "x": 1595.5667877197266,
\r
1268 "y": 790.5667877197266,
\r
1269 "z": "9256178d.211a68",
\r
1277 "id": "7935e728.7a6cd8",
\r
1278 "type": "switchNode",
\r
1279 "name": "switch allotted-resource.relationship-list not empty",
\r
1280 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",
\r
1283 "x": 2333.566665649414,
\r
1284 "y": 496.56666564941406,
\r
1285 "z": "9256178d.211a68",
\r
1294 "id": "443647ac.996ce8",
\r
1295 "type": "outcomeFalse",
\r
1297 "xml": "<outcome value='false'>\n",
\r
1300 "x": 2643.566665649414,
\r
1301 "y": 503.56666564941406,
\r
1302 "z": "9256178d.211a68",
\r
1308 "id": "c03e1705.5e117",
\r
1309 "type": "outcomeTrue",
\r
1311 "xml": "<outcome value='true'>\n",
\r
1314 "x": 2642.566665649414,
\r
1315 "y": 557.5666656494141,
\r
1316 "z": "9256178d.211a68",
\r
1324 "id": "a7413863.fffc18",
\r
1326 "name": "set the current logical-link-name",
\r
1327 "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",
\r
1329 "x": 2015.566665649414,
\r
1330 "y": 740.5666656494141,
\r
1331 "z": "9256178d.211a68",
\r
1335 "id": "5a4e861b.fe333",
\r
1337 "name": "block : atomic",
\r
1338 "xml": "<block atomic=\"true\">",
\r
1341 "x": 1772.566665649414,
\r
1342 "y": 783.5666656494141,
\r
1343 "z": "9256178d.211a68",
\r
1346 "a7413863.fffc18",
\r
1352 "id": "ef7f5983.624538",
\r
1353 "type": "comment",
\r
1354 "name": "Question?",
\r
1355 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1357 "x": 3201.566665649414,
\r
1358 "y": 969.5666656494141,
\r
1359 "z": "9256178d.211a68",
\r
1363 "id": "670222f1.9217fc",
\r
1365 "name": "get p-interface-src from aai",
\r
1366 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.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
1369 "x": 3244.566665649414,
\r
1370 "y": 1034.566665649414,
\r
1371 "z": "9256178d.211a68",
\r
1374 "89cd3be0.fed2e8",
\r
1375 "6ce22fa5.148738",
\r
1381 "id": "b42a18a6.f5c9c",
\r
1383 "name": "get p-interface-dst from aai",
\r
1384 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.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.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
1387 "x": 3241.566665649414,
\r
1388 "y": 1878.566665649414,
\r
1389 "z": "9256178d.211a68",
\r
1393 "20818b75.1274cc",
\r
1399 "id": "c8a39fd5.26e7b",
\r
1400 "type": "comment",
\r
1401 "name": "Question?",
\r
1402 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1404 "x": 3202.566665649414,
\r
1405 "y": 1822.566665649414,
\r
1406 "z": "9256178d.211a68",
\r
1410 "id": "a21b0826.040f68",
\r
1412 "name": "get allotted-resource relationship from aai",
\r
1413 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",
\r
1416 "x": 2958.566665649414,
\r
1417 "y": 320.56666564941406,
\r
1418 "z": "9256178d.211a68",
\r
1421 "4aea984e.525588",
\r
1428 "id": "b162701f.2122e",
\r
1429 "type": "not-found",
\r
1430 "name": "not-found",
\r
1431 "xml": "<outcome value='not-found'>\n",
\r
1434 "x": 3232.057632446289,
\r
1435 "y": 213.14064025878906,
\r
1436 "z": "9256178d.211a68",
\r
1444 "id": "1f5782e1.732415",
\r
1445 "type": "returnFailure",
\r
1446 "name": "return failure",
\r
1447 "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
1449 "x": 3409.629165649414,
\r
1450 "y": 213.42640686035156,
\r
1451 "z": "9256178d.211a68",
\r
1455 "id": "62d5ee30.6cb7d8",
\r
1456 "type": "failure",
\r
1457 "name": "failure",
\r
1458 "xml": "<outcome value='failure'>\n",
\r
1461 "x": 3227.566665649414,
\r
1462 "y": 262.56666564941406,
\r
1463 "z": "9256178d.211a68",
\r
1471 "id": "95458c8d.84809",
\r
1472 "type": "returnFailure",
\r
1473 "name": "return failure",
\r
1474 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1476 "x": 3409.566665649414,
\r
1477 "y": 262.56666564941406,
\r
1478 "z": "9256178d.211a68",
\r
1482 "id": "4aea984e.525588",
\r
1483 "type": "success",
\r
1484 "name": "success",
\r
1485 "xml": "<outcome value='success'>\n",
\r
1488 "x": 3231.566665649414,
\r
1489 "y": 313.56666564941406,
\r
1490 "z": "9256178d.211a68",
\r
1498 "id": "f1c741f5.f9107",
\r
1500 "name": "block : atomic",
\r
1501 "xml": "<block atomic=\"true\">",
\r
1504 "x": 3411.566665649414,
\r
1505 "y": 313.56666564941406,
\r
1506 "z": "9256178d.211a68",
\r
1514 "id": "c6653aca.b9464",
\r
1516 "name": "for each allotted-resource relationship",
\r
1517 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
1520 "x": 2902.566665649414,
\r
1521 "y": 537.5666656494141,
\r
1522 "z": "9256178d.211a68",
\r
1530 "id": "f3ed889.142a978",
\r
1531 "type": "switchNode",
\r
1532 "name": "switch related-to",
\r
1533 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
1536 "x": 3182.566665649414,
\r
1537 "y": 537.5666656494141,
\r
1538 "z": "9256178d.211a68",
\r
1546 "id": "dba40877.5798e",
\r
1547 "type": "outcome",
\r
1548 "name": "network-policy",
\r
1549 "xml": "<outcome value='network-policy'>\n",
\r
1552 "x": 3387.566665649414,
\r
1553 "y": 511.56666564941406,
\r
1554 "z": "9256178d.211a68",
\r
1562 "id": "196e356.b3ce64b",
\r
1564 "name": "block : atomic",
\r
1565 "xml": "<block atomic=\"true\">",
\r
1568 "x": 3564.5665435791016,
\r
1569 "y": 504.56654357910156,
\r
1570 "z": "9256178d.211a68",
\r
1573 "e3e6b765.4d9878",
\r
1579 "id": "e3e6b765.4d9878",
\r
1581 "name": "set the 1st network-policy-id",
\r
1582 "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",
\r
1584 "x": 3807.5665435791016,
\r
1585 "y": 461.56654357910156,
\r
1586 "z": "9256178d.211a68",
\r
1590 "id": "b8269eb.7fee5e",
\r
1592 "name": "get network-policy from aai",
\r
1593 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",
\r
1596 "x": 3796.5665435791016,
\r
1597 "y": 516.5665435791016,
\r
1598 "z": "9256178d.211a68",
\r
1601 "52707298.644854",
\r
1602 "73e07a10.53585c",
\r
1608 "id": "cc16ab53.2ad86",
\r
1609 "type": "not-found",
\r
1610 "name": "not-found",
\r
1611 "xml": "<outcome value='not-found'>\n",
\r
1614 "x": 4049.566665649414,
\r
1615 "y": 402.56666564941406,
\r
1616 "z": "9256178d.211a68",
\r
1624 "id": "a488a64d.fae9f",
\r
1625 "type": "returnFailure",
\r
1626 "name": "return failure",
\r
1627 "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
1629 "x": 4198.138198852539,
\r
1630 "y": 402.85243225097656,
\r
1631 "z": "9256178d.211a68",
\r
1635 "id": "3e172036.3dfe9",
\r
1636 "type": "returnFailure",
\r
1637 "name": "return failure",
\r
1638 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1640 "x": 4197.075698852539,
\r
1641 "y": 446.99269104003906,
\r
1642 "z": "9256178d.211a68",
\r
1646 "id": "73e07a10.53585c",
\r
1647 "type": "failure",
\r
1648 "name": "failure",
\r
1649 "xml": "<outcome value='failure'>\n",
\r
1652 "x": 4038.075698852539,
\r
1653 "y": 446.99269104003906,
\r
1654 "z": "9256178d.211a68",
\r
1662 "id": "52707298.644854",
\r
1663 "type": "success",
\r
1664 "name": "success",
\r
1665 "xml": "<outcome value='success'>\n",
\r
1668 "x": 4045.075698852539,
\r
1669 "y": 525.9926910400391,
\r
1670 "z": "9256178d.211a68",
\r
1678 "id": "f6f5e0ef.37ff18",
\r
1681 "xml": "<block>\n",
\r
1682 "atomic": "false",
\r
1685 "x": 4184.075698852539,
\r
1686 "y": 525.9926910400391,
\r
1687 "z": "9256178d.211a68",
\r
1696 "id": "f1f16ad9.ab6c1",
\r
1698 "name": "set the max bandwidth",
\r
1699 "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
\r
1701 "x": 4389.566665649414,
\r
1702 "y": 523.5666656494141,
\r
1703 "z": "9256178d.211a68",
\r
1707 "id": "82e83a40.d9e3c",
\r
1708 "type": "execute",
\r
1709 "name": "execute split tp-id to get pnf-name",
\r
1710 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",
\r
1713 "x": 3245.566665649414,
\r
1714 "y": 704.5666656494141,
\r
1715 "z": "9256178d.211a68",
\r
1724 "id": "1d377ef3.0119d9",
\r
1725 "type": "failure",
\r
1726 "name": "success",
\r
1727 "xml": "<outcome value='success'>\n",
\r
1730 "x": 3468.566665649414,
\r
1731 "y": 690.5666656494141,
\r
1732 "z": "9256178d.211a68",
\r
1740 "id": "bc26e44c.af9fc",
\r
1741 "type": "failure",
\r
1742 "name": "failure",
\r
1743 "xml": "<outcome value='failure'>\n",
\r
1746 "x": 3470.566665649414,
\r
1747 "y": 723.5666656494141,
\r
1748 "z": "9256178d.211a68",
\r
1756 "id": "26e72470.d1e50c",
\r
1757 "type": "returnFailure",
\r
1758 "name": "return failure",
\r
1759 "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
1761 "x": 3613.566665649414,
\r
1762 "y": 720.5666656494141,
\r
1763 "z": "9256178d.211a68",
\r
1767 "id": "2e20e3ac.843a84",
\r
1769 "name": "block : atomic",
\r
1770 "xml": "<block atomic=\"true\">",
\r
1773 "x": 3616.566665649414,
\r
1774 "y": 683.5666656494141,
\r
1775 "z": "9256178d.211a68",
\r
1784 "id": "d1ca7e66.d6d25",
\r
1786 "name": "set pnf-name",
\r
1787 "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n $param-prefix-domainA-pnfName[1] + '-' +\n $param-prefix-domainA-pnfName[2] + '-' +\n $param-prefix-domainA-pnfName[3] + '-' +\n $param-prefix-domainA-pnfName[4] + '-' +\n $param-prefix-domainA-pnfName[5] + '-' +\n $param-prefix-domainA-pnfName[6] + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />\n",
\r
1789 "x": 3778.566665649414,
\r
1790 "y": 678.5666656494141,
\r
1791 "z": "9256178d.211a68",
\r
1795 "id": "ccfa8314.375c3",
\r
1796 "type": "execute",
\r
1797 "name": "execute split tp-id to get pnf-name",
\r
1798 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",
\r
1801 "x": 3259.566665649414,
\r
1802 "y": 1541.5665435791016,
\r
1803 "z": "9256178d.211a68",
\r
1812 "id": "2e323a70.856296",
\r
1813 "type": "failure",
\r
1814 "name": "success",
\r
1815 "xml": "<outcome value='success'>\n",
\r
1818 "x": 3482.566665649414,
\r
1819 "y": 1527.5665435791016,
\r
1820 "z": "9256178d.211a68",
\r
1828 "id": "fb9d05a4.702cb",
\r
1829 "type": "failure",
\r
1830 "name": "failure",
\r
1831 "xml": "<outcome value='failure'>\n",
\r
1834 "x": 3484.566665649414,
\r
1835 "y": 1560.5665435791016,
\r
1836 "z": "9256178d.211a68",
\r
1844 "id": "96d94f89.40a6f8",
\r
1845 "type": "returnFailure",
\r
1846 "name": "return failure",
\r
1847 "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
1849 "x": 3627.566665649414,
\r
1850 "y": 1557.5665435791016,
\r
1851 "z": "9256178d.211a68",
\r
1855 "id": "ac71b291.7c3e",
\r
1857 "name": "block : atomic",
\r
1858 "xml": "<block atomic=\"true\">",
\r
1861 "x": 3630.566665649414,
\r
1862 "y": 1520.5665435791016,
\r
1863 "z": "9256178d.211a68",
\r
1872 "id": "eab11739.c2283",
\r
1874 "name": "set pnf-name",
\r
1875 "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n $param-prefix-domainB-pnfName[1] + '-' +\n $param-prefix-domainB-pnfName[2] + '-' +\n $param-prefix-domainB-pnfName[3] + '-' +\n $param-prefix-domainB-pnfName[4] + '-' +\n $param-prefix-domainB-pnfName[5] + '-' +\n $param-prefix-domainB-pnfName[6] + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />\n",
\r
1877 "x": 3824.566665649414,
\r
1878 "y": 1523.566665649414,
\r
1879 "z": "9256178d.211a68",
\r
1883 "id": "195092e3.943c55",
\r
1884 "type": "execute",
\r
1885 "name": "execute properties",
\r
1886 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",
\r
1889 "x": 1088.566665649414,
\r
1890 "y": 228.56666564941406,
\r
1891 "z": "9256178d.211a68",
\r
1897 "id": "81305781.090ed8",
\r
1899 "name": "for each relationship",
\r
1900 "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",
\r
1903 "x": 3892.566665649414,
\r
1904 "y": 1274.566665649414,
\r
1905 "z": "9256178d.211a68",
\r
1913 "id": "f76721b5.8461d",
\r
1914 "type": "switchNode",
\r
1915 "name": "switch related-to",
\r
1916 "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",
\r
1919 "x": 4098.566665649414,
\r
1920 "y": 1274.566665649414,
\r
1921 "z": "9256178d.211a68",
\r
1929 "id": "b969fa1c.797cc8",
\r
1930 "type": "outcome",
\r
1931 "name": "tunnel-termination-point",
\r
1932 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
1935 "x": 4313.852310180664,
\r
1936 "y": 1274.388442993164,
\r
1937 "z": "9256178d.211a68",
\r
1945 "id": "53dab03f.fc20f",
\r
1947 "name": "block : atomic",
\r
1948 "xml": "<block atomic=\"true\">",
\r
1951 "x": 4520.683853149414,
\r
1952 "y": 1274.906997680664,
\r
1953 "z": "9256178d.211a68",
\r
1957 "5524147a.4f670c",
\r
1963 "id": "c8f50b30.1a1a",
\r
1965 "name": "set source ttp-id",
\r
1966 "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",
\r
1968 "x": 4735.683853149414,
\r
1969 "y": 1236.906997680664,
\r
1970 "z": "9256178d.211a68",
\r
1974 "id": "5524147a.4f670c",
\r
1975 "type": "get-resource",
\r
1976 "name": "get-resource src TTP",
\r
1977 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",
\r
1980 "x": 4732.683853149414,
\r
1981 "y": 1275.906997680664,
\r
1982 "z": "9256178d.211a68",
\r
1990 "id": "e21dfbfb.d70ee",
\r
1993 "xml": "<break>\n",
\r
1995 "x": 4688.183853149414,
\r
1996 "y": 1317.906997680664,
\r
1997 "z": "9256178d.211a68",
\r
2001 "id": "468c57ff.e87bd",
\r
2002 "type": "success",
\r
2003 "name": "success",
\r
2004 "xml": "<outcome value='success'>\n",
\r
2007 "x": 4913.183853149414,
\r
2008 "y": 1274.906997680664,
\r
2009 "z": "9256178d.211a68",
\r
2017 "id": "674f9840.48c03",
\r
2019 "name": "block : atomic",
\r
2020 "xml": "<block atomic=\"true\">",
\r
2023 "x": 5071.183853149414,
\r
2024 "y": 1274.906997680664,
\r
2025 "z": "9256178d.211a68",
\r
2033 "id": "202acc61.848adc",
\r
2035 "name": "set source tunnel tp ip",
\r
2036 "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",
\r
2038 "x": 5278.183853149414,
\r
2039 "y": 1274.906997680664,
\r
2040 "z": "9256178d.211a68",
\r
2044 "id": "5952bd35.50a834",
\r
2046 "name": "for each relationship",
\r
2047 "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",
\r
2050 "x": 3889.566665649414,
\r
2051 "y": 2143.5667877197266,
\r
2052 "z": "9256178d.211a68",
\r
2060 "id": "6a89a776.9e1148",
\r
2061 "type": "switchNode",
\r
2062 "name": "switch related-to",
\r
2063 "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",
\r
2066 "x": 4095.566665649414,
\r
2067 "y": 2143.5667877197266,
\r
2068 "z": "9256178d.211a68",
\r
2076 "id": "c422bc84.9ff58",
\r
2077 "type": "outcome",
\r
2078 "name": "tunnel-termination-point",
\r
2079 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2082 "x": 4310.852310180664,
\r
2083 "y": 2143.3885650634766,
\r
2084 "z": "9256178d.211a68",
\r
2092 "id": "35ec76d0.e92ad2",
\r
2094 "name": "block : atomic",
\r
2095 "xml": "<block atomic=\"true\">",
\r
2098 "x": 4517.683853149414,
\r
2099 "y": 2143.9071197509766,
\r
2100 "z": "9256178d.211a68",
\r
2104 "ed9d3d70.991958",
\r
2110 "id": "2da8c0eb.ef8a5",
\r
2112 "name": "set destination ttp-id",
\r
2113 "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",
\r
2115 "x": 4732.683853149414,
\r
2116 "y": 2105.9071197509766,
\r
2117 "z": "9256178d.211a68",
\r
2121 "id": "ed9d3d70.991958",
\r
2122 "type": "get-resource",
\r
2123 "name": "get-resource src TTP",
\r
2124 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",
\r
2127 "x": 4729.683853149414,
\r
2128 "y": 2144.9071197509766,
\r
2129 "z": "9256178d.211a68",
\r
2137 "id": "4afbd03e.c78838",
\r
2140 "xml": "<break>\n",
\r
2142 "x": 4685.183853149414,
\r
2143 "y": 2186.9071197509766,
\r
2144 "z": "9256178d.211a68",
\r
2148 "id": "12a67fc9.3eabd",
\r
2149 "type": "success",
\r
2150 "name": "success",
\r
2151 "xml": "<outcome value='success'>\n",
\r
2154 "x": 4910.183853149414,
\r
2155 "y": 2143.9071197509766,
\r
2156 "z": "9256178d.211a68",
\r
2164 "id": "e5260f19.3624e",
\r
2166 "name": "block : atomic",
\r
2167 "xml": "<block atomic=\"true\">",
\r
2170 "x": 5068.183853149414,
\r
2171 "y": 2143.9071197509766,
\r
2172 "z": "9256178d.211a68",
\r
2180 "id": "fea1a0aa.e8456",
\r
2182 "name": "set destination tunnel tp ip",
\r
2183 "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",
\r
2185 "x": 5275.183853149414,
\r
2186 "y": 2143.9071197509766,
\r
2187 "z": "9256178d.211a68",
\r
2191 "id": "8b886e18.72a2f",
\r
2192 "type": "get-resource",
\r
2193 "name": "get-resource src pnf",
\r
2194 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
2197 "x": 3805.566665649414,
\r
2198 "y": 750.5666656494141,
\r
2199 "z": "9256178d.211a68",
\r
2202 "230a01ea.26a66e",
\r
2209 "id": "230a01ea.26a66e",
\r
2210 "type": "success",
\r
2211 "name": "success",
\r
2212 "xml": "<outcome value='success'>\n",
\r
2215 "x": 4001.0667877197266,
\r
2216 "y": 702.5666656494141,
\r
2217 "z": "9256178d.211a68",
\r
2225 "id": "548c580d.50378",
\r
2226 "type": "not-found",
\r
2227 "name": "not-found",
\r
2228 "xml": "<outcome value='not-found'>\n",
\r
2231 "x": 3993.0667877197266,
\r
2232 "y": 757.5666656494141,
\r
2233 "z": "9256178d.211a68",
\r
2241 "id": "266b6d86.22640a",
\r
2244 "xml": "<outcome value='Other'>\n",
\r
2247 "x": 3998.0667877197266,
\r
2248 "y": 814.5666656494141,
\r
2249 "z": "9256178d.211a68",
\r
2257 "id": "c89ea643.5fb658",
\r
2258 "type": "returnFailure",
\r
2259 "name": "return failure",
\r
2260 "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
2262 "x": 4150.066787719727,
\r
2263 "y": 815.5666656494141,
\r
2264 "z": "9256178d.211a68",
\r
2268 "id": "f0a74837.6bf648",
\r
2269 "type": "returnFailure",
\r
2270 "name": "return failure",
\r
2271 "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.connection-attachement.access-node-id`\" />\n\n",
\r
2273 "x": 4161.066787719727,
\r
2274 "y": 760.5666656494141,
\r
2275 "z": "9256178d.211a68",
\r
2279 "id": "8a1e2c2.231ae5",
\r
2282 "xml": "<block>\n",
\r
2283 "atomic": "false",
\r
2286 "x": 4145.449111938477,
\r
2287 "y": 700.2223358154297,
\r
2288 "z": "9256178d.211a68",
\r
2296 "id": "f1310713.19e1c",
\r
2297 "type": "outcome",
\r
2298 "name": "esr-thirdparty-sdnc",
\r
2299 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2302 "x": 4727.566665649414,
\r
2303 "y": 718.5666656494141,
\r
2304 "z": "9256178d.211a68",
\r
2312 "id": "cbcc3226.5de568",
\r
2314 "name": "block : atomic",
\r
2315 "xml": "<block atomic=\"true\">",
\r
2318 "x": 4904.566665649414,
\r
2319 "y": 710.5666656494141,
\r
2320 "z": "9256178d.211a68",
\r
2329 "id": "5c25cba9.41b2b4",
\r
2331 "name": "for each relationship",
\r
2332 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
\r
2335 "x": 4329.566665649414,
\r
2336 "y": 714.5666656494141,
\r
2337 "z": "9256178d.211a68",
\r
2345 "id": "c4bf834f.523618",
\r
2346 "type": "switchNode",
\r
2347 "name": "switch related-to",
\r
2348 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
2351 "x": 4524.566665649414,
\r
2352 "y": 714.5666656494141,
\r
2353 "z": "9256178d.211a68",
\r
2362 "id": "9672ea99.0655d",
\r
2364 "name": "set esr-thirdparty-sdnc domainA id",
\r
2365 "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
\r
2367 "x": 5142.566665649414,
\r
2368 "y": 665.5666656494141,
\r
2369 "z": "9256178d.211a68",
\r
2373 "id": "3866efd7.2177",
\r
2374 "type": "success",
\r
2375 "name": "success",
\r
2376 "xml": "<outcome value='success'>\n",
\r
2379 "x": 5322.566665649414,
\r
2380 "y": 708.5666656494141,
\r
2381 "z": "9256178d.211a68",
\r
2389 "id": "72d35790.07a0a8",
\r
2390 "type": "not-found",
\r
2391 "name": "not-found",
\r
2392 "xml": "<outcome value='not-found'>\n",
\r
2395 "x": 5314.566665649414,
\r
2396 "y": 763.5666656494141,
\r
2397 "z": "9256178d.211a68",
\r
2405 "id": "261ed4c9.21b32c",
\r
2408 "xml": "<outcome value='Other'>\n",
\r
2411 "x": 5319.566665649414,
\r
2412 "y": 820.5666656494141,
\r
2413 "z": "9256178d.211a68",
\r
2421 "id": "fa12b901.242fd8",
\r
2422 "type": "returnFailure",
\r
2423 "name": "return failure",
\r
2424 "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
2426 "x": 5471.566665649414,
\r
2427 "y": 821.5666656494141,
\r
2428 "z": "9256178d.211a68",
\r
2432 "id": "7783383e.51854",
\r
2433 "type": "returnFailure",
\r
2434 "name": "return failure",
\r
2435 "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.connection-attachement.access-node-id`\" />\n\n",
\r
2437 "x": 5482.566665649414,
\r
2438 "y": 766.5666656494141,
\r
2439 "z": "9256178d.211a68",
\r
2443 "id": "fe38d110.6015b8",
\r
2446 "xml": "<block>\n",
\r
2447 "atomic": "false",
\r
2450 "x": 5466.948989868164,
\r
2451 "y": 706.2223358154297,
\r
2452 "z": "9256178d.211a68",
\r
2460 "id": "60bc3d89.a08324",
\r
2462 "name": "set controller domainA data",
\r
2463 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
\r
2465 "x": 5681.566665649414,
\r
2466 "y": 702.5666656494141,
\r
2467 "z": "9256178d.211a68",
\r
2471 "id": "dc956cf0.69a068",
\r
2472 "type": "get-resource",
\r
2473 "name": "get-resource src pnf",
\r
2474 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n pfx='tmp.aai.destination-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
2477 "x": 3846.566665649414,
\r
2478 "y": 1591.566665649414,
\r
2479 "z": "9256178d.211a68",
\r
2482 "bf4fb85e.9c3948",
\r
2489 "id": "bf4fb85e.9c3948",
\r
2490 "type": "success",
\r
2491 "name": "success",
\r
2492 "xml": "<outcome value='success'>\n",
\r
2495 "x": 4042.0667877197266,
\r
2496 "y": 1543.566665649414,
\r
2497 "z": "9256178d.211a68",
\r
2505 "id": "6a7367e2.bb2c9",
\r
2506 "type": "not-found",
\r
2507 "name": "not-found",
\r
2508 "xml": "<outcome value='not-found'>\n",
\r
2511 "x": 4034.0667877197266,
\r
2512 "y": 1598.566665649414,
\r
2513 "z": "9256178d.211a68",
\r
2521 "id": "ddd9af1d.15854",
\r
2524 "xml": "<outcome value='Other'>\n",
\r
2527 "x": 4039.0667877197266,
\r
2528 "y": 1655.566665649414,
\r
2529 "z": "9256178d.211a68",
\r
2537 "id": "820f34bd.964968",
\r
2538 "type": "returnFailure",
\r
2539 "name": "return failure",
\r
2540 "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
2542 "x": 4191.066787719727,
\r
2543 "y": 1656.566665649414,
\r
2544 "z": "9256178d.211a68",
\r
2548 "id": "145991d9.a47ef6",
\r
2549 "type": "returnFailure",
\r
2550 "name": "return failure",
\r
2551 "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.connection-attachement.access-node-id`\" />\n\n",
\r
2553 "x": 4202.066787719727,
\r
2554 "y": 1601.566665649414,
\r
2555 "z": "9256178d.211a68",
\r
2559 "id": "350a8536.22a84a",
\r
2562 "xml": "<block>\n",
\r
2563 "atomic": "false",
\r
2566 "x": 4186.449111938477,
\r
2567 "y": 1541.2223358154297,
\r
2568 "z": "9256178d.211a68",
\r
2576 "id": "df02e92.6642a98",
\r
2577 "type": "outcome",
\r
2578 "name": "esr-thirdparty-sdnc",
\r
2579 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2582 "x": 4768.566665649414,
\r
2583 "y": 1559.566665649414,
\r
2584 "z": "9256178d.211a68",
\r
2592 "id": "360786c5.7cab22",
\r
2594 "name": "block : atomic",
\r
2595 "xml": "<block atomic=\"true\">",
\r
2598 "x": 4945.566665649414,
\r
2599 "y": 1551.566665649414,
\r
2600 "z": "9256178d.211a68",
\r
2603 "41cd01ea.c63f78",
\r
2609 "id": "6f232f80.17fde",
\r
2611 "name": "for each relationship",
\r
2612 "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",
\r
2615 "x": 4370.566665649414,
\r
2616 "y": 1555.566665649414,
\r
2617 "z": "9256178d.211a68",
\r
2625 "id": "d99ab523.6da018",
\r
2626 "type": "switchNode",
\r
2627 "name": "switch related-to",
\r
2628 "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
\r
2631 "x": 4565.566665649414,
\r
2632 "y": 1555.566665649414,
\r
2633 "z": "9256178d.211a68",
\r
2636 "df02e92.6642a98",
\r
2642 "id": "aaeef3c0.eb5678",
\r
2643 "type": "execute",
\r
2644 "name": "get esr-thirdparty-sdnc",
\r
2645 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",
\r
2648 "x": 5153.566665649414,
\r
2649 "y": 1558.566665649414,
\r
2650 "z": "9256178d.211a68",
\r
2653 "3618e547.e0a40a",
\r
2660 "id": "41cd01ea.c63f78",
\r
2662 "name": "set esr-thirdparty-sdnc domainB id",
\r
2663 "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",
\r
2665 "x": 5183.566665649414,
\r
2666 "y": 1506.566665649414,
\r
2667 "z": "9256178d.211a68",
\r
2671 "id": "3618e547.e0a40a",
\r
2672 "type": "success",
\r
2673 "name": "success",
\r
2674 "xml": "<outcome value='success'>\n",
\r
2677 "x": 5363.566665649414,
\r
2678 "y": 1549.566665649414,
\r
2679 "z": "9256178d.211a68",
\r
2687 "id": "eed6fd7.fbf15",
\r
2688 "type": "not-found",
\r
2689 "name": "not-found",
\r
2690 "xml": "<outcome value='not-found'>\n",
\r
2693 "x": 5355.566665649414,
\r
2694 "y": 1604.566665649414,
\r
2695 "z": "9256178d.211a68",
\r
2703 "id": "3313cec2.2b8cca",
\r
2706 "xml": "<outcome value='Other'>\n",
\r
2709 "x": 5360.566665649414,
\r
2710 "y": 1661.566665649414,
\r
2711 "z": "9256178d.211a68",
\r
2719 "id": "112ac18e.80256e",
\r
2720 "type": "returnFailure",
\r
2721 "name": "return failure",
\r
2722 "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
2724 "x": 5512.566665649414,
\r
2725 "y": 1662.566665649414,
\r
2726 "z": "9256178d.211a68",
\r
2730 "id": "7d8acc36.091ccc",
\r
2731 "type": "returnFailure",
\r
2732 "name": "return failure",
\r
2733 "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.connection-attachement.access-node-id`\" />\n\n",
\r
2735 "x": 5523.566665649414,
\r
2736 "y": 1607.566665649414,
\r
2737 "z": "9256178d.211a68",
\r
2741 "id": "b22ebd12.40a81",
\r
2744 "xml": "<block>\n",
\r
2745 "atomic": "false",
\r
2748 "x": 5507.948989868164,
\r
2749 "y": 1547.2223358154297,
\r
2750 "z": "9256178d.211a68",
\r
2758 "id": "1c9d9642.f84cba",
\r
2760 "name": "set controller domainB data",
\r
2761 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
\r
2763 "x": 5722.566665649414,
\r
2764 "y": 1543.566665649414,
\r
2765 "z": "9256178d.211a68",
\r
2769 "id": "f30f322a.ce56f8",
\r
2771 "name": "block : atomic",
\r
2772 "xml": "<block atomic=\"true\">",
\r
2775 "x": 2806.566665649414,
\r
2776 "y": 483.56666564941406,
\r
2777 "z": "9256178d.211a68",
\r
2786 "id": "b73a30ff.3793c",
\r
2788 "name": "for each allotted-resource relationship",
\r
2789 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
2792 "x": 3087.566665649414,
\r
2793 "y": 439.56666564941406,
\r
2794 "z": "9256178d.211a68",
\r
2802 "id": "be2994c5.6111e8",
\r
2803 "type": "switchNode",
\r
2804 "name": "switch related-to",
\r
2805 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
2808 "x": 3349.566665649414,
\r
2809 "y": 439.56666564941406,
\r
2810 "z": "9256178d.211a68",
\r
2818 "id": "88191017.73b938",
\r
2819 "type": "outcome",
\r
2820 "name": "network-resource",
\r
2821 "xml": "<outcome value='network-resource'>",
\r
2824 "x": 4730.566665649414,
\r
2825 "y": 792.5666656494141,
\r
2826 "z": "9256178d.211a68",
\r
2834 "id": "65c2e1c9.1b56d8",
\r
2836 "name": "block : atomic",
\r
2837 "xml": "<block atomic=\"true\">",
\r
2840 "x": 4907.566665649414,
\r
2841 "y": 784.5666656494141,
\r
2842 "z": "9256178d.211a68",
\r
2850 "id": "e785d4f0.4913e8",
\r
2852 "name": "set domainA ethernet layer network-id",
\r
2853 "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
\r
2855 "x": 5142.566665649414,
\r
2856 "y": 908.5666656494141,
\r
2857 "z": "9256178d.211a68",
\r
2861 "id": "5f8b1fbc.6dcf18",
\r
2863 "name": "set domainB ethernet layer network-id",
\r
2864 "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",
\r
2866 "x": 5182.566665649414,
\r
2867 "y": 1748.566665649414,
\r
2868 "z": "9256178d.211a68",
\r
2872 "id": "1932705.17f659",
\r
2874 "name": "block : atomic",
\r
2875 "xml": "<block atomic=\"true\">",
\r
2878 "x": 4947.566665649414,
\r
2879 "y": 1624.566665649414,
\r
2880 "z": "9256178d.211a68",
\r
2888 "id": "c50f0505.bf6c28",
\r
2889 "type": "outcome",
\r
2890 "name": "network-resource",
\r
2891 "xml": "<outcome value='network-resource'>",
\r
2894 "x": 4770.566665649414,
\r
2895 "y": 1632.566665649414,
\r
2896 "z": "9256178d.211a68",
\r
2904 "id": "43bfbebe.764f5",
\r
2906 "name": "set the max bandwidth",
\r
2907 "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
\r
2909 "x": 4388.566665649414,
\r
2910 "y": 569.5666656494141,
\r
2911 "z": "9256178d.211a68",
\r
2915 "id": "3a026a1.c8b1f96",
\r
2916 "type": "execute",
\r
2917 "name": "execute UUID generator for ethernet-service-name",
\r
2918 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",
\r
2921 "x": 2744.566665649414,
\r
2922 "y": 703.5666656494141,
\r
2923 "z": "9256178d.211a68",
\r
2929 "id": "5ea4cfd5.51261",
\r
2930 "type": "execute",
\r
2931 "name": "execute UUID generator for otn-tunnel-name",
\r
2932 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",
\r
2935 "x": 2725.566665649414,
\r
2936 "y": 753.5666656494141,
\r
2937 "z": "9256178d.211a68",
\r
2943 "id": "48ff46b8.d3629",
\r
2945 "name": "for each allotted-resource",
\r
2946 "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",
\r
2949 "x": 1986.566665649414,
\r
2950 "y": 287.56666564941406,
\r
2951 "z": "9256178d.211a68",
\r
2954 "84ff5346.d202e8",
\r
2960 "id": "84ff5346.d202e8",
\r
2962 "name": "set the current allotted-resource-id",
\r
2963 "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",
\r
2965 "x": 2266.566665649414,
\r
2966 "y": 225.56666564941406,
\r
2967 "z": "9256178d.211a68",
\r
2971 "id": "f8f7fd3.b9ae18",
\r
2973 "name": "set query_param",
\r
2974 "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",
\r
2976 "x": 2639.566665649414,
\r
2977 "y": 2281.566665649414,
\r
2978 "z": "9256178d.211a68",
\r
2982 "id": "eb24a93a.96e538",
\r
2984 "name": "unset parameters",
\r
2985 "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",
\r
2987 "x": 2625.566665649414,
\r
2988 "y": 3961.566665649414,
\r
2989 "z": "9256178d.211a68",
\r
2993 "id": "e11f1e73.f567a8",
\r
2995 "name": "set new ethernet-service-name",
\r
2996 "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",
\r
2998 "x": 2682.566665649414,
\r
2999 "y": 798.5666656494141,
\r
3000 "z": "9256178d.211a68",
\r
3004 "id": "9c7b5506.97a75",
\r
3006 "name": "for vidx..tmp.otninfo_length[]",
\r
3007 "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",
\r
3010 "x": 2670.566665649414,
\r
3011 "y": 2528.566665649414,
\r
3012 "z": "9256178d.211a68",
\r
3020 "id": "85036bc9.25f0a",
\r
3022 "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
3023 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\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`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
\r
3026 "x": 3799.566665649414,
\r
3027 "y": 2950.566665649414,
\r
3028 "z": "9256178d.211a68",
\r
3036 "id": "4d0fe394.a0f5c4",
\r
3038 "name": "save connectivity-A relationship to vpn-binding-A, in AAI",
\r
3039 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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/' + $uuid.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=\"`$uuid.connectivity-domainA-uuid`\" />",
\r
3042 "x": 4372.066665649414,
\r
3043 "y": 3054.566665649414,
\r
3044 "z": "9256178d.211a68",
\r
3050 "id": "bd2b4caa.40f07",
\r
3051 "type": "success",
\r
3052 "name": "success",
\r
3053 "xml": "<outcome value='success'>\n",
\r
3056 "x": 4105.566665649414,
\r
3057 "y": 2949.566665649414,
\r
3058 "z": "9256178d.211a68",
\r
3066 "id": "28d033b7.b1a7b4",
\r
3069 "xml": "<block>\n",
\r
3070 "atomic": "false",
\r
3073 "x": 4315.066665649414,
\r
3074 "y": 2949.820571899414,
\r
3075 "z": "9256178d.211a68",
\r
3081 "id": "da384da9.50fad",
\r
3082 "type": "execute",
\r
3083 "name": "execute UUID generator for vpn-binding $otnidx",
\r
3084 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",
\r
3087 "x": 3832.566665649414,
\r
3088 "y": 2429.566665649414,
\r
3089 "z": "9256178d.211a68",
\r
3095 "id": "458c9236.fc09c4",
\r
3096 "type": "switchNode",
\r
3097 "name": "switch otnidx == 0",
\r
3098 "xml": "<switch test='`$otnidx == 0`'>\n",
\r
3101 "x": 3708.566665649414,
\r
3102 "y": 3067.566665649414,
\r
3103 "z": "9256178d.211a68",
\r
3106 "20b3c9fb.2f7a1e",
\r
3112 "id": "20b3c9fb.2f7a1e",
\r
3113 "type": "outcomeTrue",
\r
3115 "xml": "<outcome value='true'>\n",
\r
3118 "x": 3891.566665649414,
\r
3119 "y": 3067.566665649414,
\r
3120 "z": "9256178d.211a68",
\r
3128 "id": "2b2bcdf.9a75432",
\r
3129 "type": "outcomeFalse",
\r
3131 "xml": "<outcome value='false'>\n",
\r
3134 "x": 3716.566665649414,
\r
3135 "y": 3214.566665649414,
\r
3136 "z": "9256178d.211a68",
\r
3144 "id": "dec16147.315f48",
\r
3145 "type": "switchNode",
\r
3146 "name": "switch otnidx == last",
\r
3147 "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",
\r
3150 "x": 4057.566665649414,
\r
3151 "y": 3295.566665649414,
\r
3152 "z": "9256178d.211a68",
\r
3155 "6e1ea31a.8dc254",
\r
3161 "id": "6e1ea31a.8dc254",
\r
3162 "type": "outcomeTrue",
\r
3164 "xml": "<outcome value='true'>\n",
\r
3167 "x": 4242.566665649414,
\r
3168 "y": 3296.566665649414,
\r
3169 "z": "9256178d.211a68",
\r
3177 "id": "3327fa99.59aede",
\r
3178 "type": "outcomeFalse",
\r
3180 "xml": "<outcome value='false'>\n",
\r
3183 "x": 4261.566665649414,
\r
3184 "y": 3562.566665649414,
\r
3185 "z": "9256178d.211a68",
\r
3193 "id": "3a9f4476.809074",
\r
3195 "name": "save connectivity-B relationship to vpn-binding-B, in AAI",
\r
3196 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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`\" />",
\r
3199 "x": 4672.566665649414,
\r
3200 "y": 3297.566665649414,
\r
3201 "z": "9256178d.211a68",
\r
3207 "id": "4efd8bac.69de6c",
\r
3208 "type": "execute",
\r
3209 "name": "execute UUID generator for connectivity domain otnidx",
\r
3210 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
\r
3213 "x": 4746.566665649414,
\r
3214 "y": 3595.566665649414,
\r
3215 "z": "9256178d.211a68",
\r
3221 "id": "401e45e3.6933bc",
\r
3223 "name": "save connectivity resource in AAI",
\r
3224 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\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
3227 "x": 4682.566665649414,
\r
3228 "y": 3646.566665649414,
\r
3229 "z": "9256178d.211a68",
\r
3235 "id": "9a88afee.ea2358",
\r
3237 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
3238 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.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/' + $uuid.connectivity-otnidx-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=\"`$uuid.connectivity-otnidx-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
3241 "x": 4811.566665649414,
\r
3242 "y": 3696.566665649414,
\r
3243 "z": "9256178d.211a68",
\r
3249 "id": "303e66ea.a0468a",
\r
3250 "type": "comment",
\r
3251 "name": "connectivity has not been created for middle domains, so we have to create one",
\r
3254 "x": 4821.566665649414,
\r
3255 "y": 3539.566665649414,
\r
3256 "z": "9256178d.211a68",
\r
3260 "id": "bd97ab87.4b8898",
\r
3262 "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
\r
3263 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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/' + $uuid.connectivity-otnidx-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=\"`$uuid.connectivity-otnidx-uuid`\" />",
\r
3266 "x": 4779.566665649414,
\r
3267 "y": 3755.566665649414,
\r
3268 "z": "9256178d.211a68",
\r
3274 "id": "234eca18.b570de",
\r
3276 "name": "block : atomic",
\r
3277 "xml": "<block atomic='true'>",
\r
3281 "x": 4418.566665649414,
\r
3282 "y": 3563.566665649414,
\r
3283 "z": "9256178d.211a68",
\r
3286 "4efd8bac.69de6c",
\r
3287 "401e45e3.6933bc",
\r
3288 "9a88afee.ea2358",
\r
3289 "bd97ab87.4b8898",
\r
3295 "id": "9ffd0093.8105f8",
\r
3297 "name": "block : atomic",
\r
3298 "xml": "<block atomic='true'>",
\r
3302 "x": 2939.566665649414,
\r
3303 "y": 2528.566665649414,
\r
3304 "z": "9256178d.211a68",
\r
3309 "458c9236.fc09c4",
\r
3312 "5fbd4527.08216c",
\r
3318 "id": "7371bc78.68f23c",
\r
3320 "name": "set attachment_param domain A",
\r
3321 "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",
\r
3323 "x": 4296.566665649414,
\r
3324 "y": 3111.566665649414,
\r
3325 "z": "9256178d.211a68",
\r
3329 "id": "9da935b4.011d78",
\r
3330 "type": "execute",
\r
3331 "name": "execute RestApiCallNode domainA UNI Coloring",
\r
3332 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
\r
3335 "x": 4349.566665649414,
\r
3336 "y": 3155.566665649414,
\r
3337 "z": "9256178d.211a68",
\r
3346 "id": "64ad5e9f.cde688",
\r
3347 "type": "failure",
\r
3348 "name": "failure",
\r
3349 "xml": "<outcome value='failure'>\n",
\r
3352 "x": 4620.566665649414,
\r
3353 "y": 3140.566665649414,
\r
3354 "z": "9256178d.211a68",
\r
3362 "id": "a38d117f.617d1",
\r
3363 "type": "success",
\r
3364 "name": "success",
\r
3365 "xml": "<outcome value='success'>\n",
\r
3368 "x": 4618.566879272461,
\r
3369 "y": 3198.566575050354,
\r
3370 "z": "9256178d.211a68",
\r
3378 "id": "ae1e714f.21e89",
\r
3379 "type": "returnFailure",
\r
3380 "name": "return failure",
\r
3381 "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=\"Error executing UNI Coloring for domain A\" />\n",
\r
3383 "x": 4760.566913604736,
\r
3384 "y": 3140.5666666030884,
\r
3385 "z": "9256178d.211a68",
\r
3389 "id": "cc46ab1d.b8d358",
\r
3392 "xml": "<block>\n",
\r
3393 "atomic": "false",
\r
3396 "x": 4766.593925476074,
\r
3397 "y": 3189.31206035614,
\r
3398 "z": "9256178d.211a68",
\r
3404 "id": "85853f45.184448",
\r
3407 "xml": "<block>\n",
\r
3408 "atomic": "false",
\r
3411 "x": 4032.566665649414,
\r
3412 "y": 3057.566665649414,
\r
3413 "z": "9256178d.211a68",
\r
3416 "4d0fe394.a0f5c4",
\r
3417 "9da935b4.011d78",
\r
3423 "id": "35e519f9.462626",
\r
3426 "xml": "<block>\n",
\r
3427 "atomic": "false",
\r
3430 "x": 4376.566665649414,
\r
3431 "y": 3297.566665649414,
\r
3432 "z": "9256178d.211a68",
\r
3435 "3a9f4476.809074",
\r
3436 "6085ae42.a24518",
\r
3442 "id": "92ddf8d8.c0a7e",
\r
3444 "name": "set attachment_param domain B",
\r
3445 "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",
\r
3447 "x": 4596.566665649414,
\r
3448 "y": 3341.566665649414,
\r
3449 "z": "9256178d.211a68",
\r
3453 "id": "6085ae42.a24518",
\r
3454 "type": "execute",
\r
3455 "name": "execute RestApiCallNode domainB UNI Coloring",
\r
3456 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
\r
3459 "x": 4647.566665649414,
\r
3460 "y": 3385.566665649414,
\r
3461 "z": "9256178d.211a68",
\r
3464 "e3b13fd7.7163e8",
\r
3470 "id": "22b24822.5449d",
\r
3471 "type": "failure",
\r
3472 "name": "failure",
\r
3473 "xml": "<outcome value='failure'>\n",
\r
3476 "x": 4910.566665649414,
\r
3477 "y": 3365.566665649414,
\r
3478 "z": "9256178d.211a68",
\r
3486 "id": "e3b13fd7.7163e8",
\r
3487 "type": "success",
\r
3488 "name": "success",
\r
3489 "xml": "<outcome value='success'>\n",
\r
3492 "x": 4911.566879272461,
\r
3493 "y": 3416.566575050354,
\r
3494 "z": "9256178d.211a68",
\r
3502 "id": "f1d0e9c2.a4fe58",
\r
3503 "type": "returnFailure",
\r
3504 "name": "return failure",
\r
3505 "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=\"Error executing UNI coloring for domain B\" />\n",
\r
3507 "x": 5050.566913604736,
\r
3508 "y": 3365.5666666030884,
\r
3509 "z": "9256178d.211a68",
\r
3513 "id": "117ef1f.6c1660e",
\r
3516 "xml": "<block>\n",
\r
3517 "atomic": "false",
\r
3520 "x": 5056.593925476074,
\r
3521 "y": 3414.31206035614,
\r
3522 "z": "9256178d.211a68",
\r
3528 "id": "2cb520a2.c67d5",
\r
3530 "name": "set attachment_param domain otnidx",
\r
3531 "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
\r
3533 "x": 4693.566665649414,
\r
3534 "y": 3815.566665649414,
\r
3535 "z": "9256178d.211a68",
\r
3539 "id": "bb7c148d.8dd4d8",
\r
3541 "name": "get all-vpn-bindings from aai",
\r
3542 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",
\r
3545 "x": 2012.566665649414,
\r
3546 "y": 4162.566665649414,
\r
3547 "z": "9256178d.211a68",
\r
3551 "3cbbde56.b4a31a",
\r
3557 "id": "bfb40bbb.94779",
\r
3558 "type": "success",
\r
3559 "name": "success",
\r
3560 "xml": "<outcome value='success'>\n",
\r
3563 "x": 2200.566665649414,
\r
3564 "y": 4175.566665649414,
\r
3565 "z": "9256178d.211a68",
\r
3573 "id": "3cbbde56.b4a31a",
\r
3574 "type": "not-found",
\r
3575 "name": "not-found",
\r
3576 "xml": "<outcome value='not-found'>\n",
\r
3579 "x": 2201.057632446289,
\r
3580 "y": 4221.140701293945,
\r
3581 "z": "9256178d.211a68",
\r
3589 "id": "1a8f636f.24e13d",
\r
3590 "type": "failure",
\r
3591 "name": "failure",
\r
3592 "xml": "<outcome value='failure'>\n",
\r
3595 "x": 2198.566665649414,
\r
3596 "y": 4264.566665649414,
\r
3597 "z": "9256178d.211a68",
\r
3605 "id": "eaca1bd7.371c7",
\r
3607 "name": "block : atomic",
\r
3608 "xml": "<block atomic=\"true\">",
\r
3611 "x": 2373.566665649414,
\r
3612 "y": 4173.566665649414,
\r
3613 "z": "9256178d.211a68",
\r
3621 "id": "38f81285.85b9a6",
\r
3622 "type": "returnFailure",
\r
3623 "name": "return failure",
\r
3624 "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
3626 "x": 2363.6290435791016,
\r
3627 "y": 4221.42643737793,
\r
3628 "z": "9256178d.211a68",
\r
3632 "id": "f0bf5dd6.fd17a",
\r
3633 "type": "returnFailure",
\r
3634 "name": "return failure",
\r
3635 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
3637 "x": 2365.566665649414,
\r
3638 "y": 4263.566665649414,
\r
3639 "z": "9256178d.211a68",
\r
3643 "id": "782b021e.0fd0fc",
\r
3645 "name": "for vidx..tmp.otninfo_length[]",
\r
3646 "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",
\r
3649 "x": 2001.566665649414,
\r
3650 "y": 4353.566665649414,
\r
3651 "z": "9256178d.211a68",
\r
3659 "id": "6f32f968.2f76b8",
\r
3661 "name": "block : atomic",
\r
3662 "xml": "<block atomic='true'>",
\r
3666 "x": 2811.566665649414,
\r
3667 "y": 4353.566665649414,
\r
3668 "z": "9256178d.211a68",
\r
3676 "id": "be092ed.4a93b5",
\r
3678 "name": "for vidx..tmp.otninfo_length[]",
\r
3679 "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",
\r
3682 "x": 2583.566665649414,
\r
3683 "y": 4353.566665649414,
\r
3684 "z": "9256178d.211a68",
\r
3692 "id": "114fcf9e.f212a8",
\r
3694 "name": "set providerValue",
\r
3695 "xml": "<set>\n<parameter name='providerValue' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].access-provider-id`' />\n<parameter name='found' value='false' />\n\n\n",
\r
3697 "x": 3703.566665649414,
\r
3698 "y": 4120.566665649414,
\r
3699 "z": "9256178d.211a68",
\r
3703 "id": "aaeb5226.81f7d",
\r
3706 "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",
\r
3708 "x": 4005.566665649414,
\r
3709 "y": 3246.566665649414,
\r
3710 "z": "9256178d.211a68",
\r
3714 "id": "69e93af2.71c7f4",
\r
3717 "xml": "<block>\n",
\r
3718 "atomic": "false",
\r
3721 "x": 3840.566665649414,
\r
3722 "y": 3221.566665649414,
\r
3723 "z": "9256178d.211a68",
\r
3732 "id": "d12bfd13.8bf75",
\r
3734 "name": "set tmp.arr",
\r
3735 "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",
\r
3737 "x": 1960.566665649414,
\r
3738 "y": 237.56666564941406,
\r
3739 "z": "9256178d.211a68",
\r
3743 "id": "8ebcdd79.0a28b",
\r
3745 "name": "for vpnidx in all-vpn-bindings",
\r
3746 "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",
\r
3749 "x": 2602.566665649414,
\r
3750 "y": 4174.566665649414,
\r
3751 "z": "9256178d.211a68",
\r
3759 "id": "3567bff3.8ebcd8",
\r
3761 "name": "block : atomic",
\r
3762 "xml": "<block atomic='true'>",
\r
3766 "x": 2817.566665649414,
\r
3767 "y": 4175.566665649414,
\r
3768 "z": "9256178d.211a68",
\r
3776 "id": "809d3147.ec0f3",
\r
3778 "name": "for arridx in tmp.arr",
\r
3779 "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",
\r
3782 "x": 4270.566665649414,
\r
3783 "y": 4095.566665649414,
\r
3784 "z": "9256178d.211a68",
\r
3792 "id": "5596317e.9b3628",
\r
3793 "type": "switchNode",
\r
3794 "name": "switch $tmp.arr_length != 0",
\r
3795 "xml": "<switch test='`$tmp.arr_length != 0`'>\n",
\r
3798 "x": 3736.566665649414,
\r
3799 "y": 4175.566665649414,
\r
3800 "z": "9256178d.211a68",
\r
3809 "id": "a957484e.5a6ff",
\r
3810 "type": "outcomeTrue",
\r
3812 "xml": "<outcome value='true'>\n",
\r
3815 "x": 3932.566665649414,
\r
3816 "y": 4145.566665649414,
\r
3817 "z": "9256178d.211a68",
\r
3825 "id": "94a2b6d3.766e58",
\r
3826 "type": "outcomeFalse",
\r
3828 "xml": "<outcome value='false'>\n",
\r
3831 "x": 3933.566665649414,
\r
3832 "y": 4216.566665649414,
\r
3833 "z": "9256178d.211a68",
\r
3841 "id": "b3c10703.b98f2",
\r
3843 "name": "block : atomic",
\r
3844 "xml": "<block atomic='true'>",
\r
3848 "x": 4083.566665649414,
\r
3849 "y": 4143.566665649414,
\r
3850 "z": "9256178d.211a68",
\r
3859 "id": "aa9ab401.5fa778",
\r
3860 "type": "switchNode",
\r
3861 "name": "switch tmp.arr[$arridx] == $providerValue",
\r
3862 "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",
\r
3865 "x": 4561.566665649414,
\r
3866 "y": 4095.566665649414,
\r
3867 "z": "9256178d.211a68",
\r
3876 "id": "6d737171.e1452",
\r
3877 "type": "outcomeTrue",
\r
3879 "xml": "<outcome value='true'>\n",
\r
3882 "x": 4836.566665649414,
\r
3883 "y": 4064.566665649414,
\r
3884 "z": "9256178d.211a68",
\r
3892 "id": "b5a839dc.7835",
\r
3893 "type": "outcomeFalse",
\r
3895 "xml": "<outcome value='false'>\n",
\r
3898 "x": 4837.566665649414,
\r
3899 "y": 4135.566665649414,
\r
3900 "z": "9256178d.211a68",
\r
3908 "id": "397594e.7aa86ec",
\r
3910 "name": "block : atomic",
\r
3911 "xml": "<block atomic='true'>",
\r
3915 "x": 4987.566665649414,
\r
3916 "y": 4062.566665649414,
\r
3917 "z": "9256178d.211a68",
\r
3920 "412bffc9.1c0e28",
\r
3921 "1704d5ec.8e1b6a",
\r
3922 "12f4e6d8.82a019",
\r
3929 "id": "412bffc9.1c0e28",
\r
3931 "name": "set found to true",
\r
3932 "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",
\r
3934 "x": 5175.566665649414,
\r
3935 "y": 4022.566665649414,
\r
3936 "z": "9256178d.211a68",
\r
3940 "id": "1704d5ec.8e1b6a",
\r
3942 "name": "store $arridx somewhere in vpn-binding",
\r
3943 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx`' />\n\n\n",
\r
3946 "x": 5247.566665649414,
\r
3947 "y": 4067.566665649414,
\r
3948 "z": "9256178d.211a68",
\r
3954 "id": "eb231f11.de562",
\r
3956 "name": "set twoD arr",
\r
3957 "xml": "<set>\n\n<!--<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />-->\n<!--<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />-->\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<!--<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />-->\n<parameter name='`otn-tunnel-slice[$arridx].list_length`' value='`$sizeOfSliceList + 1`' />\n\n",
\r
3959 "x": 5162.566665649414,
\r
3960 "y": 4194.566665649414,
\r
3961 "z": "9256178d.211a68",
\r
3965 "id": "d12115f5.e77c3",
\r
3967 "name": "set sizeOfSliceList",
\r
3968 "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",
\r
3970 "x": 5183.566665649414,
\r
3971 "y": 4130.566665649414,
\r
3972 "z": "9256178d.211a68",
\r
3976 "id": "60df48e3.d4564",
\r
3978 "name": "block : atomic",
\r
3979 "xml": "<block atomic='true'>",
\r
3983 "x": 4085.566665649414,
\r
3984 "y": 4216.566665649414,
\r
3985 "z": "9256178d.211a68",
\r
3988 "974dbcc3.cf34c8",
\r
3994 "id": "974dbcc3.cf34c8",
\r
3996 "name": "store $arridx somewhere in vpn-binding",
\r
3997 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='0' />\n\n\n",
\r
4000 "x": 4340.566665649414,
\r
4001 "y": 4209.566665649414,
\r
4002 "z": "9256178d.211a68",
\r
4008 "id": "ca9f0d65.bbf04",
\r
4010 "name": "set twoD array",
\r
4011 "xml": "<set>\n<parameter name='tmp.arr[0]' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='1' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[0].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[0].list_length' value='1' />\n\n",
\r
4013 "x": 4268.566665649414,
\r
4014 "y": 4256.566665649414,
\r
4015 "z": "9256178d.211a68",
\r
4019 "id": "5065f5c6.173234",
\r
4020 "type": "switchNode",
\r
4021 "name": "switch found?",
\r
4022 "xml": "<switch test='`$found`'>\n",
\r
4025 "x": 4261.566665649414,
\r
4026 "y": 4140.566665649414,
\r
4027 "z": "9256178d.211a68",
\r
4030 "f595c5ce.d138f8",
\r
4036 "id": "f595c5ce.d138f8",
\r
4037 "type": "outcomeTrue",
\r
4039 "xml": "<outcome value='true'>\n",
\r
4042 "x": 4421.566665649414,
\r
4043 "y": 4132.566665649414,
\r
4044 "z": "9256178d.211a68",
\r
4052 "id": "a27215c.554f2e8",
\r
4053 "type": "outcomeFalse",
\r
4055 "xml": "<outcome value='false'>\n",
\r
4058 "x": 4419.566665649414,
\r
4059 "y": 4169.566665649414,
\r
4060 "z": "9256178d.211a68",
\r
4068 "id": "3c70617c.e2885e",
\r
4071 "xml": "<block>\n",
\r
4072 "atomic": "false",
\r
4075 "x": 4546.566665649414,
\r
4076 "y": 4132.566665649414,
\r
4077 "z": "9256178d.211a68",
\r
4083 "id": "a0581441.562ff8",
\r
4085 "name": "store $arridx+1 somewhere in vpn-binding",
\r
4086 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx + 1`' />\n\n\n",
\r
4089 "x": 4853.566665649414,
\r
4090 "y": 4190.566665649414,
\r
4091 "z": "9256178d.211a68",
\r
4097 "id": "27b0e714.f2ecf8",
\r
4099 "name": "block : atomic",
\r
4100 "xml": "<block atomic='true'>",
\r
4104 "x": 4579.566665649414,
\r
4105 "y": 4177.566665649414,
\r
4106 "z": "9256178d.211a68",
\r
4109 "a0581441.562ff8",
\r
4115 "id": "a72a86e5.09979",
\r
4117 "name": "set twoD array",
\r
4118 "xml": "<set>\n<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list_length`' value='1' />\n\n",
\r
4120 "x": 4770.566665649414,
\r
4121 "y": 4236.566665649414,
\r
4122 "z": "9256178d.211a68",
\r
4126 "id": "49c3abd.61fa054",
\r
4129 "xml": "<block>\n",
\r
4130 "atomic": "false",
\r
4133 "x": 4970.566665649414,
\r
4134 "y": 4134.566665649414,
\r
4135 "z": "9256178d.211a68",
\r
4141 "id": "12f4e6d8.82a019",
\r
4144 "xml": "<break>\n",
\r
4146 "x": 5141.566665649414,
\r
4147 "y": 4261.566665649414,
\r
4148 "z": "9256178d.211a68",
\r
4152 "id": "afb7d963.d1d2e",
\r
4153 "type": "switchNode",
\r
4154 "name": "switch dstPort == NULL",
\r
4155 "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
\r
4158 "x": 3546.566665649414,
\r
4159 "y": 2519.566665649414,
\r
4160 "z": "9256178d.211a68",
\r
4169 "id": "2a68f8d8.e1dda",
\r
4170 "type": "outcomeTrue",
\r
4172 "xml": "<outcome value='true'>\n",
\r
4175 "x": 3912.566665649414,
\r
4176 "y": 2480.566665649414,
\r
4177 "z": "9256178d.211a68",
\r
4185 "id": "4b46d94e.68d61",
\r
4186 "type": "outcomeFalse",
\r
4188 "xml": "<outcome value='false'>\n",
\r
4191 "x": 3913.566665649414,
\r
4192 "y": 2526.566665649414,
\r
4193 "z": "9256178d.211a68",
\r
4201 "id": "9cc98ff4.caf3c",
\r
4203 "name": "set access-provider-id and client-id",
\r
4204 "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",
\r
4206 "x": 4126.566665649414,
\r
4207 "y": 2479.566665649414,
\r
4208 "z": "9256178d.211a68",
\r
4212 "id": "a85d4c51.ca6c38",
\r
4214 "name": "set access-provider-id and client-id",
\r
4215 "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",
\r
4217 "x": 4124.566665649414,
\r
4218 "y": 2524.566665649414,
\r
4219 "z": "9256178d.211a68",
\r
4223 "id": "5534fc3.85d0104",
\r
4225 "name": "set attachment_param sliceG",
\r
4226 "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].request-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].request-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].bw-odu`' value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].bw-odu`\" />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].src-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].src-ttp-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].dst-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].dst-ttp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='otn-tunnel-sliceG-list_length' value='`$stunidx + 1`' />\n\n\n<parameter name=\"tmp.domainG.restapiUrl\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainurl`\" />\n<parameter name=\"tmp.domainG.restapiUser\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainuser`\" />\n<parameter name=\"tmp.domainG.restapiPassword\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainpassword`\" />",
\r
4228 "x": 3064.566665649414,
\r
4229 "y": 4351.566665649414,
\r
4230 "z": "9256178d.211a68",
\r
4234 "id": "42aa6078.f937c",
\r
4235 "type": "execute",
\r
4236 "name": "execute RestApiCallNode sliceG creation domainG",
\r
4237 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceG-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.domainG.restapiUrl + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$tmp.domainG.restapiUser`\" />\n<parameter name=\"restapiPassword\" value=\"`tmp.domainG.restapiPassword`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",
\r
4240 "x": 2649.566665649414,
\r
4241 "y": 4459.566665649414,
\r
4242 "z": "9256178d.211a68",
\r
4245 "51d7fa89.689264",
\r
4251 "id": "5ac90edf.1e939",
\r
4252 "type": "failure",
\r
4253 "name": "failure",
\r
4254 "xml": "<outcome value='failure'>\n",
\r
4257 "x": 2932.566665649414,
\r
4258 "y": 4439.566665649414,
\r
4259 "z": "9256178d.211a68",
\r
4267 "id": "51d7fa89.689264",
\r
4268 "type": "success",
\r
4269 "name": "success",
\r
4270 "xml": "<outcome value='success'>\n",
\r
4273 "x": 2933.566879272461,
\r
4274 "y": 4490.566575050354,
\r
4275 "z": "9256178d.211a68",
\r
4283 "id": "86bbe7aa.1bf2",
\r
4284 "type": "returnFailure",
\r
4285 "name": "return failure",
\r
4286 "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=\"Error executing slice creation api for domain A\" />\n",
\r
4288 "x": 3072.5669136047363,
\r
4289 "y": 4439.566666603088,
\r
4290 "z": "9256178d.211a68",
\r
4294 "id": "f017812e.0e0548",
\r
4297 "xml": "<block>\n",
\r
4298 "atomic": "false",
\r
4301 "x": 3078.593925476074,
\r
4302 "y": 4488.31206035614,
\r
4303 "z": "9256178d.211a68",
\r
4309 "id": "b5c03e87.4a3d2",
\r
4311 "name": "set srcdstpnf-name",
\r
4312 "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n $tmp.access-provider-id + '-clientId-' +\n $tmp.access-client-id + '-topologyId-' + \n $tmp.access-topology-id + '-nodeId-' + \n $tmp.srcdstpnf-id`\" />\n\n",
\r
4314 "x": 3722.566665649414,
\r
4315 "y": 2593.566665649414,
\r
4316 "z": "9256178d.211a68",
\r
4320 "id": "5fbd4527.08216c",
\r
4321 "type": "get-resource",
\r
4322 "name": "get-resource tmp.srcdstpnf-name",
\r
4323 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
4326 "x": 3766.566665649414,
\r
4327 "y": 2641.566665649414,
\r
4328 "z": "9256178d.211a68",
\r
4331 "1efdee28.f91a52",
\r
4332 "64406c95.e8d00c",
\r
4338 "id": "1efdee28.f91a52",
\r
4339 "type": "success",
\r
4340 "name": "success",
\r
4341 "xml": "<outcome value='success'>\n",
\r
4344 "x": 3979.066665649414,
\r
4345 "y": 2588.566665649414,
\r
4346 "z": "9256178d.211a68",
\r
4354 "id": "64406c95.e8d00c",
\r
4355 "type": "not-found",
\r
4356 "name": "not-found",
\r
4357 "xml": "<outcome value='not-found'>\n",
\r
4360 "x": 3991.066665649414,
\r
4361 "y": 2638.566665649414,
\r
4362 "z": "9256178d.211a68",
\r
4370 "id": "d9f7dd8f.9ba66",
\r
4373 "xml": "<outcome value='Other'>\n",
\r
4376 "x": 3982.066665649414,
\r
4377 "y": 2693.566665649414,
\r
4378 "z": "9256178d.211a68",
\r
4386 "id": "e38f0d80.1c1bb",
\r
4387 "type": "returnFailure",
\r
4388 "name": "return failure",
\r
4389 "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
4391 "x": 4127.066665649414,
\r
4392 "y": 2692.566665649414,
\r
4393 "z": "9256178d.211a68",
\r
4397 "id": "51fd5363.368514",
\r
4398 "type": "returnFailure",
\r
4399 "name": "return failure",
\r
4400 "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.connection-attachement.access-node-id`\" />\n\n",
\r
4402 "x": 4138.066665649414,
\r
4403 "y": 2635.566665649414,
\r
4404 "z": "9256178d.211a68",
\r
4408 "id": "2ed8b0a7.4efac8",
\r
4411 "xml": "<block>\n",
\r
4412 "atomic": "false",
\r
4415 "x": 4104.449111938477,
\r
4416 "y": 2582.2223358154297,
\r
4417 "z": "9256178d.211a68",
\r
4425 "id": "138f1f2d.7207a9",
\r
4426 "type": "outcome",
\r
4427 "name": "esr-thirdparty-sdnc",
\r
4428 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
4431 "x": 4663.566665649414,
\r
4432 "y": 2600.566665649414,
\r
4433 "z": "9256178d.211a68",
\r
4441 "id": "d1f83019.79c9b",
\r
4443 "name": "block : atomic",
\r
4444 "xml": "<block atomic=\"true\">",
\r
4447 "x": 4840.566665649414,
\r
4448 "y": 2592.566665649414,
\r
4449 "z": "9256178d.211a68",
\r
4452 "7ed11e.38da0ee4",
\r
4458 "id": "6b9e1826.ee6da8",
\r
4460 "name": "for each relationship",
\r
4461 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",
\r
4464 "x": 4265.566665649414,
\r
4465 "y": 2596.566665649414,
\r
4466 "z": "9256178d.211a68",
\r
4474 "id": "86ec64e1.e780c",
\r
4475 "type": "switchNode",
\r
4476 "name": "switch related-to",
\r
4477 "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
4480 "x": 4460.566665649414,
\r
4481 "y": 2596.566665649414,
\r
4482 "z": "9256178d.211a68",
\r
4490 "id": "162cc00f.d817a8",
\r
4491 "type": "execute",
\r
4492 "name": "get esr-thirdparty-sdnc",
\r
4493 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",
\r
4496 "x": 5048.566665649414,
\r
4497 "y": 2599.566665649414,
\r
4498 "z": "9256178d.211a68",
\r
4501 "e0385378.198358",
\r
4502 "503d9090.68b5e8",
\r
4508 "id": "7ed11e.38da0ee4",
\r
4510 "name": "set esr-thirdparty-sdnc domainG id",
\r
4511 "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
\r
4513 "x": 5078.566665649414,
\r
4514 "y": 2547.566665649414,
\r
4515 "z": "9256178d.211a68",
\r
4519 "id": "e0385378.198358",
\r
4520 "type": "success",
\r
4521 "name": "success",
\r
4522 "xml": "<outcome value='success'>\n",
\r
4525 "x": 5258.566665649414,
\r
4526 "y": 2590.566665649414,
\r
4527 "z": "9256178d.211a68",
\r
4535 "id": "503d9090.68b5e8",
\r
4536 "type": "not-found",
\r
4537 "name": "not-found",
\r
4538 "xml": "<outcome value='not-found'>\n",
\r
4541 "x": 5250.566665649414,
\r
4542 "y": 2645.566665649414,
\r
4543 "z": "9256178d.211a68",
\r
4551 "id": "17aba33b.4460b5",
\r
4554 "xml": "<outcome value='Other'>\n",
\r
4557 "x": 5255.566665649414,
\r
4558 "y": 2702.566665649414,
\r
4559 "z": "9256178d.211a68",
\r
4567 "id": "8e808d45.23fde8",
\r
4568 "type": "returnFailure",
\r
4569 "name": "return failure",
\r
4570 "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
4572 "x": 5407.566665649414,
\r
4573 "y": 2703.566665649414,
\r
4574 "z": "9256178d.211a68",
\r
4578 "id": "d5a44647.f1fdd8",
\r
4579 "type": "returnFailure",
\r
4580 "name": "return failure",
\r
4581 "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.connection-attachement.access-node-id`\" />\n\n",
\r
4583 "x": 5418.566665649414,
\r
4584 "y": 2648.566665649414,
\r
4585 "z": "9256178d.211a68",
\r
4589 "id": "2933c6cc.a68082",
\r
4592 "xml": "<block>\n",
\r
4593 "atomic": "false",
\r
4596 "x": 5402.948989868164,
\r
4597 "y": 2588.2223358154297,
\r
4598 "z": "9256178d.211a68",
\r
4606 "id": "ee8d6c6a.1b65b8",
\r
4608 "name": "set controller domainA data",
\r
4609 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
\r
4611 "x": 5617.566665649414,
\r
4612 "y": 2584.566665649414,
\r
4613 "z": "9256178d.211a68",
\r
4617 "id": "80466868.45553",
\r
4619 "name": "block : atomic",
\r
4620 "xml": "<block atomic='true'>",
\r
4624 "x": 2233.566665649414,
\r
4625 "y": 4351.566665649414,
\r
4626 "z": "9256178d.211a68",
\r
4635 "id": "580438cc.a39858",
\r
4636 "type": "switchNode",
\r
4637 "name": "switch dmnsidx == 0 (domainA)",
\r
4638 "xml": "<switch test='`$otnidx == 0`'>\n",
\r
4641 "x": 3736.566665649414,
\r
4642 "y": 2810.566665649414,
\r
4643 "z": "9256178d.211a68",
\r
4646 "253b733.7c34c8c",
\r
4652 "id": "253b733.7c34c8c",
\r
4653 "type": "outcomeTrue",
\r
4655 "xml": "<outcome value='true'>\n",
\r
4658 "x": 3937.566665649414,
\r
4659 "y": 2808.566665649414,
\r
4660 "z": "9256178d.211a68",
\r
4668 "id": "4ffee2dc.bf60cc",
\r
4670 "name": "set pce-src-node",
\r
4671 "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",
\r
4673 "x": 4218.566665649414,
\r
4674 "y": 2758.566665649414,
\r
4675 "z": "9256178d.211a68",
\r
4679 "id": "f4366d42.1a2168",
\r
4680 "type": "switchNode",
\r
4681 "name": "switch dmnsidx == last (domainB)",
\r
4682 "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",
\r
4685 "x": 4154.566665649414,
\r
4686 "y": 2859.566665649414,
\r
4687 "z": "9256178d.211a68",
\r
4696 "id": "ed86bff.8de464",
\r
4697 "type": "outcomeTrue",
\r
4699 "xml": "<outcome value='true'>\n",
\r
4702 "x": 4384.566665649414,
\r
4703 "y": 2855.566665649414,
\r
4704 "z": "9256178d.211a68",
\r
4712 "id": "b90e6234.50db9",
\r
4714 "name": "set attachment_param domain B",
\r
4715 "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",
\r
4717 "x": 4721.566665649414,
\r
4718 "y": 2799.566665649414,
\r
4719 "z": "9256178d.211a68",
\r
4723 "id": "ac577a23.1df5c8",
\r
4724 "type": "outcomeFalse",
\r
4726 "xml": "<outcome value='false'>\n",
\r
4729 "x": 3937.566665649414,
\r
4730 "y": 2857.566665649414,
\r
4731 "z": "9256178d.211a68",
\r
4739 "id": "8d9d80f9.3a4208",
\r
4740 "type": "outcomeFalse",
\r
4742 "xml": "<outcome value='false'>\n",
\r
4745 "x": 4385.566665649414,
\r
4746 "y": 2901.566665649414,
\r
4747 "z": "9256178d.211a68",
\r
4755 "id": "c46aeca7.68602",
\r
4757 "name": "set attachment_param domain G",
\r
4758 "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",
\r
4760 "x": 4599.566665649414,
\r
4761 "y": 2901.566665649414,
\r
4762 "z": "9256178d.211a68",
\r
4766 "id": "b5fed2d4.4f9558",
\r
4768 "name": "set tmp.slicevpns",
\r
4769 "xml": "<set>\n<parameter name='`tmp.slicevpns[$tmp.slicevpns_length]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n<parameter name='tmp.slicevpns_length' value=\"`$tmp.slicevpns_length + 1`\" />\n\n<parameter name='`tmp.slicevpnuuids[$prop.vpn-binding-otnidx-uuid]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n\n",
\r
4771 "x": 4497.566665649414,
\r
4772 "y": 2950.566665649414,
\r
4773 "z": "9256178d.211a68",
\r
4777 "id": "473c1519.d01eb4",
\r
4778 "type": "switchNode",
\r
4779 "name": "switch vpnuuid is for this slice",
\r
4780 "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.aai.service-instance.service-instance-id `\">\n\n",
\r
4783 "x": 3061.566665649414,
\r
4784 "y": 4174.566665649414,
\r
4785 "z": "9256178d.211a68",
\r
4788 "1fb0ccb2.86983b",
\r
4794 "id": "1fb0ccb2.86983b",
\r
4795 "type": "outcomeTrue",
\r
4797 "xml": "<outcome value='true'>\n",
\r
4800 "x": 3278.566665649414,
\r
4801 "y": 4153.566665649414,
\r
4802 "z": "9256178d.211a68",
\r
4810 "id": "44883739.f6f7d8",
\r
4811 "type": "outcomeFalse",
\r
4813 "xml": "<outcome value='false'>\n",
\r
4816 "x": 3278.566665649414,
\r
4817 "y": 4202.566665649414,
\r
4818 "z": "9256178d.211a68",
\r
4824 "id": "7e38fab1.3b9244",
\r
4826 "name": "block : atomic",
\r
4827 "xml": "<block atomic='true'>",
\r
4831 "x": 3446.566665649414,
\r
4832 "y": 4153.566665649414,
\r
4833 "z": "9256178d.211a68",
\r
4836 "114fcf9e.f212a8",
\r
4842 "id": "a0f26d15.101368",
\r
4844 "name": "set attachment_param domain A",
\r
4845 "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",
\r
4847 "x": 4273.566665649414,
\r
4848 "y": 2805.566665649414,
\r
4849 "z": "9256178d.211a68",
\r
4853 "id": "489357ce.d601e8",
\r
4856 "xml": "<block>\n",
\r
4857 "atomic": "false",
\r
4860 "x": 4061.566665649414,
\r
4861 "y": 2799.566665649414,
\r
4862 "z": "9256178d.211a68",
\r
4870 "id": "3c67b199.38de76",
\r
4872 "name": "set pce-src-node",
\r
4873 "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",
\r
4875 "x": 4673.566665649414,
\r
4876 "y": 2847.566665649414,
\r
4877 "z": "9256178d.211a68",
\r
4881 "id": "7e911b6f.cd69e4",
\r
4884 "xml": "<block>\n",
\r
4885 "atomic": "false",
\r
4888 "x": 4517.566665649414,
\r
4889 "y": 2831.566665649414,
\r
4890 "z": "9256178d.211a68",
\r
4898 "id": "6e431d76.be632c",
\r
4899 "type": "get-resource",
\r
4900 "name": "get-resource pnfs-list",
\r
4901 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v25/network/pnfs?depth=0' depth = 0\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",
\r
4904 "x": 2003.566665649414,
\r
4905 "y": 96.56666564941406,
\r
4906 "z": "9256178d.211a68",
\r
4912 "id": "29e9cbd2.ce75c4",
\r
4913 "type": "get-resource",
\r
4914 "name": "get-resource logical-links",
\r
4915 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v25/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",
\r
4918 "x": 2015.566665649414,
\r
4919 "y": 137.56666564941406,
\r
4920 "z": "9256178d.211a68",
\r
4926 "id": "7f3d74ad.534c3c",
\r
4927 "type": "comment",
\r
4928 "name": "The following two nodes are for PCE",
\r
4931 "x": 2039.566665649414,
\r
4932 "y": 59.56666564941406,
\r
4933 "z": "9256178d.211a68",
\r
4937 "id": "6d8a85f2.9b51f4",
\r
4939 "name": "set tmp.arr",
\r
4940 "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",
\r
4942 "x": 1960.566665649414,
\r
4943 "y": 183.56666564941406,
\r
4944 "z": "9256178d.211a68",
\r
4948 "id": "3add3536.bf190a",
\r
4949 "type": "execute",
\r
4950 "name": "execute printContext",
\r
4951 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",
\r
4954 "x": 2650.566665649414,
\r
4955 "y": 2395.566665649414,
\r
4956 "z": "9256178d.211a68",
\r
4962 "id": "d33e8b85.64336",
\r
4964 "name": "set maxtpn",
\r
4965 "xml": "<set>\n<parameter name='maxtpn' value='`($maxtpn + $gfp)`' />",
\r
4967 "x": 3677.566665649414,
\r
4968 "y": 2998.566665649414,
\r
4969 "z": "9256178d.211a68",
\r
4973 "id": "33633691.1ec92a",
\r
4975 "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-find-maximum-used-tpn",
\r
4976 "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",
\r
4979 "x": 2843.566665649414,
\r
4980 "y": 2459.566665649414,
\r
4981 "z": "9256178d.211a68",
\r