3 "id": "4eba0592.d8f9ec",
7 "x": 171.88333129882812,
17 "id": "2ad94242.d34e8e",
18 "type": "service-logic",
19 "name": "GENERIC-RESOURCE-API ${project.version}",
20 "module": "GENERIC-RESOURCE-API",
21 "version": "${project.version}",
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}'>",
25 "x": 456.1690216064453,
26 "y": 235.23810863494873,
27 "z": "d1eceead.adafe",
35 "id": "86bffa6e.8633f8",
37 "name": "method cll-vnf-topology-operation-cll-delete",
38 "xml": "<method rpc='cll-vnf-topology-operation-cll-delete' mode='sync'>\n",
41 "x": 462.3119354248047,
42 "y": 320.0000305175781,
43 "z": "d1eceead.adafe",
51 "id": "47cd43dd.6a0c84",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 811.8833312988281,
59 "z": "d1eceead.adafe",
69 "id": "17095ff1.ceb8e",
70 "type": "returnSuccess",
71 "name": "return success",
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",
74 "x": 1113.2168273925781,
75 "y": 649.9302978515625,
76 "z": "d1eceead.adafe",
80 "id": "f2cac95d.2dd4f",
82 "name": "get service-instance from aai",
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\">-->",
86 "x": 1134.6452941894531,
87 "y": 352.33331298828125,
88 "z": "d1eceead.adafe",
98 "id": "d39ef031.51bcf8",
101 "xml": "<outcome value='success'>\n",
104 "x": 1359.6452941894531,
105 "y": 210.33331298828125,
106 "z": "d1eceead.adafe",
114 "id": "d0a14c94.f617f8",
117 "xml": "<outcome value='not-found'>\n",
120 "x": 1355.1362609863281,
121 "y": 279.9073486328125,
122 "z": "d1eceead.adafe",
130 "id": "66ff38b5.215e28",
133 "xml": "<outcome value='failure'>\n",
136 "x": 1343.6452941894531,
137 "y": 326.33331298828125,
138 "z": "d1eceead.adafe",
146 "id": "dcc088f.fb3b378",
148 "name": "new for TransportSlicing",
151 "x": 1113.6452941894531,
152 "y": 240.33331298828125,
153 "z": "d1eceead.adafe",
157 "id": "41a5db6f.16b124",
159 "name": "execute properties",
160 "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' />",
163 "x": 1101.6452941894531,
164 "y": 292.33331298828125,
165 "z": "d1eceead.adafe",
171 "id": "6bec9327.9503c4",
172 "type": "switchNode",
173 "name": "switch allotted-resources_length != 0",
174 "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",
177 "x": 1599.8833312988281,
179 "z": "d1eceead.adafe",
188 "id": "73227915.55ca3",
189 "type": "returnFailure",
190 "name": "return failure",
191 "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",
193 "x": 1509.9457092285156,
194 "y": 282.8597717285156,
195 "z": "d1eceead.adafe",
199 "id": "5c121a7a.2c527c",
200 "type": "returnFailure",
201 "name": "return failure",
202 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
204 "x": 1513.8833312988281,
206 "z": "d1eceead.adafe",
210 "id": "52c7d728.b872f8",
211 "type": "outcomeTrue",
213 "xml": "<outcome value='true'>\n",
216 "x": 1804.8833312988281,
218 "z": "d1eceead.adafe",
226 "id": "31624b25.4a6dec",
227 "type": "outcomeFalse",
229 "xml": "<outcome value='false'>\n",
232 "x": 1814.8833312988281,
234 "z": "d1eceead.adafe",
240 "id": "b08352cf.6ac34",
247 "x": 1797.8833312988281,
249 "z": "d1eceead.adafe",
261 "id": "50e447ae.0fde38",
263 "name": "get allotted-resource from aai",
264 "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",
267 "x": 2283.883331298828,
269 "z": "d1eceead.adafe",
279 "id": "27d61e5e.f12fe2",
282 "xml": "<outcome value='success'>\n",
285 "x": 2499.883331298828,
287 "z": "d1eceead.adafe",
295 "id": "2c908c8d.59c394",
298 "xml": "<outcome value='not-found'>\n",
301 "x": 2500.374298095703,
302 "y": 336.573974609375,
303 "z": "d1eceead.adafe",
311 "id": "32fadd2c.e0a1c2",
314 "xml": "<outcome value='failure'>\n",
317 "x": 2495.883331298828,
319 "z": "d1eceead.adafe",
327 "id": "bdd428b9.6fddd",
329 "name": "for each allotted-resource",
330 "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",
333 "x": 2000.8833312988281,
335 "z": "d1eceead.adafe",
346 "id": "7043f926.26b93",
348 "name": "set the current allotted-resource-id",
349 "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",
351 "x": 2280.883331298828,
353 "z": "d1eceead.adafe",
357 "id": "6d42412e.61e8d",
359 "name": "set tmp.arr",
360 "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",
362 "x": 1974.8833312988281,
364 "z": "d1eceead.adafe",
368 "id": "8710bcb7.6e657",
369 "type": "get-resource",
370 "name": "get-resource pnfs-list",
371 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",
374 "x": 2017.8833312988281,
376 "z": "d1eceead.adafe",
382 "id": "6f728611.a8a3e",
383 "type": "get-resource",
384 "name": "get-resource logical-links",
385 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v24/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",
388 "x": 2029.8833312988281,
390 "z": "d1eceead.adafe",
396 "id": "8a5a98d5.6ebb1",
398 "name": "The following two nodes are for PCE",
401 "x": 2054.883331298828,
403 "z": "d1eceead.adafe",
407 "id": "2303563c.e9131a",
409 "name": "set tmp.arr",
410 "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",
412 "x": 1974.8833312988281,
414 "z": "d1eceead.adafe",
418 "id": "6fdcac69.b07bec",
419 "type": "returnFailure",
420 "name": "return failure",
421 "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",
423 "x": 2678.883331298828,
425 "z": "d1eceead.adafe",
429 "id": "71176ed6.70694",
430 "type": "returnFailure",
431 "name": "return failure",
432 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
434 "x": 2678.820831298828,
435 "y": 388.1402587890625,
436 "z": "d1eceead.adafe",
440 "id": "4e35bc34.a92d94",
442 "name": "block : atomic",
443 "xml": "<block atomic=\"true\">",
446 "x": 2680.820831298828,
447 "y": 439.1402587890625,
448 "z": "d1eceead.adafe",
456 "id": "6a0085f3.85f3dc",
458 "name": "get allotted-resource relationship from aai",
459 "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",
462 "x": 2973.820831298828,
463 "y": 386.1402587890625,
464 "z": "d1eceead.adafe",
474 "id": "41231d4a.3c5914",
477 "xml": "<outcome value='not-found'>\n",
480 "x": 3247.311798095703,
481 "y": 278.7142333984375,
482 "z": "d1eceead.adafe",
490 "id": "ddcd6972.1cc26",
491 "type": "returnFailure",
492 "name": "return failure",
493 "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",
495 "x": 3424.883331298828,
497 "z": "d1eceead.adafe",
501 "id": "413cb45a.a52f94",
504 "xml": "<outcome value='failure'>\n",
507 "x": 3242.820831298828,
508 "y": 328.1402587890625,
509 "z": "d1eceead.adafe",
517 "id": "29789682.9a5ca2",
518 "type": "returnFailure",
519 "name": "return failure",
520 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
522 "x": 3424.820831298828,
523 "y": 328.1402587890625,
524 "z": "d1eceead.adafe",
528 "id": "47170bd3.47cd24",
531 "xml": "<outcome value='success'>\n",
534 "x": 3246.820831298828,
535 "y": 379.1402587890625,
536 "z": "d1eceead.adafe",
544 "id": "5d602163.27f0b",
546 "name": "block : atomic",
547 "xml": "<block atomic=\"true\">",
550 "x": 3426.820831298828,
551 "y": 379.1402587890625,
552 "z": "d1eceead.adafe",
560 "id": "dd9e7161.bb7c",
561 "type": "switchNode",
562 "name": "switch allotted-resource.relationship-list not empty",
563 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",
566 "x": 2992.883331298828,
568 "z": "d1eceead.adafe",
577 "id": "117d3c85.14baf3",
578 "type": "outcomeFalse",
580 "xml": "<outcome value='false'>\n",
583 "x": 3302.883331298828,
585 "z": "d1eceead.adafe",
591 "id": "e567be5f.46cf",
592 "type": "outcomeTrue",
594 "xml": "<outcome value='true'>\n",
597 "x": 3301.883331298828,
599 "z": "d1eceead.adafe",
607 "id": "16e58d5c.45543b",
609 "name": "network-policy",
610 "xml": "<outcome value='network-policy'>\n",
613 "x": 4046.883331298828,
615 "z": "d1eceead.adafe",
623 "id": "e0a75ebb.a4e0a",
625 "name": "block : atomic",
626 "xml": "<block atomic=\"true\">",
629 "x": 4223.883209228516,
630 "y": 521.9998779296875,
631 "z": "d1eceead.adafe",
640 "id": "1aa53c9a.ee4c73",
642 "name": "block : atomic",
643 "xml": "<block atomic=\"true\">",
646 "x": 3465.883331298828,
648 "z": "d1eceead.adafe",
657 "id": "9d9386aa.4ba0f",
659 "name": "for each allotted-resource relationship",
660 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
663 "x": 3746.883331298828,
665 "z": "d1eceead.adafe",
673 "id": "ac9ffe20.350ab8",
674 "type": "switchNode",
675 "name": "switch related-to",
676 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
679 "x": 4008.883331298828,
681 "z": "d1eceead.adafe",
689 "id": "64783b1d.9ea984",
691 "name": "set the 1st network-policy-id",
692 "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",
694 "x": 4466.883209228516,
695 "y": 478.9998779296875,
696 "z": "d1eceead.adafe",
700 "id": "aa6dd372.e093d",
702 "name": "get network-policy from aai",
703 "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\">",
706 "x": 4455.883209228516,
707 "y": 533.9998779296875,
708 "z": "d1eceead.adafe",
718 "id": "b8928013.256998",
721 "xml": "<outcome value='not-found'>\n",
724 "x": 4708.883331298828,
726 "z": "d1eceead.adafe",
734 "id": "83be4f6.3f006b",
735 "type": "returnFailure",
736 "name": "return failure",
737 "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",
739 "x": 4857.454864501953,
740 "y": 420.2857666015625,
741 "z": "d1eceead.adafe",
745 "id": "586d6db7.c2d804",
746 "type": "returnFailure",
747 "name": "return failure",
748 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
750 "x": 4856.392364501953,
751 "y": 464.426025390625,
752 "z": "d1eceead.adafe",
756 "id": "c6a2ea9c.683df",
759 "xml": "<outcome value='failure'>\n",
762 "x": 4697.392364501953,
763 "y": 464.426025390625,
764 "z": "d1eceead.adafe",
772 "id": "a2aec981.c05928",
775 "xml": "<outcome value='success'>\n",
778 "x": 4704.392364501953,
779 "y": 543.426025390625,
780 "z": "d1eceead.adafe",
788 "id": "4d4b39ee.fece78",
795 "x": 4843.392364501953,
796 "y": 543.426025390625,
797 "z": "d1eceead.adafe",
806 "id": "68714312.362fe4",
808 "name": "set the max bandwidth",
809 "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",
811 "x": 5048.883331298828,
813 "z": "d1eceead.adafe",
817 "id": "860808d4.582b4",
819 "name": "set the max bandwidth",
820 "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
822 "x": 5047.883331298828,
824 "z": "d1eceead.adafe",
828 "id": "a5c7d0d0.70a6f8",
830 "name": "for each allotted-resource relationship",
831 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
834 "x": 3563.883331298828,
836 "z": "d1eceead.adafe",
844 "id": "91204981.e8b1c8",
845 "type": "switchNode",
846 "name": "switch related-to",
847 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
850 "x": 3843.883331298828,
852 "z": "d1eceead.adafe",
860 "id": "815c7496.5664a8",
862 "name": "logical-link",
863 "xml": "<outcome value='logical-link'>\n",
866 "x": 2256.8834533691406,
867 "y": 826.0001220703125,
868 "z": "d1eceead.adafe",
876 "id": "2e1a5e6a.390622",
878 "name": "block : atomic",
879 "xml": "<block atomic=\"true\">",
882 "x": 2433.883331298828,
884 "z": "d1eceead.adafe",
893 "id": "fda12a63.354948",
895 "name": "set the current logical-link-name",
896 "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",
898 "x": 2676.883331298828,
900 "z": "d1eceead.adafe",
904 "id": "9acb494f.3c831",
906 "name": "get logical-link from aai",
907 "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\">",
910 "x": 2665.883331298828,
912 "z": "d1eceead.adafe",
922 "id": "2cf3e7af.84ed7",
925 "xml": "<outcome value='not-found'>\n",
928 "x": 2957.374298095703,
929 "y": 809.573974609375,
930 "z": "d1eceead.adafe",
938 "id": "7720ff91.14ecb8",
941 "xml": "<outcome value='failure'>\n",
944 "x": 2945.883331298828,
946 "z": "d1eceead.adafe",
954 "id": "644aada5.da5074",
955 "type": "returnFailure",
956 "name": "return failure",
957 "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",
959 "x": 3105.945831298828,
960 "y": 809.8597412109375,
961 "z": "d1eceead.adafe",
965 "id": "b4b18b88.8b8778",
966 "type": "returnFailure",
967 "name": "return failure",
968 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
970 "x": 3104.883331298828,
972 "z": "d1eceead.adafe",
976 "id": "6208751c.cb4214",
979 "xml": "<outcome value='success'>\n",
982 "x": 2952.883331298828,
984 "z": "d1eceead.adafe",
992 "id": "f4a1f138.8436a",
999 "x": 3091.883331298828,
1001 "z": "d1eceead.adafe",
1023 "id": "fe79d8e9.168438",
1025 "name": "execute UUID generator for ethernet-service-name",
1026 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",
1029 "x": 3405.883331298828,
1031 "z": "d1eceead.adafe",
1037 "id": "64b776d1.df13b8",
1039 "name": "execute UUID generator for otn-tunnel-name",
1040 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",
1043 "x": 3386.883331298828,
1045 "z": "d1eceead.adafe",
1051 "id": "dc895d5a.f09ef",
1053 "name": "set new ethernet-service-name",
1054 "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",
1056 "x": 3343.883331298828,
1058 "z": "d1eceead.adafe",
1062 "id": "cf58d1a3.b75bc8",
1064 "name": "set network-route-one",
1065 "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",
1067 "x": 3318.883331298828,
1069 "z": "d1eceead.adafe",
1073 "id": "a4d7ff96.ceb5f8",
1075 "name": "set network-route-two",
1076 "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",
1078 "x": 3319.883331298828,
1080 "z": "d1eceead.adafe",
1084 "id": "4f57fa4.5908a84",
1086 "name": "get network-route-one from aai",
1087 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",
1090 "x": 3335.883331298828,
1092 "z": "d1eceead.adafe",
1102 "id": "93281de6.9193c8",
1104 "name": "get network-route-two from aai",
1105 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",
1108 "x": 3324.883331298828,
1109 "y": 1086.9998779296875,
1110 "z": "d1eceead.adafe",
1120 "id": "722a434e.2a3adc",
1121 "type": "not-found",
1122 "name": "not-found",
1123 "xml": "<outcome value='not-found'>\n",
1126 "x": 3536.883331298828,
1128 "z": "d1eceead.adafe",
1136 "id": "e8fe3cd4.c3586",
1139 "xml": "<outcome value='failure'>\n",
1142 "x": 3532.392364501953,
1143 "y": 933.426025390625,
1144 "z": "d1eceead.adafe",
1152 "id": "fdbfe007.1ea3b",
1155 "xml": "<outcome value='success'>\n",
1158 "x": 3536.392364501953,
1159 "y": 986.426025390625,
1160 "z": "d1eceead.adafe",
1168 "id": "aae0d761.ec3158",
1169 "type": "returnFailure",
1170 "name": "return failure",
1171 "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",
1173 "x": 3685.454864501953,
1174 "y": 883.2857666015625,
1175 "z": "d1eceead.adafe",
1179 "id": "af62b91c.6bf638",
1180 "type": "returnFailure",
1181 "name": "return failure",
1182 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
1184 "x": 3675.392364501953,
1185 "y": 933.426025390625,
1186 "z": "d1eceead.adafe",
1190 "id": "b372ac3d.0a4b1",
1191 "type": "not-found",
1192 "name": "not-found",
1193 "xml": "<outcome value='not-found'>\n",
1196 "x": 3547.883331298828,
1197 "y": 1056.9998779296875,
1198 "z": "d1eceead.adafe",
1206 "id": "d24aa16b.e47da",
1209 "xml": "<outcome value='failure'>\n",
1212 "x": 3543.392364501953,
1213 "y": 1106.4259033203125,
1214 "z": "d1eceead.adafe",
1222 "id": "419032bc.a4963c",
1225 "xml": "<outcome value='success'>\n",
1228 "x": 3544.392364501953,
1229 "y": 1159.4259033203125,
1230 "z": "d1eceead.adafe",
1238 "id": "3bdfccb0.f2d08c",
1239 "type": "returnFailure",
1240 "name": "return failure",
1241 "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",
1243 "x": 3696.454864501953,
1244 "y": 1056.28564453125,
1245 "z": "d1eceead.adafe",
1249 "id": "57f2def1.81f4e",
1250 "type": "returnFailure",
1251 "name": "return failure",
1252 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
1254 "x": 3686.392364501953,
1255 "y": 1106.4259033203125,
1256 "z": "d1eceead.adafe",
1260 "id": "72360610.10f7e",
1262 "name": "block : atomic",
1263 "xml": "<block atomic=\"true\">",
1266 "x": 3697.883331298828,
1268 "z": "d1eceead.adafe",
1276 "id": "91fe26d2.5b80d",
1278 "name": "block : atomic",
1279 "xml": "<block atomic=\"true\">",
1282 "x": 3697.883331298828,
1283 "y": 1158.9998779296875,
1284 "z": "d1eceead.adafe",
1292 "id": "21ff581a.7d3f68",
1293 "type": "switchNode",
1294 "name": "switch nr type",
1295 "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",
1298 "x": 3869.883331298828,
1300 "z": "d1eceead.adafe",
1309 "id": "f4949055.0aa838",
1310 "type": "switchNode",
1311 "name": "switch nr type",
1312 "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",
1315 "x": 3870.883331298828,
1317 "z": "d1eceead.adafe",
1326 "id": "d771576e.5459b",
1329 "xml": "<outcome value='ROOT'>\n",
1332 "x": 4045.883331298828,
1334 "z": "d1eceead.adafe",
1342 "id": "743ce77.86c2e98",
1345 "xml": "<outcome value='LEAF'>\n",
1348 "x": 4047.883331298828,
1350 "z": "d1eceead.adafe",
1358 "id": "854204ac.64311",
1361 "xml": "<outcome value='ROOT'>\n",
1364 "x": 4046.883331298828,
1366 "z": "d1eceead.adafe",
1374 "id": "5401ccd6.c2c2e4",
1377 "xml": "<outcome value='LEAF'>\n",
1380 "x": 4048.883331298828,
1382 "z": "d1eceead.adafe",
1390 "id": "20ddeea0.a0e9ea",
1392 "name": "set network-route-ROOT",
1393 "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",
1395 "x": 4355.883331298828,
1397 "z": "d1eceead.adafe",
1401 "id": "a4916484.b95cf",
1403 "name": "set network-route-LEAF",
1404 "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",
1406 "x": 4348.883331298828,
1408 "z": "d1eceead.adafe",
1412 "id": "2f347429.e690cc",
1414 "name": "set network-route-ROOT",
1415 "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
1417 "x": 4348.883331298828,
1419 "z": "d1eceead.adafe",
1423 "id": "cad2e783.60fc68",
1425 "name": "set network-route-LEAF",
1426 "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
1428 "x": 4352.883331298828,
1430 "z": "d1eceead.adafe",
1434 "id": "b1d86e33.3aa378",
1437 "xml": "<outcome value='success'>\n",
1440 "x": 3579.883331298828,
1442 "z": "d1eceead.adafe",
1450 "id": "a4982a5c.ee1f08",
1451 "type": "not-found",
1452 "name": "not-found",
1453 "xml": "<outcome value='not-found'>\n",
1456 "x": 3589.374298095703,
1457 "y": 1646.5740356445312,
1458 "z": "d1eceead.adafe",
1466 "id": "9afba595.5831a",
1469 "xml": "<outcome value='failure'>\n",
1472 "x": 3577.883331298828,
1474 "z": "d1eceead.adafe",
1482 "id": "a9f44662.0eb94",
1484 "name": "Question?",
1485 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
1487 "x": 3279.883331298828,
1489 "z": "d1eceead.adafe",
1493 "id": "2fd6be0.ec30642",
1495 "name": "get p-interface-src from aai",
1496 "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",
1499 "x": 3322.883331298828,
1501 "z": "d1eceead.adafe",
1511 "id": "279a0c66.95b87c",
1513 "name": "execute split tp-id to get pnf-name",
1514 "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",
1517 "x": 3323.883331298828,
1519 "z": "d1eceead.adafe",
1528 "id": "178d0fab.57c17",
1531 "xml": "<outcome value='success'>\n",
1534 "x": 3546.883331298828,
1536 "z": "d1eceead.adafe",
1544 "id": "ab7f6387.a06298",
1547 "xml": "<outcome value='failure'>\n",
1550 "x": 3548.883331298828,
1552 "z": "d1eceead.adafe",
1560 "id": "a5f9a85c.99ac48",
1562 "name": "block : atomic",
1563 "xml": "<block atomic=\"true\">",
1566 "x": 3752.549835205078,
1568 "z": "d1eceead.adafe",
1577 "id": "bbb83480.f4afb8",
1578 "type": "returnFailure",
1579 "name": "return failure",
1580 "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",
1582 "x": 3742.9457092285156,
1583 "y": 1649.8597717285156,
1584 "z": "d1eceead.adafe",
1588 "id": "eeac5d42.037ff",
1589 "type": "returnFailure",
1590 "name": "return failure",
1591 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
1593 "x": 3746.883331298828,
1595 "z": "d1eceead.adafe",
1599 "id": "f0dfffc5.29d178",
1601 "name": "execute split tp-id to get pnf-name",
1602 "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",
1605 "x": 4016.883331298828,
1607 "z": "d1eceead.adafe",
1616 "id": "23d1e1ad.23f75e",
1619 "xml": "<outcome value='success'>\n",
1622 "x": 4239.883331298828,
1624 "z": "d1eceead.adafe",
1632 "id": "11bdf0f4.508487",
1635 "xml": "<outcome value='failure'>\n",
1638 "x": 4241.883331298828,
1640 "z": "d1eceead.adafe",
1648 "id": "d6cac3a3.d1f4",
1649 "type": "returnFailure",
1650 "name": "return failure",
1651 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1653 "x": 4403.883331298828,
1655 "z": "d1eceead.adafe",
1659 "id": "3fc7a366.f1683c",
1661 "name": "block : atomic",
1662 "xml": "<block atomic=\"true\">",
1665 "x": 4404.883331298828,
1667 "z": "d1eceead.adafe",
1676 "id": "17e0fd07.b5de8b",
1678 "name": "save connectivity resource in AAI",
1679 "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",
1682 "x": 4018.883331298828,
1684 "z": "d1eceead.adafe",
1690 "id": "f1afd056.64d73",
1692 "name": "execute UUID generator for connectivity domainA",
1693 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",
1696 "x": 4063.883331298828,
1698 "z": "d1eceead.adafe",
1704 "id": "50d51c8c.dc95ac",
1706 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
1707 "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`\" />-->",
1710 "x": 4146.883331298828,
1712 "z": "d1eceead.adafe",
1718 "id": "109222da.cab295",
1719 "type": "returnFailure",
1720 "name": "return failure",
1721 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1723 "x": 3691.883331298828,
1725 "z": "d1eceead.adafe",
1729 "id": "174b650f.6f4cdb",
1731 "name": "block : atomic",
1732 "xml": "<block atomic=\"true\">",
1735 "x": 3694.883331298828,
1737 "z": "d1eceead.adafe",
1746 "id": "6b9c6245.ea050c",
1748 "name": "set pnf-name",
1749 "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",
1751 "x": 3868.883331298828,
1753 "z": "d1eceead.adafe",
1757 "id": "acd2704e.4ae308",
1759 "name": "for each relationship",
1760 "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",
1763 "x": 3970.883331298828,
1765 "z": "d1eceead.adafe",
1773 "id": "73a0105b.ac0e58",
1774 "type": "switchNode",
1775 "name": "switch related-to",
1776 "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",
1779 "x": 4176.883331298828,
1781 "z": "d1eceead.adafe",
1789 "id": "6dbfb157.d8359",
1791 "name": "tunnel-termination-point",
1792 "xml": "<outcome value='tunnel-termination-point'>\n",
1795 "x": 4392.168975830078,
1796 "y": 1870.82177734375,
1797 "z": "d1eceead.adafe",
1805 "id": "ab33cb14.ff6cc8",
1806 "type": "get-resource",
1807 "name": "get-resource src pnf",
1808 "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",
1811 "x": 3883.883331298828,
1813 "z": "d1eceead.adafe",
1823 "id": "e7bde0a4.3a223",
1826 "xml": "<outcome value='success'>\n",
1829 "x": 4079.3834533691406,
1831 "z": "d1eceead.adafe",
1839 "id": "856b3a3e.33dd18",
1840 "type": "not-found",
1841 "name": "not-found",
1842 "xml": "<outcome value='not-found'>\n",
1845 "x": 4071.3834533691406,
1847 "z": "d1eceead.adafe",
1855 "id": "ec1837c2.7e65e8",
1858 "xml": "<outcome value='Other'>\n",
1861 "x": 4076.3834533691406,
1863 "z": "d1eceead.adafe",
1871 "id": "47e459e1.2a9ce",
1872 "type": "returnFailure",
1873 "name": "return failure",
1874 "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",
1876 "x": 4228.383453369141,
1878 "z": "d1eceead.adafe",
1882 "id": "f843f7f2.8c64b8",
1883 "type": "returnFailure",
1884 "name": "return failure",
1885 "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",
1887 "x": 4239.383453369141,
1889 "z": "d1eceead.adafe",
1893 "id": "a049038b.508d4",
1900 "x": 4223.765777587891,
1901 "y": 1296.6556701660156,
1902 "z": "d1eceead.adafe",
1910 "id": "b2d1999f.753708",
1912 "name": "for each relationship",
1913 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
1916 "x": 4407.883331298828,
1918 "z": "d1eceead.adafe",
1926 "id": "cc99bc89.a9c058",
1928 "name": "set ltpId",
1929 "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",
1931 "x": 4574.883331298828,
1933 "z": "d1eceead.adafe",
1937 "id": "d54289dc.18d288",
1939 "name": "set pnf-name",
1940 "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",
1942 "x": 4575.883331298828,
1944 "z": "d1eceead.adafe",
1948 "id": "46e18359.07aad4",
1950 "name": "TODO: FIXME",
1951 "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",
1953 "x": 4576.883331298828,
1955 "z": "d1eceead.adafe",
1959 "id": "616def67.e5a25",
1961 "name": "block : atomic",
1962 "xml": "<block atomic=\"true\">",
1965 "x": 4599.000518798828,
1966 "y": 1871.34033203125,
1967 "z": "d1eceead.adafe",
1977 "id": "6d0c5fcb.438328",
1979 "name": "set source ttp-id",
1980 "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",
1982 "x": 4814.000518798828,
1983 "y": 1833.34033203125,
1984 "z": "d1eceead.adafe",
1988 "id": "40a1c35d.17991c",
1989 "type": "get-resource",
1990 "name": "get-resource src TTP",
1991 "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",
1994 "x": 4811.000518798828,
1995 "y": 1872.34033203125,
1996 "z": "d1eceead.adafe",
2004 "id": "6c800e67.6aa9c8",
2009 "x": 4766.500518798828,
2010 "y": 1914.34033203125,
2011 "z": "d1eceead.adafe",
2015 "id": "9de28790.cf8c7",
2018 "xml": "<outcome value='success'>\n",
2021 "x": 4991.500518798828,
2022 "y": 1871.34033203125,
2023 "z": "d1eceead.adafe",
2031 "id": "376d58a4.adb2a",
2033 "name": "esr-thirdparty-sdnc",
2034 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
2037 "x": 4805.883331298828,
2039 "z": "d1eceead.adafe",
2047 "id": "60247fbe.4b6c2",
2049 "name": "block : atomic",
2050 "xml": "<block atomic=\"true\">",
2053 "x": 4982.883331298828,
2055 "z": "d1eceead.adafe",
2064 "id": "9b22416d.9cdac8",
2065 "type": "switchNode",
2066 "name": "switch related-to",
2067 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
2070 "x": 4602.883331298828,
2072 "z": "d1eceead.adafe",
2081 "id": "59d37917.573538",
2083 "name": "network-resource",
2084 "xml": "<outcome value='network-resource'>",
2087 "x": 4808.883331298828,
2089 "z": "d1eceead.adafe",
2097 "id": "b8751b8b.fb4f58",
2099 "name": "block : atomic",
2100 "xml": "<block atomic=\"true\">",
2103 "x": 4985.883331298828,
2105 "z": "d1eceead.adafe",
2113 "id": "e5173d49.fc3368",
2115 "name": "block : atomic",
2116 "xml": "<block atomic=\"true\">",
2119 "x": 5149.500518798828,
2120 "y": 1871.34033203125,
2121 "z": "d1eceead.adafe",
2129 "id": "e816a090.0c423",
2131 "name": "set source tunnel tp ip",
2132 "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",
2134 "x": 5356.500518798828,
2135 "y": 1871.34033203125,
2136 "z": "d1eceead.adafe",
2140 "id": "65b48891.d54c3",
2142 "name": "get esr-thirdparty-sdnc",
2143 "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' >",
2146 "x": 5190.883331298828,
2148 "z": "d1eceead.adafe",
2158 "id": "4270b940.4f6ac",
2160 "name": "set esr-thirdparty-sdnc domainA id",
2161 "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",
2163 "x": 5220.883331298828,
2165 "z": "d1eceead.adafe",
2169 "id": "12ca2f18.a3fcb1",
2172 "xml": "<outcome value='success'>\n",
2175 "x": 5400.883331298828,
2177 "z": "d1eceead.adafe",
2185 "id": "2eff6a6f.1256be",
2186 "type": "not-found",
2187 "name": "not-found",
2188 "xml": "<outcome value='not-found'>\n",
2191 "x": 5392.883331298828,
2193 "z": "d1eceead.adafe",
2201 "id": "ae932fb7.b2f368",
2204 "xml": "<outcome value='Other'>\n",
2207 "x": 5397.883331298828,
2209 "z": "d1eceead.adafe",
2217 "id": "abcfe080.ae7e7",
2218 "type": "returnFailure",
2219 "name": "return failure",
2220 "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",
2222 "x": 5549.883331298828,
2224 "z": "d1eceead.adafe",
2228 "id": "5900b30a.9db0cc",
2229 "type": "returnFailure",
2230 "name": "return failure",
2231 "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",
2233 "x": 5560.883331298828,
2235 "z": "d1eceead.adafe",
2239 "id": "19df6125.66c90f",
2246 "x": 5545.265655517578,
2247 "y": 1302.6556701660156,
2248 "z": "d1eceead.adafe",
2256 "id": "673e159e.9038cc",
2258 "name": "set domainA ethernet layer network-id",
2259 "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",
2261 "x": 5220.883331298828,
2263 "z": "d1eceead.adafe",
2267 "id": "db94bf6b.c81da8",
2269 "name": "set controller domainA data",
2270 "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",
2272 "x": 5759.883331298828,
2274 "z": "d1eceead.adafe",
2278 "id": "653ea460.331594",
2280 "name": "set network-route-B",
2281 "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",
2283 "x": 4343.883331298828,
2285 "z": "d1eceead.adafe",
2289 "id": "3ff377ce.541508",
2291 "name": "set network-route-A",
2292 "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",
2294 "x": 4334.883331298828,
2296 "z": "d1eceead.adafe",
2300 "id": "2e04d27d.5faff6",
2307 "x": 4168.883331298828,
2309 "z": "d1eceead.adafe",
2318 "id": "12c64a9b.27d615",
2325 "x": 4174.883331298828,
2327 "z": "d1eceead.adafe",
2336 "id": "a8347389.2ab3b",
2343 "x": 4174.883331298828,
2345 "z": "d1eceead.adafe",
2354 "id": "49b6f3ad.a55ac4",
2361 "x": 4177.883331298828,
2363 "z": "d1eceead.adafe",
2372 "id": "64f47a9a.5541ec",
2374 "name": "set network-route-B",
2375 "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
2377 "x": 4334.883331298828,
2379 "z": "d1eceead.adafe",
2383 "id": "93b1477b.b7ce28",
2385 "name": "set network-route-A",
2386 "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
2388 "x": 4337.883331298828,
2390 "z": "d1eceead.adafe",
2394 "id": "bcceae66.215ea8",
2396 "name": "block : atomic",
2397 "xml": "<block atomic=\"true\">",
2400 "x": 3709.883331298828,
2402 "z": "d1eceead.adafe",
2411 "id": "e6e2e92d.d49f8",
2414 "xml": "<outcome value='success'>\n",
2417 "x": 3537.216827392578,
2419 "z": "d1eceead.adafe",
2427 "id": "15d49e8e.f5c6d1",
2428 "type": "not-found",
2429 "name": "not-found",
2430 "xml": "<outcome value='not-found'>\n",
2433 "x": 3546.707794189453,
2434 "y": 2486.5740356445312,
2435 "z": "d1eceead.adafe",
2443 "id": "456db0bd.6c4e5",
2446 "xml": "<outcome value='failure'>\n",
2449 "x": 3535.216827392578,
2451 "z": "d1eceead.adafe",
2459 "id": "b6575c89.a4dbd8",
2460 "type": "returnFailure",
2461 "name": "return failure",
2462 "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",
2464 "x": 3700.2792053222656,
2465 "y": 2489.8597717285156,
2466 "z": "d1eceead.adafe",
2470 "id": "f1a4c78.c749938",
2471 "type": "returnFailure",
2472 "name": "return failure",
2473 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
2475 "x": 3704.216827392578,
2477 "z": "d1eceead.adafe",
2481 "id": "fa55cad.2f0ddb8",
2483 "name": "execute split tp-id to get pnf-name",
2484 "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",
2487 "x": 3996.216827392578,
2488 "y": 2447.0001220703125,
2489 "z": "d1eceead.adafe",
2498 "id": "a4fedadd.ffdcf",
2501 "xml": "<outcome value='success'>\n",
2504 "x": 4219.216827392578,
2505 "y": 2402.0001220703125,
2506 "z": "d1eceead.adafe",
2514 "id": "2a55ff3d.a63f58",
2517 "xml": "<outcome value='failure'>\n",
2520 "x": 4221.216827392578,
2521 "y": 2466.0001220703125,
2522 "z": "d1eceead.adafe",
2530 "id": "f4cfd006.4df4a",
2531 "type": "returnFailure",
2532 "name": "return failure",
2533 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
2535 "x": 4380.216827392578,
2536 "y": 2485.0001220703125,
2537 "z": "d1eceead.adafe",
2541 "id": "2cf5b91c.330536",
2543 "name": "block : atomic",
2544 "xml": "<block atomic=\"true\">",
2547 "x": 4384.216827392578,
2548 "y": 2399.0001220703125,
2549 "z": "d1eceead.adafe",
2558 "id": "3e3a2fcb.29b168",
2560 "name": "save connectivity resource in AAI",
2561 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
2564 "x": 3998.216827392578,
2565 "y": 2606.0001220703125,
2566 "z": "d1eceead.adafe",
2572 "id": "a24d2064.f8a7c",
2574 "name": "execute UUID generator for connectivity domainB",
2575 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",
2578 "x": 4043.216827392578,
2579 "y": 2516.0001220703125,
2580 "z": "d1eceead.adafe",
2586 "id": "7f1c08c8.8cc28",
2588 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
2589 "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`\" />-->",
2592 "x": 4125.216827392578,
2593 "y": 2671.0001220703125,
2594 "z": "d1eceead.adafe",
2600 "id": "b114579a.337d4",
2602 "name": "get p-interface-dst from aai",
2603 "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",
2606 "x": 3309.216827392578,
2608 "z": "d1eceead.adafe",
2618 "id": "8e0a6f3b.01feb",
2620 "name": "Question?",
2621 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
2623 "x": 3270.216827392578,
2625 "z": "d1eceead.adafe",
2629 "id": "3458f9fd.a9fdce",
2631 "name": "execute split tp-id to get pnf-name",
2632 "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",
2635 "x": 3327.216827392578,
2636 "y": 2141.9998779296875,
2637 "z": "d1eceead.adafe",
2646 "id": "40db2833.3d6058",
2649 "xml": "<outcome value='success'>\n",
2652 "x": 3550.216827392578,
2653 "y": 2127.9998779296875,
2654 "z": "d1eceead.adafe",
2662 "id": "c48f1e5.b50d76",
2665 "xml": "<outcome value='failure'>\n",
2668 "x": 3552.216827392578,
2669 "y": 2160.9998779296875,
2670 "z": "d1eceead.adafe",
2678 "id": "6a189760.03fff",
2679 "type": "returnFailure",
2680 "name": "return failure",
2681 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
2683 "x": 3695.216827392578,
2684 "y": 2157.9998779296875,
2685 "z": "d1eceead.adafe",
2689 "id": "57ecc3e9.705994",
2691 "name": "block : atomic",
2692 "xml": "<block atomic=\"true\">",
2695 "x": 3698.216827392578,
2696 "y": 2120.9998779296875,
2697 "z": "d1eceead.adafe",
2706 "id": "7ef10f50.4a98b",
2708 "name": "set pnf-name",
2709 "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",
2711 "x": 3892.216827392578,
2713 "z": "d1eceead.adafe",
2717 "id": "341eac77.d5f56c",
2719 "name": "for each relationship",
2720 "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",
2723 "x": 3955.216827392578,
2725 "z": "d1eceead.adafe",
2733 "id": "1d1b2999.e8eaf6",
2734 "type": "switchNode",
2735 "name": "switch related-to",
2736 "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",
2739 "x": 4161.216827392578,
2741 "z": "d1eceead.adafe",
2749 "id": "2587a419.edf304",
2751 "name": "tunnel-termination-point",
2752 "xml": "<outcome value='tunnel-termination-point'>\n",
2755 "x": 4378.502471923828,
2756 "y": 2754.82177734375,
2757 "z": "d1eceead.adafe",
2765 "id": "d3e48892.7c0638",
2766 "type": "get-resource",
2767 "name": "get-resource src pnf",
2768 "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",
2771 "x": 3914.216827392578,
2773 "z": "d1eceead.adafe",
2783 "id": "5d04022c.52094c",
2786 "xml": "<outcome value='success'>\n",
2789 "x": 4109.716949462891,
2791 "z": "d1eceead.adafe",
2799 "id": "4363a204.88356c",
2800 "type": "not-found",
2801 "name": "not-found",
2802 "xml": "<outcome value='not-found'>\n",
2805 "x": 4101.716949462891,
2807 "z": "d1eceead.adafe",
2815 "id": "d1632f49.e8bfd8",
2818 "xml": "<outcome value='Other'>\n",
2821 "x": 4106.716949462891,
2823 "z": "d1eceead.adafe",
2831 "id": "8e2e62d9.6dcb8",
2832 "type": "returnFailure",
2833 "name": "return failure",
2834 "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",
2836 "x": 4258.716949462891,
2838 "z": "d1eceead.adafe",
2842 "id": "5ac71d3b.31ff94",
2843 "type": "returnFailure",
2844 "name": "return failure",
2845 "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",
2847 "x": 4269.716949462891,
2849 "z": "d1eceead.adafe",
2853 "id": "16d6f161.b988af",
2860 "x": 4254.099273681641,
2861 "y": 2141.6556701660156,
2862 "z": "d1eceead.adafe",
2870 "id": "60521985.bf9fa8",
2872 "name": "set ltpId",
2873 "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",
2875 "x": 4554.216827392578,
2876 "y": 2360.0001220703125,
2877 "z": "d1eceead.adafe",
2881 "id": "1b11d7f2.c04e4",
2883 "name": "set pnf-name",
2884 "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",
2886 "x": 4555.216827392578,
2887 "y": 2465.0001220703125,
2888 "z": "d1eceead.adafe",
2892 "id": "f5d8e7ee.5dd5b8",
2894 "name": "TODO: FIXME",
2895 "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",
2897 "x": 4550.216827392578,
2898 "y": 2414.0001220703125,
2899 "z": "d1eceead.adafe",
2903 "id": "596e064d.3e4868",
2905 "name": "block : atomic",
2906 "xml": "<block atomic=\"true\">",
2909 "x": 4585.334014892578,
2910 "y": 2744.3404541015625,
2911 "z": "d1eceead.adafe",
2921 "id": "1d1ef4b9.b52cc3",
2923 "name": "set destination ttp-id",
2924 "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",
2926 "x": 4800.334014892578,
2927 "y": 2706.3404541015625,
2928 "z": "d1eceead.adafe",
2932 "id": "aa09325d.47c72",
2933 "type": "get-resource",
2934 "name": "get-resource src TTP",
2935 "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",
2938 "x": 4797.334014892578,
2939 "y": 2745.3404541015625,
2940 "z": "d1eceead.adafe",
2948 "id": "f212860e.85526",
2953 "x": 4752.834014892578,
2954 "y": 2787.3404541015625,
2955 "z": "d1eceead.adafe",
2959 "id": "391393be.95d72c",
2962 "xml": "<outcome value='success'>\n",
2965 "x": 4977.834014892578,
2966 "y": 2744.3404541015625,
2967 "z": "d1eceead.adafe",
2975 "id": "520819a9.ab1618",
2977 "name": "block : atomic",
2978 "xml": "<block atomic=\"true\">",
2981 "x": 5135.834014892578,
2982 "y": 2744.3404541015625,
2983 "z": "d1eceead.adafe",
2991 "id": "3a6f0d92.f64ee2",
2993 "name": "set destination tunnel tp ip",
2994 "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",
2996 "x": 5342.834014892578,
2997 "y": 2744.3404541015625,
2998 "z": "d1eceead.adafe",
3002 "id": "35d3101c.ddb4c",
3004 "name": "esr-thirdparty-sdnc",
3005 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
3008 "x": 4836.216827392578,
3010 "z": "d1eceead.adafe",
3018 "id": "461a66b2.13a6c8",
3020 "name": "block : atomic",
3021 "xml": "<block atomic=\"true\">",
3024 "x": 5013.216827392578,
3026 "z": "d1eceead.adafe",
3035 "id": "7d886bfd.e9ca4c",
3037 "name": "for each relationship",
3038 "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",
3041 "x": 4438.216827392578,
3043 "z": "d1eceead.adafe",
3051 "id": "e2222250.60ef7",
3052 "type": "switchNode",
3053 "name": "switch related-to",
3054 "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
3057 "x": 4633.216827392578,
3059 "z": "d1eceead.adafe",
3068 "id": "670f0182.9fd968",
3070 "name": "get esr-thirdparty-sdnc",
3071 "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' >",
3074 "x": 5221.216827392578,
3076 "z": "d1eceead.adafe",
3086 "id": "9bab22e5.a35978",
3088 "name": "block : atomic",
3089 "xml": "<block atomic=\"true\">",
3092 "x": 5015.216827392578,
3094 "z": "d1eceead.adafe",
3102 "id": "768c39b6.117ae",
3104 "name": "network-resource",
3105 "xml": "<outcome value='network-resource'>",
3108 "x": 4838.216827392578,
3110 "z": "d1eceead.adafe",
3118 "id": "6cbb0705.4a3c5",
3120 "name": "set esr-thirdparty-sdnc domainB id",
3121 "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",
3123 "x": 5251.216827392578,
3125 "z": "d1eceead.adafe",
3129 "id": "3c5a22cd.c5b5a6",
3131 "name": "set domainB ethernet layer network-id",
3132 "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",
3134 "x": 5250.216827392578,
3136 "z": "d1eceead.adafe",
3140 "id": "4e714dda.e8064c",
3143 "xml": "<outcome value='success'>\n",
3146 "x": 5431.216827392578,
3148 "z": "d1eceead.adafe",
3156 "id": "6d43e638.f020f8",
3157 "type": "not-found",
3158 "name": "not-found",
3159 "xml": "<outcome value='not-found'>\n",
3162 "x": 5423.216827392578,
3164 "z": "d1eceead.adafe",
3172 "id": "33cdbe70.d704f2",
3175 "xml": "<outcome value='Other'>\n",
3178 "x": 5428.216827392578,
3180 "z": "d1eceead.adafe",
3188 "id": "bf85165f.b30b4",
3189 "type": "returnFailure",
3190 "name": "return failure",
3191 "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",
3193 "x": 5580.216827392578,
3195 "z": "d1eceead.adafe",
3199 "id": "5319e635.03496",
3200 "type": "returnFailure",
3201 "name": "return failure",
3202 "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",
3204 "x": 5591.216827392578,
3206 "z": "d1eceead.adafe",
3210 "id": "c3b341d5.27524",
3217 "x": 5575.599151611328,
3218 "y": 2147.6556701660156,
3219 "z": "d1eceead.adafe",
3227 "id": "5a4d43b1.7dbc0c",
3229 "name": "set controller domainB data",
3230 "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",
3232 "x": 5790.216827392578,
3234 "z": "d1eceead.adafe",
3238 "id": "83634982.62f32",
3240 "name": "set LEAF stuff",
3241 "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' 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\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",
3243 "x": 3288.883331298828,
3245 "z": "d1eceead.adafe",
3249 "id": "51304efd.d01998",
3251 "name": "This is it (should be)",
3254 "x": 4510.883331298828,
3256 "z": "d1eceead.adafe",
3260 "id": "8cad1e9f.c00c5",
3262 "name": "This is it (should be)",
3265 "x": 4502.883331298828,
3267 "z": "d1eceead.adafe",
3271 "id": "a78c5989.f5207",
3273 "name": "set ROOT stuff",
3274 "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' 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\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",
3276 "x": 3269.883331298828,
3278 "z": "d1eceead.adafe",
3282 "id": "5f144ff2.8e6388",
3284 "name": "save connectivityA relationship to UNI-LEAF, in AAI",
3285 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
3288 "x": 3401.883331298828,
3290 "z": "d1eceead.adafe",
3296 "id": "f39161b8.c95518",
3298 "name": "save LEAF UNI in AAI",
3299 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",
3302 "x": 3308.883331298828,
3304 "z": "d1eceead.adafe",
3310 "id": "8af2638e.140428",
3312 "name": "execute UUID generator for ethernet-service-name",
3313 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",
3316 "x": 2426.883331298828,
3318 "z": "d1eceead.adafe",
3324 "id": "b2d6bb83.745318",
3326 "name": "set new ethernet-service-name",
3327 "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",
3329 "x": 2360.883331298828,
3331 "z": "d1eceead.adafe",
3335 "id": "efb9627d.c73688",
3337 "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",
3340 "x": 2545.883331298828,
3342 "z": "d1eceead.adafe",
3346 "id": "7954d1dd.93732",
3348 "name": "NOT NEEDED ANYMORE?",
3351 "x": 4036.883331298828,
3353 "z": "d1eceead.adafe",
3357 "id": "48007645.c6e248",
3359 "name": "NOT NEEDED ANYMORE?",
3362 "x": 4014.883331298828,
3364 "z": "d1eceead.adafe",
3368 "id": "e22daf3c.82e7c8",
3370 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",
3371 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",
3374 "x": 3441.8837890625,
3375 "y": 7480.999969482422,
3376 "z": "d1eceead.adafe",
3382 "id": "ba2fa114.256608",
3384 "name": "START OF DELETE OPERATION",
3387 "x": 3288.88330078125,
3388 "y": 2939.999969482422,
3389 "z": "d1eceead.adafe",
3393 "id": "cea904e8.518f5",
3395 "name": "delete LEAF uni resource in AAI",
3396 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",
3399 "x": 3874.566650390625,
3400 "y": 3129.400115966797,
3401 "z": "d1eceead.adafe",
3407 "id": "8c6f82a5.234d18",
3409 "name": "get LEAF uni from aai",
3410 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.LEAF.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.leafuni\" >\n",
3413 "x": 3245.566650390625,
3414 "y": 3059.400115966797,
3415 "z": "d1eceead.adafe",
3425 "id": "62337ab9.8b1c5c",
3426 "type": "not-found",
3427 "name": "not-found",
3428 "xml": "<outcome value='not-found'>\n",
3431 "x": 3473.0576171875,
3432 "y": 3031.974090576172,
3433 "z": "d1eceead.adafe",
3441 "id": "ac27f627.a68b4",
3444 "xml": "<outcome value='failure'>\n",
3447 "x": 3468.566650390625,
3448 "y": 3076.4000549316406,
3449 "z": "d1eceead.adafe",
3457 "id": "a4aab25a.3920c",
3458 "type": "returnFailure",
3459 "name": "return failure",
3460 "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",
3462 "x": 3635.629150390625,
3463 "y": 3031.259796142578,
3464 "z": "d1eceead.adafe",
3468 "id": "98b8996.e5a3fe8",
3469 "type": "returnFailure",
3470 "name": "return failure",
3471 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
3473 "x": 3636.566650390625,
3474 "y": 3076.4000549316406,
3475 "z": "d1eceead.adafe",
3479 "id": "980e282b.21ebf",
3482 "xml": "<outcome value='success'>\n",
3485 "x": 3480.566650390625,
3486 "y": 3126.400115966797,
3487 "z": "d1eceead.adafe",
3495 "id": "50a09dc8.f07414",
3497 "name": "block : atomic",
3498 "xml": "<block atomic='true'>",
3502 "x": 3632.88330078125,
3503 "y": 3129.999969482422,
3504 "z": "d1eceead.adafe",
3514 "id": "839bae2a.5eaff8",
3516 "name": "set bwToBeDecreased tpid cvlan",
3517 "xml": "<set>\n<parameter name='bwToBeDecreased' value=\"`$tmp.aai.leafuni.data-source`\" />\n<parameter name='tpid' value='`$tmp.aai.leafuni.tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.leafuni.cvlan`' />\n\n\n",
3519 "x": 3877.566650390625,
3520 "y": 3072.400115966797,
3521 "z": "d1eceead.adafe",
3525 "id": "5a01c9ff.aa79b8",
3527 "name": "Update ROOT UNI's bw",
3530 "x": 3833.566650390625,
3531 "y": 3235.199920654297,
3532 "z": "d1eceead.adafe",
3536 "id": "e327e4d5.a4e2b",
3538 "name": "update ROOT UNI in AAI",
3539 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",
3542 "x": 4435.566650390625,
3543 "y": 3340.199920654297,
3544 "z": "d1eceead.adafe",
3550 "id": "8b478b6f.069ff8",
3552 "name": "get root uni from aai",
3553 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",
3557 "y": 3281.199920654297,
3558 "z": "d1eceead.adafe",
3568 "id": "1cc16855.ddb44",
3569 "type": "not-found",
3570 "name": "not-found",
3571 "xml": "<outcome value='not-found'>\n",
3574 "x": 4053.057373046875,
3575 "y": 3253.773895263672,
3576 "z": "d1eceead.adafe",
3584 "id": "cca9f79e.b7e85",
3587 "xml": "<outcome value='failure'>\n",
3591 "y": 3298.1998596191406,
3592 "z": "d1eceead.adafe",
3600 "id": "dd7a8720.93a36",
3601 "type": "returnFailure",
3602 "name": "return failure",
3603 "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",
3606 "y": 3253.059600830078,
3607 "z": "d1eceead.adafe",
3611 "id": "bfa4184f.a70f18",
3612 "type": "returnFailure",
3613 "name": "return failure",
3614 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
3617 "y": 3298.1998596191406,
3618 "z": "d1eceead.adafe",
3622 "id": "51dfcdd2.a7dd1c",
3624 "name": "block : atomic",
3625 "xml": "<block atomic=\"true\">",
3629 "y": 3348.199920654297,
3630 "z": "d1eceead.adafe",
3639 "id": "b9a017aa.207728",
3642 "xml": "<outcome value='success'>\n",
3646 "y": 3348.199920654297,
3647 "z": "d1eceead.adafe",
3655 "id": "f4f7b843.eb2a48",
3657 "name": "set new bw",
3658 "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",
3660 "x": 4395.567138671875,
3661 "y": 3290.199920654297,
3662 "z": "d1eceead.adafe",
3666 "id": "7302cb88.8e6284",
3668 "name": "Delete LEAF UNI",
3671 "x": 3825.88330078125,
3672 "y": 3013.999969482422,
3673 "z": "d1eceead.adafe",
3677 "id": "5b4e5a5d.18c714",
3679 "name": "set current-provider-id and current-cvlan-id",
3680 "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\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`' />-->",
3682 "x": 3311.749969482422,
3683 "y": 3792.6000366210938,
3684 "z": "d1eceead.adafe",
3688 "id": "a7a1bb48.b43ec8",
3690 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",
3691 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",
3694 "x": 3444.749969482422,
3695 "y": 3840.6000366210938,
3696 "z": "d1eceead.adafe",
3702 "id": "7b0989f8.4cdbd",
3703 "type": "switchNode",
3704 "name": "switch found-connectivity?",
3705 "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
3708 "x": 3266.749969482422,
3709 "y": 3892.4000854492188,
3710 "z": "d1eceead.adafe",
3719 "id": "723122ee.60b394",
3720 "type": "outcomeFalse",
3722 "xml": "<outcome value='false'>\n",
3725 "x": 3459.749969482422,
3726 "y": 3893.4000854492188,
3727 "z": "d1eceead.adafe",
3735 "id": "fc2d1c85.b4eee",
3736 "type": "returnFailure",
3737 "name": "return failure",
3738 "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=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",
3740 "x": 3603.749969482422,
3741 "y": 3889.6000366210938,
3742 "z": "d1eceead.adafe",
3746 "id": "1f79397f.9ef707",
3747 "type": "outcomeTrue",
3749 "xml": "<outcome value='true'>\n",
3752 "x": 3463.749969482422,
3753 "y": 3937.4000854492188,
3754 "z": "d1eceead.adafe",
3762 "id": "6275f59c.0890b4",
3764 "name": "block : atomic",
3765 "xml": "<block atomic='true'>",
3769 "x": 3602.749969482422,
3770 "y": 3932.4000854492188,
3771 "z": "d1eceead.adafe",
3781 "id": "810f11d9.c59a7",
3783 "name": "for each relationship",
3784 "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",
3787 "x": 3853.149627685547,
3788 "y": 3940.9166870117188,
3789 "z": "d1eceead.adafe",
3797 "id": "4f7025f7.9e0214",
3798 "type": "switchNode",
3799 "name": "switch related-to",
3800 "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
3803 "x": 4075.149627685547,
3804 "y": 3918.9166870117188,
3805 "z": "d1eceead.adafe",
3813 "id": "c1dfdbf7.de4f68",
3816 "xml": "<outcome value='uni'>\n",
3819 "x": 4235.149139404297,
3820 "y": 3898.9166870117188,
3821 "z": "d1eceead.adafe",
3829 "id": "7642582a.7718e8",
3831 "name": "block : atomic",
3832 "xml": "<block atomic=\"true\">",
3835 "x": 4388.149658203125,
3836 "y": 3879.916717529297,
3837 "z": "d1eceead.adafe",
3846 "id": "b019880c.9753e",
3848 "name": "set tmp.stillHasUni to TRUE",
3849 "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",
3851 "x": 4584.649871826172,
3852 "y": 3847.9999389648438,
3853 "z": "d1eceead.adafe",
3857 "id": "852c933b.a9e98",
3859 "name": "set tmp.stillHasUn tmp.keepVPNBs to FALSE",
3860 "xml": "<set>\n<parameter name='tmp.stillHasUni' value='false' />\n<parameter name='tmp.keepVPNBs' value='false' />\n",
3862 "x": 3959.64990234375,
3863 "y": 3859.999969482422,
3864 "z": "d1eceead.adafe",
3868 "id": "dd94c766.3611e8",
3869 "type": "switchNode",
3870 "name": "switch tmp.keepVPNBs?",
3871 "xml": "\n<switch test=\"`$tmp.keepVPNBs`\">\n\n",
3874 "x": 3767.64990234375,
3875 "y": 4281.000213623047,
3876 "z": "d1eceead.adafe",
3885 "id": "f61cef0c.bbc238",
3890 "x": 4552.88330078125,
3891 "y": 3915.999969482422,
3892 "z": "d1eceead.adafe",
3896 "id": "d3a70ceb.c50b78",
3897 "type": "outcomeFalse",
3899 "xml": "<outcome value='false'>\n",
3902 "x": 154.65066528320312,
3903 "y": 5345.000457763672,
3904 "z": "d1eceead.adafe",
3912 "id": "73d16500.5c0ae4",
3913 "type": "outcomeTrue",
3915 "xml": "<outcome value='true'>\n",
3918 "x": 3988.650634765625,
3919 "y": 4383.000213623047,
3920 "z": "d1eceead.adafe",
3928 "id": "25f72ad2.47990e",
3935 "x": 4131.650634765625,
3936 "y": 4379.000213623047,
3937 "z": "d1eceead.adafe",
3952 "id": "316316fc.4e3ac2",
3954 "name": "keepVPNBs == false, then check tmp.stillHasUni",
3955 "info": "(2) keepVPNBs == false, means there are no other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\ncheck if tmp.stillHasUni is True or False?\n\nif TRUE --> means this domain (connectivity) still has other UNIs\n- delete VPNBs\n- delete LEAF UNI in AAI -- DONE\n- upadte bw in ROOT UNI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC\n- change ROOT conn status to Modified\n--- mark LEAF connectivity as Modified because the underlay OTN tunnel list of this connectivity is now different\n\nif FALSE --> means this domain (connectivity) has no other UNIs\n\nif MMstillHasUni == TRUE, means scenario (3), else, means scenario (4)\n\n(3) & (4) both:\n- delete VPNBs\n- delete LEAF connectivity\n- delete LEAF Ethernet Service from PNC\n\n(3) only:\n- change ROOT conn status to Modified\n- Keep the middle-man-conn and DON'T delete\n\n(4) only:\n- delete ROOT UNI\n- delete ROOT conn from AAI\n- delete ROOT Ethernet Service from PNC\n- delete middle-man-conn from AAI\n\n",
3958 "y": 5301.000457763672,
3959 "z": "d1eceead.adafe",
3963 "id": "32c3f6b1.304972",
3965 "name": "There are still other UNIs in this connectivity that share same OLT node. Only update bw of the vpn-bindings involved",
3966 "info": "(1) keepVPNBs == true, means there are still other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\n- Only update bw of the vpn-bindings involved -- DONE\n- upadte bw in ROOT UNI -- DONE\n- change ROOT conn status to Modified -- DONE\n- delete LEAF UNI in AAI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC -- DONE\n- DON'T delete the connectivities of LEAF and ROOT -- DONE\nAlso update the ethernet services",
3968 "x": 4007.884033203125,
3969 "y": 4346.000213623047,
3970 "z": "d1eceead.adafe",
3974 "id": "7adbe8ea.ad8838",
3976 "name": "set srcTtp OTN layer",
3977 "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!-- $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!-- $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",
3979 "x": 4820.667724609375,
3980 "y": 4536.783660888672,
3981 "z": "d1eceead.adafe",
3985 "id": "ee3b3067.d425a8",
3986 "type": "switchNode",
3987 "name": "switch provider-id domainA",
3988 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",
3991 "x": 5165.667724609375,
3992 "y": 4398.783660888672,
3993 "z": "d1eceead.adafe",
4001 "id": "fc93f53c.f481d",
4003 "name": "for netwidx..allNetworksList_length",
4004 "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",
4007 "x": 4872.667724609375,
4008 "y": 4392.783660888672,
4009 "z": "d1eceead.adafe",
4017 "id": "3f4440b0.d66f8",
4018 "type": "not-found",
4019 "name": "not-found",
4020 "xml": "<outcome value='not-found'>\n",
4023 "x": 5127.667724609375,
4024 "y": 4349.783660888672,
4025 "z": "d1eceead.adafe",
4031 "id": "27f65669.8e0af2",
4033 "name": "unset parameters",
4034 "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
4036 "x": 4816.667724609375,
4037 "y": 4444.783660888672,
4038 "z": "d1eceead.adafe",
4042 "id": "410c70eb.214758",
4044 "name": "set tmp.pce-src-node",
4045 "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' 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<!-- 1 + '-' +-->\n<!-- $param-prefix-domainA-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' 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 $otnTopoIdSrc + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />",
4047 "x": 4824.667724609375,
4048 "y": 4489.783660888672,
4049 "z": "d1eceead.adafe",
4053 "id": "e258b42d.2c46d8",
4055 "name": "unset otnTopoIdSrc",
4056 "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",
4058 "x": 4821.667724609375,
4059 "y": 4342.783660888672,
4060 "z": "d1eceead.adafe",
4064 "id": "76f6067d.796678",
4065 "type": "outcomeTrue",
4067 "xml": "<outcome value='true'>\n",
4070 "x": 5074.667724609375,
4071 "y": 4466.783660888672,
4072 "z": "d1eceead.adafe",
4080 "id": "acca9da1.cc4618",
4081 "type": "switchNode",
4082 "name": "switch te-topo-id",
4083 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",
4086 "x": 5259.667724609375,
4087 "y": 4465.783660888672,
4088 "z": "d1eceead.adafe",
4096 "id": "f448b4f8.c120e",
4097 "type": "outcomeTrue",
4099 "xml": "<outcome value='true'>\n",
4102 "x": 5451.667724609375,
4103 "y": 4468.783660888672,
4104 "z": "d1eceead.adafe",
4112 "id": "19985725.a5eca1",
4114 "name": "set otnTopoIdSrc",
4115 "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
4117 "x": 5623.667724609375,
4118 "y": 4464.783660888672,
4119 "z": "d1eceead.adafe",
4123 "id": "ab4edace.9f77f",
4125 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",
4126 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",
4129 "x": 4999.667724609375,
4130 "y": 4579.783660888672,
4131 "z": "d1eceead.adafe",
4137 "id": "6e8bafff.64fc88",
4144 "x": 4516.667724609375,
4145 "y": 4364.783660888672,
4146 "z": "d1eceead.adafe",
4160 "id": "2e6e6c8a.c892fc",
4162 "name": "The following section is to find srcTtp OTN layer (its long name)",
4163 "info": "The following section is to find srcTtp OTN layer (its long name)",
4165 "x": 4501.667724609375,
4166 "y": 4298.783660888672,
4167 "z": "d1eceead.adafe",
4171 "id": "c2728b20.458338",
4172 "type": "get-resource",
4173 "name": "get-resource network-resources-list",
4174 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",
4177 "x": 4880.667724609375,
4178 "y": 4285.783660888672,
4179 "z": "d1eceead.adafe",
4189 "id": "cd41e347.c8a4d",
4192 "xml": "<outcome value='success'>\n",
4195 "x": 5116.667724609375,
4196 "y": 4268.783660888672,
4197 "z": "d1eceead.adafe",
4203 "id": "5bcb3237.45bf24",
4206 "xml": "<outcome value='Other'>\n",
4209 "x": 5113.667724609375,
4210 "y": 4309.783660888672,
4211 "z": "d1eceead.adafe",
4217 "id": "30c992c8.4db58e",
4219 "name": "unset parameters",
4220 "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",
4222 "x": 4829.667724609375,
4223 "y": 4242.783660888672,
4224 "z": "d1eceead.adafe",
4228 "id": "dcf23a76.fb4f5",
4230 "name": "unset tmp.aai.all-vpn-bindings",
4231 "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",
4233 "x": 4336.667724609375,
4234 "y": 4697.183563232422,
4235 "z": "d1eceead.adafe",
4239 "id": "f549a24.b4e97e",
4241 "name": "find all OTNs that have srcTtpOtnLayer and decrease their bandwidth",
4244 "x": 4459.968017578125,
4245 "y": 4736.183563232422,
4246 "z": "d1eceead.adafe",
4250 "id": "f889b68d.197d9",
4252 "name": "get all-vpn-bindings from aai",
4253 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",
4256 "x": 4357.968017578125,
4257 "y": 4771.183563232422,
4258 "z": "d1eceead.adafe",
4268 "id": "f7fe6bc0.f9d1a8",
4271 "xml": "<outcome value='success'>\n",
4274 "x": 4562.968017578125,
4275 "y": 4768.183563232422,
4276 "z": "d1eceead.adafe",
4284 "id": "b939c13a.bd148",
4285 "type": "not-found",
4286 "name": "not-found",
4287 "xml": "<outcome value='not-found'>\n",
4290 "x": 4546.458984375,
4291 "y": 4829.757598876953,
4292 "z": "d1eceead.adafe",
4300 "id": "63930841.13965",
4303 "xml": "<outcome value='failure'>\n",
4306 "x": 4543.968017578125,
4307 "y": 4873.183563232422,
4308 "z": "d1eceead.adafe",
4316 "id": "85787fa.a0f0d8",
4318 "name": "block : atomic",
4319 "xml": "<block atomic=\"true\">",
4322 "x": 4730.96826171875,
4323 "y": 4763.183563232422,
4324 "z": "d1eceead.adafe",
4332 "id": "c496c4d4.109c78",
4333 "type": "returnFailure",
4334 "name": "return failure",
4335 "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",
4337 "x": 4709.0303955078125,
4338 "y": 4830.0433349609375,
4339 "z": "d1eceead.adafe",
4343 "id": "bb1ebaa9.c2fac",
4344 "type": "returnFailure",
4345 "name": "return failure",
4346 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
4348 "x": 4710.968017578125,
4349 "y": 4872.183563232422,
4350 "z": "d1eceead.adafe",
4354 "id": "6a7a29b4.6659c",
4356 "name": "for vpnidx in all-vpn-bindings",
4357 "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",
4360 "x": 4968.96826171875,
4361 "y": 4768.183563232422,
4362 "z": "d1eceead.adafe",
4370 "id": "2e12f618.b174b2",
4372 "name": "block : atomic",
4373 "xml": "<block atomic='true'>",
4377 "x": 5202.968017578125,
4378 "y": 4775.183563232422,
4379 "z": "d1eceead.adafe",
4387 "id": "3df57bb4.1a97cc",
4389 "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",
4392 "x": 5188.784423828125,
4393 "y": 4997.350067138672,
4394 "z": "d1eceead.adafe",
4398 "id": "1b37b556.addac3",
4399 "type": "switchNode",
4400 "name": "switch ops-note is srcTtpOtnLayer",
4401 "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",
4404 "x": 5221.784423828125,
4405 "y": 5065.350067138672,
4406 "z": "d1eceead.adafe",
4415 "id": "37627bf2.c03934",
4416 "type": "outcomeFalse",
4418 "xml": "<outcome value='false'>\n",
4421 "x": 5465.784454345703,
4422 "y": 5037.349853515625,
4423 "z": "d1eceead.adafe",
4429 "id": "c62dd674.fd73f",
4430 "type": "outcomeTrue",
4432 "xml": "<outcome value='true'>\n",
4435 "x": 5346.784423828125,
4436 "y": 4963.349822998047,
4437 "z": "d1eceead.adafe",
4445 "id": "a5ecb13c.9c7548",
4447 "name": "block : atomic",
4448 "xml": "<block atomic='true'>",
4452 "x": 5473.767822265625,
4453 "y": 4901.766326904297,
4454 "z": "d1eceead.adafe",
4464 "id": "9d348107.818aa",
4466 "name": "for each relationship",
4467 "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",
4470 "x": 5709.8173828125,
4471 "y": 4785.766571044922,
4472 "z": "d1eceead.adafe",
4480 "id": "99f28c5d.95abe8",
4481 "type": "switchNode",
4482 "name": "switch related-to",
4483 "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",
4486 "x": 5901.8173828125,
4487 "y": 4774.766815185547,
4488 "z": "d1eceead.adafe",
4496 "id": "78a5ede3.09cc54",
4498 "name": "unset tmp.aai.the-vpn-binding",
4499 "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",
4501 "x": 5658.334228515625,
4502 "y": 4675.983612060547,
4503 "z": "d1eceead.adafe",
4507 "id": "aecf8872.1d5c4",
4509 "name": "set tmp.aai.the-vpn-binding",
4510 "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",
4512 "x": 5650.334228515625,
4513 "y": 4724.983612060547,
4514 "z": "d1eceead.adafe",
4518 "id": "657d43b1.13c254",
4520 "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",
4521 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $bwToBeDecreased`' />\n<parameter name='operational-status' value='Modified' />\n",
4524 "x": 5881.751220703125,
4525 "y": 4906.149627685547,
4526 "z": "d1eceead.adafe",
4532 "id": "f1c96228.a5339",
4534 "name": "update connectivity resource in AAI",
4535 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-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",
4538 "x": 5833.401123046875,
4539 "y": 4953.466522216797,
4540 "z": "d1eceead.adafe",
4546 "id": "75d6304c.089cd8",
4548 "name": "decrease the bw of the-vpn-binding and change status to modified",
4549 "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",
4551 "x": 5905.751220703125,
4552 "y": 4867.149627685547,
4553 "z": "d1eceead.adafe",
4557 "id": "9a75bdf9.10641",
4559 "name": "connectivity",
4560 "xml": "<outcome value='connectivity'>\n",
4563 "x": 6083.8173828125,
4564 "y": 4753.766815185547,
4565 "z": "d1eceead.adafe",
4573 "id": "b5ad886.81af5f8",
4575 "name": "block : atomic",
4576 "xml": "<block atomic=\"true\">",
4579 "x": 6245.8173828125,
4580 "y": 4742.766815185547,
4581 "z": "d1eceead.adafe",
4590 "id": "6f94f7eb.f4d818",
4592 "name": "unset tmp.the-connectivity",
4593 "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",
4595 "x": 6442.8173828125,
4596 "y": 4671.766815185547,
4597 "z": "d1eceead.adafe",
4601 "id": "269fac18.2bb21c",
4603 "name": "set tmp.the-connectivity",
4604 "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",
4606 "x": 6440.2841796875,
4607 "y": 4770.983612060547,
4608 "z": "d1eceead.adafe",
4612 "id": "a984d0c7.8574d",
4614 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",
4615 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",
4618 "x": 3097.800048828125,
4619 "y": 3229.800018310547,
4620 "z": "d1eceead.adafe",
4626 "id": "49347bae.3e2974",
4627 "type": "switchNode",
4628 "name": "switch found-middle-man?",
4629 "xml": "<switch test='`$found-middle-man`'>\n",
4632 "x": 2974.800048828125,
4633 "y": 3339.800018310547,
4634 "z": "d1eceead.adafe",
4643 "id": "7b835f88.3b076",
4644 "type": "outcomeFalse",
4646 "xml": "<outcome value='false'>\n",
4649 "x": 3158.800048828125,
4650 "y": 3318.800018310547,
4651 "z": "d1eceead.adafe",
4659 "id": "5b141b7a.8f28f4",
4661 "name": "block : atomic",
4662 "xml": "<block atomic='true'>",
4666 "x": 3301.800048828125,
4667 "y": 3318.800018310547,
4668 "z": "d1eceead.adafe",
4676 "id": "94596646.a7e4f",
4677 "type": "returnFailure",
4678 "name": "return failure",
4679 "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=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",
4681 "x": 3477.800048828125,
4682 "y": 3316.800018310547,
4683 "z": "d1eceead.adafe",
4687 "id": "7490c0ec.4dda5",
4688 "type": "outcomeTrue",
4690 "xml": "<outcome value='true'>\n",
4693 "x": 3156.800048828125,
4694 "y": 3373.800018310547,
4695 "z": "d1eceead.adafe",
4703 "id": "a3855d70.dbb87",
4705 "name": "block : atomic",
4706 "xml": "<block atomic='true'>",
4710 "x": 3003.800048828125,
4711 "y": 3506.800018310547,
4712 "z": "d1eceead.adafe",
4725 "id": "a5a62e88.7d802",
4727 "name": "Find LEAF connectivity",
4730 "x": 3225.88330078125,
4731 "y": 3746.999969482422,
4732 "z": "d1eceead.adafe",
4736 "id": "b98b1ba5.429c1",
4738 "name": "set tmp.MMstillHasUni to FALSE",
4739 "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='false' />\n",
4741 "x": 3308.333251953125,
4742 "y": 3519.800018310547,
4743 "z": "d1eceead.adafe",
4747 "id": "37657916.72f08e",
4749 "name": "for each relationship of middle-man-conn",
4750 "xml": "<for silentFailure='true' index='cridx' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",
4753 "x": 3306.8330078125,
4754 "y": 3565.716766357422,
4755 "z": "d1eceead.adafe",
4763 "id": "1a4c3937.32a93f",
4764 "type": "switchNode",
4765 "name": "switch related-to",
4766 "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$cridx].related-to`'>\n",
4769 "x": 3569.8330078125,
4770 "y": 3560.716766357422,
4771 "z": "d1eceead.adafe",
4779 "id": "95d80a37.7eef5",
4782 "xml": "<outcome value='uni'>\n",
4785 "x": 3729.83251953125,
4786 "y": 3540.716766357422,
4787 "z": "d1eceead.adafe",
4795 "id": "d9ea756c.06e5e",
4797 "name": "block : atomic",
4798 "xml": "<block atomic=\"true\">",
4801 "x": 4498.833740234375,
4802 "y": 3575.716766357422,
4803 "z": "d1eceead.adafe",
4813 "id": "29278691.db117a",
4815 "name": "set tmp.MMstillHasUni to TRUE",
4816 "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='true' />\n",
4818 "x": 4738.334228515625,
4819 "y": 3524.800018310547,
4820 "z": "d1eceead.adafe",
4824 "id": "29bad35d.650d14",
4829 "x": 4671.567657470703,
4830 "y": 3597.800048828125,
4831 "z": "d1eceead.adafe",
4835 "id": "4465f9ec.e3dbb",
4837 "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",
4840 "x": 4432.88427734375,
4841 "y": 5128.000213623047,
4842 "z": "d1eceead.adafe",
4846 "id": "69806916.62139",
4848 "name": "set tmp.leafconn.",
4849 "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",
4851 "x": 4331.317138671875,
4852 "y": 5179.916717529297,
4853 "z": "d1eceead.adafe",
4857 "id": "2b19eccb.73cf0c",
4859 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",
4860 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",
4863 "x": 4482.317138671875,
4864 "y": 5622.916717529297,
4865 "z": "d1eceead.adafe",
4871 "id": "987f769f.1ba7f8",
4872 "type": "switchNode",
4873 "name": "switch found-root-connectivity",
4874 "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
4877 "x": 4297.317138671875,
4878 "y": 5689.916717529297,
4879 "z": "d1eceead.adafe",
4888 "id": "c7979e94.4deb18",
4889 "type": "outcomeTrue",
4891 "xml": "<outcome value='true'>\n",
4894 "x": 4562.317138671875,
4895 "y": 5674.916717529297,
4896 "z": "d1eceead.adafe",
4904 "id": "5e8c956f.69a854",
4905 "type": "outcomeFalse",
4907 "xml": "<outcome value='false'>\n",
4910 "x": 4558.317138671875,
4911 "y": 5722.916717529297,
4912 "z": "d1eceead.adafe",
4920 "id": "4a28d2a5.936924",
4922 "name": "block : atomic",
4923 "xml": "<block atomic='true'>",
4927 "x": 4718.317138671875,
4928 "y": 5670.916717529297,
4929 "z": "d1eceead.adafe",
4937 "id": "213fbf95.d03c8",
4938 "type": "returnFailure",
4939 "name": "return failure",
4940 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",
4942 "x": 4706.317138671875,
4943 "y": 5717.916717529297,
4944 "z": "d1eceead.adafe",
4948 "id": "4e8315f.b9446ec",
4950 "name": "set tmp.rootconn.",
4951 "xml": "<set>\n<parameter name='tmp.rootconn.' value=\"`$tmp.aai.ROOT.connectivity.`\" />\n\n\n",
4953 "x": 5138.3173828125,
4954 "y": 5612.916717529297,
4955 "z": "d1eceead.adafe",
4959 "id": "aa7d5d8.eb8bca",
4961 "name": "set pnf-name",
4962 "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.leafconn.access-provider-id + '-clientId-' +\n $tmp.leafconn.access-client-id + '-topologyId-' +\n $tmp.leafconn.access-topology-id + '-nodeId-' +\n $tmp.leafconn.access-node-id`\" />\n",
4964 "x": 4540.734130859375,
4965 "y": 5209.200408935547,
4966 "z": "d1eceead.adafe",
4970 "id": "32064458.33cdf4",
4972 "name": "block : atomic",
4973 "xml": "<block atomic=\"true\">",
4976 "x": 4311.734130859375,
4977 "y": 5298.200408935547,
4978 "z": "d1eceead.adafe",
4987 "id": "3165c974.539e06",
4988 "type": "get-resource",
4989 "name": "get-resource src pnf",
4990 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
4993 "x": 4547.734130859375,
4994 "y": 5291.200408935547,
4995 "z": "d1eceead.adafe",
5005 "id": "4cddcbba.102194",
5008 "xml": "<outcome value='success'>\n",
5011 "x": 4743.2342529296875,
5012 "y": 5243.200408935547,
5013 "z": "d1eceead.adafe",
5021 "id": "d5cd17da.64e6a",
5022 "type": "not-found",
5023 "name": "not-found",
5024 "xml": "<outcome value='not-found'>\n",
5027 "x": 4735.2342529296875,
5028 "y": 5298.200408935547,
5029 "z": "d1eceead.adafe",
5037 "id": "658952ec.d50f2c",
5044 "x": 4887.6165771484375,
5045 "y": 5242.8560791015625,
5046 "z": "d1eceead.adafe",
5054 "id": "5e03d50d.e31174",
5056 "name": "for each relationship",
5057 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
5060 "x": 5071.734130859375,
5061 "y": 5241.200408935547,
5062 "z": "d1eceead.adafe",
5070 "id": "81fcac6e.c2cbb",
5071 "type": "switchNode",
5072 "name": "switch related-to",
5073 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
5076 "x": 5266.734130859375,
5077 "y": 5241.200408935547,
5078 "z": "d1eceead.adafe",
5086 "id": "9d33157c.077f3",
5089 "xml": "<outcome value='Other'>\n",
5092 "x": 4740.2342529296875,
5093 "y": 5355.200408935547,
5094 "z": "d1eceead.adafe",
5102 "id": "d477847d.474a8",
5103 "type": "returnFailure",
5104 "name": "return failure",
5105 "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",
5107 "x": 4892.2342529296875,
5108 "y": 5356.200408935547,
5109 "z": "d1eceead.adafe",
5113 "id": "f87d3f72.db25b",
5114 "type": "returnFailure",
5115 "name": "return failure",
5116 "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",
5118 "x": 4903.2342529296875,
5119 "y": 5299.200408935547,
5120 "z": "d1eceead.adafe",
5124 "id": "e3023af7.680d7",
5126 "name": "block : atomic",
5127 "xml": "<block atomic=\"true\">",
5130 "x": 5648.734130859375,
5131 "y": 5245.200408935547,
5132 "z": "d1eceead.adafe",
5142 "id": "23740bd0.c54174",
5144 "name": "esr-thirdparty-sdnc",
5145 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
5148 "x": 5469.734130859375,
5149 "y": 5245.200408935547,
5150 "z": "d1eceead.adafe",
5158 "id": "b906e4f7.66368",
5160 "name": "get esr-thirdparty-sdnc",
5161 "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.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
5164 "x": 5854.734130859375,
5165 "y": 5258.200408935547,
5166 "z": "d1eceead.adafe",
5176 "id": "31c1897e.fbb116",
5178 "name": "set esr-thirdparty-sdnc domain id",
5179 "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
5181 "x": 5884.734130859375,
5182 "y": 5206.200408935547,
5183 "z": "d1eceead.adafe",
5187 "id": "df7977a7.075b8",
5190 "xml": "<outcome value='success'>\n",
5193 "x": 6064.734130859375,
5194 "y": 5249.200408935547,
5195 "z": "d1eceead.adafe",
5203 "id": "f17bde95.882498",
5204 "type": "not-found",
5205 "name": "not-found",
5206 "xml": "<outcome value='not-found'>\n",
5209 "x": 6056.734130859375,
5210 "y": 5304.200408935547,
5211 "z": "d1eceead.adafe",
5219 "id": "61e2d23e.358d1c",
5222 "xml": "<outcome value='Other'>\n",
5225 "x": 6061.734130859375,
5226 "y": 5361.200408935547,
5227 "z": "d1eceead.adafe",
5235 "id": "a6615570.50c968",
5236 "type": "returnFailure",
5237 "name": "return failure",
5238 "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",
5240 "x": 6213.734130859375,
5241 "y": 5362.200408935547,
5242 "z": "d1eceead.adafe",
5246 "id": "671c9934.2cd48",
5247 "type": "returnFailure",
5248 "name": "return failure",
5249 "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",
5251 "x": 6224.734130859375,
5252 "y": 5307.200408935547,
5253 "z": "d1eceead.adafe",
5257 "id": "7ac6fe75.62b4e",
5264 "x": 6209.116455078125,
5265 "y": 5246.8560791015625,
5266 "z": "d1eceead.adafe",
5274 "id": "6989c737.25d068",
5276 "name": "set controller domain data",
5277 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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",
5279 "x": 6423.734130859375,
5280 "y": 5243.200408935547,
5281 "z": "d1eceead.adafe",
5285 "id": "ac0e0ca2.883cb",
5290 "x": 5804.734130859375,
5291 "y": 5322.200408935547,
5292 "z": "d1eceead.adafe",
5296 "id": "9c7a66fb.560d48",
5298 "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",
5299 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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",
5303 "y": 5402.800018310547,
5304 "z": "d1eceead.adafe",
5313 "id": "1e28e096.7499f7",
5316 "xml": "<outcome value='failure'>\n",
5319 "x": 4813.734130859375,
5320 "y": 5410.800018310547,
5321 "z": "d1eceead.adafe",
5329 "id": "906e379.3b93848",
5330 "type": "returnFailure",
5331 "name": "return failure",
5332 "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 delete ethernet service rest api\" />\n",
5334 "x": 4971.734130859375,
5335 "y": 5410.800018310547,
5336 "z": "d1eceead.adafe",
5340 "id": "90be5ca9.028288",
5342 "name": "block : atomic",
5343 "xml": "<block atomic=\"true\">",
5347 "x": 4975.234130859375,
5348 "y": 5450.800018310547,
5349 "z": "d1eceead.adafe",
5355 "id": "cc9e5694.f9d17",
5358 "xml": "<outcome value='success'>\n",
5361 "x": 4817.734130859375,
5362 "y": 5450.800018310547,
5363 "z": "d1eceead.adafe",
5371 "id": "921095c8.3bc23",
5373 "name": "block : atomic",
5374 "xml": "<block atomic=\"true\">",
5377 "x": 5126.451171875,
5378 "y": 5664.800018310547,
5379 "z": "d1eceead.adafe",
5388 "id": "7ea31674.99e1d8",
5389 "type": "get-resource",
5390 "name": "get-resource src pnf",
5391 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
5394 "x": 5368.450927734375,
5395 "y": 5614.800018310547,
5396 "z": "d1eceead.adafe",
5406 "id": "10743e5b.0b6182",
5409 "xml": "<outcome value='success'>\n",
5412 "x": 5563.951171875,
5413 "y": 5548.800018310547,
5414 "z": "d1eceead.adafe",
5422 "id": "5598183a.212ab",
5423 "type": "not-found",
5424 "name": "not-found",
5425 "xml": "<outcome value='not-found'>\n",
5428 "x": 5559.951171875,
5429 "y": 5604.800018310547,
5430 "z": "d1eceead.adafe",
5438 "id": "767943d2.64a144",
5445 "x": 5708.3333740234375,
5446 "y": 5566.4556884765625,
5447 "z": "d1eceead.adafe",
5455 "id": "10049f5.85364e1",
5457 "name": "for each relationship",
5458 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
5461 "x": 5892.450927734375,
5462 "y": 5564.800018310547,
5463 "z": "d1eceead.adafe",
5471 "id": "9c9074e9.bbaff8",
5474 "xml": "<outcome value='Other'>\n",
5477 "x": 5569.951171875,
5478 "y": 5649.800018310547,
5479 "z": "d1eceead.adafe",
5487 "id": "952a99b1.f3f0e",
5488 "type": "returnFailure",
5489 "name": "return failure",
5490 "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",
5492 "x": 5748.951171875,
5493 "y": 5665.800018310547,
5494 "z": "d1eceead.adafe",
5498 "id": "74a77564.40268c",
5499 "type": "returnFailure",
5500 "name": "return failure",
5501 "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",
5503 "x": 5730.951171875,
5504 "y": 5617.800018310547,
5505 "z": "d1eceead.adafe",
5509 "id": "f64c3a10.6bbc38",
5511 "name": "execute RestApiCallNode Delete UNI of ethernet Service without token",
5512 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.rootconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.ROOT.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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",
5515 "x": 5279.951171875,
5516 "y": 5720.399627685547,
5517 "z": "d1eceead.adafe",
5526 "id": "cd722628.03685",
5529 "xml": "<outcome value='failure'>\n",
5532 "x": 5628.451171875,
5533 "y": 5702.399627685547,
5534 "z": "d1eceead.adafe",
5542 "id": "d04dd9dc.2f2dc8",
5543 "type": "returnFailure",
5544 "name": "return failure",
5545 "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 delete ethernet service rest api\" />\n",
5547 "x": 5884.451171875,
5548 "y": 5705.399627685547,
5549 "z": "d1eceead.adafe",
5553 "id": "1006a530.30b813",
5555 "name": "block : atomic",
5556 "xml": "<block atomic=\"true\">",
5560 "x": 5836.951171875,
5561 "y": 5746.399627685547,
5562 "z": "d1eceead.adafe",
5568 "id": "76458c1b.1a62ac",
5571 "xml": "<outcome value='success'>\n",
5574 "x": 5638.451171875,
5575 "y": 5751.399627685547,
5576 "z": "d1eceead.adafe",
5584 "id": "fb4f4697.4dc5f",
5586 "name": "set pnf-name",
5587 "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.rootconn.access-provider-id + '-clientId-' +\n $tmp.rootconn.access-client-id + '-topologyId-' +\n $tmp.rootconn.access-topology-id + '-nodeId-' +\n $tmp.rootconn.access-node-id`\" />\n",
5589 "x": 5361.450927734375,
5590 "y": 5532.800018310547,
5591 "z": "d1eceead.adafe",
5595 "id": "72e5612b.857e68",
5596 "type": "switchNode",
5597 "name": "switch related-to",
5598 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
5601 "x": 6087.450927734375,
5602 "y": 5564.800018310547,
5603 "z": "d1eceead.adafe",
5611 "id": "402ab8f9.3aa18",
5613 "name": "block : atomic",
5614 "xml": "<block atomic=\"true\">",
5617 "x": 6469.450927734375,
5618 "y": 5568.800018310547,
5619 "z": "d1eceead.adafe",
5629 "id": "3625dda5.38707a",
5631 "name": "esr-thirdparty-sdnc",
5632 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
5635 "x": 6290.450927734375,
5636 "y": 5568.800018310547,
5637 "z": "d1eceead.adafe",
5645 "id": "6c3ba6ac.e7c21",
5647 "name": "get esr-thirdparty-sdnc",
5648 "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.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
5651 "x": 6675.450927734375,
5652 "y": 5581.800018310547,
5653 "z": "d1eceead.adafe",
5663 "id": "4697e13e.13b02",
5665 "name": "set esr-thirdparty-sdnc domain id",
5666 "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
5668 "x": 6705.450927734375,
5669 "y": 5529.800018310547,
5670 "z": "d1eceead.adafe",
5674 "id": "2e31a205.2611fe",
5677 "xml": "<outcome value='success'>\n",
5680 "x": 6885.450927734375,
5681 "y": 5572.800018310547,
5682 "z": "d1eceead.adafe",
5690 "id": "c9f11bf6.38bb98",
5691 "type": "not-found",
5692 "name": "not-found",
5693 "xml": "<outcome value='not-found'>\n",
5696 "x": 6877.450927734375,
5697 "y": 5627.800018310547,
5698 "z": "d1eceead.adafe",
5706 "id": "99cec3e1.6d2f68",
5709 "xml": "<outcome value='Other'>\n",
5712 "x": 6882.450927734375,
5713 "y": 5684.800018310547,
5714 "z": "d1eceead.adafe",
5722 "id": "c501098b.50507",
5723 "type": "returnFailure",
5724 "name": "return failure",
5725 "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",
5727 "x": 7034.450927734375,
5728 "y": 5685.800018310547,
5729 "z": "d1eceead.adafe",
5733 "id": "3af9cd94.f12ff2",
5734 "type": "returnFailure",
5735 "name": "return failure",
5736 "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",
5738 "x": 7045.450927734375,
5739 "y": 5630.800018310547,
5740 "z": "d1eceead.adafe",
5744 "id": "2ba283a1.e08d44",
5751 "x": 7029.833251953125,
5752 "y": 5570.4556884765625,
5753 "z": "d1eceead.adafe",
5761 "id": "bca9e0da.72619",
5763 "name": "set controller domain data",
5764 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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",
5766 "x": 7244.450927734375,
5767 "y": 5566.800018310547,
5768 "z": "d1eceead.adafe",
5772 "id": "34e0c57a.0e712a",
5777 "x": 6625.450927734375,
5778 "y": 5645.800018310547,
5779 "z": "d1eceead.adafe",
5783 "id": "9608373.19689c8",
5790 "x": 3854.88330078125,
5791 "y": 3534.999969482422,
5792 "z": "d1eceead.adafe",
5801 "id": "6e45c64.2629238",
5803 "name": "set tmp.mmUNI-id-long",
5804 "xml": "<set>\n<parameter name='tmp.mmUNI-id-long' value='`$middle-man-conn.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",
5806 "x": 4045.466552734375,
5807 "y": 3477.800018310547,
5808 "z": "d1eceead.adafe",
5812 "id": "354c7fc8.6d8de",
5813 "type": "switchNode",
5814 "name": "switch tmp.mmUNI-id-long != ROOT UNI",
5815 "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.ROOT.uni-p-interface-long`\">\n\n",
5818 "x": 4092.466552734375,
5819 "y": 3548.800018310547,
5820 "z": "d1eceead.adafe",
5829 "id": "6bdb2c16.23fc7c",
5830 "type": "outcomeFalse",
5832 "xml": "<outcome value='false'>\n",
5835 "x": 4330.884033203125,
5836 "y": 3507.999969482422,
5837 "z": "d1eceead.adafe",
5845 "id": "5820e4e6.95b47c",
5846 "type": "outcomeTrue",
5848 "xml": "<outcome value='true'>\n",
5851 "x": 4337.884246826172,
5852 "y": 3564.9999389648438,
5853 "z": "d1eceead.adafe",
5861 "id": "d4fcba65.f8c8f",
5868 "x": 4458.884521484375,
5869 "y": 3503.999969482422,
5870 "z": "d1eceead.adafe",
5876 "id": "cc0c619e.32de58",
5878 "name": "set tmp.MMonlyHasROOT to TRUE",
5879 "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='true' />\n",
5881 "x": 3314.083251953125,
5882 "y": 3462.400115966797,
5883 "z": "d1eceead.adafe",
5887 "id": "a6af6c62.1a6b5",
5889 "name": "set tmp.MMonlyHasROOT to FALSE",
5890 "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='false' />\n",
5892 "x": 4727.9169921875,
5893 "y": 3468.400115966797,
5894 "z": "d1eceead.adafe",
5898 "id": "811e3163.5710b",
5900 "name": "block : atomic",
5901 "xml": "<block atomic=\"true\">",
5904 "x": 4407.6669921875,
5905 "y": 3984.616668701172,
5906 "z": "d1eceead.adafe",
5915 "id": "aa9298d8.acde8",
5917 "name": "set tmp.uni.id",
5918 "xml": "<set>\n<parameter name='tmp.uni.id' value='`$tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",
5920 "x": 4580.5498046875,
5921 "y": 3980.276336669922,
5922 "z": "d1eceead.adafe",
5926 "id": "a5e5763f.58bb2",
5928 "name": "get uni from aai",
5929 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.uni.id\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.uni\" >\n\n",
5932 "x": 4583.5498046875,
5933 "y": 4027.276336669922,
5934 "z": "d1eceead.adafe",
5944 "id": "4df6bcf4.a4f44c",
5947 "xml": "<outcome value='success'>\n",
5950 "x": 4755.5498046875,
5951 "y": 4011.276336669922,
5952 "z": "d1eceead.adafe",
5960 "id": "89771ed8.977b78",
5961 "type": "not-found",
5962 "name": "not-found",
5963 "xml": "<outcome value='not-found'>\n",
5966 "x": 4756.040771484375,
5967 "y": 4056.850372314453,
5968 "z": "d1eceead.adafe",
5974 "id": "d1de1d5b.be978",
5977 "xml": "<outcome value='failure'>\n",
5980 "x": 4756.5498046875,
5981 "y": 4097.276336669922,
5982 "z": "d1eceead.adafe",
5988 "id": "f65d0563.51b9e",
5990 "name": "block : atomic",
5991 "xml": "<block atomic='true'>",
5995 "x": 4916.5498046875,
5996 "y": 4007.276336669922,
5997 "z": "d1eceead.adafe",
6007 "id": "d2f62a11.bbccd",
6009 "name": "find the node part of the uni.id (uni-tp-id-node-part)",
6012 "x": 5249.5498046875,
6013 "y": 3938.276336669922,
6014 "z": "d1eceead.adafe",
6018 "id": "9fcba756.d0c298",
6020 "name": "execute split id to get pnf-name",
6021 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.uni.id`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-uni-pnfName\"/>\n\n",
6024 "x": 5184.5498046875,
6025 "y": 3995.276336669922,
6026 "z": "d1eceead.adafe",
6035 "id": "66b6c9a.ce41eb8",
6038 "xml": "<outcome value='success'>\n",
6041 "x": 5407.5498046875,
6042 "y": 3981.276336669922,
6043 "z": "d1eceead.adafe",
6051 "id": "ad91a307.53dc18",
6054 "xml": "<outcome value='failure'>\n",
6057 "x": 5409.5498046875,
6058 "y": 4014.276336669922,
6059 "z": "d1eceead.adafe",
6067 "id": "f5696a58.3dcae",
6069 "name": "block : atomic",
6070 "xml": "<block atomic=\"true\">",
6073 "x": 5555.5498046875,
6074 "y": 3974.276336669922,
6075 "z": "d1eceead.adafe",
6083 "id": "cd5f81cd.b325a8",
6084 "type": "returnFailure",
6085 "name": "return failure",
6086 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
6088 "x": 5552.5498046875,
6089 "y": 4011.276336669922,
6090 "z": "d1eceead.adafe",
6094 "id": "520c18e.4c672e8",
6096 "name": "set pnf-name",
6097 "xml": "<set>\n<parameter name='tmp.uni.pnf-name' value=\"`$param-prefix-uni-pnfName[0] + '-' +\n $param-prefix-uni-pnfName[1] + '-' +\n $param-prefix-uni-pnfName[2] + '-' +\n $param-prefix-uni-pnfName[3] + '-' +\n $param-prefix-uni-pnfName[4] + '-' +\n $param-prefix-uni-pnfName[5] + '-' +\n $param-prefix-uni-pnfName[6] + '-' +\n $param-prefix-uni-pnfName[7] + '-' +\n $param-prefix-uni-pnfName[8]`\" />\n",
6099 "x": 5732.5498046875,
6100 "y": 3974.276336669922,
6101 "z": "d1eceead.adafe",
6105 "id": "41e51ce8.c7bbd4",
6106 "type": "switchNode",
6107 "name": "switch uni-tp-id-node-part is the same as the LEAF node",
6108 "xml": "<switch test='`$tmp.uni.pnf-name == $tmp.LEAF.pnf-name-long`'>\n",
6111 "x": 5228.5498046875,
6112 "y": 4129.276336669922,
6113 "z": "d1eceead.adafe",
6122 "id": "f5a5405e.ab64e8",
6123 "type": "outcomeFalse",
6125 "xml": "<outcome value='false'>\n",
6128 "x": 5509.5498046875,
6129 "y": 4106.276336669922,
6130 "z": "d1eceead.adafe",
6138 "id": "39efe4c8.977e5c",
6139 "type": "outcomeTrue",
6141 "xml": "<outcome value='true'>\n",
6144 "x": 5502.5498046875,
6145 "y": 4165.276336669922,
6146 "z": "d1eceead.adafe",
6154 "id": "76dcdb2b.58523c",
6161 "x": 5639.5498046875,
6162 "y": 4110.276336669922,
6163 "z": "d1eceead.adafe",
6169 "id": "e34b9d00.f34da8",
6171 "name": "block : atomic",
6172 "xml": "<block atomic='true'>",
6176 "x": 5644.5498046875,
6177 "y": 4164.276336669922,
6178 "z": "d1eceead.adafe",
6187 "id": "d870e573.0525d",
6189 "name": "set no-pce-call",
6190 "xml": "<set>\n<parameter name='no-pce-call' value=\"true\" />\n",
6192 "x": 5836.5498046875,
6193 "y": 4131.276336669922,
6194 "z": "d1eceead.adafe",
6198 "id": "77e6d570.0136ec",
6200 "name": "set middle-man-conn",
6201 "xml": "<set>\n<parameter name='middle-man-conn.' value='`$tmp.aai.all-connectivities.connectivity[$connidx].`' />\n",
6203 "x": 5852.5498046875,
6204 "y": 4183.276336669922,
6205 "z": "d1eceead.adafe",
6209 "id": "daec44c5.c4ca2",
6211 "name": "set tmp.stillHasUni and tmp.keepVPNBs to TRUE",
6212 "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n<parameter name='tmp.keepVPNBs' value='true' />\n",
6214 "x": 5870.83349609375,
6215 "y": 4252.866668701172,
6216 "z": "d1eceead.adafe",
6220 "id": "99817ef0.1be558",
6222 "name": "set tmp.stillHasUni to TRUE",
6223 "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",
6225 "x": 5147.533203125,
6226 "y": 4078.766571044922,
6227 "z": "d1eceead.adafe",
6231 "id": "4a51985e.972e68",
6232 "type": "switchNode",
6233 "name": "switch tmp.stillHasUni?",
6234 "xml": "\n<switch test=\"`$tmp.stillHasUni`\">\n\n",
6237 "x": 383.7339172363281,
6238 "y": 5348.966278076172,
6239 "z": "d1eceead.adafe",
6248 "id": "2a89b0c9.686c5",
6250 "name": "get root uni from aai",
6251 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",
6254 "x": 4288.516357421875,
6255 "y": 5512.850067138672,
6256 "z": "d1eceead.adafe",
6266 "id": "8fd56902.a16fd8",
6268 "name": "Update ROOT UNI's bw -- ALREADY DONE",
6271 "x": 4286.516845703125,
6272 "y": 5464.850311279297,
6273 "z": "d1eceead.adafe",
6277 "id": "fe5a805b.6befb8",
6279 "name": "update ROOT UNI in AAI",
6280 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",
6283 "x": 4903.5166015625,
6284 "y": 5582.850311279297,
6285 "z": "d1eceead.adafe",
6291 "id": "edc304ba.5ec56",
6292 "type": "not-found",
6293 "name": "not-found",
6294 "xml": "<outcome value='not-found'>\n",
6297 "x": 4506.007568359375,
6298 "y": 5483.424285888672,
6299 "z": "d1eceead.adafe",
6307 "id": "e3707812.01b138",
6310 "xml": "<outcome value='failure'>\n",
6313 "x": 4501.5166015625,
6314 "y": 5527.850250244141,
6315 "z": "d1eceead.adafe",
6323 "id": "d06cf255.10cad",
6324 "type": "returnFailure",
6325 "name": "return failure",
6326 "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",
6328 "x": 4668.5791015625,
6329 "y": 5482.709991455078,
6330 "z": "d1eceead.adafe",
6334 "id": "c2ada4d7.cf23a",
6335 "type": "returnFailure",
6336 "name": "return failure",
6337 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
6339 "x": 4669.5166015625,
6340 "y": 5527.850250244141,
6341 "z": "d1eceead.adafe",
6345 "id": "487370c3.c16b7",
6347 "name": "block : atomic",
6348 "xml": "<block atomic=\"true\">",
6351 "x": 4666.5166015625,
6352 "y": 5577.850311279297,
6353 "z": "d1eceead.adafe",
6362 "id": "11eb64db.01f3fb",
6365 "xml": "<outcome value='success'>\n",
6368 "x": 4497.5166015625,
6369 "y": 5577.850311279297,
6370 "z": "d1eceead.adafe",
6378 "id": "6c262f9d.59d16",
6380 "name": "set new bw",
6381 "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",
6383 "x": 4859.517578125,
6384 "y": 5502.850311279297,
6385 "z": "d1eceead.adafe",
6389 "id": "472764ad.0e5da4",
6391 "name": "Update connectivity status to modified",
6394 "x": 5288.216796875,
6395 "y": 5440.616912841797,
6396 "z": "d1eceead.adafe",
6400 "id": "a96c5a1a.d66bf",
6402 "name": "update ROOT connectivity resource in AAI",
6403 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",
6407 "y": 5482.817108154297,
6408 "z": "d1eceead.adafe",
6414 "id": "35e41a11.58bd1e",
6415 "type": "outcomeFalse",
6417 "xml": "<outcome value='false'>\n",
6420 "x": 567.8836059570312,
6421 "y": 5399.999969482422,
6422 "z": "d1eceead.adafe",
6430 "id": "8fea1632.f2d7a",
6431 "type": "outcomeTrue",
6433 "xml": "<outcome value='true'>\n",
6436 "x": 550.883544921875,
6437 "y": 5321.999969482422,
6438 "z": "d1eceead.adafe",
6446 "id": "71bd2e28.fdc428",
6453 "x": 679.8833923339844,
6454 "y": 4408.999694824219,
6455 "z": "d1eceead.adafe",
6468 "id": "ab47ddf.140532",
6470 "name": "set tmp.leafconn.",
6471 "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",
6473 "x": 931.5667419433594,
6474 "y": 4387.049499511719,
6475 "z": "d1eceead.adafe",
6479 "id": "83fd3013.a6f008",
6481 "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",
6484 "x": 1033.1338806152344,
6485 "y": 4335.132995605469,
6486 "z": "d1eceead.adafe",
6490 "id": "8b20d7ab.715e18",
6492 "name": "set pnf-name",
6493 "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.leafconn.access-provider-id + '-clientId-' +\n $tmp.leafconn.access-client-id + '-topologyId-' +\n $tmp.leafconn.access-topology-id + '-nodeId-' +\n $tmp.leafconn.access-node-id`\" />\n",
6495 "x": 1140.9837341308594,
6496 "y": 4416.333190917969,
6497 "z": "d1eceead.adafe",
6501 "id": "d3485e4a.cbde48",
6503 "name": "block : atomic",
6504 "xml": "<block atomic=\"true\">",
6507 "x": 911.9837341308594,
6508 "y": 4505.333190917969,
6509 "z": "d1eceead.adafe",
6518 "id": "3ddce0eb.9cdfd8",
6519 "type": "get-resource",
6520 "name": "get-resource src pnf",
6521 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
6524 "x": 1147.9837341308594,
6525 "y": 4498.333190917969,
6526 "z": "d1eceead.adafe",
6536 "id": "c4f933ed.6c6328",
6539 "xml": "<outcome value='success'>\n",
6542 "x": 1343.4838562011719,
6543 "y": 4450.333190917969,
6544 "z": "d1eceead.adafe",
6552 "id": "c8f61cf.a6fdde",
6553 "type": "not-found",
6554 "name": "not-found",
6555 "xml": "<outcome value='not-found'>\n",
6558 "x": 1335.4838562011719,
6559 "y": 4505.333190917969,
6560 "z": "d1eceead.adafe",
6568 "id": "40098ed2.4f4dd",
6575 "x": 1487.8661804199219,
6576 "y": 4449.988861083984,
6577 "z": "d1eceead.adafe",
6585 "id": "4b557dbd.14d794",
6587 "name": "for each relationship",
6588 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
6591 "x": 1671.9837341308594,
6592 "y": 4448.333190917969,
6593 "z": "d1eceead.adafe",
6601 "id": "a0958afe.9d1b",
6602 "type": "switchNode",
6603 "name": "switch related-to",
6604 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
6607 "x": 1866.9837341308594,
6608 "y": 4448.333190917969,
6609 "z": "d1eceead.adafe",
6617 "id": "31635596.d79712",
6620 "xml": "<outcome value='Other'>\n",
6623 "x": 1340.4838562011719,
6624 "y": 4562.333190917969,
6625 "z": "d1eceead.adafe",
6633 "id": "c3c84b5.76fc5b8",
6634 "type": "returnFailure",
6635 "name": "return failure",
6636 "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",
6638 "x": 1492.4838562011719,
6639 "y": 4563.333190917969,
6640 "z": "d1eceead.adafe",
6644 "id": "8f4995e7.00e5b8",
6645 "type": "returnFailure",
6646 "name": "return failure",
6647 "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",
6649 "x": 1503.4838562011719,
6650 "y": 4506.333190917969,
6651 "z": "d1eceead.adafe",
6655 "id": "ca7cc65e.e299b",
6657 "name": "block : atomic",
6658 "xml": "<block atomic=\"true\">",
6661 "x": 2248.9837341308594,
6662 "y": 4452.333190917969,
6663 "z": "d1eceead.adafe",
6673 "id": "31026a11.2a4bde",
6675 "name": "esr-thirdparty-sdnc",
6676 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
6679 "x": 2069.9837341308594,
6680 "y": 4452.333190917969,
6681 "z": "d1eceead.adafe",
6689 "id": "964a9d6b.511ef",
6691 "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",
6692 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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",
6695 "x": 1053.4839782714844,
6696 "y": 4609.932800292969,
6697 "z": "d1eceead.adafe",
6706 "id": "edc3d42b.21d3d",
6709 "xml": "<outcome value='success'>\n",
6712 "x": 1417.9837341308594,
6713 "y": 4657.932800292969,
6714 "z": "d1eceead.adafe",
6722 "id": "a14b7306.f0f088",
6725 "xml": "<outcome value='failure'>\n",
6728 "x": 1413.9837341308594,
6729 "y": 4617.932800292969,
6730 "z": "d1eceead.adafe",
6738 "id": "db3e9725.884648",
6739 "type": "returnFailure",
6740 "name": "return failure",
6741 "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 delete ethernet service rest api\" />\n",
6743 "x": 1571.9837341308594,
6744 "y": 4617.932800292969,
6745 "z": "d1eceead.adafe",
6749 "id": "7d2a7da9.46fdfc",
6751 "name": "block : atomic",
6752 "xml": "<block atomic=\"true\">",
6756 "x": 1575.4837341308594,
6757 "y": 4657.932800292969,
6758 "z": "d1eceead.adafe",
6764 "id": "10f0f2b8.28ecdd",
6766 "name": "get esr-thirdparty-sdnc",
6767 "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.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
6770 "x": 2454.9837341308594,
6771 "y": 4465.333190917969,
6772 "z": "d1eceead.adafe",
6782 "id": "7e1000fc.f7ace",
6784 "name": "set esr-thirdparty-sdnc domain id",
6785 "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
6787 "x": 2484.9837341308594,
6788 "y": 4413.333190917969,
6789 "z": "d1eceead.adafe",
6793 "id": "25e5e61.acf541a",
6796 "xml": "<outcome value='success'>\n",
6799 "x": 2664.9837341308594,
6800 "y": 4456.333190917969,
6801 "z": "d1eceead.adafe",
6809 "id": "12a14aa1.cf2fb5",
6810 "type": "not-found",
6811 "name": "not-found",
6812 "xml": "<outcome value='not-found'>\n",
6815 "x": 2656.9837341308594,
6816 "y": 4511.333190917969,
6817 "z": "d1eceead.adafe",
6825 "id": "c1a2b3a0.8c75c",
6828 "xml": "<outcome value='Other'>\n",
6831 "x": 2661.9837341308594,
6832 "y": 4568.333190917969,
6833 "z": "d1eceead.adafe",
6841 "id": "dddace6e.f9e9f",
6842 "type": "returnFailure",
6843 "name": "return failure",
6844 "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",
6846 "x": 2813.9837341308594,
6847 "y": 4569.333190917969,
6848 "z": "d1eceead.adafe",
6852 "id": "8d572a45.011df8",
6853 "type": "returnFailure",
6854 "name": "return failure",
6855 "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",
6857 "x": 2824.9837341308594,
6858 "y": 4514.333190917969,
6859 "z": "d1eceead.adafe",
6863 "id": "5696d51e.dbfe64",
6870 "x": 2809.3660583496094,
6871 "y": 4453.988861083984,
6872 "z": "d1eceead.adafe",
6880 "id": "e4cea83c.4d71a",
6882 "name": "set controller domain data",
6883 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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",
6885 "x": 3023.9837341308594,
6886 "y": 4450.333190917969,
6887 "z": "d1eceead.adafe",
6891 "id": "1cf608fc.280f8f",
6896 "x": 2404.9837341308594,
6897 "y": 4529.333190917969,
6898 "z": "d1eceead.adafe",
6902 "id": "58993466.bcba34",
6904 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",
6905 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",
6908 "x": 1082.5667419433594,
6909 "y": 4830.049499511719,
6910 "z": "d1eceead.adafe",
6916 "id": "b72e55ab.bc6bd8",
6917 "type": "switchNode",
6918 "name": "switch found-root-connectivity",
6919 "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
6922 "x": 897.5667419433594,
6923 "y": 4897.049499511719,
6924 "z": "d1eceead.adafe",
6933 "id": "191ee334.0f09fd",
6934 "type": "outcomeTrue",
6936 "xml": "<outcome value='true'>\n",
6939 "x": 1162.5667419433594,
6940 "y": 4882.049499511719,
6941 "z": "d1eceead.adafe",
6949 "id": "b8911820.2c8f68",
6950 "type": "outcomeFalse",
6952 "xml": "<outcome value='false'>\n",
6955 "x": 1158.5667419433594,
6956 "y": 4930.049499511719,
6957 "z": "d1eceead.adafe",
6965 "id": "328aa2d2.c36a96",
6967 "name": "block : atomic",
6968 "xml": "<block atomic='true'>",
6972 "x": 1318.5667419433594,
6973 "y": 4878.049499511719,
6974 "z": "d1eceead.adafe",
6982 "id": "88b54a6f.ba3898",
6983 "type": "returnFailure",
6984 "name": "return failure",
6985 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",
6987 "x": 1306.5667419433594,
6988 "y": 4925.049499511719,
6989 "z": "d1eceead.adafe",
6993 "id": "d5cdb27.e4e575",
6995 "name": "Update connectivity status to modified",
6998 "x": 1587.4664001464844,
6999 "y": 4828.749694824219,
7000 "z": "d1eceead.adafe",
7004 "id": "4a7a1b00.5fe524",
7006 "name": "update ROOT connectivity resource in AAI",
7007 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",
7010 "x": 1613.2496032714844,
7011 "y": 4870.949890136719,
7012 "z": "d1eceead.adafe",
7018 "id": "1003b628.8cf272",
7020 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",
7021 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",
7024 "x": 1026.8833923339844,
7025 "y": 4144.316589355469,
7026 "z": "d1eceead.adafe",
7032 "id": "44e1ece4.47debc",
7039 "x": 632.8834228515625,
7040 "y": 4148.999725341797,
7041 "z": "d1eceead.adafe",
7050 "id": "49ab1cdc.2b3dfc",
7057 "x": 716.3333740234375,
7058 "y": 5401.516571044922,
7059 "z": "d1eceead.adafe",
7070 "id": "723c2903.f58428",
7072 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",
7073 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",
7076 "x": 1067.7166748046875,
7077 "y": 5332.516571044922,
7078 "z": "d1eceead.adafe",
7084 "id": "98b88954.793148",
7086 "name": "delete LEAF connectivity resource in AAI",
7087 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n",
7090 "x": 978.7166748046875,
7091 "y": 5401.516571044922,
7092 "z": "d1eceead.adafe",
7098 "id": "b393338f.3c0a5",
7100 "name": "block : atomic",
7101 "xml": "<block atomic=\"true\">",
7104 "x": 869.88330078125,
7105 "y": 5636.516571044922,
7106 "z": "d1eceead.adafe",
7116 "id": "c8c4cb96.f9d8b",
7118 "name": "get esr-thirdparty-sdnc",
7119 "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.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
7122 "x": 2585.882568359375,
7123 "y": 5523.516571044922,
7124 "z": "d1eceead.adafe",
7134 "id": "de9e1e1d.dcbc3",
7139 "x": 2535.882568359375,
7140 "y": 5587.516571044922,
7141 "z": "d1eceead.adafe",
7145 "id": "d2b1cccb.1f5468",
7147 "name": "set esr-thirdparty-sdnc domain id",
7148 "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
7150 "x": 2615.882568359375,
7151 "y": 5471.516571044922,
7152 "z": "d1eceead.adafe",
7156 "id": "43900724.7021a8",
7159 "xml": "<outcome value='success'>\n",
7162 "x": 2795.882568359375,
7163 "y": 5514.516571044922,
7164 "z": "d1eceead.adafe",
7172 "id": "b5fd98a.36736e8",
7173 "type": "not-found",
7174 "name": "not-found",
7175 "xml": "<outcome value='not-found'>\n",
7178 "x": 2787.882568359375,
7179 "y": 5569.516571044922,
7180 "z": "d1eceead.adafe",
7188 "id": "3c26b3f8.230acc",
7191 "xml": "<outcome value='Other'>\n",
7194 "x": 2792.882568359375,
7195 "y": 5626.516571044922,
7196 "z": "d1eceead.adafe",
7204 "id": "f1d869f8.b644e",
7205 "type": "returnFailure",
7206 "name": "return failure",
7207 "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",
7209 "x": 2944.882568359375,
7210 "y": 5627.516571044922,
7211 "z": "d1eceead.adafe",
7215 "id": "c1ab7307.8305a8",
7216 "type": "returnFailure",
7217 "name": "return failure",
7218 "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",
7220 "x": 2955.882568359375,
7221 "y": 5572.516571044922,
7222 "z": "d1eceead.adafe",
7226 "id": "dc7a8a3b.a925f8",
7233 "x": 2940.264892578125,
7234 "y": 5512.1722412109375,
7235 "z": "d1eceead.adafe",
7243 "id": "99f651cc.e3a158",
7245 "name": "set controller domain data",
7246 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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",
7248 "x": 3154.882568359375,
7249 "y": 5508.516571044922,
7250 "z": "d1eceead.adafe",
7254 "id": "df7f814b.30dca",
7256 "name": "set pnf-name",
7257 "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.the-connectivity.access-provider-id + '-clientId-' +\n $tmp.the-connectivity.access-client-id + '-topologyId-' +\n $tmp.the-connectivity.access-topology-id + '-nodeId-' +\n $tmp.the-connectivity.access-node-id`\" />\n",
7259 "x": 1151.88330078125,
7260 "y": 5505.516571044922,
7261 "z": "d1eceead.adafe",
7265 "id": "1d552db6.d6aaca",
7268 "xml": "<outcome value='Other'>\n",
7271 "x": 1362.3834228515625,
7272 "y": 5644.516571044922,
7273 "z": "d1eceead.adafe",
7281 "id": "d7946986.6d0968",
7284 "xml": "<outcome value='success'>\n",
7287 "x": 1365.3834228515625,
7288 "y": 5532.516571044922,
7289 "z": "d1eceead.adafe",
7297 "id": "9ea8b87c.75f8b",
7298 "type": "not-found",
7299 "name": "not-found",
7300 "xml": "<outcome value='not-found'>\n",
7303 "x": 1357.3834228515625,
7304 "y": 5587.516571044922,
7305 "z": "d1eceead.adafe",
7313 "id": "b24f95b.8630968",
7321 "y": 5527.172332763672,
7322 "z": "d1eceead.adafe",
7330 "id": "2d69161c.7523aa",
7331 "type": "returnFailure",
7332 "name": "return failure",
7333 "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",
7335 "x": 1514.3834228515625,
7336 "y": 5645.516571044922,
7337 "z": "d1eceead.adafe",
7341 "id": "d1cfde55.05efd",
7342 "type": "returnFailure",
7343 "name": "return failure",
7344 "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",
7346 "x": 1525.3834228515625,
7347 "y": 5588.516571044922,
7348 "z": "d1eceead.adafe",
7352 "id": "57f5a4ed.934544",
7354 "name": "for each relationship",
7355 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
7359 "y": 5528.516571044922,
7360 "z": "d1eceead.adafe",
7368 "id": "489e94a0.cb0724",
7369 "type": "switchNode",
7370 "name": "switch related-to",
7371 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
7375 "y": 5521.516571044922,
7376 "z": "d1eceead.adafe",
7384 "id": "680a6c2d.c81304",
7385 "type": "get-resource",
7386 "name": "get-resource src pnf",
7387 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
7390 "x": 1169.88330078125,
7391 "y": 5580.516571044922,
7392 "z": "d1eceead.adafe",
7402 "id": "70d2a39a.39c914",
7404 "name": "esr-thirdparty-sdnc",
7405 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
7409 "y": 5518.516571044922,
7410 "z": "d1eceead.adafe",
7418 "id": "11f0110f.f1cbd7",
7420 "name": "block : atomic",
7421 "xml": "<block atomic=\"true\">",
7424 "x": 2335.8822021484375,
7425 "y": 5521.516571044922,
7426 "z": "d1eceead.adafe",
7436 "id": "f02d2a13.d0aa48",
7438 "name": "execute RestApiCallNode Delete LEAF ethernet Service without token",
7439 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.the-connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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",
7442 "x": 1293.6500244140625,
7443 "y": 5729.916473388672,
7444 "z": "d1eceead.adafe",
7453 "id": "73cc7454.46b21c",
7456 "xml": "<outcome value='failure'>\n",
7459 "x": 1640.1500244140625,
7460 "y": 5722.916473388672,
7461 "z": "d1eceead.adafe",
7469 "id": "983cf462.7773e",
7472 "xml": "<outcome value='success'>\n",
7475 "x": 1644.1500244140625,
7476 "y": 5762.916473388672,
7477 "z": "d1eceead.adafe",
7485 "id": "d64e37c.99aa9c8",
7486 "type": "returnFailure",
7487 "name": "return failure",
7488 "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 delete ethernet service rest api\" />\n",
7490 "x": 1798.1500244140625,
7491 "y": 5722.916473388672,
7492 "z": "d1eceead.adafe",
7496 "id": "63d68d1b.26356c",
7498 "name": "block : atomic",
7499 "xml": "<block atomic=\"true\">",
7503 "x": 1801.6500244140625,
7504 "y": 5762.916473388672,
7505 "z": "d1eceead.adafe",
7511 "id": "119574e6.129413",
7512 "type": "switchNode",
7513 "name": "switch tmp.MMstillHasUni?",
7514 "xml": "\n<switch test=\"`$tmp.MMstillHasUni`\">\n\n",
7517 "x": 913.183349609375,
7518 "y": 5891.716766357422,
7519 "z": "d1eceead.adafe",
7528 "id": "20383b77.9d13bc",
7529 "type": "outcomeTrue",
7531 "xml": "<outcome value='true'>\n",
7534 "x": 1105.183349609375,
7535 "y": 5868.716766357422,
7536 "z": "d1eceead.adafe",
7544 "id": "9b5788ce.9c9408",
7545 "type": "outcomeFalse",
7547 "xml": "<outcome value='false'>\n",
7550 "x": 1093.3500366210938,
7551 "y": 6041.316864013672,
7552 "z": "d1eceead.adafe",
7560 "id": "c8a5ff15.a0cc5",
7567 "x": 1253.35009765625,
7568 "y": 5868.316864013672,
7569 "z": "d1eceead.adafe",
7578 "id": "b646edcc.5849d8",
7580 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",
7581 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",
7584 "x": 1675.199951171875,
7585 "y": 5839.716766357422,
7586 "z": "d1eceead.adafe",
7592 "id": "7aaef741.32dd88",
7593 "type": "switchNode",
7594 "name": "switch found-root-connectivity",
7595 "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
7598 "x": 1490.199951171875,
7599 "y": 5906.716766357422,
7600 "z": "d1eceead.adafe",
7609 "id": "f0373e80.9f5c1",
7610 "type": "outcomeTrue",
7612 "xml": "<outcome value='true'>\n",
7615 "x": 1755.199951171875,
7616 "y": 5891.716766357422,
7617 "z": "d1eceead.adafe",
7625 "id": "17b9923a.e6ff36",
7626 "type": "outcomeFalse",
7628 "xml": "<outcome value='false'>\n",
7631 "x": 1751.199951171875,
7632 "y": 5939.716766357422,
7633 "z": "d1eceead.adafe",
7641 "id": "ea0794c3.5caad8",
7643 "name": "block : atomic",
7644 "xml": "<block atomic='true'>",
7648 "x": 1911.199951171875,
7649 "y": 5887.716766357422,
7650 "z": "d1eceead.adafe",
7658 "id": "f785b40a.2c0f08",
7659 "type": "returnFailure",
7660 "name": "return failure",
7661 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",
7663 "x": 1899.199951171875,
7664 "y": 5934.716766357422,
7665 "z": "d1eceead.adafe",
7669 "id": "c184cafd.df5108",
7671 "name": "update ROOT connectivity resource in AAI",
7672 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",
7675 "x": 2219.8826904296875,
7676 "y": 5881.617156982422,
7677 "z": "d1eceead.adafe",
7683 "id": "c1da52d9.9cf468",
7685 "name": "Update connectivity status to modified",
7688 "x": 2194.0994873046875,
7689 "y": 5839.416961669922,
7690 "z": "d1eceead.adafe",
7694 "id": "80ab1272.8cacd",
7701 "x": 1230.916748046875,
7702 "y": 6040.616668701172,
7703 "z": "d1eceead.adafe",
7712 "id": "49431e5b.e46588",
7714 "name": "for each relationship of middle-man-conn",
7715 "xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",
7718 "x": 1544.23291015625,
7719 "y": 6034.816864013672,
7720 "z": "d1eceead.adafe",
7728 "id": "f57bdc9.9ead4a",
7729 "type": "switchNode",
7730 "name": "switch related-to",
7731 "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",
7734 "x": 1844.566650390625,
7735 "y": 6029.816802978516,
7736 "z": "d1eceead.adafe",
7744 "id": "ba35dccb.3b6bb8",
7746 "name": "connectivity",
7747 "xml": "<outcome value='connectivity'>\n",
7750 "x": 2024.2332763671875,
7751 "y": 6029.81689453125,
7752 "z": "d1eceead.adafe",
7760 "id": "86341ec4.ccb728",
7762 "name": "get connectivity from aai",
7763 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $middle-man-conn.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",
7766 "x": 2224.233154296875,
7767 "y": 6029.816864013672,
7768 "z": "d1eceead.adafe",
7778 "id": "73b15a95.c45e6c",
7781 "xml": "<outcome value='success'>\n",
7784 "x": 2431.23291015625,
7785 "y": 6079.816864013672,
7786 "z": "d1eceead.adafe",
7794 "id": "925dd5ef.2fc678",
7796 "name": "get vpn-binding from aai",
7797 "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",
7800 "x": 2408.466552734375,
7801 "y": 6264.016571044922,
7802 "z": "d1eceead.adafe",
7812 "id": "6ac4c475.ce37cc",
7814 "name": "for each relationship",
7815 "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",
7818 "x": 1607.466552734375,
7819 "y": 6179.016571044922,
7820 "z": "d1eceead.adafe",
7828 "id": "df9efed7.82417",
7829 "type": "switchNode",
7830 "name": "switch related-to",
7831 "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
7834 "x": 1804.466552734375,
7835 "y": 6193.016571044922,
7836 "z": "d1eceead.adafe",
7845 "id": "376f554a.32ded2",
7847 "name": "vpn-binding",
7848 "xml": "<outcome value='vpn-binding'>\n",
7851 "x": 1972.466552734375,
7852 "y": 6186.016571044922,
7853 "z": "d1eceead.adafe",
7861 "id": "bc2d7c0c.7cc4a8",
7863 "name": "block : atomic",
7864 "xml": "<block atomic=\"true\">",
7867 "x": 2135.466552734375,
7868 "y": 6186.016571044922,
7869 "z": "d1eceead.adafe",
7877 "id": "e86a8d88.08809",
7880 "xml": "<outcome value='uni'>\n",
7883 "x": 1988.466552734375,
7884 "y": 6482.016571044922,
7885 "z": "d1eceead.adafe",
7893 "id": "32fa6a7d.612076",
7895 "name": "block : atomic",
7896 "xml": "<block atomic=\"true\">",
7899 "x": 2151.466552734375,
7900 "y": 6482.016571044922,
7901 "z": "d1eceead.adafe",
7909 "id": "6e62ca.5284a538",
7911 "name": "delete uni resource in AAI",
7912 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'>\n",
7915 "x": 2394.466552734375,
7916 "y": 6482.016571044922,
7917 "z": "d1eceead.adafe",
7923 "id": "91368e45.2e3cd8",
7925 "name": "delete connectivity resource in AAI",
7926 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",
7929 "x": 1362.466552734375,
7930 "y": 7248.016571044922,
7931 "z": "d1eceead.adafe",
7937 "id": "d5e5b35.6604c5",
7944 "x": 1433.466552734375,
7945 "y": 6177.016571044922,
7946 "z": "d1eceead.adafe",
7956 "id": "42725353.b4a374",
7959 "xml": "<outcome value='success'>\n",
7962 "x": 2619.466552734375,
7963 "y": 6266.016571044922,
7964 "z": "d1eceead.adafe",
7972 "id": "1745f7ad.eada2",
7973 "type": "not-found",
7974 "name": "not-found",
7975 "xml": "<outcome value='not-found'>\n",
7978 "x": 2619.95751953125,
7979 "y": 6311.590606689453,
7980 "z": "d1eceead.adafe",
7988 "id": "ebfc9334.bdf468",
7991 "xml": "<outcome value='failure'>\n",
7994 "x": 2617.466552734375,
7995 "y": 6355.016571044922,
7996 "z": "d1eceead.adafe",
8004 "id": "ebf7b15b.49862",
8005 "type": "not-found",
8006 "name": "not-found",
8007 "xml": "<outcome value='not-found'>\n",
8010 "x": 2455.282958984375,
8011 "y": 5980.616668701172,
8012 "z": "d1eceead.adafe",
8018 "id": "577c89f1.70257",
8021 "xml": "<outcome value='failure'>\n",
8024 "x": 2452.7919921875,
8025 "y": 6024.042633056641,
8026 "z": "d1eceead.adafe",
8032 "id": "1475339.a9ed04c",
8034 "name": "delete middle-man-conn resource in AAI",
8035 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'>\n",
8038 "x": 1531.400146484375,
8039 "y": 6109.416473388672,
8040 "z": "d1eceead.adafe",
8046 "id": "aedd4240.642968",
8048 "name": "block : atomic",
8049 "xml": "<block atomic=\"true\">",
8052 "x": 2785.466552734375,
8053 "y": 6256.016571044922,
8054 "z": "d1eceead.adafe",
8066 "id": "337169e1.665c2e",
8067 "type": "returnFailure",
8068 "name": "return failure",
8069 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
8071 "x": 2784.466552734375,
8072 "y": 6354.016571044922,
8073 "z": "d1eceead.adafe",
8077 "id": "6425bc45.5cdfcc",
8078 "type": "returnFailure",
8079 "name": "return failure",
8080 "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",
8082 "x": 2782.5289306640625,
8083 "y": 6311.8763427734375,
8084 "z": "d1eceead.adafe",
8088 "id": "20a20b24.b18d74",
8090 "name": "set pnf-name",
8091 "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-binding.src-access-node-id`\" />\n",
8093 "x": 3007.466552734375,
8094 "y": 5974.016571044922,
8095 "z": "d1eceead.adafe",
8099 "id": "da0ac321.ebd92",
8100 "type": "get-resource",
8101 "name": "get-resource src pnf",
8102 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
8105 "x": 3033.466552734375,
8106 "y": 6091.016571044922,
8107 "z": "d1eceead.adafe",
8117 "id": "450533a8.9c748c",
8119 "name": "execute RestApiCallNode Delete OTN tunnel with token",
8120 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\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`\" />",
8123 "x": 3136.466552734375,
8124 "y": 6358.016571044922,
8125 "z": "d1eceead.adafe",
8134 "id": "dc80e7d7.692bf8",
8135 "type": "switchNode",
8136 "name": "switch connectivity has ethernet service",
8137 "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",
8140 "x": 3074.466552734375,
8141 "y": 6493.016571044922,
8142 "z": "d1eceead.adafe",
8151 "id": "7b453ddd.4a4edc",
8153 "name": "delete vpn-binding resource in AAI",
8154 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",
8157 "x": 3055.466552734375,
8158 "y": 6609.016571044922,
8159 "z": "d1eceead.adafe",
8165 "id": "ab328def.9c2568",
8168 "xml": "<outcome value='success'>\n",
8171 "x": 3228.9666748046875,
8172 "y": 6043.016571044922,
8173 "z": "d1eceead.adafe",
8181 "id": "1e0d49ce.54650e",
8182 "type": "not-found",
8183 "name": "not-found",
8184 "xml": "<outcome value='not-found'>\n",
8187 "x": 3220.9666748046875,
8188 "y": 6098.016571044922,
8189 "z": "d1eceead.adafe",
8197 "id": "7b2173a0.a25f4c",
8204 "x": 3363.348876953125,
8205 "y": 6037.672332763672,
8206 "z": "d1eceead.adafe",
8214 "id": "83f96b0e.23503",
8217 "xml": "<outcome value='Other'>\n",
8220 "x": 3225.9666748046875,
8221 "y": 6155.016571044922,
8222 "z": "d1eceead.adafe",
8230 "id": "39d187f7.387c08",
8231 "type": "returnFailure",
8232 "name": "return failure",
8233 "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",
8235 "x": 3377.9666748046875,
8236 "y": 6156.016571044922,
8237 "z": "d1eceead.adafe",
8241 "id": "3e21d08a.9cf2d8",
8242 "type": "returnFailure",
8243 "name": "return failure",
8244 "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",
8246 "x": 3388.9666748046875,
8247 "y": 6099.016571044922,
8248 "z": "d1eceead.adafe",
8252 "id": "865b2c0.812e658",
8255 "xml": "<outcome value='Other'>\n",
8258 "x": 3327.466552734375,
8259 "y": 6471.016571044922,
8260 "z": "d1eceead.adafe",
8268 "id": "75c39310.64e10c",
8271 "xml": "<outcome value=''>\n",
8274 "x": 3327.466552734375,
8275 "y": 6527.016571044922,
8276 "z": "d1eceead.adafe",
8282 "id": "d783eb8.e8d4418",
8284 "name": "for each relationship",
8285 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
8288 "x": 3550.466064453125,
8289 "y": 6039.016571044922,
8290 "z": "d1eceead.adafe",
8298 "id": "22737809.d5a598",
8299 "type": "switchNode",
8300 "name": "switch related-to",
8301 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
8304 "x": 3791.466064453125,
8305 "y": 6030.016571044922,
8306 "z": "d1eceead.adafe",
8314 "id": "772ac851.ed388",
8316 "name": "execute RestApiCallNode Delete ethernet Service without token",
8317 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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",
8320 "x": 3677.466064453125,
8321 "y": 6461.016571044922,
8322 "z": "d1eceead.adafe",
8331 "id": "e189248a.5308d8",
8334 "xml": "<outcome value='failure'>\n",
8337 "x": 3443.966064453125,
8338 "y": 6383.016571044922,
8339 "z": "d1eceead.adafe",
8347 "id": "42e13b38.68927c",
8350 "xml": "<outcome value='success'>\n",
8353 "x": 3444.966064453125,
8354 "y": 6328.016571044922,
8355 "z": "d1eceead.adafe",
8363 "id": "a38fc7bd.ddbeb",
8364 "type": "returnFailure",
8365 "name": "return failure",
8366 "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 delete OTN tunnel rest api\" />\n",
8368 "x": 3615.966064453125,
8369 "y": 6381.016571044922,
8370 "z": "d1eceead.adafe",
8374 "id": "ca98e797.f9c13",
8376 "name": "block : atomic",
8377 "xml": "<block atomic=\"true\">",
8381 "x": 3612.466064453125,
8382 "y": 6330.016571044922,
8383 "z": "d1eceead.adafe",
8389 "id": "63dcc10.1e934c",
8391 "name": "block : atomic",
8392 "xml": "<block atomic=\"true\">",
8395 "x": 4148.4658203125,
8396 "y": 5979.016571044922,
8397 "z": "d1eceead.adafe",
8407 "id": "8e816736.3f1518",
8409 "name": "esr-thirdparty-sdnc",
8410 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
8413 "x": 3997.466064453125,
8414 "y": 6027.016571044922,
8415 "z": "d1eceead.adafe",
8423 "id": "7e278410.d4a45c",
8426 "xml": "<outcome value='failure'>\n",
8429 "x": 4009.966064453125,
8430 "y": 6435.016571044922,
8431 "z": "d1eceead.adafe",
8439 "id": "5323d43d.ae4a94",
8442 "xml": "<outcome value='success'>\n",
8445 "x": 4013.966064453125,
8446 "y": 6475.016571044922,
8447 "z": "d1eceead.adafe",
8455 "id": "da782471.0e218",
8457 "name": "block : atomic",
8458 "xml": "<block atomic=\"true\">",
8462 "x": 4201.466064453125,
8463 "y": 6479.016571044922,
8464 "z": "d1eceead.adafe",
8470 "id": "21b3d920.ac879e",
8471 "type": "returnFailure",
8472 "name": "return failure",
8473 "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 delete ethernet service rest api\" />\n",
8475 "x": 4197.966064453125,
8476 "y": 6439.016571044922,
8477 "z": "d1eceead.adafe",
8481 "id": "7da0f639.3db538",
8483 "name": "get esr-thirdparty-sdnc",
8484 "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.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
8487 "x": 4354.4658203125,
8488 "y": 5992.016571044922,
8489 "z": "d1eceead.adafe",
8499 "id": "cb51edb2.a6957",
8501 "name": "set esr-thirdparty-sdnc domain id",
8502 "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
8504 "x": 4384.4658203125,
8505 "y": 5940.016571044922,
8506 "z": "d1eceead.adafe",
8510 "id": "2a4fa91b.b928a6",
8513 "xml": "<outcome value='success'>\n",
8516 "x": 4564.4658203125,
8517 "y": 5983.016571044922,
8518 "z": "d1eceead.adafe",
8526 "id": "3708f6c9.39ed2a",
8527 "type": "not-found",
8528 "name": "not-found",
8529 "xml": "<outcome value='not-found'>\n",
8532 "x": 4556.4658203125,
8533 "y": 6038.016571044922,
8534 "z": "d1eceead.adafe",
8542 "id": "7ad7cb3f.866b74",
8545 "xml": "<outcome value='Other'>\n",
8548 "x": 4561.4658203125,
8549 "y": 6095.016571044922,
8550 "z": "d1eceead.adafe",
8558 "id": "dfe02514.308cd",
8563 "x": 4304.4658203125,
8564 "y": 6056.016571044922,
8565 "z": "d1eceead.adafe",
8569 "id": "84d1d52.6203b28",
8570 "type": "returnFailure",
8571 "name": "return failure",
8572 "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",
8574 "x": 4713.4658203125,
8575 "y": 6096.016571044922,
8576 "z": "d1eceead.adafe",
8580 "id": "9ceb2b97.8189",
8581 "type": "returnFailure",
8582 "name": "return failure",
8583 "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",
8585 "x": 4724.4658203125,
8586 "y": 6041.016571044922,
8587 "z": "d1eceead.adafe",
8591 "id": "bee63261.4dfe28",
8598 "x": 4708.84814453125,
8599 "y": 5980.6722412109375,
8600 "z": "d1eceead.adafe",
8608 "id": "595ecbb0.cd7dfc",
8610 "name": "set controller domain data",
8611 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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",
8613 "x": 4923.4658203125,
8614 "y": 5977.016571044922,
8615 "z": "d1eceead.adafe",
8619 "id": "e8d2c16f.36acb",
8621 "name": "set pnf-name",
8622 "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.connectivity.access-provider-id + '-clientId-' +\n $tmp.aai.connectivity.access-client-id + '-topologyId-' +\n $tmp.aai.connectivity.access-topology-id + '-nodeId-' +\n $tmp.aai.connectivity.access-node-id`\" />\n",
8624 "x": 1659.2332763671875,
8625 "y": 6774.616668701172,
8626 "z": "d1eceead.adafe",
8630 "id": "656fa541.af35f4",
8631 "type": "get-resource",
8632 "name": "get-resource src pnf",
8633 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
8636 "x": 1685.2332763671875,
8637 "y": 6891.616668701172,
8638 "z": "d1eceead.adafe",
8648 "id": "35de354f.e14d62",
8651 "xml": "<outcome value='success'>\n",
8654 "x": 1880.7333984375,
8655 "y": 6843.616668701172,
8656 "z": "d1eceead.adafe",
8664 "id": "aedf728e.4bd508",
8665 "type": "not-found",
8666 "name": "not-found",
8667 "xml": "<outcome value='not-found'>\n",
8670 "x": 1872.7333984375,
8671 "y": 6898.616668701172,
8672 "z": "d1eceead.adafe",
8680 "id": "5345535d.1f34d4",
8687 "x": 2015.1156005859375,
8688 "y": 6838.272430419922,
8689 "z": "d1eceead.adafe",
8697 "id": "d65aa6c1.4a58e",
8700 "xml": "<outcome value='Other'>\n",
8703 "x": 1877.7333984375,
8704 "y": 6955.616668701172,
8705 "z": "d1eceead.adafe",
8713 "id": "15a64cb6.b20343",
8714 "type": "returnFailure",
8715 "name": "return failure",
8716 "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",
8718 "x": 2029.7333984375,
8719 "y": 6956.616668701172,
8720 "z": "d1eceead.adafe",
8724 "id": "20bec1fa.80674e",
8725 "type": "returnFailure",
8726 "name": "return failure",
8727 "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",
8729 "x": 2040.7333984375,
8730 "y": 6899.616668701172,
8731 "z": "d1eceead.adafe",
8735 "id": "eb473582.da829",
8737 "name": "for each relationship",
8738 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
8741 "x": 2202.2327880859375,
8742 "y": 6839.616668701172,
8743 "z": "d1eceead.adafe",
8751 "id": "b73dec8d.f89198",
8752 "type": "switchNode",
8753 "name": "switch related-to",
8754 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
8757 "x": 2443.2327880859375,
8758 "y": 6830.616668701172,
8759 "z": "d1eceead.adafe",
8767 "id": "8e7e1d35.45d4c8",
8769 "name": "block : atomic",
8770 "xml": "<block atomic=\"true\">",
8773 "x": 2800.2325439453125,
8774 "y": 6779.616668701172,
8775 "z": "d1eceead.adafe",
8785 "id": "1ceb2f26.68ec79",
8787 "name": "esr-thirdparty-sdnc",
8788 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
8791 "x": 2649.2327880859375,
8792 "y": 6827.616668701172,
8793 "z": "d1eceead.adafe",
8801 "id": "2a08582e.e9a11",
8803 "name": "get esr-thirdparty-sdnc",
8804 "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.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
8807 "x": 3006.2325439453125,
8808 "y": 6792.616668701172,
8809 "z": "d1eceead.adafe",
8819 "id": "a2d9c162.524c1",
8824 "x": 2956.2325439453125,
8825 "y": 6856.616668701172,
8826 "z": "d1eceead.adafe",
8830 "id": "a1ade3fe.d4148",
8832 "name": "set esr-thirdparty-sdnc domain id",
8833 "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
8835 "x": 3036.2325439453125,
8836 "y": 6740.616668701172,
8837 "z": "d1eceead.adafe",
8841 "id": "cc4e4323.ff0c8",
8844 "xml": "<outcome value='success'>\n",
8847 "x": 3216.2325439453125,
8848 "y": 6783.616668701172,
8849 "z": "d1eceead.adafe",
8857 "id": "37454266.958e06",
8858 "type": "not-found",
8859 "name": "not-found",
8860 "xml": "<outcome value='not-found'>\n",
8863 "x": 3208.2325439453125,
8864 "y": 6838.616668701172,
8865 "z": "d1eceead.adafe",
8873 "id": "fc54918e.b07f78",
8876 "xml": "<outcome value='Other'>\n",
8879 "x": 3213.2325439453125,
8880 "y": 6895.616668701172,
8881 "z": "d1eceead.adafe",
8889 "id": "f7cc4fee.3d03d8",
8890 "type": "returnFailure",
8891 "name": "return failure",
8892 "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",
8894 "x": 3365.2325439453125,
8895 "y": 6896.616668701172,
8896 "z": "d1eceead.adafe",
8900 "id": "c423f303.cf0fc",
8901 "type": "returnFailure",
8902 "name": "return failure",
8903 "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",
8905 "x": 3376.2325439453125,
8906 "y": 6841.616668701172,
8907 "z": "d1eceead.adafe",
8911 "id": "e3f7ab37.cd3338",
8918 "x": 3360.6148681640625,
8919 "y": 6781.2723388671875,
8920 "z": "d1eceead.adafe",
8928 "id": "a32f770f.0bf93",
8930 "name": "set controller domain data",
8931 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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",
8933 "x": 3575.2325439453125,
8934 "y": 6777.616668701172,
8935 "z": "d1eceead.adafe",
8939 "id": "5c661b6d.db566c",
8941 "name": "block : atomic",
8942 "xml": "<block atomic=\"true\">",
8945 "x": 1451.2332763671875,
8946 "y": 6902.616668701172,
8947 "z": "d1eceead.adafe",
8957 "id": "f25051a6.fa4e28",
8958 "type": "switchNode",
8959 "name": "switch connectivity has ethernet service",
8960 "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",
8963 "x": 1733.433349609375,
8964 "y": 7043.816864013672,
8965 "z": "d1eceead.adafe",
8974 "id": "de989c54.09997",
8977 "xml": "<outcome value='Other'>\n",
8980 "x": 1986.433349609375,
8981 "y": 7021.816864013672,
8982 "z": "d1eceead.adafe",
8990 "id": "81385ecf.138098",
8993 "xml": "<outcome value=''>\n",
8996 "x": 1986.433349609375,
8997 "y": 7077.816864013672,
8998 "z": "d1eceead.adafe",
9004 "id": "78a6b529.99c6a4",
9006 "name": "execute RestApiCallNode Delete ethernet Service without token",
9007 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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",
9010 "x": 2336.432861328125,
9011 "y": 7011.816864013672,
9012 "z": "d1eceead.adafe",
9021 "id": "a19873b6.a4d6e",
9024 "xml": "<outcome value='failure'>\n",
9027 "x": 2668.932861328125,
9028 "y": 6985.816864013672,
9029 "z": "d1eceead.adafe",
9037 "id": "94634cdd.23be6",
9040 "xml": "<outcome value='success'>\n",
9043 "x": 2672.932861328125,
9044 "y": 7025.816864013672,
9045 "z": "d1eceead.adafe",
9053 "id": "4ffd9da0.18218c",
9055 "name": "block : atomic",
9056 "xml": "<block atomic=\"true\">",
9060 "x": 2860.432861328125,
9061 "y": 7029.816864013672,
9062 "z": "d1eceead.adafe",
9068 "id": "2dad16ef.224d22",
9069 "type": "returnFailure",
9070 "name": "return failure",
9071 "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 delete ethernet service rest api\" />\n",
9073 "x": 2856.932861328125,
9074 "y": 6989.816864013672,
9075 "z": "d1eceead.adafe",
9079 "id": "8d45971b.519e08",
9081 "name": "execute RestApiCallNode Delete Underlay OTN tunnel from the LEAF ethernet Service",
9082 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/underlay/otn-tunnels=' + $tmp.underlayOTN`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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",
9086 "y": 4729.39990234375,
9087 "z": "d1eceead.adafe",
9096 "id": "5dcba2e4.9fe114",
9099 "xml": "<outcome value='failure'>\n",
9102 "x": 1517.749755859375,
9103 "y": 4717.39990234375,
9104 "z": "d1eceead.adafe",
9112 "id": "1fae83d7.8f54e4",
9115 "xml": "<outcome value='success'>\n",
9118 "x": 1521.749755859375,
9119 "y": 4757.39990234375,
9120 "z": "d1eceead.adafe",
9128 "id": "504ce75b.b6442",
9129 "type": "returnFailure",
9130 "name": "return failure",
9131 "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 delete ethernet service rest api\" />\n",
9133 "x": 1675.749755859375,
9134 "y": 4717.39990234375,
9135 "z": "d1eceead.adafe",
9139 "id": "2463a8bc.d76748",
9141 "name": "block : atomic",
9142 "xml": "<block atomic=\"true\">",
9146 "x": 1679.249755859375,
9147 "y": 4757.39990234375,
9148 "z": "d1eceead.adafe",