3 "id": "3822698e.fe6a9e",
5 "name": "switch related-to",
6 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
9 "x": 2722.4332885742188,
11 "z": "ec6164d7.ff9708",
19 "id": "61592847.4c1088",
21 "name": "esr-thirdparty-sdnc",
22 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
25 "x": 2859.4332885742188,
27 "z": "ec6164d7.ff9708",
35 "id": "62ff1995.5919b8",
37 "name": "get esr-thirdparty-sdnc",
38 "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' >",
41 "x": 3244.4332885742188,
43 "z": "ec6164d7.ff9708",
53 "id": "a18c2b6d.4397b",
55 "name": "block : atomic",
56 "xml": "<block atomic=\"true\">",
59 "x": 3038.4332885742188,
61 "z": "ec6164d7.ff9708",
71 "id": "f904d45e.838058",
73 "name": "set esr-thirdparty-sdnc domain id",
74 "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",
76 "x": 3274.4332885742188,
78 "z": "ec6164d7.ff9708",
82 "id": "93829917.caf878",
85 "xml": "<outcome value='success'>\n",
88 "x": 3454.4332885742188,
90 "z": "ec6164d7.ff9708",
98 "id": "4d145f4b.31c318",
101 "xml": "<outcome value='not-found'>\n",
104 "x": 3446.4332885742188,
106 "z": "ec6164d7.ff9708",
114 "id": "47a377cc.3a6e08",
117 "xml": "<outcome value='Other'>\n",
120 "x": 3451.4332885742188,
122 "z": "ec6164d7.ff9708",
130 "id": "a269a8ad.5fc788",
131 "type": "returnFailure",
132 "name": "return failure",
133 "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",
135 "x": 3603.4332885742188,
137 "z": "ec6164d7.ff9708",
141 "id": "40a5f22a.13a82c",
142 "type": "returnFailure",
143 "name": "return failure",
144 "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",
146 "x": 3614.4332885742188,
148 "z": "ec6164d7.ff9708",
152 "id": "77ca3f11.791e38",
159 "x": 3598.8156127929688,
160 "y": 1577.6556701660156,
161 "z": "ec6164d7.ff9708",
169 "id": "1f7af3e2.81853c",
171 "name": "set controller domain data",
172 "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",
174 "x": 3813.4332885742188,
176 "z": "ec6164d7.ff9708",
180 "id": "1ddc0d65.0a518b",
185 "x": 3194.4332885742188,
187 "z": "ec6164d7.ff9708",
191 "id": "e639cfa.29b4c3",
192 "type": "returnFailure",
193 "name": "return failure",
194 "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",
196 "x": 2614.9332885742188,
198 "z": "ec6164d7.ff9708",
202 "id": "1f0101e1.8e6866",
204 "name": "block : atomic",
205 "xml": "<block atomic=\"true\">",
209 "x": 2610.4332885742188,
211 "z": "ec6164d7.ff9708",
217 "id": "944f61d3.f96e18",
219 "name": "for each relationship",
220 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
223 "x": 2520.4331665039062,
225 "z": "ec6164d7.ff9708",
233 "id": "63959115.b850c",
235 "name": "set pnf-name",
236 "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",
238 "x": 1968.4330444335938,
240 "z": "ec6164d7.ff9708",
244 "id": "a62a741e.9cd9d",
245 "type": "get-resource",
246 "name": "get-resource src pnf",
247 "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",
250 "x": 1996.4331665039062,
252 "z": "ec6164d7.ff9708",
262 "id": "ca780146.c1231",
265 "xml": "<outcome value='success'>\n",
268 "x": 2191.9332885742188,
270 "z": "ec6164d7.ff9708",
278 "id": "2112ad82.c29caa",
281 "xml": "<outcome value='not-found'>\n",
284 "x": 2183.9332885742188,
286 "z": "ec6164d7.ff9708",
294 "id": "7599f2ce.c74a1c",
301 "x": 2336.3156127929688,
302 "y": 1562.6556701660156,
303 "z": "ec6164d7.ff9708",
311 "id": "937e0d43.e6cd18",
314 "xml": "<outcome value='Other'>\n",
317 "x": 2188.9332885742188,
319 "z": "ec6164d7.ff9708",
327 "id": "76756fa2.c3dc2",
328 "type": "returnFailure",
329 "name": "return failure",
330 "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",
332 "x": 2340.9332885742188,
334 "z": "ec6164d7.ff9708",
338 "id": "5027d99d.8613",
339 "type": "returnFailure",
340 "name": "return failure",
341 "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",
343 "x": 2351.9332885742188,
345 "z": "ec6164d7.ff9708",
349 "id": "64d61f83.5de088",
351 "name": "execute RestApiCallNode Delete OTN tunnel with token",
352 "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`\" />",
355 "x": 2106.4332885742188,
357 "z": "ec6164d7.ff9708",
366 "id": "847a88ab.176f8",
369 "xml": "<outcome value='failure'>\n",
372 "x": 2438.9332885742188,
374 "z": "ec6164d7.ff9708",
382 "id": "60c8b991.b738f",
385 "xml": "<outcome value='success'>\n",
388 "x": 2443.9332885742188,
390 "z": "ec6164d7.ff9708",
398 "id": "a3d6fe2.756c3",
400 "name": "delete vpn-binding resource in AAI",
401 "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",
404 "x": 2029.4332885742188,
406 "z": "ec6164d7.ff9708",
412 "id": "f2fb74bb.786498",
414 "name": "block : atomic",
415 "xml": "<block atomic=\"true\">",
418 "x": 1738.4332885742188,
420 "z": "ec6164d7.ff9708",
433 "id": "d781a807.293c48",
435 "name": "unset tmp.aai.vpn-binding",
436 "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value=\"\" />\n",
438 "x": 2017.6331176757812,
440 "z": "ec6164d7.ff9708",
444 "id": "c5cf8874.0fba",
446 "name": "set tmp.aai.vpn-binding",
447 "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",
449 "x": 2009.6331176757812,
451 "z": "ec6164d7.ff9708",
455 "id": "ea6bf698.38c53",
457 "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",
460 "x": 939.6170654296875,
461 "y": 1565.5166015625,
462 "z": "ec6164d7.ff9708",
466 "id": "6975d798.e5c738",
468 "name": "get all-vpn-bindings from aai",
469 "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",
472 "x": 837.6170654296875,
473 "y": 1600.5166015625,
474 "z": "ec6164d7.ff9708",
484 "id": "c993cc39.ec87d",
487 "xml": "<outcome value='success'>\n",
490 "x": 1042.6170654296875,
491 "y": 1597.5166015625,
492 "z": "ec6164d7.ff9708",
500 "id": "2a52cdc6.c6690a",
503 "xml": "<outcome value='not-found'>\n",
506 "x": 1026.1080322265625,
507 "y": 1659.0906372070312,
508 "z": "ec6164d7.ff9708",
516 "id": "7a224e7c.af9708",
519 "xml": "<outcome value='failure'>\n",
522 "x": 1023.6170654296875,
523 "y": 1702.5166015625,
524 "z": "ec6164d7.ff9708",
532 "id": "6326654e.b84854",
534 "name": "block : atomic",
535 "xml": "<block atomic=\"true\">",
538 "x": 1210.6173095703125,
539 "y": 1592.5166015625,
540 "z": "ec6164d7.ff9708",
548 "id": "a71bbbd1.f4a8c",
549 "type": "returnFailure",
550 "name": "return failure",
551 "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",
553 "x": 1188.679443359375,
554 "y": 1659.3763732910156,
555 "z": "ec6164d7.ff9708",
559 "id": "ec0ca87c.f45398",
560 "type": "returnFailure",
561 "name": "return failure",
562 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
564 "x": 1190.6170654296875,
565 "y": 1701.5166015625,
566 "z": "ec6164d7.ff9708",
570 "id": "2bc4a679.cf5d3a",
572 "name": "for vpnidx in all-vpn-bindings",
573 "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",
576 "x": 836.6173706054688,
577 "y": 1837.5166015625,
578 "z": "ec6164d7.ff9708",
586 "id": "7c4d0989.9bb298",
588 "name": "block : atomic",
589 "xml": "<block atomic='true'>",
593 "x": 1066.6171264648438,
594 "y": 1825.5166015625,
595 "z": "ec6164d7.ff9708",
603 "id": "bd37314.c09c9d",
604 "type": "switchNode",
605 "name": "switch ops-note is srcTtpOtnLayer",
606 "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",
609 "x": 1302.4335327148438,
610 "y": 1824.68310546875,
611 "z": "ec6164d7.ff9708",
620 "id": "d2ea08ce.4f3608",
621 "type": "outcomeTrue",
623 "xml": "<outcome value='true'>\n",
626 "x": 1532.4335327148438,
627 "y": 1819.6826171875,
628 "z": "ec6164d7.ff9708",
636 "id": "40b454d5.b7ece4",
637 "type": "outcomeFalse",
639 "xml": "<outcome value='false'>\n",
642 "x": 1543.4335327148438,
643 "y": 1862.6826171875,
644 "z": "ec6164d7.ff9708",
650 "id": "3e5224b.295e95c",
652 "name": "set srcTtp OTN layer",
653 "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",
655 "x": 1161.1166381835938,
656 "y": 618.3998718261719,
657 "z": "ec6164d7.ff9708",
661 "id": "2f96b0a0.fe469",
663 "name": "unset tmp.aai.all-vpn-bindings",
664 "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",
666 "x": 816.3167724609375,
667 "y": 1526.5166015625,
668 "z": "ec6164d7.ff9708",
672 "id": "8609633e.a887d8",
679 "x": 580.1166381835938,
680 "y": 1556.35009765625,
681 "z": "ec6164d7.ff9708",
690 "id": "483fdff.aacb22",
691 "type": "switchNode",
692 "name": "switch provider-id domainA",
693 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",
696 "x": 1506.1166381835938,
697 "y": 480.3998718261719,
698 "z": "ec6164d7.ff9708",
706 "id": "dda9e843.2f3f18",
708 "name": "for netwidx..allNetworksList_length",
709 "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",
712 "x": 1213.1166381835938,
713 "y": 474.3998718261719,
714 "z": "ec6164d7.ff9708",
722 "id": "d616c0c5.fad828",
725 "xml": "<outcome value='not-found'>\n",
728 "x": 1468.1166381835938,
729 "y": 431.3998718261719,
730 "z": "ec6164d7.ff9708",
736 "id": "a2a08a1a.858e78",
738 "name": "unset parameters",
739 "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
741 "x": 1157.1166381835938,
742 "y": 526.3998718261719,
743 "z": "ec6164d7.ff9708",
747 "id": "201e5d50.a3833a",
749 "name": "set tmp.pce-src-node",
750 "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]`\" />",
752 "x": 1165.1166381835938,
753 "y": 571.3998718261719,
754 "z": "ec6164d7.ff9708",
758 "id": "6eecdb5f.76c2ac",
760 "name": "unset otnTopoIdSrc",
761 "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",
763 "x": 1162.1166381835938,
764 "y": 424.3998718261719,
765 "z": "ec6164d7.ff9708",
769 "id": "c84682e7.370ef",
770 "type": "outcomeTrue",
772 "xml": "<outcome value='true'>\n",
775 "x": 1415.1166381835938,
776 "y": 548.3998718261719,
777 "z": "ec6164d7.ff9708",
785 "id": "ab0f32b5.16cbf8",
786 "type": "switchNode",
787 "name": "switch te-topo-id",
788 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",
791 "x": 1600.1166381835938,
792 "y": 547.3998718261719,
793 "z": "ec6164d7.ff9708",
801 "id": "3e0e37bf.5a574",
803 "name": "block : atomic",
804 "xml": "<block atomic='true'>",
808 "x": 857.1166381835938,
809 "y": 446.3998718261719,
810 "z": "ec6164d7.ff9708",
824 "id": "b0a1b203.5dc08",
826 "name": "The following section is to find srcTtp OTN layer (its long name)",
827 "info": "The following section is to find srcTtp OTN layer (its long name)",
829 "x": 842.1166381835938,
830 "y": 380.3998718261719,
831 "z": "ec6164d7.ff9708",
835 "id": "128161ed.802f86",
836 "type": "get-resource",
837 "name": "get-resource network-resources-list",
838 "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\" >",
841 "x": 1221.1166381835938,
842 "y": 367.3998718261719,
843 "z": "ec6164d7.ff9708",
853 "id": "6219ad91.7b0784",
856 "xml": "<outcome value='success'>\n",
859 "x": 1457.1166381835938,
860 "y": 350.3998718261719,
861 "z": "ec6164d7.ff9708",
867 "id": "4229f1dc.fc23b8",
870 "xml": "<outcome value='Other'>\n",
873 "x": 1454.1166381835938,
874 "y": 391.3998718261719,
875 "z": "ec6164d7.ff9708",
881 "id": "a4e53180.2dfc9",
883 "name": "unset parameters",
884 "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",
886 "x": 1170.1166381835938,
887 "y": 324.3998718261719,
888 "z": "ec6164d7.ff9708",
892 "id": "51342e13.198088",
893 "type": "outcomeTrue",
895 "xml": "<outcome value='true'>\n",
898 "x": 1792.1166381835938,
899 "y": 550.3998718261719,
900 "z": "ec6164d7.ff9708",
908 "id": "6b44ef76.186218",
910 "name": "set otnTopoIdSrc",
911 "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
913 "x": 1964.1166381835938,
914 "y": 546.3998718261719,
915 "z": "ec6164d7.ff9708",
919 "id": "425448fb.cf113",
925 "z": "ec6164d7.ff9708",
933 "id": "99235c0c.841188",
934 "type": "service-logic",
935 "name": "GENERIC-RESOURCE-API ${project.version}",
936 "module": "GENERIC-RESOURCE-API",
937 "version": "${project.version}",
939 "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}'>",
941 "x": 429.2856903076172,
942 "y": 176.23810863494873,
943 "z": "ec6164d7.ff9708",
951 "id": "d962c511.69b1b8",
953 "name": "method cll-vnf-topology-operation-cll-delete-VPNBs",
954 "xml": "<method rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync'>\n",
957 "x": 435.42860412597656,
958 "y": 261.0000305175781,
959 "z": "ec6164d7.ff9708",
967 "id": "9fcccd6f.e18a48",
969 "name": "for each relationship of middle-man-conn",
970 "xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",
973 "x": 806.63330078125,
974 "y": 876.0833740234375,
975 "z": "ec6164d7.ff9708",
983 "id": "fe8b9bc1.266868",
984 "type": "switchNode",
985 "name": "switch related-to",
986 "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",
989 "x": 1106.967041015625,
990 "y": 871.0833129882812,
991 "z": "ec6164d7.ff9708",
999 "id": "a50ce6d7.7af75",
1001 "name": "connectivity",
1002 "xml": "<outcome value='connectivity'>\n",
1005 "x": 1286.6336669921875,
1006 "y": 871.0834045410156,
1007 "z": "ec6164d7.ff9708",
1015 "id": "878c81c6.c1cf08",
1017 "name": "get connectivity from aai",
1018 "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",
1021 "x": 1486.633544921875,
1022 "y": 871.0833740234375,
1023 "z": "ec6164d7.ff9708",
1033 "id": "8b2d18ec.0684a8",
1034 "type": "not-found",
1035 "name": "not-found",
1036 "xml": "<outcome value='not-found'>\n",
1039 "x": 1717.683349609375,
1040 "y": 821.8831787109375,
1041 "z": "ec6164d7.ff9708",
1047 "id": "220d084e.f1aa2",
1050 "xml": "<outcome value='failure'>\n",
1053 "x": 1715.1923828125,
1054 "y": 865.3091430664062,
1055 "z": "ec6164d7.ff9708",
1061 "id": "e5ce5572.0e9be",
1064 "xml": "<outcome value='success'>\n",
1067 "x": 1693.63330078125,
1068 "y": 921.0833740234375,
1069 "z": "ec6164d7.ff9708",
1077 "id": "adf18092.0df43",
1084 "x": 695.866943359375,
1085 "y": 1018.2830810546875,
1086 "z": "ec6164d7.ff9708",
1094 "id": "841267bf.5a37d8",
1096 "name": "for each relationship",
1097 "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",
1100 "x": 869.866943359375,
1101 "y": 1020.2830810546875,
1102 "z": "ec6164d7.ff9708",
1110 "id": "83e51395.23054",
1111 "type": "switchNode",
1112 "name": "switch related-to",
1113 "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
1116 "x": 1066.866943359375,
1117 "y": 1034.2830810546875,
1118 "z": "ec6164d7.ff9708",
1126 "id": "20d4597f.7ec4fe",
1128 "name": "vpn-binding",
1129 "xml": "<outcome value='vpn-binding'>\n",
1132 "x": 1234.866943359375,
1133 "y": 1027.2830810546875,
1134 "z": "ec6164d7.ff9708",
1142 "id": "962e1e07.ed3e1",
1144 "name": "block : atomic",
1145 "xml": "<block atomic=\"true\">",
1148 "x": 1397.866943359375,
1149 "y": 1027.2830810546875,
1150 "z": "ec6164d7.ff9708",
1158 "id": "b3331932.59a4e",
1160 "name": "get vpn-binding from aai",
1161 "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",
1164 "x": 1073.866943359375,
1165 "y": 1167.2830810546875,
1166 "z": "ec6164d7.ff9708",
1176 "id": "1d1a3767.b90801",
1179 "xml": "<outcome value='success'>\n",
1182 "x": 1284.866943359375,
1183 "y": 1169.2830810546875,
1184 "z": "ec6164d7.ff9708",
1192 "id": "1205c3c9.a1fe14",
1193 "type": "not-found",
1194 "name": "not-found",
1195 "xml": "<outcome value='not-found'>\n",
1198 "x": 1285.35791015625,
1199 "y": 1214.8571166992188,
1200 "z": "ec6164d7.ff9708",
1208 "id": "ac824193.0ceb4",
1211 "xml": "<outcome value='failure'>\n",
1214 "x": 1282.866943359375,
1215 "y": 1258.2830810546875,
1216 "z": "ec6164d7.ff9708",
1224 "id": "8c52b3a4.bb9928",
1225 "type": "returnFailure",
1226 "name": "return failure",
1227 "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",
1229 "x": 1447.9293212890625,
1230 "y": 1215.1428527832031,
1231 "z": "ec6164d7.ff9708",
1235 "id": "b8796894.76af28",
1236 "type": "returnFailure",
1237 "name": "return failure",
1238 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
1240 "x": 1449.866943359375,
1241 "y": 1257.2830810546875,
1242 "z": "ec6164d7.ff9708",
1246 "id": "3d324826.e49518",
1248 "name": "block : atomic",
1249 "xml": "<block atomic=\"true\">",
1252 "x": 2047.866943359375,
1253 "y": 1097.2830810546875,
1254 "z": "ec6164d7.ff9708",
1266 "id": "cd0aab83.f02f78",
1268 "name": "set pnf-name",
1269 "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",
1271 "x": 2269.866943359375,
1272 "y": 815.2830810546875,
1273 "z": "ec6164d7.ff9708",
1277 "id": "8058933f.2691e",
1278 "type": "get-resource",
1279 "name": "get-resource src pnf",
1280 "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",
1283 "x": 2295.866943359375,
1284 "y": 932.2830810546875,
1285 "z": "ec6164d7.ff9708",
1295 "id": "f481dab1.2bbd68",
1297 "name": "execute RestApiCallNode Delete OTN tunnel with token",
1298 "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`\" />",
1301 "x": 2398.866943359375,
1302 "y": 1199.2830810546875,
1303 "z": "ec6164d7.ff9708",
1312 "id": "d483622c.685ad",
1315 "xml": "<outcome value='success'>\n",
1318 "x": 2491.3670654296875,
1319 "y": 884.2830810546875,
1320 "z": "ec6164d7.ff9708",
1328 "id": "b6de022b.29ab58",
1329 "type": "not-found",
1330 "name": "not-found",
1331 "xml": "<outcome value='not-found'>\n",
1334 "x": 2483.3670654296875,
1335 "y": 939.2830810546875,
1336 "z": "ec6164d7.ff9708",
1344 "id": "d09e0056.1e082",
1351 "x": 2625.749267578125,
1352 "y": 878.9388427734375,
1353 "z": "ec6164d7.ff9708",
1361 "id": "e510b446.5dd1e8",
1364 "xml": "<outcome value='Other'>\n",
1367 "x": 2488.3670654296875,
1368 "y": 996.2830810546875,
1369 "z": "ec6164d7.ff9708",
1377 "id": "e16f9ab0.64cc3",
1378 "type": "returnFailure",
1379 "name": "return failure",
1380 "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",
1382 "x": 2640.3670654296875,
1383 "y": 997.2830810546875,
1384 "z": "ec6164d7.ff9708",
1388 "id": "9a521350.d6234",
1389 "type": "returnFailure",
1390 "name": "return failure",
1391 "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",
1393 "x": 2651.3670654296875,
1394 "y": 940.2830810546875,
1395 "z": "ec6164d7.ff9708",
1399 "id": "f0956103.d162e8",
1401 "name": "for each relationship",
1402 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
1405 "x": 2812.866455078125,
1406 "y": 880.2830810546875,
1407 "z": "ec6164d7.ff9708",
1415 "id": "af503a6c.61f9f8",
1416 "type": "switchNode",
1417 "name": "switch related-to",
1418 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
1421 "x": 3053.866455078125,
1422 "y": 871.2830810546875,
1423 "z": "ec6164d7.ff9708",
1431 "id": "422a3d0e.0ac58c",
1434 "xml": "<outcome value='failure'>\n",
1437 "x": 2706.366455078125,
1438 "y": 1224.2830810546875,
1439 "z": "ec6164d7.ff9708",
1447 "id": "dc94e365.153108",
1450 "xml": "<outcome value='success'>\n",
1453 "x": 2707.366455078125,
1454 "y": 1169.2830810546875,
1455 "z": "ec6164d7.ff9708",
1463 "id": "dec1fd1f.efb3a",
1464 "type": "returnFailure",
1465 "name": "return failure",
1466 "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",
1468 "x": 2878.366455078125,
1469 "y": 1222.2830810546875,
1470 "z": "ec6164d7.ff9708",
1474 "id": "52cd10d1.f921d8",
1476 "name": "block : atomic",
1477 "xml": "<block atomic=\"true\">",
1481 "x": 2874.866455078125,
1482 "y": 1171.2830810546875,
1483 "z": "ec6164d7.ff9708",
1489 "id": "a1fe3dae.a2d208",
1491 "name": "block : atomic",
1492 "xml": "<block atomic=\"true\">",
1495 "x": 3410.8662109375,
1496 "y": 820.2830810546875,
1497 "z": "ec6164d7.ff9708",
1507 "id": "b61fba47.4726f8",
1509 "name": "esr-thirdparty-sdnc",
1510 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
1513 "x": 3259.866455078125,
1514 "y": 868.2830810546875,
1515 "z": "ec6164d7.ff9708",
1523 "id": "bfd51d3e.a21cb8",
1525 "name": "get esr-thirdparty-sdnc",
1526 "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' >",
1529 "x": 3616.8662109375,
1530 "y": 833.2830810546875,
1531 "z": "ec6164d7.ff9708",
1541 "id": "e7174ef6.88aea",
1543 "name": "set esr-thirdparty-sdnc domain id",
1544 "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",
1546 "x": 3646.8662109375,
1547 "y": 781.2830810546875,
1548 "z": "ec6164d7.ff9708",
1552 "id": "cb1cf6fc.9ef978",
1555 "xml": "<outcome value='success'>\n",
1558 "x": 3826.8662109375,
1559 "y": 824.2830810546875,
1560 "z": "ec6164d7.ff9708",
1568 "id": "7d19de07.9d61",
1569 "type": "not-found",
1570 "name": "not-found",
1571 "xml": "<outcome value='not-found'>\n",
1574 "x": 3818.8662109375,
1575 "y": 879.2830810546875,
1576 "z": "ec6164d7.ff9708",
1584 "id": "2bc4bb18.4f1464",
1587 "xml": "<outcome value='Other'>\n",
1590 "x": 3823.8662109375,
1591 "y": 936.2830810546875,
1592 "z": "ec6164d7.ff9708",
1600 "id": "b48cd5e6.4e4b88",
1605 "x": 3566.8662109375,
1606 "y": 897.2830810546875,
1607 "z": "ec6164d7.ff9708",
1611 "id": "23b7e106.ef601e",
1612 "type": "returnFailure",
1613 "name": "return failure",
1614 "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",
1616 "x": 3975.8662109375,
1617 "y": 937.2830810546875,
1618 "z": "ec6164d7.ff9708",
1622 "id": "4478591a.9ef568",
1623 "type": "returnFailure",
1624 "name": "return failure",
1625 "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",
1627 "x": 3986.8662109375,
1628 "y": 882.2830810546875,
1629 "z": "ec6164d7.ff9708",
1633 "id": "a4768784.394af8",
1640 "x": 3971.24853515625,
1641 "y": 821.9387512207031,
1642 "z": "ec6164d7.ff9708",
1650 "id": "98ec4d86.407d4",
1652 "name": "set controller domain data",
1653 "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",
1655 "x": 4185.8662109375,
1656 "y": 818.2830810546875,
1657 "z": "ec6164d7.ff9708",
1661 "id": "371b3631.1fe46a",
1662 "type": "switchNode",
1663 "name": "switch ops-note is srcTtpOtnLayer",
1664 "xml": "<switch test=\"`$tmp.aai.vpn-binding.ops-note == $tmp.srcTtpOtnLayer `\">\n\n",
1667 "x": 1660.0999755859375,
1668 "y": 1107.2833251953125,
1669 "z": "ec6164d7.ff9708",
1678 "id": "5dda0eba.cba228",
1679 "type": "outcomeTrue",
1681 "xml": "<outcome value='true'>\n",
1684 "x": 1890.0999755859375,
1685 "y": 1102.2828369140625,
1686 "z": "ec6164d7.ff9708",
1694 "id": "cd15371c.43ee48",
1695 "type": "outcomeFalse",
1697 "xml": "<outcome value='false'>\n",
1700 "x": 1901.0999755859375,
1701 "y": 1145.2828369140625,
1702 "z": "ec6164d7.ff9708",
1708 "id": "ce3bd26f.86a788",
1710 "name": "block : atomic",
1711 "xml": "<block atomic='true'>",
1715 "x": 1440.0999755859375,
1716 "y": 1164.683349609375,
1717 "z": "ec6164d7.ff9708",
1725 "id": "119a4845.874928",
1727 "name": "delete vpn-binding resource in AAI",
1728 "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",
1731 "x": 2345.816650390625,
1732 "y": 1314.4833984375,
1733 "z": "ec6164d7.ff9708",
1739 "id": "5f76b8d0.e5e58",
1741 "name": "set Underlay OTN Tunnel Name tmp.underlayOTN",
1742 "xml": "<set>\n<parameter name='tmp.underlayOTN' value=\"`$tmp.aai.vpn-binding.vpn-name`\" />\n",
1744 "x": 2348.0330810546875,
1745 "y": 750.2833251953125,
1746 "z": "ec6164d7.ff9708",