[\r
{\r
- "id": "fa52a170.206e7",\r
+ "id": "4bc4e8ab.1cf33",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 178,\r
- "y": 101,\r
- "z": "97fec48c.8eada",\r
+ "x": 93,\r
+ "y": 85,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "2c5db495.a5dd34"\r
+ "7e764ef5.0f0ce8"\r
]\r
]\r
},\r
{\r
- "id": "2c5db495.a5dd34",\r
+ "id": "7e764ef5.0f0ce8",\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": 303,\r
- "y": 427.00001525878906,\r
- "z": "97fec48c.8eada",\r
+ "x": 240,\r
+ "y": 660.0000152587891,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "4ae6db6f.435c7c"\r
+ "dba1761d.84c318"\r
]\r
]\r
},\r
{\r
- "id": "4ae6db6f.435c7c",\r
+ "id": "dba1761d.84c318",\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": 367.0001220703125,\r
- "y": 520,\r
- "z": "97fec48c.8eada",\r
+ "x": 304.0001220703125,\r
+ "y": 753,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "6312c3c3.704cf4"\r
+ "45853653.2d7d8"\r
]\r
]\r
},\r
{\r
- "id": "6bdd3c50.e0d3d4",\r
+ "id": "29b9ed96.3b1cca",\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": 849.9730834960938,\r
- "y": 178.99600219726562,\r
- "z": "97fec48c.8eada",\r
+ "x": 349.9730682373047,\r
+ "y": 271.996000289917,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "7939df96.b1122",\r
- "945597b.d7df068"\r
+ "5ed3456b.75dffc",\r
+ "d4b7459.be16038"\r
]\r
]\r
},\r
{\r
- "id": "7939df96.b1122",\r
+ "id": "5ed3456b.75dffc",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1089.9732246398926,\r
- "y": 202.9959716796875,\r
- "z": "97fec48c.8eada",\r
+ "x": 589.9732093811035,\r
+ "y": 295.99596977233887,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "50ded459.a3ce3c"\r
+ "c8e36f8b.a2bbd8"\r
]\r
]\r
},\r
{\r
- "id": "b5aef0e7.4cc018",\r
+ "id": "e29f4917.f911e8",\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": 1259.97314453125,\r
- "y": 142.99606323242188,\r
- "z": "97fec48c.8eada",\r
+ "x": 759.9731292724609,\r
+ "y": 235.99606132507324,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "945597b.d7df068",\r
+ "id": "d4b7459.be16038",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1088.9730110168457,\r
- "y": 151.99606227874756,\r
- "z": "97fec48c.8eada",\r
+ "x": 588.9729957580566,\r
+ "y": 244.99606037139893,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "b5aef0e7.4cc018"\r
+ "e29f4917.f911e8"\r
]\r
]\r
},\r
{\r
- "id": "e01d4a36.839a2",\r
+ "id": "a76b8924.9422c",\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": 821.4768829345703,\r
- "y": 135.00000190734863,\r
- "z": "97fec48c.8eada",\r
+ "x": 321.47686767578125,\r
+ "y": 228,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "9cfd026a.5e4728",\r
+ "id": "485028.3d8fcfd8",\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": 840.972900390625,\r
- "y": 488.2457275390625,\r
- "z": "97fec48c.8eada",\r
+ "x": 777.972900390625,\r
+ "y": 721.2457275390625,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "8402c7cf.20d6c"\r
+ "b7d2be7c.5e3ac8"\r
]\r
]\r
},\r
{\r
- "id": "e807132a.83466",\r
+ "id": "c4646d25.9ab0f",\r
"type": "comment",\r
"name": "Loop through OTN links",\r
"info": "",\r
"comments": "",\r
- "x": 924.4732055664062,\r
- "y": 567.74609375,\r
- "z": "97fec48c.8eada",\r
+ "x": 861.4732055664062,\r
+ "y": 800.74609375,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "8402c7cf.20d6c",\r
+ "id": "b7d2be7c.5e3ac8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 945.5001220703125,\r
- "y": 679.2864990234375,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "5b85782.fa3db08",\r
- "2d5a2685.b40dfa",\r
- "20564e8a.e84492"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "5b85782.fa3db08",\r
- "type": "get-resource",\r
- "name": "get-resource cross-link",\r
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"logical-link\" \n\t\tkey=\"logical-link.link-name = $otn-oof.link-name\"\n pfx='tmp.aai.cross-link' local-only='false' >\n\n <!--AND depth = '0'\"-->\n\n\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1202.5001220703125,\r
- "y": 669.2864990234375,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "d48feed1.3a38",\r
- "5943270e.4826e8",\r
- "990db839.99a8f8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "990db839.99a8f8",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1404.0001220703125,\r
- "y": 544.2864685058594,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "a9f1b4b6.1c30e8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "d48feed1.3a38",\r
- "type": "not-found",\r
- "name": "not-found",\r
- "xml": "<outcome value='not-found'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1440.0001220703125,\r
- "y": 669.2864990234375,\r
- "z": "97fec48c.8eada",\r
+ "x": 882.5001220703125,\r
+ "y": 912.2864990234375,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "ac3b3843.658d4"\r
+ "6750495a.41286",\r
+ "abe518b.cefde68",\r
+ "165db6ae.de2bb9",\r
+ "fda3acff.66dac8",\r
+ "188880e9.f084a7"\r
]\r
]\r
},\r
{\r
- "id": "5943270e.4826e8",\r
- "type": "other",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1434.0001220703125,\r
- "y": 719.2864990234375,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "da410969.0b2cc"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "ac3b3843.658d4",\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": 1601.0001220703125,\r
- "y": 658.2864990234375,\r
- "z": "97fec48c.8eada",\r
- "wires": []\r
- },\r
- {\r
- "id": "da410969.0b2cc",\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": 1599.0001220703125,\r
- "y": 714.2864990234375,\r
- "z": "97fec48c.8eada",\r
- "wires": []\r
- },\r
- {\r
- "id": "d48fe5f1.e695e8",\r
- "type": "comment",\r
- "name": "get cross-domain-link information",\r
- "info": "",\r
- "comments": "",\r
- "x": 1208.5001220703125,\r
- "y": 618.2864990234375,\r
- "z": "97fec48c.8eada",\r
- "wires": []\r
- },\r
- {\r
- "id": "2d5a2685.b40dfa",\r
+ "id": "6750495a.41286",\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].link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].start_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].end_node`' />",\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": 1192.0001220703125,\r
- "y": 572.2864990234375,\r
- "z": "97fec48c.8eada",\r
+ "x": 1129.0001220703125,\r
+ "y": 805.2864990234375,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "50ded459.a3ce3c",\r
+ "id": "c8e36f8b.a2bbd8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1235.0002708435059,\r
- "y": 200.74145698547363,\r
- "z": "97fec48c.8eada",\r
+ "x": 735.0002555847168,\r
+ "y": 293.741455078125,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "6312c3c3.704cf4",\r
+ "id": "45853653.2d7d8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 607.9688835144043,\r
- "y": 446.74163722991943,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "9cfd026a.5e4728",\r
- "6bdd3c50.e0d3d4",\r
- "3d2e0b8f.457abc"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "2581c748.7cabd8",\r
- "type": "switchNode",\r
- "name": "test cross-domain-link role",\r
- "xml": "<switch test='`$tmp.aai.cross-link.link-role`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1719.5001220703125,\r
- "y": 544,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "22f3b1f4.9256fe"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "22f3b1f4.9256fe",\r
- "type": "outcome",\r
- "name": "outcome cross-domain",\r
- "xml": "<outcome value='cross-domain'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1955.5001220703125,\r
- "y": 545,\r
- "z": "97fec48c.8eada",\r
+ "x": 544.9688835144043,\r
+ "y": 679.7416372299194,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "8b1c590c.dc55d"\r
+ "485028.3d8fcfd8",\r
+ "7882cf69.81bba",\r
+ "f346bebe.50149"\r
]\r
]\r
},\r
{\r
- "id": "a2b70b63.3ba9c8",\r
+ "id": "9f64f3d6.06a948",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 2359.4998779296875,\r
- "y": 1005,\r
- "z": "97fec48c.8eada",\r
+ "x": 2296.4998779296875,\r
+ "y": 1238,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "8b1c590c.dc55d",\r
+ "id": "188880e9.f084a7",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2158.5001220703125,\r
- "y": 546,\r
- "z": "97fec48c.8eada",\r
+ "x": 1095.5001220703125,\r
+ "y": 994,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "a2b70b63.3ba9c8",\r
- "4ab81af3.e377f4",\r
- "b2e8772a.8ac6e8",\r
- "a42edec8.e98fb"\r
+ "d9b8b0f0.11df08",\r
+ "16b2f778.e973e1"\r
]\r
]\r
},\r
{\r
- "id": "3bc9b9f2.81b29e",\r
+ "id": "6f8fa296.cf0b14",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2683.9998779296875,\r
- "y": 496,\r
- "z": "97fec48c.8eada",\r
+ "x": 2620.9998779296875,\r
+ "y": 729,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "5d4d6dbf.b923ac"\r
+ "53738595.29239c"\r
]\r
]\r
},\r
{\r
- "id": "37303a4c.954af6",\r
+ "id": "dfb73ef2.d6e5",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2717,\r
- "y": 554,\r
- "z": "97fec48c.8eada",\r
+ "x": 2654,\r
+ "y": 787,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "9e71e39b.7fa1"\r
+ "3b0779f0.32a56e"\r
]\r
]\r
},\r
{\r
- "id": "fd9ad854.5b33c8",\r
+ "id": "a2313ee1.1bd3f8",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2720,\r
- "y": 606,\r
- "z": "97fec48c.8eada",\r
+ "x": 2657,\r
+ "y": 839,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "72bd806e.4e60a8"\r
+ "28c1fd94.c84d7a"\r
]\r
]\r
},\r
{\r
- "id": "9e71e39b.7fa1",\r
+ "id": "3b0779f0.32a56e",\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": 2902,\r
- "y": 558,\r
- "z": "97fec48c.8eada",\r
+ "x": 2839,\r
+ "y": 791,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "72bd806e.4e60a8",\r
+ "id": "28c1fd94.c84d7a",\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": 2890,\r
- "y": 609,\r
- "z": "97fec48c.8eada",\r
+ "x": 2827,\r
+ "y": 842,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "a1ab74dd.259888",\r
+ "id": "e56a35d6.459af8",\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[$vidx].relationship-data[0].relationship-value`\" />\n",\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": 4020.4998779296875,\r
- "y": 411,\r
- "z": "97fec48c.8eada",\r
+ "x": 3957.4998779296875,\r
+ "y": 644,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "78028b3.737cf74",\r
+ "id": "a811b593.25ff8",\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": 4028.4998779296875,\r
- "y": 463,\r
- "z": "97fec48c.8eada",\r
+ "x": 3965.4998779296875,\r
+ "y": 696,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "f334aa73.fafd8"\r
+ "d6328bc3.e91228"\r
]\r
]\r
},\r
{\r
- "id": "f334aa73.fafd8",\r
+ "id": "d6328bc3.e91228",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4234.9998779296875,\r
- "y": 441,\r
- "z": "97fec48c.8eada",\r
+ "x": 4171.9998779296875,\r
+ "y": 674,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "198591da.45bba6"\r
+ "fcc7de43.1b588"\r
]\r
]\r
},\r
{\r
- "id": "c586fad5.100ad",\r
+ "id": "f5150efc.cab85",\r
"type": "outcome",\r
"name": "tunnel-termination-point",\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3572.6683349609375,\r
- "y": 489.48150634765625,\r
- "z": "97fec48c.8eada",\r
+ "x": 3509.6683349609375,\r
+ "y": 722.4815063476562,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "8d515769.aa6f4"\r
+ "912955c2.11e7a"\r
]\r
]\r
},\r
{\r
- "id": "18757b7c.bab055",\r
+ "id": "fd862c08.f8b4a",\r
"type": "for",\r
"name": "for each relationship",\r
- "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\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": 3035.3826904296875,\r
- "y": 491.65972900390625,\r
- "z": "97fec48c.8eada",\r
+ "x": 2972.3826904296875,\r
+ "y": 724.6597290039062,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "e5aaccbc.1746e"\r
+ "8c595bd0.378e98"\r
]\r
]\r
},\r
{\r
- "id": "e5aaccbc.1746e",\r
+ "id": "8c595bd0.378e98",\r
"type": "switchNode",\r
"name": "switch related-to",\r
- "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$vidx].related-to`'>\n",\r
+ "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3287.3826904296875,\r
- "y": 488.65972900390625,\r
- "z": "97fec48c.8eada",\r
+ "x": 3224.3826904296875,\r
+ "y": 721.6597290039062,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "c586fad5.100ad"\r
+ "f5150efc.cab85"\r
]\r
]\r
},\r
{\r
- "id": "8d515769.aa6f4",\r
+ "id": "912955c2.11e7a",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3799.4998779296875,\r
- "y": 478,\r
- "z": "97fec48c.8eada",\r
+ "x": 3736.4998779296875,\r
+ "y": 711,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "a1ab74dd.259888",\r
- "78028b3.737cf74",\r
- "e29873e7.48a55",\r
- "60eed173.f1208",\r
- "c69a19d0.8fe6d"\r
+ "e56a35d6.459af8",\r
+ "a811b593.25ff8",\r
+ "2abf934.785ecec",\r
+ "bc51fa32.9144b",\r
+ "4ad035fb.c384cc"\r
]\r
]\r
},\r
{\r
- "id": "4ab81af3.e377f4",\r
+ "id": "d9b8b0f0.11df08",\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": 2440.5,\r
- "y": 901,\r
- "z": "97fec48c.8eada",\r
+ "x": 2377.5,\r
+ "y": 1134,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "995af278.af1ac8",\r
- "c9dcb57d.818b28",\r
- "86496d30.4c8b08"\r
+ "2a761980.732196",\r
+ "d9fef4c9.0420c",\r
+ "6bc11e9d.31baa8"\r
]\r
]\r
},\r
{\r
- "id": "995af278.af1ac8",\r
+ "id": "2a761980.732196",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2662.9998779296875,\r
- "y": 1043,\r
- "z": "97fec48c.8eada",\r
+ "x": 2599.9998779296875,\r
+ "y": 1276,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "298c76a3.790b2a"\r
+ "6a724ed4.0c2ee"\r
]\r
]\r
},\r
{\r
- "id": "c9dcb57d.818b28",\r
+ "id": "d9fef4c9.0420c",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2646.9998779296875,\r
- "y": 1094,\r
- "z": "97fec48c.8eada",\r
+ "x": 2583.9998779296875,\r
+ "y": 1327,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "e35f9b5f.fe69c8"\r
+ "5b682716.7565c"\r
]\r
]\r
},\r
{\r
- "id": "86496d30.4c8b08",\r
+ "id": "6bc11e9d.31baa8",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2649.9998779296875,\r
- "y": 1146,\r
- "z": "97fec48c.8eada",\r
+ "x": 2586.9998779296875,\r
+ "y": 1379,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "fe485369.3b129"\r
+ "f53f8dec.b8eab8"\r
]\r
]\r
},\r
{\r
- "id": "fe485369.3b129",\r
+ "id": "f53f8dec.b8eab8",\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": 2819.9998779296875,\r
- "y": 1149,\r
- "z": "97fec48c.8eada",\r
+ "x": 2756.9998779296875,\r
+ "y": 1382,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "e35f9b5f.fe69c8",\r
+ "id": "5b682716.7565c",\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": 2831.9998779296875,\r
- "y": 1098,\r
- "z": "97fec48c.8eada",\r
+ "x": 2768.9998779296875,\r
+ "y": 1331,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "b29ef002.3d9bd8",\r
+ "id": "6b5c01f3.fe6da8",\r
"type": "for",\r
"name": "for each relationship",\r
- "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\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": 3019.3826904296875,\r
- "y": 1053.6597290039062,\r
- "z": "97fec48c.8eada",\r
+ "x": 2956.3826904296875,\r
+ "y": 1286.6597290039062,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "1420228.3521e5e"\r
+ "1a571bfc.aeed5c"\r
]\r
]\r
},\r
{\r
- "id": "1420228.3521e5e",\r
+ "id": "1a571bfc.aeed5c",\r
"type": "switchNode",\r
"name": "switch related-to",\r
- "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].related-to`'>\n",\r
+ "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3262.3826904296875,\r
- "y": 1052.6597290039062,\r
- "z": "97fec48c.8eada",\r
+ "x": 3199.3826904296875,\r
+ "y": 1285.6597290039062,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "5d8a1ce9.20e95c"\r
+ "90623cd4.fe0a58"\r
]\r
]\r
},\r
{\r
- "id": "50d5c6dd.fd8458",\r
+ "id": "aa0b1701.8dfea",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 5028.4998779296875,\r
- "y": 854,\r
- "z": "97fec48c.8eada",\r
+ "x": 4965.4998779296875,\r
+ "y": 1087,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "6e9eddf0.722754",\r
- "4df00122.6ae7d8",\r
- "5c18dd82.55be5c"\r
+ "550b57d7.8fa528",\r
+ "74f2c02.a79f64",\r
+ "f2bb305d.4422b8"\r
]\r
]\r
},\r
{\r
- "id": "5d8a1ce9.20e95c",\r
+ "id": "90623cd4.fe0a58",\r
"type": "outcome",\r
"name": "tunnel-termination-point",\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3518.6683349609375,\r
- "y": 1052.4815063476562,\r
- "z": "97fec48c.8eada",\r
+ "x": 3455.6683349609375,\r
+ "y": 1285.4815063476562,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "431b8e7f.397f08"\r
+ "2cff3582.3d605a"\r
]\r
]\r
},\r
{\r
- "id": "5d78c070.cc21d",\r
+ "id": "66c4a517.3f3fd4",\r
"type": "outcome",\r
"name": "network-resource",\r
"xml": "<outcome value='network-resource'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4815.4998779296875,\r
- "y": 853,\r
- "z": "97fec48c.8eada",\r
+ "x": 4752.4998779296875,\r
+ "y": 1086,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "50d5c6dd.fd8458"\r
+ "aa0b1701.8dfea"\r
]\r
]\r
},\r
{\r
- "id": "431b8e7f.397f08",\r
+ "id": "2cff3582.3d605a",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3818.4998779296875,\r
- "y": 1050,\r
- "z": "97fec48c.8eada",\r
+ "x": 3755.4998779296875,\r
+ "y": 1283,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "9fe095e8.34fca",\r
- "9f30760a.8f0188",\r
- "3e68bf5c.62e23",\r
- "16edc927.badbff",\r
- "c1a0d70e.9bb548"\r
+ "34a1c052.ba37a8",\r
+ "ce64c552.7245c",\r
+ "3a5f117c.72df06",\r
+ "668e003.0972e8",\r
+ "888129ab.9ea2a8"\r
]\r
]\r
},\r
{\r
- "id": "9fe095e8.34fca",\r
+ "id": "34a1c052.ba37a8",\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[$vidx].relationship-data[0].relationship-value`\" />\n",\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": 4060.4998779296875,\r
- "y": 1004,\r
- "z": "97fec48c.8eada",\r
+ "x": 3997.4998779296875,\r
+ "y": 1237,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "9f30760a.8f0188",\r
+ "id": "ce64c552.7245c",\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": 4050.4998779296875,\r
- "y": 1055,\r
- "z": "97fec48c.8eada",\r
+ "x": 3987.4998779296875,\r
+ "y": 1288,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "f0dbdf9f.2f9a"\r
+ "c6558909.ba61"\r
]\r
]\r
},\r
{\r
- "id": "f0dbdf9f.2f9a",\r
+ "id": "c6558909.ba61",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4237.9998779296875,\r
- "y": 1053,\r
- "z": "97fec48c.8eada",\r
+ "x": 4174.9998779296875,\r
+ "y": 1286,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "aaf730ad.ded658"\r
+ "b166ec42.f7a328"\r
]\r
]\r
},\r
{\r
- "id": "6e9eddf0.722754",\r
+ "id": "550b57d7.8fa528",\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": 5298.4998779296875,\r
- "y": 830,\r
- "z": "97fec48c.8eada",\r
+ "x": 5235.4998779296875,\r
+ "y": 1063,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "4df00122.6ae7d8",\r
+ "id": "74f2c02.a79f64",\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": 5308.4998779296875,\r
- "y": 876,\r
- "z": "97fec48c.8eada",\r
+ "x": 5245.4998779296875,\r
+ "y": 1109,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "6bfb2c0.fcf9cd4"\r
+ "e85530cd.ad8bf8"\r
]\r
]\r
},\r
{\r
- "id": "6bfb2c0.fcf9cd4",\r
+ "id": "e85530cd.ad8bf8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5523.9998779296875,\r
- "y": 867,\r
- "z": "97fec48c.8eada",\r
+ "x": 5460.9998779296875,\r
+ "y": 1100,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "46a8e7db.6247c8"\r
+ "e3266a0a.5cb158"\r
]\r
]\r
},\r
{\r
- "id": "46a8e7db.6247c8",\r
+ "id": "e3266a0a.5cb158",\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": 5778.4998779296875,\r
- "y": 873,\r
- "z": "97fec48c.8eada",\r
+ "x": 5715.4998779296875,\r
+ "y": 1106,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "5d4d6dbf.b923ac",\r
+ "id": "53738595.29239c",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2817.9998779296875,\r
- "y": 492,\r
- "z": "97fec48c.8eada",\r
+ "x": 2754.9998779296875,\r
+ "y": 725,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "18757b7c.bab055"\r
+ "fd862c08.f8b4a"\r
]\r
]\r
},\r
{\r
- "id": "298c76a3.790b2a",\r
+ "id": "6a724ed4.0c2ee",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2808.9998779296875,\r
- "y": 1034,\r
- "z": "97fec48c.8eada",\r
+ "x": 2745.9998779296875,\r
+ "y": 1267,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "b29ef002.3d9bd8"\r
+ "6b5c01f3.fe6da8"\r
]\r
]\r
},\r
{\r
- "id": "a9f1b4b6.1c30e8",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1538,\r
- "y": 546,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "2581c748.7cabd8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "b2e8772a.8ac6e8",\r
- "type": "for",\r
- "name": "for each relationship",\r
- "xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2392.9998779296875,\r
- "y": 313,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "3399a4f5.011714"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "3399a4f5.011714",\r
- "type": "switchNode",\r
- "name": "switch related-to",\r
- "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2591.9998779296875,\r
- "y": 310,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "d2b9c322.61b4e"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "d2b9c322.61b4e",\r
- "type": "outcome",\r
- "name": "p-interface",\r
- "xml": "<outcome value='p-interface'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2769.1173095703125,\r
- "y": 308.34027099609375,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "daf680e0.e985f"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "614113e.09a2a6c",\r
- "type": "set",\r
- "name": "set src-ltpId",\r
- "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n\n<!--<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-ltp-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />-->\n<!--<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />-->\n\n<!--<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />-->\n",\r
- "comments": "",\r
- "x": 3620.9998779296875,\r
- "y": 222,\r
- "z": "97fec48c.8eada",\r
- "wires": []\r
- },\r
- {\r
- "id": "c1945a01.da39d8",\r
- "type": "break",\r
- "name": "break",\r
- "xml": "<break>\n",\r
- "comments": "",\r
- "x": 3605.9998779296875,\r
- "y": 270,\r
- "z": "97fec48c.8eada",\r
- "wires": []\r
- },\r
- {\r
- "id": "daf680e0.e985f",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2908.9998779296875,\r
- "y": 293,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "56dc1543.ce88ec",\r
- "b07af7fc.6b63b8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "198591da.45bba6",\r
+ "id": "fcc7de43.1b588",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4409.9998779296875,\r
- "y": 437,\r
- "z": "97fec48c.8eada",\r
+ "x": 4346.9998779296875,\r
+ "y": 670,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "c08fd8d6.2bd66"\r
+ "a813a414.4bba4"\r
]\r
]\r
},\r
{\r
- "id": "aaf730ad.ded658",\r
+ "id": "b166ec42.f7a328",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4426.9998779296875,\r
- "y": 1042,\r
- "z": "97fec48c.8eada",\r
+ "x": 4363.9998779296875,\r
+ "y": 1275,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "64775e7a.bf3908"\r
+ "6ce614ed.7484ac"\r
]\r
]\r
},\r
{\r
- "id": "a42edec8.e98fb",\r
+ "id": "16b2f778.e973e1",\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": 2486.5,\r
- "y": 535,\r
- "z": "97fec48c.8eada",\r
+ "x": 2423.5,\r
+ "y": 768,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "3bc9b9f2.81b29e",\r
- "37303a4c.954af6",\r
- "fd9ad854.5b33c8"\r
+ "6f8fa296.cf0b14",\r
+ "dfb73ef2.d6e5",\r
+ "a2313ee1.1bd3f8"\r
]\r
]\r
},\r
{\r
- "id": "e29873e7.48a55",\r
+ "id": "2abf934.785ecec",\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": 3889.9998779296875,\r
- "y": 281,\r
- "z": "97fec48c.8eada",\r
+ "x": 3826.9998779296875,\r
+ "y": 514,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "98eef2c3.4b1e6",\r
- "b3fdc3b3.daa6d",\r
- "bb3698f8.9dc54"\r
+ "2718cbe0.743744",\r
+ "c770af9d.e00ad8",\r
+ "4dc6603f.cfce08"\r
]\r
]\r
},\r
{\r
- "id": "98eef2c3.4b1e6",\r
+ "id": "2718cbe0.743744",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4085.5,\r
- "y": 233,\r
- "z": "97fec48c.8eada",\r
+ "x": 4022.5,\r
+ "y": 466,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "1e54913c.73cd4f"\r
+ "d9208e7d.606"\r
]\r
]\r
},\r
{\r
- "id": "b3fdc3b3.daa6d",\r
+ "id": "c770af9d.e00ad8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4077.5,\r
- "y": 288,\r
- "z": "97fec48c.8eada",\r
+ "x": 4014.5,\r
+ "y": 521,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "8746e11a.2a66c"\r
+ "6bb9b9b7.b2076"\r
]\r
]\r
},\r
{\r
- "id": "bb3698f8.9dc54",\r
+ "id": "4dc6603f.cfce08",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4082.5,\r
- "y": 345,\r
- "z": "97fec48c.8eada",\r
+ "x": 4019.5,\r
+ "y": 578,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "be336b5b.cedab8"\r
+ "59153395.1608bc"\r
]\r
]\r
},\r
{\r
- "id": "be336b5b.cedab8",\r
+ "id": "59153395.1608bc",\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": 4234.5,\r
- "y": 346,\r
- "z": "97fec48c.8eada",\r
+ "x": 4171.5,\r
+ "y": 579,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "8746e11a.2a66c",\r
+ "id": "6bb9b9b7.b2076",\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": 4245.5,\r
- "y": 291,\r
- "z": "97fec48c.8eada",\r
+ "x": 4182.5,\r
+ "y": 524,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "1e54913c.73cd4f",\r
+ "id": "d9208e7d.606",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4229.88232421875,\r
- "y": 230.65567016601562,\r
- "z": "97fec48c.8eada",\r
+ "x": 4166.88232421875,\r
+ "y": 463.6556701660156,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "e08a0980.5d50e",\r
- "8e112ac6.c7732"\r
+ "55254083.c38b58",\r
+ "8aa824b7.0c6278"\r
]\r
]\r
},\r
{\r
- "id": "e08a0980.5d50e",\r
+ "id": "55254083.c38b58",\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": 4454.9998779296875,\r
- "y": 186,\r
- "z": "97fec48c.8eada",\r
+ "x": 4391.9998779296875,\r
+ "y": 419,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "60eed173.f1208",\r
+ "id": "bc51fa32.9144b",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 3976.9998779296875,\r
- "y": 528,\r
- "z": "97fec48c.8eada",\r
+ "x": 3913.9998779296875,\r
+ "y": 761,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "c08fd8d6.2bd66",\r
+ "id": "a813a414.4bba4",\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": 4670.9998779296875,\r
- "y": 434,\r
- "z": "97fec48c.8eada",\r
+ "x": 4607.9998779296875,\r
+ "y": 667,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "16edc927.badbff",\r
+ "id": "668e003.0972e8",\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": 3886.9998779296875,\r
- "y": 884,\r
- "z": "97fec48c.8eada",\r
+ "x": 3823.9998779296875,\r
+ "y": 1117,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "123bf516.85c49b",\r
- "6c28943b.60b994",\r
- "19639884.e536cf"\r
+ "ba64936b.6e28a",\r
+ "60671a93.606c04",\r
+ "68c36f77.2ea158"\r
]\r
]\r
},\r
{\r
- "id": "19639884.e536cf",\r
+ "id": "68c36f77.2ea158",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4082.5,\r
- "y": 836,\r
- "z": "97fec48c.8eada",\r
+ "x": 4019.5,\r
+ "y": 1069,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "c2d1aecb.85e098"\r
+ "90c8108b.3d46b8"\r
]\r
]\r
},\r
{\r
- "id": "6c28943b.60b994",\r
+ "id": "60671a93.606c04",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4074.5,\r
- "y": 891,\r
- "z": "97fec48c.8eada",\r
+ "x": 4011.5,\r
+ "y": 1124,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "1ac89a13.d0df06"\r
+ "694c4d07.5571c4"\r
]\r
]\r
},\r
{\r
- "id": "123bf516.85c49b",\r
+ "id": "ba64936b.6e28a",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4079.5,\r
- "y": 948,\r
- "z": "97fec48c.8eada",\r
+ "x": 4016.5,\r
+ "y": 1181,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "b06bf8cb.62556"\r
+ "8a4ef9a5.3b77b8"\r
]\r
]\r
},\r
{\r
- "id": "c2d1aecb.85e098",\r
+ "id": "90c8108b.3d46b8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4226.88232421875,\r
- "y": 833.6556701660156,\r
- "z": "97fec48c.8eada",\r
+ "x": 4163.88232421875,\r
+ "y": 1066.6556701660156,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "a9a60061.b99928",\r
- "cfa839ce.804738"\r
+ "925c2765.45f7c",\r
+ "a7906754.f0e008"\r
]\r
]\r
},\r
{\r
- "id": "1ac89a13.d0df06",\r
+ "id": "694c4d07.5571c4",\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": 4242.5,\r
- "y": 894,\r
- "z": "97fec48c.8eada",\r
+ "x": 4179.5,\r
+ "y": 1127,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "b06bf8cb.62556",\r
+ "id": "8a4ef9a5.3b77b8",\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": 4231.5,\r
- "y": 949,\r
- "z": "97fec48c.8eada",\r
+ "x": 4168.5,\r
+ "y": 1182,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "a9a60061.b99928",\r
+ "id": "925c2765.45f7c",\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": 4435.9998779296875,\r
- "y": 801,\r
- "z": "97fec48c.8eada",\r
+ "x": 4372.9998779296875,\r
+ "y": 1034,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "3e68bf5c.62e23",\r
+ "id": "3a5f117c.72df06",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4005.9998779296875,\r
- "y": 1096,\r
- "z": "97fec48c.8eada",\r
+ "x": 3942.9998779296875,\r
+ "y": 1329,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "64775e7a.bf3908",\r
+ "id": "6ce614ed.7484ac",\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": 4659.9998779296875,\r
- "y": 1041,\r
- "z": "97fec48c.8eada",\r
+ "x": 4596.9998779296875,\r
+ "y": 1274,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "8aefd07e.260d8",\r
+ "id": "73216d1e.d409d4",\r
"type": "outcome",\r
"name": "network-resource",\r
"xml": "<outcome value='network-resource'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4811.9998779296875,\r
- "y": 249,\r
- "z": "97fec48c.8eada",\r
+ "x": 4748.9998779296875,\r
+ "y": 482,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "4f8861e6.824728"\r
+ "8e56eb89.dcf8d"\r
]\r
]\r
},\r
{\r
- "id": "4f8861e6.824728",\r
+ "id": "8e56eb89.dcf8d",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4988.9998779296875,\r
- "y": 241,\r
- "z": "97fec48c.8eada",\r
+ "x": 4925.9998779296875,\r
+ "y": 474,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "8261f1c0.e8f31",\r
- "36d8211f.467a7e",\r
- "49234c70.a5c64c"\r
+ "8a97b17a.8e6468",\r
+ "4190236a.ccd374",\r
+ "2d2f03c2.a9effc"\r
]\r
]\r
},\r
{\r
- "id": "8261f1c0.e8f31",\r
+ "id": "8a97b17a.8e6468",\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": 5203.9998779296875,\r
- "y": 222,\r
- "z": "97fec48c.8eada",\r
+ "x": 5140.9998779296875,\r
+ "y": 455,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "36d8211f.467a7e",\r
+ "id": "4190236a.ccd374",\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": 5220.9998779296875,\r
- "y": 286,\r
- "z": "97fec48c.8eada",\r
+ "x": 5157.9998779296875,\r
+ "y": 519,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "92167a44.d7bee"\r
+ "84a43718.34957"\r
]\r
]\r
},\r
{\r
- "id": "92167a44.d7bee",\r
+ "id": "84a43718.34957",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5444.4998779296875,\r
- "y": 287,\r
- "z": "97fec48c.8eada",\r
+ "x": 5381.4998779296875,\r
+ "y": 520,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "eafcd68a.31cbf"\r
+ "95ce66c5.711c6"\r
]\r
]\r
},\r
{\r
- "id": "eafcd68a.31cbf",\r
+ "id": "95ce66c5.711c6",\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": 5708.9998779296875,\r
- "y": 276,\r
- "z": "97fec48c.8eada",\r
+ "x": 5645.9998779296875,\r
+ "y": 509,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "8e112ac6.c7732",\r
+ "id": "8aa824b7.0c6278",\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": 4413.9998779296875,\r
- "y": 245,\r
- "z": "97fec48c.8eada",\r
+ "x": 4350.9998779296875,\r
+ "y": 478,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "7a3db7fd.944d68"\r
+ "5a4b07ac.8d3028"\r
]\r
]\r
},\r
{\r
- "id": "7a3db7fd.944d68",\r
+ "id": "5a4b07ac.8d3028",\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": 4608.9998779296875,\r
- "y": 245,\r
- "z": "97fec48c.8eada",\r
+ "x": 4545.9998779296875,\r
+ "y": 478,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "8aefd07e.260d8"\r
+ "73216d1e.d409d4"\r
]\r
]\r
},\r
{\r
- "id": "49234c70.a5c64c",\r
+ "id": "2d2f03c2.a9effc",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 5147.9998779296875,\r
- "y": 339,\r
- "z": "97fec48c.8eada",\r
+ "x": 5084.9998779296875,\r
+ "y": 572,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "cfa839ce.804738",\r
+ "id": "a7906754.f0e008",\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": 4414.9998779296875,\r
- "y": 852,\r
- "z": "97fec48c.8eada",\r
+ "x": 4351.9998779296875,\r
+ "y": 1085,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "4d05ba94.558ef4"\r
+ "6641c07e.096d18"\r
]\r
]\r
},\r
{\r
- "id": "4d05ba94.558ef4",\r
+ "id": "6641c07e.096d18",\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": 4609.9998779296875,\r
- "y": 852,\r
- "z": "97fec48c.8eada",\r
+ "x": 4546.9998779296875,\r
+ "y": 1085,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "5d78c070.cc21d"\r
+ "66c4a517.3f3fd4"\r
]\r
]\r
},\r
{\r
- "id": "5c18dd82.55be5c",\r
+ "id": "f2bb305d.4422b8",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 5233.9998779296875,\r
- "y": 932,\r
- "z": "97fec48c.8eada",\r
+ "x": 5170.9998779296875,\r
+ "y": 1165,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "c69a19d0.8fe6d",\r
+ "id": "4ad035fb.c384cc",\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=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",\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": 3917.9998779296875,\r
- "y": 75,\r
- "z": "97fec48c.8eada",\r
+ "x": 3854.9998779296875,\r
+ "y": 308,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "4ca85973.1ae2a",\r
- "285acc14.d6b794"\r
+ "5bd2f425.157014",\r
+ "a6025f31.cc3d4"\r
]\r
]\r
},\r
{\r
- "id": "285acc14.d6b794",\r
+ "id": "a6025f31.cc3d4",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4138.9998779296875,\r
- "y": 43,\r
- "z": "97fec48c.8eada",\r
+ "x": 4075.9998779296875,\r
+ "y": 276,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "2fdf8051.c7f6a8"\r
+ "61178ee6.46287"\r
]\r
]\r
},\r
{\r
- "id": "4ca85973.1ae2a",\r
+ "id": "5bd2f425.157014",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4138.9998779296875,\r
- "y": 90,\r
- "z": "97fec48c.8eada",\r
+ "x": 4075.9998779296875,\r
+ "y": 323,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "be0791af.66d9e"\r
+ "3bd5270a.9b3388"\r
]\r
]\r
},\r
{\r
- "id": "2fdf8051.c7f6a8",\r
+ "id": "61178ee6.46287",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4303.9998779296875,\r
- "y": 40,\r
- "z": "97fec48c.8eada",\r
+ "x": 4240.9998779296875,\r
+ "y": 273,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "a66ce9ac.c44538"\r
+ "30bc001a.081c6"\r
]\r
]\r
},\r
{\r
- "id": "a66ce9ac.c44538",\r
+ "id": "30bc001a.081c6",\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": 4485.9998779296875,\r
- "y": 44,\r
- "z": "97fec48c.8eada",\r
+ "x": 4422.9998779296875,\r
+ "y": 277,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "be0791af.66d9e",\r
+ "id": "3bd5270a.9b3388",\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": 4305.9998779296875,\r
- "y": 90,\r
- "z": "97fec48c.8eada",\r
+ "x": 4242.9998779296875,\r
+ "y": 323,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "c1a0d70e.9bb548",\r
+ "id": "888129ab.9ea2a8",\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": 3925.9998779296875,\r
- "y": 699,\r
- "z": "97fec48c.8eada",\r
+ "x": 3862.9998779296875,\r
+ "y": 932,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "50687959.886b6",\r
- "99d4fed5.f7a3f"\r
+ "f5b036b5.9d3fe",\r
+ "c8627fdc.4ca238"\r
]\r
]\r
},\r
{\r
- "id": "99d4fed5.f7a3f",\r
+ "id": "c8627fdc.4ca238",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4146.9998779296875,\r
- "y": 667,\r
- "z": "97fec48c.8eada",\r
+ "x": 4083.9998779296875,\r
+ "y": 900,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "9d94fa7.027cb88"\r
+ "5d59aabb.f55db4"\r
]\r
]\r
},\r
{\r
- "id": "50687959.886b6",\r
+ "id": "f5b036b5.9d3fe",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4146.9998779296875,\r
- "y": 714,\r
- "z": "97fec48c.8eada",\r
+ "x": 4083.9998779296875,\r
+ "y": 947,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "7a52ffa3.7e9d28"\r
+ "8fc5e8a.5216b18"\r
]\r
]\r
},\r
{\r
- "id": "9d94fa7.027cb88",\r
+ "id": "5d59aabb.f55db4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4311.9998779296875,\r
- "y": 664,\r
- "z": "97fec48c.8eada",\r
+ "x": 4248.9998779296875,\r
+ "y": 897,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "675b55d9.b9c0ec"\r
+ "c8487895.7a94"\r
]\r
]\r
},\r
{\r
- "id": "675b55d9.b9c0ec",\r
+ "id": "c8487895.7a94",\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": 4507.9998779296875,\r
- "y": 661,\r
- "z": "97fec48c.8eada",\r
+ "x": 4444.9998779296875,\r
+ "y": 894,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "7a52ffa3.7e9d28",\r
+ "id": "8fc5e8a.5216b18",\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": 4313.9998779296875,\r
- "y": 714,\r
- "z": "97fec48c.8eada",\r
+ "x": 4250.9998779296875,\r
+ "y": 947,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "20564e8a.e84492",\r
+ "id": "abe518b.cefde68",\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
+ "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": 1183,\r
- "y": 501,\r
- "z": "97fec48c.8eada",\r
+ "x": 1120,\r
+ "y": 734,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "56dc1543.ce88ec",\r
- "type": "switchNode",\r
- "name": "switch value == start-node",\r
- "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.start-node`'>",\r
+ "id": "cf555e48.aeaaa8",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "29edf5a1.e0b48a",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7882cf69.81bba",\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
+ "comments": "",\r
+ "x": 761,\r
+ "y": 662,\r
+ "z": "6311a927.78727",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1e669820.d1af2",\r
+ "type": "comment",\r
+ "name": "May not be necessary",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 772,\r
+ "y": 615,\r
+ "z": "6311a927.78727",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f346bebe.50149",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3103.9998779296875,\r
- "y": 254,\r
- "z": "97fec48c.8eada",\r
+ "x": 752,\r
+ "y": 412,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "a156113e.6f73f"\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
]\r
]\r
},\r
{\r
- "id": "f7b52e29.d7e28",\r
- "type": "outcome",\r
- "name": "otn-oof.start-node",\r
- "xml": "<outcome value='`$otn-oof.start-node`'>\n",\r
+ "id": "bf6f0512.491f98",\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
"comments": "",\r
"outputs": 1,\r
- "x": 3255.9998779296875,\r
- "y": 169,\r
- "z": "97fec48c.8eada",\r
+ "x": 1026,\r
+ "y": 632,\r
+ "z": "6311a927.78727",\r
+ "wires": [\r
+ [\r
+ "278e4eda.dd1afa",\r
+ "95a448d5.61bae",\r
+ "396c6fcc.348ef"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "50fbaa58.2b30a4",\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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1003,\r
+ "y": 449,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "fcffac67.9ba8e",\r
- "type": "outcome",\r
- "name": "otn-oof.end-node",\r
- "xml": "<outcome value='`$otn-oof.end-node`'>\n",\r
+ "id": "278e4eda.dd1afa",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3258.9998779296875,\r
- "y": 388,\r
- "z": "97fec48c.8eada",\r
+ "x": 1271,\r
+ "y": 664,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "edb2a900.9a7b1",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
+ "id": "95a448d5.61bae",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
"outputs": 1,\r
- "x": 3433.9998779296875,\r
- "y": 238,\r
- "z": "97fec48c.8eada",\r
+ "x": 1278,\r
+ "y": 706,\r
+ "z": "6311a927.78727",\r
"wires": [\r
- [\r
- "614113e.09a2a6c"\r
- ]\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "396c6fcc.348ef",\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
+ "wires": [\r
+ []\r
]\r
},\r
{\r
- "id": "bc992c4c.01fac8",\r
+ "id": "9c16d091.cb39f8",\r
"type": "set",\r
- "name": "set dst-ltpId",\r
- "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n\n<!--<parameter name='`tmp.otninfo[$vidx+1].srcPort.src-access-ltp-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />-->\n<!--<parameter name='`tmp.otninfo[$vidx+1].srcPort.src-access-node-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />-->\n\n<!--<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />-->\n\n",\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": 3630.9998779296875,\r
- "y": 324,\r
- "z": "97fec48c.8eada",\r
+ "x": 971,\r
+ "y": 357,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "4fb57d55.78b35c",\r
- "type": "break",\r
- "name": "break",\r
- "xml": "<break>\n",\r
+ "id": "67b4d462.48c1b4",\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": 3613.9998779296875,\r
- "y": 364,\r
- "z": "97fec48c.8eada",\r
+ "x": 971,\r
+ "y": 403,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "7a290eee.406588",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
+ "id": "165db6ae.de2bb9",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fda3acff.66dac8",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "47a588a1.c73f2",\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": 3451.9998779296875,\r
- "y": 336,\r
- "z": "97fec48c.8eada",\r
+ "x": 1023,\r
+ "y": 102,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "bc992c4c.01fac8"\r
+ "a6aa209b.6892d",\r
+ "487dbe5b.696ae8",\r
+ "81fa26f.09db858"\r
]\r
]\r
},\r
{\r
- "id": "a156113e.6f73f",\r
- "type": "outcomeTrue",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
+ "id": "487dbe5b.696ae8",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "81fa26f.09db858",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a6aa209b.6892d",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "7663f303.03da94",\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": 3291.9998779296875,\r
- "y": 241,\r
- "z": "97fec48c.8eada",\r
+ "x": 1015,\r
+ "y": 148,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "edb2a900.9a7b1"\r
+ "27c5b08b.38fb5"\r
]\r
]\r
},\r
{\r
- "id": "b07af7fc.6b63b8",\r
+ "id": "27c5b08b.38fb5",\r
"type": "switchNode",\r
- "name": "switch value == end-node",\r
- "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.end-node`'>",\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": 3101.9998779296875,\r
- "y": 318,\r
- "z": "97fec48c.8eada",\r
+ "x": 1336,\r
+ "y": 224,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "adae2c31.77bd68"\r
+ "22cbcd57.e91ce2",\r
+ "119bae13.8994fa"\r
]\r
]\r
},\r
{\r
- "id": "adae2c31.77bd68",\r
+ "id": "22cbcd57.e91ce2",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3286.9998779296875,\r
- "y": 322,\r
- "z": "97fec48c.8eada",\r
+ "x": 1563,\r
+ "y": 225,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "7a290eee.406588"\r
+ "1f8d2ed3.4f6c09"\r
]\r
]\r
},\r
{\r
- "id": "fdcdd209.036438",\r
- "type": "comment",\r
- "name": "Not useful anymore",\r
- "info": "this domain-A.ltpId is not used anymore",\r
- "comments": "",\r
- "x": 4528.9998779296875,\r
- "y": 20,\r
- "z": "97fec48c.8eada",\r
- "wires": []\r
- },\r
- {\r
- "id": "335fd86d.6b1ff",\r
- "type": "comment",\r
- "name": "Not useful anymore",\r
- "info": "this domain-B.ltpId is not used anymore",\r
- "comments": "",\r
- "x": 4550.9998779296875,\r
- "y": 633,\r
- "z": "97fec48c.8eada",\r
- "wires": []\r
- },\r
- {\r
- "id": "b9740a82.273f8",\r
+ "id": "1f8d2ed3.4f6c09",\r
"type": "switchNode",\r
- "name": "test $vidx == first",\r
- "xml": "<switch test='`$vidx == 0`'>\n",\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": 2366,\r
- "y": 100,\r
- "z": "97fec48c.8eada",\r
+ "x": 1776,\r
+ "y": 225,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "fac1138.38454f",\r
- "4fd6928.61fb8ec"\r
+ "cfa8e423.6dd988"\r
]\r
]\r
},\r
{\r
- "id": "fac1138.38454f",\r
+ "id": "cfa8e423.6dd988",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2550,\r
- "y": 62,\r
- "z": "97fec48c.8eada",\r
+ "x": 1941,\r
+ "y": 225,\r
+ "z": "6311a927.78727",\r
"wires": [\r
- []\r
+ [\r
+ "3bd110a6.a8ba8"\r
+ ]\r
]\r
},\r
{\r
- "id": "4fd6928.61fb8ec",\r
+ "id": "3bd110a6.a8ba8",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "119bae13.8994fa",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2548,\r
- "y": 131,\r
- "z": "97fec48c.8eada",\r
+ "x": 1563,\r
+ "y": 278,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "49bef92e.99a498"\r
+ "4e665bce.dd8f3c"\r
]\r
]\r
},\r
{\r
- "id": "49bef92e.99a498",\r
+ "id": "4e665bce.dd8f3c",\r
"type": "switchNode",\r
- "name": "test $vidx == last",\r
- "xml": "<switch test='`$vidx == $otn-oof.solutions_length - 1`'>\n",\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": 2729,\r
- "y": 128,\r
- "z": "97fec48c.8eada",\r
+ "x": 1751,\r
+ "y": 278,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "4a491f2.2eab56",\r
- "98392658.063f78"\r
+ "5471d1aa.c2b568"\r
]\r
]\r
},\r
{\r
- "id": "98392658.063f78",\r
+ "id": "5471d1aa.c2b568",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2895,\r
- "y": 167,\r
- "z": "97fec48c.8eada",\r
+ "x": 1941,\r
+ "y": 278,\r
+ "z": "6311a927.78727",\r
"wires": [\r
- []\r
+ [\r
+ "aa5bb707.4bb48"\r
+ ]\r
]\r
},\r
{\r
- "id": "4a491f2.2eab56",\r
- "type": "outcomeFalse",\r
- "name": "false",\r
- "xml": "<outcome value='false'>\n",\r
+ "id": "aa5bb707.4bb48",\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": 2897,\r
- "y": 93,\r
- "z": "97fec48c.8eada",\r
+ "x": 2109,\r
+ "y": 278,\r
+ "z": "6311a927.78727",\r
"wires": [\r
- []\r
+ [\r
+ "3a63aeee.a8bb3a"\r
+ ]\r
]\r
},\r
{\r
- "id": "3d2e0b8f.457abc",\r
+ "id": "3a63aeee.a8bb3a",\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
+ "wires": [\r
+ [\r
+ "1438c95.a2947b7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1438c95.a2947b7",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9122c7e9.cadbc8",\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='`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": 829,\r
- "y": 402,\r
- "z": "97fec48c.8eada",\r
+ "x": 964,\r
+ "y": 304,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "d9b3c779.af79",\r
- "type": "comment",\r
- "name": "May not be necessary",\r
- "info": "",\r
+ "id": "45b9551b.0a437c",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3cc2e9be.dc0176",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5092ace7.ae1144",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab172df4.a758b",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "652147e8.77864",\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
"comments": "",\r
- "x": 841,\r
- "y": 370,\r
- "z": "97fec48c.8eada",\r
+ "x": 955,\r
+ "y": 529,\r
+ "z": "6311a927.78727",\r
"wires": []\r
}\r
]
\ No newline at end of file