summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json1652
1 files changed, 1652 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
new file mode 100644
index 00000000..edc6aadf
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
@@ -0,0 +1,1652 @@
+[
+ {
+ "id": "ffc612a5.7b0918",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 183,
+ "y": 130,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "6dda290e.27dad8"
+ ]
+ ]
+ },
+ {
+ "id": "6dda290e.27dad8",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "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}'>",
+ "outputs": 1,
+ "x": 308,
+ "y": 456.00001525878906,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "3ffa7f3f.e7e27"
+ ]
+ ]
+ },
+ {
+ "id": "3ffa7f3f.e7e27",
+ "type": "method",
+ "name": "tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
+ "xml": "<method rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 372.0001220703125,
+ "y": 549,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "9aa7ba3c.52a7f"
+ ]
+ ]
+ },
+ {
+ "id": "4ab3abe1.e87adc",
+ "type": "execute",
+ "name": "execute RestApiCallNode getPath from OOF",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 854.9730834960938,
+ "y": 207.99600219726562,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "6b5ff944.5bf648",
+ "850f0c15.20d28"
+ ]
+ ]
+ },
+ {
+ "id": "6b5ff944.5bf648",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1094.9732246398926,
+ "y": 231.9959716796875,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "cd276ba.d3fc218"
+ ]
+ ]
+ },
+ {
+ "id": "905d3517.25cab8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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 OOF api\" />\n",
+ "comments": "",
+ "x": 1233.973258972168,
+ "y": 180.99606323242188,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "850f0c15.20d28",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1093.9730110168457,
+ "y": 180.99606227874756,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "905d3517.25cab8"
+ ]
+ ]
+ },
+ {
+ "id": "6a5159e4.7418a",
+ "type": "comment",
+ "name": "OTN tunnel path computation",
+ "info": "TODO: check input parameters -- they should be\nthe source and destination of ETH node+tp.",
+ "comments": "",
+ "x": 826.4768829345703,
+ "y": 164.00000190734863,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "eda4482b.a18e38",
+ "type": "for",
+ "name": "for vidx..otn-oof.solutions_length[]",
+ "xml": "<for index='vidx' start='0' end='`$otn-oof.solutions_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 845.972900390625,
+ "y": 517.2457275390625,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "576c4b0b.248fb4"
+ ]
+ ]
+ },
+ {
+ "id": "735419f0.115878",
+ "type": "comment",
+ "name": "Loop through OTN links",
+ "info": "",
+ "comments": "",
+ "x": 929.4732055664062,
+ "y": 596.74609375,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "576c4b0b.248fb4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 950.5001220703125,
+ "y": 708.2864990234375,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "da160010.38d94",
+ "5b4dabd5.4d7054"
+ ]
+ ]
+ },
+ {
+ "id": "da160010.38d94",
+ "type": "get-resource",
+ "name": "get-resource cross-link",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"logical-link\" \n\t\tkey=\"logical-link.link-name = $otn-oof.link-name\"\n pfx='tmp.aai.cross-link' local-only='false' >\n\n <!--AND depth = '0'\"-->\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1217.5001220703125,
+ "y": 628.2864685058594,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "38a6a5c5.3878b2",
+ "7911950a.d4f9bc",
+ "c37b490.2ec29b8"
+ ]
+ ]
+ },
+ {
+ "id": "c37b490.2ec29b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1409.0001220703125,
+ "y": 573.2864685058594,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "203a4a36.513986"
+ ]
+ ]
+ },
+ {
+ "id": "38a6a5c5.3878b2",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1445.0001220703125,
+ "y": 698.2864990234375,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "21535143.0a939e"
+ ]
+ ]
+ },
+ {
+ "id": "7911950a.d4f9bc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1439.0001220703125,
+ "y": 748.2864990234375,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "21f78d15.02bd0a"
+ ]
+ ]
+ },
+ {
+ "id": "21535143.0a939e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 1606.0001220703125,
+ "y": 687.2864990234375,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "21f78d15.02bd0a",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 1604.0001220703125,
+ "y": 743.2864990234375,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "875b8573.2757",
+ "type": "comment",
+ "name": "get cross-domain-link information",
+ "info": "",
+ "comments": "",
+ "x": 1218.5001220703125,
+ "y": 589.2864685058594,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "5b4dabd5.4d7054",
+ "type": "set",
+ "name": "set otn-oof.link-name",
+ "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />",
+ "comments": "",
+ "x": 1200.0001220703125,
+ "y": 538.2864685058594,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "cd276ba.d3fc218",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1240.0002708435059,
+ "y": 229.74145698547363,
+ "z": "59711e8e.29744",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9aa7ba3c.52a7f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 612.9688835144043,
+ "y": 475.74163722991943,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "eda4482b.a18e38",
+ "4ab3abe1.e87adc"
+ ]
+ ]
+ },
+ {
+ "id": "edd38a6c.67c6b8",
+ "type": "switchNode",
+ "name": "test cross-domain-link role",
+ "xml": "<switch test='`$tmp.aai.cross-link.link-role`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1724.5001220703125,
+ "y": 573,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "344b3505.db598a"
+ ]
+ ]
+ },
+ {
+ "id": "344b3505.db598a",
+ "type": "outcome",
+ "name": "outcome cross-domain",
+ "xml": "<outcome value='cross-domain'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1960.5001220703125,
+ "y": 574,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "bdc2d141.60e88"
+ ]
+ ]
+ },
+ {
+ "id": "7c9a4f45.2dfb5",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 2279.5,
+ "y": 1051,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "bdc2d141.60e88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2163.5001220703125,
+ "y": 575,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "7c9a4f45.2dfb5",
+ "54d54d35.c8ade4",
+ "965a7aea.98984",
+ "f57884fd.e852f"
+ ]
+ ]
+ },
+ {
+ "id": "7f48300c.649cc8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2604,
+ "y": 542,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "2a6040f8.29261"
+ ]
+ ]
+ },
+ {
+ "id": "9cd22818.9c99c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2637.0001220703125,
+ "y": 600,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "8222994e.269fa"
+ ]
+ ]
+ },
+ {
+ "id": "11e5f855.56b93",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2640.0001220703125,
+ "y": 652,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "39b267f5.2906b8"
+ ]
+ ]
+ },
+ {
+ "id": "8222994e.269fa",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 2822.0001220703125,
+ "y": 604,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "39b267f5.2906b8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 2810.0001220703125,
+ "y": 655,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "6235283.bbe1f58",
+ "type": "set",
+ "name": "set domain A node ttp-id",
+ "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 3940.5,
+ "y": 457,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "4dcc3c3f.b0f8dc",
+ "type": "get-resource",
+ "name": "get-resource src TTP",
+ "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.domain-A.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.src-ttp' local-only='false' >\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3948.5,
+ "y": 509,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "83dfda72.1dad78"
+ ]
+ ]
+ },
+ {
+ "id": "83dfda72.1dad78",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4155,
+ "y": 487,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "bd70272d.20274"
+ ]
+ ]
+ },
+ {
+ "id": "49b3daba.22ab04",
+ "type": "outcome",
+ "name": "tunnel-termination-point",
+ "xml": "<outcome value='tunnel-termination-point'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3492.66845703125,
+ "y": 535.4815063476562,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "2abdfdd6.de70da"
+ ]
+ ]
+ },
+ {
+ "id": "db5fdeca.64d9c8",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2955.3828125,
+ "y": 537.6597290039062,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "7fedd7f6.218328"
+ ]
+ ]
+ },
+ {
+ "id": "7fedd7f6.218328",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$vidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3207.3828125,
+ "y": 534.6597290039062,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "49b3daba.22ab04"
+ ]
+ ]
+ },
+ {
+ "id": "2abdfdd6.de70da",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3719.5,
+ "y": 524,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "6235283.bbe1f58",
+ "4dcc3c3f.b0f8dc",
+ "3af252ac.f5160e",
+ "b3928b44.45b93",
+ "6051cb19.bdbedc"
+ ]
+ ]
+ },
+ {
+ "id": "54d54d35.c8ade4",
+ "type": "get-resource",
+ "name": "get-resource dst tp",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\n\t\t AND p-interface.interface-name = $tmp.cross-link.dst-ltpId\"\n pfx='tmp.aai.dst-tp' local-only='false' >\n \n <!--AND depth = '0'\"-->\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2360.5001220703125,
+ "y": 947,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "caa1180f.475d",
+ "4f60ddcb.06c464",
+ "99e66acf.ef78a8"
+ ]
+ ]
+ },
+ {
+ "id": "caa1180f.475d",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2583,
+ "y": 1089,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "99dd61a2.0612b8"
+ ]
+ ]
+ },
+ {
+ "id": "4f60ddcb.06c464",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2567,
+ "y": 1140,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "ecf71935.9fff1"
+ ]
+ ]
+ },
+ {
+ "id": "99e66acf.ef78a8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2570,
+ "y": 1192,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "b029d176.ebc328"
+ ]
+ ]
+ },
+ {
+ "id": "b029d176.ebc328",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 2740,
+ "y": 1195,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "ecf71935.9fff1",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 2752,
+ "y": 1144,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "446999ee.737b88",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2939.3828125,
+ "y": 1099.6597290039062,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "733247bb.4951e8"
+ ]
+ ]
+ },
+ {
+ "id": "733247bb.4951e8",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3182.3828125,
+ "y": 1098.6597290039062,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "551892cc.c334d4"
+ ]
+ ]
+ },
+ {
+ "id": "d1ae1073.116fc8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4948.5,
+ "y": 900,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "e4453cc8.2d68",
+ "a58a5fab.4b9628",
+ "a3e0896b.517c78"
+ ]
+ ]
+ },
+ {
+ "id": "551892cc.c334d4",
+ "type": "outcome",
+ "name": "tunnel-termination-point",
+ "xml": "<outcome value='tunnel-termination-point'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3438.66845703125,
+ "y": 1098.4815063476562,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "167858f1.4d47ff"
+ ]
+ ]
+ },
+ {
+ "id": "c5e10d55.b93e8",
+ "type": "outcome",
+ "name": "network-resource",
+ "xml": "<outcome value='network-resource'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4735.5,
+ "y": 899,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "d1ae1073.116fc8"
+ ]
+ ]
+ },
+ {
+ "id": "167858f1.4d47ff",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3738.5,
+ "y": 1096,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "b3d72c6d.8cf07",
+ "1624e4ba.2068eb",
+ "140c24f7.3b14f3",
+ "c25cb799.15c3f8",
+ "a035bf70.73a55"
+ ]
+ ]
+ },
+ {
+ "id": "b3d72c6d.8cf07",
+ "type": "set",
+ "name": "set domain B node ttp-id",
+ "xml": "<set>\n<parameter name='tmp.domain-B.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 3980.5,
+ "y": 1050,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "1624e4ba.2068eb",
+ "type": "get-resource",
+ "name": "get-resource dst TTP",
+ "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.domain-B.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3970.5,
+ "y": 1101,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "58cdb5cc.380cfc"
+ ]
+ ]
+ },
+ {
+ "id": "58cdb5cc.380cfc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4158,
+ "y": 1099,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "355115bb.2168d2"
+ ]
+ ]
+ },
+ {
+ "id": "e4453cc8.2d68",
+ "type": "set",
+ "name": "set domain B network-id",
+ "xml": "<set>\n<parameter name='tmp.domain-B.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 5218.5,
+ "y": 876,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "a58a5fab.4b9628",
+ "type": "get-resource",
+ "name": "get-resource dst network-resource",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-B.network-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5228.5,
+ "y": 922,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "a2d84f11.e4cb88"
+ ]
+ ]
+ },
+ {
+ "id": "a2d84f11.e4cb88",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5444,
+ "y": 913,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "33f08d3a.c124c2"
+ ]
+ ]
+ },
+ {
+ "id": "33f08d3a.c124c2",
+ "type": "set",
+ "name": "set domain B network-id, topo-id, client-id, etc",
+ "xml": "<set>\n<parameter name='domain-B.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-B.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-B.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-B.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-B.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n",
+ "comments": "",
+ "x": 5698.5,
+ "y": 919,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "2a6040f8.29261",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2738,
+ "y": 538,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "db5fdeca.64d9c8"
+ ]
+ ]
+ },
+ {
+ "id": "99dd61a2.0612b8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2729,
+ "y": 1080,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "446999ee.737b88"
+ ]
+ ]
+ },
+ {
+ "id": "203a4a36.513986",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1543,
+ "y": 575,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "edd38a6c.67c6b8"
+ ]
+ ]
+ },
+ {
+ "id": "965a7aea.98984",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2313,
+ "y": 359,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "3bc95abb.a9239e"
+ ]
+ ]
+ },
+ {
+ "id": "3bc95abb.a9239e",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2512,
+ "y": 356,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "3cce24fd.740654"
+ ]
+ ]
+ },
+ {
+ "id": "3cce24fd.740654",
+ "type": "outcome",
+ "name": "p-interface",
+ "xml": "<outcome value='p-interface'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2689.117431640625,
+ "y": 354.34027099609375,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "6ac060c8.1a11e8"
+ ]
+ ]
+ },
+ {
+ "id": "9ef5481b.bf4b48",
+ "type": "set",
+ "name": "set src-ltpId and dst-ltpId",
+ "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[1].relationship-value`\" />\n\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[0].relationship-value`\" />\n\n\n",
+ "comments": "",
+ "x": 3003,
+ "y": 298,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "ddeb58ef.e40c3",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 2964,
+ "y": 361,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "6ac060c8.1a11e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2829,
+ "y": 339,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "9ef5481b.bf4b48",
+ "ddeb58ef.e40c3"
+ ]
+ ]
+ },
+ {
+ "id": "bd70272d.20274",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4330,
+ "y": 483,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "b2e7a790.6b1818"
+ ]
+ ]
+ },
+ {
+ "id": "355115bb.2168d2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4347,
+ "y": 1088,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "d4658a57.f78ed8"
+ ]
+ ]
+ },
+ {
+ "id": "f57884fd.e852f",
+ "type": "get-resource",
+ "name": "get-resource src tp",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n pfx='tmp.aai.src-tp' local-only='false' >\n \n <!--AND depth = '0'\"-->\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2406.5001220703125,
+ "y": 581,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "7f48300c.649cc8",
+ "9cd22818.9c99c",
+ "11e5f855.56b93"
+ ]
+ ]
+ },
+ {
+ "id": "3af252ac.f5160e",
+ "type": "get-resource",
+ "name": "get-resource src pnf",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\"\n pfx='tmp.aai.src-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3810,
+ "y": 327,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "fd4b75db.4422e8",
+ "650bdcdc.cfece4",
+ "72662c6f.14033c"
+ ]
+ ]
+ },
+ {
+ "id": "fd4b75db.4422e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4005.5001220703125,
+ "y": 279,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "b45c7d99.22c22"
+ ]
+ ]
+ },
+ {
+ "id": "650bdcdc.cfece4",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3997.5001220703125,
+ "y": 334,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "cb3c1121.cbe778"
+ ]
+ ]
+ },
+ {
+ "id": "72662c6f.14033c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4002.5001220703125,
+ "y": 391,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "789ed2a8.499b74"
+ ]
+ ]
+ },
+ {
+ "id": "789ed2a8.499b74",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 4154.5001220703125,
+ "y": 392,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "cb3c1121.cbe778",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 4165.5001220703125,
+ "y": 337,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "b45c7d99.22c22",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4149.8824462890625,
+ "y": 276.6556701660156,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "ba380e73.fe2bc8",
+ "65a7e039.6dcda8"
+ ]
+ ]
+ },
+ {
+ "id": "ba380e73.fe2bc8",
+ "type": "set",
+ "name": "set domain A node-id and tpn",
+ "xml": "<set>\n<parameter name='domain-A.node-id' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='domain-A.tpn' value='1' />\n",
+ "comments": "",
+ "x": 4375,
+ "y": 232,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "b3928b44.45b93",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 3897,
+ "y": 574,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "b2e7a790.6b1818",
+ "type": "set",
+ "name": "set domain A tunnel tp ip",
+ "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n",
+ "comments": "",
+ "x": 4591,
+ "y": 480,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "c25cb799.15c3f8",
+ "type": "get-resource",
+ "name": "get-resource dst pnf",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\"\n pfx='tmp.aai.dst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3807,
+ "y": 930,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "c37473f2.19f208",
+ "c644027c.70c3f8",
+ "98fb79a9.84cdc8"
+ ]
+ ]
+ },
+ {
+ "id": "98fb79a9.84cdc8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4002.5001220703125,
+ "y": 882,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "3c4a5895.c63a"
+ ]
+ ]
+ },
+ {
+ "id": "c644027c.70c3f8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3994.5001220703125,
+ "y": 937,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "70fd1b7c.8d1aac"
+ ]
+ ]
+ },
+ {
+ "id": "c37473f2.19f208",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3999.5001220703125,
+ "y": 994,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "cd3e066f.324aa"
+ ]
+ ]
+ },
+ {
+ "id": "3c4a5895.c63a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4146.8824462890625,
+ "y": 879.6556701660156,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "a79b012a.c282e",
+ "469c63f2.54b414"
+ ]
+ ]
+ },
+ {
+ "id": "70fd1b7c.8d1aac",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 4162.5001220703125,
+ "y": 940,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "cd3e066f.324aa",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 4151.5001220703125,
+ "y": 995,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "a79b012a.c282e",
+ "type": "set",
+ "name": "set domain B node-id and tpn",
+ "xml": "<set>\n<parameter name='domain-B.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-B.tpn' value='1' />\n",
+ "comments": "",
+ "x": 4356,
+ "y": 847,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "140c24f7.3b14f3",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 3926,
+ "y": 1142,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "d4658a57.f78ed8",
+ "type": "set",
+ "name": "set domain B tunnel tp id",
+ "xml": "<set>\n<parameter name='domain-B.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n",
+ "comments": "",
+ "x": 4580,
+ "y": 1087,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "4b900139.065478",
+ "type": "outcome",
+ "name": "network-resource",
+ "xml": "<outcome value='network-resource'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4732,
+ "y": 295,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "c3283205.62573"
+ ]
+ ]
+ },
+ {
+ "id": "c3283205.62573",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4909,
+ "y": 287,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "e3322f04.45bf9",
+ "201af2cb.ff685e",
+ "24c615e9.67af32"
+ ]
+ ]
+ },
+ {
+ "id": "e3322f04.45bf9",
+ "type": "set",
+ "name": "set domain A network-id",
+ "xml": "<set>\n<parameter name='tmp.domain-A.network-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 5124,
+ "y": 268,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "201af2cb.ff685e",
+ "type": "get-resource",
+ "name": "get-resource src network-resource",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-A.network-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.src-network-resource' local-only='false' >\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5141,
+ "y": 332,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "ba151945.9e348"
+ ]
+ ]
+ },
+ {
+ "id": "ba151945.9e348",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5364.5,
+ "y": 333,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "bf5ba977.146f8"
+ ]
+ ]
+ },
+ {
+ "id": "bf5ba977.146f8",
+ "type": "set",
+ "name": "set domain A network-id, topo-id, client-id, etc",
+ "xml": "<set>\n<parameter name='domain-A.network-id' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='domain-A.provider-id' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='domain-A.client-id' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='domain-A.te-topo-id' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='domain-A.network-type' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n\n\n",
+ "comments": "",
+ "x": 5629,
+ "y": 322,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "65a7e039.6dcda8",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4334,
+ "y": 291,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "ebc07ec5.500b48"
+ ]
+ ]
+ },
+ {
+ "id": "ebc07ec5.500b48",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4529,
+ "y": 291,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "4b900139.065478"
+ ]
+ ]
+ },
+ {
+ "id": "24c615e9.67af32",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 5068,
+ "y": 385,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "469c63f2.54b414",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4335,
+ "y": 898,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "a4a499c0.e7f04"
+ ]
+ ]
+ },
+ {
+ "id": "a4a499c0.e7f04",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4530,
+ "y": 898,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "c5e10d55.b93e8"
+ ]
+ ]
+ },
+ {
+ "id": "a3e0896b.517c78",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 5154,
+ "y": 978,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "6051cb19.bdbedc",
+ "type": "execute",
+ "name": "execute split tp-id to get pnf-name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.src-tp`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3838,
+ "y": 121,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "474c52a4.93fc74",
+ "2bdecc1b.43ff94"
+ ]
+ ]
+ },
+ {
+ "id": "2bdecc1b.43ff94",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4059,
+ "y": 89,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "21520c33.eb9b1c"
+ ]
+ ]
+ },
+ {
+ "id": "474c52a4.93fc74",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4059,
+ "y": 136,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "ff0936f5.25fc9"
+ ]
+ ]
+ },
+ {
+ "id": "21520c33.eb9b1c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4224,
+ "y": 86,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "47f81613.356b38"
+ ]
+ ]
+ },
+ {
+ "id": "47f81613.356b38",
+ "type": "set",
+ "name": "set domain-A.ltpId",
+ "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n",
+ "comments": "",
+ "x": 4406,
+ "y": 90,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "ff0936f5.25fc9",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 4226,
+ "y": 136,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "a035bf70.73a55",
+ "type": "execute",
+ "name": "execute split tp-id to get pnf-name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-dst-tp\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3846,
+ "y": 745,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "310e01dd.c1a27e",
+ "976ae4f1.c35c1"
+ ]
+ ]
+ },
+ {
+ "id": "976ae4f1.c35c1",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4067,
+ "y": 713,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "20b670c9.8ae9c8"
+ ]
+ ]
+ },
+ {
+ "id": "310e01dd.c1a27e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4067,
+ "y": 760,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "75ef28c6.5e31a"
+ ]
+ ]
+ },
+ {
+ "id": "20b670c9.8ae9c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4232,
+ "y": 710,
+ "z": "59711e8e.29744",
+ "wires": [
+ [
+ "3c392a8.397b7d6"
+ ]
+ ]
+ },
+ {
+ "id": "3c392a8.397b7d6",
+ "type": "set",
+ "name": "set domain-B.ltpId",
+ "xml": "<set>\n<parameter name='domain-B.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n",
+ "comments": "",
+ "x": 4428,
+ "y": 707,
+ "z": "59711e8e.29744",
+ "wires": []
+ },
+ {
+ "id": "75ef28c6.5e31a",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 4234,
+ "y": 760,
+ "z": "59711e8e.29744",
+ "wires": []
+ }
+] \ No newline at end of file