[\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": 879.9730682373047,\r
- "y": 71.99600028991699,\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": 1119.9732093811035,\r
- "y": 95.99596977233887,\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": 1289.973129272461,\r
- "y": 35.99606132507324,\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": 1118.9729957580566,\r
- "y": 44.996060371398926,\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": 851.4768676757812,\r
- "y": 28,\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
- "wires": [\r
- [\r
- "ac3b3843.658d4"\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
+ "x": 882.5001220703125,\r
+ "y": 912.2864990234375,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "da410969.0b2cc"\r
+ "6750495a.41286",\r
+ "abe518b.cefde68",\r
+ "165db6ae.de2bb9",\r
+ "fda3acff.66dac8",\r
+ "188880e9.f084a7"\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": 1265.0002555847168,\r
- "y": 93.741455078125,\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
- "27ac90d.484a9f"\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
+ "x": 544.9688835144043,\r
+ "y": 679.7416372299194,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "22f3b1f4.9256fe"\r
+ "485028.3d8fcfd8",\r
+ "7882cf69.81bba",\r
+ "f346bebe.50149"\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
- "wires": [\r
- [\r
- "8b1c590c.dc55d"\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": "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
- "outputs": 1,\r
- "x": 3103.9998779296875,\r
- "y": 254,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "a156113e.6f73f"\r
- ]\r
- ]\r
+ "x": 4465.9998779296875,\r
+ "y": 253,\r
+ "z": "6311a927.78727",\r
+ "wires": []\r
},\r
{\r
- "id": "edb2a900.9a7b1",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
- "outputs": 1,\r
- "x": 3433.9998779296875,\r
- "y": 238,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- [\r
- "614113e.09a2a6c"\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": "bc992c4c.01fac8",\r
+ "id": "7882cf69.81bba",\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": "unset parameters",\r
+ "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->",\r
"comments": "",\r
- "x": 3630.9998779296875,\r
- "y": 324,\r
- "z": "97fec48c.8eada",\r
+ "x": 761,\r
+ "y": 662,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "7a290eee.406588",\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
+ "xml": "<block atomic='true'>",\r
"atomic": "true",\r
+ "comments": "",\r
"outputs": 1,\r
- "x": 3451.9998779296875,\r
- "y": 336,\r
- "z": "97fec48c.8eada",\r
+ "x": 752,\r
+ "y": 412,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "bc992c4c.01fac8"\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": "a156113e.6f73f",\r
- "type": "outcomeTrue",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\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": 3291.9998779296875,\r
- "y": 241,\r
- "z": "97fec48c.8eada",\r
+ "x": 1026,\r
+ "y": 632,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "edb2a900.9a7b1"\r
+ "278e4eda.dd1afa",\r
+ "95a448d5.61bae",\r
+ "396c6fcc.348ef"\r
]\r
]\r
},\r
{\r
- "id": "b07af7fc.6b63b8",\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
+ "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": 3101.9998779296875,\r
- "y": 318,\r
- "z": "97fec48c.8eada",\r
+ "x": 1003,\r
+ "y": 449,\r
+ "z": "6311a927.78727",\r
"wires": [\r
- [\r
- "adae2c31.77bd68"\r
- ]\r
+ []\r
]\r
},\r
{\r
- "id": "adae2c31.77bd68",\r
- "type": "outcomeTrue",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
+ "id": "278e4eda.dd1afa",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3286.9998779296875,\r
- "y": 322,\r
- "z": "97fec48c.8eada",\r
+ "x": 1271,\r
+ "y": 664,\r
+ "z": "6311a927.78727",\r
"wires": [\r
- [\r
- "7a290eee.406588"\r
- ]\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
+ "id": "95a448d5.61bae",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
- "x": 4528.9998779296875,\r
- "y": 20,\r
- "z": "97fec48c.8eada",\r
+ "outputs": 1,\r
+ "x": 1278,\r
+ "y": 706,\r
+ "z": "6311a927.78727",\r
+ "wires": [\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": "9c16d091.cb39f8",\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
"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
+ "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": 4550.9998779296875,\r
- "y": 633,\r
- "z": "97fec48c.8eada",\r
+ "x": 971,\r
+ "y": 403,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "3d2e0b8f.457abc",\r
+ "id": "165db6ae.de2bb9",\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
+ "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": 824,\r
- "y": 429,\r
- "z": "97fec48c.8eada",\r
+ "x": 1102,\r
+ "y": 865,\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": "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": 836,\r
- "y": 397,\r
- "z": "97fec48c.8eada",\r
+ "x": 1103,\r
+ "y": 915,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "27ac90d.484a9f",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic='true'>",\r
- "atomic": "true",\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": 825,\r
- "y": 265,\r
- "z": "97fec48c.8eada",\r
+ "x": 1023,\r
+ "y": 102,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "b00cf456.1fcfd8",\r
- "22917417.40dffc",\r
- "9d01bdd0.0fc258"\r
+ "a6aa209b.6892d",\r
+ "487dbe5b.696ae8",\r
+ "81fa26f.09db858"\r
]\r
]\r
},\r
{\r
- "id": "b00cf456.1fcfd8",\r
- "type": "get-resource",\r
- "name": "get-resource pnfs-list",\r
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopo.pnfs\" >",\r
+ "id": "487dbe5b.696ae8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1072,\r
- "y": 218,\r
- "z": "97fec48c.8eada",\r
+ "x": 1256,\r
+ "y": 126,\r
+ "z": "6311a927.78727",\r
"wires": [\r
- [\r
- "e9ef8fc5.a18d1",\r
- "701f5a59.c009ac",\r
- "88137b8e.f20ce"\r
- ]\r
+ []\r
]\r
},\r
{\r
- "id": "22917417.40dffc",\r
- "type": "get-resource",\r
- "name": "get-resource logical-links",\r
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopo.logicalLinks\" >",\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": 1082,\r
- "y": 275,\r
- "z": "97fec48c.8eada",\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": 1015,\r
+ "y": 148,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "701f5a59.c009ac",\r
- "88137b8e.f20ce",\r
- "f79f6d93.33fad8"\r
+ "27c5b08b.38fb5"\r
]\r
]\r
},\r
{\r
- "id": "9d01bdd0.0fc258",\r
- "type": "execute",\r
- "name": "execute PCE in ccsdk/sli/core",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.slitopologyutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='`$ccsdkTopo.pnfs`'/>\n<parameter name=\"links-pfx\" value=\"`$ccsdkTopo.logicalLinks`\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"true\"/>\n<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.src.domainB.pnf-name`\"/>\n",\r
+ "id": "27c5b08b.38fb5",\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": 1095,\r
- "y": 327,\r
- "z": "97fec48c.8eada",\r
+ "x": 1336,\r
+ "y": 224,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "d13c5cda.e31cf8",\r
- "75643e28.77914"\r
+ "22cbcd57.e91ce2",\r
+ "119bae13.8994fa"\r
]\r
]\r
},\r
{\r
- "id": "701f5a59.c009ac",\r
- "type": "other",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
+ "id": "22cbcd57.e91ce2",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1329,\r
- "y": 163,\r
- "z": "97fec48c.8eada",\r
+ "x": 1563,\r
+ "y": 225,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "2909bfef.cce208"\r
+ "1f8d2ed3.4f6c09"\r
]\r
]\r
},\r
{\r
- "id": "e9ef8fc5.a18d1",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
+ "id": "1f8d2ed3.4f6c09",\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": 1337,\r
- "y": 240,\r
- "z": "97fec48c.8eada",\r
+ "x": 1776,\r
+ "y": 225,\r
+ "z": "6311a927.78727",\r
"wires": [\r
- []\r
+ [\r
+ "cfa8e423.6dd988"\r
+ ]\r
]\r
},\r
{\r
- "id": "2d0a238b.9b0514",\r
- "type": "record",\r
- "name": "record",\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=\"Pnfs retrieved!\"/>\n<parameter name=\"field2\" value=\"`$ccsdkTopo.pnfs.pnf_length`\"/>\n",\r
+ "id": "cfa8e423.6dd988",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1496,\r
- "y": 237,\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": "2909bfef.cce208",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "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": 1515,\r
- "y": 163,\r
- "z": "97fec48c.8eada",\r
+ "x": 2110,\r
+ "y": 225,\r
+ "z": "6311a927.78727",\r
"wires": []\r
},\r
{\r
- "id": "88137b8e.f20ce",\r
- "type": "not-found",\r
- "name": "not-found",\r
- "xml": "<outcome value='not-found'>\n",\r
+ "id": "119bae13.8994fa",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1340,\r
- "y": 201,\r
- "z": "97fec48c.8eada",\r
+ "x": 1563,\r
+ "y": 278,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[\r
- "5baa421f.eeaaec"\r
+ "4e665bce.dd8f3c"\r
]\r
]\r
},\r
{\r
- "id": "5baa421f.eeaaec",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "id": "4e665bce.dd8f3c",\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
- "x": 1512,\r
- "y": 201,\r
- "z": "97fec48c.8eada",\r
- "wires": []\r
+ "outputs": 1,\r
+ "x": 1751,\r
+ "y": 278,\r
+ "z": "6311a927.78727",\r
+ "wires": [\r
+ [\r
+ "5471d1aa.c2b568"\r
+ ]\r
+ ]\r
},\r
{\r
- "id": "f79f6d93.33fad8",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
+ "id": "5471d1aa.c2b568",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1341,\r
- "y": 275,\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": "8cc43261.20f998",\r
- "type": "record",\r
- "name": "record",\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=\"Logical-links retrieved!\"/>\n<parameter name=\"field2\" value=\"`$ccsdkTopo.logicalLinks.logical-link_length`\"/>\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": 1502,\r
- "y": 275,\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": "d13c5cda.e31cf8",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
+ "id": "3a63aeee.a8bb3a",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1336,\r
- "y": 314,\r
- "z": "97fec48c.8eada",\r
+ "x": 2265,\r
+ "y": 278,\r
+ "z": "6311a927.78727",\r
"wires": [\r
- []\r
+ [\r
+ "1438c95.a2947b7"\r
+ ]\r
]\r
},\r
{\r
- "id": "75643e28.77914",\r
- "type": "other",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\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='`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
+ "wires": []\r
+ },\r
+ {\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": 1328,\r
- "y": 361,\r
- "z": "97fec48c.8eada",\r
+ "x": 959,\r
+ "y": 493,\r
+ "z": "6311a927.78727",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "117e8dda.79f3d2",\r
- "type": "record",\r
- "name": "record",\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",\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": 1503,\r
- "y": 320,\r
- "z": "97fec48c.8eada",\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": 955,\r
+ "y": 529,\r
+ "z": "6311a927.78727",\r
+ "wires": []\r
}\r
]
\ No newline at end of file
[\r
{\r
- "id": "eb07fd3d.499fe",\r
+ "id": "acf9e544.d632d8",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 142,\r
- "y": 92,\r
- "z": "f351885d.7dcd3",\r
+ "x": 130,\r
+ "y": 80,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "39c5ac20.45e1d4"\r
+ "ca913714.8e299"\r
]\r
]\r
},\r
{\r
- "id": "39c5ac20.45e1d4",\r
+ "id": "ca913714.8e299",\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": 273.2856903076172,\r
- "y": 141.23810863494873,\r
- "z": "f351885d.7dcd3",\r
+ "x": 261.2856903076172,\r
+ "y": 129.23810863494873,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "2ea16900.365168"\r
+ "fb417168.600308"\r
]\r
]\r
},\r
{\r
- "id": "2ea16900.365168",\r
+ "id": "fb417168.600308",\r
"type": "method",\r
"name": "method tsli-vnf-topology-operation-trans-slice-activate",\r
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-activate' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 276.4286193847656,\r
- "y": 226.00003242492676,\r
- "z": "f351885d.7dcd3",\r
+ "x": 264.4286193847656,\r
+ "y": 214.00003242492676,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "65a4788.f116c88"\r
+ "b8f0421e.565ff8"\r
]\r
]\r
},\r
{\r
- "id": "65a4788.f116c88",\r
+ "id": "b8f0421e.565ff8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 426.238037109375,\r
- "y": 355.6666564941406,\r
- "z": "f351885d.7dcd3",\r
+ "x": 414.238037109375,\r
+ "y": 343.6666564941406,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "57f656d8.02c09",\r
- "6ee54bdc.2fdd5c",\r
- "4cf7ab90.c1f3ec"\r
+ "77ab8d82.d7040c",\r
+ "161b3712.e40a99",\r
+ "441438f3.47d108"\r
]\r
]\r
},\r
{\r
- "id": "57f656d8.02c09",\r
+ "id": "77ab8d82.d7040c",\r
"type": "returnSuccess",\r
"name": "return success",\r
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
"comments": "",\r
- "x": 694.5716552734375,\r
- "y": 742.59716796875,\r
- "z": "f351885d.7dcd3",\r
+ "x": 682.5716552734375,\r
+ "y": 730.59716796875,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "d36cebd.8be9418",\r
+ "id": "cd3b0e66.721858",\r
"type": "comment",\r
"name": "new for TransportSlicing",\r
"info": "",\r
"comments": "",\r
- "x": 726,\r
- "y": 417,\r
- "z": "f351885d.7dcd3",\r
+ "x": 714,\r
+ "y": 405,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "6ee54bdc.2fdd5c",\r
+ "id": "161b3712.e40a99",\r
"type": "save",\r
"name": "get service-instance from aai",\r
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--$vnf-topology-operation-input.service-information.service-instance-id-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 746,\r
- "y": 513,\r
- "z": "f351885d.7dcd3",\r
+ "x": 734,\r
+ "y": 501,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "4321e029.b0b21",\r
- "df857197.b37508",\r
- "caa9bf62.bc7768"\r
+ "a50bfd24.6ac44",\r
+ "3bd3a68e.896b3a",\r
+ "320764b6.9fa15c"\r
]\r
]\r
},\r
{\r
- "id": "4321e029.b0b21",\r
+ "id": "a50bfd24.6ac44",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 965,\r
- "y": 451,\r
- "z": "f351885d.7dcd3",\r
+ "x": 953,\r
+ "y": 439,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "1399e348.49a41d"\r
+ "b122e042.5ab94"\r
]\r
]\r
},\r
{\r
- "id": "df857197.b37508",\r
+ "id": "3bd3a68e.896b3a",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 974.490966796875,\r
- "y": 493.57403564453125,\r
- "z": "f351885d.7dcd3",\r
+ "x": 962.490966796875,\r
+ "y": 481.57403564453125,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "9c66f3b5.ba5a"\r
+ "4e666373.42b6cc"\r
]\r
]\r
},\r
{\r
- "id": "caa9bf62.bc7768",\r
+ "id": "320764b6.9fa15c",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 963,\r
- "y": 540,\r
- "z": "f351885d.7dcd3",\r
+ "x": 951,\r
+ "y": 528,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "83f89a00.0c0e7"\r
+ "422b64b3.e06004"\r
]\r
]\r
},\r
{\r
- "id": "9c66f3b5.ba5a",\r
+ "id": "4e666373.42b6cc",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 1128.0623779296875,\r
- "y": 496.8597717285156,\r
- "z": "f351885d.7dcd3",\r
+ "x": 1116.0623779296875,\r
+ "y": 484.8597717285156,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "83f89a00.0c0e7",\r
+ "id": "422b64b3.e06004",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1132,\r
- "y": 541,\r
- "z": "f351885d.7dcd3",\r
+ "x": 1120,\r
+ "y": 529,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "1399e348.49a41d",\r
+ "id": "b122e042.5ab94",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1162,\r
- "y": 447,\r
- "z": "f351885d.7dcd3",\r
+ "x": 1150,\r
+ "y": 435,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "8c655e36.efa51"\r
+ "111942fe.354315"\r
]\r
]\r
},\r
{\r
- "id": "8c655e36.efa51",\r
+ "id": "111942fe.354315",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1385.33349609375,\r
- "y": 446.99993896484375,\r
- "z": "f351885d.7dcd3",\r
+ "x": 1373.33349609375,\r
+ "y": 434.99993896484375,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "dae7ff66.9b9c6"\r
+ "ff15f851.7a7528"\r
]\r
]\r
},\r
{\r
- "id": "dae7ff66.9b9c6",\r
+ "id": "ff15f851.7a7528",\r
"type": "outcome",\r
"name": "connectivity",\r
"xml": "<outcome value='connectivity'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1586.0001335144043,\r
- "y": 448.00002098083496,\r
- "z": "f351885d.7dcd3",\r
+ "x": 1574.0001335144043,\r
+ "y": 436.00002098083496,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "5afc15bc.b14b2c"\r
+ "cf901b65.835fc8"\r
]\r
]\r
},\r
{\r
- "id": "73d91f0d.979448",\r
+ "id": "72376cd1.cdcaec",\r
"type": "set",\r
"name": "set attachment_param for OTN A",\r
"xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingA.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingA.customer-vpn-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-src-domain' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n",\r
"comments": "",\r
- "x": 4405,\r
- "y": 164,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4393,\r
+ "y": 152,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "53d5aef.e4ebbd",\r
+ "id": "2a89aa53.8890b6",\r
"type": "execute",\r
"name": "execute RestApiCallNode Create OTN tunnel with token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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": 4486,\r
- "y": 479,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4474,\r
+ "y": 467,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "ecc00da.2c7107",\r
- "8ec5d396.327df"\r
+ "40316706.17eb48",\r
+ "6c473f1b.946a08"\r
]\r
]\r
},\r
{\r
- "id": "ecc00da.2c7107",\r
+ "id": "40316706.17eb48",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4795.5,\r
- "y": 448,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4783.5,\r
+ "y": 436,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "30cb0de4.d526fa"\r
+ "aea69973.33e85"\r
]\r
]\r
},\r
{\r
- "id": "8ec5d396.327df",\r
+ "id": "6c473f1b.946a08",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4800.5,\r
- "y": 513,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4788.5,\r
+ "y": 501,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "d98d92f9.c81fa"\r
+ "d21a082d.2cad68"\r
]\r
]\r
},\r
{\r
- "id": "30cb0de4.d526fa",\r
+ "id": "aea69973.33e85",\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 Create OTN tunnel rest api\" />\n",\r
"comments": "",\r
- "x": 4971.5,\r
- "y": 448,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4959.5,\r
+ "y": 436,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "d98d92f9.c81fa",\r
+ "id": "d21a082d.2cad68",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4967,\r
- "y": 513,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4955,\r
+ "y": 501,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "b72def38.869578",\r
+ "id": "de94f6d4.eda0e",\r
"type": "set",\r
"name": "set sotn_value",\r
"xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityA.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityA.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityA.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />\n",\r
"comments": "",\r
- "x": 4352.5,\r
- "y": 667,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4340.5,\r
+ "y": 655,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "61d206ce.c84cc",\r
+ "id": "342bfbf3.ee642c",\r
"type": "execute",\r
"name": "execute RestApiCallNode Create ethernet Service without token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-ethernet-service.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4506.5,\r
- "y": 715,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4494.5,\r
+ "y": 703,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "4c218232.9ff344",\r
- "70cfc429.d9d73c"\r
+ "8236b8ec.5fd17",\r
+ "51c5e2c3.871744"\r
]\r
]\r
},\r
{\r
- "id": "4c218232.9ff344",\r
+ "id": "8236b8ec.5fd17",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4852,\r
- "y": 696,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4840,\r
+ "y": 684,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "508ab9bd.6f59b"\r
+ "b89e8953.c6ac88"\r
]\r
]\r
},\r
{\r
- "id": "70cfc429.d9d73c",\r
+ "id": "51c5e2c3.871744",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4856,\r
- "y": 736,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4844,\r
+ "y": 724,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "4484b215.bd52a4"\r
+ "933ba47e.14e65"\r
]\r
]\r
},\r
{\r
- "id": "508ab9bd.6f59b",\r
+ "id": "b89e8953.c6ac88",\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 Create ethernet service rest api\" />\n",\r
"comments": "",\r
- "x": 5010,\r
- "y": 696,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4998,\r
+ "y": 684,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "4484b215.bd52a4",\r
+ "id": "933ba47e.14e65",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5013.5,\r
- "y": 736,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5001.5,\r
+ "y": 724,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "d5eb1314.bae0c8",\r
- "10b6b358.4dd2d5"\r
+ "363131ab.be28b6",\r
+ "fcee3485.dea4a"\r
]\r
]\r
},\r
{\r
- "id": "1158b528.feaadb",\r
+ "id": "776cbd7.844f0c4",\r
"type": "comment",\r
"name": "TODO: FIXME:",\r
"info": "put proper values based on connectivity resource retrieved from AAI",\r
"comments": "",\r
- "x": 4350,\r
- "y": 623,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4338,\r
+ "y": 611,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "d5eb1314.bae0c8",\r
+ "id": "363131ab.be28b6",\r
"type": "save",\r
"name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5344,\r
- "y": 701,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5332,\r
+ "y": 689,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "4e452bee.48e2ac",\r
+ "id": "d8ba5ee6.a5736",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
"comments": "",\r
- "x": 5208,\r
- "y": 660,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5196,\r
+ "y": 648,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "10b6b358.4dd2d5",\r
+ "id": "fcee3485.dea4a",\r
"type": "save",\r
"name": "update connectivity resource in AAI",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivityA.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5271,\r
- "y": 747,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5259,\r
+ "y": 735,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "cdb19fe7.3fcc18",\r
+ "id": "9b9c3cba.716c78",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-bindingA.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-bindingA.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-bindingA.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-bindingA.src-access-node-id`\" />\n",\r
"comments": "",\r
- "x": 4343,\r
- "y": 212,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4331,\r
+ "y": 200,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "83225463.070fc",\r
+ "id": "5f8cf8c6.3002c8",\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.domainA.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4369,\r
- "y": 329,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4357,\r
+ "y": 317,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "c77a135e.0cf11",\r
- "733c4b21.b0276c",\r
- "dfbdc2b7.10d7d"\r
+ "33823e1a.9269c2",\r
+ "b38b9e38.f8c8a8",\r
+ "9f21383a.68cb9"\r
]\r
]\r
},\r
{\r
- "id": "c77a135e.0cf11",\r
+ "id": "33823e1a.9269c2",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4564.5001220703125,\r
- "y": 281,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4552.5001220703125,\r
+ "y": 269,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "fc1575d4.07ce9"\r
+ "755b5bf3.347744"\r
]\r
]\r
},\r
{\r
- "id": "733c4b21.b0276c",\r
+ "id": "b38b9e38.f8c8a8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4556.5001220703125,\r
- "y": 336,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4544.5001220703125,\r
+ "y": 324,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "2d634f91.a839c8"\r
+ "5d1291bc.3b9d5"\r
]\r
]\r
},\r
{\r
- "id": "fc1575d4.07ce9",\r
+ "id": "755b5bf3.347744",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4708.8824462890625,\r
- "y": 280.6556701660156,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4696.8824462890625,\r
+ "y": 268.6556701660156,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "26c3005d.c41c58"\r
+ "5007d6bb.a571d"\r
]\r
]\r
},\r
{\r
- "id": "fb614f2c.314568",\r
+ "id": "c0da9575.eb2c6",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5291,\r
- "y": 283,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5279,\r
+ "y": 271,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "5511aade.71874c"\r
+ "1053f3a3.2846c4"\r
]\r
]\r
},\r
{\r
- "id": "26c3005d.c41c58",\r
+ "id": "5007d6bb.a571d",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4893,\r
- "y": 279,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4881,\r
+ "y": 267,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "d1afc9f2.3db068"\r
+ "33b94d0d.c61ee2"\r
]\r
]\r
},\r
{\r
- "id": "d1afc9f2.3db068",\r
+ "id": "33b94d0d.c61ee2",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5088,\r
- "y": 279,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5076,\r
+ "y": 267,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "fb614f2c.314568"\r
+ "c0da9575.eb2c6"\r
]\r
]\r
},\r
{\r
- "id": "dfbdc2b7.10d7d",\r
+ "id": "9f21383a.68cb9",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4561.5001220703125,\r
- "y": 393,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4549.5001220703125,\r
+ "y": 381,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "1874b649.d37aaa"\r
+ "e621d08a.7d07a8"\r
]\r
]\r
},\r
{\r
- "id": "1874b649.d37aaa",\r
+ "id": "e621d08a.7d07a8",\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": 4713.5001220703125,\r
- "y": 394,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4701.5001220703125,\r
+ "y": 382,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "2d634f91.a839c8",\r
+ "id": "5d1291bc.3b9d5",\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": 4724.5001220703125,\r
- "y": 337,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4712.5001220703125,\r
+ "y": 325,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "37df0014.a385b",\r
+ "id": "bace4f35.dcb4f",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5676,\r
- "y": 296,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5664,\r
+ "y": 284,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "43de30da.db75e8",\r
- "e5ad5cbe.572928",\r
- "12e2c219.e2a25e"\r
+ "41428f.b99c7d7",\r
+ "92b16ebc.198be8",\r
+ "47593c0a.609b2c"\r
]\r
]\r
},\r
{\r
- "id": "5511aade.71874c",\r
+ "id": "1053f3a3.2846c4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 5470,\r
- "y": 283,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5458,\r
+ "y": 271,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "29681795.e63f18",\r
- "37df0014.a385b"\r
+ "db2fdd1f.f44e1",\r
+ "bace4f35.dcb4f"\r
]\r
]\r
},\r
{\r
- "id": "29681795.e63f18",\r
+ "id": "db2fdd1f.f44e1",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domainA id",\r
"xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 5706,\r
- "y": 244,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5694,\r
+ "y": 232,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "43de30da.db75e8",\r
+ "id": "41428f.b99c7d7",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5886,\r
- "y": 287,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5874,\r
+ "y": 275,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "9fb5e37f.eaa9f"\r
+ "d8c57966.bba2b8"\r
]\r
]\r
},\r
{\r
- "id": "e5ad5cbe.572928",\r
+ "id": "92b16ebc.198be8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5878,\r
- "y": 342,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5866,\r
+ "y": 330,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "24f5f29e.218576"\r
+ "bbecf65b.0991f"\r
]\r
]\r
},\r
{\r
- "id": "12e2c219.e2a25e",\r
+ "id": "47593c0a.609b2c",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5883,\r
- "y": 399,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5871,\r
+ "y": 387,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "cd568772.16e428"\r
+ "17aa566c.ce27ba"\r
]\r
]\r
},\r
{\r
- "id": "cd568772.16e428",\r
+ "id": "17aa566c.ce27ba",\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": 6035,\r
- "y": 400,\r
- "z": "f351885d.7dcd3",\r
+ "x": 6023,\r
+ "y": 388,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "24f5f29e.218576",\r
+ "id": "bbecf65b.0991f",\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": 6046,\r
- "y": 345,\r
- "z": "f351885d.7dcd3",\r
+ "x": 6034,\r
+ "y": 333,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "9fb5e37f.eaa9f",\r
+ "id": "d8c57966.bba2b8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6030.38232421875,\r
- "y": 284.6556701660156,\r
- "z": "f351885d.7dcd3",\r
+ "x": 6018.38232421875,\r
+ "y": 272.6556701660156,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "2b11e0ba.ac6cd8"\r
+ "eeaaed9f.46288"\r
]\r
]\r
},\r
{\r
- "id": "2b11e0ba.ac6cd8",\r
+ "id": "eeaaed9f.46288",\r
"type": "set",\r
"name": "set controller domainA data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
"comments": "",\r
- "x": 6245,\r
- "y": 281,\r
- "z": "f351885d.7dcd3",\r
+ "x": 6233,\r
+ "y": 269,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "4cf7ab90.c1f3ec",\r
+ "id": "441438f3.47d108",\r
"type": "execute",\r
"name": "execute properties",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 712,\r
- "y": 461,\r
- "z": "f351885d.7dcd3",\r
+ "x": 700,\r
+ "y": 449,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "fec1365a.907b4",\r
+ "id": "48e88b1.fd2c9f4",\r
"type": "set",\r
"name": "set attachment_param for OTN B",\r
"xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingB.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\n<!--<parameter name='src-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingB.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingB.src-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-dst-domain' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />\n",\r
"comments": "",\r
- "x": 3812,\r
- "y": 1621,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3800,\r
+ "y": 1609,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "eb21cc8f.003df8",\r
+ "id": "46863424.f49acc",\r
"type": "execute",\r
"name": "execute RestApiCallNode Create OTN tunnel with token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-dst-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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": 3875,\r
- "y": 1950,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3863,\r
+ "y": 1938,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "fc655ff.669232",\r
- "dfbdc395.b4aa"\r
+ "dcc57379.86dfe8",\r
+ "c898077c.fa069"\r
]\r
]\r
},\r
{\r
- "id": "fc655ff.669232",\r
+ "id": "dcc57379.86dfe8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4170.5,\r
- "y": 1917,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4158.5,\r
+ "y": 1905,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "d2ad58a1.dbb57"\r
+ "abcd166d.ac4418"\r
]\r
]\r
},\r
{\r
- "id": "dfbdc395.b4aa",\r
+ "id": "c898077c.fa069",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4175.5,\r
- "y": 1982,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4163.5,\r
+ "y": 1970,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "43fba27a.3e8bd4"\r
+ "a337c775.425078"\r
]\r
]\r
},\r
{\r
- "id": "d2ad58a1.dbb57",\r
+ "id": "abcd166d.ac4418",\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 Create OTN tunnel rest api\" />\n",\r
"comments": "",\r
- "x": 4338.5,\r
- "y": 1917,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4326.5,\r
+ "y": 1905,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "43fba27a.3e8bd4",\r
+ "id": "a337c775.425078",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4349,\r
- "y": 1982,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4337,\r
+ "y": 1970,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a7e92939.08a52",\r
+ "id": "402d5da7.084ecc",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-bindingB.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-bindingB.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-bindingB.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-bindingB.dst-access-node-id`\" />\n",\r
"comments": "",\r
- "x": 3751,\r
- "y": 1678,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3739,\r
+ "y": 1666,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "25024bed.781cdc",\r
+ "id": "600572d7.37f4f4",\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.domainB.pnf-name\"\n pfx='tmp.aai.destination-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3771,\r
- "y": 1775,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3759,\r
+ "y": 1763,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "17a289eb.8378c6",\r
- "4e86abed.341d6c",\r
- "9944c222.7ecb4"\r
+ "a75ca9d.3439f58",\r
+ "399b40eb.8cb2c",\r
+ "c23ae6cb.c49a18"\r
]\r
]\r
},\r
{\r
- "id": "17a289eb.8378c6",\r
+ "id": "a75ca9d.3439f58",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3973.5001220703125,\r
- "y": 1728,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3961.5001220703125,\r
+ "y": 1716,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "2250bf3f.3fcd88"\r
+ "7c251cdc.702f24"\r
]\r
]\r
},\r
{\r
- "id": "4e86abed.341d6c",\r
+ "id": "399b40eb.8cb2c",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3965.5001220703125,\r
- "y": 1783,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3953.5001220703125,\r
+ "y": 1771,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "7fe7998e.7db16"\r
+ "9ad884c8.666098"\r
]\r
]\r
},\r
{\r
- "id": "2250bf3f.3fcd88",\r
+ "id": "7c251cdc.702f24",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4117.8824462890625,\r
- "y": 1725.6556701660156,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4105.8824462890625,\r
+ "y": 1713.6556701660156,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "19367b54.5d4395"\r
+ "cb9eeb5b.e8a49"\r
]\r
]\r
},\r
{\r
- "id": "19367b54.5d4395",\r
+ "id": "cb9eeb5b.e8a49",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4302,\r
- "y": 1740,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4290,\r
+ "y": 1728,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "e137d17b.53afd"\r
+ "3d062c6c.6ff5d4"\r
]\r
]\r
},\r
{\r
- "id": "9944c222.7ecb4",\r
+ "id": "c23ae6cb.c49a18",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3970.5001220703125,\r
- "y": 1840,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3958.5001220703125,\r
+ "y": 1828,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "c7e8bb41.e69fc8"\r
+ "c325aab2.4755e"\r
]\r
]\r
},\r
{\r
- "id": "c7e8bb41.e69fc8",\r
+ "id": "c325aab2.4755e",\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": 4122.5001220703125,\r
- "y": 1841,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4110.5001220703125,\r
+ "y": 1829,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "7fe7998e.7db16",\r
+ "id": "9ad884c8.666098",\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": 4133.5001220703125,\r
- "y": 1786,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4121.5001220703125,\r
+ "y": 1774,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "18a3ba34.8443fe",\r
+ "id": "34bca75e.e09988",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4700,\r
- "y": 1744,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4688,\r
+ "y": 1732,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "cca686b1.a86b48"\r
+ "edc0cd69.586d38"\r
]\r
]\r
},\r
{\r
- "id": "e137d17b.53afd",\r
+ "id": "3d062c6c.6ff5d4",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4497,\r
- "y": 1740,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4485,\r
+ "y": 1728,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "18a3ba34.8443fe"\r
+ "34bca75e.e09988"\r
]\r
]\r
},\r
{\r
- "id": "ec259c93.12e46",\r
+ "id": "f5373d88.e0f4c",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5085,\r
- "y": 1743,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5073,\r
+ "y": 1731,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "cf9d2f3.18e805",\r
- "1901d45c.9387cc",\r
- "86a361e1.5f9008"\r
+ "efe05c93.e4bd48",\r
+ "c004c915.8de7",\r
+ "8875f4b.bcb6f88"\r
]\r
]\r
},\r
{\r
- "id": "cca686b1.a86b48",\r
+ "id": "edc0cd69.586d38",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4877,\r
- "y": 1736,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4865,\r
+ "y": 1724,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "2d219530.71913a",\r
- "ec259c93.12e46"\r
+ "bd388c7d.2a51e",\r
+ "f5373d88.e0f4c"\r
]\r
]\r
},\r
{\r
- "id": "2d219530.71913a",\r
+ "id": "bd388c7d.2a51e",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domainB id",\r
"xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 5115,\r
- "y": 1691,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5103,\r
+ "y": 1679,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "bb17bcb1.afece8",\r
+ "id": "c54d67f1.3a38c8",\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": 5444,\r
- "y": 1847,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5432,\r
+ "y": 1835,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "e71302c9.0e3fc8",\r
+ "id": "56448bab.caa82c",\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": 5455,\r
- "y": 1792,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5443,\r
+ "y": 1780,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "c367d2df.137348",\r
+ "id": "97f3ba34.f2dc7",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5439.38232421875,\r
- "y": 1731.6556701660156,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5427.38232421875,\r
+ "y": 1719.6556701660156,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "bfc16252.e05aa"\r
+ "5b487de9.7c9484"\r
]\r
]\r
},\r
{\r
- "id": "bfc16252.e05aa",\r
+ "id": "5b487de9.7c9484",\r
"type": "set",\r
"name": "set controller domainB data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
"comments": "",\r
- "x": 5654,\r
- "y": 1728,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5642,\r
+ "y": 1716,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "cf9d2f3.18e805",\r
+ "id": "efe05c93.e4bd48",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5295,\r
- "y": 1734,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5283,\r
+ "y": 1722,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "c367d2df.137348"\r
+ "97f3ba34.f2dc7"\r
]\r
]\r
},\r
{\r
- "id": "1901d45c.9387cc",\r
+ "id": "c004c915.8de7",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5287,\r
- "y": 1789,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5275,\r
+ "y": 1777,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "e71302c9.0e3fc8"\r
+ "56448bab.caa82c"\r
]\r
]\r
},\r
{\r
- "id": "86a361e1.5f9008",\r
+ "id": "8875f4b.bcb6f88",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5292,\r
- "y": 1846,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5280,\r
+ "y": 1834,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "bb17bcb1.afece8"\r
+ "c54d67f1.3a38c8"\r
]\r
]\r
},\r
{\r
- "id": "5afc15bc.b14b2c",\r
+ "id": "cf901b65.835fc8",\r
"type": "save",\r
"name": "get connectivity from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1824,\r
- "y": 450,\r
- "z": "f351885d.7dcd3",\r
+ "x": 1812,\r
+ "y": 438,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "c4ea2f12.0682f8",\r
- "89ba984f.fbff08",\r
- "4c31ddac.b140a4"\r
+ "a3e158df.aec638",\r
+ "28bc0271.0f9e9e",\r
+ "12a8a0b5.4084c7"\r
]\r
]\r
},\r
{\r
- "id": "c4ea2f12.0682f8",\r
+ "id": "a3e158df.aec638",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2032,\r
- "y": 414,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2020,\r
+ "y": 402,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "207f18a3.1780c8"\r
+ "8651df9.9efa52"\r
]\r
]\r
},\r
{\r
- "id": "89ba984f.fbff08",\r
+ "id": "28bc0271.0f9e9e",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2032.490966796875,\r
- "y": 459.57403564453125,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2020.490966796875,\r
+ "y": 447.57403564453125,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "db0bb70b.5af75"\r
+ "b3859ee9.a63778"\r
]\r
]\r
},\r
{\r
- "id": "4c31ddac.b140a4",\r
+ "id": "12a8a0b5.4084c7",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2030,\r
- "y": 503,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2018,\r
+ "y": 491,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "34efc961.392a36"\r
+ "b1a3023.979458"\r
]\r
]\r
},\r
{\r
- "id": "db0bb70b.5af75",\r
+ "id": "b3859ee9.a63778",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2195.0623779296875,\r
- "y": 459.8597717285156,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2183.0623779296875,\r
+ "y": 447.8597717285156,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "34efc961.392a36",\r
+ "id": "b1a3023.979458",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2199,\r
- "y": 504,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2187,\r
+ "y": 492,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "da2f8124.076ab8",\r
+ "id": "e921a3d6.75f8b8",\r
"type": "save",\r
"name": "get vpn-binding from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2505,\r
- "y": 503,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2493,\r
+ "y": 491,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "28f88824.b7c4b8",\r
- "d6ad8583.7ca128",\r
- "c9e967f5.e899f8"\r
+ "19de242e.79b56c",\r
+ "e1533c2.9fadc4",\r
+ "da41548.4c59da8"\r
]\r
]\r
},\r
{\r
- "id": "f459c148.932bf8",\r
+ "id": "108df7f5.f0405",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2885,\r
- "y": 591,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2873,\r
+ "y": 579,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "1c6e3351.8ccb0d"\r
+ "19520422.b45d4c"\r
]\r
]\r
},\r
{\r
- "id": "28f88824.b7c4b8",\r
+ "id": "19de242e.79b56c",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2716,\r
- "y": 592,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2704,\r
+ "y": 580,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "f459c148.932bf8"\r
+ "108df7f5.f0405"\r
]\r
]\r
},\r
{\r
- "id": "d6ad8583.7ca128",\r
+ "id": "e1533c2.9fadc4",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2718.490966796875,\r
- "y": 487.57403564453125,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2706.490966796875,\r
+ "y": 475.57403564453125,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "ef5820a6.09d9d"\r
+ "efbdd7a3.5958d8"\r
]\r
]\r
},\r
{\r
- "id": "c9e967f5.e899f8",\r
+ "id": "da41548.4c59da8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2714,\r
- "y": 532,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2702,\r
+ "y": 520,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "bd9d5fad.2d262"\r
+ "e03f3a11.4be118"\r
]\r
]\r
},\r
{\r
- "id": "bd9d5fad.2d262",\r
+ "id": "e03f3a11.4be118",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2882,\r
- "y": 532,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2870,\r
+ "y": 520,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "ef5820a6.09d9d",\r
+ "id": "efbdd7a3.5958d8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2881.0625,\r
- "y": 486.8597412109375,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2869.0625,\r
+ "y": 474.8597412109375,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "207f18a3.1780c8",\r
+ "id": "8651df9.9efa52",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2233,\r
- "y": 409,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2221,\r
+ "y": 397,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "208bed02.1187fa"\r
+ "6856373e.df8d5"\r
]\r
]\r
},\r
{\r
- "id": "208bed02.1187fa",\r
+ "id": "6856373e.df8d5",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2438,\r
- "y": 409,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2426,\r
+ "y": 397,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "f005e0a8.cc7dc8"\r
+ "61b4f44b.e9282c"\r
]\r
]\r
},\r
{\r
- "id": "f005e0a8.cc7dc8",\r
+ "id": "61b4f44b.e9282c",\r
"type": "outcome",\r
"name": "vpn-binding",\r
"xml": "<outcome value='vpn-binding'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2604,\r
- "y": 409,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2592,\r
+ "y": 397,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "51d187ad.ad3078"\r
+ "9aa1bdef.a85148"\r
]\r
]\r
},\r
{\r
- "id": "51d187ad.ad3078",\r
+ "id": "9aa1bdef.a85148",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2767,\r
- "y": 409,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2755,\r
+ "y": 397,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "da2f8124.076ab8",\r
- "1e447cc1.915cb3"\r
+ "e921a3d6.75f8b8",\r
+ "8b7a547c.5a78f8"\r
]\r
]\r
},\r
{\r
- "id": "aecb0c53.70b3e8",\r
+ "id": "61cd75bc.541bfc",\r
"type": "switchNode",\r
"name": "switch vpn-binding has dst-access-ltp",\r
"xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3326,\r
- "y": 692,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3314,\r
+ "y": 680,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "45f40514.0a111c",\r
- "e5457af4.842818"\r
+ "ce7e100e.65e8d8",\r
+ "978d0324.53a218"\r
]\r
]\r
},\r
{\r
- "id": "45f40514.0a111c",\r
+ "id": "ce7e100e.65e8d8",\r
"type": "outcome",\r
"name": "Null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3540,\r
- "y": 729,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3528,\r
+ "y": 717,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "4c5d5e83.4b55d8"\r
+ "d3a9cf8b.6d8898"\r
]\r
]\r
},\r
{\r
- "id": "e5457af4.842818",\r
+ "id": "978d0324.53a218",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3542,\r
- "y": 667,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3530,\r
+ "y": 655,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "d204a9f5.cb1f"\r
+ "eacef09.695731"\r
]\r
]\r
},\r
{\r
- "id": "4c5d5e83.4b55d8",\r
+ "id": "d3a9cf8b.6d8898",\r
"type": "switchNode",\r
"name": "switch vpn-binding has src-access-ltp",\r
"xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3120,\r
- "y": 1972,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3108,\r
+ "y": 1960,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "e25a0aae.dc3b6",\r
- "5811aab2.c9cdb4"\r
+ "a298a9c0.8f44e8",\r
+ "ca55eca6.1cb808"\r
]\r
]\r
},\r
{\r
- "id": "e25a0aae.dc3b6",\r
+ "id": "a298a9c0.8f44e8",\r
"type": "outcome",\r
"name": "Null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3373,\r
- "y": 2006,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3361,\r
+ "y": 1994,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "e2283676.c05cf8"\r
+ "c785caf0.121d"\r
]\r
]\r
},\r
{\r
- "id": "5811aab2.c9cdb4",\r
+ "id": "ca55eca6.1cb808",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3373,\r
- "y": 1950,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3361,\r
+ "y": 1938,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "5f1f11a6.4b622"\r
+ "6d0b6c95.2359f4"\r
]\r
]\r
},\r
{\r
- "id": "e2283676.c05cf8",\r
+ "id": "c785caf0.121d",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 3524,\r
- "y": 2006,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3512,\r
+ "y": 1994,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "ef6002a3.a9265",\r
+ "id": "2abfc3f7.2295e4",\r
"type": "set",\r
"name": "set vpn-bindingA and connectivityA",\r
"xml": "<set>\n<parameter name='tmp.aai.vpn-bindingA.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityA.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
"comments": "",\r
- "x": 4400,\r
- "y": 104,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4388,\r
+ "y": 92,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "d11d0786.01d8c8",\r
+ "id": "ebb770b7.bb1a4",\r
"type": "set",\r
"name": "set vpn-bindingB and connectivityB",\r
"xml": "<set>\n<parameter name='tmp.aai.vpn-bindingB.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityB.' value=\"`$tmp.aai.connectivity.`\" />\n\n",\r
"comments": "",\r
- "x": 3808,\r
- "y": 1563,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3796,\r
+ "y": 1551,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "4923e79.d3d2a98",\r
+ "id": "bcb6d938.081b58",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4091,\r
- "y": 361,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4079,\r
+ "y": 349,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "ef6002a3.a9265",\r
- "73d91f0d.979448",\r
- "cdb19fe7.3fcc18",\r
- "83225463.070fc",\r
- "b72def38.869578",\r
- "61d206ce.c84cc",\r
- "53d5aef.e4ebbd"\r
+ "2abfc3f7.2295e4",\r
+ "72376cd1.cdcaec",\r
+ "9b9c3cba.716c78",\r
+ "5f8cf8c6.3002c8",\r
+ "de94f6d4.eda0e",\r
+ "342bfbf3.ee642c",\r
+ "2a89aa53.8890b6"\r
]\r
]\r
},\r
{\r
- "id": "5f1f11a6.4b622",\r
+ "id": "6d0b6c95.2359f4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3524,\r
- "y": 1949,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3512,\r
+ "y": 1937,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "d11d0786.01d8c8",\r
- "fec1365a.907b4",\r
- "a7e92939.08a52",\r
- "25024bed.781cdc",\r
- "eb21cc8f.003df8",\r
- "1be8ac25.0620fc",\r
- "6fb79d87.420834"\r
+ "ebb770b7.bb1a4",\r
+ "48e88b1.fd2c9f4",\r
+ "402d5da7.084ecc",\r
+ "600572d7.37f4f4",\r
+ "46863424.f49acc",\r
+ "4aa8bc15.43053c",\r
+ "295ad948.4ab50e"\r
]\r
]\r
},\r
{\r
- "id": "1be8ac25.0620fc",\r
+ "id": "4aa8bc15.43053c",\r
"type": "set",\r
"name": "set sotn_value",\r
"xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityB.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityB.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityB.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityB.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityB.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityB.cvlan`' />\n\n",\r
"comments": "",\r
- "x": 3753,\r
- "y": 2092,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3741,\r
+ "y": 2080,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "6fb79d87.420834",\r
+ "id": "295ad948.4ab50e",\r
"type": "execute",\r
"name": "execute RestApiCallNode Create ethernet Service without token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-ethernet-service.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3907,\r
- "y": 2140,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3895,\r
+ "y": 2128,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "6175c964.8889d",\r
- "add709ae.0740f"\r
+ "ec9bb97a.fa7b4",\r
+ "d7a86063.21272"\r
]\r
]\r
},\r
{\r
- "id": "6175c964.8889d",\r
+ "id": "ec9bb97a.fa7b4",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4252.5,\r
- "y": 2121,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4240.5,\r
+ "y": 2109,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "7caa2ba7.6bf4dc"\r
+ "23e4ab97.fe6f5c"\r
]\r
]\r
},\r
{\r
- "id": "add709ae.0740f",\r
+ "id": "d7a86063.21272",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4256.5,\r
- "y": 2161,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4244.5,\r
+ "y": 2149,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "43eb2ee.41b33d"\r
+ "3d3a171d.cfa4"\r
]\r
]\r
},\r
{\r
- "id": "7caa2ba7.6bf4dc",\r
+ "id": "23e4ab97.fe6f5c",\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 Create ethernet service rest api\" />\n",\r
"comments": "",\r
- "x": 4410.5,\r
- "y": 2121,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4398.5,\r
+ "y": 2109,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "43eb2ee.41b33d",\r
+ "id": "3d3a171d.cfa4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4414,\r
- "y": 2161,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4402,\r
+ "y": 2149,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "30f33337.055d14",\r
- "948532eb.e6c7c"\r
+ "5d084d8a.b2f23c",\r
+ "44dbf2a2.960644"\r
]\r
]\r
},\r
{\r
- "id": "bc6f9b2b.7321f",\r
+ "id": "ce171a50.073f6",\r
"type": "comment",\r
"name": "TODO: FIXME:",\r
"info": "put proper values based on connectivity resource retrieved from AAI",\r
"comments": "",\r
- "x": 3750.5,\r
- "y": 2048,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3738.5,\r
+ "y": 2036,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "30f33337.055d14",\r
+ "id": "5d084d8a.b2f23c",\r
"type": "save",\r
"name": "update vpn-binding B resource (aka. OTN domainB) in AAI",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingB.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingB.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4754,\r
- "y": 2160,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4742,\r
+ "y": 2148,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "227afae6.b4c94e",\r
+ "id": "e7b454fe.3b5cb",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "use proper vpn-binding id and connectivity\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
"comments": "",\r
- "x": 4612,\r
- "y": 2118,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4600,\r
+ "y": 2106,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "948532eb.e6c7c",\r
+ "id": "44dbf2a2.960644",\r
"type": "save",\r
"name": "update connectivity resource in AAI",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivityB.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4683,\r
- "y": 2209,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4671,\r
+ "y": 2197,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "55624da8.df976c",\r
+ "id": "dcf1d309.aad128",\r
"type": "set",\r
"name": "set attachment_param (gfp-n) for OTN",\r
"xml": "<set>\n<parameter name='gfp-n' value='`$tmp.aai.vpn-binding.route-distinguisher`' />\n",\r
"comments": "",\r
- "x": 3317,\r
- "y": 632,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3305,\r
+ "y": 620,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "1e447cc1.915cb3",\r
+ "id": "8b7a547c.5a78f8",\r
"type": "set",\r
"name": "unset tmp.aai.vpn-binding",\r
"xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
"comments": "",\r
- "x": 2951,\r
- "y": 280,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2939,\r
+ "y": 268,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "f396e52b.35559",\r
+ "id": "29539dcf.178a92",\r
"type": "comment",\r
"name": "only dst ttp exists. No src",\r
"info": "",\r
"comments": "",\r
- "x": 3912,\r
- "y": 318,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3900,\r
+ "y": 306,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "72b06eec.578eb8",\r
+ "id": "5f3074d9.b389cc",\r
"type": "comment",\r
"name": "only src ttp exists. No dst",\r
"info": "",\r
"comments": "",\r
- "x": 3469,\r
- "y": 1896,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3457,\r
+ "y": 1884,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "d204a9f5.cb1f",\r
+ "id": "eacef09.695731",\r
"type": "switchNode",\r
"name": "switch vpn-binding has src-access-ltp",\r
"xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3648,\r
- "y": 480,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3636,\r
+ "y": 468,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "7da55af.10937a4",\r
- "d30ba4e8.997a68"\r
+ "f62c1164.a0b8",\r
+ "81b54f08.97d86"\r
]\r
]\r
},\r
{\r
- "id": "d30ba4e8.997a68",\r
+ "id": "81b54f08.97d86",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3890,\r
- "y": 1069,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3878,\r
+ "y": 1057,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "b0909b7a.d37638"\r
+ "efc62266.57c198"\r
]\r
]\r
},\r
{\r
- "id": "7da55af.10937a4",\r
+ "id": "f62c1164.a0b8",\r
"type": "outcome",\r
"name": "Null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3884,\r
- "y": 360,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3872,\r
+ "y": 348,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "4923e79.d3d2a98"\r
+ "bcb6d938.081b58"\r
]\r
]\r
},\r
{\r
- "id": "b0909b7a.d37638",\r
+ "id": "efc62266.57c198",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4048,\r
- "y": 1068,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4036,\r
+ "y": 1056,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "aadf2b5c.a1838",\r
- "8fb5b52a.4e2ae",\r
- "a006da1c.c23038",\r
- "7e67d000.77abb",\r
- "23d1e7d8.976258"\r
+ "cb6a953c.fa71e8",\r
+ "263d4572.ce34fa",\r
+ "2e78dd82.d5612a",\r
+ "c61e9a44.c762a8",\r
+ "8ae64ab7.a00a7"\r
]\r
]\r
},\r
{\r
- "id": "8fb5b52a.4e2ae",\r
+ "id": "263d4572.ce34fa",\r
"type": "set",\r
"name": "set attachment_param for OTN G",\r
"xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingG.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingG.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingG.src-access-ltp-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingG.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-domainG' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingG.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingG.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingG.access-topology-id`' />\n",\r
"comments": "",\r
- "x": 4312,\r
- "y": 951,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4300,\r
+ "y": 939,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "23d1e7d8.976258",\r
+ "id": "8ae64ab7.a00a7",\r
"type": "execute",\r
"name": "execute RestApiCallNode Create OTN tunnel with token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-domainG-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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": 4393,\r
- "y": 1266,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4381,\r
+ "y": 1254,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "c8d598bd.cbc8e",\r
- "c93ae11e.1c54c8"\r
+ "bd008f9d.f02308",\r
+ "91d1e4e0.3cbb38"\r
]\r
]\r
},\r
{\r
- "id": "c8d598bd.cbc8e",\r
+ "id": "bd008f9d.f02308",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4702.5,\r
- "y": 1235,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4690.5,\r
+ "y": 1223,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "a086276f.4222f8"\r
+ "270fab9f.26c71c"\r
]\r
]\r
},\r
{\r
- "id": "c93ae11e.1c54c8",\r
+ "id": "91d1e4e0.3cbb38",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4707.5,\r
- "y": 1300,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4695.5,\r
+ "y": 1288,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "51323b7.caecec4"\r
+ "49e9447.128b63c"\r
]\r
]\r
},\r
{\r
- "id": "a086276f.4222f8",\r
+ "id": "270fab9f.26c71c",\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 Create OTN tunnel rest api\" />\n",\r
"comments": "",\r
- "x": 4878.5,\r
- "y": 1235,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4866.5,\r
+ "y": 1223,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "51323b7.caecec4",\r
+ "id": "49e9447.128b63c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4874,\r
- "y": 1300,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4862,\r
+ "y": 1288,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a006da1c.c23038",\r
+ "id": "2e78dd82.d5612a",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.domainG.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-bindingG.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-bindingG.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-bindingG.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-bindingG.src-access-node-id`\" />\n",\r
"comments": "",\r
- "x": 4250,\r
- "y": 999,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4238,\r
+ "y": 987,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "7e67d000.77abb",\r
+ "id": "c61e9a44.c762a8",\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.domainG.pnf-name\"\n pfx='tmp.aai.domainG-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4276,\r
- "y": 1116,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4264,\r
+ "y": 1104,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "ec2bb2c1.50dad",\r
- "6fe2c398.ccd7b4",\r
- "2cf209f9.a94e2e"\r
+ "58640478.1eeefc",\r
+ "b15b9e00.631398",\r
+ "c5141964.109468"\r
]\r
]\r
},\r
{\r
- "id": "ec2bb2c1.50dad",\r
+ "id": "58640478.1eeefc",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4471.5001220703125,\r
- "y": 1068,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4459.5001220703125,\r
+ "y": 1056,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "e5c84b9e.98975"\r
+ "9ec63af5.4a1a88"\r
]\r
]\r
},\r
{\r
- "id": "6fe2c398.ccd7b4",\r
+ "id": "b15b9e00.631398",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4463.5001220703125,\r
- "y": 1123,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4451.5001220703125,\r
+ "y": 1111,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "be59a3.0881066"\r
+ "a4b9d6d5.39a2c8"\r
]\r
]\r
},\r
{\r
- "id": "e5c84b9e.98975",\r
+ "id": "9ec63af5.4a1a88",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4615.8824462890625,\r
- "y": 1067.6556701660156,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4603.8824462890625,\r
+ "y": 1055.6556701660156,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "40635ccb.0881a4"\r
+ "f086ebfd.c8405"\r
]\r
]\r
},\r
{\r
- "id": "40635ccb.0881a4",\r
+ "id": "f086ebfd.c8405",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.domainG-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4800,\r
- "y": 1066,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4788,\r
+ "y": 1054,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "ff02a9b.ff8ffd8"\r
+ "b709cf8e.43e148"\r
]\r
]\r
},\r
{\r
- "id": "ff02a9b.ff8ffd8",\r
+ "id": "b709cf8e.43e148",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4995,\r
- "y": 1066,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4983,\r
+ "y": 1054,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "d3d180f4.36fa68"\r
+ "ad439d36.0ced9"\r
]\r
]\r
},\r
{\r
- "id": "2cf209f9.a94e2e",\r
+ "id": "c5141964.109468",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4468.5001220703125,\r
- "y": 1180,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4456.5001220703125,\r
+ "y": 1168,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "2b5a1252.216fe6"\r
+ "56d134ff.8e34ec"\r
]\r
]\r
},\r
{\r
- "id": "2b5a1252.216fe6",\r
+ "id": "56d134ff.8e34ec",\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": 4620.5001220703125,\r
- "y": 1181,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4608.5001220703125,\r
+ "y": 1169,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "be59a3.0881066",\r
+ "id": "a4b9d6d5.39a2c8",\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": 4631.5001220703125,\r
- "y": 1124,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4619.5001220703125,\r
+ "y": 1112,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "aadf2b5c.a1838",\r
+ "id": "cb6a953c.fa71e8",\r
"type": "set",\r
"name": "set vpn-bindingG and connectivityG",\r
"xml": "<set>\n<parameter name='tmp.aai.vpn-bindingG.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityG.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
"comments": "",\r
- "x": 4307,\r
- "y": 891,\r
- "z": "f351885d.7dcd3",\r
+ "x": 4295,\r
+ "y": 879,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "d3d180f4.36fa68",\r
+ "id": "ad439d36.0ced9",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5198,\r
- "y": 1070,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5186,\r
+ "y": 1058,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "8355bb98.2142e8"\r
+ "cb537ad7.8928d8"\r
]\r
]\r
},\r
{\r
- "id": "d998285a.8338c",\r
+ "id": "e839cea.58e4f3",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5583,\r
- "y": 1083,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5571,\r
+ "y": 1071,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "38daac86.dbf464",\r
- "21dc6947.7d9bae",\r
- "a47aca30.5160e"\r
+ "9673ee8e.826088",\r
+ "87202e49.7cf198",\r
+ "ad5371c2.88c47"\r
]\r
]\r
},\r
{\r
- "id": "8355bb98.2142e8",\r
+ "id": "cb537ad7.8928d8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 5377,\r
- "y": 1070,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5365,\r
+ "y": 1058,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "583e9682.750428",\r
- "d998285a.8338c"\r
+ "2fa33243.987c8e",\r
+ "e839cea.58e4f3"\r
]\r
]\r
},\r
{\r
- "id": "583e9682.750428",\r
+ "id": "2fa33243.987c8e",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domainG id",\r
"xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 5613,\r
- "y": 1031,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5601,\r
+ "y": 1019,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "38daac86.dbf464",\r
+ "id": "9673ee8e.826088",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5793,\r
- "y": 1074,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5781,\r
+ "y": 1062,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "10b34ad5.e58d9d"\r
+ "3788c181.11c43e"\r
]\r
]\r
},\r
{\r
- "id": "21dc6947.7d9bae",\r
+ "id": "87202e49.7cf198",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5785,\r
- "y": 1129,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5773,\r
+ "y": 1117,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "6ce9bc65.05009c"\r
+ "3691dbb8.1b2bf4"\r
]\r
]\r
},\r
{\r
- "id": "a47aca30.5160e",\r
+ "id": "ad5371c2.88c47",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5790,\r
- "y": 1186,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5778,\r
+ "y": 1174,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "18239e9b.852729"\r
+ "c7f3058f.182658"\r
]\r
]\r
},\r
{\r
- "id": "18239e9b.852729",\r
+ "id": "c7f3058f.182658",\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": 5942,\r
- "y": 1187,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5930,\r
+ "y": 1175,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "6ce9bc65.05009c",\r
+ "id": "3691dbb8.1b2bf4",\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": 5953,\r
- "y": 1132,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5941,\r
+ "y": 1120,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "10b34ad5.e58d9d",\r
+ "id": "3788c181.11c43e",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5937.38232421875,\r
- "y": 1071.6556701660156,\r
- "z": "f351885d.7dcd3",\r
+ "x": 5925.38232421875,\r
+ "y": 1059.6556701660156,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "d4058b68.bd8818"\r
+ "a3c8eb2b.95af8"\r
]\r
]\r
},\r
{\r
- "id": "d4058b68.bd8818",\r
+ "id": "a3c8eb2b.95af8",\r
"type": "set",\r
"name": "set controller domainG data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
"comments": "",\r
- "x": 6152,\r
- "y": 1068,\r
- "z": "f351885d.7dcd3",\r
+ "x": 6140,\r
+ "y": 1056,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "3a09f359.556f04",\r
+ "id": "2ac9f039.bfa9a8",\r
"type": "comment",\r
"name": "both src and dst exist",\r
"info": "",\r
"comments": "",\r
- "x": 3926,\r
- "y": 1009,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3914,\r
+ "y": 997,\r
+ "z": "4996e636.3ea08",\r
"wires": []\r
},\r
{\r
- "id": "1c6e3351.8ccb0d",\r
+ "id": "19520422.b45d4c",\r
"type": "switchNode",\r
"name": "switch vpn-binding is not already Activated (i.e. is either Created or Modified)",\r
"xml": "<switch test=\"`$tmp.aai.vpn-binding.operational-status != 'Activated' `\">\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2488,\r
- "y": 736,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2476,\r
+ "y": 724,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "91c41639.2357b",\r
- "5aa31f25.4b2718"\r
+ "fc6dfa43.dee44",\r
+ "90381d7.56caa6"\r
]\r
]\r
},\r
{\r
- "id": "5aa31f25.4b2718",\r
+ "id": "90381d7.56caa6",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2895,\r
- "y": 754,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2883,\r
+ "y": 742,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "49ef7599.6e682c"\r
+ "d486bdc8.981f98"\r
]\r
]\r
},\r
{\r
- "id": "91c41639.2357b",\r
+ "id": "fc6dfa43.dee44",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2895,\r
- "y": 699,\r
- "z": "f351885d.7dcd3",\r
+ "x": 2883,\r
+ "y": 687,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "c7ffb45b.775578"\r
+ "7563c99.56d39b8"\r
]\r
]\r
},\r
{\r
- "id": "c7ffb45b.775578",\r
+ "id": "7563c99.56d39b8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3051,\r
- "y": 697,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3039,\r
+ "y": 685,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[\r
- "55624da8.df976c",\r
- "aecb0c53.70b3e8"\r
+ "dcf1d309.aad128",\r
+ "61cd75bc.541bfc"\r
]\r
]\r
},\r
{\r
- "id": "49ef7599.6e682c",\r
+ "id": "d486bdc8.981f98",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3028,\r
- "y": 755,\r
- "z": "f351885d.7dcd3",\r
+ "x": 3016,\r
+ "y": 743,\r
+ "z": "4996e636.3ea08",\r
"wires": [\r
[]\r
]\r
[\r
{\r
- "id": "df3491bc.625428",\r
+ "id": "b3b9455c.251fb8",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 128,\r
- "y": 113,\r
- "z": "b31344e1.6b9228",\r
+ "x": 107,\r
+ "y": 110,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "f93a4fe6.087538"\r
+ "5661f4c7.6e8104"\r
]\r
]\r
},\r
{\r
- "id": "f93a4fe6.087538",\r
+ "id": "5661f4c7.6e8104",\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": 412.2856903076172,\r
- "y": 174.23810863494873,\r
- "z": "b31344e1.6b9228",\r
+ "x": 391.2856903076172,\r
+ "y": 171.23810863494873,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "3a78d95d.5e3c5e"\r
+ "47f23ec8.713ca"\r
]\r
]\r
},\r
{\r
- "id": "3a78d95d.5e3c5e",\r
+ "id": "47f23ec8.713ca",\r
"type": "method",\r
"name": "method tsli-vnf-topology-operation-trans-slice-allocate",\r
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-allocate' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 418.42860412597656,\r
- "y": 259.0000305175781,\r
- "z": "b31344e1.6b9228",\r
+ "x": 397.42860412597656,\r
+ "y": 256.0000305175781,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "35ecb5b7.3f1b02"\r
+ "909d5d01.2efc9"\r
]\r
]\r
},\r
{\r
- "id": "35ecb5b7.3f1b02",\r
+ "id": "909d5d01.2efc9",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 788.238037109375,\r
- "y": 283.66668701171875,\r
- "z": "b31344e1.6b9228",\r
+ "x": 767.238037109375,\r
+ "y": 280.66668701171875,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "a99ea7b2.f5e618",\r
- "183025fe.418fa2",\r
- "d352d101.d008a8"\r
+ "c5df95a2.6c697",\r
+ "a851f151.681188",\r
+ "4430b278.87d9ac"\r
]\r
]\r
},\r
{\r
- "id": "a99ea7b2.f5e618",\r
+ "id": "c5df95a2.6c697",\r
"type": "returnSuccess",\r
"name": "return success",\r
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
"comments": "",\r
- "x": 1089.571533203125,\r
- "y": 554.5969848632812,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1068.571533203125,\r
+ "y": 551.5969848632812,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "183025fe.418fa2",\r
+ "id": "a851f151.681188",\r
"type": "save",\r
"name": "get service-instance from aai",\r
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1111,\r
- "y": 257,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1090,\r
+ "y": 254,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "47f816cc.c0286",\r
- "318d2442.efdd34",\r
- "4265fd48.9eb024"\r
+ "bee2d1fb.fc819",\r
+ "706fc8bb.926d88",\r
+ "b5dbfca1.6b8958"\r
]\r
]\r
},\r
{\r
- "id": "47f816cc.c0286",\r
+ "id": "bee2d1fb.fc819",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1336,\r
- "y": 115,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1315,\r
+ "y": 112,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "6fd78e9c.961b2"\r
+ "e14cb882.1a5158"\r
]\r
]\r
},\r
{\r
- "id": "318d2442.efdd34",\r
+ "id": "706fc8bb.926d88",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1331.490966796875,\r
- "y": 184.57403564453125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1310.490966796875,\r
+ "y": 181.57403564453125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "aa8b68cf.4936c"\r
+ "5cbb540f.81c364"\r
]\r
]\r
},\r
{\r
- "id": "4265fd48.9eb024",\r
+ "id": "b5dbfca1.6b8958",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1320,\r
- "y": 231,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1299,\r
+ "y": 228,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "ea9381a6.8a9938"\r
+ "bd99daf8.5c5508"\r
]\r
]\r
},\r
{\r
- "id": "6fd78e9c.961b2",\r
+ "id": "e14cb882.1a5158",\r
"type": "switchNode",\r
"name": "switch allotted-resources_length != 0",\r
"xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1575,\r
- "y": 112,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1554,\r
+ "y": 109,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "a9515923.c68db8",\r
- "3b6a0136.f8dee6"\r
+ "6386b942.401658",\r
+ "736cbc7f.84dcc4"\r
]\r
]\r
},\r
{\r
- "id": "aa8b68cf.4936c",\r
+ "id": "5cbb540f.81c364",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 1485.0623779296875,\r
- "y": 187.85977172851562,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1464.0623779296875,\r
+ "y": 184.85977172851562,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "ea9381a6.8a9938",\r
+ "id": "bd99daf8.5c5508",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1489,\r
- "y": 232,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1468,\r
+ "y": 229,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "a9515923.c68db8",\r
+ "id": "6386b942.401658",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1788,\r
- "y": 136,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1767,\r
+ "y": 133,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "8d77a4c9.47348"\r
+ "bdbad755.d12dc8"\r
]\r
]\r
},\r
{\r
- "id": "3b6a0136.f8dee6",\r
+ "id": "736cbc7f.84dcc4",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1790,\r
- "y": 76,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1769,\r
+ "y": 73,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2b9472b2.e91dbe",\r
+ "id": "73516434.8b694c",\r
"type": "comment",\r
"name": "new for TransportSlicing",\r
"info": "",\r
"comments": "",\r
- "x": 1090,\r
- "y": 145,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1069,\r
+ "y": 142,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "8d77a4c9.47348",\r
+ "id": "bdbad755.d12dc8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1773,\r
- "y": 224,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1752,\r
+ "y": 221,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "2dfd81e1.a251ae",\r
- "d0adb7e4.435f98",\r
- "bf30e0be.23b998",\r
- "bc1d9c19.8a817"\r
+ "3b75dc28.79bec4",\r
+ "5d2f9da2.d38694",\r
+ "48979781.1681f8",\r
+ "93c183ce.0a9ed8",\r
+ "5d8a5506.b8ac8c",\r
+ "a26db7da.175a4"\r
]\r
]\r
},\r
{\r
- "id": "4b515bec.7b07fc",\r
+ "id": "31cf85b5.906fca",\r
"type": "set",\r
"name": "set network-route-A",\r
"xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />-->\n\n\n",\r
"comments": "",\r
- "x": 2636,\r
- "y": 824,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2615,\r
+ "y": 821,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "1fb3da4d.f9823e",\r
+ "id": "db907b5a.2ae538",\r
"type": "set",\r
"name": "set network-route-B",\r
"xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
"comments": "",\r
- "x": 2637,\r
- "y": 879,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2616,\r
+ "y": 876,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "1fed210d.6adb97",\r
+ "id": "fea2a65.c94cf58",\r
"type": "save",\r
"name": "get allotted-resource from aai",\r
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!-- AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2259,\r
- "y": 275,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2238,\r
+ "y": 272,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "1d390c60.f37264",\r
- "828d1344.2eeb18",\r
- "35c0fff4.63034"\r
+ "87df4589.584858",\r
+ "635af784.3cb32",\r
+ "22a4a39b.dd73ec"\r
]\r
]\r
},\r
{\r
- "id": "1d390c60.f37264",\r
+ "id": "87df4589.584858",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2475,\r
- "y": 342,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2454,\r
+ "y": 339,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "1dfc0585.305702"\r
+ "8e0be879.699538"\r
]\r
]\r
},\r
{\r
- "id": "828d1344.2eeb18",\r
+ "id": "635af784.3cb32",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2475.490966796875,\r
- "y": 241.573974609375,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2454.490966796875,\r
+ "y": 238.573974609375,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "899f4256.fc61"\r
+ "84ac682e.b78a08"\r
]\r
]\r
},\r
{\r
- "id": "35c0fff4.63034",\r
+ "id": "22a4a39b.dd73ec",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2471,\r
- "y": 291,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2450,\r
+ "y": 288,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "5b10d117.cfe6d8"\r
+ "b2061dbc.0548c8"\r
]\r
]\r
},\r
{\r
- "id": "899f4256.fc61",\r
+ "id": "84ac682e.b78a08",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2653.0625,\r
- "y": 241.8597412109375,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2632.0625,\r
+ "y": 238.8597412109375,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "5b10d117.cfe6d8",\r
+ "id": "b2061dbc.0548c8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2653,\r
- "y": 291,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2632,\r
+ "y": 288,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "e459bf6d.9da9d8",\r
+ "id": "358e179e.99b9f",\r
"type": "save",\r
"name": "get logical-link from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1994,\r
- "y": 764,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1973,\r
+ "y": 761,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "f5d3816e.ab2828",\r
- "4956f23f.0bb47c",\r
- "fe0f59f6.d97868"\r
+ "e260aa07.d4c01",\r
+ "9ec9d813.5ed0f",\r
+ "46b462c7.130bb4"\r
]\r
]\r
},\r
{\r
- "id": "f5d3816e.ab2828",\r
+ "id": "e260aa07.d4c01",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2285.490966796875,\r
- "y": 742.573974609375,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2264.490966796875,\r
+ "y": 739.573974609375,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "9822556a.f611a"\r
+ "c2b6bbd8.3d5eb8"\r
]\r
]\r
},\r
{\r
- "id": "4956f23f.0bb47c",\r
+ "id": "9ec9d813.5ed0f",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2274,\r
- "y": 787,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2253,\r
+ "y": 784,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "6c100a4d.9d821c"\r
+ "1e57c51f.2af7db"\r
]\r
]\r
},\r
{\r
- "id": "9822556a.f611a",\r
+ "id": "c2b6bbd8.3d5eb8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2434.0625,\r
- "y": 742.8597412109375,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2413.0625,\r
+ "y": 739.8597412109375,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "6c100a4d.9d821c",\r
+ "id": "1e57c51f.2af7db",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2433,\r
- "y": 787,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2412,\r
+ "y": 784,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "fe0f59f6.d97868",\r
+ "id": "46b462c7.130bb4",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2281,\r
- "y": 866,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2260,\r
+ "y": 863,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "6d1afb47.ab3814"\r
+ "9b6c334b.ffcfb8"\r
]\r
]\r
},\r
{\r
- "id": "6d1afb47.ab3814",\r
+ "id": "9b6c334b.ffcfb8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2420,\r
- "y": 866,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2399,\r
+ "y": 863,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "4b515bec.7b07fc",\r
- "1fb3da4d.f9823e",\r
- "97eccb48.84f6c",\r
- "c57ab47a.d333d8",\r
- "10cbf4f3.49fe3b",\r
- "49d3005f.62282",\r
- "1f03402a.5db7",\r
- "56710693.e24068",\r
- "84b0870f.4db1e",\r
- "3323f682.f60c3a",\r
- "13ac3dbd.1f366a"\r
+ "31cf85b5.906fca",\r
+ "db907b5a.2ae538",\r
+ "b99c062f.cc8e2",\r
+ "f8919e28.817698",\r
+ "63c0978f.6d4218",\r
+ "256b3f1a.6b05f8",\r
+ "72dba682.c63c9",\r
+ "1b6d1c66.bc0bb4",\r
+ "d6aa9ec.33fa46",\r
+ "6c32ab13.072304",\r
+ "35f98555.2ceed2",\r
+ "63cf541.20dacac"\r
]\r
]\r
},\r
{\r
- "id": "97eccb48.84f6c",\r
+ "id": "b99c062f.cc8e2",\r
"type": "save",\r
"name": "get network-route-A from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2649,\r
- "y": 947,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2628,\r
+ "y": 944,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "8c8a4891.ac867",\r
- "8506ad3d.b7e4c",\r
- "a3b6635c.c539f8"\r
+ "177d33ef.653acc",\r
+ "b808d106.b2a7e8",\r
+ "99bf3e88.29ecb8"\r
]\r
]\r
},\r
{\r
- "id": "c57ab47a.d333d8",\r
+ "id": "f8919e28.817698",\r
"type": "save",\r
"name": "get network-route-B from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2628,\r
- "y": 1548.9998779296875,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2607,\r
+ "y": 1545.9998779296875,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "506562cd.b8f74c",\r
- "8d73f82f.8988f8",\r
- "24728d1d.df92ba"\r
+ "e551771e.c49a78",\r
+ "c096bcbd.1a977",\r
+ "cd719142.8f5fd8"\r
]\r
]\r
},\r
{\r
- "id": "8c8a4891.ac867",\r
+ "id": "177d33ef.653acc",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2850,\r
- "y": 831,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2829,\r
+ "y": 828,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "40f9d3c1.86e1ec"\r
+ "60c8d868.cb0f38"\r
]\r
]\r
},\r
{\r
- "id": "8506ad3d.b7e4c",\r
+ "id": "b808d106.b2a7e8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2845.509033203125,\r
- "y": 880.426025390625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2824.509033203125,\r
+ "y": 877.426025390625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "6f975963.47cb7"\r
+ "8912eaa6.91a52"\r
]\r
]\r
},\r
{\r
- "id": "a3b6635c.c539f8",\r
+ "id": "99bf3e88.29ecb8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2849.509033203125,\r
- "y": 931.426025390625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2828.509033203125,\r
+ "y": 928.426025390625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "61bb235e.2775f4"\r
+ "f8cee9a2.f0a618"\r
]\r
]\r
},\r
{\r
- "id": "40f9d3c1.86e1ec",\r
+ "id": "60c8d868.cb0f38",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2998.571533203125,\r
- "y": 830.2857666015625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2977.571533203125,\r
+ "y": 827.2857666015625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "6f975963.47cb7",\r
+ "id": "8912eaa6.91a52",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2988.509033203125,\r
- "y": 880.426025390625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2967.509033203125,\r
+ "y": 877.426025390625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "506562cd.b8f74c",\r
+ "id": "e551771e.c49a78",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2851,\r
- "y": 1518.9998779296875,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2830,\r
+ "y": 1515.9998779296875,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "7f769faa.864248"\r
+ "ae022a7b.5f0fc"\r
]\r
]\r
},\r
{\r
- "id": "8d73f82f.8988f8",\r
+ "id": "c096bcbd.1a977",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2846.509033203125,\r
- "y": 1568.4259033203125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2825.509033203125,\r
+ "y": 1565.4259033203125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "cc9ee8f2.77fda8"\r
+ "2c76b27.1b72ace"\r
]\r
]\r
},\r
{\r
- "id": "24728d1d.df92ba",\r
+ "id": "cd719142.8f5fd8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2850.509033203125,\r
- "y": 1619.4259033203125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2829.509033203125,\r
+ "y": 1616.4259033203125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "8a29f509.d58fe8"\r
+ "e3f74bb4.409b5"\r
]\r
]\r
},\r
{\r
- "id": "7f769faa.864248",\r
+ "id": "ae022a7b.5f0fc",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2999.571533203125,\r
- "y": 1518.28564453125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2978.571533203125,\r
+ "y": 1515.28564453125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "cc9ee8f2.77fda8",\r
+ "id": "2c76b27.1b72ace",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2989.509033203125,\r
- "y": 1568.4259033203125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2968.509033203125,\r
+ "y": 1565.4259033203125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "b720785b.7c7",\r
+ "id": "194cc348.04e4bd",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3663.66650390625,\r
- "y": 975,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3642.66650390625,\r
+ "y": 972,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "f3775fbc.163688",\r
- "77e2870c.e28a38",\r
- "ac8bf04e.ff247",\r
- "7c2c78d5.f4945",\r
- "bb95643a.1dafd8"\r
+ "e0f54a30.b97458",\r
+ "6e8fe0e8.771d7",\r
+ "2d7aee5e.4b3492",\r
+ "d2697672.e5142",\r
+ "c6965465.aeb14"\r
]\r
]\r
},\r
{\r
- "id": "669f51ab.4dcf7",\r
+ "id": "c1db8d6e.967fa8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3491,\r
- "y": 976,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3470,\r
+ "y": 973,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "b720785b.7c7"\r
+ "194cc348.04e4bd"\r
]\r
]\r
},\r
{\r
- "id": "bfa60b88.954ac8",\r
+ "id": "ea169f9.1e78f6",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3500.490966796875,\r
- "y": 1018.5740356445312,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3479.490966796875,\r
+ "y": 1015.5740356445312,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "f78f70ff.0f2c38"\r
+ "9dbcf7c3.d03228"\r
]\r
]\r
},\r
{\r
- "id": "83a912b8.5c33b",\r
+ "id": "b37256ee.6a59a",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3489,\r
- "y": 1065,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3468,\r
+ "y": 1062,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "d7142401.9476c"\r
+ "78909f5b.c256b8"\r
]\r
]\r
},\r
{\r
- "id": "f78f70ff.0f2c38",\r
+ "id": "9dbcf7c3.d03228",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 3654.0623779296875,\r
- "y": 1021.8597717285156,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3633.0623779296875,\r
+ "y": 1018.8597717285156,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "d7142401.9476c",\r
+ "id": "78909f5b.c256b8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 3658,\r
- "y": 1066,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3637,\r
+ "y": 1063,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "61bb235e.2775f4",\r
+ "id": "f8cee9a2.f0a618",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3011,\r
- "y": 933,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2990,\r
+ "y": 930,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "4914fb6.031ad84",\r
- "4835023e.e8e8cc"\r
+ "bd63f21f.6d97a",\r
+ "bcdc8dc3.72d61"\r
]\r
]\r
},\r
{\r
- "id": "8a29f509.d58fe8",\r
+ "id": "e3f74bb4.409b5",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3001,\r
- "y": 1620.9998779296875,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2980,\r
+ "y": 1617.9998779296875,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "33a198b5.ec1ae",\r
- "684cf1ab.a79f48"\r
+ "d9529ce2.4ca64",\r
+ "68b3ff1a.0849f"\r
]\r
]\r
},\r
{\r
- "id": "d9ace0a0.b4a76",\r
+ "id": "1bc4a1b0.e8f4e6",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3631.66650390625,\r
- "y": 1811,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3610.66650390625,\r
+ "y": 1808,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "a2003991.03fd4",\r
- "52dfb8b2.652278",\r
- "22f952b9.882086",\r
- "eb4dde28.2b2138",\r
- "60f3b421.08732c"\r
+ "6b02eeb7.bc53e8",\r
+ "aa3dffa0.a80a58",\r
+ "ce63ac06.8bd44",\r
+ "c950727d.3e1368",\r
+ "83539382.7676b8"\r
]\r
]\r
},\r
{\r
- "id": "cc45c64e.73066",\r
+ "id": "206889a2.ad62d6",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3459,\r
- "y": 1812,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3438,\r
+ "y": 1809,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "d9ace0a0.b4a76"\r
+ "1bc4a1b0.e8f4e6"\r
]\r
]\r
},\r
{\r
- "id": "33759aa.996c566",\r
+ "id": "eceddf53.8343c8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3468.490966796875,\r
- "y": 1854.5740356445312,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3447.490966796875,\r
+ "y": 1851.5740356445312,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "28b2902a.f0c46"\r
+ "89316d2b.d76a7"\r
]\r
]\r
},\r
{\r
- "id": "fff61c46.59cf58",\r
+ "id": "9f6e2dae.f13bd8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3457,\r
- "y": 1901,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3436,\r
+ "y": 1898,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "c4e6ae73.bdead"\r
+ "ff7b6926.fc1f5"\r
]\r
]\r
},\r
{\r
- "id": "28b2902a.f0c46",\r
+ "id": "89316d2b.d76a7",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 3622.0623779296875,\r
- "y": 1857.8597717285156,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3601.0623779296875,\r
+ "y": 1854.8597717285156,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "c4e6ae73.bdead",\r
+ "id": "ff7b6926.fc1f5",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 3626,\r
- "y": 1902,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3605,\r
+ "y": 1899,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "f3775fbc.163688",\r
+ "id": "e0f54a30.b97458",\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.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3928,\r
- "y": 959,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3907,\r
+ "y": 956,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "17df8b10.734cad",\r
- "e9e72181.7c2d78"\r
+ "8a48ffc4.99708",\r
+ "9768c48e.e91b5"\r
]\r
]\r
},\r
{\r
- "id": "e9e72181.7c2d78",\r
+ "id": "9768c48e.e91b5",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4151,\r
- "y": 914,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4130,\r
+ "y": 911,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "c8b8d5f9.b22ca8"\r
+ "704965d2.1b9644"\r
]\r
]\r
},\r
{\r
- "id": "17df8b10.734cad",\r
+ "id": "8a48ffc4.99708",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4153,\r
- "y": 978,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4132,\r
+ "y": 975,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "59177303.95ce1c"\r
+ "5140e6b9.7a9158"\r
]\r
]\r
},\r
{\r
- "id": "e95ea736.29045",\r
+ "id": "b8a9d793.4e0ca",\r
"type": "set",\r
"name": "set ltpId",\r
"xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
"comments": "",\r
- "x": 4486,\r
- "y": 869,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4465,\r
+ "y": 866,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "59177303.95ce1c",\r
+ "id": "5140e6b9.7a9158",\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": 4315,\r
- "y": 974,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4294,\r
+ "y": 971,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "c8b8d5f9.b22ca8",\r
+ "id": "704965d2.1b9644",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4316,\r
- "y": 911,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4295,\r
+ "y": 908,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "f09148e0.5a878",\r
- "e95ea736.29045"\r
+ "c30e1911.559b98",\r
+ "b8a9d793.4e0ca"\r
]\r
]\r
},\r
{\r
- "id": "f09148e0.5a878",\r
+ "id": "c30e1911.559b98",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
"comments": "",\r
- "x": 4487,\r
- "y": 977,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4466,\r
+ "y": 974,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "2c408fec.1a81a",\r
+ "id": "6b71df66.ebc0e",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
"comments": "",\r
- "x": 4488,\r
- "y": 926,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4467,\r
+ "y": 923,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "ac8bf04e.ff247",\r
+ "id": "2d7aee5e.4b3492",\r
"type": "save",\r
"name": "save connectivity resource in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3930,\r
- "y": 1118,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3909,\r
+ "y": 1115,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "77e2870c.e28a38",\r
+ "id": "6e8fe0e8.771d7",\r
"type": "execute",\r
"name": "execute UUID generator for connectivity domainA",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3975,\r
- "y": 1028,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3954,\r
+ "y": 1025,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "936488c4.d6b8e",\r
+ "id": "703a6ba5.55da1c",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
"comments": "",\r
- "x": 3864,\r
- "y": 1069,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3843,\r
+ "y": 1066,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "a2003991.03fd4",\r
+ "id": "6b02eeb7.bc53e8",\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.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3918,\r
- "y": 1815.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3897,\r
+ "y": 1812.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "f2d8cb03.1eed48",\r
- "6e32cf18.31944"\r
+ "866b6a8.23d5e98",\r
+ "cb5f1ada.6b67f"\r
]\r
]\r
},\r
{\r
- "id": "6e32cf18.31944",\r
+ "id": "cb5f1ada.6b67f",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4141,\r
- "y": 1770.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4120,\r
+ "y": 1767.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "201ffc86.8db20c"\r
+ "e1a14a86.388a08"\r
]\r
]\r
},\r
{\r
- "id": "f2d8cb03.1eed48",\r
+ "id": "866b6a8.23d5e98",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4143,\r
- "y": 1834.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4122,\r
+ "y": 1831.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "b29b2d4c.c3046"\r
+ "e3367ed2.f52b78"\r
]\r
]\r
},\r
{\r
- "id": "2386e717.060b18",\r
+ "id": "c05c0482.6a0aa8",\r
"type": "set",\r
"name": "set ltpId",\r
"xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
"comments": "",\r
- "x": 4476,\r
- "y": 1728.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4455,\r
+ "y": 1725.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "b29b2d4c.c3046",\r
+ "id": "e3367ed2.f52b78",\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": 4302,\r
- "y": 1853.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4281,\r
+ "y": 1850.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "201ffc86.8db20c",\r
+ "id": "e1a14a86.388a08",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4306,\r
- "y": 1767.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4285,\r
+ "y": 1764.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "2386e717.060b18",\r
- "c71df80d.cfbb08"\r
+ "c05c0482.6a0aa8",\r
+ "6625860d.59cf58"\r
]\r
]\r
},\r
{\r
- "id": "c71df80d.cfbb08",\r
+ "id": "6625860d.59cf58",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
"comments": "",\r
- "x": 4477,\r
- "y": 1833.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4456,\r
+ "y": 1830.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "e385afea.eec45",\r
+ "id": "3d78f64a.35443a",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
"comments": "",\r
- "x": 4472,\r
- "y": 1782.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4451,\r
+ "y": 1779.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "22f952b9.882086",\r
+ "id": "ce63ac06.8bd44",\r
"type": "save",\r
"name": "save connectivity resource in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3920,\r
- "y": 1974.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3899,\r
+ "y": 1971.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "52dfb8b2.652278",\r
+ "id": "aa3dffa0.a80a58",\r
"type": "execute",\r
"name": "execute UUID generator for connectivity domainB",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3965,\r
- "y": 1884.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3944,\r
+ "y": 1881.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "4961c905.9d4bb",\r
+ "id": "de57e045.5d324",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
"comments": "",\r
- "x": 3854,\r
- "y": 1922.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3833,\r
+ "y": 1919.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "10cbf4f3.49fe3b",\r
+ "id": "63c0978f.6d4218",\r
"type": "call",\r
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2846,\r
- "y": 2389,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2825,\r
+ "y": 2386,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "49d3005f.62282",\r
+ "id": "256b3f1a.6b05f8",\r
"type": "set",\r
"name": "set attachment_param",\r
"xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n\n<!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\n",\r
"comments": "",\r
- "x": 2644,\r
- "y": 2268,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2623,\r
+ "y": 2265,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "9f05df83.0d8378",\r
+ "id": "8870d8f4.24b26",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",\r
"comments": "",\r
- "x": 2610,\r
- "y": 2202,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2589,\r
+ "y": 2199,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "7c2c78d5.f4945",\r
+ "id": "d2697672.e5142",\r
"type": "save",\r
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4058,\r
- "y": 1166,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4037,\r
+ "y": 1163,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "eb4dde28.2b2138",\r
+ "id": "c950727d.3e1368",\r
"type": "save",\r
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4047,\r
- "y": 2039.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4026,\r
+ "y": 2036.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2d08c6.2cc1e73a",\r
+ "id": "2cb22463.a9a10c",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5102,\r
- "y": 686,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5081,\r
+ "y": 683,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "fe7f5526.b757d",\r
- "ace94fc7.113e6",\r
- "42739782.dc6168"\r
+ "4afa0297.0e92ec",\r
+ "f0a2c2cf.76f7c",\r
+ "78f72703.090dd8"\r
]\r
]\r
},\r
{\r
- "id": "1dfc0585.305702",\r
+ "id": "8e0be879.699538",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2655,\r
- "y": 342,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2634,\r
+ "y": 339,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "8622621b.5191"\r
+ "c6b29f32.96c43"\r
]\r
]\r
},\r
{\r
- "id": "7de95d04.4c5e84",\r
+ "id": "926dbaa7.515a7",\r
"type": "outcome",\r
"name": "logical-link",\r
"xml": "<outcome value='logical-link'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1585.0001220703125,\r
- "y": 759.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1564.0001220703125,\r
+ "y": 756.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "38efe599.5c2462"\r
+ "aa0dd611.39e8d8"\r
]\r
]\r
},\r
{\r
- "id": "a0ff94f7.a05cd8",\r
+ "id": "3fd9bf5c.04e708",\r
"type": "switchNode",\r
"name": "switch allotted-resource.relationship-list not empty",\r
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2323,\r
- "y": 465,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2302,\r
+ "y": 462,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "8055d128.93cf8",\r
- "a4e55956.340f1"\r
+ "2b043a11.143596",\r
+ "d91f0f1e.b29778"\r
]\r
]\r
},\r
{\r
- "id": "a4e55956.340f1",\r
+ "id": "d91f0f1e.b29778",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2633,\r
- "y": 472,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2612,\r
+ "y": 469,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "8055d128.93cf8",\r
+ "id": "2b043a11.143596",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2632,\r
- "y": 526,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2611,\r
+ "y": 523,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "33bd7ebe.34c502"\r
+ "53404fc0.a38be"\r
]\r
]\r
},\r
{\r
- "id": "2ecd1033.1e79d8",\r
+ "id": "dd4dd108.7ed66",\r
"type": "set",\r
"name": "set the current logical-link-name",\r
"xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
"comments": "",\r
- "x": 2005,\r
- "y": 709,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1984,\r
+ "y": 706,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "38efe599.5c2462",\r
+ "id": "aa0dd611.39e8d8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1762,\r
- "y": 752,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1741,\r
+ "y": 749,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "2ecd1033.1e79d8",\r
- "e459bf6d.9da9d8"\r
+ "dd4dd108.7ed66",\r
+ "358e179e.99b9f"\r
]\r
]\r
},\r
{\r
- "id": "f61b9c.2378ec68",\r
+ "id": "50481ed8.b97c38",\r
"type": "comment",\r
"name": "Question?",\r
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
"comments": "",\r
- "x": 3191,\r
- "y": 938,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3170,\r
+ "y": 935,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "4914fb6.031ad84",\r
+ "id": "bd63f21f.6d97a",\r
"type": "save",\r
"name": "get p-interface-src from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3234,\r
- "y": 1003,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3213,\r
+ "y": 1000,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "669f51ab.4dcf7",\r
- "bfa60b88.954ac8",\r
- "83a912b8.5c33b"\r
+ "c1db8d6e.967fa8",\r
+ "ea169f9.1e78f6",\r
+ "b37256ee.6a59a"\r
]\r
]\r
},\r
{\r
- "id": "33a198b5.ec1ae",\r
+ "id": "d9529ce2.4ca64",\r
"type": "save",\r
"name": "get p-interface-dst from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3231,\r
- "y": 1847,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3210,\r
+ "y": 1844,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "cc45c64e.73066",\r
- "33759aa.996c566",\r
- "fff61c46.59cf58"\r
+ "206889a2.ad62d6",\r
+ "eceddf53.8343c8",\r
+ "9f6e2dae.f13bd8"\r
]\r
]\r
},\r
{\r
- "id": "13eb2671.9e12f2",\r
+ "id": "2cacaea3.bdcdca",\r
"type": "comment",\r
"name": "Question?",\r
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
"comments": "",\r
- "x": 3192,\r
- "y": 1791,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3171,\r
+ "y": 1788,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "8622621b.5191",\r
+ "id": "c6b29f32.96c43",\r
"type": "save",\r
"name": "get allotted-resource relationship from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2948,\r
- "y": 289,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2927,\r
+ "y": 286,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "774c27b3.d5b958",\r
- "314f18ee.d0e28",\r
- "177a6858.e45f48"\r
+ "9de6915b.b19d38",\r
+ "e8ebc1b6.d4d34",\r
+ "e6a28fa6.880708"\r
]\r
]\r
},\r
{\r
- "id": "314f18ee.d0e28",\r
+ "id": "e8ebc1b6.d4d34",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3221.490966796875,\r
- "y": 181.573974609375,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3200.490966796875,\r
+ "y": 178.573974609375,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "bf0d979c.0d6a2"\r
+ "b49d6ada.3dcaf8"\r
]\r
]\r
},\r
{\r
- "id": "bf0d979c.0d6a2",\r
+ "id": "b49d6ada.3dcaf8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 3399.0625,\r
- "y": 181.8597412109375,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3378.0625,\r
+ "y": 178.8597412109375,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "177a6858.e45f48",\r
+ "id": "e6a28fa6.880708",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3217,\r
- "y": 231,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3196,\r
+ "y": 228,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "69e0c103.73f7e"\r
+ "d8c17b5e.5b6d48"\r
]\r
]\r
},\r
{\r
- "id": "69e0c103.73f7e",\r
+ "id": "d8c17b5e.5b6d48",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 3399,\r
- "y": 231,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3378,\r
+ "y": 228,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "774c27b3.d5b958",\r
+ "id": "9de6915b.b19d38",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3221,\r
- "y": 282,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3200,\r
+ "y": 279,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "8d4f11e6.7da04"\r
+ "54518182.0b0878"\r
]\r
]\r
},\r
{\r
- "id": "8d4f11e6.7da04",\r
+ "id": "54518182.0b0878",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3401,\r
- "y": 282,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3380,\r
+ "y": 279,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "a0ff94f7.a05cd8"\r
+ "3fd9bf5c.04e708"\r
]\r
]\r
},\r
{\r
- "id": "fe8ff063.6863b8",\r
+ "id": "62e6aba8.2c101c",\r
"type": "for",\r
"name": "for each allotted-resource relationship",\r
"xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2892,\r
- "y": 506,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2871,\r
+ "y": 503,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "7f3884a8.055b2c"\r
+ "ce3eb436.d43a6"\r
]\r
]\r
},\r
{\r
- "id": "7f3884a8.055b2c",\r
+ "id": "ce3eb436.d43a6",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3172,\r
- "y": 506,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3151,\r
+ "y": 503,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "7de95d04.4c5e84"\r
+ "926dbaa7.515a7"\r
]\r
]\r
},\r
{\r
- "id": "5050eb58.e00ed4",\r
+ "id": "7737916f.9448f",\r
"type": "outcome",\r
"name": "network-policy",\r
"xml": "<outcome value='network-policy'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3377,\r
- "y": 480,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3356,\r
+ "y": 477,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "9ce29b77.ad6fe8"\r
+ "9c3216ab.adc2a8"\r
]\r
]\r
},\r
{\r
- "id": "9ce29b77.ad6fe8",\r
+ "id": "9c3216ab.adc2a8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3553.9998779296875,\r
- "y": 472.9998779296875,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3532.9998779296875,\r
+ "y": 469.9998779296875,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "e7ee0b09.87c5d8",\r
- "7fe89152.e612e8"\r
+ "6ca4307d.28f77",\r
+ "15dd1089.866707"\r
]\r
]\r
},\r
{\r
- "id": "e7ee0b09.87c5d8",\r
+ "id": "6ca4307d.28f77",\r
"type": "set",\r
"name": "set the 1st network-policy-id",\r
"xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
"comments": "",\r
- "x": 3796.9998779296875,\r
- "y": 429.9998779296875,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3775.9998779296875,\r
+ "y": 426.9998779296875,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "7fe89152.e612e8",\r
+ "id": "15dd1089.866707",\r
"type": "save",\r
"name": "get network-policy from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3785.9998779296875,\r
- "y": 484.9998779296875,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3764.9998779296875,\r
+ "y": 481.9998779296875,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "64fb2208.a0a974",\r
- "c3b9f4d3.aab1b8",\r
- "f6aa84f.18621f8"\r
+ "af36166d.ada238",\r
+ "d07a4cd5.ac3678",\r
+ "65922e69.a77b18"\r
]\r
]\r
},\r
{\r
- "id": "f6aa84f.18621f8",\r
+ "id": "65922e69.a77b18",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4039,\r
- "y": 371,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4018,\r
+ "y": 368,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "c20366f5.78311"\r
+ "1424d407.3a5b34"\r
]\r
]\r
},\r
{\r
- "id": "c20366f5.78311",\r
+ "id": "1424d407.3a5b34",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 4187.571533203125,\r
- "y": 371.2857666015625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4166.571533203125,\r
+ "y": 368.2857666015625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "a9aadb9.f22de28",\r
+ "id": "e640c3b9.1f16d",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 4186.509033203125,\r
- "y": 415.426025390625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4165.509033203125,\r
+ "y": 412.426025390625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "c3b9f4d3.aab1b8",\r
+ "id": "d07a4cd5.ac3678",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4027.509033203125,\r
- "y": 415.426025390625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4006.509033203125,\r
+ "y": 412.426025390625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "a9aadb9.f22de28"\r
+ "e640c3b9.1f16d"\r
]\r
]\r
},\r
{\r
- "id": "64fb2208.a0a974",\r
+ "id": "af36166d.ada238",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4034.509033203125,\r
- "y": 494.426025390625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4013.509033203125,\r
+ "y": 491.426025390625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "7a83723d.cc96f4"\r
+ "3b605de0.ec3a52"\r
]\r
]\r
},\r
{\r
- "id": "7a83723d.cc96f4",\r
+ "id": "3b605de0.ec3a52",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4173.509033203125,\r
- "y": 494.426025390625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4152.509033203125,\r
+ "y": 491.426025390625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "1f8d33e3.a771dc",\r
- "420f3616.2f701"\r
+ "e719047d.96b1f",\r
+ "36ea936c.0d2d9c"\r
]\r
]\r
},\r
{\r
- "id": "1f8d33e3.a771dc",\r
+ "id": "e719047d.96b1f",\r
"type": "set",\r
"name": "set the max bandwidth",\r
"xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
"comments": "",\r
- "x": 4379,\r
- "y": 492,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4358,\r
+ "y": 489,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "4835023e.e8e8cc",\r
+ "id": "bcdc8dc3.72d61",\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.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3235,\r
- "y": 673,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3214,\r
+ "y": 670,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "eafc912d.cb0fe",\r
- "14b2df73.02d4e1"\r
+ "88359d7a.204d2",\r
+ "184f5811.e1748"\r
]\r
]\r
},\r
{\r
- "id": "14b2df73.02d4e1",\r
+ "id": "184f5811.e1748",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3458,\r
- "y": 659,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3437,\r
+ "y": 656,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "bb352d17.34137"\r
+ "65b8cca9.2ac444"\r
]\r
]\r
},\r
{\r
- "id": "eafc912d.cb0fe",\r
+ "id": "88359d7a.204d2",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3460,\r
- "y": 692,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3439,\r
+ "y": 689,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "4040c9e2.8e3008"\r
+ "776eb0a5.2fd87"\r
]\r
]\r
},\r
{\r
- "id": "4040c9e2.8e3008",\r
+ "id": "776eb0a5.2fd87",\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": 3603,\r
- "y": 689,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3582,\r
+ "y": 686,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "bb352d17.34137",\r
+ "id": "65b8cca9.2ac444",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3606,\r
- "y": 652,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3585,\r
+ "y": 649,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "8f0d5ee9.6635d",\r
- "300f312a.b253d6"\r
+ "2397aa3a.45e876",\r
+ "c5b3bcfd.d10508"\r
]\r
]\r
},\r
{\r
- "id": "8f0d5ee9.6635d",\r
+ "id": "2397aa3a.45e876",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' 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 $param-prefix-domainA-pnfName[6] + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />\n",\r
"comments": "",\r
- "x": 3768,\r
- "y": 647,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3747,\r
+ "y": 644,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "684cf1ab.a79f48",\r
+ "id": "68b3ff1a.0849f",\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.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3249,\r
- "y": 1509.9998779296875,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3228,\r
+ "y": 1506.9998779296875,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "10ff0da4.16d4ea",\r
- "55c5195b.3875c8"\r
+ "6fc92ae0.49bd04",\r
+ "59f072e2.0b71ec"\r
]\r
]\r
},\r
{\r
- "id": "55c5195b.3875c8",\r
+ "id": "59f072e2.0b71ec",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3472,\r
- "y": 1495.9998779296875,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3451,\r
+ "y": 1492.9998779296875,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "7202d26b.6dffec"\r
+ "a6cfeb0c.ecbd1"\r
]\r
]\r
},\r
{\r
- "id": "10ff0da4.16d4ea",\r
+ "id": "6fc92ae0.49bd04",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3474,\r
- "y": 1528.9998779296875,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3453,\r
+ "y": 1525.9998779296875,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "30474e74.e5639a"\r
+ "862c14a1.8553d8"\r
]\r
]\r
},\r
{\r
- "id": "30474e74.e5639a",\r
+ "id": "862c14a1.8553d8",\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": 3617,\r
- "y": 1525.9998779296875,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3596,\r
+ "y": 1522.9998779296875,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "7202d26b.6dffec",\r
+ "id": "a6cfeb0c.ecbd1",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3620,\r
- "y": 1488.9998779296875,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3599,\r
+ "y": 1485.9998779296875,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "885f2609.7cba58",\r
- "e1d06713.adb0c8"\r
+ "9265a5e9.075d5",\r
+ "3387bb2a.b4fa7c"\r
]\r
]\r
},\r
{\r
- "id": "885f2609.7cba58",\r
+ "id": "9265a5e9.075d5",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' 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 $param-prefix-domainB-pnfName[6] + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />\n",\r
"comments": "",\r
- "x": 3814,\r
- "y": 1492,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3793,\r
+ "y": 1489,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "d352d101.d008a8",\r
+ "id": "4430b278.87d9ac",\r
"type": "execute",\r
"name": "execute properties",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1078,\r
- "y": 197,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1057,\r
+ "y": 194,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "bb95643a.1dafd8",\r
+ "id": "c6965465.aeb14",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3882,\r
- "y": 1243,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3861,\r
+ "y": 1240,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "232e8f32.739b48"\r
+ "d7da00cb.9e6198"\r
]\r
]\r
},\r
{\r
- "id": "232e8f32.739b48",\r
+ "id": "d7da00cb.9e6198",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4088,\r
- "y": 1243,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4067,\r
+ "y": 1240,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "8bbe738e.7fafb"\r
+ "3e41f9e9.7f65b6"\r
]\r
]\r
},\r
{\r
- "id": "8bbe738e.7fafb",\r
+ "id": "3e41f9e9.7f65b6",\r
"type": "outcome",\r
"name": "tunnel-termination-point",\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4303.28564453125,\r
- "y": 1242.82177734375,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4282.28564453125,\r
+ "y": 1239.82177734375,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "c3ad3464.e3237"\r
+ "8a860c24.fed68"\r
]\r
]\r
},\r
{\r
- "id": "c3ad3464.e3237",\r
+ "id": "8a860c24.fed68",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4510.1171875,\r
- "y": 1243.34033203125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4489.1171875,\r
+ "y": 1240.34033203125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "f0158859.e44c4",\r
- "1be7b379.0a0a35",\r
- "bee0e07a.660808"\r
+ "377e7af0.ac592e",\r
+ "9af75c5e.34aa1",\r
+ "ad2bdd99.5817d"\r
]\r
]\r
},\r
{\r
- "id": "f0158859.e44c4",\r
+ "id": "377e7af0.ac592e",\r
"type": "set",\r
"name": "set source ttp-id",\r
"xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 4725.1171875,\r
- "y": 1205.34033203125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4704.1171875,\r
+ "y": 1202.34033203125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "1be7b379.0a0a35",\r
+ "id": "9af75c5e.34aa1",\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.source.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4722.1171875,\r
- "y": 1244.34033203125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4701.1171875,\r
+ "y": 1241.34033203125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "5d7ec3ca.e9fe2c"\r
+ "817cb438.99e4a8"\r
]\r
]\r
},\r
{\r
- "id": "bee0e07a.660808",\r
+ "id": "ad2bdd99.5817d",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4677.6171875,\r
- "y": 1286.34033203125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4656.6171875,\r
+ "y": 1283.34033203125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "5d7ec3ca.e9fe2c",\r
+ "id": "817cb438.99e4a8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4902.6171875,\r
- "y": 1243.34033203125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4881.6171875,\r
+ "y": 1240.34033203125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "5c631dd4.8f5fbc"\r
+ "4eac437.160bcbc"\r
]\r
]\r
},\r
{\r
- "id": "5c631dd4.8f5fbc",\r
+ "id": "4eac437.160bcbc",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 5060.6171875,\r
- "y": 1243.34033203125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5039.6171875,\r
+ "y": 1240.34033203125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "d5d5e908.7a8eb8"\r
+ "602a09ac.ab98b8"\r
]\r
]\r
},\r
{\r
- "id": "d5d5e908.7a8eb8",\r
+ "id": "602a09ac.ab98b8",\r
"type": "set",\r
"name": "set source tunnel tp ip",\r
"xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
"comments": "",\r
- "x": 5267.6171875,\r
- "y": 1243.34033203125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5246.6171875,\r
+ "y": 1240.34033203125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "60f3b421.08732c",\r
+ "id": "83539382.7676b8",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3879,\r
- "y": 2112.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3858,\r
+ "y": 2109.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "715a89d.cfea178"\r
+ "5579dfc7.be27d"\r
]\r
]\r
},\r
{\r
- "id": "715a89d.cfea178",\r
+ "id": "5579dfc7.be27d",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4085,\r
- "y": 2112.0001220703125,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4064,\r
+ "y": 2109.0001220703125,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "977e3712.429b18"\r
+ "901fbdc2.3ee4d"\r
]\r
]\r
},\r
{\r
- "id": "977e3712.429b18",\r
+ "id": "901fbdc2.3ee4d",\r
"type": "outcome",\r
"name": "tunnel-termination-point",\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4300.28564453125,\r
- "y": 2111.8218994140625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4279.28564453125,\r
+ "y": 2108.8218994140625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "2113d9ff.cdd31e"\r
+ "2e4b86b2.9caae2"\r
]\r
]\r
},\r
{\r
- "id": "2113d9ff.cdd31e",\r
+ "id": "2e4b86b2.9caae2",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4507.1171875,\r
- "y": 2112.3404541015625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4486.1171875,\r
+ "y": 2109.3404541015625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "3c92c59b.613ca2",\r
- "193b4238.409d8e",\r
- "b71c718.f135e1"\r
+ "bc60382f.b0361",\r
+ "b3a5cd52.d83f2",\r
+ "ee9aa3b3.89ca4"\r
]\r
]\r
},\r
{\r
- "id": "3c92c59b.613ca2",\r
+ "id": "bc60382f.b0361",\r
"type": "set",\r
"name": "set destination ttp-id",\r
"xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 4722.1171875,\r
- "y": 2074.3404541015625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4701.1171875,\r
+ "y": 2071.3404541015625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "193b4238.409d8e",\r
+ "id": "b3a5cd52.d83f2",\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.destination.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4719.1171875,\r
- "y": 2113.3404541015625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4698.1171875,\r
+ "y": 2110.3404541015625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "df85928.81de67"\r
+ "93e41626.124d78"\r
]\r
]\r
},\r
{\r
- "id": "b71c718.f135e1",\r
+ "id": "ee9aa3b3.89ca4",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4674.6171875,\r
- "y": 2155.3404541015625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4653.6171875,\r
+ "y": 2152.3404541015625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "df85928.81de67",\r
+ "id": "93e41626.124d78",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4899.6171875,\r
- "y": 2112.3404541015625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4878.6171875,\r
+ "y": 2109.3404541015625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "8b1f9fde.337d98"\r
+ "6ea99290.2aa4d4"\r
]\r
]\r
},\r
{\r
- "id": "8b1f9fde.337d98",\r
+ "id": "6ea99290.2aa4d4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 5057.6171875,\r
- "y": 2112.3404541015625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5036.6171875,\r
+ "y": 2109.3404541015625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "20d9b129.b72206"\r
+ "a95428e7.14cad"\r
]\r
]\r
},\r
{\r
- "id": "20d9b129.b72206",\r
+ "id": "a95428e7.14cad",\r
"type": "set",\r
"name": "set destination tunnel tp ip",\r
"xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
"comments": "",\r
- "x": 5264.6171875,\r
- "y": 2112.3404541015625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5243.6171875,\r
+ "y": 2109.3404541015625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "300f312a.b253d6",\r
+ "id": "c5b3bcfd.d10508",\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.domainA.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3795,\r
- "y": 719,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3774,\r
+ "y": 716,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "1c354309.a76ffd",\r
- "950deba8.cc3e4",\r
- "c2c16051.a906d8"\r
+ "8e60f4cf.82fba",\r
+ "2cad2896.c9df4",\r
+ "335dceb2.9bab72"\r
]\r
]\r
},\r
{\r
- "id": "1c354309.a76ffd",\r
+ "id": "8e60f4cf.82fba",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3990.5001220703125,\r
- "y": 671,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3969.5001220703125,\r
+ "y": 668,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "d41af0c3.594838"\r
+ "7a06334d.9731e4"\r
]\r
]\r
},\r
{\r
- "id": "950deba8.cc3e4",\r
+ "id": "2cad2896.c9df4",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3982.5001220703125,\r
- "y": 726,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3961.5001220703125,\r
+ "y": 723,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "3d15fff1.053cf"\r
+ "17051d0f.c52e53"\r
]\r
]\r
},\r
{\r
- "id": "c2c16051.a906d8",\r
+ "id": "335dceb2.9bab72",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3987.5001220703125,\r
- "y": 783,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3966.5001220703125,\r
+ "y": 780,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "d7ef8f23.d036"\r
+ "328eeb2e.ff715c"\r
]\r
]\r
},\r
{\r
- "id": "d7ef8f23.d036",\r
+ "id": "328eeb2e.ff715c",\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": 4139.5001220703125,\r
- "y": 784,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4118.5001220703125,\r
+ "y": 781,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "3d15fff1.053cf",\r
+ "id": "17051d0f.c52e53",\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": 4150.5001220703125,\r
- "y": 729,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4129.5001220703125,\r
+ "y": 726,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "d41af0c3.594838",\r
+ "id": "7a06334d.9731e4",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4134.8824462890625,\r
- "y": 668.6556701660156,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4113.8824462890625,\r
+ "y": 665.6556701660156,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "b45d0128.680c8"\r
+ "89e57d02.e9996"\r
]\r
]\r
},\r
{\r
- "id": "7cb8afd4.8d20b8",\r
+ "id": "c9d4f321.66364",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4717,\r
- "y": 687,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4696,\r
+ "y": 684,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "47edc84c.808f88"\r
+ "f8e16adc.55ac68"\r
]\r
]\r
},\r
{\r
- "id": "47edc84c.808f88",\r
+ "id": "f8e16adc.55ac68",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4894,\r
- "y": 679,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4873,\r
+ "y": 676,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "266ac25a.ea33a6",\r
- "2d08c6.2cc1e73a"\r
+ "f8c4bbbd.612dc",\r
+ "2cb22463.a9a10c"\r
]\r
]\r
},\r
{\r
- "id": "b45d0128.680c8",\r
+ "id": "89e57d02.e9996",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4319,\r
- "y": 683,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4298,\r
+ "y": 680,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "4f9ef890.59c338"\r
+ "ffc907a3.634c3"\r
]\r
]\r
},\r
{\r
- "id": "4f9ef890.59c338",\r
+ "id": "ffc907a3.634c3",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4514,\r
- "y": 683,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4493,\r
+ "y": 680,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "7cb8afd4.8d20b8",\r
- "212f425.c6d5fbe"\r
+ "c9d4f321.66364",\r
+ "d8e84e3d.259878"\r
]\r
]\r
},\r
{\r
- "id": "266ac25a.ea33a6",\r
+ "id": "f8c4bbbd.612dc",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domainA id",\r
"xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 5132,\r
- "y": 634,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5111,\r
+ "y": 631,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "fe7f5526.b757d",\r
+ "id": "4afa0297.0e92ec",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5312,\r
- "y": 677,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5291,\r
+ "y": 674,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "c4631195.e5511"\r
+ "ba53a591.c08868"\r
]\r
]\r
},\r
{\r
- "id": "ace94fc7.113e6",\r
+ "id": "f0a2c2cf.76f7c",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5304,\r
- "y": 732,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5283,\r
+ "y": 729,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "af8bf071.82c85"\r
+ "3a442fd2.17b8b8"\r
]\r
]\r
},\r
{\r
- "id": "42739782.dc6168",\r
+ "id": "78f72703.090dd8",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5309,\r
- "y": 789,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5288,\r
+ "y": 786,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "b1e33e76.6db9b"\r
+ "3131a765.52f598"\r
]\r
]\r
},\r
{\r
- "id": "b1e33e76.6db9b",\r
+ "id": "3131a765.52f598",\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": 5461,\r
- "y": 790,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5440,\r
+ "y": 787,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "af8bf071.82c85",\r
+ "id": "3a442fd2.17b8b8",\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": 5472,\r
- "y": 735,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5451,\r
+ "y": 732,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "c4631195.e5511",\r
+ "id": "ba53a591.c08868",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5456.38232421875,\r
- "y": 674.6556701660156,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5435.38232421875,\r
+ "y": 671.6556701660156,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "4dcc9c46.887914"\r
+ "280c0a87.0e105e"\r
]\r
]\r
},\r
{\r
- "id": "4dcc9c46.887914",\r
+ "id": "280c0a87.0e105e",\r
"type": "set",\r
"name": "set controller domainA data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
"comments": "",\r
- "x": 5671,\r
- "y": 671,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5650,\r
+ "y": 668,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "e1d06713.adb0c8",\r
+ "id": "3387bb2a.b4fa7c",\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.dst.domainB.pnf-name\"\n pfx='tmp.aai.destination-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3836,\r
- "y": 1560,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3815,\r
+ "y": 1557,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "34f7d7e6.e7fa8",\r
- "cb710953.72942",\r
- "4c788e8d.e93588"\r
+ "4d61cd16.0abdfc",\r
+ "83252466.aa101",\r
+ "a13a024e.f66fb"\r
]\r
]\r
},\r
{\r
- "id": "34f7d7e6.e7fa8",\r
+ "id": "4d61cd16.0abdfc",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4031.5001220703125,\r
- "y": 1512,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4010.5001220703125,\r
+ "y": 1509,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "fd0d1ee5.65b0f"\r
+ "45754d39.0b500c"\r
]\r
]\r
},\r
{\r
- "id": "cb710953.72942",\r
+ "id": "83252466.aa101",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4023.5001220703125,\r
- "y": 1567,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4002.5001220703125,\r
+ "y": 1564,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "68639fde.fb4de8"\r
+ "7042d1e3.edb1d"\r
]\r
]\r
},\r
{\r
- "id": "4c788e8d.e93588",\r
+ "id": "a13a024e.f66fb",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4028.5001220703125,\r
- "y": 1624,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4007.5001220703125,\r
+ "y": 1621,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "ed57c904.1da5b"\r
+ "67ddb18b.39ea7"\r
]\r
]\r
},\r
{\r
- "id": "ed57c904.1da5b",\r
+ "id": "67ddb18b.39ea7",\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": 4180.5001220703125,\r
- "y": 1625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4159.5001220703125,\r
+ "y": 1622,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "68639fde.fb4de8",\r
+ "id": "7042d1e3.edb1d",\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": 4191.5001220703125,\r
- "y": 1570,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4170.5001220703125,\r
+ "y": 1567,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "fd0d1ee5.65b0f",\r
+ "id": "45754d39.0b500c",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4175.8824462890625,\r
- "y": 1509.6556701660156,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4154.8824462890625,\r
+ "y": 1506.6556701660156,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "2c890085.25e4f8"\r
+ "f1a969ab.50fa7"\r
]\r
]\r
},\r
{\r
- "id": "b16b2c11.a7e9e",\r
+ "id": "e2a984cd.aa357",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4758,\r
- "y": 1528,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4737,\r
+ "y": 1525,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "e2c7b2a2.534808"\r
+ "3a9f2f8b.e28ed"\r
]\r
]\r
},\r
{\r
- "id": "e2c7b2a2.534808",\r
+ "id": "3a9f2f8b.e28ed",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4935,\r
- "y": 1520,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4914,\r
+ "y": 1517,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "8256d13e.acb508",\r
- "e33af2d.2ed629"\r
+ "53b7b7ea.79ccb8",\r
+ "abc0256.22d4b58"\r
]\r
]\r
},\r
{\r
- "id": "2c890085.25e4f8",\r
+ "id": "f1a969ab.50fa7",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4360,\r
- "y": 1524,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4339,\r
+ "y": 1521,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "7ad873b6.5b0624"\r
+ "f0d37653.530e5"\r
]\r
]\r
},\r
{\r
- "id": "7ad873b6.5b0624",\r
+ "id": "f0d37653.530e5",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4555,\r
- "y": 1524,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4534,\r
+ "y": 1521,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "b16b2c11.a7e9e",\r
- "ba30acec.499f9"\r
+ "e2a984cd.aa357",\r
+ "19b04051.d11648"\r
]\r
]\r
},\r
{\r
- "id": "e33af2d.2ed629",\r
+ "id": "abc0256.22d4b58",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5143,\r
- "y": 1527,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5122,\r
+ "y": 1524,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "dd2f9c6b.57f548",\r
- "3b879379.c9bf84",\r
- "13b1398c.3c465e"\r
+ "ee461c39.fc6a98",\r
+ "85f503dc.f3ae58",\r
+ "2cdb4338.f53074"\r
]\r
]\r
},\r
{\r
- "id": "8256d13e.acb508",\r
+ "id": "53b7b7ea.79ccb8",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domainB id",\r
"xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 5173,\r
- "y": 1475,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5152,\r
+ "y": 1472,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "dd2f9c6b.57f548",\r
+ "id": "ee461c39.fc6a98",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5353,\r
- "y": 1518,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5332,\r
+ "y": 1515,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "56d2c260.edc91c"\r
+ "bc865963.b711a"\r
]\r
]\r
},\r
{\r
- "id": "3b879379.c9bf84",\r
+ "id": "85f503dc.f3ae58",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5345,\r
- "y": 1573,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5324,\r
+ "y": 1570,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "7449bea.eaa7fc"\r
+ "f79338ab.92167"\r
]\r
]\r
},\r
{\r
- "id": "13b1398c.3c465e",\r
+ "id": "2cdb4338.f53074",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5350,\r
- "y": 1630,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5329,\r
+ "y": 1627,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "232c7315.841b1c"\r
+ "bfc5b714.cbe288"\r
]\r
]\r
},\r
{\r
- "id": "232c7315.841b1c",\r
+ "id": "bfc5b714.cbe288",\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": 5502,\r
- "y": 1631,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5481,\r
+ "y": 1628,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "7449bea.eaa7fc",\r
+ "id": "f79338ab.92167",\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": 5513,\r
- "y": 1576,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5492,\r
+ "y": 1573,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "56d2c260.edc91c",\r
+ "id": "bc865963.b711a",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5497.38232421875,\r
- "y": 1515.6556701660156,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5476.38232421875,\r
+ "y": 1512.6556701660156,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "49d0cb53.31a39c"\r
+ "6cd4d323.819c7c"\r
]\r
]\r
},\r
{\r
- "id": "49d0cb53.31a39c",\r
+ "id": "6cd4d323.819c7c",\r
"type": "set",\r
"name": "set controller domainB data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
"comments": "",\r
- "x": 5712,\r
- "y": 1512,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5691,\r
+ "y": 1509,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "33bd7ebe.34c502",\r
+ "id": "53404fc0.a38be",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2796,\r
- "y": 452,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2775,\r
+ "y": 449,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "fe8ff063.6863b8",\r
- "4e85bccf.c8cf0c"\r
+ "62e6aba8.2c101c",\r
+ "9754a6dd.67f03"\r
]\r
]\r
},\r
{\r
- "id": "4e85bccf.c8cf0c",\r
+ "id": "9754a6dd.67f03",\r
"type": "for",\r
"name": "for each allotted-resource relationship",\r
"xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3077,\r
- "y": 408,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3056,\r
+ "y": 405,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "badd7dbd.ce16"\r
+ "a377e213.201cf8"\r
]\r
]\r
},\r
{\r
- "id": "badd7dbd.ce16",\r
+ "id": "a377e213.201cf8",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3339,\r
- "y": 408,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3318,\r
+ "y": 405,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "5050eb58.e00ed4"\r
+ "7737916f.9448f"\r
]\r
]\r
},\r
{\r
- "id": "212f425.c6d5fbe",\r
+ "id": "d8e84e3d.259878",\r
"type": "outcome",\r
"name": "network-resource",\r
"xml": "<outcome value='network-resource'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4720,\r
- "y": 761,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4699,\r
+ "y": 758,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "656d86d7.e1bb3"\r
+ "3db61f55.c940b"\r
]\r
]\r
},\r
{\r
- "id": "656d86d7.e1bb3",\r
+ "id": "3db61f55.c940b",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4897,\r
- "y": 753,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4876,\r
+ "y": 750,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "4f5b4545.d432fc"\r
+ "c68e6afb.37cad8"\r
]\r
]\r
},\r
{\r
- "id": "4f5b4545.d432fc",\r
+ "id": "c68e6afb.37cad8",\r
"type": "set",\r
"name": "set domainA ethernet layer network-id",\r
"xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 5132,\r
- "y": 877,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5111,\r
+ "y": 874,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "5e5727f6.ce94f",\r
+ "id": "70ffeb00.3c6c1c",\r
"type": "set",\r
"name": "set domainB ethernet layer network-id",\r
"xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 5172,\r
- "y": 1717,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5151,\r
+ "y": 1714,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "33761656.d7dc5a",\r
+ "id": "ce30230.018a56",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4937,\r
- "y": 1593,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4916,\r
+ "y": 1590,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "5e5727f6.ce94f"\r
+ "70ffeb00.3c6c1c"\r
]\r
]\r
},\r
{\r
- "id": "ba30acec.499f9",\r
+ "id": "19b04051.d11648",\r
"type": "outcome",\r
"name": "network-resource",\r
"xml": "<outcome value='network-resource'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4760,\r
- "y": 1601,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4739,\r
+ "y": 1598,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "33761656.d7dc5a"\r
+ "ce30230.018a56"\r
]\r
]\r
},\r
{\r
- "id": "420f3616.2f701",\r
+ "id": "36ea936c.0d2d9c",\r
"type": "set",\r
"name": "set the max bandwidth",\r
"xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
"comments": "",\r
- "x": 4378,\r
- "y": 538,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4357,\r
+ "y": 535,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "b1349530.c53cc",\r
+ "id": "39c2d67.9f1a22a",\r
"type": "execute",\r
"name": "execute UUID generator for ethernet-service-name",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2734,\r
- "y": 672,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2713,\r
+ "y": 669,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "84b0870f.4db1e",\r
+ "id": "d6aa9ec.33fa46",\r
"type": "execute",\r
"name": "execute UUID generator for otn-tunnel-name",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2715,\r
- "y": 722,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2694,\r
+ "y": 719,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2dfd81e1.a251ae",\r
+ "id": "3b75dc28.79bec4",\r
"type": "for",\r
"name": "for each allotted-resource",\r
"xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1972,\r
- "y": 224,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1955,\r
+ "y": 253,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "3ffb610e.7895d6",\r
- "1fed210d.6adb97"\r
+ "42ce53ea.f9d9f4",\r
+ "fea2a65.c94cf58"\r
]\r
]\r
},\r
{\r
- "id": "3ffb610e.7895d6",\r
+ "id": "42ce53ea.f9d9f4",\r
"type": "set",\r
"name": "set the current allotted-resource-id",\r
"xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
"comments": "",\r
- "x": 2256,\r
- "y": 194,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2235,\r
+ "y": 191,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "1f03402a.5db7",\r
+ "id": "72dba682.c63c9",\r
"type": "set",\r
"name": "set query_param",\r
"xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
"comments": "",\r
- "x": 2625,\r
- "y": 2321,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2604,\r
+ "y": 2318,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "56710693.e24068",\r
+ "id": "1b6d1c66.bc0bb4",\r
"type": "set",\r
"name": "unset parameters",\r
"xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",\r
"comments": "",\r
- "x": 2615,\r
- "y": 3930,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2594,\r
+ "y": 3927,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "3323f682.f60c3a",\r
+ "id": "6c32ab13.072304",\r
"type": "set",\r
"name": "set new ethernet-service-name",\r
"xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
"comments": "",\r
- "x": 2672,\r
- "y": 767,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2651,\r
+ "y": 764,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "13ac3dbd.1f366a",\r
+ "id": "35f98555.2ceed2",\r
"type": "for",\r
"name": "for vidx..tmp.otninfo_length[]",\r
"xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2663,\r
- "y": 2459,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2639,\r
+ "y": 2494,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "f2924301.397558"\r
+ "5f7bc0b4.b38de8"\r
]\r
]\r
},\r
{\r
- "id": "647d2436.140504",\r
+ "id": "3340e53d.b2b492",\r
"type": "save",\r
"name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3789,\r
- "y": 2919,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3768,\r
+ "y": 2916,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "810630b1.0e1b6"\r
+ "b711db38.ba184"\r
]\r
]\r
},\r
{\r
- "id": "fdfa6fb7.1a35f",\r
+ "id": "4bdc0f0f.14fc9",\r
"type": "save",\r
"name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4361.5,\r
- "y": 3023,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4340.5,\r
+ "y": 3020,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "810630b1.0e1b6",\r
+ "id": "b711db38.ba184",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4095,\r
- "y": 2918,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4074,\r
+ "y": 2915,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "a594830d.53acd8"\r
+ "b22521de.818118"\r
]\r
]\r
},\r
{\r
- "id": "a594830d.53acd8",\r
+ "id": "b22521de.818118",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4304.5,\r
- "y": 2918.25390625,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4283.5,\r
+ "y": 2915.25390625,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
- [\r
- "b41cf773.b97ef"\r
- ]\r
+ []\r
]\r
},\r
{\r
- "id": "4c295920.4b5da",\r
+ "id": "585cd143.7d2b8",\r
"type": "execute",\r
"name": "execute UUID generator for vpn-binding $otnidx",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3822,\r
- "y": 2398,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3801,\r
+ "y": 2395,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "19452741.32e4c1",\r
+ "id": "f49c0fd7.2e7c08",\r
"type": "switchNode",\r
"name": "switch otnidx == 0",\r
"xml": "<switch test='`$otnidx == 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3698,\r
- "y": 3036,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3677,\r
+ "y": 3033,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "9c40fb98.e1f61",\r
- "20acba8d.85a5f6"\r
+ "fed6bc26.f071a8",\r
+ "1d37d7ca.3763f"\r
]\r
]\r
},\r
{\r
- "id": "9c40fb98.e1f61",\r
+ "id": "fed6bc26.f071a8",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3881,\r
- "y": 3036,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3860,\r
+ "y": 3033,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "a42fc89d.d0c4a"\r
+ "73494a81.45e24c"\r
]\r
]\r
},\r
{\r
- "id": "20acba8d.85a5f6",\r
+ "id": "1d37d7ca.3763f",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3706,\r
- "y": 3183,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3685,\r
+ "y": 3180,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "332942c6.7f663e"\r
+ "d3242d0f.9401e"\r
]\r
]\r
},\r
{\r
- "id": "f5749296.6a691",\r
+ "id": "e99682a.c4f64",\r
"type": "switchNode",\r
"name": "switch otnidx == last",\r
"xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4047,\r
- "y": 3264,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4026,\r
+ "y": 3261,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "2103be8f.1fc842",\r
- "1554c822.b8c828"\r
+ "eb362179.9d3068",\r
+ "72ad90f5.140788"\r
]\r
]\r
},\r
{\r
- "id": "2103be8f.1fc842",\r
+ "id": "eb362179.9d3068",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4232,\r
- "y": 3265,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4211,\r
+ "y": 3262,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "a1250da6.1c6"\r
+ "9791b470.15bff8"\r
]\r
]\r
},\r
{\r
- "id": "1554c822.b8c828",\r
+ "id": "72ad90f5.140788",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4251,\r
- "y": 3531,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4230,\r
+ "y": 3528,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "99adbaff.3e741"\r
+ "aff1f53d.8faa"\r
]\r
]\r
},\r
{\r
- "id": "f416ea28.cb6ab",\r
+ "id": "c78f87c4.9bed48",\r
"type": "save",\r
"name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4662,\r
- "y": 3266,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4641,\r
+ "y": 3263,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "e6548b2c.2addd8",\r
+ "id": "d7d2c7f0.8e25f8",\r
"type": "execute",\r
"name": "execute UUID generator for connectivity domain otnidx",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4736,\r
- "y": 3564,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4715,\r
+ "y": 3561,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ddd52155.f542e8",\r
+ "id": "1d6b059f.4c3bfa",\r
"type": "save",\r
"name": "save connectivity resource in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4672,\r
- "y": 3615,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4651,\r
+ "y": 3612,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a14f6e93.1adaf8",\r
+ "id": "3d6ca865.871a5",\r
"type": "save",\r
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4801,\r
- "y": 3665,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4780,\r
+ "y": 3662,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "16a831c0.877516",\r
+ "id": "cd227f8a.a8638",\r
"type": "comment",\r
"name": "connectivity has not been created for middle domains, so we have to create one",\r
"info": "",\r
"comments": "",\r
- "x": 4811,\r
- "y": 3508,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4790,\r
+ "y": 3505,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "2e301756.38a228",\r
+ "id": "bfa230df.6f6f98",\r
"type": "save",\r
"name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4769,\r
- "y": 3724,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4748,\r
+ "y": 3721,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "99adbaff.3e741",\r
+ "id": "aff1f53d.8faa",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4408,\r
- "y": 3532,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4387,\r
+ "y": 3529,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "e6548b2c.2addd8",\r
- "ddd52155.f542e8",\r
- "a14f6e93.1adaf8",\r
- "2e301756.38a228",\r
- "ebae712b.9f6bf8"\r
+ "d7d2c7f0.8e25f8",\r
+ "1d6b059f.4c3bfa",\r
+ "3d6ca865.871a5",\r
+ "bfa230df.6f6f98",\r
+ "12522f2b.6fc8b1"\r
]\r
]\r
},\r
{\r
- "id": "f2924301.397558",\r
+ "id": "5f7bc0b4.b38de8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2925,\r
- "y": 2465,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2908,\r
+ "y": 2494,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "4c295920.4b5da",\r
- "647d2436.140504",\r
- "19452741.32e4c1",\r
- "1d59f70d.1ee6c9",\r
- "b15a67ed.f1cb18",\r
- "e4fb52b5.f04798",\r
- "f5263d8c.0dd66"\r
+ "585cd143.7d2b8",\r
+ "3340e53d.b2b492",\r
+ "f49c0fd7.2e7c08",\r
+ "f42a2589.31a0b",\r
+ "cc8174a8.50b7f",\r
+ "90db4521.56089",\r
+ "7bd1d477.e03354"\r
]\r
]\r
},\r
{\r
- "id": "2e1edee2.ee8112",\r
+ "id": "4e1b8da0.7824b4",\r
"type": "set",\r
"name": "set attachment_param domain A",\r
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",\r
"comments": "",\r
- "x": 4286,\r
- "y": 3080,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4265,\r
+ "y": 3077,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "ba046748.bfe1b",\r
+ "id": "5449eb52.31f6ec",\r
"type": "execute",\r
"name": "execute RestApiCallNode domainA UNI Coloring",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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": 4339,\r
- "y": 3124,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4318,\r
+ "y": 3121,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "b63ee960.cee2c",\r
- "1b1f60e5.7a7c9f"\r
+ "1830f22c.565b16",\r
+ "d371e563.9b53a"\r
]\r
]\r
},\r
{\r
- "id": "1b1f60e5.7a7c9f",\r
+ "id": "d371e563.9b53a",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4610,\r
- "y": 3109,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4589,\r
+ "y": 3106,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "e9f5d50.e9a0928"\r
+ "e029f2f6.ad875"\r
]\r
]\r
},\r
{\r
- "id": "b63ee960.cee2c",\r
+ "id": "1830f22c.565b16",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4608.000213623047,\r
- "y": 3166.99990940094,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4587.000213623047,\r
+ "y": 3163.99990940094,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "c9e53751.966bb8"\r
+ "adfa6667.8c9cb"\r
]\r
]\r
},\r
{\r
- "id": "e9f5d50.e9a0928",\r
+ "id": "e029f2f6.ad875",\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 UNI Coloring for domain A\" />\n",\r
"comments": "",\r
- "x": 4750.000247955322,\r
- "y": 3109.0000009536743,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4729.000247955322,\r
+ "y": 3106.0000009536743,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "c9e53751.966bb8",\r
+ "id": "adfa6667.8c9cb",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4756.02725982666,\r
- "y": 3157.745394706726,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4735.02725982666,\r
+ "y": 3154.745394706726,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a42fc89d.d0c4a",\r
+ "id": "73494a81.45e24c",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4022,\r
- "y": 3026,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4001,\r
+ "y": 3023,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "fdfa6fb7.1a35f",\r
- "ba046748.bfe1b",\r
- "2e1edee2.ee8112"\r
+ "4bdc0f0f.14fc9",\r
+ "5449eb52.31f6ec",\r
+ "4e1b8da0.7824b4"\r
]\r
]\r
},\r
{\r
- "id": "a1250da6.1c6",\r
+ "id": "9791b470.15bff8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4366,\r
- "y": 3266,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4345,\r
+ "y": 3263,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "f416ea28.cb6ab",\r
- "6f1cb48c.6026e4",\r
- "1cf9708b.795d07"\r
+ "c78f87c4.9bed48",\r
+ "96e361f0.0cb568",\r
+ "e43c5196.95971"\r
]\r
]\r
},\r
{\r
- "id": "1cf9708b.795d07",\r
+ "id": "e43c5196.95971",\r
"type": "set",\r
"name": "set attachment_param domain B",\r
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
"comments": "",\r
- "x": 4586,\r
- "y": 3310,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4565,\r
+ "y": 3307,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "6f1cb48c.6026e4",\r
+ "id": "96e361f0.0cb568",\r
"type": "execute",\r
"name": "execute RestApiCallNode domainB UNI Coloring",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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": 4637,\r
- "y": 3354,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4616,\r
+ "y": 3351,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "6e1323b5.c04ce4",\r
- "1555b51f.0ca46b"\r
+ "d02e29cf.263e8",\r
+ "ecba049c.afd758"\r
]\r
]\r
},\r
{\r
- "id": "1555b51f.0ca46b",\r
+ "id": "ecba049c.afd758",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4900,\r
- "y": 3334,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4879,\r
+ "y": 3331,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "7a3f18c.e7bf268"\r
+ "335f23f9.119f0c"\r
]\r
]\r
},\r
{\r
- "id": "6e1323b5.c04ce4",\r
+ "id": "d02e29cf.263e8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4901.000213623047,\r
- "y": 3384.99990940094,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4880.000213623047,\r
+ "y": 3381.99990940094,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "c1d2c5de.5e2688"\r
+ "49ab66fd.a6d9f8"\r
]\r
]\r
},\r
{\r
- "id": "7a3f18c.e7bf268",\r
+ "id": "335f23f9.119f0c",\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 UNI coloring for domain B\" />\n",\r
"comments": "",\r
- "x": 5040.000247955322,\r
- "y": 3334.0000009536743,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5019.000247955322,\r
+ "y": 3331.0000009536743,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "c1d2c5de.5e2688",\r
+ "id": "49ab66fd.a6d9f8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5046.02725982666,\r
- "y": 3382.745394706726,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5025.02725982666,\r
+ "y": 3379.745394706726,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ebae712b.9f6bf8",\r
+ "id": "12522f2b.6fc8b1",\r
"type": "set",\r
"name": "set attachment_param domain otnidx",\r
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
"comments": "",\r
- "x": 4683,\r
- "y": 3784,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4662,\r
+ "y": 3781,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "bc1d9c19.8a817",\r
+ "id": "48979781.1681f8",\r
"type": "save",\r
"name": "get all-vpn-bindings from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2002,\r
- "y": 4131,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1981,\r
+ "y": 4128,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "3b12d36f.6d8234",\r
- "89a53740.4d3c98",\r
- "a61d86b5.6c70f"\r
+ "c2f0d7a5.dddd68",\r
+ "39032723.2690f8",\r
+ "52e0bd76.c6817c"\r
]\r
]\r
},\r
{\r
- "id": "3b12d36f.6d8234",\r
+ "id": "c2f0d7a5.dddd68",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2190,\r
- "y": 4144,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2169,\r
+ "y": 4141,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "3ced61cb.b2d7fe"\r
+ "ab5cddb1.22da4"\r
]\r
]\r
},\r
{\r
- "id": "89a53740.4d3c98",\r
+ "id": "39032723.2690f8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2190.490966796875,\r
- "y": 4189.574035644531,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2169.490966796875,\r
+ "y": 4186.574035644531,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "3eafcbaf.f2f56c"\r
+ "14fe4895.b40197"\r
]\r
]\r
},\r
{\r
- "id": "a61d86b5.6c70f",\r
+ "id": "52e0bd76.c6817c",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2188,\r
- "y": 4233,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2167,\r
+ "y": 4230,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "170e04a2.1b39fb"\r
+ "b5248481.e522a"\r
]\r
]\r
},\r
{\r
- "id": "3ced61cb.b2d7fe",\r
+ "id": "ab5cddb1.22da4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2363,\r
- "y": 4142,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2342,\r
+ "y": 4139,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "ef9d0591.fefb08"\r
+ "4470cae1.fbd614"\r
]\r
]\r
},\r
{\r
- "id": "3eafcbaf.f2f56c",\r
+ "id": "14fe4895.b40197",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2353.0623779296875,\r
- "y": 4189.859771728516,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2332.0623779296875,\r
+ "y": 4186.859771728516,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "170e04a2.1b39fb",\r
+ "id": "b5248481.e522a",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2355,\r
- "y": 4232,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2334,\r
+ "y": 4229,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "bf30e0be.23b998",\r
+ "id": "5d2f9da2.d38694",\r
"type": "for",\r
"name": "for vidx..tmp.otninfo_length[]",\r
"xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1991,\r
- "y": 4322,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1970,\r
+ "y": 4319,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "557999e1.77dcb"\r
+ "8dfa636a.7429d"\r
]\r
]\r
},\r
{\r
- "id": "d613988a.0c40c",\r
+ "id": "e79af240.ca6e5",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2801,\r
- "y": 4322,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2780,\r
+ "y": 4319,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "e4afc290.74f038"\r
+ "6c6212ef.f90554"\r
]\r
]\r
},\r
{\r
- "id": "f7f46916.4f1ee",\r
+ "id": "da3d1785.252e3",\r
"type": "for",\r
"name": "for vidx..tmp.otninfo_length[]",\r
"xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2573,\r
- "y": 4322,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2552,\r
+ "y": 4319,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "d613988a.0c40c"\r
+ "e79af240.ca6e5"\r
]\r
]\r
},\r
{\r
- "id": "ce29a297.cf1cb8",\r
+ "id": "14ccf193.a7ba36",\r
"type": "set",\r
"name": "set providerValue",\r
"xml": "<set>\n<parameter name='providerValue' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].access-provider-id`' />\n<parameter name='found' value='false' />\n\n\n",\r
"comments": "",\r
- "x": 3693,\r
- "y": 4089,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3672,\r
+ "y": 4086,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "90828ea.8f9357",\r
+ "id": "3ba4980a.a7808",\r
"type": "set",\r
"name": "set",\r
"xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
"comments": "",\r
- "x": 3995,\r
- "y": 3215,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3974,\r
+ "y": 3212,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "332942c6.7f663e",\r
+ "id": "d3242d0f.9401e",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3830,\r
- "y": 3190,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3809,\r
+ "y": 3187,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "90828ea.8f9357",\r
- "f5749296.6a691"\r
+ "3ba4980a.a7808",\r
+ "e99682a.c4f64"\r
]\r
]\r
},\r
{\r
- "id": "d0adb7e4.435f98",\r
+ "id": "a26db7da.175a4",\r
"type": "set",\r
"name": "set tmp.arr",\r
- "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<parameter name='tmp.slicevpns' value='' />\n<parameter name='tmp.slicevpns_length' value='0' />\n\n<parameter name='tmp.slicevpnuuids' value='' />\n<parameter name='tmp.slicevpnuuids.' value='' />\n\n\n",\r
+ "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
"comments": "",\r
- "x": 1954,\r
- "y": 170,\r
- "z": "b31344e1.6b9228",\r
+ "x": 1929,\r
+ "y": 203,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "ef9d0591.fefb08",\r
+ "id": "4470cae1.fbd614",\r
"type": "for",\r
"name": "for vpnidx in all-vpn-bindings",\r
"xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2592,\r
- "y": 4143,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2571,\r
+ "y": 4140,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "2fbee9b.ff76316"\r
+ "af51805a.3f6e48"\r
]\r
]\r
},\r
{\r
- "id": "2fbee9b.ff76316",\r
+ "id": "af51805a.3f6e48",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2807,\r
- "y": 4144,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2786,\r
+ "y": 4141,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "9baaaca4.d54a4"\r
+ "b29ba493.8896c8"\r
]\r
]\r
},\r
{\r
- "id": "49f4d5cd.eba3ac",\r
+ "id": "de53bb83.199eb",\r
"type": "for",\r
"name": "for arridx in tmp.arr",\r
"xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4260,\r
- "y": 4064,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4239,\r
+ "y": 4061,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "a296aaec.6a9f7"\r
+ "204c9a7d.7d28b6"\r
]\r
]\r
},\r
{\r
- "id": "72392f69.a40338",\r
+ "id": "4aa9ee27.313a08",\r
"type": "switchNode",\r
"name": "switch $tmp.arr_length != 0",\r
"xml": "<switch test='`$tmp.arr_length != 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3726,\r
- "y": 4144,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3705,\r
+ "y": 4141,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "1e30cbc6.5b29c4",\r
- "73a572c0.fcdcfc"\r
+ "2d961aee.1b3a76",\r
+ "3325a435.f57dbc"\r
]\r
]\r
},\r
{\r
- "id": "1e30cbc6.5b29c4",\r
+ "id": "2d961aee.1b3a76",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3922,\r
- "y": 4114,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3901,\r
+ "y": 4111,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "79192fda.22a8a8"\r
+ "78c69440.64f1a4"\r
]\r
]\r
},\r
{\r
- "id": "73a572c0.fcdcfc",\r
+ "id": "3325a435.f57dbc",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3923,\r
- "y": 4185,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3902,\r
+ "y": 4182,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "e5b5d449.e95738"\r
+ "fefe3e36.023678"\r
]\r
]\r
},\r
{\r
- "id": "79192fda.22a8a8",\r
+ "id": "78c69440.64f1a4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4073,\r
- "y": 4112,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4052,\r
+ "y": 4109,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "49f4d5cd.eba3ac",\r
- "ee34549a.68661"\r
+ "de53bb83.199eb",\r
+ "8df94468.3b3aa8"\r
]\r
]\r
},\r
{\r
- "id": "a296aaec.6a9f7",\r
+ "id": "204c9a7d.7d28b6",\r
"type": "switchNode",\r
"name": "switch tmp.arr[$arridx] == $providerValue",\r
"xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4551,\r
- "y": 4064,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4530,\r
+ "y": 4061,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "f6a570fa.8c3e18",\r
- "f096fdfa.51af18"\r
+ "c41481ab.88bea8",\r
+ "e1b07d6e.872148"\r
]\r
]\r
},\r
{\r
- "id": "f6a570fa.8c3e18",\r
+ "id": "c41481ab.88bea8",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4826,\r
- "y": 4033,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4805,\r
+ "y": 4030,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "7e64bb9a.5c5954"\r
+ "f1ff9d18.303e98"\r
]\r
]\r
},\r
{\r
- "id": "f096fdfa.51af18",\r
+ "id": "e1b07d6e.872148",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4827,\r
- "y": 4104,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4806,\r
+ "y": 4101,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "2ae9b410.b8e274"\r
+ "14131c89.49f9f3"\r
]\r
]\r
},\r
{\r
- "id": "7e64bb9a.5c5954",\r
+ "id": "f1ff9d18.303e98",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4977,\r
- "y": 4031,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4956,\r
+ "y": 4028,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "883ad39b.46747",\r
- "3d5cad7b.78211a",\r
- "ac8bc417.7b82a",\r
- "6ea95490.220544",\r
- "6a39b9a6.2592"\r
+ "40d1e81e.6cc88",\r
+ "dbbf7f90.5aa4c8",\r
+ "83374978.c1c35",\r
+ "d7033d3e.83e278",\r
+ "8b158b61.9a9f58"\r
]\r
]\r
},\r
{\r
- "id": "883ad39b.46747",\r
+ "id": "40d1e81e.6cc88",\r
"type": "set",\r
"name": "set found to true",\r
"xml": "<set>\n<parameter name='found' value='true' />\n\n\n",\r
"comments": "",\r
- "x": 5165,\r
- "y": 3991,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5144,\r
+ "y": 3988,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "3d5cad7b.78211a",\r
+ "id": "dbbf7f90.5aa4c8",\r
"type": "save",\r
"name": "store $arridx somewhere in vpn-binding",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx`' />\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5237,\r
- "y": 4036,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5216,\r
+ "y": 4033,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "6a39b9a6.2592",\r
+ "id": "8b158b61.9a9f58",\r
"type": "set",\r
"name": "set twoD arr",\r
"xml": "<set>\n\n<!--<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />-->\n<!--<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />-->\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<!--<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />-->\n<parameter name='`otn-tunnel-slice[$arridx].list_length`' value='`$sizeOfSliceList + 1`' />\n\n",\r
"comments": "",\r
- "x": 5152,\r
- "y": 4163,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5131,\r
+ "y": 4160,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "6ea95490.220544",\r
+ "id": "d7033d3e.83e278",\r
"type": "set",\r
"name": "set sizeOfSliceList",\r
"xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",\r
"comments": "",\r
- "x": 5173,\r
- "y": 4099,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5152,\r
+ "y": 4096,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "e5b5d449.e95738",\r
+ "id": "fefe3e36.023678",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4075,\r
- "y": 4185,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4054,\r
+ "y": 4182,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "b867d047.fac",\r
- "3788e630.590d72"\r
+ "8b5a5937.7b14e8",\r
+ "738e0247.d8b784"\r
]\r
]\r
},\r
{\r
- "id": "b867d047.fac",\r
+ "id": "8b5a5937.7b14e8",\r
"type": "save",\r
"name": "store $arridx somewhere in vpn-binding",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='0' />\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4330,\r
- "y": 4178,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4309,\r
+ "y": 4175,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "3788e630.590d72",\r
+ "id": "738e0247.d8b784",\r
"type": "set",\r
"name": "set twoD array",\r
"xml": "<set>\n<parameter name='tmp.arr[0]' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='1' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[0].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[0].list_length' value='1' />\n\n",\r
"comments": "",\r
- "x": 4258,\r
- "y": 4225,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4237,\r
+ "y": 4222,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "ee34549a.68661",\r
+ "id": "8df94468.3b3aa8",\r
"type": "switchNode",\r
"name": "switch found?",\r
"xml": "<switch test='`$found`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4251,\r
- "y": 4109,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4230,\r
+ "y": 4106,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "d1f76975.e11b9",\r
- "3421ae07.ec9d62"\r
+ "df11cc3e.1263f",\r
+ "1fe91094.d80647"\r
]\r
]\r
},\r
{\r
- "id": "d1f76975.e11b9",\r
+ "id": "df11cc3e.1263f",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4411,\r
- "y": 4101,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4390,\r
+ "y": 4098,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "2d9d0080.4d96d"\r
+ "6014caa7.dd1974"\r
]\r
]\r
},\r
{\r
- "id": "3421ae07.ec9d62",\r
+ "id": "1fe91094.d80647",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4409,\r
- "y": 4138,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4388,\r
+ "y": 4135,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "91314308.ab84d"\r
+ "4b7b9538.9e1144"\r
]\r
]\r
},\r
{\r
- "id": "2d9d0080.4d96d",\r
+ "id": "6014caa7.dd1974",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4536,\r
- "y": 4101,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4515,\r
+ "y": 4098,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "fd3f24a6.bbbfb8",\r
+ "id": "f4cf80fc.6110b8",\r
"type": "save",\r
"name": "store $arridx+1 somewhere in vpn-binding",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx + 1`' />\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4843,\r
- "y": 4159,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4822,\r
+ "y": 4156,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "91314308.ab84d",\r
+ "id": "4b7b9538.9e1144",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4569,\r
- "y": 4146,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4548,\r
+ "y": 4143,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "fd3f24a6.bbbfb8",\r
- "3fbaf181.1ff88e"\r
+ "f4cf80fc.6110b8",\r
+ "cb01b96d.902da8"\r
]\r
]\r
},\r
{\r
- "id": "3fbaf181.1ff88e",\r
+ "id": "cb01b96d.902da8",\r
"type": "set",\r
"name": "set twoD array",\r
"xml": "<set>\n<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list_length`' value='1' />\n\n",\r
"comments": "",\r
- "x": 4760,\r
- "y": 4205,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4739,\r
+ "y": 4202,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "2ae9b410.b8e274",\r
+ "id": "14131c89.49f9f3",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4960,\r
- "y": 4103,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4939,\r
+ "y": 4100,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ac8bc417.7b82a",\r
+ "id": "83374978.c1c35",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 5131,\r
- "y": 4230,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5110,\r
+ "y": 4227,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "1d59f70d.1ee6c9",\r
+ "id": "f42a2589.31a0b",\r
"type": "switchNode",\r
"name": "switch dstPort == NULL",\r
"xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3536,\r
- "y": 2488,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3515,\r
+ "y": 2485,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "13d01e4b.11cf72",\r
- "f41dda2a.86b79"\r
+ "ac6a7600.1391a8",\r
+ "6c99c1a3.b2c848"\r
]\r
]\r
},\r
{\r
- "id": "13d01e4b.11cf72",\r
+ "id": "ac6a7600.1391a8",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3902,\r
- "y": 2449,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3881,\r
+ "y": 2446,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "a63400f9.70b798"\r
+ "c094d1a4.3a348"\r
]\r
]\r
},\r
{\r
- "id": "f41dda2a.86b79",\r
+ "id": "6c99c1a3.b2c848",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3903,\r
- "y": 2495,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3882,\r
+ "y": 2492,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "201cd4b0.391f6c"\r
+ "11e69cf.d047563"\r
]\r
]\r
},\r
{\r
- "id": "a63400f9.70b798",\r
+ "id": "c094d1a4.3a348",\r
"type": "set",\r
"name": "set access-provider-id and client-id",\r
"xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",\r
"comments": "",\r
- "x": 4116,\r
- "y": 2448,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4095,\r
+ "y": 2445,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "201cd4b0.391f6c",\r
+ "id": "11e69cf.d047563",\r
"type": "set",\r
"name": "set access-provider-id and client-id",\r
"xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",\r
"comments": "",\r
- "x": 4114,\r
- "y": 2493,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4093,\r
+ "y": 2490,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "e4afc290.74f038",\r
+ "id": "6c6212ef.f90554",\r
"type": "set",\r
"name": "set attachment_param sliceG",\r
"xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].request-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].request-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].bw-odu`' value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].bw-odu`\" />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].src-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].src-ttp-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].dst-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].dst-ttp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='otn-tunnel-sliceG-list_length' value='`$stunidx + 1`' />\n\n\n<parameter name=\"tmp.domainG.restapiUrl\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainurl`\" />\n<parameter name=\"tmp.domainG.restapiUser\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainuser`\" />\n<parameter name=\"tmp.domainG.restapiPassword\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainpassword`\" />",\r
"comments": "",\r
- "x": 3054,\r
- "y": 4320,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3033,\r
+ "y": 4317,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "5a129ea2.020ec",\r
+ "id": "a54ce659.29b108",\r
"type": "execute",\r
"name": "execute RestApiCallNode sliceG creation domainG",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceG-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.domainG.restapiUrl + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$tmp.domainG.restapiUser`\" />\n<parameter name=\"restapiPassword\" value=\"`tmp.domainG.restapiPassword`\" />\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`\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2639,\r
- "y": 4428,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2618,\r
+ "y": 4425,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "235df5b8.967b5a",\r
- "2fcb7bfa.e794ec"\r
+ "3fa26ce7.7e0224",\r
+ "b2b0e72c.a11478"\r
]\r
]\r
},\r
{\r
- "id": "2fcb7bfa.e794ec",\r
+ "id": "b2b0e72c.a11478",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2922,\r
- "y": 4408,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2901,\r
+ "y": 4405,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "ec27b172.f3b03"\r
+ "fa1f56ce.f832c8"\r
]\r
]\r
},\r
{\r
- "id": "235df5b8.967b5a",\r
+ "id": "3fa26ce7.7e0224",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2923.000213623047,\r
- "y": 4458.99990940094,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2902.000213623047,\r
+ "y": 4455.99990940094,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "afac7d54.5ea3c8"\r
+ "50896aad.7e40ec"\r
]\r
]\r
},\r
{\r
- "id": "ec27b172.f3b03",\r
+ "id": "fa1f56ce.f832c8",\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 slice creation api for domain A\" />\n",\r
"comments": "",\r
- "x": 3062.0002479553223,\r
- "y": 4408.000000953674,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3041.0002479553223,\r
+ "y": 4405.000000953674,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "afac7d54.5ea3c8",\r
+ "id": "50896aad.7e40ec",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3068.02725982666,\r
- "y": 4456.745394706726,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3047.02725982666,\r
+ "y": 4453.745394706726,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "b15a67ed.f1cb18",\r
+ "id": "cc8174a8.50b7f",\r
"type": "set",\r
"name": "set srcdstpnf-name",\r
"xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n $tmp.access-provider-id + '-clientId-' +\n $tmp.access-client-id + '-topologyId-' + \n $tmp.access-topology-id + '-nodeId-' + \n $tmp.srcdstpnf-id`\" />\n\n",\r
"comments": "",\r
- "x": 3712,\r
- "y": 2562,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3691,\r
+ "y": 2559,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "e4fb52b5.f04798",\r
+ "id": "90db4521.56089",\r
"type": "get-resource",\r
"name": "get-resource tmp.srcdstpnf-name",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3756,\r
- "y": 2610,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3735,\r
+ "y": 2607,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "38280842.8f481",\r
- "762394a6.8c9edc",\r
- "bf6967d.9863518"\r
+ "3240cb0e.b7a8d4",\r
+ "f04379f7.8df68",\r
+ "3ab1dbdc.5ba7f4"\r
]\r
]\r
},\r
{\r
- "id": "38280842.8f481",\r
+ "id": "3240cb0e.b7a8d4",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3968.5,\r
- "y": 2557,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3947.5,\r
+ "y": 2554,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "7c3bab6c.40727c"\r
+ "e8a8f72b.6c9a08"\r
]\r
]\r
},\r
{\r
- "id": "762394a6.8c9edc",\r
+ "id": "f04379f7.8df68",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3980.5,\r
- "y": 2607,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3959.5,\r
+ "y": 2604,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "9fa14d44.80429"\r
+ "b12e923.fc82e7"\r
]\r
]\r
},\r
{\r
- "id": "bf6967d.9863518",\r
+ "id": "3ab1dbdc.5ba7f4",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3971.5,\r
- "y": 2662,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3950.5,\r
+ "y": 2659,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "e6f16a7e.5e034"\r
+ "582f59ae.92f2a8"\r
]\r
]\r
},\r
{\r
- "id": "e6f16a7e.5e034",\r
+ "id": "582f59ae.92f2a8",\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": 4116.5,\r
- "y": 2661,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4095.5,\r
+ "y": 2658,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "9fa14d44.80429",\r
+ "id": "b12e923.fc82e7",\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": 4127.5,\r
- "y": 2604,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4106.5,\r
+ "y": 2601,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "7c3bab6c.40727c",\r
+ "id": "e8a8f72b.6c9a08",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4093.8824462890625,\r
- "y": 2550.6556701660156,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4072.8824462890625,\r
+ "y": 2547.6556701660156,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "3ada39cb.077d7e"\r
+ "212a31bf.dceac6"\r
]\r
]\r
},\r
{\r
- "id": "79f49c03.b31834",\r
+ "id": "935dfeb6.9be7f8",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4653,\r
- "y": 2569,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4632,\r
+ "y": 2566,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "b38ec96c.50bcb"\r
+ "1328892f.88f617"\r
]\r
]\r
},\r
{\r
- "id": "b38ec96c.50bcb",\r
+ "id": "1328892f.88f617",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4830,\r
- "y": 2561,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4809,\r
+ "y": 2558,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "b25407c2.fe4e9",\r
- "76abd2d6.8cf2bc"\r
+ "6a8226d0.94ebf",\r
+ "3a8b4f5e.be2aa8"\r
]\r
]\r
},\r
{\r
- "id": "3ada39cb.077d7e",\r
+ "id": "212a31bf.dceac6",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4255,\r
- "y": 2565,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4234,\r
+ "y": 2562,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "631c6ac2.9b4684"\r
+ "384efd0c.a6d9aa"\r
]\r
]\r
},\r
{\r
- "id": "631c6ac2.9b4684",\r
+ "id": "384efd0c.a6d9aa",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4450,\r
- "y": 2565,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4429,\r
+ "y": 2562,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "79f49c03.b31834"\r
+ "935dfeb6.9be7f8"\r
]\r
]\r
},\r
{\r
- "id": "76abd2d6.8cf2bc",\r
+ "id": "3a8b4f5e.be2aa8",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5038,\r
- "y": 2568,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5017,\r
+ "y": 2565,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "b500a3b6.711188",\r
- "e4ff3e60.96d148",\r
- "ef9c5a3.20232a8"\r
+ "a2f18412.fa34",\r
+ "938b13a9.db22e",\r
+ "e46fd8a5.7a34e8"\r
]\r
]\r
},\r
{\r
- "id": "b25407c2.fe4e9",\r
+ "id": "6a8226d0.94ebf",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domainG id",\r
"xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 5068,\r
- "y": 2516,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5047,\r
+ "y": 2513,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "b500a3b6.711188",\r
+ "id": "a2f18412.fa34",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5248,\r
- "y": 2559,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5227,\r
+ "y": 2556,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "8c9a0f1.a2e9b7"\r
+ "dfc55645.4078e"\r
]\r
]\r
},\r
{\r
- "id": "e4ff3e60.96d148",\r
+ "id": "938b13a9.db22e",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5240,\r
- "y": 2614,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5219,\r
+ "y": 2611,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "7d5ba752.0bac28"\r
+ "ad8534e.8f07fc8"\r
]\r
]\r
},\r
{\r
- "id": "ef9c5a3.20232a8",\r
+ "id": "e46fd8a5.7a34e8",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5245,\r
- "y": 2671,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5224,\r
+ "y": 2668,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "5979580a.e6b1f8"\r
+ "292bb9fe.d0f886"\r
]\r
]\r
},\r
{\r
- "id": "5979580a.e6b1f8",\r
+ "id": "292bb9fe.d0f886",\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": 5397,\r
- "y": 2672,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5376,\r
+ "y": 2669,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "7d5ba752.0bac28",\r
+ "id": "ad8534e.8f07fc8",\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": 5408,\r
- "y": 2617,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5387,\r
+ "y": 2614,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "8c9a0f1.a2e9b7",\r
+ "id": "dfc55645.4078e",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5392.38232421875,\r
- "y": 2556.6556701660156,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5371.38232421875,\r
+ "y": 2553.6556701660156,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "b4fe40f1.fee308"\r
+ "295d998d.b4f986"\r
]\r
]\r
},\r
{\r
- "id": "b4fe40f1.fee308",\r
+ "id": "295d998d.b4f986",\r
"type": "set",\r
"name": "set controller domainA data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
"comments": "",\r
- "x": 5607,\r
- "y": 2553,\r
- "z": "b31344e1.6b9228",\r
+ "x": 5586,\r
+ "y": 2550,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "557999e1.77dcb",\r
+ "id": "8dfa636a.7429d",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2223,\r
- "y": 4320,\r
- "z": "b31344e1.6b9228",\r
+ "x": 2202,\r
+ "y": 4317,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "f7f46916.4f1ee",\r
- "5a129ea2.020ec"\r
+ "da3d1785.252e3",\r
+ "a54ce659.29b108"\r
]\r
]\r
},\r
{\r
- "id": "f5263d8c.0dd66",\r
+ "id": "7bd1d477.e03354",\r
"type": "switchNode",\r
"name": "switch dmnsidx == 0 (domainA)",\r
"xml": "<switch test='`$otnidx == 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3726,\r
- "y": 2779,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3705,\r
+ "y": 2776,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "cb45f40e.c4e9f",\r
- "686c2e71.b364f8"\r
+ "3ed7d0cf.bd363",\r
+ "60e3c11b.60b2b8"\r
]\r
]\r
},\r
{\r
- "id": "cb45f40e.c4e9f",\r
+ "id": "3ed7d0cf.bd363",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3927,\r
- "y": 2777,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3906,\r
+ "y": 2774,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "906b7761.ec3cf"\r
+ "c5282b2e.c25f08"\r
]\r
]\r
},\r
{\r
- "id": "906b7761.ec3cf",\r
+ "id": "7fc9a02.f9a08e",\r
"type": "set",\r
- "name": "set attachment_param domain A",\r
- "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
+ "name": "set pce-src-node",\r
+ "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",\r
"comments": "",\r
- "x": 4141,\r
- "y": 2779,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4187,\r
+ "y": 2724,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "bb50949c.2c4e68",\r
+ "id": "6fcb3e30.7095c8",\r
"type": "switchNode",\r
"name": "switch dmnsidx == last (domainB)",\r
"xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4144,\r
- "y": 2828,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4123,\r
+ "y": 2825,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "f9f184f6.8f0c58",\r
- "b1eb5cf.84b33a"\r
+ "65a08e4c.a1dc",\r
+ "640adf38.eff8b"\r
]\r
]\r
},\r
{\r
- "id": "f9f184f6.8f0c58",\r
+ "id": "65a08e4c.a1dc",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4374,\r
- "y": 2824,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4353,\r
+ "y": 2821,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "ea46128e.0ba028"\r
+ "4413ca18.7ca70c"\r
]\r
]\r
},\r
{\r
- "id": "ea46128e.0ba028",\r
+ "id": "8da31065.a87e4",\r
"type": "set",\r
"name": "set attachment_param domain B",\r
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",\r
"comments": "",\r
- "x": 4588,\r
- "y": 2827,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4690,\r
+ "y": 2765,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "686c2e71.b364f8",\r
+ "id": "60e3c11b.60b2b8",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3927,\r
- "y": 2826,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3906,\r
+ "y": 2823,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "bb50949c.2c4e68"\r
+ "6fcb3e30.7095c8"\r
]\r
]\r
},\r
{\r
- "id": "b1eb5cf.84b33a",\r
+ "id": "640adf38.eff8b",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4375,\r
- "y": 2870,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4354,\r
+ "y": 2867,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "591dd2d5.72937c"\r
+ "7faf9acd.559b34"\r
]\r
]\r
},\r
{\r
- "id": "591dd2d5.72937c",\r
+ "id": "7faf9acd.559b34",\r
"type": "set",\r
"name": "set attachment_param domain G",\r
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
"comments": "",\r
- "x": 4589,\r
- "y": 2870,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4568,\r
+ "y": 2867,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "b41cf773.b97ef",\r
+ "id": "9723f206.45f868",\r
"type": "set",\r
"name": "set tmp.slicevpns",\r
"xml": "<set>\n<parameter name='`tmp.slicevpns[$tmp.slicevpns_length]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n<parameter name='tmp.slicevpns_length' value=\"`$tmp.slicevpns_length + 1`\" />\n\n<parameter name='`tmp.slicevpnuuids[$prop.vpn-binding-otnidx-uuid]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n\n",\r
"comments": "",\r
- "x": 4487,\r
- "y": 2919,\r
- "z": "b31344e1.6b9228",\r
+ "x": 4466,\r
+ "y": 2916,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": []\r
},\r
{\r
- "id": "9baaaca4.d54a4",\r
+ "id": "b29ba493.8896c8",\r
"type": "switchNode",\r
"name": "switch vpnuuid is for this slice",\r
"xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3051,\r
- "y": 4143,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3030,\r
+ "y": 4140,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "cb64ffb8.43ead",\r
- "d4b6930e.5ef778"\r
+ "174edd69.713c5b",\r
+ "af581154.4e753"\r
]\r
]\r
},\r
{\r
- "id": "cb64ffb8.43ead",\r
+ "id": "174edd69.713c5b",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3268,\r
- "y": 4122,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3247,\r
+ "y": 4119,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "2504214d.099dbe"\r
+ "53925b1.87893a4"\r
]\r
]\r
},\r
{\r
- "id": "d4b6930e.5ef778",\r
+ "id": "af581154.4e753",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3268,\r
- "y": 4171,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3247,\r
+ "y": 4168,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2504214d.099dbe",\r
+ "id": "53925b1.87893a4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3436,\r
- "y": 4122,\r
- "z": "b31344e1.6b9228",\r
+ "x": 3415,\r
+ "y": 4119,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "14ccf193.a7ba36",\r
+ "4aa9ee27.313a08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2f0ddb5a.e806c4",\r
+ "type": "set",\r
+ "name": "set attachment_param domain A",\r
+ "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
+ "comments": "",\r
+ "x": 4242,\r
+ "y": 2771,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c5282b2e.c25f08",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4030,\r
+ "y": 2765,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ [\r
+ "2f0ddb5a.e806c4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "60f94c1c.9e2504",\r
+ "type": "set",\r
+ "name": "set pce-src-node",\r
+ "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",\r
+ "comments": "",\r
+ "x": 4642,\r
+ "y": 2813,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4413ca18.7ca70c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4486,\r
+ "y": 2797,\r
+ "z": "cd8c161.e76ffe8",\r
"wires": [\r
[\r
- "ce29a297.cf1cb8",\r
- "72392f69.a40338"\r
+ "8da31065.a87e4"\r
]\r
]\r
+ },\r
+ {\r
+ "id": "93c183ce.0a9ed8",\r
+ "type": "get-resource",\r
+ "name": "get-resource pnfs-list",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1972,\r
+ "y": 62,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "5d8a5506.b8ac8c",\r
+ "type": "get-resource",\r
+ "name": "get-resource logical-links",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1984,\r
+ "y": 103,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "307d8c13.43fe3c",\r
+ "type": "comment",\r
+ "name": "The following two nodes are for PCE",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 2008,\r
+ "y": 25,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "86333e24.199f7",\r
+ "type": "set",\r
+ "name": "set tmp.arr",\r
+ "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
+ "comments": "",\r
+ "x": 1929,\r
+ "y": 149,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "63cf541.20dacac",\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": 2615,\r
+ "y": 2432,\r
+ "z": "cd8c161.e76ffe8",\r
+ "wires": [\r
+ []\r
+ ]\r
}\r
]
\ No newline at end of file
[\r
{\r
- "id": "35adbdc5.188712",\r
+ "id": "aff24c57.82823",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 151,\r
- "y": 71,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 137,\r
+ "y": 87,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "4297efa6.c41f88"\r
+ "cead96fb.e8dbd8"\r
]\r
]\r
},\r
{\r
- "id": "4297efa6.c41f88",\r
+ "id": "cead96fb.e8dbd8",\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": 282.2856903076172,\r
- "y": 120.23810863494873,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 268.2856903076172,\r
+ "y": 136.23810863494873,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "2ad96203.21cf3e"\r
+ "f33f007a.ddfeb"\r
]\r
]\r
},\r
{\r
- "id": "2ad96203.21cf3e",\r
+ "id": "f33f007a.ddfeb",\r
"type": "method",\r
"name": "method tsli-vnf-topology-operation-trans-slice-deactivate",\r
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-deactivate' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 285.4286193847656,\r
- "y": 205.00003242492676,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 271.4286193847656,\r
+ "y": 221.00003242492676,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "c5e49e9b.1b684"\r
+ "c2692281.2e03c"\r
]\r
]\r
},\r
{\r
- "id": "c5e49e9b.1b684",\r
+ "id": "c2692281.2e03c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 435.238037109375,\r
- "y": 334.6666564941406,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 421.238037109375,\r
+ "y": 350.6666564941406,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "10e90581.65923a",\r
- "8d427e09.40c998",\r
- "2dc96b18.12e1c4"\r
+ "114b6c5d.64d20c",\r
+ "f27e6da1.6477",\r
+ "5bf17e9d.d43418"\r
]\r
]\r
},\r
{\r
- "id": "10e90581.65923a",\r
+ "id": "114b6c5d.64d20c",\r
"type": "returnSuccess",\r
"name": "return success",\r
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
"comments": "",\r
- "x": 709.5716552734375,\r
- "y": 601.59716796875,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 695.5716552734375,\r
+ "y": 617.59716796875,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "dce41eb4.903f08",\r
+ "id": "f470d27.b1be9b",\r
"type": "comment",\r
"name": "new for TransportSlicing",\r
"info": "",\r
"comments": "",\r
- "x": 741,\r
- "y": 276,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 727,\r
+ "y": 292,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "8d427e09.40c998",\r
+ "id": "f27e6da1.6477",\r
"type": "save",\r
"name": "get service-instance from aai",\r
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--vnf-topology-operation-input.service-information.service-instance-id-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 761,\r
- "y": 372,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 747,\r
+ "y": 388,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "97ab3694.d0f87",\r
- "60789fd.ed86ae",\r
- "353d8e4b.1a199a"\r
+ "7269ea10.8ecaa4",\r
+ "518c2c34.9a6a14",\r
+ "d42c62ff.6bda7"\r
]\r
]\r
},\r
{\r
- "id": "97ab3694.d0f87",\r
+ "id": "7269ea10.8ecaa4",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 980,\r
- "y": 310,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 966,\r
+ "y": 326,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "8832c029.be5808"\r
+ "8e953b49.9b6fc"\r
]\r
]\r
},\r
{\r
- "id": "60789fd.ed86ae",\r
+ "id": "518c2c34.9a6a14",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 989.490966796875,\r
- "y": 352.57403564453125,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 975.490966796875,\r
+ "y": 368.57403564453125,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "2dd666f1.60f502"\r
+ "bbd8fc13.968688"\r
]\r
]\r
},\r
{\r
- "id": "353d8e4b.1a199a",\r
+ "id": "d42c62ff.6bda7",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 978,\r
- "y": 399,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 964,\r
+ "y": 415,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "2d743c83.0345fc"\r
+ "67ddbb99.6b0b84"\r
]\r
]\r
},\r
{\r
- "id": "2dd666f1.60f502",\r
+ "id": "bbd8fc13.968688",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 1143.0623779296875,\r
- "y": 355.8597717285156,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 1129.0623779296875,\r
+ "y": 371.8597717285156,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "2d743c83.0345fc",\r
+ "id": "67ddbb99.6b0b84",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1147,\r
- "y": 400,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 1133,\r
+ "y": 416,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "8832c029.be5808",\r
+ "id": "8e953b49.9b6fc",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1177,\r
- "y": 306,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 1163,\r
+ "y": 322,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "16acb367.7a1ddd"\r
+ "7bc604b0.a688bc"\r
]\r
]\r
},\r
{\r
- "id": "16acb367.7a1ddd",\r
+ "id": "7bc604b0.a688bc",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1400.33349609375,\r
- "y": 305.99993896484375,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 1386.33349609375,\r
+ "y": 321.99993896484375,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "a7a6102a.ba70f"\r
+ "5063b203.704cc4"\r
]\r
]\r
},\r
{\r
- "id": "a7a6102a.ba70f",\r
+ "id": "5063b203.704cc4",\r
"type": "outcome",\r
"name": "connectivity",\r
"xml": "<outcome value='connectivity'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1601.0001335144043,\r
- "y": 307.00002098083496,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 1587.0001335144043,\r
+ "y": 323.00002098083496,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "792a8c98.1e353c"\r
+ "a9f2d74.cd545a8"\r
]\r
]\r
},\r
{\r
- "id": "2dc96b18.12e1c4",\r
+ "id": "5bf17e9d.d43418",\r
"type": "execute",\r
"name": "execute properties",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 727,\r
- "y": 320,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 713,\r
+ "y": 336,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "792a8c98.1e353c",\r
+ "id": "a9f2d74.cd545a8",\r
"type": "save",\r
"name": "get connectivity from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1839,\r
- "y": 309,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 1825,\r
+ "y": 325,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "e0088aed.90cab8",\r
- "1c511732.20d971",\r
- "948f74b1.a9b47"\r
+ "7c83a2e6.7b4dd4",\r
+ "a7cc478b.7d146",\r
+ "a8bc27c3.c77fc8"\r
]\r
]\r
},\r
{\r
- "id": "e0088aed.90cab8",\r
+ "id": "7c83a2e6.7b4dd4",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2047,\r
- "y": 273,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2033,\r
+ "y": 289,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "a90c3215.92b4f8"\r
+ "9d15862c.acb858"\r
]\r
]\r
},\r
{\r
- "id": "1c511732.20d971",\r
+ "id": "a7cc478b.7d146",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2047.490966796875,\r
- "y": 318.57403564453125,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2033.490966796875,\r
+ "y": 334.57403564453125,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "4591cc1.5281eb4"\r
+ "c922168b.4d46c"\r
]\r
]\r
},\r
{\r
- "id": "948f74b1.a9b47",\r
+ "id": "a8bc27c3.c77fc8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2045,\r
- "y": 362,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2031,\r
+ "y": 378,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "1ba65af4.0c86f5"\r
+ "b9e1cde3.aaa95"\r
]\r
]\r
},\r
{\r
- "id": "4591cc1.5281eb4",\r
+ "id": "c922168b.4d46c",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2210.0623779296875,\r
- "y": 318.8597717285156,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2196.0623779296875,\r
+ "y": 334.8597717285156,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "1ba65af4.0c86f5",\r
+ "id": "b9e1cde3.aaa95",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2214,\r
- "y": 363,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2200,\r
+ "y": 379,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "782d486c.7b38a",\r
+ "id": "2b1e22a1.17a9f6",\r
"type": "save",\r
"name": "get vpn-binding from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2520,\r
- "y": 362,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2506,\r
+ "y": 378,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "15707889.fb5fe7",\r
- "3ccb184b.88e97",\r
- "5e6c2e34.e2f08"\r
+ "18102e44.c2508a",\r
+ "21816052.be64e8",\r
+ "241de628.b25112"\r
]\r
]\r
},\r
{\r
- "id": "d4d2edf0.a9661",\r
+ "id": "93757346.0f3e2",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2904,\r
- "y": 362,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2890,\r
+ "y": 378,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "c5e1a2b5.98a7e",\r
- "2ecd6ddc.b6312a",\r
- "ac181d39.64071",\r
- "31912d21.99f9da"\r
+ "77e4f011.15fc4",\r
+ "2c86ef39.d526a",\r
+ "76429f4b.07b2a8",\r
+ "6cc7e2bb.560604"\r
]\r
]\r
},\r
{\r
- "id": "15707889.fb5fe7",\r
+ "id": "18102e44.c2508a",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2731,\r
- "y": 364,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2717,\r
+ "y": 380,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "d4d2edf0.a9661"\r
+ "93757346.0f3e2"\r
]\r
]\r
},\r
{\r
- "id": "3ccb184b.88e97",\r
+ "id": "21816052.be64e8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2731.490966796875,\r
- "y": 409.57403564453125,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2717.490966796875,\r
+ "y": 425.57403564453125,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "3858d983.a7895e"\r
+ "f6b9e29.dd4472"\r
]\r
]\r
},\r
{\r
- "id": "5e6c2e34.e2f08",\r
+ "id": "241de628.b25112",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2729,\r
- "y": 453,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2715,\r
+ "y": 469,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "399a5685.b9c2da"\r
+ "d2d6733.abb0d9"\r
]\r
]\r
},\r
{\r
- "id": "399a5685.b9c2da",\r
+ "id": "d2d6733.abb0d9",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2896,\r
- "y": 452,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2882,\r
+ "y": 468,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "3858d983.a7895e",\r
+ "id": "f6b9e29.dd4472",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2894.0623779296875,\r
- "y": 409.8597717285156,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2880.0623779296875,\r
+ "y": 425.8597717285156,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "a90c3215.92b4f8",\r
+ "id": "9d15862c.acb858",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2248,\r
- "y": 268,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2234,\r
+ "y": 284,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "3cc76d7e.6842ea"\r
+ "732b4cc0.91b37c"\r
]\r
]\r
},\r
{\r
- "id": "3cc76d7e.6842ea",\r
+ "id": "732b4cc0.91b37c",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2453,\r
- "y": 268,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2439,\r
+ "y": 284,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "ff010487.c79c18"\r
+ "cb7e44a7.8a59"\r
]\r
]\r
},\r
{\r
- "id": "ff010487.c79c18",\r
+ "id": "cb7e44a7.8a59",\r
"type": "outcome",\r
"name": "vpn-binding",\r
"xml": "<outcome value='vpn-binding'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2619,\r
- "y": 268,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2605,\r
+ "y": 284,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "157282a.839557d"\r
+ "3789a9eb.0ef24e"\r
]\r
]\r
},\r
{\r
- "id": "157282a.839557d",\r
+ "id": "3789a9eb.0ef24e",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2782,\r
- "y": 268,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 2768,\r
+ "y": 284,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "782d486c.7b38a"\r
+ "2b1e22a1.17a9f6"\r
]\r
]\r
},\r
{\r
- "id": "c5e1a2b5.98a7e",\r
+ "id": "77e4f011.15fc4",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-binding.src-access-node-id`\" />\n",\r
"comments": "",\r
- "x": 3119,\r
- "y": 72,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3105,\r
+ "y": 88,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "2ecd6ddc.b6312a",\r
+ "id": "2c86ef39.d526a",\r
"type": "get-resource",\r
"name": "get-resource src pnf",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3145,\r
- "y": 189,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3131,\r
+ "y": 205,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "ca0e4afa.297db8",\r
- "cbb19a06.cce2d",\r
- "10037902.a01617"\r
+ "dca54f5.5973b3",\r
+ "fc504d63.ef84",\r
+ "13ebc65.3fdb33a"\r
]\r
]\r
},\r
{\r
- "id": "ca0e4afa.297db8",\r
+ "id": "dca54f5.5973b3",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3340.5001220703125,\r
- "y": 141,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3326.5001220703125,\r
+ "y": 157,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "82598cca.05691"\r
+ "77882641.430388"\r
]\r
]\r
},\r
{\r
- "id": "cbb19a06.cce2d",\r
+ "id": "fc504d63.ef84",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3332.5001220703125,\r
- "y": 196,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3318.5001220703125,\r
+ "y": 212,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "3a772cbc.39a31c"\r
+ "a8ee2b92.3df2"\r
]\r
]\r
},\r
{\r
- "id": "82598cca.05691",\r
+ "id": "77882641.430388",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3484.8824462890625,\r
- "y": 140.65567016601562,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3470.8824462890625,\r
+ "y": 156.65567016601562,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "b1b02bec.6d78a8"\r
+ "cc921f58.3bd8b8"\r
]\r
]\r
},\r
{\r
- "id": "b1b02bec.6d78a8",\r
+ "id": "cc921f58.3bd8b8",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3669,\r
- "y": 139,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3655,\r
+ "y": 155,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "cda97533.ab0b4"\r
+ "72a85062.4c34f8"\r
]\r
]\r
},\r
{\r
- "id": "cda97533.ab0b4",\r
+ "id": "72a85062.4c34f8",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3864,\r
- "y": 139,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3850,\r
+ "y": 155,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "60c8c7.3864ef38"\r
+ "2455d1ba.682ede"\r
]\r
]\r
},\r
{\r
- "id": "10037902.a01617",\r
+ "id": "13ebc65.3fdb33a",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3337.5001220703125,\r
- "y": 253,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3323.5001220703125,\r
+ "y": 269,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "cae2235d.64e0e8"\r
+ "5ec35efc.fc0da8"\r
]\r
]\r
},\r
{\r
- "id": "cae2235d.64e0e8",\r
+ "id": "5ec35efc.fc0da8",\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": 3489.5001220703125,\r
- "y": 254,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3475.5001220703125,\r
+ "y": 270,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "3a772cbc.39a31c",\r
+ "id": "a8ee2b92.3df2",\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": 3500.5001220703125,\r
- "y": 197,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3486.5001220703125,\r
+ "y": 213,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "3932cb1e.2bf12c",\r
+ "id": "c867d9b4.e35b28",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4452,\r
- "y": 156,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4438,\r
+ "y": 172,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "df685905.e165b",\r
- "98483c83.1f67f",\r
- "34f5861b.c6c222"\r
+ "d6e555b3.ae89f8",\r
+ "ff096fed.6932c",\r
+ "507b0c57.90eac4"\r
]\r
]\r
},\r
{\r
- "id": "9b3be3e2.33ea88",\r
+ "id": "e8e1d1d2.3bd27",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4246,\r
- "y": 143,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4232,\r
+ "y": 159,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "8f73936e.04261",\r
- "3932cb1e.2bf12c",\r
- "dea89443.748068"\r
+ "984b6b80.85eb28",\r
+ "c867d9b4.e35b28",\r
+ "ad75bc9f.423928"\r
]\r
]\r
},\r
{\r
- "id": "8f73936e.04261",\r
+ "id": "984b6b80.85eb28",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domain id",\r
"xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 4482,\r
- "y": 104,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4468,\r
+ "y": 120,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "df685905.e165b",\r
+ "id": "d6e555b3.ae89f8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4662,\r
- "y": 147,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4648,\r
+ "y": 163,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "6f3db9ae.c9f3c"\r
+ "c77140eb.28cae"\r
]\r
]\r
},\r
{\r
- "id": "98483c83.1f67f",\r
+ "id": "ff096fed.6932c",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4654,\r
- "y": 202,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4640,\r
+ "y": 218,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "deb93f9d.19a93"\r
+ "398208f1.a535d"\r
]\r
]\r
},\r
{\r
- "id": "34f5861b.c6c222",\r
+ "id": "507b0c57.90eac4",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4659,\r
- "y": 259,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4645,\r
+ "y": 275,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "e2596edd.60dea"\r
+ "5db92f44.b3b368"\r
]\r
]\r
},\r
{\r
- "id": "e2596edd.60dea",\r
+ "id": "5db92f44.b3b368",\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": 4811,\r
- "y": 260,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4797,\r
+ "y": 276,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "deb93f9d.19a93",\r
+ "id": "398208f1.a535d",\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": 4822,\r
- "y": 205,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4808,\r
+ "y": 221,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "6f3db9ae.c9f3c",\r
+ "id": "c77140eb.28cae",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4806.38232421875,\r
- "y": 144.65567016601562,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4792.38232421875,\r
+ "y": 160.65567016601562,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "ba0d3a6b.6f8058"\r
+ "a91b7f99.6e2d28"\r
]\r
]\r
},\r
{\r
- "id": "60c8c7.3864ef38",\r
+ "id": "2455d1ba.682ede",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4067,\r
- "y": 143,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4053,\r
+ "y": 159,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "9b3be3e2.33ea88"\r
+ "e8e1d1d2.3bd27"\r
]\r
]\r
},\r
{\r
- "id": "ba0d3a6b.6f8058",\r
+ "id": "a91b7f99.6e2d28",\r
"type": "set",\r
"name": "set controller domain data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
"comments": "",\r
- "x": 5021,\r
- "y": 141,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 5007,\r
+ "y": 157,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "dea89443.748068",\r
+ "id": "ad75bc9f.423928",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4402,\r
- "y": 220,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4388,\r
+ "y": 236,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "ebf8dd2b.b4f9e8",\r
+ "id": "166b8d0a.b5831b",\r
"type": "execute",\r
"name": "execute RestApiCallNode Delete ethernet Service without token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3780,\r
- "y": 569,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3766,\r
+ "y": 585,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "aec92995.7e9f5",\r
- "4c597ddc.e2cc64"\r
+ "b8398bf9.b49e9",\r
+ "27d2dbd5.61793c"\r
]\r
]\r
},\r
{\r
- "id": "aec92995.7e9f5",\r
+ "id": "b8398bf9.b49e9",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4126.5,\r
- "y": 562,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4112.5,\r
+ "y": 578,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "1a195df1.8c796a"\r
+ "3e628567.b7364a"\r
]\r
]\r
},\r
{\r
- "id": "4c597ddc.e2cc64",\r
+ "id": "27d2dbd5.61793c",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4130.5,\r
- "y": 602,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4116.5,\r
+ "y": 618,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "5902bc86.ae718c"\r
+ "7168ea95.0ebd84"\r
]\r
]\r
},\r
{\r
- "id": "5902bc86.ae718c",\r
+ "id": "7168ea95.0ebd84",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4288,\r
- "y": 602,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4274,\r
+ "y": 618,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "a5eabc9d.2ead",\r
- "845fd62d.b8a278"\r
+ "f83800f1.842c8",\r
+ "f7f5fb91.6043d8"\r
]\r
]\r
},\r
{\r
- "id": "1a195df1.8c796a",\r
+ "id": "3e628567.b7364a",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
"comments": "",\r
- "x": 4284.5,\r
- "y": 562,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4270.5,\r
+ "y": 578,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "a5eabc9d.2ead",\r
+ "id": "f83800f1.842c8",\r
"type": "save",\r
"name": "update vpn-binding resource (aka. OTN domainA) in AAI",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n\n<parameter name='operational-status' value='Deactivated' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4616.5,\r
- "y": 602,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4602.5,\r
+ "y": 618,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "845fd62d.b8a278",\r
+ "id": "f7f5fb91.6043d8",\r
"type": "save",\r
"name": "update connectivity resource in AAI",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Deactivated' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4543.5,\r
- "y": 648,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 4529.5,\r
+ "y": 664,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ac181d39.64071",\r
+ "id": "76429f4b.07b2a8",\r
"type": "execute",\r
"name": "execute RestApiCallNode Delete OTN tunnel with token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3248,\r
- "y": 456,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3234,\r
+ "y": 472,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "2d9a43b7.aafd44",\r
- "70183a3.2a6c244"\r
+ "a5d8b39e.03bbe",\r
+ "dd9b666a.742b78"\r
]\r
]\r
},\r
{\r
- "id": "2d9a43b7.aafd44",\r
+ "id": "a5d8b39e.03bbe",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3580.5,\r
- "y": 426,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3566.5,\r
+ "y": 442,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "2ca3b71b.283058"\r
+ "2667a800.f5f9"\r
]\r
]\r
},\r
{\r
- "id": "70183a3.2a6c244",\r
+ "id": "dd9b666a.742b78",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3585.5,\r
- "y": 491,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3571.5,\r
+ "y": 507,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "7560af7d.2c0028"\r
+ "91bc4eb8.d42b1"\r
]\r
]\r
},\r
{\r
- "id": "2ca3b71b.283058",\r
+ "id": "2667a800.f5f9",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing delete OTN tunnel rest api\" />\n",\r
"comments": "",\r
- "x": 3756.5,\r
- "y": 426,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3742.5,\r
+ "y": 442,\r
+ "z": "973adb8c.e1e518",\r
"wires": []\r
},\r
{\r
- "id": "7560af7d.2c0028",\r
+ "id": "91bc4eb8.d42b1",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3752,\r
- "y": 491,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3738,\r
+ "y": 507,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "31912d21.99f9da",\r
+ "id": "6cc7e2bb.560604",\r
"type": "switchNode",\r
"name": "switch connectivity has ethernet service",\r
"xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3186,\r
- "y": 591,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3172,\r
+ "y": 607,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "8e1bec91.730a68",\r
- "6d4b827f.139444"\r
+ "7c7f58f1.31378",\r
+ "4913f8dd.a3519"\r
]\r
]\r
},\r
{\r
- "id": "6d4b827f.139444",\r
+ "id": "4913f8dd.a3519",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3439,\r
- "y": 569,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3425,\r
+ "y": 585,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[\r
- "ebf8dd2b.b4f9e8"\r
+ "166b8d0a.b5831b"\r
]\r
]\r
},\r
{\r
- "id": "8e1bec91.730a68",\r
+ "id": "7c7f58f1.31378",\r
"type": "outcome",\r
"name": "Null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3439,\r
- "y": 625,\r
- "z": "429f9ba7.310ba4",\r
+ "x": 3425,\r
+ "y": 641,\r
+ "z": "973adb8c.e1e518",\r
"wires": [\r
[]\r
]\r
[\r
{\r
- "id": "5a4a886b.6438b8",\r
+ "id": "1ffbc02a.2de6d",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 118,\r
- "y": 82,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 133,\r
+ "y": 76,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "2fc91b3e.7646fc"\r
+ "74e0b2b2.75108c"\r
]\r
]\r
},\r
{\r
- "id": "2fc91b3e.7646fc",\r
+ "id": "74e0b2b2.75108c",\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": 249.2856903076172,\r
- "y": 131.23810863494873,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 264.2856903076172,\r
+ "y": 125.23810863494873,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "1c977ea2.89d1e9"\r
+ "f846ccbd.4406d8"\r
]\r
]\r
},\r
{\r
- "id": "1c977ea2.89d1e9",\r
+ "id": "f846ccbd.4406d8",\r
"type": "method",\r
"name": "method tsli-vnf-topology-operation-trans-slice-delete",\r
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-delete' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 252.42861938476562,\r
- "y": 216.00003242492676,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 267.4286193847656,\r
+ "y": 210.00003242492676,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "8ce10b59.587f08"\r
+ "dc51143b.674018"\r
]\r
]\r
},\r
{\r
- "id": "8ce10b59.587f08",\r
+ "id": "dc51143b.674018",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 402.238037109375,\r
- "y": 345.6666564941406,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 417.238037109375,\r
+ "y": 339.6666564941406,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "c14a5da1.726bc8",\r
- "f7f11593.991128",\r
- "fbeb2897.5d3ca"\r
+ "45b2aaee.4a9d2c",\r
+ "3e78a125.3512fe",\r
+ "45ccee1d.26f07"\r
]\r
]\r
},\r
{\r
- "id": "c14a5da1.726bc8",\r
+ "id": "45b2aaee.4a9d2c",\r
"type": "returnSuccess",\r
"name": "return success",\r
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
"comments": "",\r
- "x": 698.5716552734375,\r
- "y": 622.59716796875,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 713.5716552734375,\r
+ "y": 616.59716796875,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "86779e76.e7bc38",\r
+ "id": "9ea4d60.c51a0a8",\r
"type": "comment",\r
"name": "new for TransportSlicing",\r
"info": "",\r
"comments": "",\r
- "x": 730,\r
- "y": 297,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 745,\r
+ "y": 291,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "f7f11593.991128",\r
+ "id": "3e78a125.3512fe",\r
"type": "save",\r
"name": "get service-instance from aai",\r
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n \n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--vnf-topology-operation-input.service-information.service-instance-id-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 750,\r
- "y": 393,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 765,\r
+ "y": 387,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "6ad861a9.030e08",\r
- "37e2fd06.c6c79a",\r
- "2beeb8ca.34f3f"\r
+ "86ee6067.0c17a8",\r
+ "bf4bb2c3.815168",\r
+ "ac6196ae.1ef19"\r
]\r
]\r
},\r
{\r
- "id": "6ad861a9.030e08",\r
+ "id": "86ee6067.0c17a8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 969,\r
- "y": 331,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 984,\r
+ "y": 325,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "c860abc6.0b576"\r
+ "eb95b4de.4ca18"\r
]\r
]\r
},\r
{\r
- "id": "37e2fd06.c6c79a",\r
+ "id": "bf4bb2c3.815168",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 978.490966796875,\r
- "y": 373.57403564453125,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 993.490966796875,\r
+ "y": 367.57403564453125,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "7a133195.09b68"\r
+ "4da0ff5c.9fdf8"\r
]\r
]\r
},\r
{\r
- "id": "2beeb8ca.34f3f",\r
+ "id": "ac6196ae.1ef19",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 967,\r
- "y": 420,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 982,\r
+ "y": 414,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "f9d75edb.c19d18"\r
+ "49170b5b.8b327c"\r
]\r
]\r
},\r
{\r
- "id": "7a133195.09b68",\r
+ "id": "4da0ff5c.9fdf8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 1132.0623779296875,\r
- "y": 376.8597717285156,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 1147.0623779296875,\r
+ "y": 370.8597717285156,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "f9d75edb.c19d18",\r
+ "id": "49170b5b.8b327c",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1136,\r
- "y": 421,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 1151,\r
+ "y": 415,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "c860abc6.0b576",\r
+ "id": "eb95b4de.4ca18",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1166,\r
- "y": 327,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 1181,\r
+ "y": 321,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "f376992c.11dc58"\r
+ "4f2c512c.91fb8"\r
]\r
]\r
},\r
{\r
- "id": "f376992c.11dc58",\r
+ "id": "4f2c512c.91fb8",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1389.33349609375,\r
- "y": 326.99993896484375,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 1404.33349609375,\r
+ "y": 320.99993896484375,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "8db70c24.1a1f5"\r
+ "fa463b5.38a29c8"\r
]\r
]\r
},\r
{\r
- "id": "8db70c24.1a1f5",\r
+ "id": "fa463b5.38a29c8",\r
"type": "outcome",\r
"name": "connectivity",\r
"xml": "<outcome value='connectivity'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1590.0001335144043,\r
- "y": 328.00002098083496,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 1605.0001335144043,\r
+ "y": 322.00002098083496,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "5dc8f559.ac7c5c"\r
+ "e51d2b5.f353758"\r
]\r
]\r
},\r
{\r
- "id": "fbeb2897.5d3ca",\r
+ "id": "45ccee1d.26f07",\r
"type": "execute",\r
"name": "execute properties",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 716,\r
- "y": 341,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 731,\r
+ "y": 335,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "5dc8f559.ac7c5c",\r
+ "id": "e51d2b5.f353758",\r
"type": "save",\r
"name": "get connectivity from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1828,\r
- "y": 330,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 1843,\r
+ "y": 324,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "17e90170.66a2cf",\r
- "46c095c4.314d14",\r
- "64e3b5e2.26b114"\r
+ "bd96538d.fc9d98",\r
+ "d296a5a5.03f2d8",\r
+ "59d0b561.049ff4"\r
]\r
]\r
},\r
{\r
- "id": "17e90170.66a2cf",\r
+ "id": "bd96538d.fc9d98",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2036,\r
- "y": 294,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2051,\r
+ "y": 288,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "c90d8c84.a14a1"\r
+ "a935f75b.7b8ae8"\r
]\r
]\r
},\r
{\r
- "id": "46c095c4.314d14",\r
+ "id": "d296a5a5.03f2d8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2036.490966796875,\r
- "y": 339.57403564453125,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2051.490966796875,\r
+ "y": 333.57403564453125,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "3f9ff972.5c8816"\r
+ "b4d9ea13.dc5c6"\r
]\r
]\r
},\r
{\r
- "id": "64e3b5e2.26b114",\r
+ "id": "59d0b561.049ff4",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2034,\r
- "y": 383,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2049,\r
+ "y": 377,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "6b417e35.8fa86"\r
+ "cc59ead5.ab58f"\r
]\r
]\r
},\r
{\r
- "id": "3f9ff972.5c8816",\r
+ "id": "b4d9ea13.dc5c6",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2199.0623779296875,\r
- "y": 339.8597717285156,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2214.0623779296875,\r
+ "y": 333.8597717285156,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "6b417e35.8fa86",\r
+ "id": "cc59ead5.ab58f",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2203,\r
- "y": 384,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2218,\r
+ "y": 378,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "62f4640b.361d2c",\r
+ "id": "2055e9c.9575d16",\r
"type": "save",\r
"name": "get vpn-binding from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2509,\r
- "y": 383,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2524,\r
+ "y": 377,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "41f800bd.97bbd8",\r
- "3588ab7d.ccee3c",\r
- "5014f1b1.a66d2"\r
+ "1719bc42.5de0cc",\r
+ "b2907373.b3b1a",\r
+ "fb17b477.f9109"\r
]\r
]\r
},\r
{\r
- "id": "9b1454f6.71587",\r
+ "id": "c87f5113.e0af38",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2893,\r
- "y": 383,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2908,\r
+ "y": 377,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "3ec88632.a3afda",\r
- "ef2eaf52.5162b",\r
- "74648c00.009a34",\r
- "176c3740.91c4e1",\r
- "a43ffa2e.f43268",\r
- "b74320f6.969fd8",\r
- "2043f8a6.e6867"\r
+ "1985ee34.d96bba",\r
+ "52698c53.01b1dc",\r
+ "6e17a44c.f8e15c",\r
+ "9562cdef.811fc8",\r
+ "51f18b3b.809efc",\r
+ "9405a159.40925",\r
+ "e776447c.da84c8"\r
]\r
]\r
},\r
{\r
- "id": "41f800bd.97bbd8",\r
+ "id": "1719bc42.5de0cc",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2720,\r
- "y": 385,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2735,\r
+ "y": 379,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "9b1454f6.71587"\r
+ "c87f5113.e0af38"\r
]\r
]\r
},\r
{\r
- "id": "3588ab7d.ccee3c",\r
+ "id": "b2907373.b3b1a",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2720.490966796875,\r
- "y": 430.57403564453125,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2735.490966796875,\r
+ "y": 424.57403564453125,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "f5b7e34a.e6a3a"\r
+ "34c1a665.03471a"\r
]\r
]\r
},\r
{\r
- "id": "5014f1b1.a66d2",\r
+ "id": "fb17b477.f9109",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2718,\r
- "y": 474,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2733,\r
+ "y": 468,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "dad8e49f.e5f9b8"\r
+ "8d4bf215.03d04"\r
]\r
]\r
},\r
{\r
- "id": "dad8e49f.e5f9b8",\r
+ "id": "8d4bf215.03d04",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2885,\r
- "y": 473,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2900,\r
+ "y": 467,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "f5b7e34a.e6a3a",\r
+ "id": "34c1a665.03471a",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2883.0623779296875,\r
- "y": 430.8597717285156,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2898.0623779296875,\r
+ "y": 424.8597717285156,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "c90d8c84.a14a1",\r
+ "id": "a935f75b.7b8ae8",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2237,\r
- "y": 289,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2252,\r
+ "y": 283,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "304af23b.91e62e"\r
+ "67091bed.864304"\r
]\r
]\r
},\r
{\r
- "id": "304af23b.91e62e",\r
+ "id": "67091bed.864304",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2442,\r
- "y": 289,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2457,\r
+ "y": 283,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "a73bd099.6c0378"\r
+ "4e4ac25c.008624"\r
]\r
]\r
},\r
{\r
- "id": "a73bd099.6c0378",\r
+ "id": "4e4ac25c.008624",\r
"type": "outcome",\r
"name": "vpn-binding",\r
"xml": "<outcome value='vpn-binding'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2608,\r
- "y": 289,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2623,\r
+ "y": 283,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "98e41266.eb692"\r
+ "7c62e56b.ccfd7c"\r
]\r
]\r
},\r
{\r
- "id": "98e41266.eb692",\r
+ "id": "7c62e56b.ccfd7c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2771,\r
- "y": 289,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 2786,\r
+ "y": 283,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "62f4640b.361d2c"\r
+ "2055e9c.9575d16"\r
]\r
]\r
},\r
{\r
- "id": "3ec88632.a3afda",\r
+ "id": "1985ee34.d96bba",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-binding.src-access-node-id`\" />\n",\r
"comments": "",\r
- "x": 3108,\r
- "y": 93,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3123,\r
+ "y": 87,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "ef2eaf52.5162b",\r
+ "id": "52698c53.01b1dc",\r
"type": "get-resource",\r
"name": "get-resource src pnf",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3134,\r
- "y": 210,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3149,\r
+ "y": 204,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "d4d69c61.a67388",\r
- "cc6ec5bd.14d058",\r
- "7b98c47b.75268c"\r
+ "df3dfd24.e7243",\r
+ "21f9901e.5c5cb",\r
+ "23d5d99c.1069c6"\r
]\r
]\r
},\r
{\r
- "id": "d4d69c61.a67388",\r
+ "id": "df3dfd24.e7243",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3329.5001220703125,\r
- "y": 162,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3344.5001220703125,\r
+ "y": 156,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "6766d137.85bc78"\r
+ "b45e1015.15138"\r
]\r
]\r
},\r
{\r
- "id": "cc6ec5bd.14d058",\r
+ "id": "21f9901e.5c5cb",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3321.5001220703125,\r
- "y": 217,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3336.5001220703125,\r
+ "y": 211,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "e5b8c6a7.d0685"\r
+ "77f6a688.81ce38"\r
]\r
]\r
},\r
{\r
- "id": "6766d137.85bc78",\r
+ "id": "b45e1015.15138",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3473.8824462890625,\r
- "y": 161.65567016601562,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3488.8824462890625,\r
+ "y": 155.65567016601562,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "6ec2253c.e8e2fc"\r
+ "a3edca1c.ba087"\r
]\r
]\r
},\r
{\r
- "id": "6ec2253c.e8e2fc",\r
+ "id": "a3edca1c.ba087",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3658,\r
- "y": 160,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3673,\r
+ "y": 154,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "8bfd549d.ff7578"\r
+ "db4aebfd.10c0f"\r
]\r
]\r
},\r
{\r
- "id": "8bfd549d.ff7578",\r
+ "id": "db4aebfd.10c0f",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3853,\r
- "y": 160,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3868,\r
+ "y": 154,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "e0432128.bf189"\r
+ "47e44765.fd9158"\r
]\r
]\r
},\r
{\r
- "id": "7b98c47b.75268c",\r
+ "id": "23d5d99c.1069c6",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3326.5001220703125,\r
- "y": 274,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3341.5001220703125,\r
+ "y": 268,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "a0edf332.814bd"\r
+ "4952922a.0e6edc"\r
]\r
]\r
},\r
{\r
- "id": "a0edf332.814bd",\r
+ "id": "4952922a.0e6edc",\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": 3478.5001220703125,\r
- "y": 275,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3493.5001220703125,\r
+ "y": 269,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "e5b8c6a7.d0685",\r
+ "id": "77f6a688.81ce38",\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": 3489.5001220703125,\r
- "y": 218,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3504.5001220703125,\r
+ "y": 212,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "e1454ec0.76085",\r
+ "id": "fa4dfe6b.cee79",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4441,\r
- "y": 177,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4456,\r
+ "y": 171,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "d8d8f637.323998",\r
- "a47d1ee9.cdd92",\r
- "e6ec849b.7b7268"\r
+ "cbb209f7.a6664",\r
+ "74e5e9b0.d9729",\r
+ "a328bb91.cda89"\r
]\r
]\r
},\r
{\r
- "id": "682b00ad.3f22e",\r
+ "id": "3f03e2fb.b5f81e",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4235,\r
- "y": 164,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4250,\r
+ "y": 158,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "e9dde318.2ce9c8",\r
- "e1454ec0.76085",\r
- "d1046ced.fbcef8"\r
+ "8d9a188f.1a7a4",\r
+ "fa4dfe6b.cee79",\r
+ "920b64ba.47efa"\r
]\r
]\r
},\r
{\r
- "id": "e9dde318.2ce9c8",\r
+ "id": "8d9a188f.1a7a4",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domain id",\r
"xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 4471,\r
- "y": 125,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4486,\r
+ "y": 119,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "d8d8f637.323998",\r
+ "id": "cbb209f7.a6664",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4651,\r
- "y": 168,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4666,\r
+ "y": 162,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "d20b8026.ed11d"\r
+ "d166346a.002478"\r
]\r
]\r
},\r
{\r
- "id": "a47d1ee9.cdd92",\r
+ "id": "74e5e9b0.d9729",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4643,\r
- "y": 223,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4658,\r
+ "y": 217,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "8f556dc3.062b5"\r
+ "73697be7.45641c"\r
]\r
]\r
},\r
{\r
- "id": "e6ec849b.7b7268",\r
+ "id": "a328bb91.cda89",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4648,\r
- "y": 280,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4663,\r
+ "y": 274,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "c00b4c05.8ab27"\r
+ "482cf24f.1774ec"\r
]\r
]\r
},\r
{\r
- "id": "c00b4c05.8ab27",\r
+ "id": "482cf24f.1774ec",\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": 4800,\r
- "y": 281,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4815,\r
+ "y": 275,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "8f556dc3.062b5",\r
+ "id": "73697be7.45641c",\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": 4811,\r
- "y": 226,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4826,\r
+ "y": 220,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "d20b8026.ed11d",\r
+ "id": "d166346a.002478",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4795.38232421875,\r
- "y": 165.65567016601562,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4810.38232421875,\r
+ "y": 159.65567016601562,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "3c8da8b7.eb2a3"\r
+ "2f421760.45d288"\r
]\r
]\r
},\r
{\r
- "id": "e0432128.bf189",\r
+ "id": "47e44765.fd9158",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4056,\r
- "y": 164,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4071,\r
+ "y": 158,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "682b00ad.3f22e"\r
+ "3f03e2fb.b5f81e"\r
]\r
]\r
},\r
{\r
- "id": "3c8da8b7.eb2a3",\r
+ "id": "2f421760.45d288",\r
"type": "set",\r
"name": "set controller domain data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
"comments": "",\r
- "x": 5010,\r
- "y": 162,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 5025,\r
+ "y": 156,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "d1046ced.fbcef8",\r
+ "id": "920b64ba.47efa",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4391,\r
- "y": 241,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4406,\r
+ "y": 235,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "b74320f6.969fd8",\r
+ "id": "9405a159.40925",\r
"type": "execute",\r
"name": "execute RestApiCallNode Delete transport slice without token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-optical-slice:deallocate-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"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`\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3258,\r
- "y": 508,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3273,\r
+ "y": 502,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "5f11d071.d597d8",\r
- "2c04f9a8.8e1bee"\r
+ "ecacf915.574818",\r
+ "e290fc99.96c1d8"\r
]\r
]\r
},\r
{\r
- "id": "5f11d071.d597d8",\r
+ "id": "ecacf915.574818",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3601.5,\r
- "y": 503,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3616.5,\r
+ "y": 497,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "bc1a033f.a0f87"\r
+ "6c0fb618.3be698"\r
]\r
]\r
},\r
{\r
- "id": "2c04f9a8.8e1bee",\r
+ "id": "e290fc99.96c1d8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3605.5,\r
- "y": 543,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3620.5,\r
+ "y": 537,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "14490b55.121775"\r
+ "735428f1.2ceb3"\r
]\r
]\r
},\r
{\r
- "id": "14490b55.121775",\r
+ "id": "735428f1.2ceb3",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3763,\r
- "y": 543,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3778,\r
+ "y": 537,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "bc1a033f.a0f87",\r
+ "id": "6c0fb618.3be698",\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 deallocate transport slice rest api\" />\n",\r
"comments": "",\r
- "x": 3759.5,\r
- "y": 503,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3774.5,\r
+ "y": 497,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "74648c00.009a34",\r
+ "id": "6e17a44c.f8e15c",\r
"type": "set",\r
"name": "set attachment_param for TN NSSSI deleteion in PNC",\r
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
"comments": "",\r
- "x": 3234,\r
- "y": 383,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3249,\r
+ "y": 377,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "176c3740.91c4e1",\r
+ "id": "9562cdef.811fc8",\r
"type": "save",\r
"name": "delete connectivity resource in AAI",\r
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3164,\r
- "y": 818,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3179,\r
+ "y": 812,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a43ffa2e.f43268",\r
+ "id": "51f18b3b.809efc",\r
"type": "save",\r
"name": "delete vpn-binding resource in AAI",\r
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3160,\r
- "y": 862,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3175,\r
+ "y": 856,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2ee33a01.a56356",\r
+ "id": "9ec21c40.e14a88",\r
"type": "execute",\r
"name": "execute RestApiCallNode domain UNI deColoring",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-network:networks/network=networkId-providerId-' + $tmp.aai.connectivity.access-provider-id + '-clientId-' + $tmp.aai.connectivity.access-client-id + '-topologyId-' + $tmp.aai.connectivity.access-topology-id + '/node=' + $tmp.aai.connectivity.access-node-id + '/ietf-network-topology:termination-point=' + $tmp.aai.connectivity.access-ltp-id + '/ietf-te-topology:te/ietf-optical-slice:slice-id-list=' + $slice-instance-id `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3744,\r
- "y": 682,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3759,\r
+ "y": 676,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "708d25c4.9f039c",\r
- "9fd83c73.a107c"\r
+ "f05a4dc0.054df",\r
+ "f0f39295.b7b9a8"\r
]\r
]\r
},\r
{\r
- "id": "9fd83c73.a107c",\r
+ "id": "f0f39295.b7b9a8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4010,\r
- "y": 662,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4025,\r
+ "y": 656,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "a8d157b0.ef0838"\r
+ "b586e36a.93b3e8"\r
]\r
]\r
},\r
{\r
- "id": "708d25c4.9f039c",\r
+ "id": "f05a4dc0.054df",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4011.000213623047,\r
- "y": 712.9999094009399,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4026.000213623047,\r
+ "y": 706.9999094009399,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "aa9d5dd.46a2da"\r
+ "67ce9419.db502c"\r
]\r
]\r
},\r
{\r
- "id": "a8d157b0.ef0838",\r
+ "id": "b586e36a.93b3e8",\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 decoloring UNI rest api\" />\n",\r
"comments": "",\r
- "x": 4150.000247955322,\r
- "y": 662.0000009536743,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4165.000247955322,\r
+ "y": 656.0000009536743,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "aa9d5dd.46a2da",\r
+ "id": "67ce9419.db502c",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4156.02725982666,\r
- "y": 710.7453947067261,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 4171.02725982666,\r
+ "y": 704.7453947067261,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2043f8a6.e6867",\r
+ "id": "e776447c.da84c8",\r
"type": "switchNode",\r
"name": "switch connectivity has ethernet service",\r
"xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3193,\r
- "y": 699,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3208,\r
+ "y": 693,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "f28924af.d151d",\r
- "b67c4790.638238"\r
+ "a367a533.706f78",\r
+ "4d988de7.d09044"\r
]\r
]\r
},\r
{\r
- "id": "b67c4790.638238",\r
+ "id": "4d988de7.d09044",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3431,\r
- "y": 682,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3446,\r
+ "y": 676,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "2ee33a01.a56356"\r
+ "9ec21c40.e14a88"\r
]\r
]\r
},\r
{\r
- "id": "f28924af.d151d",\r
+ "id": "a367a533.706f78",\r
"type": "outcome",\r
"name": "Null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3443,\r
- "y": 749,\r
- "z": "d544e90d.c47ab8",\r
+ "x": 3458,\r
+ "y": 743,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r
[\r
{\r
- "id": "ac624e71.e83e6",\r
+ "id": "874ff500.a76198",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 171,\r
- "y": 64,\r
- "z": "df5c2cef.29f798",\r
+ "x": 129,\r
+ "y": 77,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "64be4f08.6aea"\r
+ "d5019c0d.28df28"\r
]\r
]\r
},\r
{\r
- "id": "64be4f08.6aea",\r
+ "id": "d5019c0d.28df28",\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": 396.2856903076172,\r
- "y": 138.23810863494873,\r
- "z": "df5c2cef.29f798",\r
+ "x": 354.2856903076172,\r
+ "y": 151.23810863494873,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "f27e10ce.472c98"\r
+ "cf3663ab.d505b8"\r
]\r
]\r
},\r
{\r
- "id": "f27e10ce.472c98",\r
+ "id": "cf3663ab.d505b8",\r
"type": "method",\r
"name": "method tsli-vnf-topology-operation-trans-slice-modify",\r
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-modify' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 402.42860412597656,\r
- "y": 223.00003051757812,\r
- "z": "df5c2cef.29f798",\r
+ "x": 360.42860412597656,\r
+ "y": 236.00003051757812,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "816a022.ba1e5"\r
+ "13ea815e.0d1c3f"\r
]\r
]\r
},\r
{\r
- "id": "816a022.ba1e5",\r
+ "id": "13ea815e.0d1c3f",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 772.238037109375,\r
- "y": 247.66668701171875,\r
- "z": "df5c2cef.29f798",\r
+ "x": 730.238037109375,\r
+ "y": 260.66668701171875,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "7291ffac.f47d98",\r
- "5b16d7f3.f39658",\r
- "984b7b53.1aa03"\r
+ "5ce9625d.05d25c",\r
+ "98411814.65c58",\r
+ "48043489.9f26f4"\r
]\r
]\r
},\r
{\r
- "id": "7291ffac.f47d98",\r
+ "id": "5ce9625d.05d25c",\r
"type": "returnSuccess",\r
"name": "return success",\r
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
"comments": "",\r
- "x": 1027.571533203125,\r
- "y": 401.59698486328125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 985.571533203125,\r
+ "y": 414.59698486328125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "5b16d7f3.f39658",\r
+ "id": "98411814.65c58",\r
"type": "save",\r
"name": "get service-instance from aai",\r
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1095,\r
- "y": 221,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1053,\r
+ "y": 234,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8db3edad.5b6268",\r
- "958fc136.3797b8",\r
- "401f18c4.3af048"\r
+ "899f7de0.012718",\r
+ "bf5ca541.5b386",\r
+ "44585e79.6d35d"\r
]\r
]\r
},\r
{\r
- "id": "8db3edad.5b6268",\r
+ "id": "899f7de0.012718",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1320,\r
- "y": 79,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1278,\r
+ "y": 92,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8cab1f9e.65c1d"\r
+ "63a35dfa.733074"\r
]\r
]\r
},\r
{\r
- "id": "958fc136.3797b8",\r
+ "id": "bf5ca541.5b386",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1315.490966796875,\r
- "y": 148.57403564453125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1273.490966796875,\r
+ "y": 161.57403564453125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "cfcd4dd6.dea03"\r
+ "5ca7f827.5517"\r
]\r
]\r
},\r
{\r
- "id": "401f18c4.3af048",\r
+ "id": "44585e79.6d35d",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1304,\r
- "y": 195,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1262,\r
+ "y": 208,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "d5a10454.2e80c"\r
+ "f51f087e.0d87d8"\r
]\r
]\r
},\r
{\r
- "id": "8cab1f9e.65c1d",\r
+ "id": "63a35dfa.733074",\r
"type": "switchNode",\r
"name": "switch allotted-resources_length != 0",\r
"xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1559,\r
- "y": 76,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1517,\r
+ "y": 89,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "70da458e.fda3bc",\r
- "6f3a2217.99f894"\r
+ "8b5f7eec.f199b",\r
+ "d7dba561.3c951"\r
]\r
]\r
},\r
{\r
- "id": "cfcd4dd6.dea03",\r
+ "id": "5ca7f827.5517",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 1469.0623779296875,\r
- "y": 151.85977172851562,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1427.0623779296875,\r
+ "y": 164.85977172851562,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "d5a10454.2e80c",\r
+ "id": "f51f087e.0d87d8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1473,\r
- "y": 196,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1431,\r
+ "y": 209,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "70da458e.fda3bc",\r
+ "id": "8b5f7eec.f199b",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1772,\r
- "y": 100,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1730,\r
+ "y": 113,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "bd2fd8a5.f00818"\r
+ "8ecf6cbb.a31c18"\r
]\r
]\r
},\r
{\r
- "id": "6f3a2217.99f894",\r
+ "id": "d7dba561.3c951",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1774,\r
- "y": 40,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1732,\r
+ "y": 53,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "37ce0108.16d956",\r
+ "id": "b7af42d7.d75c5",\r
"type": "comment",\r
"name": "new for TransportSlicing",\r
"info": "",\r
"comments": "",\r
- "x": 1074,\r
- "y": 109,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1032,\r
+ "y": 122,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "bd2fd8a5.f00818",\r
+ "id": "8ecf6cbb.a31c18",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1757,\r
- "y": 188,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1715,\r
+ "y": 201,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ec9312e3.eb3ca",\r
- "9b47cb2b.81e09",\r
- "adac8296.d1b27",\r
- "77439122.61f0b"\r
+ "8f80cd4e.6bb588",\r
+ "1ad0a363.7d61cd",\r
+ "2ea54daa.f8c89a",\r
+ "19fc5975.9c891f"\r
]\r
]\r
},\r
{\r
- "id": "e730d63c.e66e38",\r
+ "id": "4de4347b.ee4a6c",\r
"type": "set",\r
"name": "set network-route-A",\r
"xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />-->\n\n\n",\r
"comments": "",\r
- "x": 4286,\r
- "y": 789,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4244,\r
+ "y": 802,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "c64bfbc6.879f7",\r
+ "id": "195d5c42.a96a64",\r
"type": "set",\r
"name": "set network-route-B",\r
"xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
"comments": "",\r
- "x": 4287,\r
- "y": 844,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4245,\r
+ "y": 857,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "ff867076.ee06e",\r
+ "id": "8f1217ff.70176",\r
"type": "save",\r
"name": "get allotted-resource from aai",\r
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!-- AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2243,\r
- "y": 239,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2201,\r
+ "y": 252,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "5403527b.88731c",\r
- "8f1044d7.262e1",\r
- "fca4f411.30d608"\r
+ "56c46d50.0cfc0c",\r
+ "c740637e.1508b",\r
+ "d63f588b.18e9"\r
]\r
]\r
},\r
{\r
- "id": "5403527b.88731c",\r
+ "id": "56c46d50.0cfc0c",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2459,\r
- "y": 306,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2417,\r
+ "y": 319,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "c2edf5fc.e5137"\r
+ "576d8604.8f2d9"\r
]\r
]\r
},\r
{\r
- "id": "8f1044d7.262e1",\r
+ "id": "c740637e.1508b",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2459.490966796875,\r
- "y": 205.573974609375,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2417.490966796875,\r
+ "y": 218.573974609375,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "3217fee.d348a02"\r
+ "4e6f8b98.289464"\r
]\r
]\r
},\r
{\r
- "id": "fca4f411.30d608",\r
+ "id": "d63f588b.18e9",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2455,\r
- "y": 255,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2413,\r
+ "y": 268,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "f1099938.4bc92"\r
+ "cf03fd08.161968"\r
]\r
]\r
},\r
{\r
- "id": "3217fee.d348a02",\r
+ "id": "4e6f8b98.289464",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2637.0625,\r
- "y": 205.8597412109375,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2595.0625,\r
+ "y": 218.8597412109375,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "f1099938.4bc92",\r
+ "id": "cf03fd08.161968",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2637,\r
- "y": 255,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2595,\r
+ "y": 268,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "f5428168.15427",\r
+ "id": "520d2541.742f3c",\r
"type": "save",\r
"name": "get logical-link from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3512,\r
- "y": 760,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3470,\r
+ "y": 773,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "1fed7fd6.0c4fe",\r
- "f8799fe1.4abef8",\r
- "d188d9ec.71606"\r
+ "862d85b.a4a94f8",\r
+ "1732a1e5.237d0e",\r
+ "20df7142.af18a6"\r
]\r
]\r
},\r
{\r
- "id": "1fed7fd6.0c4fe",\r
+ "id": "862d85b.a4a94f8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3803.490966796875,\r
- "y": 738.573974609375,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3761.490966796875,\r
+ "y": 751.573974609375,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ffec4368.f8ba48"\r
+ "b900c0cd.a71608"\r
]\r
]\r
},\r
{\r
- "id": "f8799fe1.4abef8",\r
+ "id": "1732a1e5.237d0e",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3792,\r
- "y": 783,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3750,\r
+ "y": 796,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "151cf988.8ad956"\r
+ "b39978ef.c4e1"\r
]\r
]\r
},\r
{\r
- "id": "ffec4368.f8ba48",\r
+ "id": "b900c0cd.a71608",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 3952.0625,\r
- "y": 738.8597412109375,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3910.0625,\r
+ "y": 751.8597412109375,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "151cf988.8ad956",\r
+ "id": "b39978ef.c4e1",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 3951,\r
- "y": 783,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3909,\r
+ "y": 796,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "d188d9ec.71606",\r
+ "id": "20df7142.af18a6",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3798,\r
- "y": 830,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3756,\r
+ "y": 843,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "8fff13f1.763be8",\r
+ "id": "b394b52b.88d4f8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3952,\r
- "y": 869,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3910,\r
+ "y": 882,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "e730d63c.e66e38",\r
- "c64bfbc6.879f7",\r
- "c69cbeca.4faa",\r
- "2b820704.044208",\r
- "beecbbd2.7ea1a8",\r
- "a8912b98.c24c78",\r
- "9445731f.f1b8",\r
- "beaf21fd.396d98",\r
- "2829cd3e.73ff62",\r
- "7826fce9.171054",\r
- "b9213dab.6d883"\r
+ "4de4347b.ee4a6c",\r
+ "195d5c42.a96a64",\r
+ "f201f9ee.69f46",\r
+ "922f6ba7.94fc9",\r
+ "5c94cc42.b4c6e4",\r
+ "898ec19e.6e281",\r
+ "f986e215.6b3c08",\r
+ "4e189d8f.8297c4",\r
+ "c6ccb3e9.91ea18",\r
+ "6963f6fb.4a135",\r
+ "40ae5836.eda238"\r
]\r
]\r
},\r
{\r
- "id": "c69cbeca.4faa",\r
+ "id": "f201f9ee.69f46",\r
"type": "save",\r
"name": "get network-route-A from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4299,\r
- "y": 912,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4257,\r
+ "y": 925,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "d9da27fc.f85c4",\r
- "3045193c.0d7bae",\r
- "76f3dd2f.3c28d4"\r
+ "84f44b11.dfd248",\r
+ "cde6943a.45f4c",\r
+ "c0c26e2b.b056f"\r
]\r
]\r
},\r
{\r
- "id": "2b820704.044208",\r
+ "id": "922f6ba7.94fc9",\r
"type": "save",\r
"name": "get network-route-B from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4278,\r
- "y": 1513.9998779296875,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4236,\r
+ "y": 1526.9998779296875,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "25feaffc.acded8",\r
- "26743549.dc4b22",\r
- "ff50bd0e.ddbd08"\r
+ "13feb8ce.6f8f6f",\r
+ "6f75f930.e4c9a8",\r
+ "f4b40172.6e734"\r
]\r
]\r
},\r
{\r
- "id": "d9da27fc.f85c4",\r
+ "id": "84f44b11.dfd248",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4500,\r
- "y": 796,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4458,\r
+ "y": 809,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ba59ec84.99ac68"\r
+ "d5ccfec3.15cf68"\r
]\r
]\r
},\r
{\r
- "id": "3045193c.0d7bae",\r
+ "id": "cde6943a.45f4c",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4495.509033203125,\r
- "y": 845.426025390625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4453.509033203125,\r
+ "y": 858.426025390625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ad41c558.00f2a8"\r
+ "83e64e5.e0d02b"\r
]\r
]\r
},\r
{\r
- "id": "76f3dd2f.3c28d4",\r
+ "id": "c0c26e2b.b056f",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4499.509033203125,\r
- "y": 896.426025390625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4457.509033203125,\r
+ "y": 909.426025390625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ebc4d333.c786a8"\r
+ "fb264c22.bb1ad8"\r
]\r
]\r
},\r
{\r
- "id": "ba59ec84.99ac68",\r
+ "id": "d5ccfec3.15cf68",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 4648.571533203125,\r
- "y": 795.2857666015625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4606.571533203125,\r
+ "y": 808.2857666015625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "ad41c558.00f2a8",\r
+ "id": "83e64e5.e0d02b",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 4638.509033203125,\r
- "y": 845.426025390625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4596.509033203125,\r
+ "y": 858.426025390625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "25feaffc.acded8",\r
+ "id": "13feb8ce.6f8f6f",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4501,\r
- "y": 1483.9998779296875,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4459,\r
+ "y": 1496.9998779296875,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "2bc46d17.93cc82"\r
+ "ff077827.d85f38"\r
]\r
]\r
},\r
{\r
- "id": "26743549.dc4b22",\r
+ "id": "6f75f930.e4c9a8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4496.509033203125,\r
- "y": 1533.4259033203125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4454.509033203125,\r
+ "y": 1546.4259033203125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "a64784dd.690338"\r
+ "509006fc.9b56c"\r
]\r
]\r
},\r
{\r
- "id": "ff50bd0e.ddbd08",\r
+ "id": "f4b40172.6e734",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4500.509033203125,\r
- "y": 1584.4259033203125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4458.509033203125,\r
+ "y": 1597.4259033203125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "931306d1.d3283"\r
+ "43958ec8.7b7b1"\r
]\r
]\r
},\r
{\r
- "id": "2bc46d17.93cc82",\r
+ "id": "ff077827.d85f38",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 4649.571533203125,\r
- "y": 1483.28564453125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4607.571533203125,\r
+ "y": 1496.28564453125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "a64784dd.690338",\r
+ "id": "509006fc.9b56c",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 4639.509033203125,\r
- "y": 1533.4259033203125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4597.509033203125,\r
+ "y": 1546.4259033203125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "1aed53b.116f82c",\r
+ "id": "5e4b48a2.ecf978",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 5313.66650390625,\r
- "y": 940,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5271.66650390625,\r
+ "y": 953,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "619a05cb.adfe5c",\r
- "5b58ea0d.24a54c",\r
- "905e3d50.55dc98",\r
- "dd052d48.cba96",\r
- "b7a8cd0a.a295c8"\r
+ "3d7f3635.a666da",\r
+ "5948d066.6a7168",\r
+ "363286ce.e60c2a",\r
+ "92d55b48.2c361",\r
+ "60b689f0.bdfe6"\r
]\r
]\r
},\r
{\r
- "id": "ea57ed7c.15442",\r
+ "id": "8fdbb83e.80931",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5141,\r
- "y": 941,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5099,\r
+ "y": 954,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "1aed53b.116f82c"\r
+ "5e4b48a2.ecf978"\r
]\r
]\r
},\r
{\r
- "id": "8edf59fc.a82d48",\r
+ "id": "c2d11145.5c5cb",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5150.490966796875,\r
- "y": 983.5740356445312,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5108.490966796875,\r
+ "y": 996.5740356445312,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "570ecccd.bd6704"\r
+ "f49eb8b9.2e621"\r
]\r
]\r
},\r
{\r
- "id": "e1f5e0a7.fbe22",\r
+ "id": "15000269.771dce",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5139,\r
- "y": 1030,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5097,\r
+ "y": 1043,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "255c623d.471bfe"\r
+ "941ca63b.315eb8"\r
]\r
]\r
},\r
{\r
- "id": "570ecccd.bd6704",\r
+ "id": "f49eb8b9.2e621",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 5304.0623779296875,\r
- "y": 986.8597717285156,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5262.0623779296875,\r
+ "y": 999.8597717285156,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "255c623d.471bfe",\r
+ "id": "941ca63b.315eb8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 5308,\r
- "y": 1031,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5266,\r
+ "y": 1044,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "ebc4d333.c786a8",\r
+ "id": "fb264c22.bb1ad8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4661,\r
- "y": 898,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4619,\r
+ "y": 911,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ea10d538.727c98",\r
- "4657b647.55f63"\r
+ "eb451f8e.4fb418",\r
+ "bf3f1942.662798"\r
]\r
]\r
},\r
{\r
- "id": "931306d1.d3283",\r
+ "id": "43958ec8.7b7b1",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4651,\r
- "y": 1585.9998779296875,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4609,\r
+ "y": 1598.9998779296875,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "43662fc0.4ec678",\r
- "e3b7ca54.9f27e"\r
+ "e17370f4.daf058",\r
+ "42ee84a0.63aa24"\r
]\r
]\r
},\r
{\r
- "id": "2f410c53.a9f8cc",\r
+ "id": "9695016a.9d52a8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 5281.66650390625,\r
- "y": 1776,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5239.66650390625,\r
+ "y": 1789,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "70aaa8b7.fc83",\r
- "935d2e0c.b95b5",\r
- "a91261bc.f4013",\r
- "f0d8d3fe.456d88",\r
- "4a4ba10e.425478"\r
+ "798301ec.6e9398",\r
+ "e16e0955.66caa8",\r
+ "7dce5f2e.284a1",\r
+ "ff4b33a5.59c68",\r
+ "6468f05e.9836a8"\r
]\r
]\r
},\r
{\r
- "id": "c5b9dba7.8bb408",\r
+ "id": "ae7e9c7a.b5cf4",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5109,\r
- "y": 1777,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5067,\r
+ "y": 1790,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "2f410c53.a9f8cc"\r
+ "9695016a.9d52a8"\r
]\r
]\r
},\r
{\r
- "id": "6fce8e3b.c6c098",\r
+ "id": "ff1945a1.5b3fb8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5118.490966796875,\r
- "y": 1819.5740356445312,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5076.490966796875,\r
+ "y": 1832.5740356445312,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "67bae243.7edff4"\r
+ "1d67971d.5148d9"\r
]\r
]\r
},\r
{\r
- "id": "f5f65108.ccf83",\r
+ "id": "11aaad7f.ae123b",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5107,\r
- "y": 1866,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5065,\r
+ "y": 1879,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ec2da4a6.84f478"\r
+ "cd2d5016.41656"\r
]\r
]\r
},\r
{\r
- "id": "67bae243.7edff4",\r
+ "id": "1d67971d.5148d9",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 5272.0623779296875,\r
- "y": 1822.8597717285156,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5230.0623779296875,\r
+ "y": 1835.8597717285156,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "ec2da4a6.84f478",\r
+ "id": "cd2d5016.41656",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 5276,\r
- "y": 1867,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5234,\r
+ "y": 1880,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "619a05cb.adfe5c",\r
+ "id": "3d7f3635.a666da",\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.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5578,\r
- "y": 924,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5536,\r
+ "y": 937,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "5ef97752.07d688",\r
- "c9edb813.b2e9a8"\r
+ "3cfd3bad.5a9524",\r
+ "5da469b2.dc3e8"\r
]\r
]\r
},\r
{\r
- "id": "c9edb813.b2e9a8",\r
+ "id": "5da469b2.dc3e8",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5801,\r
- "y": 879,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5759,\r
+ "y": 892,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "c390e3ab.84675"\r
+ "688536c6.06de6"\r
]\r
]\r
},\r
{\r
- "id": "5ef97752.07d688",\r
+ "id": "3cfd3bad.5a9524",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5803,\r
- "y": 943,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5761,\r
+ "y": 956,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "32a44f9b.55b96"\r
+ "d7550296.6875"\r
]\r
]\r
},\r
{\r
- "id": "c9427e8e.5d7928",\r
+ "id": "8343d32.4aa5eb",\r
"type": "set",\r
"name": "set ltpId",\r
"xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
"comments": "",\r
- "x": 6136,\r
- "y": 834,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6094,\r
+ "y": 847,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "32a44f9b.55b96",\r
+ "id": "d7550296.6875",\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": 5965,\r
- "y": 939,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5923,\r
+ "y": 952,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "c390e3ab.84675",\r
+ "id": "688536c6.06de6",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 5966,\r
- "y": 876,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5924,\r
+ "y": 889,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "bdd6ab52.9ce23",\r
- "c9427e8e.5d7928"\r
+ "643d5e30.3c83d8",\r
+ "8343d32.4aa5eb"\r
]\r
]\r
},\r
{\r
- "id": "bdd6ab52.9ce23",\r
+ "id": "643d5e30.3c83d8",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
"comments": "",\r
- "x": 6137,\r
- "y": 942,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6095,\r
+ "y": 955,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "23e97c61.f4450c",\r
+ "id": "d03d942d.9c94e8",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
"comments": "",\r
- "x": 6138,\r
- "y": 891,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6096,\r
+ "y": 904,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "905e3d50.55dc98",\r
+ "id": "363286ce.e60c2a",\r
"type": "save",\r
"name": "save connectivity resource in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5580,\r
- "y": 1083,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5538,\r
+ "y": 1096,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "5b58ea0d.24a54c",\r
+ "id": "5948d066.6a7168",\r
"type": "execute",\r
"name": "execute UUID generator for connectivity domainA",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5625,\r
- "y": 993,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5583,\r
+ "y": 1006,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "b5028671.057418",\r
+ "id": "270e5bf.d3c68a4",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
"comments": "",\r
- "x": 5514,\r
- "y": 1034,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5472,\r
+ "y": 1047,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "70aaa8b7.fc83",\r
+ "id": "798301ec.6e9398",\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.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5568,\r
- "y": 1780.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5526,\r
+ "y": 1793.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "2f13a37c.a92d4c",\r
- "1f784ca.d54b3b3"\r
+ "17eb4057.5c41d8",\r
+ "986119ae.163bd"\r
]\r
]\r
},\r
{\r
- "id": "1f784ca.d54b3b3",\r
+ "id": "986119ae.163bd",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5791,\r
- "y": 1735.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5749,\r
+ "y": 1748.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "e1b624d9.9bbf38"\r
+ "554f229b.2ed824"\r
]\r
]\r
},\r
{\r
- "id": "2f13a37c.a92d4c",\r
+ "id": "17eb4057.5c41d8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5793,\r
- "y": 1799.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5751,\r
+ "y": 1812.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "4e43e07a.4a4518"\r
+ "e5820266.08c2b"\r
]\r
]\r
},\r
{\r
- "id": "c9a078dc.2502f",\r
+ "id": "59292690.4b166",\r
"type": "set",\r
"name": "set ltpId",\r
"xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
"comments": "",\r
- "x": 6126,\r
- "y": 1693.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6084,\r
+ "y": 1706.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "4e43e07a.4a4518",\r
+ "id": "e5820266.08c2b",\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": 5952,\r
- "y": 1818.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5910,\r
+ "y": 1831.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "e1b624d9.9bbf38",\r
+ "id": "554f229b.2ed824",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 5956,\r
- "y": 1732.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5914,\r
+ "y": 1745.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "c9a078dc.2502f",\r
- "99d11d48.4d4eb"\r
+ "59292690.4b166",\r
+ "a60da831.30b3f"\r
]\r
]\r
},\r
{\r
- "id": "99d11d48.4d4eb",\r
+ "id": "a60da831.30b3f",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
"comments": "",\r
- "x": 6127,\r
- "y": 1798.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6085,\r
+ "y": 1811.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "9eaecf4d.e4667",\r
+ "id": "bb10fbc2.a10ec8",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
"comments": "",\r
- "x": 6122,\r
- "y": 1747.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6080,\r
+ "y": 1760.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "a91261bc.f4013",\r
+ "id": "7dce5f2e.284a1",\r
"type": "save",\r
"name": "save connectivity resource in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5570,\r
- "y": 1939.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5528,\r
+ "y": 1952.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "935d2e0c.b95b5",\r
+ "id": "e16e0955.66caa8",\r
"type": "execute",\r
"name": "execute UUID generator for connectivity domainB",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5615,\r
- "y": 1849.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5573,\r
+ "y": 1862.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "469c34a1.af89cc",\r
+ "id": "a786769.ba9bd08",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
"comments": "",\r
- "x": 5504,\r
- "y": 1887.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5462,\r
+ "y": 1900.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "beecbbd2.7ea1a8",\r
+ "id": "5c94cc42.b4c6e4",\r
"type": "call",\r
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4498,\r
- "y": 2243,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4456,\r
+ "y": 2256,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a8912b98.c24c78",\r
+ "id": "898ec19e.6e281",\r
"type": "set",\r
"name": "set attachment_param",\r
"xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n\n<!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\n",\r
"comments": "",\r
- "x": 4292,\r
- "y": 2144,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4250,\r
+ "y": 2157,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "af47af84.110af8",\r
+ "id": "4cbb6f6d.e8bed",\r
"type": "comment",\r
"name": "TODO: FIXME",\r
"info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",\r
"comments": "",\r
- "x": 4266,\r
- "y": 2097,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4224,\r
+ "y": 2110,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "dd052d48.cba96",\r
+ "id": "92d55b48.2c361",\r
"type": "save",\r
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5708,\r
- "y": 1131,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5666,\r
+ "y": 1144,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "f0d8d3fe.456d88",\r
+ "id": "ff4b33a5.59c68",\r
"type": "save",\r
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5697,\r
- "y": 2004.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5655,\r
+ "y": 2017.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ae94a833.e2ef38",\r
+ "id": "c675da0b.5461c8",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6752,\r
- "y": 651,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6710,\r
+ "y": 664,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "c451b700.662738",\r
- "ee68b795.c2a168",\r
- "ace90efd.77ffe"\r
+ "bb4a9deb.45b028",\r
+ "7bfedf54.b55d88",\r
+ "d4dc18e1.4b9fa8"\r
]\r
]\r
},\r
{\r
- "id": "c2edf5fc.e5137",\r
+ "id": "576d8604.8f2d9",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2639,\r
- "y": 306,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2597,\r
+ "y": 319,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "1ff347ef.e7b2e8"\r
+ "8047c637.b43eb"\r
]\r
]\r
},\r
{\r
- "id": "7a5b73c3.f0d28c",\r
+ "id": "bcb352a5.999038",\r
"type": "outcome",\r
"name": "logical-link",\r
"xml": "<outcome value='logical-link'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1036.0001220703125,\r
- "y": 701.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 994.0001220703125,\r
+ "y": 714.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ccbf1140.19585"\r
+ "77e7cd5a.50c41c"\r
]\r
]\r
},\r
{\r
- "id": "b1e2d1e5.6e9708",\r
+ "id": "64e2c5c1.d42b2c",\r
"type": "switchNode",\r
"name": "switch allotted-resource.relationship-list not empty",\r
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2202,\r
- "y": 400,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2160,\r
+ "y": 413,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "7c767dcf.19dfdc",\r
- "d51662bd.168b2"\r
+ "550b6611.97dc",\r
+ "d80de88d.6f84f"\r
]\r
]\r
},\r
{\r
- "id": "d51662bd.168b2",\r
+ "id": "d80de88d.6f84f",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2523,\r
- "y": 382,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2481,\r
+ "y": 395,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "7c767dcf.19dfdc",\r
+ "id": "550b6611.97dc",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2505,\r
- "y": 480,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2463,\r
+ "y": 493,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8418b8d3.470188"\r
+ "bcacdfd4.14c6d"\r
]\r
]\r
},\r
{\r
- "id": "44cccb98.9e0bdc",\r
+ "id": "c443600d.94faa8",\r
"type": "set",\r
"name": "set the current logical-link-name",\r
"xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n<parameter name='currLinkIsFound' value=\"false\" />\n\n\n",\r
"comments": "",\r
- "x": 1459,\r
- "y": 604,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1417,\r
+ "y": 617,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "ccbf1140.19585",\r
+ "id": "77e7cd5a.50c41c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1213,\r
- "y": 694,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1171,\r
+ "y": 707,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "44cccb98.9e0bdc",\r
- "320f3490.61a614",\r
- "32833f1a.e66008"\r
+ "c443600d.94faa8",\r
+ "adcb7aad.70c0d",\r
+ "7947ec90.0b2fbc"\r
]\r
]\r
},\r
{\r
- "id": "98d74c6b.7ea498",\r
+ "id": "b29eb633.564108",\r
"type": "comment",\r
"name": "Question?",\r
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
"comments": "",\r
- "x": 4841,\r
- "y": 903,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4799,\r
+ "y": 916,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "ea10d538.727c98",\r
+ "id": "eb451f8e.4fb418",\r
"type": "save",\r
"name": "get p-interface-src from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4884,\r
- "y": 968,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4842,\r
+ "y": 981,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ea57ed7c.15442",\r
- "8edf59fc.a82d48",\r
- "e1f5e0a7.fbe22"\r
+ "8fdbb83e.80931",\r
+ "c2d11145.5c5cb",\r
+ "15000269.771dce"\r
]\r
]\r
},\r
{\r
- "id": "43662fc0.4ec678",\r
+ "id": "e17370f4.daf058",\r
"type": "save",\r
"name": "get p-interface-dst from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4881,\r
- "y": 1812,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4839,\r
+ "y": 1825,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "c5b9dba7.8bb408",\r
- "6fce8e3b.c6c098",\r
- "f5f65108.ccf83"\r
+ "ae7e9c7a.b5cf4",\r
+ "ff1945a1.5b3fb8",\r
+ "11aaad7f.ae123b"\r
]\r
]\r
},\r
{\r
- "id": "c2ae8d1a.02bb38",\r
+ "id": "dcd9fb09.ef46f8",\r
"type": "comment",\r
"name": "Question?",\r
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
"comments": "",\r
- "x": 4842,\r
- "y": 1756,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4800,\r
+ "y": 1769,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "1ff347ef.e7b2e8",\r
+ "id": "8047c637.b43eb",\r
"type": "save",\r
"name": "get allotted-resource relationship from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2932,\r
- "y": 253,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2890,\r
+ "y": 266,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "71f13357.4b37e4",\r
- "12669306.d1641d",\r
- "413b010a.53c048"\r
+ "d1511c62.9f2f08",\r
+ "1f77347e.42dfe4",\r
+ "64ec23f4.ba3244"\r
]\r
]\r
},\r
{\r
- "id": "12669306.d1641d",\r
+ "id": "1f77347e.42dfe4",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3205.490966796875,\r
- "y": 145.573974609375,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3163.490966796875,\r
+ "y": 158.573974609375,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "d85757cb.be9398"\r
+ "45b306de.298a5"\r
]\r
]\r
},\r
{\r
- "id": "d85757cb.be9398",\r
+ "id": "45b306de.298a5",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 3383.0625,\r
- "y": 145.8597412109375,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3341.0625,\r
+ "y": 158.8597412109375,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "413b010a.53c048",\r
+ "id": "64ec23f4.ba3244",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3201,\r
- "y": 195,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3159,\r
+ "y": 208,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "5076f4c7.aca6dc"\r
+ "fd23c3a.05df04"\r
]\r
]\r
},\r
{\r
- "id": "5076f4c7.aca6dc",\r
+ "id": "fd23c3a.05df04",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 3383,\r
- "y": 195,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3341,\r
+ "y": 208,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "71f13357.4b37e4",\r
+ "id": "d1511c62.9f2f08",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3205,\r
- "y": 246,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3163,\r
+ "y": 259,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "bf1d01a6.50c2b8"\r
+ "a1083b0f.8f91b8"\r
]\r
]\r
},\r
{\r
- "id": "bf1d01a6.50c2b8",\r
+ "id": "a1083b0f.8f91b8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3385,\r
- "y": 246,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3343,\r
+ "y": 259,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "b1e2d1e5.6e9708"\r
+ "64e2c5c1.d42b2c"\r
]\r
]\r
},\r
{\r
- "id": "23de1461.f7fad4",\r
+ "id": "1a6f80e4.595e77",\r
"type": "for",\r
"name": "for each allotted-resource relationship",\r
"xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 811,\r
- "y": 630,\r
- "z": "df5c2cef.29f798",\r
+ "x": 769,\r
+ "y": 643,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "93fa809a.f8471"\r
+ "3a09f79.98a6388"\r
]\r
]\r
},\r
{\r
- "id": "93fa809a.f8471",\r
+ "id": "3a09f79.98a6388",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1082,\r
- "y": 626,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1040,\r
+ "y": 639,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "7a5b73c3.f0d28c"\r
+ "bcb352a5.999038"\r
]\r
]\r
},\r
{\r
- "id": "9f0e5f06.ee06a8",\r
+ "id": "77ab35ed.5d2284",\r
"type": "outcome",\r
"name": "network-policy",\r
"xml": "<outcome value='network-policy'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3361,\r
- "y": 444,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3319,\r
+ "y": 457,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "b98b1343.e21bb8"\r
+ "b58a3427.b81d38"\r
]\r
]\r
},\r
{\r
- "id": "b98b1343.e21bb8",\r
+ "id": "b58a3427.b81d38",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3537.9998779296875,\r
- "y": 436.9998779296875,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3495.9998779296875,\r
+ "y": 449.9998779296875,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "9e9361de.0c104",\r
- "8294dd76.04b2e8"\r
+ "362b1182.0bd166",\r
+ "6c82d6c3.fedf4"\r
]\r
]\r
},\r
{\r
- "id": "9e9361de.0c104",\r
+ "id": "362b1182.0bd166",\r
"type": "set",\r
"name": "set the 1st network-policy-id",\r
"xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
"comments": "",\r
- "x": 3780.9998779296875,\r
- "y": 393.9998779296875,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3738.9998779296875,\r
+ "y": 406.9998779296875,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "8294dd76.04b2e8",\r
+ "id": "6c82d6c3.fedf4",\r
"type": "save",\r
"name": "get network-policy from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3769.9998779296875,\r
- "y": 448.9998779296875,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3727.9998779296875,\r
+ "y": 461.9998779296875,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "95cd2e3f.fb2aa8",\r
- "693c717a.beef58",\r
- "f0a71170.4750e"\r
+ "1ff2fa25.6c9396",\r
+ "e4e601c1.f5d79",\r
+ "758d093f.dcc028"\r
]\r
]\r
},\r
{\r
- "id": "f0a71170.4750e",\r
+ "id": "758d093f.dcc028",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4023,\r
- "y": 335,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3981,\r
+ "y": 348,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "db1f3e72.2f054"\r
+ "a8089973.873718"\r
]\r
]\r
},\r
{\r
- "id": "db1f3e72.2f054",\r
+ "id": "a8089973.873718",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 4171.571533203125,\r
- "y": 335.2857666015625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4129.571533203125,\r
+ "y": 348.2857666015625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "7ea2a2fb.50ff6c",\r
+ "id": "d2216009.d4e938",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 4170.509033203125,\r
- "y": 379.426025390625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4128.509033203125,\r
+ "y": 392.426025390625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "693c717a.beef58",\r
+ "id": "e4e601c1.f5d79",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4011.509033203125,\r
- "y": 379.426025390625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3969.509033203125,\r
+ "y": 392.426025390625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "7ea2a2fb.50ff6c"\r
+ "d2216009.d4e938"\r
]\r
]\r
},\r
{\r
- "id": "95cd2e3f.fb2aa8",\r
+ "id": "1ff2fa25.6c9396",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4018.509033203125,\r
- "y": 458.426025390625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3976.509033203125,\r
+ "y": 471.426025390625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "bd36bdff.e88188"\r
+ "9a187669.a984"\r
]\r
]\r
},\r
{\r
- "id": "bd36bdff.e88188",\r
+ "id": "9a187669.a984",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4157.509033203125,\r
- "y": 458.426025390625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4115.509033203125,\r
+ "y": 471.426025390625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "643f567.bba5728",\r
- "283fdbf8.9648a4"\r
+ "83c9fbd0.4ea53",\r
+ "9b904bff.ec9058"\r
]\r
]\r
},\r
{\r
- "id": "643f567.bba5728",\r
+ "id": "83c9fbd0.4ea53",\r
"type": "set",\r
"name": "set the max bandwidth",\r
"xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
"comments": "",\r
- "x": 4363,\r
- "y": 456,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4321,\r
+ "y": 469,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "4657b647.55f63",\r
+ "id": "bf3f1942.662798",\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.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4885,\r
- "y": 638,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4843,\r
+ "y": 651,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "6871172e.d637a",\r
- "b2977d1.b21a28"\r
+ "47a119b0.eb6fa8",\r
+ "52820edd.aa4a2"\r
]\r
]\r
},\r
{\r
- "id": "b2977d1.b21a28",\r
+ "id": "52820edd.aa4a2",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5108,\r
- "y": 624,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5066,\r
+ "y": 637,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "825034c4.107dc"\r
+ "7649e490.475914"\r
]\r
]\r
},\r
{\r
- "id": "6871172e.d637a",\r
+ "id": "47a119b0.eb6fa8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5110,\r
- "y": 657,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5068,\r
+ "y": 670,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "82e08e87.8dd7f"\r
+ "86cbcc23.726e88"\r
]\r
]\r
},\r
{\r
- "id": "82e08e87.8dd7f",\r
+ "id": "86cbcc23.726e88",\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": 5253,\r
- "y": 654,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5211,\r
+ "y": 667,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "825034c4.107dc",\r
+ "id": "7649e490.475914",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 5256,\r
- "y": 617,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5214,\r
+ "y": 630,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "c1e0b1e8.e0a1e",\r
- "d9b3786f.e4ed38"\r
+ "ff121e57.29292",\r
+ "450151c8.427488"\r
]\r
]\r
},\r
{\r
- "id": "c1e0b1e8.e0a1e",\r
+ "id": "ff121e57.29292",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' 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 $param-prefix-domainA-pnfName[6] + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />\n",\r
"comments": "",\r
- "x": 5418,\r
- "y": 612,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5376,\r
+ "y": 625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "e3b7ca54.9f27e",\r
+ "id": "42ee84a0.63aa24",\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.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4899,\r
- "y": 1474.9998779296875,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4857,\r
+ "y": 1487.9998779296875,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "f845da67.b2281",\r
- "e9edfbfb.6ae668"\r
+ "1ca058bb.f36a17",\r
+ "11f9a295.aa46bd"\r
]\r
]\r
},\r
{\r
- "id": "e9edfbfb.6ae668",\r
+ "id": "11f9a295.aa46bd",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5122,\r
- "y": 1460.9998779296875,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5080,\r
+ "y": 1473.9998779296875,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "be966044.873a98"\r
+ "49fa7605.34063"\r
]\r
]\r
},\r
{\r
- "id": "f845da67.b2281",\r
+ "id": "1ca058bb.f36a17",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5124,\r
- "y": 1493.9998779296875,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5082,\r
+ "y": 1506.9998779296875,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "11abed66.7180bb"\r
+ "45cb9702.942408"\r
]\r
]\r
},\r
{\r
- "id": "11abed66.7180bb",\r
+ "id": "45cb9702.942408",\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": 5267,\r
- "y": 1490.9998779296875,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5225,\r
+ "y": 1503.9998779296875,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "be966044.873a98",\r
+ "id": "49fa7605.34063",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 5270,\r
- "y": 1453.9998779296875,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5228,\r
+ "y": 1466.9998779296875,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "79f40934.57e7e8",\r
- "cf727f02.7a65a"\r
+ "875267c0.cfa878",\r
+ "15dbb018.1ec0a8"\r
]\r
]\r
},\r
{\r
- "id": "79f40934.57e7e8",\r
+ "id": "875267c0.cfa878",\r
"type": "set",\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' 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 $param-prefix-domainB-pnfName[6] + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />\n",\r
"comments": "",\r
- "x": 5464,\r
- "y": 1457,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5422,\r
+ "y": 1470,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "984b7b53.1aa03",\r
+ "id": "48043489.9f26f4",\r
"type": "execute",\r
"name": "execute properties",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1062,\r
- "y": 161,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1020,\r
+ "y": 174,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "b7a8cd0a.a295c8",\r
+ "id": "60b689f0.bdfe6",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5532,\r
- "y": 1208,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5490,\r
+ "y": 1221,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "e798551d.3d9488"\r
+ "d6de59ef.b305d8"\r
]\r
]\r
},\r
{\r
- "id": "e798551d.3d9488",\r
+ "id": "d6de59ef.b305d8",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5738,\r
- "y": 1208,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5696,\r
+ "y": 1221,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ac96ab38.3de338"\r
+ "8fe7cd4d.34b2f"\r
]\r
]\r
},\r
{\r
- "id": "ac96ab38.3de338",\r
+ "id": "8fe7cd4d.34b2f",\r
"type": "outcome",\r
"name": "tunnel-termination-point",\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5953.28564453125,\r
- "y": 1207.82177734375,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5911.28564453125,\r
+ "y": 1220.82177734375,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "5414c400.9dc3ac"\r
+ "a0e0dfef.59beb"\r
]\r
]\r
},\r
{\r
- "id": "5414c400.9dc3ac",\r
+ "id": "a0e0dfef.59beb",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 6160.1171875,\r
- "y": 1208.34033203125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6118.1171875,\r
+ "y": 1221.34033203125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "81a82367.d6151",\r
- "2f9bf799.a13628",\r
- "18b69352.36c53d"\r
+ "2cceafd0.237718",\r
+ "c79a44fd.7a419",\r
+ "b0ce172f.4e793"\r
]\r
]\r
},\r
{\r
- "id": "81a82367.d6151",\r
+ "id": "2cceafd0.237718",\r
"type": "set",\r
"name": "set source ttp-id",\r
"xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 6375.1171875,\r
- "y": 1170.34033203125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6333.1171875,\r
+ "y": 1183.34033203125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "2f9bf799.a13628",\r
+ "id": "c79a44fd.7a419",\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.source.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6372.1171875,\r
- "y": 1209.34033203125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6330.1171875,\r
+ "y": 1222.34033203125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ab674828.77dd8"\r
+ "6b7d00f0.0adfa"\r
]\r
]\r
},\r
{\r
- "id": "18b69352.36c53d",\r
+ "id": "b0ce172f.4e793",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 6327.6171875,\r
- "y": 1251.34033203125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6285.6171875,\r
+ "y": 1264.34033203125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "ab674828.77dd8",\r
+ "id": "6b7d00f0.0adfa",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6552.6171875,\r
- "y": 1208.34033203125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6510.6171875,\r
+ "y": 1221.34033203125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "2908f068.502838"\r
+ "646cdf92.8cc9e8"\r
]\r
]\r
},\r
{\r
- "id": "2908f068.502838",\r
+ "id": "646cdf92.8cc9e8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 6710.6171875,\r
- "y": 1208.34033203125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6668.6171875,\r
+ "y": 1221.34033203125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "81bd3643.b73a3"\r
+ "6ef1cda7.04969c"\r
]\r
]\r
},\r
{\r
- "id": "81bd3643.b73a3",\r
+ "id": "6ef1cda7.04969c",\r
"type": "set",\r
"name": "set source tunnel tp ip",\r
"xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
"comments": "",\r
- "x": 6917.6171875,\r
- "y": 1208.34033203125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6875.6171875,\r
+ "y": 1221.34033203125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "4a4ba10e.425478",\r
+ "id": "6468f05e.9836a8",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5529,\r
- "y": 2077.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5487,\r
+ "y": 2090.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "a847aa00.dd7a08"\r
+ "592b262a.d8a79"\r
]\r
]\r
},\r
{\r
- "id": "a847aa00.dd7a08",\r
+ "id": "592b262a.d8a79",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5735,\r
- "y": 2077.0001220703125,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5693,\r
+ "y": 2090.0001220703125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "49e71e1.8d9866"\r
+ "24f444c6.f34f94"\r
]\r
]\r
},\r
{\r
- "id": "49e71e1.8d9866",\r
+ "id": "24f444c6.f34f94",\r
"type": "outcome",\r
"name": "tunnel-termination-point",\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5950.28564453125,\r
- "y": 2076.8218994140625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5908.28564453125,\r
+ "y": 2089.8218994140625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "5b5e6199.c314a"\r
+ "82538773.d9e69"\r
]\r
]\r
},\r
{\r
- "id": "5b5e6199.c314a",\r
+ "id": "82538773.d9e69",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 6157.1171875,\r
- "y": 2077.3404541015625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6115.1171875,\r
+ "y": 2090.3404541015625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "278051a2.c31a16",\r
- "9a637a3a.0233e8",\r
- "2850c206.2136fe"\r
+ "f8555c72.503248",\r
+ "ccee56e4.07c16",\r
+ "c641b1.139d865"\r
]\r
]\r
},\r
{\r
- "id": "278051a2.c31a16",\r
+ "id": "f8555c72.503248",\r
"type": "set",\r
"name": "set destination ttp-id",\r
"xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 6372.1171875,\r
- "y": 2039.3404541015625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6330.1171875,\r
+ "y": 2052.3404541015625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "9a637a3a.0233e8",\r
+ "id": "ccee56e4.07c16",\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.destination.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6369.1171875,\r
- "y": 2078.3404541015625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6327.1171875,\r
+ "y": 2091.3404541015625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ac430b92.d43478"\r
+ "c03544bc.a4758"\r
]\r
]\r
},\r
{\r
- "id": "2850c206.2136fe",\r
+ "id": "c641b1.139d865",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 6324.6171875,\r
- "y": 2120.3404541015625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6282.6171875,\r
+ "y": 2133.3404541015625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "ac430b92.d43478",\r
+ "id": "c03544bc.a4758",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6549.6171875,\r
- "y": 2077.3404541015625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6507.6171875,\r
+ "y": 2090.3404541015625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8753e537.7fd47"\r
+ "e9ccbcc0.192618"\r
]\r
]\r
},\r
{\r
- "id": "8753e537.7fd47",\r
+ "id": "e9ccbcc0.192618",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 6707.6171875,\r
- "y": 2077.3404541015625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6665.6171875,\r
+ "y": 2090.3404541015625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "24ab912c.86e4be"\r
+ "8cb4312f.1b7fd"\r
]\r
]\r
},\r
{\r
- "id": "24ab912c.86e4be",\r
+ "id": "8cb4312f.1b7fd",\r
"type": "set",\r
"name": "set destination tunnel tp ip",\r
"xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
"comments": "",\r
- "x": 6914.6171875,\r
- "y": 2077.3404541015625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6872.6171875,\r
+ "y": 2090.3404541015625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "d9b3786f.e4ed38",\r
+ "id": "450151c8.427488",\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.domainA.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5445,\r
- "y": 684,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5403,\r
+ "y": 697,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8b5e8581.37f4d8",\r
- "8910508f.b898c",\r
- "40d489be.0b4bf"\r
+ "a23d1a8f.c26b88",\r
+ "378c450d.9f83ea",\r
+ "dfbd70ce.dcae1"\r
]\r
]\r
},\r
{\r
- "id": "8b5e8581.37f4d8",\r
+ "id": "a23d1a8f.c26b88",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5640.5001220703125,\r
- "y": 636,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5598.5001220703125,\r
+ "y": 649,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "687e1d5.e5b1be4"\r
+ "47f12a0.7fd7dd8"\r
]\r
]\r
},\r
{\r
- "id": "8910508f.b898c",\r
+ "id": "378c450d.9f83ea",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5632.5001220703125,\r
- "y": 691,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5590.5001220703125,\r
+ "y": 704,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "cb7280d2.6c252"\r
+ "aa90c931.1acf78"\r
]\r
]\r
},\r
{\r
- "id": "40d489be.0b4bf",\r
+ "id": "dfbd70ce.dcae1",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5637.5001220703125,\r
- "y": 748,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5595.5001220703125,\r
+ "y": 761,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ed16936d.de3ee8"\r
+ "23762cf6.ae956c"\r
]\r
]\r
},\r
{\r
- "id": "ed16936d.de3ee8",\r
+ "id": "23762cf6.ae956c",\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": 5789.5001220703125,\r
- "y": 749,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5747.5001220703125,\r
+ "y": 762,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "cb7280d2.6c252",\r
+ "id": "aa90c931.1acf78",\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": 5800.5001220703125,\r
- "y": 694,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5758.5001220703125,\r
+ "y": 707,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "687e1d5.e5b1be4",\r
+ "id": "47f12a0.7fd7dd8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5784.8824462890625,\r
- "y": 633.6556701660156,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5742.8824462890625,\r
+ "y": 646.6556701660156,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "38f57278.43482e"\r
+ "7098fc9f.d79a4c"\r
]\r
]\r
},\r
{\r
- "id": "a206cef4.960698",\r
+ "id": "afa8e9ca.a2ff88",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6367,\r
- "y": 652,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6325,\r
+ "y": 665,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "7575a6f9.99a6d8"\r
+ "fcbb91a5.b44ad8"\r
]\r
]\r
},\r
{\r
- "id": "7575a6f9.99a6d8",\r
+ "id": "fcbb91a5.b44ad8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 6544,\r
- "y": 644,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6502,\r
+ "y": 657,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "54e418fd.7d6af",\r
- "ae94a833.e2ef38"\r
+ "81752885.eb63a8",\r
+ "c675da0b.5461c8"\r
]\r
]\r
},\r
{\r
- "id": "38f57278.43482e",\r
+ "id": "7098fc9f.d79a4c",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5969,\r
- "y": 648,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5927,\r
+ "y": 661,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "465a8b8c.5405ac"\r
+ "4474e908.078af8"\r
]\r
]\r
},\r
{\r
- "id": "465a8b8c.5405ac",\r
+ "id": "4474e908.078af8",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6164,\r
- "y": 648,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6122,\r
+ "y": 661,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "a206cef4.960698",\r
- "59e7f171.2fe93"\r
+ "afa8e9ca.a2ff88",\r
+ "82783d37.d452a8"\r
]\r
]\r
},\r
{\r
- "id": "54e418fd.7d6af",\r
+ "id": "81752885.eb63a8",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domainA id",\r
"xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 6782,\r
- "y": 599,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6740,\r
+ "y": 612,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "c451b700.662738",\r
+ "id": "bb4a9deb.45b028",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6962,\r
- "y": 642,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6920,\r
+ "y": 655,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "b48ed50b.bbbc98"\r
+ "afb3d4f9.ba93a"\r
]\r
]\r
},\r
{\r
- "id": "ee68b795.c2a168",\r
+ "id": "7bfedf54.b55d88",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6954,\r
- "y": 697,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6912,\r
+ "y": 710,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "4b320cb9.f09b9c"\r
+ "4c9ef7f7.e20878"\r
]\r
]\r
},\r
{\r
- "id": "ace90efd.77ffe",\r
+ "id": "d4dc18e1.4b9fa8",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6959,\r
- "y": 754,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6917,\r
+ "y": 767,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "7a2345cb.238a24"\r
+ "af0e4e29.c0c348"\r
]\r
]\r
},\r
{\r
- "id": "7a2345cb.238a24",\r
+ "id": "af0e4e29.c0c348",\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": 7111,\r
- "y": 755,\r
- "z": "df5c2cef.29f798",\r
+ "x": 7069,\r
+ "y": 768,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "4b320cb9.f09b9c",\r
+ "id": "4c9ef7f7.e20878",\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": 7122,\r
- "y": 700,\r
- "z": "df5c2cef.29f798",\r
+ "x": 7080,\r
+ "y": 713,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "b48ed50b.bbbc98",\r
+ "id": "afb3d4f9.ba93a",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 7106.38232421875,\r
- "y": 639.6556701660156,\r
- "z": "df5c2cef.29f798",\r
+ "x": 7064.38232421875,\r
+ "y": 652.6556701660156,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "fd510eb.0c6ebf"\r
+ "48d857d6.23bcb8"\r
]\r
]\r
},\r
{\r
- "id": "fd510eb.0c6ebf",\r
+ "id": "48d857d6.23bcb8",\r
"type": "set",\r
"name": "set controller domainA data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
"comments": "",\r
- "x": 7321,\r
- "y": 636,\r
- "z": "df5c2cef.29f798",\r
+ "x": 7279,\r
+ "y": 649,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "cf727f02.7a65a",\r
+ "id": "15dbb018.1ec0a8",\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.dst.domainB.pnf-name\"\n pfx='tmp.aai.destination-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5486,\r
- "y": 1525,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5444,\r
+ "y": 1538,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "e6203203.c9d8",\r
- "a4f2c6e3.35c098",\r
- "b06c15b4.6714f8"\r
+ "ddbec5c8.9e7b8",\r
+ "79a0af8f.4ef61",\r
+ "7e842000.99ad5"\r
]\r
]\r
},\r
{\r
- "id": "e6203203.c9d8",\r
+ "id": "ddbec5c8.9e7b8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5681.5001220703125,\r
- "y": 1477,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5639.5001220703125,\r
+ "y": 1490,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "3120e335.92d50c"\r
+ "dd9e895a.d361b8"\r
]\r
]\r
},\r
{\r
- "id": "a4f2c6e3.35c098",\r
+ "id": "79a0af8f.4ef61",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5673.5001220703125,\r
- "y": 1532,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5631.5001220703125,\r
+ "y": 1545,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "2b2ce729.3eb29"\r
+ "bac9dfa5.acb0b8"\r
]\r
]\r
},\r
{\r
- "id": "b06c15b4.6714f8",\r
+ "id": "7e842000.99ad5",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5678.5001220703125,\r
- "y": 1589,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5636.5001220703125,\r
+ "y": 1602,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "372a7e76.6eb402"\r
+ "39141e3c.f5c4ba"\r
]\r
]\r
},\r
{\r
- "id": "372a7e76.6eb402",\r
+ "id": "39141e3c.f5c4ba",\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": 5830.5001220703125,\r
- "y": 1590,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5788.5001220703125,\r
+ "y": 1603,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "2b2ce729.3eb29",\r
+ "id": "bac9dfa5.acb0b8",\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": 5841.5001220703125,\r
- "y": 1535,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5799.5001220703125,\r
+ "y": 1548,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "3120e335.92d50c",\r
+ "id": "dd9e895a.d361b8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5825.8824462890625,\r
- "y": 1474.6556701660156,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5783.8824462890625,\r
+ "y": 1487.6556701660156,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "4dd7dbd3.a1fbd4"\r
+ "73633cf3.366dcc"\r
]\r
]\r
},\r
{\r
- "id": "92a891f6.14f2f8",\r
+ "id": "f9e8a04.0c1b9e",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6408,\r
- "y": 1493,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6366,\r
+ "y": 1506,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "e81d0130.9f5398"\r
+ "858146ac.41a8b8"\r
]\r
]\r
},\r
{\r
- "id": "e81d0130.9f5398",\r
+ "id": "858146ac.41a8b8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 6585,\r
- "y": 1485,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6543,\r
+ "y": 1498,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "43e58e9.258b1f",\r
- "f320f01a.c0cb68"\r
+ "b9f112f1.16fa48",\r
+ "8777efed.45e25"\r
]\r
]\r
},\r
{\r
- "id": "4dd7dbd3.a1fbd4",\r
+ "id": "73633cf3.366dcc",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6010,\r
- "y": 1489,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5968,\r
+ "y": 1502,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ef34bdf9.86d6a"\r
+ "84157579.d2bb08"\r
]\r
]\r
},\r
{\r
- "id": "ef34bdf9.86d6a",\r
+ "id": "84157579.d2bb08",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6205,\r
- "y": 1489,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6163,\r
+ "y": 1502,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "92a891f6.14f2f8",\r
- "15f68679.004ff2"\r
+ "f9e8a04.0c1b9e",\r
+ "bf377915.b45748"\r
]\r
]\r
},\r
{\r
- "id": "f320f01a.c0cb68",\r
+ "id": "8777efed.45e25",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6793,\r
- "y": 1492,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6751,\r
+ "y": 1505,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "21d26d09.bf8d42",\r
- "e79de436.351eb",\r
- "42168163.8f503"\r
+ "2ab532d7.7f1fb6",\r
+ "e8de40ac.67f83",\r
+ "24548740.4d9e68"\r
]\r
]\r
},\r
{\r
- "id": "43e58e9.258b1f",\r
+ "id": "b9f112f1.16fa48",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domainB id",\r
"xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 6823,\r
- "y": 1440,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6781,\r
+ "y": 1453,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "21d26d09.bf8d42",\r
+ "id": "2ab532d7.7f1fb6",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 7003,\r
- "y": 1483,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6961,\r
+ "y": 1496,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8f151e48.516da8"\r
+ "feff3b5.5e8b948"\r
]\r
]\r
},\r
{\r
- "id": "e79de436.351eb",\r
+ "id": "e8de40ac.67f83",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6995,\r
- "y": 1538,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6953,\r
+ "y": 1551,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "43ccb9c7.d7ad"\r
+ "8e635e5c.8adab"\r
]\r
]\r
},\r
{\r
- "id": "42168163.8f503",\r
+ "id": "24548740.4d9e68",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 7000,\r
- "y": 1595,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6958,\r
+ "y": 1608,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "d86c14ab.73faf8"\r
+ "13ac8b5c.0cfaed"\r
]\r
]\r
},\r
{\r
- "id": "d86c14ab.73faf8",\r
+ "id": "13ac8b5c.0cfaed",\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": 7152,\r
- "y": 1596,\r
- "z": "df5c2cef.29f798",\r
+ "x": 7110,\r
+ "y": 1609,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "43ccb9c7.d7ad",\r
+ "id": "8e635e5c.8adab",\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": 7163,\r
- "y": 1541,\r
- "z": "df5c2cef.29f798",\r
+ "x": 7121,\r
+ "y": 1554,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "8f151e48.516da8",\r
+ "id": "feff3b5.5e8b948",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 7147.38232421875,\r
- "y": 1480.6556701660156,\r
- "z": "df5c2cef.29f798",\r
+ "x": 7105.38232421875,\r
+ "y": 1493.6556701660156,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "48915602.68268"\r
+ "953167d4.139688"\r
]\r
]\r
},\r
{\r
- "id": "48915602.68268",\r
+ "id": "953167d4.139688",\r
"type": "set",\r
"name": "set controller domainB data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
"comments": "",\r
- "x": 7362,\r
- "y": 1477,\r
- "z": "df5c2cef.29f798",\r
+ "x": 7320,\r
+ "y": 1490,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "8418b8d3.470188",\r
+ "id": "bcacdfd4.14c6d",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 359,\r
- "y": 606,\r
- "z": "df5c2cef.29f798",\r
+ "x": 317,\r
+ "y": 619,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "3e42f499.a0a45c",\r
- "23de1461.f7fad4"\r
+ "403b2da3.dcfec4",\r
+ "1a6f80e4.595e77"\r
]\r
]\r
},\r
{\r
- "id": "3e42f499.a0a45c",\r
+ "id": "403b2da3.dcfec4",\r
"type": "for",\r
"name": "for each allotted-resource relationship",\r
"xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 805,\r
- "y": 465,\r
- "z": "df5c2cef.29f798",\r
+ "x": 763,\r
+ "y": 478,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "61c833be.b9761c"\r
+ "9653f59e.977668"\r
]\r
]\r
},\r
{\r
- "id": "61c833be.b9761c",\r
+ "id": "9653f59e.977668",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3170,\r
- "y": 447,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3128,\r
+ "y": 460,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "9f0e5f06.ee06a8"\r
+ "77ab35ed.5d2284"\r
]\r
]\r
},\r
{\r
- "id": "59e7f171.2fe93",\r
+ "id": "82783d37.d452a8",\r
"type": "outcome",\r
"name": "network-resource",\r
"xml": "<outcome value='network-resource'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6370,\r
- "y": 726,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6328,\r
+ "y": 739,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "db4451ce.036298"\r
+ "3ce4b168.0164de"\r
]\r
]\r
},\r
{\r
- "id": "db4451ce.036298",\r
+ "id": "3ce4b168.0164de",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 6547,\r
- "y": 718,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6505,\r
+ "y": 731,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "3b56e152.cb5dfe"\r
+ "963d2fd4.6da64"\r
]\r
]\r
},\r
{\r
- "id": "3b56e152.cb5dfe",\r
+ "id": "963d2fd4.6da64",\r
"type": "set",\r
"name": "set domainA ethernet layer network-id",\r
"xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 6782,\r
- "y": 842,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6740,\r
+ "y": 855,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "8d9dc5d1.6f53b",\r
+ "id": "8e0afe4a.b34a6",\r
"type": "set",\r
"name": "set domainB ethernet layer network-id",\r
"xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 6822,\r
- "y": 1682,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6780,\r
+ "y": 1695,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "b9cc1a89.57ad48",\r
+ "id": "249ec401.31a03c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 6587,\r
- "y": 1558,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6545,\r
+ "y": 1571,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8d9dc5d1.6f53b"\r
+ "8e0afe4a.b34a6"\r
]\r
]\r
},\r
{\r
- "id": "15f68679.004ff2",\r
+ "id": "bf377915.b45748",\r
"type": "outcome",\r
"name": "network-resource",\r
"xml": "<outcome value='network-resource'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6410,\r
- "y": 1566,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6368,\r
+ "y": 1579,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "b9cc1a89.57ad48"\r
+ "249ec401.31a03c"\r
]\r
]\r
},\r
{\r
- "id": "283fdbf8.9648a4",\r
+ "id": "9b904bff.ec9058",\r
"type": "set",\r
"name": "set the max bandwidth",\r
"xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
"comments": "",\r
- "x": 4362,\r
- "y": 502,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4320,\r
+ "y": 515,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "53d902b0.393754",\r
+ "id": "64d793c7.441b84",\r
"type": "execute",\r
"name": "execute UUID generator for ethernet-service-name",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4384,\r
- "y": 637,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4342,\r
+ "y": 650,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2829cd3e.73ff62",\r
+ "id": "c6ccb3e9.91ea18",\r
"type": "execute",\r
"name": "execute UUID generator for otn-tunnel-name",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4365,\r
- "y": 687,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4323,\r
+ "y": 700,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ec9312e3.eb3ca",\r
+ "id": "8f80cd4e.6bb588",\r
"type": "for",\r
"name": "for each allotted-resource",\r
"xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1956,\r
- "y": 188,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1914,\r
+ "y": 201,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "f47a653.ec6e298",\r
- "ff867076.ee06e"\r
+ "f465bd8c.ba2628",\r
+ "8f1217ff.70176"\r
]\r
]\r
},\r
{\r
- "id": "f47a653.ec6e298",\r
+ "id": "f465bd8c.ba2628",\r
"type": "set",\r
"name": "set the current allotted-resource-id",\r
"xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
"comments": "",\r
- "x": 2240,\r
- "y": 158,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2198,\r
+ "y": 171,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "9445731f.f1b8",\r
+ "id": "f986e215.6b3c08",\r
"type": "set",\r
"name": "set query_param",\r
"xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
"comments": "",\r
- "x": 4281,\r
- "y": 2196,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4239,\r
+ "y": 2209,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "beaf21fd.396d98",\r
+ "id": "4e189d8f.8297c4",\r
"type": "set",\r
"name": "unset parameters",\r
"xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",\r
"comments": "",\r
- "x": 4265,\r
- "y": 3895,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4223,\r
+ "y": 3908,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "7826fce9.171054",\r
+ "id": "6963f6fb.4a135",\r
"type": "set",\r
"name": "set new ethernet-service-name",\r
"xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
"comments": "",\r
- "x": 4322,\r
- "y": 732,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4280,\r
+ "y": 745,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "b9213dab.6d883",\r
+ "id": "40ae5836.eda238",\r
"type": "for",\r
"name": "for vidx..tmp.otninfo_length[]",\r
"xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4316,\r
- "y": 2316,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4274,\r
+ "y": 2329,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "20d68f86.366a48"\r
+ "2e490e87.e61d42"\r
]\r
]\r
},\r
{\r
- "id": "d817cc51.57c43",\r
+ "id": "5b2c57a6.c56358",\r
"type": "save",\r
"name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5439,\r
- "y": 2884,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5397,\r
+ "y": 2897,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "19683517.67ac63"\r
+ "9802e598.7a08e"\r
]\r
]\r
},\r
{\r
- "id": "ca454382.6438b8",\r
+ "id": "457942f4.bfb36c",\r
"type": "save",\r
"name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6011.5,\r
- "y": 2988,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5969.5,\r
+ "y": 3001,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "19683517.67ac63",\r
+ "id": "9802e598.7a08e",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5745,\r
- "y": 2883,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5703,\r
+ "y": 2896,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "7b5a7467.79786c"\r
+ "c8f4f504.510ca8"\r
]\r
]\r
},\r
{\r
- "id": "7b5a7467.79786c",\r
+ "id": "c8f4f504.510ca8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5954.5,\r
- "y": 2883.25390625,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5912.5,\r
+ "y": 2896.25390625,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "d5f9f3e8.876da8"\r
+ "20917868.85ed"\r
]\r
]\r
},\r
{\r
- "id": "cfeb42d5.8f30e",\r
+ "id": "dc51f3dc.862168",\r
"type": "execute",\r
"name": "execute UUID generator for vpn-binding $otnidx",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5475,\r
- "y": 2348,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5433,\r
+ "y": 2361,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "80314abc.ea1038",\r
+ "id": "8f203418.5717c8",\r
"type": "switchNode",\r
"name": "switch otnidx == 0",\r
"xml": "<switch test='`$otnidx == 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5348,\r
- "y": 3001,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5306,\r
+ "y": 3014,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "42510192.4150d",\r
- "e04d6920.7d592"\r
+ "22c6b3cb.e79214",\r
+ "862cb9a5.5437d"\r
]\r
]\r
},\r
{\r
- "id": "42510192.4150d",\r
+ "id": "22c6b3cb.e79214",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5531,\r
- "y": 3001,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5489,\r
+ "y": 3014,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "c6dc5f2e.5970a8"\r
+ "2ad37e70.de6eda"\r
]\r
]\r
},\r
{\r
- "id": "e04d6920.7d592",\r
+ "id": "862cb9a5.5437d",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5356,\r
- "y": 3148,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5314,\r
+ "y": 3161,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "e39528c5.00341"\r
+ "6c8b8ef6.d3a3"\r
]\r
]\r
},\r
{\r
- "id": "d4bb1111.25cff",\r
+ "id": "886d3de7.c041d",\r
"type": "switchNode",\r
"name": "switch otnidx == last",\r
"xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5697,\r
- "y": 3229,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5655,\r
+ "y": 3242,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "63cb7082.8783",\r
- "18ee91c9.b3e6fe"\r
+ "521941d1.ae6f7",\r
+ "6f826e7d.af0fc8"\r
]\r
]\r
},\r
{\r
- "id": "63cb7082.8783",\r
+ "id": "521941d1.ae6f7",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5882,\r
- "y": 3230,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5840,\r
+ "y": 3243,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "629d009e.881158"\r
+ "7726ccce.f0f08c"\r
]\r
]\r
},\r
{\r
- "id": "18ee91c9.b3e6fe",\r
+ "id": "6f826e7d.af0fc8",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5901,\r
- "y": 3496,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5859,\r
+ "y": 3509,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "78cc4d6b.9a20e4"\r
+ "49c1c5c0.4e8b8c"\r
]\r
]\r
},\r
{\r
- "id": "72b6f676.a7eaa",\r
+ "id": "905b732c.f0ad98",\r
"type": "save",\r
"name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6312,\r
- "y": 3231,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6270,\r
+ "y": 3244,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2d690add.7eb056",\r
+ "id": "dd09a90e.7899b",\r
"type": "execute",\r
"name": "execute UUID generator for connectivity domain otnidx",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6386,\r
- "y": 3529,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6344,\r
+ "y": 3542,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "7eb9bec5.6b496",\r
+ "id": "fc11577c.3662e8",\r
"type": "save",\r
"name": "save connectivity resource in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='CBS' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='EBS' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6322,\r
- "y": 3580,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6280,\r
+ "y": 3593,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "e4bf0eff.3ff878",\r
+ "id": "a3be8dfb.ebcf2",\r
"type": "save",\r
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6451,\r
- "y": 3630,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6409,\r
+ "y": 3643,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "44296fc3.86d838",\r
+ "id": "28e97ea9.3189d2",\r
"type": "comment",\r
"name": "connectivity has not been created for middle domains, so we have to create one",\r
"info": "",\r
"comments": "",\r
- "x": 6461,\r
- "y": 3473,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6419,\r
+ "y": 3486,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "dde77510.01e358",\r
+ "id": "3c225fc2.333288",\r
"type": "save",\r
"name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6419,\r
- "y": 3689,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6377,\r
+ "y": 3702,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "78cc4d6b.9a20e4",\r
+ "id": "49c1c5c0.4e8b8c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6058,\r
- "y": 3497,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6016,\r
+ "y": 3510,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "2d690add.7eb056",\r
- "7eb9bec5.6b496",\r
- "e4bf0eff.3ff878",\r
- "dde77510.01e358",\r
- "cf8ac1fc.c141"\r
+ "dd09a90e.7899b",\r
+ "fc11577c.3662e8",\r
+ "a3be8dfb.ebcf2",\r
+ "3c225fc2.333288",\r
+ "6f9b661d.d75948"\r
]\r
]\r
},\r
{\r
- "id": "20d68f86.366a48",\r
+ "id": "2e490e87.e61d42",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4568,\r
- "y": 2377,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4526,\r
+ "y": 2390,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "cfeb42d5.8f30e",\r
- "d817cc51.57c43",\r
- "80314abc.ea1038",\r
- "7c37f4eb.58f484",\r
- "c24bf6c5.fa73c8",\r
- "1dbe2057.a5e62",\r
- "94fd6991.78fda"\r
+ "dc51f3dc.862168",\r
+ "5b2c57a6.c56358",\r
+ "8f203418.5717c8",\r
+ "c3673769.ff0828",\r
+ "3b94d9a7.b824be",\r
+ "e2ccb618.b8a8d",\r
+ "77665e36.902488"\r
]\r
]\r
},\r
{\r
- "id": "72da75b4.4b328c",\r
+ "id": "c5c2060f.16d9c8",\r
"type": "set",\r
"name": "set attachment_param domain A",\r
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",\r
"comments": "",\r
- "x": 5936,\r
- "y": 3045,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5894,\r
+ "y": 3058,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "9684161c.06ddd",\r
+ "id": "db559808.bd4158",\r
"type": "execute",\r
"name": "execute RestApiCallNode domainA UNI Coloring",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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": 5989,\r
- "y": 3089,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5947,\r
+ "y": 3102,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "efb749b0.733a",\r
- "783ce4ab.fbf424"\r
+ "3a25adfa.fa5c4a",\r
+ "1deeb503.94e2fb"\r
]\r
]\r
},\r
{\r
- "id": "783ce4ab.fbf424",\r
+ "id": "1deeb503.94e2fb",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6260,\r
- "y": 3074,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6218,\r
+ "y": 3087,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ddad2f88.846408"\r
+ "9df348c2.491e88"\r
]\r
]\r
},\r
{\r
- "id": "efb749b0.733a",\r
+ "id": "3a25adfa.fa5c4a",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6258.000213623047,\r
- "y": 3131.99990940094,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6216.000213623047,\r
+ "y": 3144.99990940094,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "d912d706.5a251"\r
+ "6842e2ab.cc6dcc"\r
]\r
]\r
},\r
{\r
- "id": "ddad2f88.846408",\r
+ "id": "9df348c2.491e88",\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 UNI Coloring for domain A\" />\n",\r
"comments": "",\r
- "x": 6400.000247955322,\r
- "y": 3074.0000009536743,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6358.000247955322,\r
+ "y": 3087.0000009536743,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "d912d706.5a251",\r
+ "id": "6842e2ab.cc6dcc",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6406.02725982666,\r
- "y": 3122.745394706726,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6364.02725982666,\r
+ "y": 3135.745394706726,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "c6dc5f2e.5970a8",\r
+ "id": "2ad37e70.de6eda",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5672,\r
- "y": 2991,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5630,\r
+ "y": 3004,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ca454382.6438b8",\r
- "9684161c.06ddd",\r
- "72da75b4.4b328c"\r
+ "457942f4.bfb36c",\r
+ "db559808.bd4158",\r
+ "c5c2060f.16d9c8"\r
]\r
]\r
},\r
{\r
- "id": "629d009e.881158",\r
+ "id": "7726ccce.f0f08c",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6016,\r
- "y": 3231,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5974,\r
+ "y": 3244,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "72b6f676.a7eaa",\r
- "14aebcc4.f7f7cb",\r
- "46bbee51.f68868"\r
+ "905b732c.f0ad98",\r
+ "7d99b03d.258298",\r
+ "45df9551.f0104c"\r
]\r
]\r
},\r
{\r
- "id": "46bbee51.f68868",\r
+ "id": "45df9551.f0104c",\r
"type": "set",\r
"name": "set attachment_param domain B",\r
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
"comments": "",\r
- "x": 6236,\r
- "y": 3275,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6194,\r
+ "y": 3288,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "14aebcc4.f7f7cb",\r
+ "id": "7d99b03d.258298",\r
"type": "execute",\r
"name": "execute RestApiCallNode domainB UNI Coloring",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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": 6287,\r
- "y": 3319,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6245,\r
+ "y": 3332,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "2a75572.a50f028",\r
- "b6918e5c.ab31"\r
+ "bd0a7a36.9d20c8",\r
+ "dca7fdc6.a617b"\r
]\r
]\r
},\r
{\r
- "id": "b6918e5c.ab31",\r
+ "id": "dca7fdc6.a617b",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6550,\r
- "y": 3299,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6508,\r
+ "y": 3312,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "18902915.6118d7"\r
+ "fccd3cd5.48582"\r
]\r
]\r
},\r
{\r
- "id": "2a75572.a50f028",\r
+ "id": "bd0a7a36.9d20c8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6551.000213623047,\r
- "y": 3349.99990940094,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6509.000213623047,\r
+ "y": 3362.99990940094,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "6d64d1d4.bfd958"\r
+ "21901264.638a9e"\r
]\r
]\r
},\r
{\r
- "id": "18902915.6118d7",\r
+ "id": "fccd3cd5.48582",\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 UNI coloring for domain B\" />\n",\r
"comments": "",\r
- "x": 6690.000247955322,\r
- "y": 3299.0000009536743,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6648.000247955322,\r
+ "y": 3312.0000009536743,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "6d64d1d4.bfd958",\r
+ "id": "21901264.638a9e",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6696.02725982666,\r
- "y": 3347.745394706726,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6654.02725982666,\r
+ "y": 3360.745394706726,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "cf8ac1fc.c141",\r
+ "id": "6f9b661d.d75948",\r
"type": "set",\r
"name": "set attachment_param domain otnidx",\r
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
"comments": "",\r
- "x": 6333,\r
- "y": 3749,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6291,\r
+ "y": 3762,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "77439122.61f0b",\r
+ "id": "19fc5975.9c891f",\r
"type": "save",\r
"name": "get all-vpn-bindings from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3652,\r
- "y": 4096,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3610,\r
+ "y": 4109,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "a916ce6e.3a2dd8",\r
- "8ea0214a.83c",\r
- "1e283443.a11834"\r
+ "3b17ad03.4221a2",\r
+ "d69cd907.6aa748",\r
+ "2274d619.b436c2"\r
]\r
]\r
},\r
{\r
- "id": "a916ce6e.3a2dd8",\r
+ "id": "3b17ad03.4221a2",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3840,\r
- "y": 4109,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3798,\r
+ "y": 4122,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "34b3b115.5888ce"\r
+ "c84d9923.4faed"\r
]\r
]\r
},\r
{\r
- "id": "8ea0214a.83c",\r
+ "id": "d69cd907.6aa748",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3840.490966796875,\r
- "y": 4154.574035644531,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3798.490966796875,\r
+ "y": 4167.574035644531,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "389d2b9f.8874d4"\r
+ "ab55f6d5.77c7d"\r
]\r
]\r
},\r
{\r
- "id": "1e283443.a11834",\r
+ "id": "2274d619.b436c2",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3838,\r
- "y": 4198,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3796,\r
+ "y": 4211,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8afc42fa.281da"\r
+ "7380e8da.afb22"\r
]\r
]\r
},\r
{\r
- "id": "34b3b115.5888ce",\r
+ "id": "c84d9923.4faed",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4013,\r
- "y": 4107,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3971,\r
+ "y": 4120,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "9cfe8596.af4768"\r
+ "4f7659f.9cf48a8"\r
]\r
]\r
},\r
{\r
- "id": "389d2b9f.8874d4",\r
+ "id": "ab55f6d5.77c7d",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 4003.0623779296875,\r
- "y": 4154.859771728516,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3961.0623779296875,\r
+ "y": 4167.859771728516,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "8afc42fa.281da",\r
+ "id": "7380e8da.afb22",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 4005,\r
- "y": 4197,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3963,\r
+ "y": 4210,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "adac8296.d1b27",\r
+ "id": "2ea54daa.f8c89a",\r
"type": "for",\r
"name": "for vidx..tmp.otninfo_length[]",\r
"xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3641,\r
- "y": 4287,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3599,\r
+ "y": 4300,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "a0b78348.a09218"\r
+ "1b14a9d6.5d5776"\r
]\r
]\r
},\r
{\r
- "id": "a5b6bb26.da9ec8",\r
+ "id": "ae6235d1.274b2",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4451,\r
- "y": 4287,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4409,\r
+ "y": 4300,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "45429cd9.5d7224"\r
+ "b2a4c6eb.8f6fb8"\r
]\r
]\r
},\r
{\r
- "id": "d9387db0.98ab68",\r
+ "id": "c8a00103.c44878",\r
"type": "for",\r
"name": "for vidx..tmp.otninfo_length[]",\r
"xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4223,\r
- "y": 4287,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4181,\r
+ "y": 4300,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "a5b6bb26.da9ec8"\r
+ "ae6235d1.274b2"\r
]\r
]\r
},\r
{\r
- "id": "e7eee5b6.16e978",\r
+ "id": "315b6688.54502a",\r
"type": "set",\r
"name": "set providerValue",\r
"xml": "<set>\n<parameter name='providerValue' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].access-provider-id`' />\n<parameter name='found' value='false' />\n\n\n",\r
"comments": "",\r
- "x": 5343,\r
- "y": 4054,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5301,\r
+ "y": 4067,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "e4dd1d5b.f089e8",\r
+ "id": "ea932ad5.e0e7e8",\r
"type": "set",\r
"name": "set",\r
"xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
"comments": "",\r
- "x": 5645,\r
- "y": 3180,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5603,\r
+ "y": 3193,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "e39528c5.00341",\r
+ "id": "6c8b8ef6.d3a3",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5480,\r
- "y": 3155,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5438,\r
+ "y": 3168,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "e4dd1d5b.f089e8",\r
- "d4bb1111.25cff"\r
+ "ea932ad5.e0e7e8",\r
+ "886d3de7.c041d"\r
]\r
]\r
},\r
{\r
- "id": "9b47cb2b.81e09",\r
+ "id": "1ad0a363.7d61cd",\r
"type": "set",\r
"name": "set tmp.arr",\r
"xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<parameter name='tmp.slicevpns' value='' />\n<parameter name='tmp.slicevpns_length' value='0' />\n\n<parameter name='tmp.slicevpnuuids' value='' />\n<parameter name='tmp.slicevpnuuids.' value='' />\n\n<parameter name='bwModified' value='false' />\n\n\n",\r
"comments": "",\r
- "x": 1938,\r
- "y": 134,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1896,\r
+ "y": 147,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "9cfe8596.af4768",\r
+ "id": "4f7659f.9cf48a8",\r
"type": "for",\r
"name": "for vpnidx in all-vpn-bindings",\r
"xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4242,\r
- "y": 4108,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4200,\r
+ "y": 4121,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "9ba3a7c0.b0cb88"\r
+ "39723735.013e2"\r
]\r
]\r
},\r
{\r
- "id": "9ba3a7c0.b0cb88",\r
+ "id": "39723735.013e2",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4457,\r
- "y": 4109,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4415,\r
+ "y": 4122,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "45048a47.3aa5fc"\r
+ "a85f98e7.7e0e3"\r
]\r
]\r
},\r
{\r
- "id": "30ee7ab9.1c084e",\r
+ "id": "45b1bc5.a80fac4",\r
"type": "for",\r
"name": "for arridx in tmp.arr",\r
"xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5910,\r
- "y": 4029,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5868,\r
+ "y": 4042,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "53d8a5a4.d4c3ac"\r
+ "6b77cda7.20313c"\r
]\r
]\r
},\r
{\r
- "id": "b5b6b6e5.2bc768",\r
+ "id": "2e1bb3dd.371e44",\r
"type": "switchNode",\r
"name": "switch $tmp.arr_length != 0",\r
"xml": "<switch test='`$tmp.arr_length != 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5376,\r
- "y": 4109,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5334,\r
+ "y": 4122,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "1acbae51.13627a",\r
- "b78197f0.7f231"\r
+ "24502626.aaa1ba",\r
+ "5f3af9a.344a808"\r
]\r
]\r
},\r
{\r
- "id": "1acbae51.13627a",\r
+ "id": "24502626.aaa1ba",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5572,\r
- "y": 4079,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5530,\r
+ "y": 4092,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "4305d70.41fb128"\r
+ "d529614e.bbdc5"\r
]\r
]\r
},\r
{\r
- "id": "b78197f0.7f231",\r
+ "id": "5f3af9a.344a808",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5573,\r
- "y": 4150,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5531,\r
+ "y": 4163,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "513cbe42.5f9f78"\r
+ "ec475a9a.8eb8b8"\r
]\r
]\r
},\r
{\r
- "id": "4305d70.41fb128",\r
+ "id": "d529614e.bbdc5",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5723,\r
- "y": 4077,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5681,\r
+ "y": 4090,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "30ee7ab9.1c084e",\r
- "2ee86607.39702a"\r
+ "45b1bc5.a80fac4",\r
+ "c40fb6f1.31454"\r
]\r
]\r
},\r
{\r
- "id": "53d8a5a4.d4c3ac",\r
+ "id": "6b77cda7.20313c",\r
"type": "switchNode",\r
"name": "switch tmp.arr[$arridx] == $providerValue",\r
"xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6201,\r
- "y": 4029,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6159,\r
+ "y": 4042,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "f8741b2b.9feaa8",\r
- "d4cbae1e.f8339"\r
+ "de5fc252.aa8c8",\r
+ "5ea06666.14b488"\r
]\r
]\r
},\r
{\r
- "id": "f8741b2b.9feaa8",\r
+ "id": "de5fc252.aa8c8",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6476,\r
- "y": 3998,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6434,\r
+ "y": 4011,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8f2d4eac.99e5f8"\r
+ "171b52be.079295"\r
]\r
]\r
},\r
{\r
- "id": "d4cbae1e.f8339",\r
+ "id": "5ea06666.14b488",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6477,\r
- "y": 4069,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6435,\r
+ "y": 4082,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "5e18e353.3a05ac"\r
+ "9281ca71.e773a"\r
]\r
]\r
},\r
{\r
- "id": "8f2d4eac.99e5f8",\r
+ "id": "171b52be.079295",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6627,\r
- "y": 3996,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6585,\r
+ "y": 4009,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8b8a8ce1.3ddff",\r
- "9358083a.54b3b8",\r
- "842d4e41.428d6",\r
- "c78fe39c.41c76",\r
- "78c705fa.24e9dc"\r
+ "e713eb27.04e0e8",\r
+ "321eb6fe.b414b2",\r
+ "2f73393e.94f68e",\r
+ "3f07f766.243a2",\r
+ "ef925dc2.f8f9f"\r
]\r
]\r
},\r
{\r
- "id": "8b8a8ce1.3ddff",\r
+ "id": "e713eb27.04e0e8",\r
"type": "set",\r
"name": "set found to true",\r
"xml": "<set>\n<parameter name='found' value='true' />\n\n\n",\r
"comments": "",\r
- "x": 6815,\r
- "y": 3956,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6773,\r
+ "y": 3969,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "9358083a.54b3b8",\r
+ "id": "321eb6fe.b414b2",\r
"type": "save",\r
"name": "store $arridx somewhere in vpn-binding",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx`' />\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6887,\r
- "y": 4001,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6845,\r
+ "y": 4014,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "78c705fa.24e9dc",\r
+ "id": "ef925dc2.f8f9f",\r
"type": "set",\r
"name": "set twoD arr",\r
"xml": "<set>\n\n<!--<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />-->\n<!--<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />-->\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<!--<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />-->\n<parameter name='`otn-tunnel-slice[$arridx].list_length`' value='`$sizeOfSliceList + 1`' />\n\n",\r
"comments": "",\r
- "x": 6802,\r
- "y": 4128,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6760,\r
+ "y": 4141,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "c78fe39c.41c76",\r
+ "id": "3f07f766.243a2",\r
"type": "set",\r
"name": "set sizeOfSliceList",\r
"xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",\r
"comments": "",\r
- "x": 6823,\r
- "y": 4064,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6781,\r
+ "y": 4077,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "513cbe42.5f9f78",\r
+ "id": "ec475a9a.8eb8b8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5725,\r
- "y": 4150,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5683,\r
+ "y": 4163,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "56c68e45.b909e",\r
- "62724f29.35ed9"\r
+ "1e5d0b07.cb12bd",\r
+ "6806bbfa.adddec"\r
]\r
]\r
},\r
{\r
- "id": "56c68e45.b909e",\r
+ "id": "1e5d0b07.cb12bd",\r
"type": "save",\r
"name": "store $arridx somewhere in vpn-binding",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='0' />\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5980,\r
- "y": 4143,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5938,\r
+ "y": 4156,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "62724f29.35ed9",\r
+ "id": "6806bbfa.adddec",\r
"type": "set",\r
"name": "set twoD array",\r
"xml": "<set>\n<parameter name='tmp.arr[0]' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='1' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[0].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[0].list_length' value='1' />\n\n",\r
"comments": "",\r
- "x": 5908,\r
- "y": 4190,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5866,\r
+ "y": 4203,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "2ee86607.39702a",\r
+ "id": "c40fb6f1.31454",\r
"type": "switchNode",\r
"name": "switch found?",\r
"xml": "<switch test='`$found`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5901,\r
- "y": 4074,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5859,\r
+ "y": 4087,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "57630af9.c71c94",\r
- "27468ceb.58bbcc"\r
+ "58a78c2e.66d86c",\r
+ "d7b2b4c.94059c8"\r
]\r
]\r
},\r
{\r
- "id": "57630af9.c71c94",\r
+ "id": "58a78c2e.66d86c",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6061,\r
- "y": 4066,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6019,\r
+ "y": 4079,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "55618a59.0218f4"\r
+ "cde5de2c.7d36b8"\r
]\r
]\r
},\r
{\r
- "id": "27468ceb.58bbcc",\r
+ "id": "d7b2b4c.94059c8",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6059,\r
- "y": 4103,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6017,\r
+ "y": 4116,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "dbf50489.ec13e"\r
+ "74309960.8d777"\r
]\r
]\r
},\r
{\r
- "id": "55618a59.0218f4",\r
+ "id": "cde5de2c.7d36b8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6186,\r
- "y": 4066,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6144,\r
+ "y": 4079,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "54fbb2b4.70fc04",\r
+ "id": "6b083096.f77d9",\r
"type": "save",\r
"name": "store $arridx+1 somewhere in vpn-binding",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx + 1`' />\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6493,\r
- "y": 4124,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6451,\r
+ "y": 4137,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "dbf50489.ec13e",\r
+ "id": "74309960.8d777",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6219,\r
- "y": 4111,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6177,\r
+ "y": 4124,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "54fbb2b4.70fc04",\r
- "7e39f539.ebf16c"\r
+ "6b083096.f77d9",\r
+ "b4ddb8c9.5ca64"\r
]\r
]\r
},\r
{\r
- "id": "7e39f539.ebf16c",\r
+ "id": "b4ddb8c9.5ca64",\r
"type": "set",\r
"name": "set twoD array",\r
"xml": "<set>\n<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list_length`' value='1' />\n\n",\r
"comments": "",\r
- "x": 6410,\r
- "y": 4170,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6368,\r
+ "y": 4183,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "5e18e353.3a05ac",\r
+ "id": "9281ca71.e773a",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6610,\r
- "y": 4068,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6568,\r
+ "y": 4081,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "842d4e41.428d6",\r
+ "id": "2f73393e.94f68e",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 6781,\r
- "y": 4195,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6739,\r
+ "y": 4208,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "7c37f4eb.58f484",\r
+ "id": "c3673769.ff0828",\r
"type": "switchNode",\r
"name": "switch dstPort == NULL",\r
"xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5178,\r
- "y": 2407,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5136,\r
+ "y": 2420,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "16caf8de.d229e7",\r
- "54697afc.bd57bc"\r
+ "354051ca.f807c6",\r
+ "2ad9a102.280abe"\r
]\r
]\r
},\r
{\r
- "id": "16caf8de.d229e7",\r
+ "id": "354051ca.f807c6",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5567,\r
- "y": 2385,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5525,\r
+ "y": 2398,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "6d8c7c43.cb932c"\r
+ "dcf8c46b.cd2d9"\r
]\r
]\r
},\r
{\r
- "id": "54697afc.bd57bc",\r
+ "id": "2ad9a102.280abe",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5568,\r
- "y": 2431,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5526,\r
+ "y": 2444,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "92ed67c7.8c7a"\r
+ "d548eb8f.ae0418"\r
]\r
]\r
},\r
{\r
- "id": "6d8c7c43.cb932c",\r
+ "id": "dcf8c46b.cd2d9",\r
"type": "set",\r
"name": "set access-provider-id and client-id",\r
"xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",\r
"comments": "",\r
- "x": 5781,\r
- "y": 2384,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5739,\r
+ "y": 2397,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "92ed67c7.8c7a",\r
+ "id": "d548eb8f.ae0418",\r
"type": "set",\r
"name": "set access-provider-id and client-id",\r
"xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",\r
"comments": "",\r
- "x": 5779,\r
- "y": 2429,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5737,\r
+ "y": 2442,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "45429cd9.5d7224",\r
+ "id": "b2a4c6eb.8f6fb8",\r
"type": "set",\r
"name": "set attachment_param sliceG",\r
"xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].request-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].request-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].bw-odu`' value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].bw-odu`\" />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].src-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].src-ttp-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].dst-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].dst-ttp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='otn-tunnel-sliceG-list_length' value='`$stunidx + 1`' />\n\n\n<parameter name=\"tmp.domainG.restapiUrl\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainurl`\" />\n<parameter name=\"tmp.domainG.restapiUser\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainuser`\" />\n<parameter name=\"tmp.domainG.restapiPassword\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainpassword`\" />",\r
"comments": "",\r
- "x": 4704,\r
- "y": 4285,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4662,\r
+ "y": 4298,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "8c979de9.c09378",\r
+ "id": "83baeacb.444588",\r
"type": "execute",\r
"name": "execute RestApiCallNode sliceG creation domainG",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceG-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.domainG.restapiUrl + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$tmp.domainG.restapiUser`\" />\n<parameter name=\"restapiPassword\" value=\"`tmp.domainG.restapiPassword`\" />\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`\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4289,\r
- "y": 4393,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4247,\r
+ "y": 4406,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "e196ec28.ce397",\r
- "9ae42505.217cf8"\r
+ "27e27e6a.f2ce82",\r
+ "450c3617.7079e"\r
]\r
]\r
},\r
{\r
- "id": "9ae42505.217cf8",\r
+ "id": "450c3617.7079e",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4572,\r
- "y": 4373,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4530,\r
+ "y": 4386,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "bf5b9f50.921198"\r
+ "2c8d1c7a.f387cc"\r
]\r
]\r
},\r
{\r
- "id": "e196ec28.ce397",\r
+ "id": "27e27e6a.f2ce82",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4573.000213623047,\r
- "y": 4423.99990940094,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4531.000213623047,\r
+ "y": 4436.99990940094,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ca17658e.a8462"\r
+ "2b775544.0b0442"\r
]\r
]\r
},\r
{\r
- "id": "bf5b9f50.921198",\r
+ "id": "2c8d1c7a.f387cc",\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 slice creation api for domain A\" />\n",\r
"comments": "",\r
- "x": 4712.000247955322,\r
- "y": 4373.000000953674,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4670.000247955322,\r
+ "y": 4386.000000953674,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "ca17658e.a8462",\r
+ "id": "2b775544.0b0442",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4718.02725982666,\r
- "y": 4421.745394706726,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4676.02725982666,\r
+ "y": 4434.745394706726,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "c24bf6c5.fa73c8",\r
+ "id": "3b94d9a7.b824be",\r
"type": "set",\r
"name": "set srcdstpnf-name",\r
"xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n $tmp.access-provider-id + '-clientId-' +\n $tmp.access-client-id + '-topologyId-' + \n $tmp.access-topology-id + '-nodeId-' + \n $tmp.srcdstpnf-id`\" />\n\n",\r
"comments": "",\r
- "x": 5362,\r
- "y": 2527,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5320,\r
+ "y": 2540,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "1dbe2057.a5e62",\r
+ "id": "e2ccb618.b8a8d",\r
"type": "get-resource",\r
"name": "get-resource tmp.srcdstpnf-name",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5406,\r
- "y": 2575,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5364,\r
+ "y": 2588,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "b817832b.d2bf5",\r
- "fd3a55f8.c9d638",\r
- "b887d27c.b753c8"\r
+ "7cc0ff8d.947d5",\r
+ "847ae6cc.cd8548",\r
+ "514e2f17.0688a8"\r
]\r
]\r
},\r
{\r
- "id": "b817832b.d2bf5",\r
+ "id": "7cc0ff8d.947d5",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5618.5,\r
- "y": 2522,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5576.5,\r
+ "y": 2535,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ad57831e.648c8"\r
+ "3cc1d272.0b4856"\r
]\r
]\r
},\r
{\r
- "id": "fd3a55f8.c9d638",\r
+ "id": "847ae6cc.cd8548",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5630.5,\r
- "y": 2572,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5588.5,\r
+ "y": 2585,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "b93496a6.69adc"\r
+ "3fb63137.b62f46"\r
]\r
]\r
},\r
{\r
- "id": "b887d27c.b753c8",\r
+ "id": "514e2f17.0688a8",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5621.5,\r
- "y": 2627,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5579.5,\r
+ "y": 2640,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "b15272b2.6a6078"\r
+ "e6964c37.0e1d08"\r
]\r
]\r
},\r
{\r
- "id": "b15272b2.6a6078",\r
+ "id": "e6964c37.0e1d08",\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": 5766.5,\r
- "y": 2626,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5724.5,\r
+ "y": 2639,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "b93496a6.69adc",\r
+ "id": "3fb63137.b62f46",\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": 5777.5,\r
- "y": 2569,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5735.5,\r
+ "y": 2582,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "ad57831e.648c8",\r
+ "id": "3cc1d272.0b4856",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5743.8824462890625,\r
- "y": 2515.6556701660156,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5701.8824462890625,\r
+ "y": 2528.6556701660156,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "de6a0737.bde95"\r
+ "597135e9.9cf8dc"\r
]\r
]\r
},\r
{\r
- "id": "8779930e.acaac",\r
+ "id": "641197e8.a0857",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6303,\r
- "y": 2534,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6261,\r
+ "y": 2547,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "eb5cb5f4.6dd96"\r
+ "ec2f2380.dc3938"\r
]\r
]\r
},\r
{\r
- "id": "eb5cb5f4.6dd96",\r
+ "id": "ec2f2380.dc3938",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 6480,\r
- "y": 2526,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6438,\r
+ "y": 2539,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "c49affc6.c8c2f",\r
- "d02c8535.9950a"\r
+ "f9283f20.fcecb",\r
+ "5f7551a8.c48a"\r
]\r
]\r
},\r
{\r
- "id": "de6a0737.bde95",\r
+ "id": "597135e9.9cf8dc",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5905,\r
- "y": 2530,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5863,\r
+ "y": 2543,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "38bf0267.963d4e"\r
+ "af459c6d.98172"\r
]\r
]\r
},\r
{\r
- "id": "38bf0267.963d4e",\r
+ "id": "af459c6d.98172",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6100,\r
- "y": 2530,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6058,\r
+ "y": 2543,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8779930e.acaac"\r
+ "641197e8.a0857"\r
]\r
]\r
},\r
{\r
- "id": "d02c8535.9950a",\r
+ "id": "5f7551a8.c48a",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6688,\r
- "y": 2533,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6646,\r
+ "y": 2546,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "cdad79e0.120d78",\r
- "28e812c3.6536fe",\r
- "4be09c5b.0037ec"\r
+ "64071614.e531b8",\r
+ "1c3ac340.54b235",\r
+ "e738e604.11d738"\r
]\r
]\r
},\r
{\r
- "id": "c49affc6.c8c2f",\r
+ "id": "f9283f20.fcecb",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domainG id",\r
"xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 6718,\r
- "y": 2481,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6676,\r
+ "y": 2494,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "cdad79e0.120d78",\r
+ "id": "64071614.e531b8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6898,\r
- "y": 2524,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6856,\r
+ "y": 2537,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "131587f4.87c8f8"\r
+ "68b02952.bfbd08"\r
]\r
]\r
},\r
{\r
- "id": "28e812c3.6536fe",\r
+ "id": "1c3ac340.54b235",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6890,\r
- "y": 2579,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6848,\r
+ "y": 2592,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "f025d314.592c4"\r
+ "84e50897.107018"\r
]\r
]\r
},\r
{\r
- "id": "4be09c5b.0037ec",\r
+ "id": "e738e604.11d738",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6895,\r
- "y": 2636,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6853,\r
+ "y": 2649,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ca734be9.796a3"\r
+ "69a8c55f.4a217c"\r
]\r
]\r
},\r
{\r
- "id": "ca734be9.796a3",\r
+ "id": "69a8c55f.4a217c",\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": 7047,\r
- "y": 2637,\r
- "z": "df5c2cef.29f798",\r
+ "x": 7005,\r
+ "y": 2650,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "f025d314.592c4",\r
+ "id": "84e50897.107018",\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": 7058,\r
- "y": 2582,\r
- "z": "df5c2cef.29f798",\r
+ "x": 7016,\r
+ "y": 2595,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "131587f4.87c8f8",\r
+ "id": "68b02952.bfbd08",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 7042.38232421875,\r
- "y": 2521.6556701660156,\r
- "z": "df5c2cef.29f798",\r
+ "x": 7000.38232421875,\r
+ "y": 2534.6556701660156,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "b10b1934.5f3698"\r
+ "ca909332.9badd"\r
]\r
]\r
},\r
{\r
- "id": "b10b1934.5f3698",\r
+ "id": "ca909332.9badd",\r
"type": "set",\r
"name": "set controller domainA data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
"comments": "",\r
- "x": 7257,\r
- "y": 2518,\r
- "z": "df5c2cef.29f798",\r
+ "x": 7215,\r
+ "y": 2531,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "a0b78348.a09218",\r
+ "id": "1b14a9d6.5d5776",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3873,\r
- "y": 4285,\r
- "z": "df5c2cef.29f798",\r
+ "x": 3831,\r
+ "y": 4298,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "d9387db0.98ab68",\r
- "8c979de9.c09378"\r
+ "c8a00103.c44878",\r
+ "83baeacb.444588"\r
]\r
]\r
},\r
{\r
- "id": "94fd6991.78fda",\r
+ "id": "77665e36.902488",\r
"type": "switchNode",\r
"name": "switch dmnsidx == 0 (domainA)",\r
"xml": "<switch test='`$otnidx == 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5376,\r
- "y": 2744,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5334,\r
+ "y": 2757,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "a8dd9104.b00cc8",\r
- "a5fa454e.c7391"\r
+ "84137cfa.8c833",\r
+ "67fc26bd.7160b"\r
]\r
]\r
},\r
{\r
- "id": "a8dd9104.b00cc8",\r
+ "id": "84137cfa.8c833",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5577,\r
- "y": 2742,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5535,\r
+ "y": 2755,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "bde911bd.4178d"\r
+ "f473c0e8.32ced8"\r
]\r
]\r
},\r
{\r
- "id": "bde911bd.4178d",\r
+ "id": "f473c0e8.32ced8",\r
"type": "set",\r
"name": "set attachment_param domain A",\r
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
"comments": "",\r
- "x": 5791,\r
- "y": 2744,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5749,\r
+ "y": 2757,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "99bcb408.94c238",\r
+ "id": "fc82d42d.acc69",\r
"type": "switchNode",\r
"name": "switch dmnsidx == last (domainB)",\r
"xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5794,\r
- "y": 2793,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5752,\r
+ "y": 2806,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ba84b2ac.820f48",\r
- "f2bc6a9d.359a1"\r
+ "7c791386.dabd3c",\r
+ "9bcb702f.f45c28"\r
]\r
]\r
},\r
{\r
- "id": "ba84b2ac.820f48",\r
+ "id": "7c791386.dabd3c",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6024,\r
- "y": 2789,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5982,\r
+ "y": 2802,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "7b7412c.2c058ec"\r
+ "982b0489.27b268"\r
]\r
]\r
},\r
{\r
- "id": "7b7412c.2c058ec",\r
+ "id": "982b0489.27b268",\r
"type": "set",\r
"name": "set attachment_param domain B",\r
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",\r
"comments": "",\r
- "x": 6238,\r
- "y": 2792,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6196,\r
+ "y": 2805,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "a5fa454e.c7391",\r
+ "id": "67fc26bd.7160b",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5577,\r
- "y": 2791,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5535,\r
+ "y": 2804,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "99bcb408.94c238"\r
+ "fc82d42d.acc69"\r
]\r
]\r
},\r
{\r
- "id": "f2bc6a9d.359a1",\r
+ "id": "9bcb702f.f45c28",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 6025,\r
- "y": 2835,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5983,\r
+ "y": 2848,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "97f6382c.08a66"\r
+ "95308046.cfa4"\r
]\r
]\r
},\r
{\r
- "id": "97f6382c.08a66",\r
+ "id": "95308046.cfa4",\r
"type": "set",\r
"name": "set attachment_param domain G",\r
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
"comments": "",\r
- "x": 6239,\r
- "y": 2835,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6197,\r
+ "y": 2848,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "d5f9f3e8.876da8",\r
+ "id": "20917868.85ed",\r
"type": "set",\r
"name": "set tmp.slicevpns",\r
"xml": "<set>\n<parameter name='`tmp.slicevpns[$tmp.slicevpns_length]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n<parameter name='tmp.slicevpns_length' value=\"`$tmp.slicevpns_length + 1`\" />\n\n<parameter name='`tmp.slicevpnuuids[$prop.vpn-binding-otnidx-uuid]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n\n",\r
"comments": "",\r
- "x": 6137,\r
- "y": 2884,\r
- "z": "df5c2cef.29f798",\r
+ "x": 6095,\r
+ "y": 2897,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "45048a47.3aa5fc",\r
+ "id": "a85f98e7.7e0e3",\r
"type": "switchNode",\r
"name": "switch vpnuuid is for this slice",\r
"xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n \n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.aai.service-instance.service-instance-id `\">\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4701,\r
- "y": 4108,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4659,\r
+ "y": 4121,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "34a9fd7.c9a0402",\r
- "a146c972.fd19c"\r
+ "c594891a.4ece58",\r
+ "9fcde7ff.ff63c8"\r
]\r
]\r
},\r
{\r
- "id": "34a9fd7.c9a0402",\r
+ "id": "c594891a.4ece58",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4918,\r
- "y": 4087,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4876,\r
+ "y": 4100,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "7c5ab1e1.aaf1f8"\r
+ "4b2347b3.08fa3"\r
]\r
]\r
},\r
{\r
- "id": "a146c972.fd19c",\r
+ "id": "9fcde7ff.ff63c8",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4918,\r
- "y": 4136,\r
- "z": "df5c2cef.29f798",\r
+ "x": 4876,\r
+ "y": 4149,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "7c5ab1e1.aaf1f8",\r
+ "id": "4b2347b3.08fa3",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5086,\r
- "y": 4087,\r
- "z": "df5c2cef.29f798",\r
+ "x": 5044,\r
+ "y": 4100,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "e7eee5b6.16e978",\r
- "b5b6b6e5.2bc768"\r
+ "315b6688.54502a",\r
+ "2e1bb3dd.371e44"\r
]\r
]\r
},\r
{\r
- "id": "320f3490.61a614",\r
+ "id": "adcb7aad.70c0d",\r
"type": "save",\r
"name": "get logical-link from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1426,\r
- "y": 718,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1384,\r
+ "y": 731,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "653e0797.1d827",\r
- "db86f5c5.803548",\r
- "a788197d.0ee218"\r
+ "89022850.9f967",\r
+ "75f048cb.75fe2",\r
+ "d7d4823f.55128"\r
]\r
]\r
},\r
{\r
- "id": "653e0797.1d827",\r
+ "id": "89022850.9f967",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1638.490966796875,\r
- "y": 684.573974609375,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1596.490966796875,\r
+ "y": 697.573974609375,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "a3fdac41.0f5208"\r
+ "278a0fef.2766a8"\r
]\r
]\r
},\r
{\r
- "id": "db86f5c5.803548",\r
+ "id": "75f048cb.75fe2",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1627,\r
- "y": 729,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1585,\r
+ "y": 742,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "6b3d987f.3963e8"\r
+ "93e6204d.139fe"\r
]\r
]\r
},\r
{\r
- "id": "a3fdac41.0f5208",\r
+ "id": "278a0fef.2766a8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 1787.0625,\r
- "y": 684.8597412109375,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1745.0625,\r
+ "y": 697.8597412109375,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "6b3d987f.3963e8",\r
+ "id": "93e6204d.139fe",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1786,\r
- "y": 729,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1744,\r
+ "y": 742,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "a788197d.0ee218",\r
+ "id": "d7d4823f.55128",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1632,\r
- "y": 772,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1590,\r
+ "y": 785,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "6f79cb60.ba682c"\r
+ "6c086bfb.a0d044"\r
]\r
]\r
},\r
{\r
- "id": "6f79cb60.ba682c",\r
+ "id": "6c086bfb.a0d044",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 778,\r
- "y": 1111,\r
- "z": "df5c2cef.29f798",\r
+ "x": 736,\r
+ "y": 1124,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "b6c5466.cef2ab8"\r
+ "b122eb38.341668"\r
]\r
]\r
},\r
{\r
- "id": "b6c5466.cef2ab8",\r
+ "id": "b122eb38.341668",\r
"type": "for",\r
"name": "for each svc-instance relationship",\r
"xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1052,\r
- "y": 1111,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1010,\r
+ "y": 1124,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "db0349a.25c5f38"\r
+ "428eb2b6.4c43ec"\r
]\r
]\r
},\r
{\r
- "id": "db0349a.25c5f38",\r
+ "id": "428eb2b6.4c43ec",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1287.33349609375,\r
- "y": 1112,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1245.33349609375,\r
+ "y": 1125,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "e2db5406.ea53a8"\r
+ "6c08ceaa.3d7e3"\r
]\r
]\r
},\r
{\r
- "id": "e2db5406.ea53a8",\r
+ "id": "6c08ceaa.3d7e3",\r
"type": "outcome",\r
"name": "connectivity",\r
"xml": "<outcome value='connectivity'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 571.000244140625,\r
- "y": 1265,\r
- "z": "df5c2cef.29f798",\r
+ "x": 529.000244140625,\r
+ "y": 1278,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "4dfa6aad.834ec4"\r
+ "42fb5b21.64c794"\r
]\r
]\r
},\r
{\r
- "id": "a29cb5bb.c12f3",\r
+ "id": "c24bb232.38015",\r
"type": "save",\r
"name": "get connectivity from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 960,\r
- "y": 1270,\r
- "z": "df5c2cef.29f798",\r
+ "x": 918,\r
+ "y": 1283,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "c355a2e8.7aaf9",\r
- "bfa7f0cb.443038",\r
- "86dae01c.e8a7d8"\r
+ "a881a6a4.94a7c8",\r
+ "2e732415.a6ca64",\r
+ "10e50fbd.fcc5a"\r
]\r
]\r
},\r
{\r
- "id": "c355a2e8.7aaf9",\r
+ "id": "a881a6a4.94a7c8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1156,\r
- "y": 1235,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1114,\r
+ "y": 1248,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "1f5a660e.de0452"\r
+ "2f6cf4f3.693c54"\r
]\r
]\r
},\r
{\r
- "id": "bfa7f0cb.443038",\r
+ "id": "2e732415.a6ca64",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1156.490966796875,\r
- "y": 1280.5740356445312,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1114.490966796875,\r
+ "y": 1293.5740356445312,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "f567d172.d846a8"\r
+ "75b4d03c.1b0488"\r
]\r
]\r
},\r
{\r
- "id": "86dae01c.e8a7d8",\r
+ "id": "10e50fbd.fcc5a",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1121,\r
- "y": 1326,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1079,\r
+ "y": 1339,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "3f353c11.763704"\r
+ "83cefb63.3d3958"\r
]\r
]\r
},\r
{\r
- "id": "f567d172.d846a8",\r
+ "id": "75b4d03c.1b0488",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 1316.0625,\r
- "y": 1277.8597412109375,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1274.0625,\r
+ "y": 1290.8597412109375,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "3f353c11.763704",\r
+ "id": "83cefb63.3d3958",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1274,\r
- "y": 1328,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1232,\r
+ "y": 1341,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "11174c12.9e5084",\r
+ "id": "f0221f2b.2ca488",\r
"type": "switchNode",\r
"name": "switch loglink-id exists in conn",\r
"xml": "<switch test='`$tmp.aai.logical-link.link-id == $tmp.aai.connectivity.etht-svc-name`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1549,\r
- "y": 1218,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1507,\r
+ "y": 1231,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "b3297b62.15a2f",\r
- "5b8a7e9c.a8c0b8"\r
+ "1f27bf84.77001",\r
+ "e05aac94.264e2"\r
]\r
]\r
},\r
{\r
- "id": "b3297b62.15a2f",\r
+ "id": "1f27bf84.77001",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1760,\r
- "y": 1183,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1718,\r
+ "y": 1196,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "1488db49.ce832d"\r
+ "5241d9c1.c5a"\r
]\r
]\r
},\r
{\r
- "id": "5b8a7e9c.a8c0b8",\r
+ "id": "e05aac94.264e2",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1757,\r
- "y": 1244,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1715,\r
+ "y": 1257,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "3dd67f85.457d6",\r
+ "id": "7d1ab491.7a47ec",\r
"type": "set",\r
"name": "set currLinkIsFound",\r
"xml": "<set>\n<parameter name='currLinkIsFound' value=\"true\" />\n\n\n",\r
"comments": "",\r
- "x": 2098,\r
- "y": 1156,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2056,\r
+ "y": 1169,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "1488db49.ce832d",\r
+ "id": "5241d9c1.c5a",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1912,\r
- "y": 1184,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1870,\r
+ "y": 1197,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "3dd67f85.457d6"\r
+ "7d1ab491.7a47ec"\r
]\r
]\r
},\r
{\r
- "id": "17fda0a8.543d27",\r
+ "id": "ac3d3bcb.07c358",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 2065,\r
- "y": 1212,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2023,\r
+ "y": 1225,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "9e795c2b.8794b8",\r
+ "id": "3aa19f56.483778",\r
"type": "comment",\r
"name": "currLinkIsFound. Go to the next logical-link",\r
"info": "",\r
"comments": "",\r
- "x": 2070,\r
- "y": 1106,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2028,\r
+ "y": 1119,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "32833f1a.e66008",\r
+ "id": "7947ec90.0b2fbc",\r
"type": "switchNode",\r
"name": "switch currLinkIsFound",\r
"xml": "<switch test='`$currLinkIsFound`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1352,\r
- "y": 836,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1310,\r
+ "y": 849,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "89a54b3d.dce24",\r
- "e0be93c4.ec1bf"\r
+ "69298f6c.9e2dd",\r
+ "bb557fd5.52031"\r
]\r
]\r
},\r
{\r
- "id": "89a54b3d.dce24",\r
+ "id": "69298f6c.9e2dd",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1538,\r
- "y": 815,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1496,\r
+ "y": 828,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "73540b39.f320f4"\r
+ "cab96485.7156b"\r
]\r
]\r
},\r
{\r
- "id": "e0be93c4.ec1bf",\r
+ "id": "bb557fd5.52031",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1535,\r
- "y": 951,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1493,\r
+ "y": 964,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8fff13f1.763be8"\r
+ "b394b52b.88d4f8"\r
]\r
]\r
},\r
{\r
- "id": "73540b39.f320f4",\r
+ "id": "cab96485.7156b",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1780,\r
- "y": 810,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1738,\r
+ "y": 823,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "71783690.9edfa",\r
+ "id": "b4a6c43d.bfc078",\r
"type": "comment",\r
"name": "A new logical-link has been found: modify process should be triggered",\r
"info": "",\r
"comments": "",\r
- "x": 1726,\r
- "y": 914,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1684,\r
+ "y": 927,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "1f5a660e.de0452",\r
+ "id": "2f6cf4f3.693c54",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1320,\r
- "y": 1219,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1278,\r
+ "y": 1232,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "11174c12.9e5084",\r
- "28a678cf.73375"\r
+ "f0221f2b.2ca488",\r
+ "9c07de97.8ce1e8"\r
]\r
]\r
},\r
{\r
- "id": "28a678cf.73375",\r
+ "id": "9c07de97.8ce1e8",\r
"type": "switchNode",\r
"name": "switch connectivityBW == gfp",\r
"xml": "<switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1550,\r
- "y": 1309,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1508,\r
+ "y": 1322,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "7593ee23.7a5fc8",\r
- "f472c4e4.19eb4"\r
+ "e92f497c.306ff",\r
+ "202f30a4.8a9778"\r
]\r
]\r
},\r
{\r
- "id": "7593ee23.7a5fc8",\r
+ "id": "e92f497c.306ff",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1755,\r
- "y": 1305,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1713,\r
+ "y": 1318,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "f472c4e4.19eb4",\r
+ "id": "202f30a4.8a9778",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1757,\r
- "y": 1355,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1715,\r
+ "y": 1368,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "a1ad62a5.377c38"\r
+ "aabbec3c.d5f948"\r
]\r
]\r
},\r
{\r
- "id": "dbf4dd89.edfbf8",\r
+ "id": "79a3430c.be3b14",\r
"type": "set",\r
"name": "set bwModified",\r
"xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
"comments": "",\r
- "x": 2106,\r
- "y": 1333,\r
- "z": "df5c2cef.29f798",\r
+ "x": 2064,\r
+ "y": 1346,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "a1ad62a5.377c38",\r
+ "id": "aabbec3c.d5f948",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1911,\r
- "y": 1354,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1869,\r
+ "y": 1367,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "dbf4dd89.edfbf8",\r
- "8b32fc44.9a74b"\r
+ "79a3430c.be3b14",\r
+ "b3b4a039.5c091"\r
]\r
]\r
},\r
{\r
- "id": "8b32fc44.9a74b",\r
+ "id": "b3b4a039.5c091",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 931,\r
- "y": 1559,\r
- "z": "df5c2cef.29f798",\r
+ "x": 889,\r
+ "y": 1572,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "3a2b0e4e.390f2a"\r
+ "74886cc5.56820c"\r
]\r
]\r
},\r
{\r
- "id": "3a2b0e4e.390f2a",\r
+ "id": "74886cc5.56820c",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1136,\r
- "y": 1559,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1094,\r
+ "y": 1572,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "8cc489a8.1663e8"\r
+ "ab7d3bd9.5a0118"\r
]\r
]\r
},\r
{\r
- "id": "8cc489a8.1663e8",\r
+ "id": "ab7d3bd9.5a0118",\r
"type": "outcome",\r
"name": "vpn-binding",\r
"xml": "<outcome value='vpn-binding'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1302,\r
- "y": 1559,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1260,\r
+ "y": 1572,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "39440cdd.73e4a4"\r
+ "9ac61acb.25a0c8"\r
]\r
]\r
},\r
{\r
- "id": "39440cdd.73e4a4",\r
+ "id": "9ac61acb.25a0c8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1465,\r
- "y": 1559,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1423,\r
+ "y": 1572,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "e3ceb0b1.0227c",\r
- "837372e0.8cfe9"\r
+ "2370c115.ac8fd6",\r
+ "1b61e8de.a73647"\r
]\r
]\r
},\r
{\r
- "id": "837372e0.8cfe9",\r
+ "id": "1b61e8de.a73647",\r
"type": "set",\r
"name": "unset tmp.aai.vpn-binding",\r
"xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
"comments": "",\r
- "x": 1694,\r
- "y": 1499,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1652,\r
+ "y": 1512,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "e3ceb0b1.0227c",\r
+ "id": "2370c115.ac8fd6",\r
"type": "save",\r
"name": "get vpn-binding from aai",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1203,\r
- "y": 1653,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1161,\r
+ "y": 1666,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "53bbab14.df656c",\r
- "656ddda.68726a4",\r
- "3942f2bd.5b5c6e"\r
+ "28298f17.ccf108",\r
+ "b6883dde.6b7bf8",\r
+ "744baf90.7b9cd8"\r
]\r
]\r
},\r
{\r
- "id": "ee3fab4d.b900c8",\r
+ "id": "98131352.4a889",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1587,\r
- "y": 1653,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1545,\r
+ "y": 1666,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "27f47760.daaf38",\r
- "8574ddfc.4f71a8"\r
+ "1b2b6a88.49f2b5",\r
+ "43c66f34.653488"\r
]\r
]\r
},\r
{\r
- "id": "53bbab14.df656c",\r
+ "id": "28298f17.ccf108",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1414,\r
- "y": 1655,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1372,\r
+ "y": 1668,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "ee3fab4d.b900c8"\r
+ "98131352.4a889"\r
]\r
]\r
},\r
{\r
- "id": "656ddda.68726a4",\r
+ "id": "b6883dde.6b7bf8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1414.490966796875,\r
- "y": 1700.5740356445312,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1372.490966796875,\r
+ "y": 1713.5740356445312,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "a14bcd53.80dad"\r
+ "15cd27be.d92658"\r
]\r
]\r
},\r
{\r
- "id": "3942f2bd.5b5c6e",\r
+ "id": "744baf90.7b9cd8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1412,\r
- "y": 1744,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1370,\r
+ "y": 1757,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "3d036bfb.d96184"\r
+ "d3584005.2bd19"\r
]\r
]\r
},\r
{\r
- "id": "3d036bfb.d96184",\r
+ "id": "d3584005.2bd19",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1579,\r
- "y": 1761,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1537,\r
+ "y": 1774,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "a14bcd53.80dad",\r
+ "id": "15cd27be.d92658",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 1577.0623779296875,\r
- "y": 1700.8597717285156,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1535.0623779296875,\r
+ "y": 1713.8597717285156,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "4dfa6aad.834ec4",\r
+ "id": "42fb5b21.64c794",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 743,\r
- "y": 1265,\r
- "z": "df5c2cef.29f798",\r
+ "x": 701,\r
+ "y": 1278,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
- "a29cb5bb.c12f3",\r
- "ff2edf17.9b8f3"\r
+ "c24bb232.38015",\r
+ "cd433210.9124b"\r
]\r
]\r
},\r
{\r
- "id": "ff2edf17.9b8f3",\r
+ "id": "cd433210.9124b",\r
"type": "set",\r
"name": "unset tmp.aai.connectivity",\r
"xml": "<set>\n<parameter name='tmp.aai.connectivity.' value='' />\n",\r
"comments": "",\r
- "x": 963,\r
- "y": 1213,\r
- "z": "df5c2cef.29f798",\r
+ "x": 921,\r
+ "y": 1226,\r
+ "z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
{\r
- "id": "27f47760.daaf38",\r
+ "id": "1b2b6a88.49f2b5",\r
"type": "save",\r
"name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1937.5,\r
- "y": 1648,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1895.5,\r
+ "y": 1661,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "8574ddfc.4f71a8",\r
+ "id": "43c66f34.653488",\r
"type": "save",\r
"name": "update connectivity resource in AAI",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1864.5,\r
- "y": 1712,\r
- "z": "df5c2cef.29f798",\r
+ "x": 1822.5,\r
+ "y": 1725,\r
+ "z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
]\r
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
<method rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync'>\r
<block atomic="true">\r
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`" />\r
- <parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url + '?ethsrvType=' + $prop.ethsrvType`" />\r
- <parameter name="restapiUser" value="`$prop.oof.user`" />\r
- <parameter name="restapiPassword" value="`$prop.oof.password`" />\r
- <parameter name="format" value="json"/>\r
- <parameter name="httpMethod" value="post"/>\r
- <parameter name="responsePrefix" value="otn-oof"/>\r
- <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
- <parameter name="trustStorePassword" value="adminadmin"/>\r
- <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
- <parameter name="keyStorePassword" value="adminadmin"/>\r
- <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="Error executing OOF api" />\r
- </return>\r
- </outcome>\r
- <outcome value='success'>\r
- <block></block>\r
- </outcome>\r
- </execute>\r
<block atomic='true'>\r
<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="pnfs"\r
- key="selflink = 'https://aai.onap:8443/aai/v21/network/pnfs?depth=0'"\r
+ resource="network-resources"\r
+ key="selflink = 'https://aai.onap:8443/aai/v21/network/network-resources?depth=0'"\r
local-only="false"\r
- pfx="ccsdkTopo.pnfs" >\r
- <outcome value='Other'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value='' />\r
- </return>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value='' />\r
- </return>\r
- </outcome>\r
- <outcome value='success'></outcome>\r
- </get-resource>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="logical-links"\r
- key="selflink = 'https://aai.onap:8443/aai/v21/network/logical-links?depth=0'"\r
- local-only="false"\r
- pfx="ccsdkTopo.logicalLinks" >\r
- <outcome value='Other'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value='' />\r
- </return>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value='' />\r
- </return>\r
- </outcome>\r
+ pfx="allNetworksList" >\r
<outcome value='success'></outcome>\r
+ <outcome value='Other'></outcome>\r
+ <outcome value='not-found'></outcome>\r
</get-resource>\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.slitopologyutils.SliTopologyUtils' method='computePath' >\r
- <parameter name="pnfs-pfx" value='`$ccsdkTopo.pnfs`'/>\r
- <parameter name="links-pfx" value="`$ccsdkTopo.logicalLinks`"/>\r
+ <for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >\r
+ <switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\r
+ <outcome value='true'>\r
+ <switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\r
+ <outcome value='true'>\r
+ <set>\r
+ <parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\r
+ </set>\r
+ </outcome>\r
+ </switch>\r
+ </outcome>\r
+ <outcome value='false'>\r
+ <switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainB-pnfName[2]`'>\r
+ <outcome value='true'>\r
+ <switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainB-pnfName[6]`'>\r
+ <outcome value='true'>\r
+ <set>\r
+ <parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\r
+ </set>\r
+ </outcome>\r
+ </switch>\r
+ </outcome>\r
+ </switch>\r
+ </outcome>\r
+ </switch>\r
+ </for>\r
+ <set>\r
+ <parameter name='tmp.pce-src-node.' value='' />\r
+ </set>\r
+ <set>\r
+ <parameter name='tmp.pce-dst-node.' value='' />\r
+ </set>\r
+ <set>\r
+ <!--<parameter name='`otn-oof`' value='' />-->\r
+ <parameter name='otn-oof.' value='' />\r
+ <!--<parameter name='`otn-oof.solutions`' value='' />-->\r
+ <!--<parameter name='`otn-oof.solutions.`' value='' />-->\r
+ <!--<parameter name='`otn-oof.solutions_length`' value='0' />-->\r
+ </set>\r
+ <set>\r
+ <!--<parameter name='tmp.pce-src-node' value="`$param-prefix-domainA-pnfName[0] + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[1] + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[2] + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[3] + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[4] + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[5] + '-' +-->\r
+ <!-- 1 + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[7] + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[8]`" />-->\r
+ <parameter name='tmp.pce-src-node' value="`$param-prefix-domainA-pnfName[0] + '-' +\r
+ $param-prefix-domainA-pnfName[1] + '-' +\r
+ $param-prefix-domainA-pnfName[2] + '-' +\r
+ $param-prefix-domainA-pnfName[3] + '-' +\r
+ $param-prefix-domainA-pnfName[4] + '-' +\r
+ $param-prefix-domainA-pnfName[5] + '-' +\r
+ $otnTopoIdSrc + '-' +\r
+ $param-prefix-domainA-pnfName[7] + '-' +\r
+ $param-prefix-domainA-pnfName[8]`" />\r
+ </set>\r
+ <set>\r
+ <!--<parameter name='$tmp.pce-dst-node' value="`$param-prefix-domainB-pnfName[0] + '-' +-->\r
+ <!-- $param-prefix-domainB-pnfName[1] + '-' +-->\r
+ <!-- $param-prefix-domainB-pnfName[2] + '-' +-->\r
+ <!-- $param-prefix-domainB-pnfName[3] + '-' +-->\r
+ <!-- $param-prefix-domainB-pnfName[4] + '-' +-->\r
+ <!-- $param-prefix-domainB-pnfName[5] + '-' +-->\r
+ <!-- 1 + '-' +-->\r
+ <!-- $param-prefix-domainB-pnfName[7] + '-' +-->\r
+ <!-- $param-prefix-domainB-pnfName[8]`" />-->\r
+ <parameter name='tmp.pce-dst-node' value="`$param-prefix-domainB-pnfName[0] + '-' +\r
+ $param-prefix-domainB-pnfName[1] + '-' +\r
+ $param-prefix-domainB-pnfName[2] + '-' +\r
+ $param-prefix-domainB-pnfName[3] + '-' +\r
+ $param-prefix-domainB-pnfName[4] + '-' +\r
+ $param-prefix-domainB-pnfName[5] + '-' +\r
+ $otnTopoIdDst + '-' +\r
+ $param-prefix-domainB-pnfName[7] + '-' +\r
+ $param-prefix-domainB-pnfName[8]`" />\r
+ </set>\r
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">\r
+ <parameter name="logger" value="message-log" />\r
+ <parameter name="level" value="info" />\r
+ <!--<parameter name="field1" value="Path computation succeed!"/>-->\r
+ <!--<parameter name="field2" value="`$ccsdkTopo.resp.solutions_length`"/>-->\r
+ <!--<parameter name="field1" value="`$tmp.src.domainA.pnf-name`"/>-->\r
+ <!--<parameter name="field2" value="`$tmp.dst.domainB.pnf-name`"/>-->\r
+ <parameter name="field1" value="`$tmp.pce-src-node`"/>\r
+ <parameter name="field2" value="`$tmp.pce-dst-node`"/>\r
+ </record>\r
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">\r
+ <parameter name="logger" value="message-log" />\r
+ <parameter name="level" value="info" />\r
+ <parameter name="field1" value="`$otn-oof.`"/>\r
+ </record>\r
+ <set>\r
+ <!--<parameter name='tmp.pce-src-node' value="`$param-prefix-domainA-pnfName[0] + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[1] + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[2] + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[3] + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[4] + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[5] + '-' +-->\r
+ <!-- 1 + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[7] + '-' +-->\r
+ <!-- $param-prefix-domainA-pnfName[8]`" />-->\r
+ <parameter name='filenamemm' value="`$tmp.pce-src-node + $tmp.pce-dst-node`" />\r
+ </set>\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePath' >\r
+ <parameter name="pnfs-pfx" value='ccsdkTopopnfs'/>\r
+ <parameter name="links-pfx" value="ccsdkTopologicalLinks"/>\r
<parameter name="response-pfx" value="otn-oof"/>\r
- <parameter name="output-end-to-end-path" value="true"/>\r
- <parameter name="src-node" value="`$tmp.src.domainA.pnf-name`"/>\r
- <parameter name="dst-node" value="`$tmp.src.domainB.pnf-name`"/>\r
+ <parameter name="output-end-to-end-path" value="false"/>\r
+ <!--<parameter name="src-node" value="`$tmp.src.domainA.pnf-name`"/>-->\r
+ <!--<parameter name="dst-node" value="`$tmp.dst.domainB.pnf-name`"/>-->\r
+ <parameter name="src-node" value="`$tmp.pce-src-node`"/>\r
+ <parameter name="dst-node" value="`$tmp.pce-dst-node`"/>\r
<outcome value='success'></outcome>\r
<outcome value='Other'></outcome>\r
+ <outcome value='not-found'></outcome>\r
</execute>\r
</block>\r
<set>\r
<parameter name='`tmp.otninfo.`' value='' />\r
- <parameter name='`tmp.otninfo_length`' value='0' />\r
+ <!--<parameter name='`tmp.otninfo_length`' value='0' />-->\r
</set>\r
<for index='vidx' start='0' end='`$otn-oof.solutions_length`' >\r
<block atomic="true">\r
<set>\r
<parameter name='otn-oof.link-name' value='' />\r
- <parameter name='tmp.aai.cross-link' value='' />\r
+ <!--<parameter name='tmp.aai.cross-link' value='' />-->\r
<parameter name='tmp.aai.cross-link.' value='' />\r
- <parameter name='tmp.aai.cross-link.link-role' value='' />\r
+ <!--<parameter name='tmp.aai.cross-link.link-role' value='' />-->\r
</set>\r
<set>\r
- <parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />\r
- <parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].start_node`' />\r
- <parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].end_node`' />\r
+ <parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].original_link`' />\r
+ <parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].src_node`' />\r
+ <parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].dst_node`' />\r
</set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="logical-link"\r
- key="logical-link.link-name = $otn-oof.link-name"\r
- pfx='tmp.aai.cross-link' local-only='false' >\r
- <!--AND depth = '0'"-->\r
- <outcome value='success'>\r
- <block>\r
- <switch test='`$tmp.aai.cross-link.link-role`'>\r
- <outcome value='cross-domain'>\r
- <block atomic="true">\r
- <for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\r
- <switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\r
- <outcome value='p-interface'>\r
- <block>\r
- <switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.start-node`'>\r
- <outcome value='true'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='tmp.cross-link.src-ltpId' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`" />\r
- <parameter name='tmp.src-pnf-name' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`" />\r
- <!--<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-ltp-id`' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`" />-->\r
- <!--<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-node-id`' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`" />-->\r
- <!--<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />-->\r
- </set>\r
- </block>\r
- </outcome>\r
- </switch>\r
- <switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.end-node`'>\r
- <outcome value='true'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='tmp.cross-link.dst-ltpId' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`" />\r
- <parameter name='tmp.dst-pnf-name' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`" />\r
- <!--<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`" />-->\r
- <!--<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`" />-->\r
- <!--<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />-->\r
- </set>\r
- </block>\r
- </outcome>\r
- </switch>\r
- </block>\r
- </outcome>\r
- </switch>\r
- </for>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="p-interface"\r
- key="pnf.pnf-name = $tmp.src-pnf-name\r
+ <set>\r
+ <parameter name='tmp.cross-link.src-ltpId' value="`$otn-oof.solutions[$vidx].src_pinterface`" />\r
+ <parameter name='tmp.src-pnf-name' value="`$otn-oof.solutions[$vidx].src_node`" />\r
+ </set>\r
+ <set>\r
+ <parameter name='tmp.cross-link.dst-ltpId' value="`$otn-oof.solutions[$vidx].dst_pinterface`" />\r
+ <parameter name='tmp.dst-pnf-name' value="`$otn-oof.solutions[$vidx].dst_node`" />\r
+ </set>\r
+ <block atomic="true">\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="p-interface"\r
+ key="pnf.pnf-name = $tmp.src-pnf-name\r
AND p-interface.interface-name = $tmp.cross-link.src-ltpId"\r
- pfx='tmp.aai.src-tp' local-only='false' >\r
- <!--AND depth = '0'"-->\r
- <outcome value='success'>\r
- <block>\r
- <for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\r
- <switch test='`$tmp.aai.src-tp.relationship-list.relationship[$vidx].related-to`'>\r
- <outcome value='tunnel-termination-point'>\r
- <block atomic="true">\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
- <parameter name="original_string" value='`$tmp.aai.src-tp`'/>\r
- <!--<parameter name="regex" value="[^-]+$"/>-->\r
- <parameter name="regex" value="[-]+"/>\r
- <parameter name="ctx_memory_result_key" value="param-prefix-src-tp"/>\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\r
- <parameter name='`tmp.otninfo[$vidx].dstPort.dst-ltp-id`' value="`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`" />\r
- <parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\r
- </set>\r
- </block>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
- </return>\r
- </outcome>\r
- </execute>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="pnf"\r
- key="pnf.pnf-name = $tmp.src-pnf-name"\r
- pfx='tmp.aai.src-pnf' local-only='false' >\r
- <!--AND depth = '0'"-->\r
- <outcome value='success'>\r
- <block>\r
- <set>\r
- <parameter name='domain-A.node-id' value="`$tmp.aai.src-pnf.pnf-id`" />\r
- <parameter name='domain-A.tpn' value='1' />\r
- <parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-node-id`' value="`$tmp.aai.src-pnf.pnf-id`" />\r
- <parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\r
- </set>\r
- <for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\r
- <switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\r
- <outcome value='network-resource'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='tmp.domain-A.network-id' value="`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`" />\r
- </set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="network-resource"\r
- key="network-resource.network-id = $tmp.domain-A.network-id\r
+ pfx='tmp.aai.src-tp' local-only='false' >\r
+ <!--AND depth = '0'"-->\r
+ <outcome value='success'>\r
+ <block>\r
+ <for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\r
+ <switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\r
+ <outcome value='tunnel-termination-point'>\r
+ <block atomic="true">\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
+ <!--<parameter name="original_string" value='`$tmp.aai.src-tp`'/>-->\r
+ <parameter name="original_string" value='`$tmp.aai.src-tp.interface-name`'/>\r
+ <!--<parameter name="regex" value="[^-]+$"/>-->\r
+ <parameter name="regex" value="[-]+"/>\r
+ <parameter name="ctx_memory_result_key" value="param-prefix-src-tp"/>\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\r
+ <parameter name='`tmp.otninfo[$vidx].dstPort.dst-ltp-id`' value="`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`" />\r
+ <parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
+ </return>\r
+ </outcome>\r
+ </execute>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="pnf"\r
+ key="pnf.pnf-name = $tmp.src-pnf-name"\r
+ pfx='tmp.aai.src-pnf' local-only='false' >\r
+ <!--AND depth = '0'"-->\r
+ <outcome value='success'>\r
+ <block>\r
+ <set>\r
+ <parameter name='domain-A.node-id' value="`$tmp.aai.src-pnf.pnf-id`" />\r
+ <parameter name='domain-A.tpn' value='1' />\r
+ <parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-node-id`' value="`$tmp.aai.src-pnf.pnf-id`" />\r
+ <parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\r
+ </set>\r
+ <for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\r
+ <switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\r
+ <outcome value='network-resource'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='tmp.domain-A.network-id' value="`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="network-resource"\r
+ key="network-resource.network-id = $tmp.domain-A.network-id\r
AND depth = '0'"\r
- pfx='tmp.aai.src-network-resource' local-only='false' >\r
- <outcome value='success'>\r
- <set>\r
- <parameter name='domain-A.network-id' value="`$tmp.aai.src-network-resource.network-id`" />\r
- <parameter name='domain-A.provider-id' value="`$tmp.aai.src-network-resource.provider-id`" />\r
- <parameter name='domain-A.client-id' value="`$tmp.aai.src-network-resource.client-id`" />\r
- <parameter name='domain-A.te-topo-id' value="`$tmp.aai.src-network-resource.te-topo-id`" />\r
- <parameter name='domain-A.network-type' value="`$tmp.aai.src-network-resource.network-type`" />\r
- <parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-id`' value="`$tmp.aai.src-network-resource.network-id`" />\r
- <parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-provider-id`' value="`$tmp.aai.src-network-resource.provider-id`" />\r
- <parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-client-id`' value="`$tmp.aai.src-network-resource.client-id`" />\r
- <parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-topology-id`' value="`$tmp.aai.src-network-resource.te-topo-id`" />\r
- <parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-type`' value="`$tmp.aai.src-network-resource.network-type`" />\r
- <parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\r
- </set>\r
- </outcome>\r
- </get-resource>\r
- <break/>\r
- </block>\r
- </outcome>\r
- </switch>\r
- </for>\r
- </block>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='Other'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- </get-resource>\r
- <set>\r
- <parameter name='tmp.domain-A.ttp-id' value="`$tmp.aai.src-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`" />\r
- </set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="tunnel-termination-point"\r
- key="tunnel-termination-point.ttp-id = $tmp.domain-A.ttp-id\r
+ pfx='tmp.aai.src-network-resource' local-only='false' >\r
+ <outcome value='success'>\r
+ <set>\r
+ <parameter name='domain-A.network-id' value="`$tmp.aai.src-network-resource.network-id`" />\r
+ <parameter name='domain-A.provider-id' value="`$tmp.aai.src-network-resource.provider-id`" />\r
+ <parameter name='domain-A.client-id' value="`$tmp.aai.src-network-resource.client-id`" />\r
+ <parameter name='domain-A.te-topo-id' value="`$tmp.aai.src-network-resource.te-topo-id`" />\r
+ <parameter name='domain-A.network-type' value="`$tmp.aai.src-network-resource.network-type`" />\r
+ <parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-id`' value="`$tmp.aai.src-network-resource.network-id`" />\r
+ <parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-provider-id`' value="`$tmp.aai.src-network-resource.provider-id`" />\r
+ <parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-client-id`' value="`$tmp.aai.src-network-resource.client-id`" />\r
+ <parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-topology-id`' value="`$tmp.aai.src-network-resource.te-topo-id`" />\r
+ <parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-type`' value="`$tmp.aai.src-network-resource.network-type`" />\r
+ <parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\r
+ </set>\r
+ </outcome>\r
+ </get-resource>\r
+ <break/>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
+ </for>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='Other'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ </get-resource>\r
+ <set>\r
+ <parameter name='tmp.domain-A.ttp-id' value="`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="tunnel-termination-point"\r
+ key="tunnel-termination-point.ttp-id = $tmp.domain-A.ttp-id\r
AND depth = '0'"\r
- pfx='tmp.aai.src-ttp' local-only='false' >\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='domain-A.tunnel-tp-id' value="`$tmp.aai.src-ttp.tunnel-tp-id`" />\r
- <parameter name='`tmp.otninfo[$vidx].dstPort.dst-tunnel-tp-id`' value="`$tmp.aai.src-ttp.tunnel-tp-id`" />\r
- <parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\r
- </set>\r
- </block>\r
- </outcome>\r
- </get-resource>\r
- <break/>\r
- </block>\r
- </outcome>\r
- </switch>\r
- </for>\r
- </block>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='Other'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- </get-resource>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="p-interface"\r
- key="pnf.pnf-name = $tmp.dst-pnf-name\r
+ pfx='tmp.aai.src-ttp' local-only='false' >\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='domain-A.tunnel-tp-id' value="`$tmp.aai.src-ttp.tunnel-tp-id`" />\r
+ <parameter name='`tmp.otninfo[$vidx].dstPort.dst-tunnel-tp-id`' value="`$tmp.aai.src-ttp.tunnel-tp-id`" />\r
+ <parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ </get-resource>\r
+ <break/>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
+ </for>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='Other'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ </get-resource>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="p-interface"\r
+ key="pnf.pnf-name = $tmp.dst-pnf-name\r
AND p-interface.interface-name = $tmp.cross-link.dst-ltpId"\r
- pfx='tmp.aai.dst-tp' local-only='false' >\r
- <!--AND depth = '0'"-->\r
- <outcome value='success'>\r
- <block>\r
- <for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\r
- <switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].related-to`'>\r
- <outcome value='tunnel-termination-point'>\r
- <block atomic="true">\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
- <parameter name="original_string" value='`$tmp.aai.dst-tp`'/>\r
- <!--<parameter name="regex" value="[^-]+$"/>-->\r
- <parameter name="regex" value="[-]+"/>\r
- <parameter name="ctx_memory_result_key" value="param-prefix-dst-tp"/>\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='domain-B.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\r
- <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-ltp-id`' value="`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`" />\r
- <parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />\r
- </set>\r
- </block>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
- </return>\r
- </outcome>\r
- </execute>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="pnf"\r
- key="pnf.pnf-name = $tmp.dst-pnf-name"\r
- pfx='tmp.aai.dst-pnf' local-only='false' >\r
- <!--AND depth = '0'"-->\r
- <outcome value='success'>\r
- <block>\r
- <set>\r
- <parameter name='domain-B.node-id' value="`$tmp.aai.dst-pnf.pnf-id`" />\r
- <parameter name='domain-B.tpn' value='1' />\r
- <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-node-id`' value="`$tmp.aai.dst-pnf.pnf-id`" />\r
- <parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />\r
- </set>\r
- <for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\r
- <switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\r
- <outcome value='network-resource'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='tmp.domain-B.network-id' value="`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`" />\r
- </set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="network-resource"\r
- key="network-resource.network-id = $tmp.domain-B.network-id\r
+ pfx='tmp.aai.dst-tp' local-only='false' >\r
+ <!--AND depth = '0'"-->\r
+ <outcome value='success'>\r
+ <block>\r
+ <for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\r
+ <switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\r
+ <outcome value='tunnel-termination-point'>\r
+ <block atomic="true">\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
+ <parameter name="original_string" value='`$tmp.aai.dst-tp`'/>\r
+ <!--<parameter name="regex" value="[^-]+$"/>-->\r
+ <parameter name="regex" value="[-]+"/>\r
+ <parameter name="ctx_memory_result_key" value="param-prefix-dst-tp"/>\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='domain-B.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\r
+ <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-ltp-id`' value="`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`" />\r
+ <parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
+ </return>\r
+ </outcome>\r
+ </execute>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="pnf"\r
+ key="pnf.pnf-name = $tmp.dst-pnf-name"\r
+ pfx='tmp.aai.dst-pnf' local-only='false' >\r
+ <!--AND depth = '0'"-->\r
+ <outcome value='success'>\r
+ <block>\r
+ <set>\r
+ <parameter name='domain-B.node-id' value="`$tmp.aai.dst-pnf.pnf-id`" />\r
+ <parameter name='domain-B.tpn' value='1' />\r
+ <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-node-id`' value="`$tmp.aai.dst-pnf.pnf-id`" />\r
+ <parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />\r
+ </set>\r
+ <for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\r
+ <switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\r
+ <outcome value='network-resource'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='tmp.domain-B.network-id' value="`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="network-resource"\r
+ key="network-resource.network-id = $tmp.domain-B.network-id\r
AND depth = '0'"\r
- pfx='tmp.aai.dst-network-resource' local-only='false' >\r
- <outcome value='success'>\r
- <set>\r
- <parameter name='domain-B.network-id' value="`$tmp.aai.dst-network-resource.network-id`" />\r
- <parameter name='domain-B.provider-id' value="`$tmp.aai.dst-network-resource.provider-id`" />\r
- <parameter name='domain-B.client-id' value="`$tmp.aai.dst-network-resource.client-id`" />\r
- <parameter name='domain-B.te-topo-id' value="`$tmp.aai.dst-network-resource.te-topo-id`" />\r
- <parameter name='domain-B.network-type' value="`$tmp.aai.dst-network-resource.network-type`" />\r
- <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-id`' value="`$tmp.aai.dst-network-resource.network-id`" />\r
- <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-provider-id`' value="`$tmp.aai.dst-network-resource.provider-id`" />\r
- <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-client-id`' value="`$tmp.aai.dst-network-resource.client-id`" />\r
- <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-topology-id`' value="`$tmp.aai.dst-network-resource.te-topo-id`" />\r
- <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-type`' value="`$tmp.aai.dst-network-resource.network-type`" />\r
- <parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />\r
- </set>\r
- </outcome>\r
- </get-resource>\r
- <break/>\r
- </block>\r
- </outcome>\r
- </switch>\r
- </for>\r
- </block>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='Other'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- </get-resource>\r
- <set>\r
- <parameter name='tmp.domain-B.ttp-id' value="`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`" />\r
- </set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="tunnel-termination-point"\r
- key="tunnel-termination-point.ttp-id = $tmp.domain-B.ttp-id\r
+ pfx='tmp.aai.dst-network-resource' local-only='false' >\r
+ <outcome value='success'>\r
+ <set>\r
+ <parameter name='domain-B.network-id' value="`$tmp.aai.dst-network-resource.network-id`" />\r
+ <parameter name='domain-B.provider-id' value="`$tmp.aai.dst-network-resource.provider-id`" />\r
+ <parameter name='domain-B.client-id' value="`$tmp.aai.dst-network-resource.client-id`" />\r
+ <parameter name='domain-B.te-topo-id' value="`$tmp.aai.dst-network-resource.te-topo-id`" />\r
+ <parameter name='domain-B.network-type' value="`$tmp.aai.dst-network-resource.network-type`" />\r
+ <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-id`' value="`$tmp.aai.dst-network-resource.network-id`" />\r
+ <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-provider-id`' value="`$tmp.aai.dst-network-resource.provider-id`" />\r
+ <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-client-id`' value="`$tmp.aai.dst-network-resource.client-id`" />\r
+ <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-topology-id`' value="`$tmp.aai.dst-network-resource.te-topo-id`" />\r
+ <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-type`' value="`$tmp.aai.dst-network-resource.network-type`" />\r
+ <parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />\r
+ </set>\r
+ </outcome>\r
+ </get-resource>\r
+ <break/>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
+ </for>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='Other'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ </get-resource>\r
+ <set>\r
+ <parameter name='tmp.domain-B.ttp-id' value="`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="tunnel-termination-point"\r
+ key="tunnel-termination-point.ttp-id = $tmp.domain-B.ttp-id\r
AND depth = '0'"\r
- pfx='tmp.aai.dst-ttp' local-only='false' >\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='domain-B.tunnel-tp-id' value="`$tmp.aai.dst-ttp.tunnel-tp-id`" />\r
- <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-tunnel-tp-id`' value="`$tmp.aai.dst-ttp.tunnel-tp-id`" />\r
- <parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />\r
- </set>\r
- </block>\r
- </outcome>\r
- </get-resource>\r
- <break/>\r
- </block>\r
- </outcome>\r
- </switch>\r
- </for>\r
- </block>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='Other'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- </get-resource>\r
- <break/>\r
- </block>\r
- </outcome>\r
- </switch>\r
- </block>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='Other'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- </get-resource>\r
+ pfx='tmp.aai.dst-ttp' local-only='false' >\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='domain-B.tunnel-tp-id' value="`$tmp.aai.dst-ttp.tunnel-tp-id`" />\r
+ <parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-tunnel-tp-id`' value="`$tmp.aai.dst-ttp.tunnel-tp-id`" />\r
+ <parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ </get-resource>\r
+ <break/>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
+ </for>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='Other'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ </get-resource>\r
+ </block>\r
</block>\r
</for>\r
</block>\r
<outcome value='false'></outcome>\r
<outcome value='true'>\r
<block>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="pnfs"\r
+ key="selflink = 'https://aai.onap:8443/aai/v21/network/pnfs?depth=0'"\r
+ local-only="false"\r
+ pfx="ccsdkTopopnfs" ></get-resource>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="logical-links"\r
+ key="selflink = 'https://aai.onap:8443/aai/v21/network/logical-links?depth=0'"\r
+ local-only="false"\r
+ pfx="ccsdkTopologicalLinks" ></get-resource>\r
<set>\r
<parameter name='tmp.arr' value='' />\r
<parameter name='tmp.arridx' value='0' />\r
<parameter name='tmp.arr_length' value='0' />\r
<parameter name='otn-tunnel-slice' value='' />\r
<parameter name='otn-tunnel-slice_length' value='0' />\r
- <parameter name='tmp.slicevpns' value='' />\r
- <parameter name='tmp.slicevpns_length' value='0' />\r
- <parameter name='tmp.slicevpnuuids' value='' />\r
- <parameter name='tmp.slicevpnuuids.' value='' />\r
+ <!--<parameter name='tmp.slicevpns' value='' />-->\r
+ <!--<parameter name='tmp.slicevpns_length' value='0' />-->\r
+ <!--<parameter name='tmp.slicevpnuuids' value='' />-->\r
+ <!--<parameter name='tmp.slicevpnuuids.' value='' />-->\r
</set>\r
<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\r
<set>\r
<parameter name='prop.ethsrvType' value='`$network-route-A`' />\r
</set>\r
<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' ></call>\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\r
+ <parameter name="filename" value="`$filenamemm`" />\r
+ </execute>\r
<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >\r
<block atomic='true'>\r
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
</get-resource>\r
<switch test='`$otnidx == 0`'>\r
<outcome value='true'>\r
- <set>\r
- <parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\r
- <parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\r
- </set>\r
+ <block>\r
+ <set>\r
+ <parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\r
+ <parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\r
+ </set>\r
+ </block>\r
</outcome>\r
<outcome value='false'>\r
<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\r
<outcome value='true'>\r
- <set>\r
- <parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\r
- <parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\r
- </set>\r
+ <block>\r
+ <set>\r
+ <parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\r
+ <parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\r
+ </set>\r
+ </block>\r
</outcome>\r
<outcome value='false'>\r
<set>\r
<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\r
<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\r
<outcome value='success'>\r
- <block>\r
- <set>\r
- <parameter name='`tmp.slicevpns[$tmp.slicevpns_length]`' value="`$prop.vpn-binding-otnidx-uuid`" />\r
- <parameter name='tmp.slicevpns_length' value="`$tmp.slicevpns_length + 1`" />\r
- <parameter name='`tmp.slicevpnuuids[$prop.vpn-binding-otnidx-uuid]`' value="`$prop.vpn-binding-otnidx-uuid`" />\r
- </set>\r
- </block>\r
+ <block></block>\r
</outcome>\r
</save>\r
<switch test='`$otnidx == 0`'>\r