[\r
{\r
- "id": "4bc4e8ab.1cf33",\r
+ "id": "58e34c1c.fa2ef4",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 93,\r
- "y": 85,\r
- "z": "6311a927.78727",\r
+ "x": 169,\r
+ "y": 87,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "7e764ef5.0f0ce8"\r
+ "7debdd32.eca72c"\r
]\r
]\r
},\r
{\r
- "id": "7e764ef5.0f0ce8",\r
+ "id": "7debdd32.eca72c",\r
"type": "service-logic",\r
"name": "GENERIC-RESOURCE-API ${project.version}",\r
"module": "GENERIC-RESOURCE-API",\r
"comments": "",\r
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
"outputs": 1,\r
- "x": 240,\r
- "y": 660.0000152587891,\r
- "z": "6311a927.78727",\r
+ "x": 316,\r
+ "y": 662.0000152587891,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "dba1761d.84c318"\r
+ "17937dc9.2355da"\r
]\r
]\r
},\r
{\r
- "id": "dba1761d.84c318",\r
+ "id": "17937dc9.2355da",\r
"type": "method",\r
"name": "tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
"xml": "<method rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 304.0001220703125,\r
- "y": 753,\r
- "z": "6311a927.78727",\r
+ "x": 380.0001220703125,\r
+ "y": 755,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "45853653.2d7d8"\r
+ "3e6ce739.eeb648"\r
]\r
]\r
},\r
{\r
- "id": "29b9ed96.3b1cca",\r
+ "id": "d05eda9f.63c82",\r
"type": "execute",\r
"name": "execute RestApiCallNode getPath from OOF",\r
"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 + '?ethsrvType=' + $prop.ethsrvType`\" />\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`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 349.9730682373047,\r
- "y": 271.996000289917,\r
- "z": "6311a927.78727",\r
+ "x": 425.9730682373047,\r
+ "y": 273.996000289917,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "5ed3456b.75dffc",\r
- "d4b7459.be16038"\r
+ "d4681312.af0c78",\r
+ "83728f7.d5447f"\r
]\r
]\r
},\r
{\r
- "id": "5ed3456b.75dffc",\r
+ "id": "d4681312.af0c78",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 589.9732093811035,\r
- "y": 295.99596977233887,\r
- "z": "6311a927.78727",\r
+ "x": 665.9732093811035,\r
+ "y": 297.99596977233887,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "c8e36f8b.a2bbd8"\r
+ "b7d4d2f2.ad66"\r
]\r
]\r
},\r
{\r
- "id": "e29f4917.f911e8",\r
+ "id": "54760f3b.4160e8",\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 OOF api\" />\n",\r
"comments": "",\r
- "x": 759.9731292724609,\r
- "y": 235.99606132507324,\r
- "z": "6311a927.78727",\r
+ "x": 835.9731292724609,\r
+ "y": 237.99606132507324,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "d4b7459.be16038",\r
+ "id": "83728f7.d5447f",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 588.9729957580566,\r
- "y": 244.99606037139893,\r
- "z": "6311a927.78727",\r
+ "x": 664.9729957580566,\r
+ "y": 246.99606037139893,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "e29f4917.f911e8"\r
+ "54760f3b.4160e8"\r
]\r
]\r
},\r
{\r
- "id": "a76b8924.9422c",\r
+ "id": "2a1c3926.ccf68e",\r
"type": "comment",\r
"name": "OTN tunnel path computation",\r
"info": "TODO: check input parameters -- they should be\nthe source and destination of ETH node+tp.",\r
"comments": "",\r
- "x": 321.47686767578125,\r
- "y": 228,\r
- "z": "6311a927.78727",\r
+ "x": 397.47686767578125,\r
+ "y": 230,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "485028.3d8fcfd8",\r
+ "id": "b642d1e9.ee8bf8",\r
"type": "for",\r
"name": "for vidx..otn-oof.solutions_length[]",\r
"xml": "<for index='vidx' start='0' end='`$otn-oof.solutions_length`' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 777.972900390625,\r
- "y": 721.2457275390625,\r
- "z": "6311a927.78727",\r
+ "x": 853.972900390625,\r
+ "y": 723.2457275390625,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "b7d2be7c.5e3ac8"\r
+ "782120ce.0449f"\r
]\r
]\r
},\r
{\r
- "id": "c4646d25.9ab0f",\r
+ "id": "1e8a6121.3ebf8f",\r
"type": "comment",\r
"name": "Loop through OTN links",\r
"info": "",\r
"comments": "",\r
- "x": 861.4732055664062,\r
- "y": 800.74609375,\r
- "z": "6311a927.78727",\r
+ "x": 937.4732055664062,\r
+ "y": 802.74609375,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "b7d2be7c.5e3ac8",\r
+ "id": "782120ce.0449f",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 882.5001220703125,\r
- "y": 912.2864990234375,\r
- "z": "6311a927.78727",\r
+ "x": 958.5001220703125,\r
+ "y": 914.2864990234375,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "6750495a.41286",\r
- "abe518b.cefde68",\r
- "165db6ae.de2bb9",\r
- "fda3acff.66dac8",\r
- "188880e9.f084a7"\r
+ "c89cb66b.dc0d2",\r
+ "154e7688.b29339",\r
+ "4f1a8be1.b37344",\r
+ "2cdce288.c30c46",\r
+ "287cbb25.9abd94"\r
]\r
]\r
},\r
{\r
- "id": "6750495a.41286",\r
+ "id": "c89cb66b.dc0d2",\r
"type": "set",\r
"name": "set otn-oof.link-name and etc.",\r
"xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].original_link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].src_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].dst_node`' />",\r
"comments": "",\r
- "x": 1129.0001220703125,\r
- "y": 805.2864990234375,\r
- "z": "6311a927.78727",\r
+ "x": 1205.0001220703125,\r
+ "y": 807.2864990234375,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "c8e36f8b.a2bbd8",\r
+ "id": "b7d4d2f2.ad66",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 735.0002555847168,\r
- "y": 293.741455078125,\r
- "z": "6311a927.78727",\r
+ "x": 811.0002555847168,\r
+ "y": 295.741455078125,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "45853653.2d7d8",\r
+ "id": "3e6ce739.eeb648",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 544.9688835144043,\r
- "y": 679.7416372299194,\r
- "z": "6311a927.78727",\r
+ "x": 620.9688835144043,\r
+ "y": 681.7416372299194,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "485028.3d8fcfd8",\r
- "7882cf69.81bba",\r
- "f346bebe.50149"\r
+ "b642d1e9.ee8bf8",\r
+ "d800f8fa.097b28",\r
+ "3eb232d2.31d3ce",\r
+ "7d4b4351.930cbc"\r
]\r
]\r
},\r
{\r
- "id": "9f64f3d6.06a948",\r
+ "id": "b9e5ba4.2ed1f48",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 2296.4998779296875,\r
- "y": 1238,\r
- "z": "6311a927.78727",\r
+ "x": 2372.4998779296875,\r
+ "y": 1240,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "188880e9.f084a7",\r
+ "id": "287cbb25.9abd94",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1095.5001220703125,\r
- "y": 994,\r
- "z": "6311a927.78727",\r
+ "x": 1171.5001220703125,\r
+ "y": 996,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "d9b8b0f0.11df08",\r
- "16b2f778.e973e1"\r
+ "55e25897.4f1fe8",\r
+ "1809a4d6.ba2673"\r
]\r
]\r
},\r
{\r
- "id": "6f8fa296.cf0b14",\r
+ "id": "ed734d7c.04c2f8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2620.9998779296875,\r
- "y": 729,\r
- "z": "6311a927.78727",\r
+ "x": 2696.9998779296875,\r
+ "y": 731,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "53738595.29239c"\r
+ "d4861d1.90a2f6"\r
]\r
]\r
},\r
{\r
- "id": "dfb73ef2.d6e5",\r
+ "id": "551be9a2.28b98",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2654,\r
- "y": 787,\r
- "z": "6311a927.78727",\r
+ "x": 2730,\r
+ "y": 789,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "3b0779f0.32a56e"\r
+ "bc9d63b9.95524"\r
]\r
]\r
},\r
{\r
- "id": "a2313ee1.1bd3f8",\r
+ "id": "22092f51.833d9",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2657,\r
- "y": 839,\r
- "z": "6311a927.78727",\r
+ "x": 2733,\r
+ "y": 841,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "28c1fd94.c84d7a"\r
+ "757b2f22.e7f98"\r
]\r
]\r
},\r
{\r
- "id": "3b0779f0.32a56e",\r
+ "id": "bc9d63b9.95524",\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": 2839,\r
- "y": 791,\r
- "z": "6311a927.78727",\r
+ "x": 2915,\r
+ "y": 793,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "28c1fd94.c84d7a",\r
+ "id": "757b2f22.e7f98",\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": 2827,\r
- "y": 842,\r
- "z": "6311a927.78727",\r
+ "x": 2903,\r
+ "y": 844,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "e56a35d6.459af8",\r
+ "id": "1391535e.6e46bd",\r
"type": "set",\r
"name": "set domain A node ttp-id",\r
"xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 3957.4998779296875,\r
- "y": 644,\r
- "z": "6311a927.78727",\r
+ "x": 4033.4998779296875,\r
+ "y": 646,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "a811b593.25ff8",\r
+ "id": "2d1abf42.aacfc8",\r
"type": "get-resource",\r
"name": "get-resource src TTP",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3965.4998779296875,\r
- "y": 696,\r
- "z": "6311a927.78727",\r
+ "x": 4041.4998779296875,\r
+ "y": 698,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "d6328bc3.e91228"\r
+ "492ab725.abc14"\r
]\r
]\r
},\r
{\r
- "id": "d6328bc3.e91228",\r
+ "id": "492ab725.abc14",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4171.9998779296875,\r
- "y": 674,\r
- "z": "6311a927.78727",\r
+ "x": 4247.9998779296875,\r
+ "y": 676,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "fcc7de43.1b588"\r
+ "ca00a5f6.d5b71"\r
]\r
]\r
},\r
{\r
- "id": "f5150efc.cab85",\r
+ "id": "fe7961d1.c0f4e",\r
"type": "outcome",\r
"name": "tunnel-termination-point",\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3509.6683349609375,\r
- "y": 722.4815063476562,\r
- "z": "6311a927.78727",\r
+ "x": 3585.6683349609375,\r
+ "y": 724.4815063476562,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "912955c2.11e7a"\r
+ "59e37319.f4bec4"\r
]\r
]\r
},\r
{\r
- "id": "fd862c08.f8b4a",\r
+ "id": "20453efe.bca822",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2972.3826904296875,\r
- "y": 724.6597290039062,\r
- "z": "6311a927.78727",\r
+ "x": 3048.3826904296875,\r
+ "y": 726.6597290039062,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "8c595bd0.378e98"\r
+ "f844ac94.89e1e"\r
]\r
]\r
},\r
{\r
- "id": "8c595bd0.378e98",\r
+ "id": "f844ac94.89e1e",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3224.3826904296875,\r
- "y": 721.6597290039062,\r
- "z": "6311a927.78727",\r
+ "x": 3300.3826904296875,\r
+ "y": 723.6597290039062,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "f5150efc.cab85"\r
+ "fe7961d1.c0f4e"\r
]\r
]\r
},\r
{\r
- "id": "912955c2.11e7a",\r
+ "id": "59e37319.f4bec4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3736.4998779296875,\r
- "y": 711,\r
- "z": "6311a927.78727",\r
+ "x": 3812.4998779296875,\r
+ "y": 713,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "e56a35d6.459af8",\r
- "a811b593.25ff8",\r
- "2abf934.785ecec",\r
- "bc51fa32.9144b",\r
- "4ad035fb.c384cc"\r
+ "1391535e.6e46bd",\r
+ "2d1abf42.aacfc8",\r
+ "d4f97b75.15b158",\r
+ "12165a81.403f85",\r
+ "103b5c34.d77a7c"\r
]\r
]\r
},\r
{\r
- "id": "d9b8b0f0.11df08",\r
+ "id": "55e25897.4f1fe8",\r
"type": "get-resource",\r
"name": "get-resource dst tp",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2377.5,\r
- "y": 1134,\r
- "z": "6311a927.78727",\r
+ "x": 2453.5,\r
+ "y": 1136,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "2a761980.732196",\r
- "d9fef4c9.0420c",\r
- "6bc11e9d.31baa8"\r
+ "49c1a7b6.6f99c",\r
+ "2b24743b.25895c",\r
+ "c683e8fa.16a0b"\r
]\r
]\r
},\r
{\r
- "id": "2a761980.732196",\r
+ "id": "49c1a7b6.6f99c",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2599.9998779296875,\r
- "y": 1276,\r
- "z": "6311a927.78727",\r
+ "x": 2675.9998779296875,\r
+ "y": 1278,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "6a724ed4.0c2ee"\r
+ "ed45880a.b1c94"\r
]\r
]\r
},\r
{\r
- "id": "d9fef4c9.0420c",\r
+ "id": "2b24743b.25895c",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2583.9998779296875,\r
- "y": 1327,\r
- "z": "6311a927.78727",\r
+ "x": 2659.9998779296875,\r
+ "y": 1329,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "5b682716.7565c"\r
+ "37c7eeb2.67c862"\r
]\r
]\r
},\r
{\r
- "id": "6bc11e9d.31baa8",\r
+ "id": "c683e8fa.16a0b",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2586.9998779296875,\r
- "y": 1379,\r
- "z": "6311a927.78727",\r
+ "x": 2662.9998779296875,\r
+ "y": 1381,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "f53f8dec.b8eab8"\r
+ "78affe58.b6f08"\r
]\r
]\r
},\r
{\r
- "id": "f53f8dec.b8eab8",\r
+ "id": "78affe58.b6f08",\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": 2756.9998779296875,\r
- "y": 1382,\r
- "z": "6311a927.78727",\r
+ "x": 2832.9998779296875,\r
+ "y": 1384,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "5b682716.7565c",\r
+ "id": "37c7eeb2.67c862",\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": 2768.9998779296875,\r
- "y": 1331,\r
- "z": "6311a927.78727",\r
+ "x": 2844.9998779296875,\r
+ "y": 1333,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "6b5c01f3.fe6da8",\r
+ "id": "141988e8.b25ef7",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2956.3826904296875,\r
- "y": 1286.6597290039062,\r
- "z": "6311a927.78727",\r
+ "x": 3032.3826904296875,\r
+ "y": 1288.6597290039062,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "1a571bfc.aeed5c"\r
+ "a370922d.726108"\r
]\r
]\r
},\r
{\r
- "id": "1a571bfc.aeed5c",\r
+ "id": "a370922d.726108",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3199.3826904296875,\r
- "y": 1285.6597290039062,\r
- "z": "6311a927.78727",\r
+ "x": 3275.3826904296875,\r
+ "y": 1287.6597290039062,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "90623cd4.fe0a58"\r
+ "e6beb03b.67e37"\r
]\r
]\r
},\r
{\r
- "id": "aa0b1701.8dfea",\r
+ "id": "61d27ccc.5b8de4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4965.4998779296875,\r
- "y": 1087,\r
- "z": "6311a927.78727",\r
+ "x": 5041.4998779296875,\r
+ "y": 1089,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "550b57d7.8fa528",\r
- "74f2c02.a79f64",\r
- "f2bb305d.4422b8"\r
+ "6cde7588.a972a4",\r
+ "46f2ef05.7f74e8",\r
+ "36e1e931.d36586"\r
]\r
]\r
},\r
{\r
- "id": "90623cd4.fe0a58",\r
+ "id": "e6beb03b.67e37",\r
"type": "outcome",\r
"name": "tunnel-termination-point",\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3455.6683349609375,\r
- "y": 1285.4815063476562,\r
- "z": "6311a927.78727",\r
+ "x": 3531.6683349609375,\r
+ "y": 1287.4815063476562,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "2cff3582.3d605a"\r
+ "412a94c.16241ec"\r
]\r
]\r
},\r
{\r
- "id": "66c4a517.3f3fd4",\r
+ "id": "df39947.2e32868",\r
"type": "outcome",\r
"name": "network-resource",\r
"xml": "<outcome value='network-resource'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4752.4998779296875,\r
- "y": 1086,\r
- "z": "6311a927.78727",\r
+ "x": 4828.4998779296875,\r
+ "y": 1088,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "aa0b1701.8dfea"\r
+ "61d27ccc.5b8de4"\r
]\r
]\r
},\r
{\r
- "id": "2cff3582.3d605a",\r
+ "id": "412a94c.16241ec",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3755.4998779296875,\r
- "y": 1283,\r
- "z": "6311a927.78727",\r
+ "x": 3831.4998779296875,\r
+ "y": 1285,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "34a1c052.ba37a8",\r
- "ce64c552.7245c",\r
- "3a5f117c.72df06",\r
- "668e003.0972e8",\r
- "888129ab.9ea2a8"\r
+ "58c1eb2d.4365dc",\r
+ "eafee68f.21777",\r
+ "3baf326d.94389e",\r
+ "7894f836.65f328",\r
+ "9b949993.6af3e"\r
]\r
]\r
},\r
{\r
- "id": "34a1c052.ba37a8",\r
+ "id": "58c1eb2d.4365dc",\r
"type": "set",\r
"name": "set domain B node ttp-id",\r
"xml": "<set>\n<parameter name='tmp.domain-B.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 3997.4998779296875,\r
- "y": 1237,\r
- "z": "6311a927.78727",\r
+ "x": 4073.4998779296875,\r
+ "y": 1239,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "ce64c552.7245c",\r
+ "id": "eafee68f.21777",\r
"type": "get-resource",\r
"name": "get-resource dst TTP",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3987.4998779296875,\r
- "y": 1288,\r
- "z": "6311a927.78727",\r
+ "x": 4063.4998779296875,\r
+ "y": 1290,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "c6558909.ba61"\r
+ "135e1de8.ac41a2"\r
]\r
]\r
},\r
{\r
- "id": "c6558909.ba61",\r
+ "id": "135e1de8.ac41a2",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4174.9998779296875,\r
- "y": 1286,\r
- "z": "6311a927.78727",\r
+ "x": 4250.9998779296875,\r
+ "y": 1288,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "b166ec42.f7a328"\r
+ "e5e86a3d.a35168"\r
]\r
]\r
},\r
{\r
- "id": "550b57d7.8fa528",\r
+ "id": "6cde7588.a972a4",\r
"type": "set",\r
"name": "set domain B network-id",\r
"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",\r
"comments": "",\r
- "x": 5235.4998779296875,\r
- "y": 1063,\r
- "z": "6311a927.78727",\r
+ "x": 5311.4998779296875,\r
+ "y": 1065,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "74f2c02.a79f64",\r
+ "id": "46f2ef05.7f74e8",\r
"type": "get-resource",\r
"name": "get-resource dst network-resource",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5245.4998779296875,\r
- "y": 1109,\r
- "z": "6311a927.78727",\r
+ "x": 5321.4998779296875,\r
+ "y": 1111,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "e85530cd.ad8bf8"\r
+ "95269d9e.8f1978"\r
]\r
]\r
},\r
{\r
- "id": "e85530cd.ad8bf8",\r
+ "id": "95269d9e.8f1978",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5460.9998779296875,\r
- "y": 1100,\r
- "z": "6311a927.78727",\r
+ "x": 5536.9998779296875,\r
+ "y": 1102,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "e3266a0a.5cb158"\r
+ "d0d56062.e96878"\r
]\r
]\r
},\r
{\r
- "id": "e3266a0a.5cb158",\r
+ "id": "d0d56062.e96878",\r
"type": "set",\r
"name": "set domain B network-id, topo-id, client-id, etc",\r
"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<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-id`' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-provider-id`' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-client-id`' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-topology-id`' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-type`' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
"comments": "",\r
- "x": 5715.4998779296875,\r
- "y": 1106,\r
- "z": "6311a927.78727",\r
+ "x": 5791.4998779296875,\r
+ "y": 1108,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "53738595.29239c",\r
+ "id": "d4861d1.90a2f6",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2754.9998779296875,\r
- "y": 725,\r
- "z": "6311a927.78727",\r
+ "x": 2830.9998779296875,\r
+ "y": 727,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "fd862c08.f8b4a"\r
+ "20453efe.bca822"\r
]\r
]\r
},\r
{\r
- "id": "6a724ed4.0c2ee",\r
+ "id": "ed45880a.b1c94",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2745.9998779296875,\r
- "y": 1267,\r
- "z": "6311a927.78727",\r
+ "x": 2821.9998779296875,\r
+ "y": 1269,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "6b5c01f3.fe6da8"\r
+ "141988e8.b25ef7"\r
]\r
]\r
},\r
{\r
- "id": "fcc7de43.1b588",\r
+ "id": "ca00a5f6.d5b71",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4346.9998779296875,\r
- "y": 670,\r
- "z": "6311a927.78727",\r
+ "x": 4422.9998779296875,\r
+ "y": 672,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "a813a414.4bba4"\r
+ "4c98d169.bddc"\r
]\r
]\r
},\r
{\r
- "id": "b166ec42.f7a328",\r
+ "id": "e5e86a3d.a35168",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4363.9998779296875,\r
- "y": 1275,\r
- "z": "6311a927.78727",\r
+ "x": 4439.9998779296875,\r
+ "y": 1277,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "6ce614ed.7484ac"\r
+ "b92cc089.036dc8"\r
]\r
]\r
},\r
{\r
- "id": "16b2f778.e973e1",\r
+ "id": "1809a4d6.ba2673",\r
"type": "get-resource",\r
"name": "get-resource src tp",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2423.5,\r
- "y": 768,\r
- "z": "6311a927.78727",\r
+ "x": 2499.5,\r
+ "y": 770,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "6f8fa296.cf0b14",\r
- "dfb73ef2.d6e5",\r
- "a2313ee1.1bd3f8"\r
+ "ed734d7c.04c2f8",\r
+ "551be9a2.28b98",\r
+ "22092f51.833d9"\r
]\r
]\r
},\r
{\r
- "id": "2abf934.785ecec",\r
+ "id": "d4f97b75.15b158",\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.src-pnf-name\"\n pfx='tmp.aai.src-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3826.9998779296875,\r
- "y": 514,\r
- "z": "6311a927.78727",\r
+ "x": 3902.9998779296875,\r
+ "y": 516,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "2718cbe0.743744",\r
- "c770af9d.e00ad8",\r
- "4dc6603f.cfce08"\r
+ "27b2efea.3f735",\r
+ "abdc030.e780f",\r
+ "d67670c0.149af8"\r
]\r
]\r
},\r
{\r
- "id": "2718cbe0.743744",\r
+ "id": "27b2efea.3f735",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4022.5,\r
- "y": 466,\r
- "z": "6311a927.78727",\r
+ "x": 4098.5,\r
+ "y": 468,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "d9208e7d.606"\r
+ "67bcf691.cce0a8"\r
]\r
]\r
},\r
{\r
- "id": "c770af9d.e00ad8",\r
+ "id": "abdc030.e780f",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4014.5,\r
- "y": 521,\r
- "z": "6311a927.78727",\r
+ "x": 4090.5,\r
+ "y": 523,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "6bb9b9b7.b2076"\r
+ "f2e24f2.12fadb"\r
]\r
]\r
},\r
{\r
- "id": "4dc6603f.cfce08",\r
+ "id": "d67670c0.149af8",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4019.5,\r
- "y": 578,\r
- "z": "6311a927.78727",\r
+ "x": 4095.5,\r
+ "y": 580,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "59153395.1608bc"\r
+ "c3d2abbd.c8f708"\r
]\r
]\r
},\r
{\r
- "id": "59153395.1608bc",\r
+ "id": "c3d2abbd.c8f708",\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": 4171.5,\r
- "y": 579,\r
- "z": "6311a927.78727",\r
+ "x": 4247.5,\r
+ "y": 581,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "6bb9b9b7.b2076",\r
+ "id": "f2e24f2.12fadb",\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": 4182.5,\r
- "y": 524,\r
- "z": "6311a927.78727",\r
+ "x": 4258.5,\r
+ "y": 526,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "d9208e7d.606",\r
+ "id": "67bcf691.cce0a8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4166.88232421875,\r
- "y": 463.6556701660156,\r
- "z": "6311a927.78727",\r
+ "x": 4242.88232421875,\r
+ "y": 465.6556701660156,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "55254083.c38b58",\r
- "8aa824b7.0c6278"\r
+ "304592d5.537a8e",\r
+ "2af9eb5e.d3c17c"\r
]\r
]\r
},\r
{\r
- "id": "55254083.c38b58",\r
+ "id": "304592d5.537a8e",\r
"type": "set",\r
"name": "set domain A node-id and tpn",\r
"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\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />",\r
"comments": "",\r
- "x": 4391.9998779296875,\r
- "y": 419,\r
- "z": "6311a927.78727",\r
+ "x": 4467.9998779296875,\r
+ "y": 421,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "bc51fa32.9144b",\r
+ "id": "12165a81.403f85",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 3913.9998779296875,\r
- "y": 761,\r
- "z": "6311a927.78727",\r
+ "x": 3989.9998779296875,\r
+ "y": 763,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "a813a414.4bba4",\r
+ "id": "4c98d169.bddc",\r
"type": "set",\r
"name": "set domain A tunnel tp ip",\r
"xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-tunnel-tp-id`' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\n",\r
"comments": "",\r
- "x": 4607.9998779296875,\r
- "y": 667,\r
- "z": "6311a927.78727",\r
+ "x": 4683.9998779296875,\r
+ "y": 669,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "668e003.0972e8",\r
+ "id": "7894f836.65f328",\r
"type": "get-resource",\r
"name": "get-resource dst pnf",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3823.9998779296875,\r
- "y": 1117,\r
- "z": "6311a927.78727",\r
+ "x": 3899.9998779296875,\r
+ "y": 1119,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "ba64936b.6e28a",\r
- "60671a93.606c04",\r
- "68c36f77.2ea158"\r
+ "54998b27.2003cc",\r
+ "d1cd027c.1f10b8",\r
+ "75ff3dee.3bf8bc"\r
]\r
]\r
},\r
{\r
- "id": "68c36f77.2ea158",\r
+ "id": "75ff3dee.3bf8bc",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4019.5,\r
- "y": 1069,\r
- "z": "6311a927.78727",\r
+ "x": 4095.5,\r
+ "y": 1071,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "90c8108b.3d46b8"\r
+ "c056b35b.56583"\r
]\r
]\r
},\r
{\r
- "id": "60671a93.606c04",\r
+ "id": "d1cd027c.1f10b8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4011.5,\r
- "y": 1124,\r
- "z": "6311a927.78727",\r
+ "x": 4087.5,\r
+ "y": 1126,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "694c4d07.5571c4"\r
+ "560adcd5.77c02c"\r
]\r
]\r
},\r
{\r
- "id": "ba64936b.6e28a",\r
+ "id": "54998b27.2003cc",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4016.5,\r
- "y": 1181,\r
- "z": "6311a927.78727",\r
+ "x": 4092.5,\r
+ "y": 1183,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "8a4ef9a5.3b77b8"\r
+ "3b1e11f8.04c5b6"\r
]\r
]\r
},\r
{\r
- "id": "90c8108b.3d46b8",\r
+ "id": "c056b35b.56583",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4163.88232421875,\r
- "y": 1066.6556701660156,\r
- "z": "6311a927.78727",\r
+ "x": 4239.88232421875,\r
+ "y": 1068.6556701660156,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "925c2765.45f7c",\r
- "a7906754.f0e008"\r
+ "7ca2f810.f9ca5",\r
+ "5d0e55ed.7c2c54"\r
]\r
]\r
},\r
{\r
- "id": "694c4d07.5571c4",\r
+ "id": "560adcd5.77c02c",\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": 4179.5,\r
- "y": 1127,\r
- "z": "6311a927.78727",\r
+ "x": 4255.5,\r
+ "y": 1129,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "8a4ef9a5.3b77b8",\r
+ "id": "3b1e11f8.04c5b6",\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": 4168.5,\r
- "y": 1182,\r
- "z": "6311a927.78727",\r
+ "x": 4244.5,\r
+ "y": 1184,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "925c2765.45f7c",\r
+ "id": "7ca2f810.f9ca5",\r
"type": "set",\r
"name": "set domain B node-id and tpn",\r
"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\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-node-id`' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
"comments": "",\r
- "x": 4372.9998779296875,\r
- "y": 1034,\r
- "z": "6311a927.78727",\r
+ "x": 4448.9998779296875,\r
+ "y": 1036,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "3a5f117c.72df06",\r
+ "id": "3baf326d.94389e",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 3942.9998779296875,\r
- "y": 1329,\r
- "z": "6311a927.78727",\r
+ "x": 4018.9998779296875,\r
+ "y": 1331,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "6ce614ed.7484ac",\r
+ "id": "b92cc089.036dc8",\r
"type": "set",\r
"name": "set domain B tunnel tp id",\r
"xml": "<set>\n<parameter name='domain-B.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-tunnel-tp-id`' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
"comments": "",\r
- "x": 4596.9998779296875,\r
- "y": 1274,\r
- "z": "6311a927.78727",\r
+ "x": 4672.9998779296875,\r
+ "y": 1276,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "73216d1e.d409d4",\r
+ "id": "c8548322.1dce7",\r
"type": "outcome",\r
"name": "network-resource",\r
"xml": "<outcome value='network-resource'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4748.9998779296875,\r
- "y": 482,\r
- "z": "6311a927.78727",\r
+ "x": 4824.9998779296875,\r
+ "y": 484,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "8e56eb89.dcf8d"\r
+ "49aa1e98.21619"\r
]\r
]\r
},\r
{\r
- "id": "8e56eb89.dcf8d",\r
+ "id": "49aa1e98.21619",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4925.9998779296875,\r
- "y": 474,\r
- "z": "6311a927.78727",\r
+ "x": 5001.9998779296875,\r
+ "y": 476,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "8a97b17a.8e6468",\r
- "4190236a.ccd374",\r
- "2d2f03c2.a9effc"\r
+ "13542cdd.43dda3",\r
+ "909a99fa.787ae8",\r
+ "44fc9502.8d863c"\r
]\r
]\r
},\r
{\r
- "id": "8a97b17a.8e6468",\r
+ "id": "13542cdd.43dda3",\r
"type": "set",\r
"name": "set domain A network-id",\r
"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",\r
"comments": "",\r
- "x": 5140.9998779296875,\r
- "y": 455,\r
- "z": "6311a927.78727",\r
+ "x": 5216.9998779296875,\r
+ "y": 457,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "4190236a.ccd374",\r
+ "id": "909a99fa.787ae8",\r
"type": "get-resource",\r
"name": "get-resource src network-resource",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5157.9998779296875,\r
- "y": 519,\r
- "z": "6311a927.78727",\r
+ "x": 5233.9998779296875,\r
+ "y": 521,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "84a43718.34957"\r
+ "30bbae6f.18af4a"\r
]\r
]\r
},\r
{\r
- "id": "84a43718.34957",\r
+ "id": "30bbae6f.18af4a",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5381.4998779296875,\r
- "y": 520,\r
- "z": "6311a927.78727",\r
+ "x": 5457.4998779296875,\r
+ "y": 522,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "95ce66c5.711c6"\r
+ "a367788a.bb68e"\r
]\r
]\r
},\r
{\r
- "id": "95ce66c5.711c6",\r
+ "id": "a367788a.bb68e",\r
"type": "set",\r
"name": "set domain A network-id, topo-id, client-id, etc",\r
"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<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-id`' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-provider-id`' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-client-id`' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-topology-id`' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-type`' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\n\n\n",\r
"comments": "",\r
- "x": 5645.9998779296875,\r
- "y": 509,\r
- "z": "6311a927.78727",\r
+ "x": 5721.9998779296875,\r
+ "y": 511,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "8aa824b7.0c6278",\r
+ "id": "2af9eb5e.d3c17c",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4350.9998779296875,\r
- "y": 478,\r
- "z": "6311a927.78727",\r
+ "x": 4426.9998779296875,\r
+ "y": 480,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "5a4b07ac.8d3028"\r
+ "df80ec0f.2a1388"\r
]\r
]\r
},\r
{\r
- "id": "5a4b07ac.8d3028",\r
+ "id": "df80ec0f.2a1388",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4545.9998779296875,\r
- "y": 478,\r
- "z": "6311a927.78727",\r
+ "x": 4621.9998779296875,\r
+ "y": 480,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "73216d1e.d409d4"\r
+ "c8548322.1dce7"\r
]\r
]\r
},\r
{\r
- "id": "2d2f03c2.a9effc",\r
+ "id": "44fc9502.8d863c",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 5084.9998779296875,\r
- "y": 572,\r
- "z": "6311a927.78727",\r
+ "x": 5160.9998779296875,\r
+ "y": 574,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "a7906754.f0e008",\r
+ "id": "5d0e55ed.7c2c54",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4351.9998779296875,\r
- "y": 1085,\r
- "z": "6311a927.78727",\r
+ "x": 4427.9998779296875,\r
+ "y": 1087,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "6641c07e.096d18"\r
+ "97742823.a37f08"\r
]\r
]\r
},\r
{\r
- "id": "6641c07e.096d18",\r
+ "id": "97742823.a37f08",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4546.9998779296875,\r
- "y": 1085,\r
- "z": "6311a927.78727",\r
+ "x": 4622.9998779296875,\r
+ "y": 1087,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "66c4a517.3f3fd4"\r
+ "df39947.2e32868"\r
]\r
]\r
},\r
{\r
- "id": "f2bb305d.4422b8",\r
+ "id": "36e1e931.d36586",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 5170.9998779296875,\r
- "y": 1165,\r
- "z": "6311a927.78727",\r
+ "x": 5246.9998779296875,\r
+ "y": 1167,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "4ad035fb.c384cc",\r
+ "id": "103b5c34.d77a7c",\r
"type": "execute",\r
"name": "execute split tp-id to get pnf-name",\r
"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=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3854.9998779296875,\r
- "y": 308,\r
- "z": "6311a927.78727",\r
+ "x": 3930.9998779296875,\r
+ "y": 310,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "5bd2f425.157014",\r
- "a6025f31.cc3d4"\r
+ "b3bf59d4.5b493",\r
+ "21c8620c.a1786e"\r
]\r
]\r
},\r
{\r
- "id": "a6025f31.cc3d4",\r
+ "id": "21c8620c.a1786e",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4075.9998779296875,\r
- "y": 276,\r
- "z": "6311a927.78727",\r
+ "x": 4151.9998779296875,\r
+ "y": 278,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "61178ee6.46287"\r
+ "ac6a8696.ec08c8"\r
]\r
]\r
},\r
{\r
- "id": "5bd2f425.157014",\r
+ "id": "b3bf59d4.5b493",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4075.9998779296875,\r
- "y": 323,\r
- "z": "6311a927.78727",\r
+ "x": 4151.9998779296875,\r
+ "y": 325,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "3bd5270a.9b3388"\r
+ "53c1b9f8.feb02"\r
]\r
]\r
},\r
{\r
- "id": "61178ee6.46287",\r
+ "id": "ac6a8696.ec08c8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4240.9998779296875,\r
- "y": 273,\r
- "z": "6311a927.78727",\r
+ "x": 4316.9998779296875,\r
+ "y": 275,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "30bc001a.081c6"\r
+ "c3a92ffe.308538"\r
]\r
]\r
},\r
{\r
- "id": "30bc001a.081c6",\r
+ "id": "c3a92ffe.308538",\r
"type": "set",\r
"name": "set domain-A.ltpId",\r
"xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-ltp-id`' value=\"`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />",\r
"comments": "",\r
- "x": 4422.9998779296875,\r
- "y": 277,\r
- "z": "6311a927.78727",\r
+ "x": 4498.9998779296875,\r
+ "y": 279,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "3bd5270a.9b3388",\r
+ "id": "53c1b9f8.feb02",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
"comments": "",\r
- "x": 4242.9998779296875,\r
- "y": 323,\r
- "z": "6311a927.78727",\r
+ "x": 4318.9998779296875,\r
+ "y": 325,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "888129ab.9ea2a8",\r
+ "id": "9b949993.6af3e",\r
"type": "execute",\r
"name": "execute split tp-id to get pnf-name",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3862.9998779296875,\r
- "y": 932,\r
- "z": "6311a927.78727",\r
+ "x": 3938.9998779296875,\r
+ "y": 934,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "f5b036b5.9d3fe",\r
- "c8627fdc.4ca238"\r
+ "63b15b9d.d0246c",\r
+ "438781d9.fa013"\r
]\r
]\r
},\r
{\r
- "id": "c8627fdc.4ca238",\r
+ "id": "438781d9.fa013",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4083.9998779296875,\r
- "y": 900,\r
- "z": "6311a927.78727",\r
+ "x": 4159.9998779296875,\r
+ "y": 902,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "5d59aabb.f55db4"\r
+ "7c480aff.2bda14"\r
]\r
]\r
},\r
{\r
- "id": "f5b036b5.9d3fe",\r
+ "id": "63b15b9d.d0246c",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4083.9998779296875,\r
- "y": 947,\r
- "z": "6311a927.78727",\r
+ "x": 4159.9998779296875,\r
+ "y": 949,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "8fc5e8a.5216b18"\r
+ "6669851b.858ebc"\r
]\r
]\r
},\r
{\r
- "id": "5d59aabb.f55db4",\r
+ "id": "7c480aff.2bda14",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4248.9998779296875,\r
- "y": 897,\r
- "z": "6311a927.78727",\r
+ "x": 4324.9998779296875,\r
+ "y": 899,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "c8487895.7a94"\r
+ "6535be11.5e3bd"\r
]\r
]\r
},\r
{\r
- "id": "c8487895.7a94",\r
+ "id": "6535be11.5e3bd",\r
"type": "set",\r
"name": "set domain-B.ltpId",\r
"xml": "<set>\n<parameter name='domain-B.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-ltp-id`' value=\"`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
"comments": "",\r
- "x": 4444.9998779296875,\r
- "y": 894,\r
- "z": "6311a927.78727",\r
+ "x": 4520.9998779296875,\r
+ "y": 896,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "8fc5e8a.5216b18",\r
+ "id": "6669851b.858ebc",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
"comments": "",\r
- "x": 4250.9998779296875,\r
- "y": 947,\r
- "z": "6311a927.78727",\r
+ "x": 4326.9998779296875,\r
+ "y": 949,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "abe518b.cefde68",\r
+ "id": "154e7688.b29339",\r
"type": "set",\r
"name": "unset parameters",\r
"xml": "<set>\n<parameter name='otn-oof.link-name' value='' />\n<!--<parameter name='tmp.aai.cross-link' value='' />-->\n<parameter name='tmp.aai.cross-link.' value='' />\n<!--<parameter name='tmp.aai.cross-link.link-role' value='' />-->",\r
"comments": "",\r
- "x": 1120,\r
- "y": 734,\r
- "z": "6311a927.78727",\r
+ "x": 1196,\r
+ "y": 736,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "cf555e48.aeaaa8",\r
+ "id": "5f2860ab.d20368",\r
"type": "comment",\r
"name": "Not useful anymore",\r
"info": "this domain-A.ltpId is not used anymore",\r
"comments": "",\r
- "x": 4465.9998779296875,\r
- "y": 253,\r
- "z": "6311a927.78727",\r
+ "x": 4541.9998779296875,\r
+ "y": 255,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "29edf5a1.e0b48a",\r
+ "id": "839b6b92.78af58",\r
"type": "comment",\r
"name": "Not useful anymore",\r
"info": "this domain-B.ltpId is not used anymore",\r
"comments": "",\r
- "x": 4487.9998779296875,\r
- "y": 866,\r
- "z": "6311a927.78727",\r
+ "x": 4563.9998779296875,\r
+ "y": 868,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "7882cf69.81bba",\r
+ "id": "d800f8fa.097b28",\r
"type": "set",\r
"name": "unset parameters",\r
- "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->",\r
+ "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->\n<parameter name='`tmp.otninfoProtect.`' value='' />",\r
"comments": "",\r
- "x": 761,\r
- "y": 662,\r
- "z": "6311a927.78727",\r
+ "x": 837,\r
+ "y": 664,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "1e669820.d1af2",\r
+ "id": "9d59de38.f2a96",\r
"type": "comment",\r
"name": "May not be necessary",\r
"info": "",\r
"comments": "",\r
- "x": 772,\r
- "y": 615,\r
- "z": "6311a927.78727",\r
+ "x": 848,\r
+ "y": 617,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "f346bebe.50149",\r
+ "id": "3eb232d2.31d3ce",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 752,\r
- "y": 412,\r
- "z": "6311a927.78727",\r
+ "x": 828,\r
+ "y": 414,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "bf6f0512.491f98",\r
- "50fbaa58.2b30a4",\r
- "9c16d091.cb39f8",\r
- "67b4d462.48c1b4",\r
- "47a588a1.c73f2",\r
- "7663f303.03da94",\r
- "9122c7e9.cadbc8",\r
- "45b9551b.0a437c",\r
- "3cc2e9be.dc0176",\r
- "5092ace7.ae1144",\r
- "652147e8.77864"\r
+ "ef757a3b.136af8",\r
+ "170891d6.65d54e",\r
+ "69ba386e.9da968",\r
+ "2e082ac1.a1ccfe",\r
+ "a74fb526.bc5db",\r
+ "4af9732c.943804",\r
+ "45b96535.5a3dac",\r
+ "1033844e.1fe0b4",\r
+ "644a4209.4c190c",\r
+ "752e7b91.ad42a4",\r
+ "7d6aaca7.ab1b4c",\r
+ "441d97dd.ea8d",\r
+ "75c12230.00ef3c"\r
]\r
]\r
},\r
{\r
- "id": "bf6f0512.491f98",\r
+ "id": "874f6992.1d0f",\r
"type": "execute",\r
"name": "execute PCE in ccsdk/sli/core",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePaths' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n<parameter name=\"dst-node-backup\" value=\"`$tmp.pce-dst-node-backup`\"/>\n<parameter name=\"require-backuppath\" value=\"`$hasSecondary`\"/>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1026,\r
- "y": 632,\r
- "z": "6311a927.78727",\r
+ "x": 1650,\r
+ "y": 661,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "278e4eda.dd1afa",\r
- "95a448d5.61bae",\r
- "396c6fcc.348ef"\r
+ "9cd26432.6ca2e",\r
+ "d020471b.87351",\r
+ "d9ad3259.cc415"\r
]\r
]\r
},\r
{\r
- "id": "50fbaa58.2b30a4",\r
+ "id": "ef757a3b.136af8",\r
"type": "record",\r
- "name": "record tmp.pce-src and dst node",\r
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<!--<parameter name=\"field1\" value=\"Path computation succeed!\"/>-->\n<!--<parameter name=\"field2\" value=\"`$ccsdkTopo.resp.solutions_length`\"/>-->\n\n<!--<parameter name=\"field1\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"field2\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"field1\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pce-dst-node`\"/>\n",\r
+ "name": "record tmp.pce-src and dst node and backup",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<!--<parameter name=\"field1\" value=\"Path computation succeed!\"/>-->\n<!--<parameter name=\"field2\" value=\"`$ccsdkTopo.resp.solutions_length`\"/>-->\n\n<!--<parameter name=\"field1\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"field2\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"field1\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pce-dst-node`\"/>\n<parameter name=\"field3\" value=\"`$tmp.pce-dst-node-backup`\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1003,\r
- "y": 449,\r
- "z": "6311a927.78727",\r
+ "x": 1124,\r
+ "y": 447,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "278e4eda.dd1afa",\r
+ "id": "9cd26432.6ca2e",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1271,\r
- "y": 664,\r
- "z": "6311a927.78727",\r
+ "x": 1895,\r
+ "y": 693,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "95a448d5.61bae",\r
+ "id": "d020471b.87351",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1278,\r
- "y": 706,\r
- "z": "6311a927.78727",\r
+ "x": 1902,\r
+ "y": 735,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "396c6fcc.348ef",\r
+ "id": "d9ad3259.cc415",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1273,\r
- "y": 627,\r
- "z": "6311a927.78727",\r
+ "x": 1897,\r
+ "y": 656,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "9c16d091.cb39f8",\r
+ "id": "170891d6.65d54e",\r
"type": "set",\r
"name": "set tmp.pce-src-node",\r
"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]`\" />",\r
"comments": "",\r
- "x": 971,\r
- "y": 357,\r
- "z": "6311a927.78727",\r
+ "x": 1045,\r
+ "y": 319,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "67b4d462.48c1b4",\r
+ "id": "69ba386e.9da968",\r
"type": "set",\r
"name": "set tmp.pce-dst-node",\r
"xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainB-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n $param-prefix-domainB-pnfName[1] + '-' +\n $param-prefix-domainB-pnfName[2] + '-' +\n $param-prefix-domainB-pnfName[3] + '-' +\n $param-prefix-domainB-pnfName[4] + '-' +\n $param-prefix-domainB-pnfName[5] + '-' +\n $otnTopoIdDst + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />",\r
"comments": "",\r
- "x": 971,\r
- "y": 403,\r
- "z": "6311a927.78727",\r
+ "x": 1045,\r
+ "y": 359,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "165db6ae.de2bb9",\r
+ "id": "4f1a8be1.b37344",\r
"type": "set",\r
"name": "set src-ltpId",\r
"xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.solutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.solutions[$vidx].src_node`\" />\n",\r
"comments": "",\r
- "x": 1102,\r
- "y": 865,\r
- "z": "6311a927.78727",\r
+ "x": 1178,\r
+ "y": 867,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "fda3acff.66dac8",\r
+ "id": "2cdce288.c30c46",\r
"type": "set",\r
"name": "set dst-ltpId",\r
"xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.solutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.solutions[$vidx].dst_node`\" />\n\n\n",\r
"comments": "",\r
- "x": 1103,\r
- "y": 915,\r
- "z": "6311a927.78727",\r
+ "x": 1179,\r
+ "y": 917,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "47a588a1.c73f2",\r
+ "id": "2e082ac1.a1ccfe",\r
"type": "get-resource",\r
"name": "get-resource network-resources-list",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1023,\r
- "y": 102,\r
- "z": "6311a927.78727",\r
+ "x": 1102,\r
+ "y": 43,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "a6aa209b.6892d",\r
- "487dbe5b.696ae8",\r
- "81fa26f.09db858"\r
+ "8367b97c.7cba2",\r
+ "c705fa11.095f6",\r
+ "3e5ba73a.cfbd2"\r
]\r
]\r
},\r
{\r
- "id": "487dbe5b.696ae8",\r
+ "id": "c705fa11.095f6",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1256,\r
- "y": 126,\r
- "z": "6311a927.78727",\r
+ "x": 1335,\r
+ "y": 67,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "81fa26f.09db858",\r
+ "id": "3e5ba73a.cfbd2",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1270,\r
- "y": 166,\r
- "z": "6311a927.78727",\r
+ "x": 1349,\r
+ "y": 107,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a6aa209b.6892d",\r
+ "id": "8367b97c.7cba2",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1259,\r
- "y": 85,\r
- "z": "6311a927.78727",\r
+ "x": 1338,\r
+ "y": 26,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "7663f303.03da94",\r
+ "id": "a74fb526.bc5db",\r
"type": "for",\r
"name": "for netwidx..allNetworksList_length",\r
"xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1015,\r
- "y": 148,\r
- "z": "6311a927.78727",\r
+ "x": 1094,\r
+ "y": 89,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "27c5b08b.38fb5"\r
+ "e64f1c2c.75e2a8"\r
]\r
]\r
},\r
{\r
- "id": "27c5b08b.38fb5",\r
+ "id": "e64f1c2c.75e2a8",\r
"type": "switchNode",\r
"name": "switch provider-id domainA",\r
"xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1336,\r
- "y": 224,\r
- "z": "6311a927.78727",\r
+ "x": 1415,\r
+ "y": 165,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "22cbcd57.e91ce2",\r
- "119bae13.8994fa"\r
+ "6f7c355b.5a1c94",\r
+ "49d801ae.f158f"\r
]\r
]\r
},\r
{\r
- "id": "22cbcd57.e91ce2",\r
+ "id": "6f7c355b.5a1c94",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1563,\r
- "y": 225,\r
- "z": "6311a927.78727",\r
+ "x": 1639,\r
+ "y": 227,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "1f8d2ed3.4f6c09"\r
+ "14708434.e61bac"\r
]\r
]\r
},\r
{\r
- "id": "1f8d2ed3.4f6c09",\r
+ "id": "14708434.e61bac",\r
"type": "switchNode",\r
"name": "switch te-topo-id",\r
"xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1776,\r
- "y": 225,\r
- "z": "6311a927.78727",\r
+ "x": 1852,\r
+ "y": 227,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "cfa8e423.6dd988"\r
+ "4944f354.0e26f4"\r
]\r
]\r
},\r
{\r
- "id": "cfa8e423.6dd988",\r
+ "id": "4944f354.0e26f4",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1941,\r
- "y": 225,\r
- "z": "6311a927.78727",\r
+ "x": 2017,\r
+ "y": 227,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "3bd110a6.a8ba8"\r
+ "3ffd16fe.ae9d82"\r
]\r
]\r
},\r
{\r
- "id": "3bd110a6.a8ba8",\r
+ "id": "3ffd16fe.ae9d82",\r
"type": "set",\r
"name": "set otnTopoIdSrc",\r
"xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
"comments": "",\r
- "x": 2110,\r
- "y": 225,\r
- "z": "6311a927.78727",\r
+ "x": 2186,\r
+ "y": 227,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "119bae13.8994fa",\r
+ "id": "49d801ae.f158f",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1563,\r
- "y": 278,\r
- "z": "6311a927.78727",\r
+ "x": 1639,\r
+ "y": 280,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "4e665bce.dd8f3c"\r
+ "88e310ce.d70d1"\r
]\r
]\r
},\r
{\r
- "id": "4e665bce.dd8f3c",\r
+ "id": "88e310ce.d70d1",\r
"type": "switchNode",\r
"name": "switch provider-id domainB",\r
"xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainB-pnfName[2]`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1751,\r
- "y": 278,\r
- "z": "6311a927.78727",\r
+ "x": 1827,\r
+ "y": 280,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "5471d1aa.c2b568"\r
+ "58122a1d.8684e4",\r
+ "3cb3eb19.e7f8b4"\r
]\r
]\r
},\r
{\r
- "id": "5471d1aa.c2b568",\r
+ "id": "58122a1d.8684e4",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1941,\r
- "y": 278,\r
- "z": "6311a927.78727",\r
+ "x": 2017,\r
+ "y": 280,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "aa5bb707.4bb48"\r
+ "5772e567.b80a34"\r
]\r
]\r
},\r
{\r
- "id": "aa5bb707.4bb48",\r
+ "id": "5772e567.b80a34",\r
"type": "switchNode",\r
"name": "switch te-topo-id",\r
"xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainB-pnfName[6]`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2109,\r
- "y": 278,\r
- "z": "6311a927.78727",\r
+ "x": 2185,\r
+ "y": 280,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "3a63aeee.a8bb3a"\r
+ "2fb8eaf6.956b36"\r
]\r
]\r
},\r
{\r
- "id": "3a63aeee.a8bb3a",\r
+ "id": "2fb8eaf6.956b36",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2265,\r
- "y": 278,\r
- "z": "6311a927.78727",\r
+ "x": 2341,\r
+ "y": 280,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[\r
- "1438c95.a2947b7"\r
+ "821af63c.9d499"\r
]\r
]\r
},\r
{\r
- "id": "1438c95.a2947b7",\r
+ "id": "3d7e803.580f08",\r
"type": "set",\r
"name": "set otnTopoIdDst",\r
"xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
"comments": "",\r
- "x": 2424,\r
- "y": 278,\r
- "z": "6311a927.78727",\r
+ "x": 3036,\r
+ "y": 184,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "9122c7e9.cadbc8",\r
+ "id": "4af9732c.943804",\r
"type": "set",\r
"name": "unset parameters",\r
"xml": "<set>\n<!--<parameter name='`otn-oof`' value='' />-->\n<parameter name='otn-oof.' value='' />\n<!--<parameter name='`otn-oof.solutions`' value='' />-->\n<!--<parameter name='`otn-oof.solutions.`' value='' />-->\n<!--<parameter name='`otn-oof.solutions_length`' value='0' />-->",\r
"comments": "",\r
- "x": 964,\r
- "y": 304,\r
- "z": "6311a927.78727",\r
+ "x": 1039,\r
+ "y": 260,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "45b9551b.0a437c",\r
+ "id": "45b96535.5a3dac",\r
"type": "set",\r
"name": "unset parameters",\r
"xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
"comments": "",\r
- "x": 968,\r
- "y": 219,\r
- "z": "6311a927.78727",\r
+ "x": 1048,\r
+ "y": 142,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "3cc2e9be.dc0176",\r
+ "id": "1033844e.1fe0b4",\r
"type": "set",\r
"name": "unset parameters",\r
"xml": "<set>\n<parameter name='tmp.pce-dst-node.' value='' />\n",\r
"comments": "",\r
- "x": 966,\r
- "y": 261,\r
- "z": "6311a927.78727",\r
+ "x": 1046,\r
+ "y": 184,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
},\r
{\r
- "id": "5092ace7.ae1144",\r
+ "id": "644a4209.4c190c",\r
"type": "record",\r
"name": "record otn-oof.",\r
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$otn-oof.`\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 959,\r
- "y": 493,\r
- "z": "6311a927.78727",\r
+ "x": 1035,\r
+ "y": 495,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ab172df4.a758b",\r
+ "id": "d9004337.b1e7",\r
"type": "execute",\r
"name": "execute printContext",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 978,\r
- "y": 575,\r
- "z": "6311a927.78727",\r
+ "x": 1057,\r
+ "y": 568,\r
+ "z": "740154b1.db9c44",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "652147e8.77864",\r
+ "id": "752e7b91.ad42a4",\r
"type": "set",\r
"name": "set filename",\r
- "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='filenamemm' value=\"`$tmp.pce-src-node + $tmp.pce-dst-node`\" />",\r
+ "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='filenamemm' value=\"`$tmp.pce-src-node + $tmp.pce-dst-node + $tmp.pce-dst-node-backup`\" />",\r
+ "comments": "",\r
+ "x": 1031,\r
+ "y": 531,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3cb3eb19.e7f8b4",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2007,\r
+ "y": 344,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "b16334e2.e8d148"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b16334e2.e8d148",\r
+ "type": "switchNode",\r
+ "name": "switch provider-id domainC",\r
+ "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainC-pnfName[2]`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2208,\r
+ "y": 345,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "7d3fd43.e41d5ac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7d3fd43.e41d5ac",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2418,\r
+ "y": 345,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "dccf569f.2f16c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e56fd0ad.9e01a8",\r
+ "type": "set",\r
+ "name": "set otnTopoIdDstBackup",\r
+ "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+ "comments": "",\r
+ "x": 3126,\r
+ "y": 435.0000305175781,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7d6aaca7.ab1b4c",\r
+ "type": "set",\r
+ "name": "unset parameters",\r
+ "xml": "<set>\n<parameter name='tmp.pce-dst-node-backup.' value='' />\n",\r
+ "comments": "",\r
+ "x": 1044,\r
+ "y": 222,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "441d97dd.ea8d",\r
+ "type": "set",\r
+ "name": "set tmp.pce-dst-node-backup",\r
+ "xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainB-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node-backup' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n $param-prefix-domainC-pnfName[1] + '-' +\n $param-prefix-domainC-pnfName[2] + '-' +\n $param-prefix-domainC-pnfName[3] + '-' +\n $param-prefix-domainC-pnfName[4] + '-' +\n $param-prefix-domainC-pnfName[5] + '-' +\n $otnTopoIdDstBackup + '-' +\n $param-prefix-domainC-pnfName[7] + '-' +\n $param-prefix-domainC-pnfName[8]`\" />",\r
+ "comments": "",\r
+ "x": 1076,\r
+ "y": 400,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "75c12230.00ef3c",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1080,\r
+ "y": 647,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "bdfc5f0.5322ba",\r
+ "89aa82c1.c2aec8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bdfc5f0.5322ba",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1271,\r
+ "y": 651,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "ae417966.2eaf28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ae417966.2eaf28",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1398,\r
+ "y": 650,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "874f6992.1d0f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "89aa82c1.c2aec8",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1273,\r
+ "y": 604,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "50eccb47.89161c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "50eccb47.89161c",\r
+ "type": "execute",\r
+ "name": "execute PCE in ccsdk/sli/core",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n\n",\r
"comments": "",\r
- "x": 955,\r
+ "outputs": 1,\r
+ "x": 1647,\r
+ "y": 534,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "e3a2c563.0a869",\r
+ "2d6f2f7c.332048",\r
+ "b9b4d723.6c8fd"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e3a2c563.0a869",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1892,\r
+ "y": 566,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "2d6f2f7c.332048",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1899,\r
+ "y": 608,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "b9b4d723.6c8fd",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1894,\r
"y": 529,\r
- "z": "6311a927.78727",\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e1473f30.10032",\r
+ "type": "for",\r
+ "name": "for vidx..otn-oof.secondarySolutions_length[]",\r
+ "xml": "<for index='vidx' start='0' end='`$otn-oof.secondarySolutions_length`' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 845,\r
+ "y": 2065,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "c89ad3b7.0e216"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c89ad3b7.0e216",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 949.5272216796875,\r
+ "y": 2256.040771484375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "80fa0c9d.1054f",\r
+ "9a5ac465.6157d8",\r
+ "8065227b.cd4a2",\r
+ "b1aba60b.7f9e6",\r
+ "deccca97.268a9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "80fa0c9d.1054f",\r
+ "type": "set",\r
+ "name": "set otn-oof.link-name and etc.",\r
+ "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.secondarySolutions[$vidx].original_link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.secondarySolutions[$vidx].src_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.secondarySolutions[$vidx].dst_node`' />",\r
+ "comments": "",\r
+ "x": 1196.0272216796875,\r
+ "y": 2149.040771484375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "deccca97.268a9",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1162.5272216796875,\r
+ "y": 2337.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "e3c2dcef.aae8f8",\r
+ "55fb0c7e.571584"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9a5ac465.6157d8",\r
+ "type": "set",\r
+ "name": "unset parameters",\r
+ "xml": "<set>\n<parameter name='otn-oof.link-name' value='' />\n<!--<parameter name='tmp.aai.cross-link' value='' />-->\n<parameter name='tmp.aai.cross-link.' value='' />\n<!--<parameter name='tmp.aai.cross-link.link-role' value='' />-->\n\n<parameter name='tmp.src-pnf-name' value='' />\n<parameter name='tmp.cross-link.' value='' />\n<parameter name='tmp.dst-pnf-name' value='' />\n<parameter name='tmp.aai.src-tp.' value='' />\n<parameter name='param-prefix-src-tp.' value='' />\n<parameter name='tmp.aai.src-pnf.' value='' />\n<parameter name='tmp.domain-A.network-id' value='' />\n<parameter name='tmp.aai.src-network-resource.' value='' />\n<parameter name='tmp.domain-A.ttp-id' value='' />\n<parameter name='tmp.aai.src-ttp.' value='' />\n\n<parameter name='tmp.aai.dst-tp.' value='' />\n<parameter name='param-prefix-dst-tp.' value='' />\n<parameter name='tmp.aai.dst-pnf.' value='' />\n<parameter name='tmp.domain-C.network-id' value='' />\n<parameter name='tmp.aai.dst-network-resource.' value='' />\n<parameter name='tmp.domain-C.ttp-id' value='' />\n<parameter name='tmp.aai.dst-ttp.' value='' />\n\n",\r
+ "comments": "",\r
+ "x": 1187.027099609375,\r
+ "y": 2077.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8065227b.cd4a2",\r
+ "type": "set",\r
+ "name": "set src-ltpId",\r
+ "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].src_node`\" />\n",\r
+ "comments": "",\r
+ "x": 1169.027099609375,\r
+ "y": 2208.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b1aba60b.7f9e6",\r
+ "type": "set",\r
+ "name": "set dst-ltpId",\r
+ "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].dst_node`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 1170.027099609375,\r
+ "y": 2258.7542724609375,\r
+ "z": "740154b1.db9c44",\r
"wires": []\r
+ },\r
+ {\r
+ "id": "6e12f41a.3aad64",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2688.0269775390625,\r
+ "y": 2072.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "5b6bf151.2d756"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b5b16aa9.5e894",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2721.027099609375,\r
+ "y": 2130.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "a9d16a27.d5676"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4a01d696.8c8118",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2724.027099609375,\r
+ "y": 2182.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "c1a7727e.a603d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a9d16a27.d5676",\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": 2906.027099609375,\r
+ "y": 2134.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c1a7727e.a603d8",\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": 2894.027099609375,\r
+ "y": 2185.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "40a1b2c.bbb3c4c",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3039.4097900390625,\r
+ "y": 2068.4140014648438,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "64ce1fe.fe36ee"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "64ce1fe.fe36ee",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3291.4097900390625,\r
+ "y": 2065.4140014648438,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "7222973f.63de28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5b6bf151.2d756",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2822.0269775390625,\r
+ "y": 2068.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "40a1b2c.bbb3c4c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "55fb0c7e.571584",\r
+ "type": "get-resource",\r
+ "name": "get-resource src tp",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2490.527099609375,\r
+ "y": 2111.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "6e12f41a.3aad64",\r
+ "b5b16aa9.5e894",\r
+ "4a01d696.8c8118"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "961bb541.fa238",\r
+ "type": "set",\r
+ "name": "set domain A node ttp-id",\r
+ "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 4024.5269775390625,\r
+ "y": 1987.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1c9ed8f.1f298a7",\r
+ "type": "get-resource",\r
+ "name": "get-resource src TTP",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4032.5269775390625,\r
+ "y": 2039.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "c8884a5e.cff248"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c8884a5e.cff248",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4239.0269775390625,\r
+ "y": 2017.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "ca161250.2600b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7222973f.63de28",\r
+ "type": "outcome",\r
+ "name": "tunnel-termination-point",\r
+ "xml": "<outcome value='tunnel-termination-point'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3576.6954345703125,\r
+ "y": 2066.2357788085938,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "9a193d4a.e0dcc8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9a193d4a.e0dcc8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3803.5269775390625,\r
+ "y": 2054.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "961bb541.fa238",\r
+ "1c9ed8f.1f298a7",\r
+ "8d06a9c9.1b85a",\r
+ "63176143.c85c48",\r
+ "cef3ca9d.2c104"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ca161250.2600b",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4414.0269775390625,\r
+ "y": 2013.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "258887d0.26df98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8d06a9c9.1b85a",\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.src-pnf-name\"\n pfx='tmp.aai.src-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3894.0269775390625,\r
+ "y": 1857.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "9a5fd1c3.7d763",\r
+ "e3871f94.a28688",\r
+ "67939630.c5f78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9a5fd1c3.7d763",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4089.527099609375,\r
+ "y": 1809.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "7fb21e6a.21f63"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e3871f94.a28688",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4081.527099609375,\r
+ "y": 1864.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "3c75373d.b0767"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "67939630.c5f78",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4086.527099609375,\r
+ "y": 1921.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "8ad73c5e.3d1f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8ad73c5e.3d1f",\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": 4238.527099609375,\r
+ "y": 1922.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3c75373d.b0767",\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": 4249.527099609375,\r
+ "y": 1867.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7fb21e6a.21f63",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4233.909423828125,\r
+ "y": 1807.4099426269531,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "a55467d3.0aaea8",\r
+ "87797c29.69366"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a55467d3.0aaea8",\r
+ "type": "set",\r
+ "name": "set domain A node-id and tpn",\r
+ "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\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",\r
+ "comments": "",\r
+ "x": 4459.0269775390625,\r
+ "y": 1762.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "63176143.c85c48",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 3981.0269775390625,\r
+ "y": 2104.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "87797c29.69366",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4418.0269775390625,\r
+ "y": 1821.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "58b11002.4131b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cef3ca9d.2c104",\r
+ "type": "execute",\r
+ "name": "execute split tp-id to get pnf-name",\r
+ "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=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3922.0269775390625,\r
+ "y": 1651.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "51326991.7f2898",\r
+ "d61d1517.27825"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d61d1517.27825",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4143.0269775390625,\r
+ "y": 1619.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "8ed0c03d.565928"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "51326991.7f2898",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4143.0269775390625,\r
+ "y": 1666.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "a6e04e00.ffd96"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8ed0c03d.565928",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4308.0269775390625,\r
+ "y": 1616.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "14cffe9c.903701"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "14cffe9c.903701",\r
+ "type": "set",\r
+ "name": "set domain-A.ltpId",\r
+ "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-ltp-id`' value=\"`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",\r
+ "comments": "",\r
+ "x": 4490.0269775390625,\r
+ "y": 1620.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a6e04e00.ffd96",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+ "comments": "",\r
+ "x": 4310.0269775390625,\r
+ "y": 1666.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cc685b27.bd32f",\r
+ "type": "comment",\r
+ "name": "Not useful anymore",\r
+ "info": "this domain-A.ltpId is not used anymore",\r
+ "comments": "",\r
+ "x": 4533.0269775390625,\r
+ "y": 1596.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "258887d0.26df98",\r
+ "type": "set",\r
+ "name": "set domain A tunnel tp ip",\r
+ "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-tunnel-tp-id`' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />\n",\r
+ "comments": "",\r
+ "x": 4675.0269775390625,\r
+ "y": 2010.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7878d7b8.ad7df",\r
+ "type": "outcome",\r
+ "name": "network-resource",\r
+ "xml": "<outcome value='network-resource'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4816.0269775390625,\r
+ "y": 1825.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "346dd4d8.896974"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "58b11002.4131b",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4613.0269775390625,\r
+ "y": 1821.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "7878d7b8.ad7df"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "346dd4d8.896974",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4993.0269775390625,\r
+ "y": 1817.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "dd0e1ad2.389f1",\r
+ "34802cc8.f036dc",\r
+ "83c1d591.e453a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dd0e1ad2.389f1",\r
+ "type": "set",\r
+ "name": "set domain A network-id",\r
+ "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",\r
+ "comments": "",\r
+ "x": 5208.0269775390625,\r
+ "y": 1798.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "34802cc8.f036dc",\r
+ "type": "get-resource",\r
+ "name": "get-resource src network-resource",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5225.0269775390625,\r
+ "y": 1862.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "c18da62b.d46198"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c18da62b.d46198",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5448.5269775390625,\r
+ "y": 1863.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "2a6e1402.9f26d4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2a6e1402.9f26d4",\r
+ "type": "set",\r
+ "name": "set domain A network-id, topo-id, client-id, etc",\r
+ "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<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-id`' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-provider-id`' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-client-id`' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-topology-id`' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-type`' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 1`' />\n\n\n",\r
+ "comments": "",\r
+ "x": 5713.0269775390625,\r
+ "y": 1852.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "83c1d591.e453a",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 5152.0269775390625,\r
+ "y": 1915.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "57f7d786.5549e8",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 2363.5269775390625,\r
+ "y": 2581.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e3c2dcef.aae8f8",\r
+ "type": "get-resource",\r
+ "name": "get-resource dst tp",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2444.527099609375,\r
+ "y": 2477.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "8b9fb321.70992",\r
+ "205abd09.598d9a",\r
+ "79e9c51.a089fbc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b9fb321.70992",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2667.0269775390625,\r
+ "y": 2619.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "6279b5de.cc4ff4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "205abd09.598d9a",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2651.0269775390625,\r
+ "y": 2670.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "46e04c65.2008ac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "79e9c51.a089fbc",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2654.0269775390625,\r
+ "y": 2722.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "76686faa.840d7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "76686faa.840d7",\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": 2824.0269775390625,\r
+ "y": 2725.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "46e04c65.2008ac",\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": 2836.0269775390625,\r
+ "y": 2674.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8589fea6.82485",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3023.4097900390625,\r
+ "y": 2630.4140014648438,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "12c89e29.9e0a4a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "12c89e29.9e0a4a",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3266.4097900390625,\r
+ "y": 2629.4140014648438,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "441cee99.bfaf"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6279b5de.cc4ff4",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2813.0269775390625,\r
+ "y": 2610.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "8589fea6.82485"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "441cee99.bfaf",\r
+ "type": "outcome",\r
+ "name": "tunnel-termination-point",\r
+ "xml": "<outcome value='tunnel-termination-point'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3522.6954345703125,\r
+ "y": 2629.2357788085938,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "ee93bb7d.d7a6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ee93bb7d.d7a6",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3822.5269775390625,\r
+ "y": 2626.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "7f181100.6e913",\r
+ "d5405c3b.2180e",\r
+ "a9d72cbf.011738",\r
+ "aba88a5.2928878",\r
+ "ce4f5014.a0532"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7f181100.6e913",\r
+ "type": "set",\r
+ "name": "set domain C node ttp-id",\r
+ "xml": "<set>\n<parameter name='tmp.domain-C.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 4064.5269775390625,\r
+ "y": 2580.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d5405c3b.2180e",\r
+ "type": "get-resource",\r
+ "name": "get-resource dst TTP",\r
+ "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-C.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4054.5269775390625,\r
+ "y": 2631.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "d43d5001.cef3c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d43d5001.cef3c8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4242.0269775390625,\r
+ "y": 2629.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "e0b1256e.3d7278"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e0b1256e.3d7278",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4431.0269775390625,\r
+ "y": 2618.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "2dbd68c.e7c9e98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "aba88a5.2928878",\r
+ "type": "get-resource",\r
+ "name": "get-resource dst pnf",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3891.0269775390625,\r
+ "y": 2460.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "dc3d15fa.81276",\r
+ "84f6f122.84593",\r
+ "df513d92.eaab28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "df513d92.eaab28",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4086.527099609375,\r
+ "y": 2412.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "992d2ff.35fffd"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "84f6f122.84593",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4078.527099609375,\r
+ "y": 2467.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "326a3ad9.081e7e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dc3d15fa.81276",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4083.527099609375,\r
+ "y": 2524.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "a9233954.28abb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "992d2ff.35fffd",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4230.909423828125,\r
+ "y": 2410.409942626953,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "faa22dd5.212148",\r
+ "9949d4ef.001688"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "326a3ad9.081e7e",\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": 4246.527099609375,\r
+ "y": 2470.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a9233954.28abb8",\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": 4235.527099609375,\r
+ "y": 2525.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "faa22dd5.212148",\r
+ "type": "set",\r
+ "name": "set domain C node-id and tpn",\r
+ "xml": "<set>\n<parameter name='domain-C.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-C.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-node-id`' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
+ "comments": "",\r
+ "x": 4440.0269775390625,\r
+ "y": 2377.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a9d72cbf.011738",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4010.0269775390625,\r
+ "y": 2672.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9949d4ef.001688",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4419.0269775390625,\r
+ "y": 2428.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "b61d11ba.55b168"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ce4f5014.a0532",\r
+ "type": "execute",\r
+ "name": "execute split tp-id to get pnf-name",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3930.0269775390625,\r
+ "y": 2275.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "3a973be3.1f749c",\r
+ "bccf88ee.38b55"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bccf88ee.38b55",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4151.0269775390625,\r
+ "y": 2243.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "f5e2899d.2e99e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3a973be3.1f749c",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4151.0269775390625,\r
+ "y": 2290.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "c9477994.8451e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f5e2899d.2e99e8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4316.0269775390625,\r
+ "y": 2240.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "aecbcfe0.6e5048"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "aecbcfe0.6e5048",\r
+ "type": "set",\r
+ "name": "set domain-C.ltpId",\r
+ "xml": "<set>\n<parameter name='domain-C.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-ltp-id`' value=\"`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
+ "comments": "",\r
+ "x": 4512.0269775390625,\r
+ "y": 2237.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c9477994.8451e8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+ "comments": "",\r
+ "x": 4318.0269775390625,\r
+ "y": 2290.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "abda304.2cd6cd",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5032.5269775390625,\r
+ "y": 2430.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "5c6e614a.9cad28",\r
+ "37c15682.dfe52a",\r
+ "ea1db027.01377"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8a710596.36ea6",\r
+ "type": "outcome",\r
+ "name": "network-resource",\r
+ "xml": "<outcome value='network-resource'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4819.5269775390625,\r
+ "y": 2429.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "abda304.2cd6cd"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2dbd68c.e7c9e98",\r
+ "type": "set",\r
+ "name": "set domain C tunnel tp id",\r
+ "xml": "<set>\n<parameter name='domain-C.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-tunnel-tp-id`' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
+ "comments": "",\r
+ "x": 4664.0269775390625,\r
+ "y": 2617.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b61d11ba.55b168",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4614.0269775390625,\r
+ "y": 2428.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "8a710596.36ea6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ea1db027.01377",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 5238.0269775390625,\r
+ "y": 2508.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "12cd95a6.c3a7d2",\r
+ "type": "comment",\r
+ "name": "Not useful anymore",\r
+ "info": "this domain-B.ltpId is not used anymore",\r
+ "comments": "",\r
+ "x": 4555.0269775390625,\r
+ "y": 2209.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5c6e614a.9cad28",\r
+ "type": "set",\r
+ "name": "set domain C network-id",\r
+ "xml": "<set>\n<parameter name='tmp.domain-C.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 5302.5269775390625,\r
+ "y": 2406.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "37c15682.dfe52a",\r
+ "type": "get-resource",\r
+ "name": "get-resource dst network-resource",\r
+ "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-C.network-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5312.5269775390625,\r
+ "y": 2452.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "826de71a.33a62"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "826de71a.33a62",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5528.0269775390625,\r
+ "y": 2443.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "2f251a3.863a066"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2f251a3.863a066",\r
+ "type": "set",\r
+ "name": "set domain B network-id, topo-id, client-id, etc",\r
+ "xml": "<set>\n<parameter name='domain-C.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-C.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-C.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-C.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-C.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-id`' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-provider-id`' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-client-id`' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-topology-id`' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-type`' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 2`' />",\r
+ "comments": "",\r
+ "x": 5782.5269775390625,\r
+ "y": 2449.7542724609375,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "825fbafd.18c12",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2689.199951171875,\r
+ "y": 268.0833282470703,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "88dc17ca.c3603",\r
+ "d63ef024.cfef08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "88dc17ca.c3603",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2880.199951171875,\r
+ "y": 272.0833282470703,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "85988dae.be2118"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "85988dae.be2118",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3007.199951171875,\r
+ "y": 271.0833282470703,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "1486884a.a84de"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1486884a.a84de",\r
+ "type": "switchNode",\r
+ "name": "switch 2-ROOTS in same domain?",\r
+ "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3230.083251953125,\r
+ "y": 265.9666442871094,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "baa46e2a.1397b",\r
+ "5009aa1a.49b42c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "baa46e2a.1397b",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3437.083251953125,\r
+ "y": 202.96664428710938,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "9723b3.a56f645"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5009aa1a.49b42c",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3367.083251953125,\r
+ "y": 393.9666748046875,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "9e442fe7.197ca8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9723b3.a56f645",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3579.083251953125,\r
+ "y": 192.96664428710938,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "74ae9ae0.0891cc",\r
+ "a08d8202.0e48d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9e442fe7.197ca8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3493.083251953125,\r
+ "y": 393.9666748046875,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "7af5d9ce.fbbb7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "821af63c.9d499",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2489.966796875,\r
+ "y": 271.0833435058594,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "825fbafd.18c12"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d63ef024.cfef08",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2884.933349609375,\r
+ "y": 224.0833282470703,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "3d7e803.580f08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "74ae9ae0.0891cc",\r
+ "type": "set",\r
+ "name": "set otnTopoIdDst",\r
+ "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+ "comments": "",\r
+ "x": 3737.666748046875,\r
+ "y": 172.0833282470703,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a08d8202.0e48d8",\r
+ "type": "set",\r
+ "name": "set otnTopoIdDstBackup",\r
+ "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+ "comments": "",\r
+ "x": 3759.666748046875,\r
+ "y": 220.0833282470703,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7af5d9ce.fbbb7",\r
+ "type": "set",\r
+ "name": "set otnTopoIdDst",\r
+ "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+ "comments": "",\r
+ "x": 3663.666748046875,\r
+ "y": 394.0833435058594,\r
+ "z": "740154b1.db9c44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "dccf569f.2f16c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2558.683349609375,\r
+ "y": 345.8833312988281,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "bb64af5d.7bf708"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bb64af5d.7bf708",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2757.91650390625,\r
+ "y": 342.88331604003906,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "c6cf934.ca6387"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c6cf934.ca6387",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2948.91650390625,\r
+ "y": 346.88331604003906,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "84398364.2e39d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "84398364.2e39d",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3075.91650390625,\r
+ "y": 345.88331604003906,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "cdc2b636.8886c8",\r
+ "type": "switchNode",\r
+ "name": "switch secondarySolutions empty?",\r
+ "xml": "<switch test='`length($otn-oof.secondarySolutions) == 0`'>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1419.566650390625,\r
+ "y": 1649.566650390625,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "930ebbc8.d33d1",\r
+ "e9824426.b9b25"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "930ebbc8.d33d1",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1645.4666748046875,\r
+ "y": 1621.566650390625,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "82cb40cb.6ece7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e9824426.b9b25",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1643.4666748046875,\r
+ "y": 1671.566650390625,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "82cb40cb.6ece7",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1787.566650390625,\r
+ "y": 1621.566650390625,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "7d4b4351.930cbc",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 798.4666748046875,\r
+ "y": 1838.566650390625,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "9310b044.9b3228"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9310b044.9b3228",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 984.4666748046875,\r
+ "y": 1839.566650390625,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "40a7bba6.ae5b54"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "40a7bba6.ae5b54",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1114.4666748046875,\r
+ "y": 1839.566650390625,\r
+ "z": "740154b1.db9c44",\r
+ "wires": [\r
+ [\r
+ "e1473f30.10032"\r
+ ]\r
+ ]\r
}\r
]
\ No newline at end of file