+ },\r
+ {\r
+ "id": "9fcccd6f.e18a48",\r
+ "type": "for",\r
+ "name": "for each relationship of middle-man-conn",\r
+ "xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 806.63330078125,\r
+ "y": 876.0833740234375,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "fe8b9bc1.266868"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fe8b9bc1.266868",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1106.967041015625,\r
+ "y": 871.0833129882812,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "a50ce6d7.7af75"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a50ce6d7.7af75",\r
+ "type": "outcome",\r
+ "name": "connectivity",\r
+ "xml": "<outcome value='connectivity'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1286.6336669921875,\r
+ "y": 871.0834045410156,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "878c81c6.c1cf08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "878c81c6.c1cf08",\r
+ "type": "save",\r
+ "name": "get connectivity from aai",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1486.633544921875,\r
+ "y": 871.0833740234375,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "e5ce5572.0e9be",\r
+ "220d084e.f1aa2",\r
+ "8b2d18ec.0684a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b2d18ec.0684a8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1717.683349609375,\r
+ "y": 821.8831787109375,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "220d084e.f1aa2",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1715.1923828125,\r
+ "y": 865.3091430664062,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e5ce5572.0e9be",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1693.63330078125,\r
+ "y": 921.0833740234375,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "adf18092.0df43"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "adf18092.0df43",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 695.866943359375,\r
+ "y": 1018.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "841267bf.5a37d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "841267bf.5a37d8",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 869.866943359375,\r
+ "y": 1020.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "83e51395.23054"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "83e51395.23054",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1066.866943359375,\r
+ "y": 1034.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "20d4597f.7ec4fe"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "20d4597f.7ec4fe",\r
+ "type": "outcome",\r
+ "name": "vpn-binding",\r
+ "xml": "<outcome value='vpn-binding'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1234.866943359375,\r
+ "y": 1027.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "962e1e07.ed3e1"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "962e1e07.ed3e1",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1397.866943359375,\r
+ "y": 1027.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "b3331932.59a4e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b3331932.59a4e",\r
+ "type": "save",\r
+ "name": "get vpn-binding from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1073.866943359375,\r
+ "y": 1167.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "1d1a3767.b90801",\r
+ "1205c3c9.a1fe14",\r
+ "ac824193.0ceb4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1d1a3767.b90801",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1284.866943359375,\r
+ "y": 1169.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "ce3bd26f.86a788"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1205c3c9.a1fe14",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1285.35791015625,\r
+ "y": 1214.8571166992188,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "8c52b3a4.bb9928"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ac824193.0ceb4",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1282.866943359375,\r
+ "y": 1258.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "b8796894.76af28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8c52b3a4.bb9928",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 1447.9293212890625,\r
+ "y": 1215.1428527832031,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b8796894.76af28",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "comments": "",\r
+ "x": 1449.866943359375,\r
+ "y": 1257.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3d324826.e49518",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2047.866943359375,\r
+ "y": 1097.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "cd0aab83.f02f78",\r
+ "8058933f.2691e",\r
+ "f481dab1.2bbd68",\r
+ "119a4845.874928",\r
+ "5f76b8d0.e5e58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cd0aab83.f02f78",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "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",\r
+ "comments": "",\r
+ "x": 2269.866943359375,\r
+ "y": 815.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8058933f.2691e",\r
+ "type": "get-resource",\r
+ "name": "get-resource src pnf",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2295.866943359375,\r
+ "y": 932.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "d483622c.685ad",\r
+ "b6de022b.29ab58",\r
+ "e510b446.5dd1e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f481dab1.2bbd68",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Delete OTN tunnel with token",\r
+ "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`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2398.866943359375,\r
+ "y": 1199.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "422a3d0e.0ac58c",\r
+ "dc94e365.153108"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d483622c.685ad",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2491.3670654296875,\r
+ "y": 884.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "d09e0056.1e082"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b6de022b.29ab58",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2483.3670654296875,\r
+ "y": 939.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "9a521350.d6234"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d09e0056.1e082",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2625.749267578125,\r
+ "y": 878.9388427734375,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "f0956103.d162e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e510b446.5dd1e8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2488.3670654296875,\r
+ "y": 996.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "e16f9ab0.64cc3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e16f9ab0.64cc3",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 2640.3670654296875,\r
+ "y": 997.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9a521350.d6234",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 2651.3670654296875,\r
+ "y": 940.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f0956103.d162e8",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2812.866455078125,\r
+ "y": 880.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "af503a6c.61f9f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "af503a6c.61f9f8",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3053.866455078125,\r
+ "y": 871.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "b61fba47.4726f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "422a3d0e.0ac58c",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2706.366455078125,\r
+ "y": 1224.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "dec1fd1f.efb3a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dc94e365.153108",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2707.366455078125,\r
+ "y": 1169.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "52cd10d1.f921d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dec1fd1f.efb3a",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 2878.366455078125,\r
+ "y": 1222.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "52cd10d1.f921d8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2874.866455078125,\r
+ "y": 1171.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a1fe3dae.a2d208",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3410.8662109375,\r
+ "y": 820.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "e7174ef6.88aea",\r
+ "bfd51d3e.a21cb8",\r
+ "b48cd5e6.4e4b88"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b61fba47.4726f8",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3259.866455078125,\r
+ "y": 868.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "a1fe3dae.a2d208"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bfd51d3e.a21cb8",\r
+ "type": "execute",\r
+ "name": "get esr-thirdparty-sdnc",\r
+ "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' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3616.8662109375,\r
+ "y": 833.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "cb1cf6fc.9ef978",\r
+ "7d19de07.9d61",\r
+ "2bc4bb18.4f1464"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e7174ef6.88aea",\r
+ "type": "set",\r
+ "name": "set esr-thirdparty-sdnc domain id",\r
+ "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",\r
+ "comments": "",\r
+ "x": 3646.8662109375,\r
+ "y": 781.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cb1cf6fc.9ef978",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3826.8662109375,\r
+ "y": 824.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "a4768784.394af8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7d19de07.9d61",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3818.8662109375,\r
+ "y": 879.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "4478591a.9ef568"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2bc4bb18.4f1464",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3823.8662109375,\r
+ "y": 936.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "23b7e106.ef601e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b48cd5e6.4e4b88",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 3566.8662109375,\r
+ "y": 897.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "23b7e106.ef601e",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 3975.8662109375,\r
+ "y": 937.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4478591a.9ef568",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 3986.8662109375,\r
+ "y": 882.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a4768784.394af8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3971.24853515625,\r
+ "y": 821.9387512207031,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "98ec4d86.407d4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "98ec4d86.407d4",\r
+ "type": "set",\r
+ "name": "set controller domain data",\r
+ "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",\r
+ "comments": "",\r
+ "x": 4185.8662109375,\r
+ "y": 818.2830810546875,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "371b3631.1fe46a",\r
+ "type": "switchNode",\r
+ "name": "switch ops-note is srcTtpOtnLayer",\r
+ "xml": "<switch test=\"`$tmp.aai.vpn-binding.ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1660.0999755859375,\r
+ "y": 1107.2833251953125,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "5dda0eba.cba228",\r
+ "cd15371c.43ee48"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5dda0eba.cba228",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1890.0999755859375,\r
+ "y": 1102.2828369140625,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "3d324826.e49518"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cd15371c.43ee48",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1901.0999755859375,\r
+ "y": 1145.2828369140625,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ce3bd26f.86a788",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1440.0999755859375,\r
+ "y": 1164.683349609375,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ [\r
+ "371b3631.1fe46a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "119a4845.874928",\r
+ "type": "save",\r
+ "name": "delete vpn-binding resource in AAI",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2345.816650390625,\r
+ "y": 1314.4833984375,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "5f76b8d0.e5e58",\r
+ "type": "set",\r
+ "name": "set Underlay OTN Tunnel Name tmp.underlayOTN",\r
+ "xml": "<set>\n<parameter name='tmp.underlayOTN' value=\"`$tmp.aai.vpn-binding.vpn-name`\" />\n",\r
+ "comments": "",\r
+ "x": 2348.0330810546875,\r
+ "y": 750.2833251953125,\r
+ "z": "ec6164d7.ff9708",\r
+ "wires": []\r