3 "id": "b86b0fef.6d8f2",
\r
7 "x": 228.56666564941406,
\r
8 "y": 144.56666564941406,
\r
9 "z": "25a21122.0e2cfe",
\r
17 "id": "2128d45c.da5aa4",
\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": 453.85235595703125,
\r
26 "y": 218.8047742843628,
\r
27 "z": "25a21122.0e2cfe",
\r
35 "id": "70e99b08.a81814",
\r
37 "name": "method tsli-vnf-topology-operation-trans-slice-modify",
\r
38 "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-modify' mode='sync'>\n",
\r
41 "x": 459.9952697753906,
\r
42 "y": 303.5666961669922,
\r
43 "z": "25a21122.0e2cfe",
\r
51 "id": "3d648e68.8f83fa",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 829.8047027587891,
\r
58 "y": 328.2333526611328,
\r
59 "z": "25a21122.0e2cfe",
\r
69 "id": "4898a5d2.c4814c",
\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": 1085.138198852539,
\r
75 "y": 482.1636505126953,
\r
76 "z": "25a21122.0e2cfe",
\r
80 "id": "43d16cc8.33970c",
\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": 1152.566665649414,
\r
87 "y": 301.56666564941406,
\r
88 "z": "25a21122.0e2cfe",
\r
98 "id": "5739653.c5aef1c",
\r
101 "xml": "<outcome value='success'>\n",
\r
104 "x": 1377.566665649414,
\r
105 "y": 159.56666564941406,
\r
106 "z": "25a21122.0e2cfe",
\r
114 "id": "4e5f3667.ce514",
\r
115 "type": "not-found",
\r
116 "name": "not-found",
\r
117 "xml": "<outcome value='not-found'>\n",
\r
120 "x": 1373.057632446289,
\r
121 "y": 229.1407012939453,
\r
122 "z": "25a21122.0e2cfe",
\r
130 "id": "7d9553c0.a90d3c",
\r
133 "xml": "<outcome value='failure'>\n",
\r
136 "x": 1361.566665649414,
\r
137 "y": 275.56666564941406,
\r
138 "z": "25a21122.0e2cfe",
\r
146 "id": "fc0ebeea.3842e8",
\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": 1616.566665649414,
\r
153 "y": 156.56666564941406,
\r
154 "z": "25a21122.0e2cfe",
\r
163 "id": "9ccb6432.a6f758",
\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": 1526.6290435791016,
\r
169 "y": 232.4264373779297,
\r
170 "z": "25a21122.0e2cfe",
\r
174 "id": "2159c0a9.b6525",
\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": 1530.566665649414,
\r
180 "y": 276.56666564941406,
\r
181 "z": "25a21122.0e2cfe",
\r
185 "id": "9f0f2f3b.2aa0c8",
\r
186 "type": "outcomeTrue",
\r
188 "xml": "<outcome value='true'>\n",
\r
191 "x": 1829.566665649414,
\r
192 "y": 180.56666564941406,
\r
193 "z": "25a21122.0e2cfe",
\r
201 "id": "29eb9fec.58b94",
\r
202 "type": "outcomeFalse",
\r
204 "xml": "<outcome value='false'>\n",
\r
207 "x": 1831.566665649414,
\r
208 "y": 120.56666564941406,
\r
209 "z": "25a21122.0e2cfe",
\r
215 "id": "1c8a1ea6.0feed9",
\r
217 "name": "new for TransportSlicing",
\r
220 "x": 1131.566665649414,
\r
221 "y": 189.56666564941406,
\r
222 "z": "25a21122.0e2cfe",
\r
226 "id": "c939819f.3d19a",
\r
229 "xml": "<block>\n",
\r
233 "x": 1774.566665649414,
\r
234 "y": 362.56666564941406,
\r
235 "z": "25a21122.0e2cfe",
\r
248 "id": "db6151f2.0aacb",
\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": 4343.566665649414,
\r
254 "y": 869.5666656494141,
\r
255 "z": "25a21122.0e2cfe",
\r
259 "id": "e016be81.6c64f",
\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": 4344.566665649414,
\r
265 "y": 924.5666656494141,
\r
266 "z": "25a21122.0e2cfe",
\r
270 "id": "103cc7a8.7e9b88",
\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": 2300.566665649414,
\r
277 "y": 319.56666564941406,
\r
278 "z": "25a21122.0e2cfe",
\r
288 "id": "f2966e51.e2caf8",
\r
291 "xml": "<outcome value='success'>\n",
\r
294 "x": 2516.566665649414,
\r
295 "y": 386.56666564941406,
\r
296 "z": "25a21122.0e2cfe",
\r
304 "id": "2b2db624.af7c1a",
\r
305 "type": "not-found",
\r
306 "name": "not-found",
\r
307 "xml": "<outcome value='not-found'>\n",
\r
310 "x": 2517.057632446289,
\r
311 "y": 286.14064025878906,
\r
312 "z": "25a21122.0e2cfe",
\r
320 "id": "626f780f.86dfb8",
\r
323 "xml": "<outcome value='failure'>\n",
\r
326 "x": 2512.566665649414,
\r
327 "y": 335.56666564941406,
\r
328 "z": "25a21122.0e2cfe",
\r
336 "id": "e741338f.fadbb8",
\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": 2694.629165649414,
\r
342 "y": 286.42640686035156,
\r
343 "z": "25a21122.0e2cfe",
\r
347 "id": "2cb8a0b4.ed0f98",
\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": 2694.566665649414,
\r
353 "y": 335.56666564941406,
\r
354 "z": "25a21122.0e2cfe",
\r
358 "id": "1c10a7b4.762648",
\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": 3569.566665649414,
\r
365 "y": 840.5666656494141,
\r
366 "z": "25a21122.0e2cfe",
\r
376 "id": "54f63921.d24288",
\r
377 "type": "not-found",
\r
378 "name": "not-found",
\r
379 "xml": "<outcome value='not-found'>\n",
\r
382 "x": 3861.057632446289,
\r
383 "y": 819.1406402587891,
\r
384 "z": "25a21122.0e2cfe",
\r
392 "id": "11c3d54e.f4363b",
\r
395 "xml": "<outcome value='failure'>\n",
\r
398 "x": 3849.566665649414,
\r
399 "y": 863.5666656494141,
\r
400 "z": "25a21122.0e2cfe",
\r
408 "id": "4ad84bdb.1011e4",
\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": 4009.629165649414,
\r
414 "y": 819.4264068603516,
\r
415 "z": "25a21122.0e2cfe",
\r
419 "id": "611bd1d0.bbec68",
\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": 4008.566665649414,
\r
425 "y": 863.5666656494141,
\r
426 "z": "25a21122.0e2cfe",
\r
430 "id": "e636914f.ca32e",
\r
433 "xml": "<outcome value='success'>\n",
\r
436 "x": 3855.566665649414,
\r
437 "y": 910.5666656494141,
\r
438 "z": "25a21122.0e2cfe",
\r
444 "id": "4dddc413.6cd63c",
\r
447 "xml": "<block>\n",
\r
451 "x": 4009.566665649414,
\r
452 "y": 949.5666656494141,
\r
453 "z": "25a21122.0e2cfe",
\r
473 "id": "9f8998d0.ce9c48",
\r
475 "name": "get network-route-A from aai",
\r
476 "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
479 "x": 4356.566665649414,
\r
480 "y": 992.5666656494141,
\r
481 "z": "25a21122.0e2cfe",
\r
491 "id": "44a9159e.85e724",
\r
493 "name": "get network-route-B from aai",
\r
494 "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
497 "x": 4335.566665649414,
\r
498 "y": 1594.5665435791016,
\r
499 "z": "25a21122.0e2cfe",
\r
509 "id": "ad94bc3e.2edb18",
\r
510 "type": "not-found",
\r
511 "name": "not-found",
\r
512 "xml": "<outcome value='not-found'>\n",
\r
515 "x": 4557.566665649414,
\r
516 "y": 876.5666656494141,
\r
517 "z": "25a21122.0e2cfe",
\r
525 "id": "3c6b8cbe.35a074",
\r
528 "xml": "<outcome value='failure'>\n",
\r
531 "x": 4553.075698852539,
\r
532 "y": 925.9926910400391,
\r
533 "z": "25a21122.0e2cfe",
\r
541 "id": "e925e05d.5c3e7",
\r
544 "xml": "<outcome value='success'>\n",
\r
547 "x": 4557.075698852539,
\r
548 "y": 976.9926910400391,
\r
549 "z": "25a21122.0e2cfe",
\r
557 "id": "11095a88.1d6375",
\r
558 "type": "returnFailure",
\r
559 "name": "return failure",
\r
560 "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
562 "x": 4706.138198852539,
\r
563 "y": 875.8524322509766,
\r
564 "z": "25a21122.0e2cfe",
\r
568 "id": "1c85f4a2.49e393",
\r
569 "type": "returnFailure",
\r
570 "name": "return failure",
\r
571 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
573 "x": 4696.075698852539,
\r
574 "y": 925.9926910400391,
\r
575 "z": "25a21122.0e2cfe",
\r
579 "id": "ce3181da.534ae8",
\r
580 "type": "not-found",
\r
581 "name": "not-found",
\r
582 "xml": "<outcome value='not-found'>\n",
\r
585 "x": 4558.566665649414,
\r
586 "y": 1564.5665435791016,
\r
587 "z": "25a21122.0e2cfe",
\r
595 "id": "dd474f13.0169c8",
\r
598 "xml": "<outcome value='failure'>\n",
\r
601 "x": 4554.075698852539,
\r
602 "y": 1613.9925689697266,
\r
603 "z": "25a21122.0e2cfe",
\r
611 "id": "1e53e46c.6ee5dc",
\r
614 "xml": "<outcome value='success'>\n",
\r
617 "x": 4558.075698852539,
\r
618 "y": 1664.9925689697266,
\r
619 "z": "25a21122.0e2cfe",
\r
627 "id": "b22dee41.00f36",
\r
628 "type": "returnFailure",
\r
629 "name": "return failure",
\r
630 "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
632 "x": 4707.138198852539,
\r
633 "y": 1563.852310180664,
\r
634 "z": "25a21122.0e2cfe",
\r
638 "id": "6933584e.ecc31",
\r
639 "type": "returnFailure",
\r
640 "name": "return failure",
\r
641 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
643 "x": 4697.075698852539,
\r
644 "y": 1613.9925689697266,
\r
645 "z": "25a21122.0e2cfe",
\r
649 "id": "95843474.b9bce8",
\r
651 "name": "block : atomic",
\r
652 "xml": "<block atomic=\"true\">",
\r
655 "x": 5371.233169555664,
\r
656 "y": 1020.5666656494141,
\r
657 "z": "25a21122.0e2cfe",
\r
669 "id": "4503129f.bd2fd4",
\r
672 "xml": "<outcome value='success'>\n",
\r
675 "x": 5198.566665649414,
\r
676 "y": 1021.5666656494141,
\r
677 "z": "25a21122.0e2cfe",
\r
685 "id": "8659354b.96b4a",
\r
686 "type": "not-found",
\r
687 "name": "not-found",
\r
688 "xml": "<outcome value='not-found'>\n",
\r
691 "x": 5208.057632446289,
\r
692 "y": 1064.1407012939453,
\r
693 "z": "25a21122.0e2cfe",
\r
701 "id": "f14e9aee.41ddd",
\r
704 "xml": "<outcome value='failure'>\n",
\r
707 "x": 5196.566665649414,
\r
708 "y": 1110.566665649414,
\r
709 "z": "25a21122.0e2cfe",
\r
717 "id": "df26ebdc.1c7d8",
\r
718 "type": "returnFailure",
\r
719 "name": "return failure",
\r
720 "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
722 "x": 5361.629043579102,
\r
723 "y": 1067.4264373779297,
\r
724 "z": "25a21122.0e2cfe",
\r
728 "id": "779f16ad.79c298",
\r
729 "type": "returnFailure",
\r
730 "name": "return failure",
\r
731 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
733 "x": 5365.566665649414,
\r
734 "y": 1111.566665649414,
\r
735 "z": "25a21122.0e2cfe",
\r
739 "id": "7e7cdd76.7cfb84",
\r
741 "name": "block : atomic",
\r
742 "xml": "<block atomic=\"true\">",
\r
745 "x": 4718.566665649414,
\r
746 "y": 978.5666656494141,
\r
747 "z": "25a21122.0e2cfe",
\r
756 "id": "b7fe5d85.6c90f",
\r
758 "name": "block : atomic",
\r
759 "xml": "<block atomic=\"true\">",
\r
762 "x": 4708.566665649414,
\r
763 "y": 1666.5665435791016,
\r
764 "z": "25a21122.0e2cfe",
\r
773 "id": "12aedd33.0f1043",
\r
775 "name": "block : atomic",
\r
776 "xml": "<block atomic=\"true\">",
\r
779 "x": 5339.233169555664,
\r
780 "y": 1856.566665649414,
\r
781 "z": "25a21122.0e2cfe",
\r
793 "id": "9a2935ba.2db97",
\r
796 "xml": "<outcome value='success'>\n",
\r
799 "x": 5166.566665649414,
\r
800 "y": 1857.566665649414,
\r
801 "z": "25a21122.0e2cfe",
\r
809 "id": "dcc235b8.72838",
\r
810 "type": "not-found",
\r
811 "name": "not-found",
\r
812 "xml": "<outcome value='not-found'>\n",
\r
815 "x": 5176.057632446289,
\r
816 "y": 1900.1407012939453,
\r
817 "z": "25a21122.0e2cfe",
\r
825 "id": "262965f5.6cf9ea",
\r
828 "xml": "<outcome value='failure'>\n",
\r
831 "x": 5164.566665649414,
\r
832 "y": 1946.566665649414,
\r
833 "z": "25a21122.0e2cfe",
\r
841 "id": "6a73fa3d.d6c2b4",
\r
842 "type": "returnFailure",
\r
843 "name": "return failure",
\r
844 "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
846 "x": 5329.629043579102,
\r
847 "y": 1903.4264373779297,
\r
848 "z": "25a21122.0e2cfe",
\r
852 "id": "403c1229.13a954",
\r
853 "type": "returnFailure",
\r
854 "name": "return failure",
\r
855 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
857 "x": 5333.566665649414,
\r
858 "y": 1947.566665649414,
\r
859 "z": "25a21122.0e2cfe",
\r
863 "id": "b4615ea7.1bce1",
\r
865 "name": "execute split tp-id to get pnf-name",
\r
866 "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
869 "x": 5635.566665649414,
\r
870 "y": 1004.5666656494141,
\r
871 "z": "25a21122.0e2cfe",
\r
880 "id": "84a28ee2.eeb658",
\r
883 "xml": "<outcome value='success'>\n",
\r
886 "x": 5858.566665649414,
\r
887 "y": 959.5666656494141,
\r
888 "z": "25a21122.0e2cfe",
\r
896 "id": "7fca3373.091184",
\r
899 "xml": "<outcome value='failure'>\n",
\r
902 "x": 5860.566665649414,
\r
903 "y": 1023.5666656494141,
\r
904 "z": "25a21122.0e2cfe",
\r
912 "id": "850dbb90.b4b68",
\r
914 "name": "set ltpId",
\r
915 "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",
\r
917 "x": 6193.566665649414,
\r
918 "y": 914.5666656494141,
\r
919 "z": "25a21122.0e2cfe",
\r
923 "id": "3dce84d0.b85dd4",
\r
924 "type": "returnFailure",
\r
925 "name": "return failure",
\r
926 "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
928 "x": 6022.566665649414,
\r
929 "y": 1019.5666656494141,
\r
930 "z": "25a21122.0e2cfe",
\r
934 "id": "70d4fffc.d22c5",
\r
936 "name": "block : atomic",
\r
937 "xml": "<block atomic=\"true\">",
\r
940 "x": 6023.566665649414,
\r
941 "y": 956.5666656494141,
\r
942 "z": "25a21122.0e2cfe",
\r
951 "id": "caf9269d.270b2",
\r
953 "name": "set pnf-name",
\r
954 "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",
\r
956 "x": 6194.566665649414,
\r
957 "y": 1022.5666656494141,
\r
958 "z": "25a21122.0e2cfe",
\r
962 "id": "59bf2583.d75a84",
\r
964 "name": "TODO: FIXME",
\r
965 "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
967 "x": 6195.566665649414,
\r
968 "y": 971.5666656494141,
\r
969 "z": "25a21122.0e2cfe",
\r
973 "id": "be2e7ced.c4df",
\r
975 "name": "execute UUID generator for connectivity domainA",
\r
976 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",
\r
979 "x": 5682.566665649414,
\r
980 "y": 1073.566665649414,
\r
981 "z": "25a21122.0e2cfe",
\r
987 "id": "27594e13.316c22",
\r
989 "name": "TODO: FIXME",
\r
990 "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
992 "x": 5571.566665649414,
\r
993 "y": 1114.566665649414,
\r
994 "z": "25a21122.0e2cfe",
\r
998 "id": "e22e2a42.a26b1",
\r
1000 "name": "execute split tp-id to get pnf-name",
\r
1001 "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
1004 "x": 5625.566665649414,
\r
1005 "y": 1860.5667877197266,
\r
1006 "z": "25a21122.0e2cfe",
\r
1015 "id": "b58bca2c.4bf2c",
\r
1016 "type": "failure",
\r
1017 "name": "success",
\r
1018 "xml": "<outcome value='success'>\n",
\r
1021 "x": 5848.566665649414,
\r
1022 "y": 1815.5667877197266,
\r
1023 "z": "25a21122.0e2cfe",
\r
1031 "id": "b2f644ca.d12c2",
\r
1032 "type": "failure",
\r
1033 "name": "failure",
\r
1034 "xml": "<outcome value='failure'>\n",
\r
1037 "x": 5850.566665649414,
\r
1038 "y": 1879.5667877197266,
\r
1039 "z": "25a21122.0e2cfe",
\r
1047 "id": "c96d7934.c0e9e8",
\r
1049 "name": "set ltpId",
\r
1050 "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",
\r
1052 "x": 6183.566665649414,
\r
1053 "y": 1773.5667877197266,
\r
1054 "z": "25a21122.0e2cfe",
\r
1058 "id": "4af84f4.a49b8b",
\r
1059 "type": "returnFailure",
\r
1060 "name": "return failure",
\r
1061 "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
1063 "x": 6009.566665649414,
\r
1064 "y": 1898.5667877197266,
\r
1065 "z": "25a21122.0e2cfe",
\r
1069 "id": "983024ad.f8675",
\r
1071 "name": "block : atomic",
\r
1072 "xml": "<block atomic=\"true\">",
\r
1075 "x": 6013.566665649414,
\r
1076 "y": 1812.5667877197266,
\r
1077 "z": "25a21122.0e2cfe",
\r
1080 "c96d7934.c0e9e8",
\r
1086 "id": "183e4dc8.9e45ba",
\r
1088 "name": "set pnf-name",
\r
1089 "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",
\r
1091 "x": 6184.566665649414,
\r
1092 "y": 1878.5667877197266,
\r
1093 "z": "25a21122.0e2cfe",
\r
1097 "id": "57730d78.763bfc",
\r
1098 "type": "comment",
\r
1099 "name": "TODO: FIXME",
\r
1100 "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
1102 "x": 6179.566665649414,
\r
1103 "y": 1827.5667877197266,
\r
1104 "z": "25a21122.0e2cfe",
\r
1108 "id": "daaed265.7759a8",
\r
1110 "name": "save connectivity resource in AAI",
\r
1111 "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<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
1114 "x": 5627.566665649414,
\r
1115 "y": 2019.5667877197266,
\r
1116 "z": "25a21122.0e2cfe",
\r
1122 "id": "cf28df7d.f3d4b",
\r
1123 "type": "execute",
\r
1124 "name": "execute UUID generator for connectivity domainB",
\r
1125 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",
\r
1128 "x": 5672.566665649414,
\r
1129 "y": 1929.5667877197266,
\r
1130 "z": "25a21122.0e2cfe",
\r
1136 "id": "9f3e922b.b3211",
\r
1137 "type": "comment",
\r
1138 "name": "TODO: FIXME",
\r
1139 "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
1141 "x": 5561.566665649414,
\r
1142 "y": 1967.5667877197266,
\r
1143 "z": "25a21122.0e2cfe",
\r
1147 "id": "8f0ab711.e0d798",
\r
1149 "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
\r
1150 "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",
\r
1153 "x": 4556.566665649414,
\r
1154 "y": 2264.566665649414,
\r
1155 "z": "25a21122.0e2cfe",
\r
1161 "id": "d96045a7.1a29c8",
\r
1163 "name": "set attachment_param",
\r
1164 "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
1166 "x": 4350.566665649414,
\r
1167 "y": 2165.566665649414,
\r
1168 "z": "25a21122.0e2cfe",
\r
1172 "id": "d2d69fa1.baa39",
\r
1173 "type": "comment",
\r
1174 "name": "TODO: FIXME",
\r
1175 "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
1177 "x": 4324.566665649414,
\r
1178 "y": 2118.566665649414,
\r
1179 "z": "25a21122.0e2cfe",
\r
1183 "id": "ce2c131b.42f24",
\r
1185 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1186 "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
1189 "x": 5765.566665649414,
\r
1190 "y": 1211.566665649414,
\r
1191 "z": "25a21122.0e2cfe",
\r
1197 "id": "cb8398b0.7dbb5",
\r
1199 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1200 "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
1203 "x": 5754.566665649414,
\r
1204 "y": 2084.5667877197266,
\r
1205 "z": "25a21122.0e2cfe",
\r
1211 "id": "92b1873d.551bc",
\r
1212 "type": "execute",
\r
1213 "name": "get esr-thirdparty-sdnc",
\r
1214 "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
1217 "x": 6809.566665649414,
\r
1218 "y": 731.5666656494141,
\r
1219 "z": "25a21122.0e2cfe",
\r
1223 "1eec19a2.07645e",
\r
1229 "id": "8eff1c95.000698",
\r
1231 "name": "block : atomic",
\r
1232 "xml": "<block atomic=\"true\">",
\r
1235 "x": 2696.566665649414,
\r
1236 "y": 386.56666564941406,
\r
1237 "z": "25a21122.0e2cfe",
\r
1245 "id": "5c4d87c2.cacd08",
\r
1246 "type": "outcome",
\r
1247 "name": "logical-link",
\r
1248 "xml": "<outcome value='logical-link'>\n",
\r
1251 "x": 1093.5667877197266,
\r
1252 "y": 781.5667877197266,
\r
1253 "z": "25a21122.0e2cfe",
\r
1261 "id": "41f5506e.8f5aa",
\r
1262 "type": "switchNode",
\r
1263 "name": "switch allotted-resource.relationship-list not empty",
\r
1264 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",
\r
1267 "x": 2259.566665649414,
\r
1268 "y": 480.56666564941406,
\r
1269 "z": "25a21122.0e2cfe",
\r
1272 "8b2a546b.9f5318",
\r
1278 "id": "f654fc01.bf0048",
\r
1279 "type": "outcomeFalse",
\r
1281 "xml": "<outcome value='false'>\n",
\r
1284 "x": 2580.566665649414,
\r
1285 "y": 462.56666564941406,
\r
1286 "z": "25a21122.0e2cfe",
\r
1292 "id": "8b2a546b.9f5318",
\r
1293 "type": "outcomeTrue",
\r
1295 "xml": "<outcome value='true'>\n",
\r
1298 "x": 2562.566665649414,
\r
1299 "y": 560.5666656494141,
\r
1300 "z": "25a21122.0e2cfe",
\r
1308 "id": "94799b47.aa87f8",
\r
1310 "name": "set the current logical-link-name",
\r
1311 "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n<parameter name='currLinkIsFound' value=\"false\" />\n\n\n",
\r
1313 "x": 1516.566665649414,
\r
1314 "y": 684.5666656494141,
\r
1315 "z": "25a21122.0e2cfe",
\r
1319 "id": "ba05feca.357468",
\r
1321 "name": "block : atomic",
\r
1322 "xml": "<block atomic=\"true\">",
\r
1325 "x": 1270.566665649414,
\r
1326 "y": 774.5666656494141,
\r
1327 "z": "25a21122.0e2cfe",
\r
1330 "94799b47.aa87f8",
\r
1337 "id": "fa0822cd.53caf",
\r
1338 "type": "comment",
\r
1339 "name": "Question?",
\r
1340 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1342 "x": 4898.566665649414,
\r
1343 "y": 983.5666656494141,
\r
1344 "z": "25a21122.0e2cfe",
\r
1348 "id": "d6ce477c.e6b1",
\r
1350 "name": "get p-interface-src from aai",
\r
1351 "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
1354 "x": 4941.566665649414,
\r
1355 "y": 1048.566665649414,
\r
1356 "z": "25a21122.0e2cfe",
\r
1359 "4503129f.bd2fd4",
\r
1366 "id": "44dc4d90.b0cc4c",
\r
1368 "name": "get p-interface-dst from aai",
\r
1369 "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
1372 "x": 4938.566665649414,
\r
1373 "y": 1892.566665649414,
\r
1374 "z": "25a21122.0e2cfe",
\r
1384 "id": "2ca1c6c2.0f0f22",
\r
1385 "type": "comment",
\r
1386 "name": "Question?",
\r
1387 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1389 "x": 4899.566665649414,
\r
1390 "y": 1836.566665649414,
\r
1391 "z": "25a21122.0e2cfe",
\r
1395 "id": "ad97eaf2.db3cf",
\r
1397 "name": "get allotted-resource relationship from aai",
\r
1398 "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
1401 "x": 2989.566665649414,
\r
1402 "y": 333.56666564941406,
\r
1403 "z": "25a21122.0e2cfe",
\r
1406 "ef5e96fe.587c78",
\r
1413 "id": "e171a2b9.a46c9",
\r
1414 "type": "not-found",
\r
1415 "name": "not-found",
\r
1416 "xml": "<outcome value='not-found'>\n",
\r
1419 "x": 3263.057632446289,
\r
1420 "y": 226.14064025878906,
\r
1421 "z": "25a21122.0e2cfe",
\r
1429 "id": "ae21063b.421918",
\r
1430 "type": "returnFailure",
\r
1431 "name": "return failure",
\r
1432 "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
1434 "x": 3440.629165649414,
\r
1435 "y": 226.42640686035156,
\r
1436 "z": "25a21122.0e2cfe",
\r
1440 "id": "ed7e8b76.daabf",
\r
1441 "type": "failure",
\r
1442 "name": "failure",
\r
1443 "xml": "<outcome value='failure'>\n",
\r
1446 "x": 3258.566665649414,
\r
1447 "y": 275.56666564941406,
\r
1448 "z": "25a21122.0e2cfe",
\r
1456 "id": "1fe6476a.260d99",
\r
1457 "type": "returnFailure",
\r
1458 "name": "return failure",
\r
1459 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1461 "x": 3440.566665649414,
\r
1462 "y": 275.56666564941406,
\r
1463 "z": "25a21122.0e2cfe",
\r
1467 "id": "ef5e96fe.587c78",
\r
1468 "type": "success",
\r
1469 "name": "success",
\r
1470 "xml": "<outcome value='success'>\n",
\r
1473 "x": 3262.566665649414,
\r
1474 "y": 326.56666564941406,
\r
1475 "z": "25a21122.0e2cfe",
\r
1483 "id": "5ed5bf6.6fd244",
\r
1485 "name": "block : atomic",
\r
1486 "xml": "<block atomic=\"true\">",
\r
1489 "x": 3442.566665649414,
\r
1490 "y": 326.56666564941406,
\r
1491 "z": "25a21122.0e2cfe",
\r
1499 "id": "99ef6a45.9ad878",
\r
1501 "name": "for each allotted-resource relationship",
\r
1502 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
1505 "x": 868.5666656494141,
\r
1506 "y": 710.5666656494141,
\r
1507 "z": "25a21122.0e2cfe",
\r
1515 "id": "99689150.5b9778",
\r
1516 "type": "switchNode",
\r
1517 "name": "switch related-to",
\r
1518 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
1521 "x": 1139.566665649414,
\r
1522 "y": 706.5666656494141,
\r
1523 "z": "25a21122.0e2cfe",
\r
1531 "id": "2bf740bc.b587b",
\r
1532 "type": "outcome",
\r
1533 "name": "network-policy",
\r
1534 "xml": "<outcome value='network-policy'>\n",
\r
1537 "x": 3418.566665649414,
\r
1538 "y": 524.5666656494141,
\r
1539 "z": "25a21122.0e2cfe",
\r
1547 "id": "3a3c2a70.68a7ee",
\r
1549 "name": "block : atomic",
\r
1550 "xml": "<block atomic=\"true\">",
\r
1553 "x": 3595.5665435791016,
\r
1554 "y": 517.5665435791016,
\r
1555 "z": "25a21122.0e2cfe",
\r
1564 "id": "e9454f9d.caf03",
\r
1566 "name": "set the 1st network-policy-id",
\r
1567 "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
1569 "x": 3838.5665435791016,
\r
1570 "y": 474.56654357910156,
\r
1571 "z": "25a21122.0e2cfe",
\r
1575 "id": "6d43a86.3d48758",
\r
1577 "name": "get network-policy from aai",
\r
1578 "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
1581 "x": 3827.5665435791016,
\r
1582 "y": 529.5665435791016,
\r
1583 "z": "25a21122.0e2cfe",
\r
1586 "8a364a72.424c28",
\r
1593 "id": "4d3c4393.f4c224",
\r
1594 "type": "not-found",
\r
1595 "name": "not-found",
\r
1596 "xml": "<outcome value='not-found'>\n",
\r
1599 "x": 4080.566665649414,
\r
1600 "y": 415.56666564941406,
\r
1601 "z": "25a21122.0e2cfe",
\r
1609 "id": "8a48cdf4.281a78",
\r
1610 "type": "returnFailure",
\r
1611 "name": "return failure",
\r
1612 "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
1614 "x": 4229.138198852539,
\r
1615 "y": 415.85243225097656,
\r
1616 "z": "25a21122.0e2cfe",
\r
1620 "id": "81c305db.010dc",
\r
1621 "type": "returnFailure",
\r
1622 "name": "return failure",
\r
1623 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1625 "x": 4228.075698852539,
\r
1626 "y": 459.99269104003906,
\r
1627 "z": "25a21122.0e2cfe",
\r
1631 "id": "fd07ec43.4387a",
\r
1632 "type": "failure",
\r
1633 "name": "failure",
\r
1634 "xml": "<outcome value='failure'>\n",
\r
1637 "x": 4069.075698852539,
\r
1638 "y": 459.99269104003906,
\r
1639 "z": "25a21122.0e2cfe",
\r
1647 "id": "8a364a72.424c28",
\r
1648 "type": "success",
\r
1649 "name": "success",
\r
1650 "xml": "<outcome value='success'>\n",
\r
1653 "x": 4076.075698852539,
\r
1654 "y": 538.9926910400391,
\r
1655 "z": "25a21122.0e2cfe",
\r
1663 "id": "41b3b67d.c6f8e8",
\r
1666 "xml": "<block>\n",
\r
1667 "atomic": "false",
\r
1670 "x": 4215.075698852539,
\r
1671 "y": 538.9926910400391,
\r
1672 "z": "25a21122.0e2cfe",
\r
1681 "id": "f0091688.66654",
\r
1683 "name": "set the max bandwidth",
\r
1684 "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
1686 "x": 4420.566665649414,
\r
1687 "y": 536.5666656494141,
\r
1688 "z": "25a21122.0e2cfe",
\r
1692 "id": "6ff01134.d27b1",
\r
1693 "type": "execute",
\r
1694 "name": "execute split tp-id to get pnf-name",
\r
1695 "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
1698 "x": 4942.566665649414,
\r
1699 "y": 718.5666656494141,
\r
1700 "z": "25a21122.0e2cfe",
\r
1703 "39467319.609964",
\r
1709 "id": "3cc969fb.c20abe",
\r
1710 "type": "failure",
\r
1711 "name": "success",
\r
1712 "xml": "<outcome value='success'>\n",
\r
1715 "x": 5165.566665649414,
\r
1716 "y": 704.5666656494141,
\r
1717 "z": "25a21122.0e2cfe",
\r
1725 "id": "39467319.609964",
\r
1726 "type": "failure",
\r
1727 "name": "failure",
\r
1728 "xml": "<outcome value='failure'>\n",
\r
1731 "x": 5167.566665649414,
\r
1732 "y": 737.5666656494141,
\r
1733 "z": "25a21122.0e2cfe",
\r
1741 "id": "fb83e9be.2efe",
\r
1742 "type": "returnFailure",
\r
1743 "name": "return failure",
\r
1744 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
\r
1746 "x": 5310.566665649414,
\r
1747 "y": 734.5666656494141,
\r
1748 "z": "25a21122.0e2cfe",
\r
1752 "id": "2dfb867b.202c62",
\r
1754 "name": "block : atomic",
\r
1755 "xml": "<block atomic=\"true\">",
\r
1758 "x": 5313.566665649414,
\r
1759 "y": 697.5666656494141,
\r
1760 "z": "25a21122.0e2cfe",
\r
1763 "15d7491f.df8677",
\r
1769 "id": "15d7491f.df8677",
\r
1771 "name": "set pnf-name",
\r
1772 "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
1774 "x": 5475.566665649414,
\r
1775 "y": 692.5666656494141,
\r
1776 "z": "25a21122.0e2cfe",
\r
1780 "id": "abe40e95.5db908",
\r
1781 "type": "execute",
\r
1782 "name": "execute split tp-id to get pnf-name",
\r
1783 "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
1786 "x": 4956.566665649414,
\r
1787 "y": 1555.5665435791016,
\r
1788 "z": "25a21122.0e2cfe",
\r
1797 "id": "4509355c.99159c",
\r
1798 "type": "failure",
\r
1799 "name": "success",
\r
1800 "xml": "<outcome value='success'>\n",
\r
1803 "x": 5179.566665649414,
\r
1804 "y": 1541.5665435791016,
\r
1805 "z": "25a21122.0e2cfe",
\r
1813 "id": "d51c262f.477ec",
\r
1814 "type": "failure",
\r
1815 "name": "failure",
\r
1816 "xml": "<outcome value='failure'>\n",
\r
1819 "x": 5181.566665649414,
\r
1820 "y": 1574.5665435791016,
\r
1821 "z": "25a21122.0e2cfe",
\r
1829 "id": "41fb7895.687548",
\r
1830 "type": "returnFailure",
\r
1831 "name": "return failure",
\r
1832 "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
1834 "x": 5324.566665649414,
\r
1835 "y": 1571.5665435791016,
\r
1836 "z": "25a21122.0e2cfe",
\r
1840 "id": "d6d3b9d3.95749",
\r
1842 "name": "block : atomic",
\r
1843 "xml": "<block atomic=\"true\">",
\r
1846 "x": 5327.566665649414,
\r
1847 "y": 1534.5665435791016,
\r
1848 "z": "25a21122.0e2cfe",
\r
1857 "id": "dc31fe9c.b39df",
\r
1859 "name": "set pnf-name",
\r
1860 "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
1862 "x": 5521.566665649414,
\r
1863 "y": 1537.566665649414,
\r
1864 "z": "25a21122.0e2cfe",
\r
1868 "id": "dd074b01.699d5",
\r
1869 "type": "execute",
\r
1870 "name": "execute properties",
\r
1871 "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
1874 "x": 1119.566665649414,
\r
1875 "y": 241.56666564941406,
\r
1876 "z": "25a21122.0e2cfe",
\r
1882 "id": "71b17710.70c14",
\r
1884 "name": "for each relationship",
\r
1885 "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",
\r
1888 "x": 5589.566665649414,
\r
1889 "y": 1288.566665649414,
\r
1890 "z": "25a21122.0e2cfe",
\r
1898 "id": "262b12c7.d4eb86",
\r
1899 "type": "switchNode",
\r
1900 "name": "switch related-to",
\r
1901 "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",
\r
1904 "x": 5795.566665649414,
\r
1905 "y": 1288.566665649414,
\r
1906 "z": "25a21122.0e2cfe",
\r
1914 "id": "5944b4c4.a90d9c",
\r
1915 "type": "outcome",
\r
1916 "name": "tunnel-termination-point",
\r
1917 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
1920 "x": 6010.852310180664,
\r
1921 "y": 1288.388442993164,
\r
1922 "z": "25a21122.0e2cfe",
\r
1930 "id": "97ca4a46.233f6",
\r
1932 "name": "block : atomic",
\r
1933 "xml": "<block atomic=\"true\">",
\r
1936 "x": 6217.683853149414,
\r
1937 "y": 1288.906997680664,
\r
1938 "z": "25a21122.0e2cfe",
\r
1941 "18a90b5a.512eed",
\r
1942 "9b9213f3.dfc428",
\r
1948 "id": "18a90b5a.512eed",
\r
1950 "name": "set source ttp-id",
\r
1951 "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
1953 "x": 6432.683853149414,
\r
1954 "y": 1250.906997680664,
\r
1955 "z": "25a21122.0e2cfe",
\r
1959 "id": "9b9213f3.dfc428",
\r
1960 "type": "get-resource",
\r
1961 "name": "get-resource src TTP",
\r
1962 "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
1965 "x": 6429.683853149414,
\r
1966 "y": 1289.906997680664,
\r
1967 "z": "25a21122.0e2cfe",
\r
1975 "id": "21506293.2b15d6",
\r
1978 "xml": "<break>\n",
\r
1980 "x": 6385.183853149414,
\r
1981 "y": 1331.906997680664,
\r
1982 "z": "25a21122.0e2cfe",
\r
1986 "id": "8cbab548.0454b",
\r
1987 "type": "success",
\r
1988 "name": "success",
\r
1989 "xml": "<outcome value='success'>\n",
\r
1992 "x": 6610.183853149414,
\r
1993 "y": 1288.906997680664,
\r
1994 "z": "25a21122.0e2cfe",
\r
2002 "id": "326ba546.7f7e7a",
\r
2004 "name": "block : atomic",
\r
2005 "xml": "<block atomic=\"true\">",
\r
2008 "x": 6768.183853149414,
\r
2009 "y": 1288.906997680664,
\r
2010 "z": "25a21122.0e2cfe",
\r
2018 "id": "49cced3d.6f7764",
\r
2020 "name": "set source tunnel tp ip",
\r
2021 "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",
\r
2023 "x": 6975.183853149414,
\r
2024 "y": 1288.906997680664,
\r
2025 "z": "25a21122.0e2cfe",
\r
2029 "id": "7bc8d59f.6d2444",
\r
2031 "name": "for each relationship",
\r
2032 "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",
\r
2035 "x": 5586.566665649414,
\r
2036 "y": 2157.5667877197266,
\r
2037 "z": "25a21122.0e2cfe",
\r
2045 "id": "8f6d6d5b.1cead8",
\r
2046 "type": "switchNode",
\r
2047 "name": "switch related-to",
\r
2048 "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",
\r
2051 "x": 5792.566665649414,
\r
2052 "y": 2157.5667877197266,
\r
2053 "z": "25a21122.0e2cfe",
\r
2061 "id": "e19b436a.7033d",
\r
2062 "type": "outcome",
\r
2063 "name": "tunnel-termination-point",
\r
2064 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2067 "x": 6007.852310180664,
\r
2068 "y": 2157.3885650634766,
\r
2069 "z": "25a21122.0e2cfe",
\r
2077 "id": "bec0ab0f.3e04c8",
\r
2079 "name": "block : atomic",
\r
2080 "xml": "<block atomic=\"true\">",
\r
2083 "x": 6214.683853149414,
\r
2084 "y": 2157.9071197509766,
\r
2085 "z": "25a21122.0e2cfe",
\r
2088 "27fbcba1.3d3b74",
\r
2095 "id": "27fbcba1.3d3b74",
\r
2097 "name": "set destination ttp-id",
\r
2098 "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
2100 "x": 6429.683853149414,
\r
2101 "y": 2119.9071197509766,
\r
2102 "z": "25a21122.0e2cfe",
\r
2106 "id": "ceb087f2.f1a2d",
\r
2107 "type": "get-resource",
\r
2108 "name": "get-resource src TTP",
\r
2109 "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
2112 "x": 6426.683853149414,
\r
2113 "y": 2158.9071197509766,
\r
2114 "z": "25a21122.0e2cfe",
\r
2122 "id": "f5af142d.56f9a8",
\r
2125 "xml": "<break>\n",
\r
2127 "x": 6382.183853149414,
\r
2128 "y": 2200.9071197509766,
\r
2129 "z": "25a21122.0e2cfe",
\r
2133 "id": "3dd2b911.678516",
\r
2134 "type": "success",
\r
2135 "name": "success",
\r
2136 "xml": "<outcome value='success'>\n",
\r
2139 "x": 6607.183853149414,
\r
2140 "y": 2157.9071197509766,
\r
2141 "z": "25a21122.0e2cfe",
\r
2149 "id": "2d748944.5ecffe",
\r
2151 "name": "block : atomic",
\r
2152 "xml": "<block atomic=\"true\">",
\r
2155 "x": 6765.183853149414,
\r
2156 "y": 2157.9071197509766,
\r
2157 "z": "25a21122.0e2cfe",
\r
2165 "id": "6570963f.999c3",
\r
2167 "name": "set destination tunnel tp ip",
\r
2168 "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",
\r
2170 "x": 6972.183853149414,
\r
2171 "y": 2157.9071197509766,
\r
2172 "z": "25a21122.0e2cfe",
\r
2176 "id": "965ca101.13418",
\r
2177 "type": "get-resource",
\r
2178 "name": "get-resource src pnf",
\r
2179 "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
2182 "x": 5502.566665649414,
\r
2183 "y": 764.5666656494141,
\r
2184 "z": "25a21122.0e2cfe",
\r
2187 "50b56074.398fb8",
\r
2188 "37713986.ac02f6",
\r
2194 "id": "50b56074.398fb8",
\r
2195 "type": "success",
\r
2196 "name": "success",
\r
2197 "xml": "<outcome value='success'>\n",
\r
2200 "x": 5698.066787719727,
\r
2201 "y": 716.5666656494141,
\r
2202 "z": "25a21122.0e2cfe",
\r
2210 "id": "37713986.ac02f6",
\r
2211 "type": "not-found",
\r
2212 "name": "not-found",
\r
2213 "xml": "<outcome value='not-found'>\n",
\r
2216 "x": 5690.066787719727,
\r
2217 "y": 771.5666656494141,
\r
2218 "z": "25a21122.0e2cfe",
\r
2226 "id": "9d9c191d.f7c08",
\r
2229 "xml": "<outcome value='Other'>\n",
\r
2232 "x": 5695.066787719727,
\r
2233 "y": 828.5666656494141,
\r
2234 "z": "25a21122.0e2cfe",
\r
2242 "id": "e48b21a8.d61508",
\r
2243 "type": "returnFailure",
\r
2244 "name": "return failure",
\r
2245 "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
2247 "x": 5847.066787719727,
\r
2248 "y": 829.5666656494141,
\r
2249 "z": "25a21122.0e2cfe",
\r
2253 "id": "f545ca2e.f44db",
\r
2254 "type": "returnFailure",
\r
2255 "name": "return failure",
\r
2256 "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
2258 "x": 5858.066787719727,
\r
2259 "y": 774.5666656494141,
\r
2260 "z": "25a21122.0e2cfe",
\r
2264 "id": "e3c2a355.360d3",
\r
2267 "xml": "<block>\n",
\r
2268 "atomic": "false",
\r
2271 "x": 5842.449111938477,
\r
2272 "y": 714.2223358154297,
\r
2273 "z": "25a21122.0e2cfe",
\r
2281 "id": "16b234e1.30a8c3",
\r
2282 "type": "outcome",
\r
2283 "name": "esr-thirdparty-sdnc",
\r
2284 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2287 "x": 6424.566665649414,
\r
2288 "y": 732.5666656494141,
\r
2289 "z": "25a21122.0e2cfe",
\r
2297 "id": "e787bf98.1dda3",
\r
2299 "name": "block : atomic",
\r
2300 "xml": "<block atomic=\"true\">",
\r
2303 "x": 6601.566665649414,
\r
2304 "y": 724.5666656494141,
\r
2305 "z": "25a21122.0e2cfe",
\r
2308 "71a48553.06547c",
\r
2314 "id": "206fadad.185672",
\r
2316 "name": "for each relationship",
\r
2317 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
\r
2320 "x": 6026.566665649414,
\r
2321 "y": 728.5666656494141,
\r
2322 "z": "25a21122.0e2cfe",
\r
2330 "id": "69c3e96a.358898",
\r
2331 "type": "switchNode",
\r
2332 "name": "switch related-to",
\r
2333 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
2336 "x": 6221.566665649414,
\r
2337 "y": 728.5666656494141,
\r
2338 "z": "25a21122.0e2cfe",
\r
2341 "16b234e1.30a8c3",
\r
2347 "id": "71a48553.06547c",
\r
2349 "name": "set esr-thirdparty-sdnc domainA id",
\r
2350 "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
2352 "x": 6839.566665649414,
\r
2353 "y": 679.5666656494141,
\r
2354 "z": "25a21122.0e2cfe",
\r
2358 "id": "3b96c7df.05e2",
\r
2359 "type": "success",
\r
2360 "name": "success",
\r
2361 "xml": "<outcome value='success'>\n",
\r
2364 "x": 7019.566665649414,
\r
2365 "y": 722.5666656494141,
\r
2366 "z": "25a21122.0e2cfe",
\r
2374 "id": "1eec19a2.07645e",
\r
2375 "type": "not-found",
\r
2376 "name": "not-found",
\r
2377 "xml": "<outcome value='not-found'>\n",
\r
2380 "x": 7011.566665649414,
\r
2381 "y": 777.5666656494141,
\r
2382 "z": "25a21122.0e2cfe",
\r
2390 "id": "b1213bca.c3532",
\r
2393 "xml": "<outcome value='Other'>\n",
\r
2396 "x": 7016.566665649414,
\r
2397 "y": 834.5666656494141,
\r
2398 "z": "25a21122.0e2cfe",
\r
2406 "id": "62327f7e.aacf68",
\r
2407 "type": "returnFailure",
\r
2408 "name": "return failure",
\r
2409 "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
2411 "x": 7168.566665649414,
\r
2412 "y": 835.5666656494141,
\r
2413 "z": "25a21122.0e2cfe",
\r
2417 "id": "91f5de57.10361",
\r
2418 "type": "returnFailure",
\r
2419 "name": "return failure",
\r
2420 "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
2422 "x": 7179.566665649414,
\r
2423 "y": 780.5666656494141,
\r
2424 "z": "25a21122.0e2cfe",
\r
2428 "id": "6f8ea6fb.24df1",
\r
2431 "xml": "<block>\n",
\r
2432 "atomic": "false",
\r
2435 "x": 7163.948989868164,
\r
2436 "y": 720.2223358154297,
\r
2437 "z": "25a21122.0e2cfe",
\r
2445 "id": "10e59332.2edbc5",
\r
2447 "name": "set controller domainA data",
\r
2448 "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
2450 "x": 7378.566665649414,
\r
2451 "y": 716.5666656494141,
\r
2452 "z": "25a21122.0e2cfe",
\r
2456 "id": "22e60879.c39a9",
\r
2457 "type": "get-resource",
\r
2458 "name": "get-resource src pnf",
\r
2459 "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
2462 "x": 5543.566665649414,
\r
2463 "y": 1605.566665649414,
\r
2464 "z": "25a21122.0e2cfe",
\r
2467 "3be38b30.4b1f64",
\r
2468 "53e462a7.300ecc",
\r
2474 "id": "3be38b30.4b1f64",
\r
2475 "type": "success",
\r
2476 "name": "success",
\r
2477 "xml": "<outcome value='success'>\n",
\r
2480 "x": 5739.066787719727,
\r
2481 "y": 1557.566665649414,
\r
2482 "z": "25a21122.0e2cfe",
\r
2490 "id": "53e462a7.300ecc",
\r
2491 "type": "not-found",
\r
2492 "name": "not-found",
\r
2493 "xml": "<outcome value='not-found'>\n",
\r
2496 "x": 5731.066787719727,
\r
2497 "y": 1612.566665649414,
\r
2498 "z": "25a21122.0e2cfe",
\r
2506 "id": "be7dfbd6.3bfbb",
\r
2509 "xml": "<outcome value='Other'>\n",
\r
2512 "x": 5736.066787719727,
\r
2513 "y": 1669.566665649414,
\r
2514 "z": "25a21122.0e2cfe",
\r
2522 "id": "95cfda12.13aa08",
\r
2523 "type": "returnFailure",
\r
2524 "name": "return failure",
\r
2525 "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
2527 "x": 5888.066787719727,
\r
2528 "y": 1670.566665649414,
\r
2529 "z": "25a21122.0e2cfe",
\r
2533 "id": "cc499006.fb3a6",
\r
2534 "type": "returnFailure",
\r
2535 "name": "return failure",
\r
2536 "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
2538 "x": 5899.066787719727,
\r
2539 "y": 1615.566665649414,
\r
2540 "z": "25a21122.0e2cfe",
\r
2544 "id": "3d4c22c4.8bc33e",
\r
2547 "xml": "<block>\n",
\r
2548 "atomic": "false",
\r
2551 "x": 5883.449111938477,
\r
2552 "y": 1555.2223358154297,
\r
2553 "z": "25a21122.0e2cfe",
\r
2561 "id": "6ebd5273.de974c",
\r
2562 "type": "outcome",
\r
2563 "name": "esr-thirdparty-sdnc",
\r
2564 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2567 "x": 6465.566665649414,
\r
2568 "y": 1573.566665649414,
\r
2569 "z": "25a21122.0e2cfe",
\r
2577 "id": "d2cb326b.2ce928",
\r
2579 "name": "block : atomic",
\r
2580 "xml": "<block atomic=\"true\">",
\r
2583 "x": 6642.566665649414,
\r
2584 "y": 1565.566665649414,
\r
2585 "z": "25a21122.0e2cfe",
\r
2588 "afdd7500.c5c358",
\r
2594 "id": "7d552eed.53cb2",
\r
2596 "name": "for each relationship",
\r
2597 "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",
\r
2600 "x": 6067.566665649414,
\r
2601 "y": 1569.566665649414,
\r
2602 "z": "25a21122.0e2cfe",
\r
2610 "id": "6d34d717.589238",
\r
2611 "type": "switchNode",
\r
2612 "name": "switch related-to",
\r
2613 "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
\r
2616 "x": 6262.566665649414,
\r
2617 "y": 1569.566665649414,
\r
2618 "z": "25a21122.0e2cfe",
\r
2621 "6ebd5273.de974c",
\r
2627 "id": "995d487d.d5b57",
\r
2628 "type": "execute",
\r
2629 "name": "get esr-thirdparty-sdnc",
\r
2630 "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
2633 "x": 6850.566665649414,
\r
2634 "y": 1572.566665649414,
\r
2635 "z": "25a21122.0e2cfe",
\r
2638 "bb91f7ce.3ad978",
\r
2645 "id": "afdd7500.c5c358",
\r
2647 "name": "set esr-thirdparty-sdnc domainB id",
\r
2648 "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
2650 "x": 6880.566665649414,
\r
2651 "y": 1520.566665649414,
\r
2652 "z": "25a21122.0e2cfe",
\r
2656 "id": "bb91f7ce.3ad978",
\r
2657 "type": "success",
\r
2658 "name": "success",
\r
2659 "xml": "<outcome value='success'>\n",
\r
2662 "x": 7060.566665649414,
\r
2663 "y": 1563.566665649414,
\r
2664 "z": "25a21122.0e2cfe",
\r
2672 "id": "8e3f2e93.c1d45",
\r
2673 "type": "not-found",
\r
2674 "name": "not-found",
\r
2675 "xml": "<outcome value='not-found'>\n",
\r
2678 "x": 7052.566665649414,
\r
2679 "y": 1618.566665649414,
\r
2680 "z": "25a21122.0e2cfe",
\r
2688 "id": "c8e3caf1.3f9eb8",
\r
2691 "xml": "<outcome value='Other'>\n",
\r
2694 "x": 7057.566665649414,
\r
2695 "y": 1675.566665649414,
\r
2696 "z": "25a21122.0e2cfe",
\r
2704 "id": "625c69e0.19da8",
\r
2705 "type": "returnFailure",
\r
2706 "name": "return failure",
\r
2707 "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
2709 "x": 7209.566665649414,
\r
2710 "y": 1676.566665649414,
\r
2711 "z": "25a21122.0e2cfe",
\r
2715 "id": "20b91ac9.f7bb0e",
\r
2716 "type": "returnFailure",
\r
2717 "name": "return failure",
\r
2718 "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
2720 "x": 7220.566665649414,
\r
2721 "y": 1621.566665649414,
\r
2722 "z": "25a21122.0e2cfe",
\r
2726 "id": "ced1d2ca.c0f7c",
\r
2729 "xml": "<block>\n",
\r
2730 "atomic": "false",
\r
2733 "x": 7204.948989868164,
\r
2734 "y": 1561.2223358154297,
\r
2735 "z": "25a21122.0e2cfe",
\r
2743 "id": "483f20c0.02d49",
\r
2745 "name": "set controller domainB data",
\r
2746 "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
2748 "x": 7419.566665649414,
\r
2749 "y": 1557.566665649414,
\r
2750 "z": "25a21122.0e2cfe",
\r
2754 "id": "24772c6a.a8483c",
\r
2756 "name": "block : atomic",
\r
2757 "xml": "<block atomic=\"true\">",
\r
2760 "x": 416.56666564941406,
\r
2761 "y": 686.5666656494141,
\r
2762 "z": "25a21122.0e2cfe",
\r
2765 "3dd61cc7.9b7d74",
\r
2771 "id": "3dd61cc7.9b7d74",
\r
2773 "name": "for each allotted-resource relationship",
\r
2774 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
2777 "x": 862.5666656494141,
\r
2778 "y": 545.5666656494141,
\r
2779 "z": "25a21122.0e2cfe",
\r
2787 "id": "51cf951b.e925c4",
\r
2788 "type": "switchNode",
\r
2789 "name": "switch related-to",
\r
2790 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
2793 "x": 3227.566665649414,
\r
2794 "y": 527.5666656494141,
\r
2795 "z": "25a21122.0e2cfe",
\r
2803 "id": "90deb9f8.a72b18",
\r
2804 "type": "outcome",
\r
2805 "name": "network-resource",
\r
2806 "xml": "<outcome value='network-resource'>",
\r
2809 "x": 6427.566665649414,
\r
2810 "y": 806.5666656494141,
\r
2811 "z": "25a21122.0e2cfe",
\r
2819 "id": "d620e654.6255c",
\r
2821 "name": "block : atomic",
\r
2822 "xml": "<block atomic=\"true\">",
\r
2825 "x": 6604.566665649414,
\r
2826 "y": 798.5666656494141,
\r
2827 "z": "25a21122.0e2cfe",
\r
2835 "id": "4397af3f.dc85e",
\r
2837 "name": "set domainA ethernet layer network-id",
\r
2838 "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
2840 "x": 6839.566665649414,
\r
2841 "y": 922.5666656494141,
\r
2842 "z": "25a21122.0e2cfe",
\r
2846 "id": "40a79108.ee4848",
\r
2848 "name": "set domainB ethernet layer network-id",
\r
2849 "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
2851 "x": 6879.566665649414,
\r
2852 "y": 1762.566665649414,
\r
2853 "z": "25a21122.0e2cfe",
\r
2857 "id": "607a3e65.d46208",
\r
2859 "name": "block : atomic",
\r
2860 "xml": "<block atomic=\"true\">",
\r
2863 "x": 6644.566665649414,
\r
2864 "y": 1638.566665649414,
\r
2865 "z": "25a21122.0e2cfe",
\r
2873 "id": "9bbf0d49.94213",
\r
2874 "type": "outcome",
\r
2875 "name": "network-resource",
\r
2876 "xml": "<outcome value='network-resource'>",
\r
2879 "x": 6467.566665649414,
\r
2880 "y": 1646.566665649414,
\r
2881 "z": "25a21122.0e2cfe",
\r
2889 "id": "4f7a1356.449274",
\r
2891 "name": "set the max bandwidth",
\r
2892 "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
\r
2894 "x": 4419.566665649414,
\r
2895 "y": 582.5666656494141,
\r
2896 "z": "25a21122.0e2cfe",
\r
2900 "id": "d1460a52.2dc398",
\r
2901 "type": "execute",
\r
2902 "name": "execute UUID generator for ethernet-service-name",
\r
2903 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",
\r
2906 "x": 4441.566665649414,
\r
2907 "y": 717.5666656494141,
\r
2908 "z": "25a21122.0e2cfe",
\r
2914 "id": "96f11e74.5cf9",
\r
2915 "type": "execute",
\r
2916 "name": "execute UUID generator for otn-tunnel-name",
\r
2917 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",
\r
2920 "x": 4422.566665649414,
\r
2921 "y": 767.5666656494141,
\r
2922 "z": "25a21122.0e2cfe",
\r
2928 "id": "f0cde51e.fc048",
\r
2930 "name": "for each allotted-resource",
\r
2931 "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",
\r
2934 "x": 2032.566665649414,
\r
2935 "y": 315.56666564941406,
\r
2936 "z": "25a21122.0e2cfe",
\r
2939 "fe22e044.99d4c8",
\r
2945 "id": "fe22e044.99d4c8",
\r
2947 "name": "set the current allotted-resource-id",
\r
2948 "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",
\r
2950 "x": 2297.566665649414,
\r
2951 "y": 238.56666564941406,
\r
2952 "z": "25a21122.0e2cfe",
\r
2956 "id": "7c9d6be0.59e3fc",
\r
2958 "name": "set query_param",
\r
2959 "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",
\r
2961 "x": 4339.566665649414,
\r
2962 "y": 2217.566665649414,
\r
2963 "z": "25a21122.0e2cfe",
\r
2967 "id": "5f01b0d6.663678",
\r
2969 "name": "unset parameters",
\r
2970 "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
2972 "x": 4322.566665649414,
\r
2973 "y": 3975.566665649414,
\r
2974 "z": "25a21122.0e2cfe",
\r
2978 "id": "32dd1d69.d1982a",
\r
2980 "name": "set new ethernet-service-name",
\r
2981 "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
2983 "x": 4379.566665649414,
\r
2984 "y": 812.5666656494141,
\r
2985 "z": "25a21122.0e2cfe",
\r
2989 "id": "fefb165c.6d9d48",
\r
2991 "name": "for vidx..tmp.otninfo_length[]",
\r
2992 "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",
\r
2995 "x": 4368.566665649414,
\r
2996 "y": 2457.566665649414,
\r
2997 "z": "25a21122.0e2cfe",
\r
3005 "id": "1531085f.c55ba",
\r
3007 "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
3008 "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\n",
\r
3011 "x": 5496.566665649414,
\r
3012 "y": 2964.566665649414,
\r
3013 "z": "25a21122.0e2cfe",
\r
3021 "id": "24f90323.65c334",
\r
3023 "name": "save connectivity-A relationship to vpn-binding-A, in AAI",
\r
3024 "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
3027 "x": 6069.066665649414,
\r
3028 "y": 3068.566665649414,
\r
3029 "z": "25a21122.0e2cfe",
\r
3035 "id": "fcadaec7.4e387",
\r
3036 "type": "success",
\r
3037 "name": "success",
\r
3038 "xml": "<outcome value='success'>\n",
\r
3041 "x": 5802.566665649414,
\r
3042 "y": 2963.566665649414,
\r
3043 "z": "25a21122.0e2cfe",
\r
3051 "id": "47fc66cf.f2219",
\r
3054 "xml": "<block>\n",
\r
3055 "atomic": "false",
\r
3058 "x": 6012.066665649414,
\r
3059 "y": 2963.820571899414,
\r
3060 "z": "25a21122.0e2cfe",
\r
3066 "id": "e4910759.e9a85",
\r
3067 "type": "execute",
\r
3068 "name": "execute UUID generator for vpn-binding $otnidx",
\r
3069 "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
3072 "x": 5532.566665649414,
\r
3073 "y": 2428.566665649414,
\r
3074 "z": "25a21122.0e2cfe",
\r
3080 "id": "19efb26.3a5054e",
\r
3081 "type": "switchNode",
\r
3082 "name": "switch otnidx == 0",
\r
3083 "xml": "<switch test='`$otnidx == 0`'>\n",
\r
3086 "x": 5405.566665649414,
\r
3087 "y": 3081.566665649414,
\r
3088 "z": "25a21122.0e2cfe",
\r
3091 "6ac91bae.a4e2fc",
\r
3097 "id": "6ac91bae.a4e2fc",
\r
3098 "type": "outcomeTrue",
\r
3100 "xml": "<outcome value='true'>\n",
\r
3103 "x": 5588.566665649414,
\r
3104 "y": 3081.566665649414,
\r
3105 "z": "25a21122.0e2cfe",
\r
3113 "id": "f696dd3e.08c3d",
\r
3114 "type": "outcomeFalse",
\r
3116 "xml": "<outcome value='false'>\n",
\r
3119 "x": 5413.566665649414,
\r
3120 "y": 3228.566665649414,
\r
3121 "z": "25a21122.0e2cfe",
\r
3129 "id": "b74045ae.325b78",
\r
3130 "type": "switchNode",
\r
3131 "name": "switch otnidx == last",
\r
3132 "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",
\r
3135 "x": 5754.566665649414,
\r
3136 "y": 3309.566665649414,
\r
3137 "z": "25a21122.0e2cfe",
\r
3140 "93c212f0.0f2258",
\r
3146 "id": "93c212f0.0f2258",
\r
3147 "type": "outcomeTrue",
\r
3149 "xml": "<outcome value='true'>\n",
\r
3152 "x": 5939.566665649414,
\r
3153 "y": 3310.566665649414,
\r
3154 "z": "25a21122.0e2cfe",
\r
3162 "id": "d060ce07.272bc8",
\r
3163 "type": "outcomeFalse",
\r
3165 "xml": "<outcome value='false'>\n",
\r
3168 "x": 5958.566665649414,
\r
3169 "y": 3576.566665649414,
\r
3170 "z": "25a21122.0e2cfe",
\r
3178 "id": "a4b93978.557f9",
\r
3180 "name": "save connectivity-B relationship to vpn-binding-B, in AAI",
\r
3181 "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
3184 "x": 6369.566665649414,
\r
3185 "y": 3311.566665649414,
\r
3186 "z": "25a21122.0e2cfe",
\r
3192 "id": "c7b0c40a.9c6038",
\r
3193 "type": "execute",
\r
3194 "name": "execute UUID generator for connectivity domain otnidx",
\r
3195 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
\r
3198 "x": 6443.566665649414,
\r
3199 "y": 3609.566665649414,
\r
3200 "z": "25a21122.0e2cfe",
\r
3206 "id": "689f50a5.dff04",
\r
3208 "name": "save connectivity resource in AAI",
\r
3209 "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='`$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
3212 "x": 6379.566665649414,
\r
3213 "y": 3660.566665649414,
\r
3214 "z": "25a21122.0e2cfe",
\r
3220 "id": "67d0e07e.cd61f8",
\r
3222 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
3223 "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
3226 "x": 6508.566665649414,
\r
3227 "y": 3710.566665649414,
\r
3228 "z": "25a21122.0e2cfe",
\r
3234 "id": "8bcc08c5.9c4d7",
\r
3235 "type": "comment",
\r
3236 "name": "connectivity has not been created for middle domains, so we have to create one",
\r
3239 "x": 6518.566665649414,
\r
3240 "y": 3553.566665649414,
\r
3241 "z": "25a21122.0e2cfe",
\r
3245 "id": "64006ab7.c64d44",
\r
3247 "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
\r
3248 "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
3251 "x": 6476.566665649414,
\r
3252 "y": 3769.566665649414,
\r
3253 "z": "25a21122.0e2cfe",
\r
3259 "id": "1b72857d.e58193",
\r
3261 "name": "block : atomic",
\r
3262 "xml": "<block atomic='true'>",
\r
3266 "x": 6115.566665649414,
\r
3267 "y": 3577.566665649414,
\r
3268 "z": "25a21122.0e2cfe",
\r
3271 "c7b0c40a.9c6038",
\r
3273 "67d0e07e.cd61f8",
\r
3274 "64006ab7.c64d44",
\r
3280 "id": "15c5a249.e6ba26",
\r
3282 "name": "block : atomic",
\r
3283 "xml": "<block atomic='true'>",
\r
3287 "x": 4625.566665649414,
\r
3288 "y": 2457.566665649414,
\r
3289 "z": "25a21122.0e2cfe",
\r
3294 "19efb26.3a5054e",
\r
3296 "59469467.70a6d4",
\r
3297 "982e5c66.4703f8",
\r
3303 "id": "b962e9bf.f7ec68",
\r
3305 "name": "set attachment_param domain A",
\r
3306 "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",
\r
3308 "x": 5993.566665649414,
\r
3309 "y": 3125.566665649414,
\r
3310 "z": "25a21122.0e2cfe",
\r
3314 "id": "7f4b2d0d.ab9d0c",
\r
3315 "type": "execute",
\r
3316 "name": "execute RestApiCallNode domainA UNI Coloring",
\r
3317 "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
3320 "x": 6046.566665649414,
\r
3321 "y": 3169.566665649414,
\r
3322 "z": "25a21122.0e2cfe",
\r
3325 "d0a8f560.124258",
\r
3331 "id": "e919fb8f.48aeb",
\r
3332 "type": "failure",
\r
3333 "name": "failure",
\r
3334 "xml": "<outcome value='failure'>\n",
\r
3337 "x": 6317.566665649414,
\r
3338 "y": 3154.566665649414,
\r
3339 "z": "25a21122.0e2cfe",
\r
3347 "id": "d0a8f560.124258",
\r
3348 "type": "success",
\r
3349 "name": "success",
\r
3350 "xml": "<outcome value='success'>\n",
\r
3353 "x": 6315.566879272461,
\r
3354 "y": 3212.566575050354,
\r
3355 "z": "25a21122.0e2cfe",
\r
3363 "id": "408ad253.15a054",
\r
3364 "type": "returnFailure",
\r
3365 "name": "return failure",
\r
3366 "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
3368 "x": 6457.566913604736,
\r
3369 "y": 3154.5666666030884,
\r
3370 "z": "25a21122.0e2cfe",
\r
3374 "id": "bfaa06ad.2149c",
\r
3377 "xml": "<block>\n",
\r
3378 "atomic": "false",
\r
3381 "x": 6463.593925476074,
\r
3382 "y": 3203.31206035614,
\r
3383 "z": "25a21122.0e2cfe",
\r
3389 "id": "5559f5ba.2a16b4",
\r
3392 "xml": "<block>\n",
\r
3393 "atomic": "false",
\r
3396 "x": 5729.566665649414,
\r
3397 "y": 3071.566665649414,
\r
3398 "z": "25a21122.0e2cfe",
\r
3401 "24f90323.65c334",
\r
3402 "7f4b2d0d.ab9d0c",
\r
3408 "id": "8ce15cd2.dd2d",
\r
3411 "xml": "<block>\n",
\r
3412 "atomic": "false",
\r
3415 "x": 6073.566665649414,
\r
3416 "y": 3311.566665649414,
\r
3417 "z": "25a21122.0e2cfe",
\r
3421 "fc367338.14f248",
\r
3427 "id": "546374c7.67c9c4",
\r
3429 "name": "set attachment_param domain B",
\r
3430 "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",
\r
3432 "x": 6293.566665649414,
\r
3433 "y": 3355.566665649414,
\r
3434 "z": "25a21122.0e2cfe",
\r
3438 "id": "fc367338.14f248",
\r
3439 "type": "execute",
\r
3440 "name": "execute RestApiCallNode domainB UNI Coloring",
\r
3441 "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
3444 "x": 6344.566665649414,
\r
3445 "y": 3399.566665649414,
\r
3446 "z": "25a21122.0e2cfe",
\r
3455 "id": "889681a1.8aebb",
\r
3456 "type": "failure",
\r
3457 "name": "failure",
\r
3458 "xml": "<outcome value='failure'>\n",
\r
3461 "x": 6607.566665649414,
\r
3462 "y": 3379.566665649414,
\r
3463 "z": "25a21122.0e2cfe",
\r
3471 "id": "edc516eb.d6818",
\r
3472 "type": "success",
\r
3473 "name": "success",
\r
3474 "xml": "<outcome value='success'>\n",
\r
3477 "x": 6608.566879272461,
\r
3478 "y": 3430.566575050354,
\r
3479 "z": "25a21122.0e2cfe",
\r
3487 "id": "b62983f6.8b1c68",
\r
3488 "type": "returnFailure",
\r
3489 "name": "return failure",
\r
3490 "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
3492 "x": 6747.566913604736,
\r
3493 "y": 3379.5666666030884,
\r
3494 "z": "25a21122.0e2cfe",
\r
3498 "id": "51aaba5d.abae2c",
\r
3501 "xml": "<block>\n",
\r
3502 "atomic": "false",
\r
3505 "x": 6753.593925476074,
\r
3506 "y": 3428.31206035614,
\r
3507 "z": "25a21122.0e2cfe",
\r
3513 "id": "9642c24b.bc1f8",
\r
3515 "name": "set attachment_param domain otnidx",
\r
3516 "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
\r
3518 "x": 6390.566665649414,
\r
3519 "y": 3829.566665649414,
\r
3520 "z": "25a21122.0e2cfe",
\r
3524 "id": "127eaa7a.98449e",
\r
3526 "name": "get all-vpn-bindings from aai",
\r
3527 "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
3530 "x": 3709.566665649414,
\r
3531 "y": 4176.566665649414,
\r
3532 "z": "25a21122.0e2cfe",
\r
3536 "7f9abc32.a826f4",
\r
3542 "id": "4f7f9fac.fe049",
\r
3543 "type": "success",
\r
3544 "name": "success",
\r
3545 "xml": "<outcome value='success'>\n",
\r
3548 "x": 3897.566665649414,
\r
3549 "y": 4189.566665649414,
\r
3550 "z": "25a21122.0e2cfe",
\r
3558 "id": "7f9abc32.a826f4",
\r
3559 "type": "not-found",
\r
3560 "name": "not-found",
\r
3561 "xml": "<outcome value='not-found'>\n",
\r
3564 "x": 3898.057632446289,
\r
3565 "y": 4235.140701293945,
\r
3566 "z": "25a21122.0e2cfe",
\r
3574 "id": "58223279.e77444",
\r
3575 "type": "failure",
\r
3576 "name": "failure",
\r
3577 "xml": "<outcome value='failure'>\n",
\r
3580 "x": 3895.566665649414,
\r
3581 "y": 4278.566665649414,
\r
3582 "z": "25a21122.0e2cfe",
\r
3590 "id": "f21f6a6d.7c0b9",
\r
3592 "name": "block : atomic",
\r
3593 "xml": "<block atomic=\"true\">",
\r
3596 "x": 4070.566665649414,
\r
3597 "y": 4187.566665649414,
\r
3598 "z": "25a21122.0e2cfe",
\r
3606 "id": "5b9e9e7e.bd3fb8",
\r
3607 "type": "returnFailure",
\r
3608 "name": "return failure",
\r
3609 "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
3611 "x": 4060.6290435791016,
\r
3612 "y": 4235.42643737793,
\r
3613 "z": "25a21122.0e2cfe",
\r
3617 "id": "81ac9378.5e17c8",
\r
3618 "type": "returnFailure",
\r
3619 "name": "return failure",
\r
3620 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
3622 "x": 4062.566665649414,
\r
3623 "y": 4277.566665649414,
\r
3624 "z": "25a21122.0e2cfe",
\r
3628 "id": "e781046f.1418e",
\r
3630 "name": "for vidx..tmp.otninfo_length[]",
\r
3631 "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",
\r
3634 "x": 3698.566665649414,
\r
3635 "y": 4367.566665649414,
\r
3636 "z": "25a21122.0e2cfe",
\r
3644 "id": "a7536813.9c6d5",
\r
3646 "name": "block : atomic",
\r
3647 "xml": "<block atomic='true'>",
\r
3651 "x": 4508.566665649414,
\r
3652 "y": 4367.566665649414,
\r
3653 "z": "25a21122.0e2cfe",
\r
3661 "id": "d852a581.272668",
\r
3663 "name": "for vidx..tmp.otninfo_length[]",
\r
3664 "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",
\r
3667 "x": 4280.566665649414,
\r
3668 "y": 4367.566665649414,
\r
3669 "z": "25a21122.0e2cfe",
\r
3677 "id": "35196fa7.3e82b8",
\r
3679 "name": "set providerValue",
\r
3680 "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
3682 "x": 5400.566665649414,
\r
3683 "y": 4134.566665649414,
\r
3684 "z": "25a21122.0e2cfe",
\r
3688 "id": "1b7fbbc1.fdc524",
\r
3691 "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",
\r
3693 "x": 5702.566665649414,
\r
3694 "y": 3260.566665649414,
\r
3695 "z": "25a21122.0e2cfe",
\r
3699 "id": "16a87f5a.f1d3a9",
\r
3702 "xml": "<block>\n",
\r
3703 "atomic": "false",
\r
3706 "x": 5537.566665649414,
\r
3707 "y": 3235.566665649414,
\r
3708 "z": "25a21122.0e2cfe",
\r
3711 "1b7fbbc1.fdc524",
\r
3717 "id": "5a4aff44.5be78",
\r
3719 "name": "set tmp.arr",
\r
3720 "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<parameter name='bwModified' value='false' />\n",
\r
3722 "x": 1991.566665649414,
\r
3723 "y": 265.56666564941406,
\r
3724 "z": "25a21122.0e2cfe",
\r
3728 "id": "1562d3ab.607dc4",
\r
3730 "name": "for vpnidx in all-vpn-bindings",
\r
3731 "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",
\r
3734 "x": 4299.566665649414,
\r
3735 "y": 4188.566665649414,
\r
3736 "z": "25a21122.0e2cfe",
\r
3744 "id": "1d7f1d69.47cb1b",
\r
3746 "name": "block : atomic",
\r
3747 "xml": "<block atomic='true'>",
\r
3751 "x": 4514.566665649414,
\r
3752 "y": 4189.566665649414,
\r
3753 "z": "25a21122.0e2cfe",
\r
3761 "id": "5d5ba3f2.74414c",
\r
3763 "name": "for arridx in tmp.arr",
\r
3764 "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",
\r
3767 "x": 5967.566665649414,
\r
3768 "y": 4109.566665649414,
\r
3769 "z": "25a21122.0e2cfe",
\r
3777 "id": "b4d44dab.0baa88",
\r
3778 "type": "switchNode",
\r
3779 "name": "switch $tmp.arr_length != 0",
\r
3780 "xml": "<switch test='`$tmp.arr_length != 0`'>\n",
\r
3783 "x": 5433.566665649414,
\r
3784 "y": 4189.566665649414,
\r
3785 "z": "25a21122.0e2cfe",
\r
3788 "62eec498.21eadc",
\r
3794 "id": "62eec498.21eadc",
\r
3795 "type": "outcomeTrue",
\r
3797 "xml": "<outcome value='true'>\n",
\r
3800 "x": 5629.566665649414,
\r
3801 "y": 4159.566665649414,
\r
3802 "z": "25a21122.0e2cfe",
\r
3810 "id": "978a0072.3fd11",
\r
3811 "type": "outcomeFalse",
\r
3813 "xml": "<outcome value='false'>\n",
\r
3816 "x": 5630.566665649414,
\r
3817 "y": 4230.566665649414,
\r
3818 "z": "25a21122.0e2cfe",
\r
3826 "id": "899efa3b.42e148",
\r
3828 "name": "block : atomic",
\r
3829 "xml": "<block atomic='true'>",
\r
3833 "x": 5780.566665649414,
\r
3834 "y": 4157.566665649414,
\r
3835 "z": "25a21122.0e2cfe",
\r
3838 "5d5ba3f2.74414c",
\r
3844 "id": "c853cdfd.dbbe38",
\r
3845 "type": "switchNode",
\r
3846 "name": "switch tmp.arr[$arridx] == $providerValue",
\r
3847 "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",
\r
3850 "x": 6258.566665649414,
\r
3851 "y": 4109.566665649414,
\r
3852 "z": "25a21122.0e2cfe",
\r
3855 "32f1af6e.548f98",
\r
3861 "id": "32f1af6e.548f98",
\r
3862 "type": "outcomeTrue",
\r
3864 "xml": "<outcome value='true'>\n",
\r
3867 "x": 6533.566665649414,
\r
3868 "y": 4078.566665649414,
\r
3869 "z": "25a21122.0e2cfe",
\r
3877 "id": "aa4fe454.7a4ce",
\r
3878 "type": "outcomeFalse",
\r
3880 "xml": "<outcome value='false'>\n",
\r
3883 "x": 6534.566665649414,
\r
3884 "y": 4149.566665649414,
\r
3885 "z": "25a21122.0e2cfe",
\r
3893 "id": "811e814b.5875b8",
\r
3895 "name": "block : atomic",
\r
3896 "xml": "<block atomic='true'>",
\r
3900 "x": 6684.566665649414,
\r
3901 "y": 4076.566665649414,
\r
3902 "z": "25a21122.0e2cfe",
\r
3905 "af4f903c.21f488",
\r
3906 "2d6d2965.4ae4be",
\r
3908 "1c32b22d.5aadde",
\r
3914 "id": "af4f903c.21f488",
\r
3916 "name": "set found to true",
\r
3917 "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",
\r
3919 "x": 6872.566665649414,
\r
3920 "y": 4036.566665649414,
\r
3921 "z": "25a21122.0e2cfe",
\r
3925 "id": "2d6d2965.4ae4be",
\r
3927 "name": "store $arridx somewhere in vpn-binding",
\r
3928 "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
3931 "x": 6944.566665649414,
\r
3932 "y": 4081.566665649414,
\r
3933 "z": "25a21122.0e2cfe",
\r
3939 "id": "1865add8.1adbe2",
\r
3941 "name": "set twoD arr",
\r
3942 "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
3944 "x": 6859.566665649414,
\r
3945 "y": 4208.566665649414,
\r
3946 "z": "25a21122.0e2cfe",
\r
3950 "id": "1c32b22d.5aadde",
\r
3952 "name": "set sizeOfSliceList",
\r
3953 "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",
\r
3955 "x": 6880.566665649414,
\r
3956 "y": 4144.566665649414,
\r
3957 "z": "25a21122.0e2cfe",
\r
3961 "id": "214f2c3d.6d899c",
\r
3963 "name": "block : atomic",
\r
3964 "xml": "<block atomic='true'>",
\r
3968 "x": 5782.566665649414,
\r
3969 "y": 4230.566665649414,
\r
3970 "z": "25a21122.0e2cfe",
\r
3973 "2a37cb43.8a38d4",
\r
3979 "id": "2a37cb43.8a38d4",
\r
3981 "name": "store $arridx somewhere in vpn-binding",
\r
3982 "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
3985 "x": 6037.566665649414,
\r
3986 "y": 4223.566665649414,
\r
3987 "z": "25a21122.0e2cfe",
\r
3993 "id": "2a56e17b.8d5c2e",
\r
3995 "name": "set twoD array",
\r
3996 "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
3998 "x": 5965.566665649414,
\r
3999 "y": 4270.566665649414,
\r
4000 "z": "25a21122.0e2cfe",
\r
4004 "id": "a601628e.52c128",
\r
4005 "type": "switchNode",
\r
4006 "name": "switch found?",
\r
4007 "xml": "<switch test='`$found`'>\n",
\r
4010 "x": 5958.566665649414,
\r
4011 "y": 4154.566665649414,
\r
4012 "z": "25a21122.0e2cfe",
\r
4015 "38e10d32.2b93c2",
\r
4021 "id": "38e10d32.2b93c2",
\r
4022 "type": "outcomeTrue",
\r
4024 "xml": "<outcome value='true'>\n",
\r
4027 "x": 6118.566665649414,
\r
4028 "y": 4146.566665649414,
\r
4029 "z": "25a21122.0e2cfe",
\r
4037 "id": "dbcc850c.fc8dd",
\r
4038 "type": "outcomeFalse",
\r
4040 "xml": "<outcome value='false'>\n",
\r
4043 "x": 6116.566665649414,
\r
4044 "y": 4183.566665649414,
\r
4045 "z": "25a21122.0e2cfe",
\r
4053 "id": "b21401a.fc6228",
\r
4056 "xml": "<block>\n",
\r
4057 "atomic": "false",
\r
4060 "x": 6243.566665649414,
\r
4061 "y": 4146.566665649414,
\r
4062 "z": "25a21122.0e2cfe",
\r
4068 "id": "a2a7d328.f35de8",
\r
4070 "name": "store $arridx+1 somewhere in vpn-binding",
\r
4071 "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
4074 "x": 6550.566665649414,
\r
4075 "y": 4204.566665649414,
\r
4076 "z": "25a21122.0e2cfe",
\r
4082 "id": "e4683213.00ce18",
\r
4084 "name": "block : atomic",
\r
4085 "xml": "<block atomic='true'>",
\r
4089 "x": 6276.566665649414,
\r
4090 "y": 4191.566665649414,
\r
4091 "z": "25a21122.0e2cfe",
\r
4094 "a2a7d328.f35de8",
\r
4100 "id": "930daebd.33fb78",
\r
4102 "name": "set twoD array",
\r
4103 "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
4105 "x": 6467.566665649414,
\r
4106 "y": 4250.566665649414,
\r
4107 "z": "25a21122.0e2cfe",
\r
4111 "id": "989bacbe.4af828",
\r
4114 "xml": "<block>\n",
\r
4115 "atomic": "false",
\r
4118 "x": 6667.566665649414,
\r
4119 "y": 4148.566665649414,
\r
4120 "z": "25a21122.0e2cfe",
\r
4126 "id": "e5b6e917.a4d33",
\r
4129 "xml": "<break>\n",
\r
4131 "x": 6838.566665649414,
\r
4132 "y": 4275.566665649414,
\r
4133 "z": "25a21122.0e2cfe",
\r
4137 "id": "ad7dc399.bf418",
\r
4138 "type": "switchNode",
\r
4139 "name": "switch dstPort == NULL",
\r
4140 "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
\r
4143 "x": 5235.566665649414,
\r
4144 "y": 2487.566665649414,
\r
4145 "z": "25a21122.0e2cfe",
\r
4148 "359b938e.1f1cd4",
\r
4154 "id": "359b938e.1f1cd4",
\r
4155 "type": "outcomeTrue",
\r
4157 "xml": "<outcome value='true'>\n",
\r
4160 "x": 5624.566665649414,
\r
4161 "y": 2465.566665649414,
\r
4162 "z": "25a21122.0e2cfe",
\r
4170 "id": "64d68365.eb604c",
\r
4171 "type": "outcomeFalse",
\r
4173 "xml": "<outcome value='false'>\n",
\r
4176 "x": 5625.566665649414,
\r
4177 "y": 2511.566665649414,
\r
4178 "z": "25a21122.0e2cfe",
\r
4186 "id": "73a3115c.3a191",
\r
4188 "name": "set access-provider-id and client-id",
\r
4189 "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
4191 "x": 5838.566665649414,
\r
4192 "y": 2464.566665649414,
\r
4193 "z": "25a21122.0e2cfe",
\r
4197 "id": "40a2bbc1.5980e4",
\r
4199 "name": "set access-provider-id and client-id",
\r
4200 "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
4202 "x": 5836.566665649414,
\r
4203 "y": 2509.566665649414,
\r
4204 "z": "25a21122.0e2cfe",
\r
4208 "id": "a13486f2.279748",
\r
4210 "name": "set attachment_param sliceG",
\r
4211 "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
4213 "x": 4761.566665649414,
\r
4214 "y": 4365.566665649414,
\r
4215 "z": "25a21122.0e2cfe",
\r
4219 "id": "3fa485d1.c8f9c2",
\r
4220 "type": "execute",
\r
4221 "name": "execute RestApiCallNode sliceG creation domainG",
\r
4222 "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
4225 "x": 4346.566665649414,
\r
4226 "y": 4473.566665649414,
\r
4227 "z": "25a21122.0e2cfe",
\r
4230 "f023dd0f.b91278",
\r
4236 "id": "29f41b43.8a7c44",
\r
4237 "type": "failure",
\r
4238 "name": "failure",
\r
4239 "xml": "<outcome value='failure'>\n",
\r
4242 "x": 4629.566665649414,
\r
4243 "y": 4453.566665649414,
\r
4244 "z": "25a21122.0e2cfe",
\r
4252 "id": "f023dd0f.b91278",
\r
4253 "type": "success",
\r
4254 "name": "success",
\r
4255 "xml": "<outcome value='success'>\n",
\r
4258 "x": 4630.566879272461,
\r
4259 "y": 4504.566575050354,
\r
4260 "z": "25a21122.0e2cfe",
\r
4268 "id": "e71ba272.6cc34",
\r
4269 "type": "returnFailure",
\r
4270 "name": "return failure",
\r
4271 "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
4273 "x": 4769.566913604736,
\r
4274 "y": 4453.566666603088,
\r
4275 "z": "25a21122.0e2cfe",
\r
4279 "id": "7f431198.b36fd",
\r
4282 "xml": "<block>\n",
\r
4283 "atomic": "false",
\r
4286 "x": 4775.593925476074,
\r
4287 "y": 4502.31206035614,
\r
4288 "z": "25a21122.0e2cfe",
\r
4294 "id": "59469467.70a6d4",
\r
4296 "name": "set srcdstpnf-name",
\r
4297 "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
4299 "x": 5419.566665649414,
\r
4300 "y": 2607.566665649414,
\r
4301 "z": "25a21122.0e2cfe",
\r
4305 "id": "982e5c66.4703f8",
\r
4306 "type": "get-resource",
\r
4307 "name": "get-resource tmp.srcdstpnf-name",
\r
4308 "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
4311 "x": 5463.566665649414,
\r
4312 "y": 2655.566665649414,
\r
4313 "z": "25a21122.0e2cfe",
\r
4316 "48087d37.a26c6c",
\r
4323 "id": "48087d37.a26c6c",
\r
4324 "type": "success",
\r
4325 "name": "success",
\r
4326 "xml": "<outcome value='success'>\n",
\r
4329 "x": 5676.066665649414,
\r
4330 "y": 2602.566665649414,
\r
4331 "z": "25a21122.0e2cfe",
\r
4339 "id": "da051a0e.70b99",
\r
4340 "type": "not-found",
\r
4341 "name": "not-found",
\r
4342 "xml": "<outcome value='not-found'>\n",
\r
4345 "x": 5688.066665649414,
\r
4346 "y": 2652.566665649414,
\r
4347 "z": "25a21122.0e2cfe",
\r
4355 "id": "11fa1a3.3e28f66",
\r
4358 "xml": "<outcome value='Other'>\n",
\r
4361 "x": 5679.066665649414,
\r
4362 "y": 2707.566665649414,
\r
4363 "z": "25a21122.0e2cfe",
\r
4371 "id": "1bd627d5.df5018",
\r
4372 "type": "returnFailure",
\r
4373 "name": "return failure",
\r
4374 "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
4376 "x": 5824.066665649414,
\r
4377 "y": 2706.566665649414,
\r
4378 "z": "25a21122.0e2cfe",
\r
4382 "id": "8bafac6.5725d5",
\r
4383 "type": "returnFailure",
\r
4384 "name": "return failure",
\r
4385 "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
4387 "x": 5835.066665649414,
\r
4388 "y": 2649.566665649414,
\r
4389 "z": "25a21122.0e2cfe",
\r
4393 "id": "d7b6e1d4.5db9c8",
\r
4396 "xml": "<block>\n",
\r
4397 "atomic": "false",
\r
4400 "x": 5801.449111938477,
\r
4401 "y": 2596.2223358154297,
\r
4402 "z": "25a21122.0e2cfe",
\r
4410 "id": "2b52018c.262d56",
\r
4411 "type": "outcome",
\r
4412 "name": "esr-thirdparty-sdnc",
\r
4413 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
4416 "x": 6360.566665649414,
\r
4417 "y": 2614.566665649414,
\r
4418 "z": "25a21122.0e2cfe",
\r
4426 "id": "691fa48a.848bcc",
\r
4428 "name": "block : atomic",
\r
4429 "xml": "<block atomic=\"true\">",
\r
4432 "x": 6537.566665649414,
\r
4433 "y": 2606.566665649414,
\r
4434 "z": "25a21122.0e2cfe",
\r
4437 "40d861d8.1df158",
\r
4443 "id": "7412b5af.ff0f9c",
\r
4445 "name": "for each relationship",
\r
4446 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",
\r
4449 "x": 5962.566665649414,
\r
4450 "y": 2610.566665649414,
\r
4451 "z": "25a21122.0e2cfe",
\r
4459 "id": "cee0c51f.59e4e8",
\r
4460 "type": "switchNode",
\r
4461 "name": "switch related-to",
\r
4462 "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
4465 "x": 6157.566665649414,
\r
4466 "y": 2610.566665649414,
\r
4467 "z": "25a21122.0e2cfe",
\r
4475 "id": "6005e754.3b403",
\r
4476 "type": "execute",
\r
4477 "name": "get esr-thirdparty-sdnc",
\r
4478 "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
4481 "x": 6745.566665649414,
\r
4482 "y": 2613.566665649414,
\r
4483 "z": "25a21122.0e2cfe",
\r
4486 "ba9890c1.c4a288",
\r
4487 "659d7a5f.8396d4",
\r
4493 "id": "40d861d8.1df158",
\r
4495 "name": "set esr-thirdparty-sdnc domainG id",
\r
4496 "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
4498 "x": 6775.566665649414,
\r
4499 "y": 2561.566665649414,
\r
4500 "z": "25a21122.0e2cfe",
\r
4504 "id": "ba9890c1.c4a288",
\r
4505 "type": "success",
\r
4506 "name": "success",
\r
4507 "xml": "<outcome value='success'>\n",
\r
4510 "x": 6955.566665649414,
\r
4511 "y": 2604.566665649414,
\r
4512 "z": "25a21122.0e2cfe",
\r
4520 "id": "659d7a5f.8396d4",
\r
4521 "type": "not-found",
\r
4522 "name": "not-found",
\r
4523 "xml": "<outcome value='not-found'>\n",
\r
4526 "x": 6947.566665649414,
\r
4527 "y": 2659.566665649414,
\r
4528 "z": "25a21122.0e2cfe",
\r
4536 "id": "c60c2b5.88a3ed8",
\r
4539 "xml": "<outcome value='Other'>\n",
\r
4542 "x": 6952.566665649414,
\r
4543 "y": 2716.566665649414,
\r
4544 "z": "25a21122.0e2cfe",
\r
4552 "id": "d78cb5ab.fdf3",
\r
4553 "type": "returnFailure",
\r
4554 "name": "return failure",
\r
4555 "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
4557 "x": 7104.566665649414,
\r
4558 "y": 2717.566665649414,
\r
4559 "z": "25a21122.0e2cfe",
\r
4563 "id": "23f5bad7.571c16",
\r
4564 "type": "returnFailure",
\r
4565 "name": "return failure",
\r
4566 "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
4568 "x": 7115.566665649414,
\r
4569 "y": 2662.566665649414,
\r
4570 "z": "25a21122.0e2cfe",
\r
4574 "id": "203ebc79.0da80c",
\r
4577 "xml": "<block>\n",
\r
4578 "atomic": "false",
\r
4581 "x": 7099.948989868164,
\r
4582 "y": 2602.2223358154297,
\r
4583 "z": "25a21122.0e2cfe",
\r
4591 "id": "510e20cb.08311",
\r
4593 "name": "set controller domainA data",
\r
4594 "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
4596 "x": 7314.566665649414,
\r
4597 "y": 2598.566665649414,
\r
4598 "z": "25a21122.0e2cfe",
\r
4602 "id": "d5bebf9c.374a9",
\r
4604 "name": "block : atomic",
\r
4605 "xml": "<block atomic='true'>",
\r
4609 "x": 3930.566665649414,
\r
4610 "y": 4365.566665649414,
\r
4611 "z": "25a21122.0e2cfe",
\r
4614 "d852a581.272668",
\r
4620 "id": "e9c05ada.bb249",
\r
4621 "type": "switchNode",
\r
4622 "name": "switch dmnsidx == 0 (domainA)",
\r
4623 "xml": "<switch test='`$otnidx == 0`'>\n",
\r
4626 "x": 5433.566665649414,
\r
4627 "y": 2824.566665649414,
\r
4628 "z": "25a21122.0e2cfe",
\r
4637 "id": "e3270b50.ca16b",
\r
4638 "type": "outcomeTrue",
\r
4640 "xml": "<outcome value='true'>\n",
\r
4643 "x": 5634.566665649414,
\r
4644 "y": 2822.566665649414,
\r
4645 "z": "25a21122.0e2cfe",
\r
4653 "id": "8c1f5350.45b238",
\r
4655 "name": "set attachment_param domain A",
\r
4656 "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
4658 "x": 5848.566665649414,
\r
4659 "y": 2824.566665649414,
\r
4660 "z": "25a21122.0e2cfe",
\r
4664 "id": "efd041d2.1f57c",
\r
4665 "type": "switchNode",
\r
4666 "name": "switch dmnsidx == last (domainB)",
\r
4667 "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",
\r
4670 "x": 5851.566665649414,
\r
4671 "y": 2873.566665649414,
\r
4672 "z": "25a21122.0e2cfe",
\r
4675 "18ead70f.a7a7d1",
\r
4681 "id": "18ead70f.a7a7d1",
\r
4682 "type": "outcomeTrue",
\r
4684 "xml": "<outcome value='true'>\n",
\r
4687 "x": 6081.566665649414,
\r
4688 "y": 2869.566665649414,
\r
4689 "z": "25a21122.0e2cfe",
\r
4697 "id": "45ea107a.0ebac8",
\r
4699 "name": "set attachment_param domain B",
\r
4700 "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
4702 "x": 6295.566665649414,
\r
4703 "y": 2872.566665649414,
\r
4704 "z": "25a21122.0e2cfe",
\r
4708 "id": "1493e80e.a20608",
\r
4709 "type": "outcomeFalse",
\r
4711 "xml": "<outcome value='false'>\n",
\r
4714 "x": 5634.566665649414,
\r
4715 "y": 2871.566665649414,
\r
4716 "z": "25a21122.0e2cfe",
\r
4724 "id": "86ea5500.031798",
\r
4725 "type": "outcomeFalse",
\r
4727 "xml": "<outcome value='false'>\n",
\r
4730 "x": 6082.566665649414,
\r
4731 "y": 2915.566665649414,
\r
4732 "z": "25a21122.0e2cfe",
\r
4740 "id": "7828b5dc.b70c4c",
\r
4742 "name": "set attachment_param domain G",
\r
4743 "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
4745 "x": 6296.566665649414,
\r
4746 "y": 2915.566665649414,
\r
4747 "z": "25a21122.0e2cfe",
\r
4751 "id": "72c2b2cc.2ba44c",
\r
4753 "name": "set tmp.slicevpns",
\r
4754 "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
4756 "x": 6194.566665649414,
\r
4757 "y": 2964.566665649414,
\r
4758 "z": "25a21122.0e2cfe",
\r
4762 "id": "25f755d1.b61592",
\r
4763 "type": "switchNode",
\r
4764 "name": "switch vpnuuid is for this slice",
\r
4765 "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",
\r
4768 "x": 4758.566665649414,
\r
4769 "y": 4188.566665649414,
\r
4770 "z": "25a21122.0e2cfe",
\r
4773 "15207d44.a4310b",
\r
4779 "id": "15207d44.a4310b",
\r
4780 "type": "outcomeTrue",
\r
4782 "xml": "<outcome value='true'>\n",
\r
4785 "x": 4975.566665649414,
\r
4786 "y": 4167.566665649414,
\r
4787 "z": "25a21122.0e2cfe",
\r
4795 "id": "179e4c90.1525b3",
\r
4796 "type": "outcomeFalse",
\r
4798 "xml": "<outcome value='false'>\n",
\r
4801 "x": 4975.566665649414,
\r
4802 "y": 4216.566665649414,
\r
4803 "z": "25a21122.0e2cfe",
\r
4809 "id": "64fe7f3a.b5df9",
\r
4811 "name": "block : atomic",
\r
4812 "xml": "<block atomic='true'>",
\r
4816 "x": 5143.566665649414,
\r
4817 "y": 4167.566665649414,
\r
4818 "z": "25a21122.0e2cfe",
\r
4821 "35196fa7.3e82b8",
\r
4827 "id": "433e887a.5dd2c",
\r
4829 "name": "get logical-link from aai",
\r
4830 "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
4833 "x": 1483.566665649414,
\r
4834 "y": 798.5666656494141,
\r
4835 "z": "25a21122.0e2cfe",
\r
4838 "4058fc82.6dfacc",
\r
4839 "4151c29c.d64b0c",
\r
4845 "id": "4058fc82.6dfacc",
\r
4846 "type": "not-found",
\r
4847 "name": "not-found",
\r
4848 "xml": "<outcome value='not-found'>\n",
\r
4851 "x": 1696.057632446289,
\r
4852 "y": 765.1406402587891,
\r
4853 "z": "25a21122.0e2cfe",
\r
4861 "id": "4151c29c.d64b0c",
\r
4862 "type": "failure",
\r
4863 "name": "failure",
\r
4864 "xml": "<outcome value='failure'>\n",
\r
4867 "x": 1684.566665649414,
\r
4868 "y": 809.5666656494141,
\r
4869 "z": "25a21122.0e2cfe",
\r
4877 "id": "417a2c30.fd69ac",
\r
4878 "type": "returnFailure",
\r
4879 "name": "return failure",
\r
4880 "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
4882 "x": 1844.629165649414,
\r
4883 "y": 765.4264068603516,
\r
4884 "z": "25a21122.0e2cfe",
\r
4888 "id": "2fc8bb7d.787cac",
\r
4889 "type": "returnFailure",
\r
4890 "name": "return failure",
\r
4891 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
4893 "x": 1843.566665649414,
\r
4894 "y": 809.5666656494141,
\r
4895 "z": "25a21122.0e2cfe",
\r
4899 "id": "5541a408.f0ed0c",
\r
4900 "type": "success",
\r
4901 "name": "success",
\r
4902 "xml": "<outcome value='success'>\n",
\r
4905 "x": 1689.566665649414,
\r
4906 "y": 852.5666656494141,
\r
4907 "z": "25a21122.0e2cfe",
\r
4915 "id": "e145a9c3.48d208",
\r
4917 "name": "block : atomic",
\r
4918 "xml": "<block atomic='true'>",
\r
4922 "x": 835.5666656494141,
\r
4923 "y": 1191.566665649414,
\r
4924 "z": "25a21122.0e2cfe",
\r
4932 "id": "88efa0d6.0c1808",
\r
4934 "name": "for each svc-instance relationship",
\r
4935 "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",
\r
4938 "x": 1109.566665649414,
\r
4939 "y": 1191.566665649414,
\r
4940 "z": "25a21122.0e2cfe",
\r
4948 "id": "c2dd1c9b.b3dd48",
\r
4949 "type": "switchNode",
\r
4950 "name": "switch related-to",
\r
4951 "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",
\r
4954 "x": 1344.900161743164,
\r
4955 "y": 1192.566665649414,
\r
4956 "z": "25a21122.0e2cfe",
\r
4964 "id": "e5b1da68.bc54",
\r
4965 "type": "outcome",
\r
4966 "name": "connectivity",
\r
4967 "xml": "<outcome value='connectivity'>\n",
\r
4970 "x": 628.5669097900391,
\r
4971 "y": 1345.566665649414,
\r
4972 "z": "25a21122.0e2cfe",
\r
4980 "id": "68774cff.da4f7c",
\r
4982 "name": "get connectivity from aai",
\r
4983 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",
\r
4986 "x": 1017.5666656494141,
\r
4987 "y": 1350.566665649414,
\r
4988 "z": "25a21122.0e2cfe",
\r
4998 "id": "ae979c86.2af0a",
\r
4999 "type": "success",
\r
5000 "name": "success",
\r
5001 "xml": "<outcome value='success'>\n",
\r
5004 "x": 1213.566665649414,
\r
5005 "y": 1315.566665649414,
\r
5006 "z": "25a21122.0e2cfe",
\r
5014 "id": "c51e116c.9e96e",
\r
5015 "type": "not-found",
\r
5016 "name": "not-found",
\r
5017 "xml": "<outcome value='not-found'>\n",
\r
5020 "x": 1214.057632446289,
\r
5021 "y": 1361.1407012939453,
\r
5022 "z": "25a21122.0e2cfe",
\r
5030 "id": "bc29e653.3cf5f8",
\r
5031 "type": "failure",
\r
5032 "name": "failure",
\r
5033 "xml": "<outcome value='failure'>\n",
\r
5036 "x": 1178.566665649414,
\r
5037 "y": 1406.566665649414,
\r
5038 "z": "25a21122.0e2cfe",
\r
5046 "id": "bf9be58f.d0c428",
\r
5047 "type": "returnFailure",
\r
5048 "name": "return failure",
\r
5049 "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
5051 "x": 1373.629165649414,
\r
5052 "y": 1358.4264068603516,
\r
5053 "z": "25a21122.0e2cfe",
\r
5057 "id": "dd499616.1dbe",
\r
5058 "type": "returnFailure",
\r
5059 "name": "return failure",
\r
5060 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
5062 "x": 1331.566665649414,
\r
5063 "y": 1408.566665649414,
\r
5064 "z": "25a21122.0e2cfe",
\r
5068 "id": "66825a6f.db4e3c",
\r
5069 "type": "switchNode",
\r
5070 "name": "switch loglink-id exists in conn",
\r
5071 "xml": "<switch test='`$tmp.aai.logical-link.link-id == $tmp.aai.connectivity.etht-svc-name`'>\n",
\r
5074 "x": 1606.566665649414,
\r
5075 "y": 1298.566665649414,
\r
5076 "z": "25a21122.0e2cfe",
\r
5085 "id": "85e80e78.a683f",
\r
5086 "type": "outcomeTrue",
\r
5088 "xml": "<outcome value='true'>\n",
\r
5091 "x": 1817.566665649414,
\r
5092 "y": 1263.566665649414,
\r
5093 "z": "25a21122.0e2cfe",
\r
5101 "id": "e9363fe4.4910f8",
\r
5102 "type": "outcomeFalse",
\r
5104 "xml": "<outcome value='false'>\n",
\r
5107 "x": 1814.566665649414,
\r
5108 "y": 1324.566665649414,
\r
5109 "z": "25a21122.0e2cfe",
\r
5115 "id": "a72bfa1e.2c0188",
\r
5117 "name": "set currLinkIsFound",
\r
5118 "xml": "<set>\n<parameter name='currLinkIsFound' value=\"true\" />\n\n\n",
\r
5120 "x": 2155.566665649414,
\r
5121 "y": 1236.566665649414,
\r
5122 "z": "25a21122.0e2cfe",
\r
5126 "id": "ea49207.e144c6",
\r
5128 "name": "block : atomic",
\r
5129 "xml": "<block atomic=\"true\">",
\r
5132 "x": 1969.566665649414,
\r
5133 "y": 1264.566665649414,
\r
5134 "z": "25a21122.0e2cfe",
\r
5142 "id": "77625e01.45cfa",
\r
5145 "xml": "<break>\n",
\r
5147 "x": 2122.566665649414,
\r
5148 "y": 1292.566665649414,
\r
5149 "z": "25a21122.0e2cfe",
\r
5153 "id": "747752c5.edcc6c",
\r
5154 "type": "comment",
\r
5155 "name": "currLinkIsFound. Go to the next logical-link",
\r
5158 "x": 2127.566665649414,
\r
5159 "y": 1186.566665649414,
\r
5160 "z": "25a21122.0e2cfe",
\r
5164 "id": "fc0b0bdf.af57e8",
\r
5165 "type": "switchNode",
\r
5166 "name": "switch currLinkIsFound",
\r
5167 "xml": "<switch test='`$currLinkIsFound`'>\n",
\r
5170 "x": 1409.566665649414,
\r
5171 "y": 916.5666656494141,
\r
5172 "z": "25a21122.0e2cfe",
\r
5181 "id": "ec2c299e.a7094",
\r
5182 "type": "outcomeTrue",
\r
5184 "xml": "<outcome value='true'>\n",
\r
5187 "x": 1595.566665649414,
\r
5188 "y": 895.5666656494141,
\r
5189 "z": "25a21122.0e2cfe",
\r
5197 "id": "12a10d8.78ec073",
\r
5198 "type": "outcomeFalse",
\r
5200 "xml": "<outcome value='false'>\n",
\r
5203 "x": 1592.566665649414,
\r
5204 "y": 1031.566665649414,
\r
5205 "z": "25a21122.0e2cfe",
\r
5213 "id": "43c18e2d.dbbe18",
\r
5215 "name": "block : atomic",
\r
5216 "xml": "<block atomic=\"true\">",
\r
5219 "x": 1837.566665649414,
\r
5220 "y": 890.5666656494141,
\r
5221 "z": "25a21122.0e2cfe",
\r
5227 "id": "6e81ab2b.cd2004",
\r
5228 "type": "comment",
\r
5229 "name": "A new logical-link has been found: modify process should be triggered",
\r
5232 "x": 1783.566665649414,
\r
5233 "y": 994.5666656494141,
\r
5234 "z": "25a21122.0e2cfe",
\r
5238 "id": "323455e1.4146ea",
\r
5240 "name": "block : atomic",
\r
5241 "xml": "<block atomic=\"true\">",
\r
5244 "x": 1377.566665649414,
\r
5245 "y": 1299.566665649414,
\r
5246 "z": "25a21122.0e2cfe",
\r
5249 "66825a6f.db4e3c",
\r
5255 "id": "4b0ae75c.1aab4",
\r
5256 "type": "switchNode",
\r
5257 "name": "switch connectivityBW == gfp",
\r
5258 "xml": "<switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>\n",
\r
5261 "x": 1607.566665649414,
\r
5262 "y": 1389.566665649414,
\r
5263 "z": "25a21122.0e2cfe",
\r
5266 "c8e4becf.570ed8",
\r
5272 "id": "c8e4becf.570ed8",
\r
5273 "type": "outcomeTrue",
\r
5275 "xml": "<outcome value='true'>\n",
\r
5278 "x": 1812.566665649414,
\r
5279 "y": 1385.566665649414,
\r
5280 "z": "25a21122.0e2cfe",
\r
5286 "id": "efb821b0.8f5c8",
\r
5287 "type": "outcomeFalse",
\r
5289 "xml": "<outcome value='false'>\n",
\r
5292 "x": 1814.566665649414,
\r
5293 "y": 1435.566665649414,
\r
5294 "z": "25a21122.0e2cfe",
\r
5302 "id": "fd83a72b.0cf5a8",
\r
5304 "name": "set bwModified",
\r
5305 "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",
\r
5307 "x": 2163.566665649414,
\r
5308 "y": 1413.566665649414,
\r
5309 "z": "25a21122.0e2cfe",
\r
5313 "id": "35c21580.2c9b32",
\r
5315 "name": "block : atomic",
\r
5316 "xml": "<block atomic=\"true\">",
\r
5319 "x": 1968.566665649414,
\r
5320 "y": 1434.566665649414,
\r
5321 "z": "25a21122.0e2cfe",
\r
5324 "fd83a72b.0cf5a8",
\r
5330 "id": "b1b00645.427888",
\r
5332 "name": "for each relationship",
\r
5333 "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",
\r
5336 "x": 988.5666656494141,
\r
5337 "y": 1639.566665649414,
\r
5338 "z": "25a21122.0e2cfe",
\r
5346 "id": "3c4549a7.0d1376",
\r
5347 "type": "switchNode",
\r
5348 "name": "switch related-to",
\r
5349 "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
\r
5352 "x": 1193.566665649414,
\r
5353 "y": 1639.566665649414,
\r
5354 "z": "25a21122.0e2cfe",
\r
5362 "id": "adf26b65.8f90e",
\r
5363 "type": "outcome",
\r
5364 "name": "vpn-binding",
\r
5365 "xml": "<outcome value='vpn-binding'>\n",
\r
5368 "x": 1359.566665649414,
\r
5369 "y": 1639.566665649414,
\r
5370 "z": "25a21122.0e2cfe",
\r
5378 "id": "64e47481.3a26d4",
\r
5380 "name": "block : atomic",
\r
5381 "xml": "<block atomic=\"true\">",
\r
5384 "x": 1522.566665649414,
\r
5385 "y": 1639.566665649414,
\r
5386 "z": "25a21122.0e2cfe",
\r
5389 "6e6ea5ef.8c2224",
\r
5395 "id": "d5aad2e.d2c753",
\r
5397 "name": "unset tmp.aai.vpn-binding",
\r
5398 "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
\r
5400 "x": 1751.566665649414,
\r
5401 "y": 1579.566665649414,
\r
5402 "z": "25a21122.0e2cfe",
\r
5406 "id": "6e6ea5ef.8c2224",
\r
5408 "name": "get vpn-binding from aai",
\r
5409 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
\r
5412 "x": 1260.566665649414,
\r
5413 "y": 1733.566665649414,
\r
5414 "z": "25a21122.0e2cfe",
\r
5418 "7ba4a096.c89f48",
\r
5424 "id": "f88195dd.98254",
\r
5426 "name": "block : atomic",
\r
5427 "xml": "<block atomic=\"true\">",
\r
5430 "x": 1644.566665649414,
\r
5431 "y": 1733.566665649414,
\r
5432 "z": "25a21122.0e2cfe",
\r
5435 "1f6be69e.efcee9",
\r
5441 "id": "8146e5c8.89f0a",
\r
5442 "type": "success",
\r
5443 "name": "success",
\r
5444 "xml": "<outcome value='success'>\n",
\r
5447 "x": 1471.566665649414,
\r
5448 "y": 1735.566665649414,
\r
5449 "z": "25a21122.0e2cfe",
\r
5457 "id": "7ba4a096.c89f48",
\r
5458 "type": "not-found",
\r
5459 "name": "not-found",
\r
5460 "xml": "<outcome value='not-found'>\n",
\r
5463 "x": 1472.057632446289,
\r
5464 "y": 1781.1407012939453,
\r
5465 "z": "25a21122.0e2cfe",
\r
5473 "id": "d58f3b9.ef82248",
\r
5474 "type": "failure",
\r
5475 "name": "failure",
\r
5476 "xml": "<outcome value='failure'>\n",
\r
5479 "x": 1469.566665649414,
\r
5480 "y": 1824.566665649414,
\r
5481 "z": "25a21122.0e2cfe",
\r
5489 "id": "1a1a5ddc.251932",
\r
5490 "type": "returnFailure",
\r
5491 "name": "return failure",
\r
5492 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
5494 "x": 1636.566665649414,
\r
5495 "y": 1841.566665649414,
\r
5496 "z": "25a21122.0e2cfe",
\r
5500 "id": "e8dc9623.1376d8",
\r
5501 "type": "returnFailure",
\r
5502 "name": "return failure",
\r
5503 "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
5505 "x": 1634.6290435791016,
\r
5506 "y": 1781.4264373779297,
\r
5507 "z": "25a21122.0e2cfe",
\r
5511 "id": "fb4c81c8.58ec08",
\r
5513 "name": "block : atomic",
\r
5514 "xml": "<block atomic=\"true\">",
\r
5517 "x": 800.5666656494141,
\r
5518 "y": 1345.566665649414,
\r
5519 "z": "25a21122.0e2cfe",
\r
5522 "68774cff.da4f7c",
\r
5528 "id": "458e84.00aae97c",
\r
5530 "name": "unset tmp.aai.connectivity",
\r
5531 "xml": "<set>\n<parameter name='tmp.aai.connectivity.' value='' />\n",
\r
5533 "x": 1020.5666656494141,
\r
5534 "y": 1293.566665649414,
\r
5535 "z": "25a21122.0e2cfe",
\r
5539 "id": "1f6be69e.efcee9",
\r
5541 "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",
\r
5542 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n",
\r
5545 "x": 1995.066665649414,
\r
5546 "y": 1728.566665649414,
\r
5547 "z": "25a21122.0e2cfe",
\r
5553 "id": "dca75bc1.9206a8",
\r
5555 "name": "update connectivity resource in AAI",
\r
5556 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n",
\r
5559 "x": 1922.066665649414,
\r
5560 "y": 1792.566665649414,
\r
5561 "z": "25a21122.0e2cfe",
\r
5567 "id": "ee7fd236.9ed9a8",
\r
5568 "type": "comment",
\r
5569 "name": "The following two nodes are for PCE",
\r
5572 "x": 2066.566665649414,
\r
5573 "y": 120.56666564941406,
\r
5574 "z": "25a21122.0e2cfe",
\r
5578 "id": "323fc4b1.60fe74",
\r
5579 "type": "get-resource",
\r
5580 "name": "get-resource pnfs-list",
\r
5581 "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
5584 "x": 2026.566665649414,
\r
5585 "y": 164.56666564941406,
\r
5586 "z": "25a21122.0e2cfe",
\r
5592 "id": "8780743f.a296a",
\r
5593 "type": "get-resource",
\r
5594 "name": "get-resource logical-links",
\r
5595 "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
5598 "x": 2039.566665649414,
\r
5599 "y": 209.56666564941406,
\r
5600 "z": "25a21122.0e2cfe",
\r
5606 "id": "afd6fb79.f36b6",
\r
5607 "type": "execute",
\r
5608 "name": "execute printContext",
\r
5609 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",
\r
5612 "x": 4346.566665649414,
\r
5613 "y": 2326.566665649414,
\r
5614 "z": "25a21122.0e2cfe",
\r
5620 "id": "89a7842f.afd83",
\r
5622 "name": "save connectivity resource in AAI",
\r
5623 "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
5626 "x": 5637.566665649414,
\r
5627 "y": 1163.566665649414,
\r
5628 "z": "25a21122.0e2cfe",
\r
5634 "id": "1a397526.128d93",
\r
5636 "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-find-maximum-used-tpn",
\r
5637 "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",
\r
5640 "x": 4535.566665649414,
\r
5641 "y": 2398.566665649414,
\r
5642 "z": "25a21122.0e2cfe",
\r