+ "x": 5060.6171875,\r
+ "y": 1243.34033203125,\r
+ "z": "b31344e1.6b9228",\r
+ "wires": [\r
+ [\r
+ "d5d5e908.7a8eb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d5d5e908.7a8eb8",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "60f3b421.08732c",\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
+ "wires": [\r
+ [\r
+ "715a89d.cfea178"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "715a89d.cfea178",\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
+ "wires": [\r
+ [\r
+ "977e3712.429b18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "977e3712.429b18",\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
+ "wires": [\r
+ [\r
+ "2113d9ff.cdd31e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2113d9ff.cdd31e",\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
+ "wires": [\r
+ [\r
+ "3c92c59b.613ca2",\r
+ "193b4238.409d8e",\r
+ "b71c718.f135e1"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3c92c59b.613ca2",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "193b4238.409d8e",\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
+ "wires": [\r
+ [\r
+ "df85928.81de67"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b71c718.f135e1",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "df85928.81de67",\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
+ "wires": [\r
+ [\r
+ "8b1f9fde.337d98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b1f9fde.337d98",\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
+ "wires": [\r
+ [\r
+ "20d9b129.b72206"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "20d9b129.b72206",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "300f312a.b253d6",\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
+ "wires": [\r
+ [\r
+ "1c354309.a76ffd",\r
+ "950deba8.cc3e4",\r
+ "c2c16051.a906d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1c354309.a76ffd",\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
+ "wires": [\r
+ [\r
+ "d41af0c3.594838"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "950deba8.cc3e4",\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
+ "wires": [\r
+ [\r
+ "3d15fff1.053cf"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c2c16051.a906d8",\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
+ "wires": [\r
+ [\r
+ "d7ef8f23.d036"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d7ef8f23.d036",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3d15fff1.053cf",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d41af0c3.594838",\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
+ "wires": [\r
+ [\r
+ "b45d0128.680c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7cb8afd4.8d20b8",\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
+ "wires": [\r
+ [\r
+ "47edc84c.808f88"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "47edc84c.808f88",\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
+ "wires": [\r
+ [\r
+ "266ac25a.ea33a6",\r
+ "2d08c6.2cc1e73a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b45d0128.680c8",\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
+ "wires": [\r
+ [\r
+ "4f9ef890.59c338"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4f9ef890.59c338",\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
+ "wires": [\r
+ [\r
+ "7cb8afd4.8d20b8",\r
+ "212f425.c6d5fbe"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "266ac25a.ea33a6",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fe7f5526.b757d",\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
+ "wires": [\r
+ [\r
+ "c4631195.e5511"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ace94fc7.113e6",\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
+ "wires": [\r
+ [\r
+ "af8bf071.82c85"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "42739782.dc6168",\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
+ "wires": [\r
+ [\r
+ "b1e33e76.6db9b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b1e33e76.6db9b",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "af8bf071.82c85",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c4631195.e5511",\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
+ "wires": [\r
+ [\r
+ "4dcc9c46.887914"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4dcc9c46.887914",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e1d06713.adb0c8",\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
+ "wires": [\r
+ [\r
+ "34f7d7e6.e7fa8",\r
+ "cb710953.72942",\r
+ "4c788e8d.e93588"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "34f7d7e6.e7fa8",\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
+ "wires": [\r
+ [\r
+ "fd0d1ee5.65b0f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cb710953.72942",\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
+ "wires": [\r
+ [\r
+ "68639fde.fb4de8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4c788e8d.e93588",\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
+ "wires": [\r
+ [\r
+ "ed57c904.1da5b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ed57c904.1da5b",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "68639fde.fb4de8",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fd0d1ee5.65b0f",\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
+ "wires": [\r
+ [\r
+ "2c890085.25e4f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b16b2c11.a7e9e",\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
+ "wires": [\r
+ [\r
+ "e2c7b2a2.534808"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e2c7b2a2.534808",\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
+ "wires": [\r
+ [\r
+ "8256d13e.acb508",\r
+ "e33af2d.2ed629"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2c890085.25e4f8",\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
+ "wires": [\r
+ [\r
+ "7ad873b6.5b0624"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7ad873b6.5b0624",\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
+ "wires": [\r
+ [\r
+ "b16b2c11.a7e9e",\r
+ "ba30acec.499f9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e33af2d.2ed629",\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
+ "wires": [\r
+ [\r
+ "dd2f9c6b.57f548",\r
+ "3b879379.c9bf84",\r
+ "13b1398c.3c465e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8256d13e.acb508",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "dd2f9c6b.57f548",\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
+ "wires": [\r
+ [\r
+ "56d2c260.edc91c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3b879379.c9bf84",\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
+ "wires": [\r
+ [\r
+ "7449bea.eaa7fc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "13b1398c.3c465e",\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
+ "wires": [\r
+ [\r
+ "232c7315.841b1c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "232c7315.841b1c",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7449bea.eaa7fc",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "56d2c260.edc91c",\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
+ "wires": [\r
+ [\r
+ "49d0cb53.31a39c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "49d0cb53.31a39c",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "33bd7ebe.34c502",\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
+ "wires": [\r
+ [\r
+ "fe8ff063.6863b8",\r
+ "4e85bccf.c8cf0c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4e85bccf.c8cf0c",\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
+ "wires": [\r
+ [\r
+ "badd7dbd.ce16"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "badd7dbd.ce16",\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
+ "wires": [\r
+ [\r
+ "5050eb58.e00ed4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "212f425.c6d5fbe",\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
+ "wires": [\r
+ [\r
+ "656d86d7.e1bb3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "656d86d7.e1bb3",\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
+ "wires": [\r
+ [\r
+ "4f5b4545.d432fc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4f5b4545.d432fc",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5e5727f6.ce94f",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "33761656.d7dc5a",\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
+ "wires": [\r
+ [\r
+ "5e5727f6.ce94f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ba30acec.499f9",\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
+ "wires": [\r
+ [\r
+ "33761656.d7dc5a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "420f3616.2f701",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b1349530.c53cc",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "84b0870f.4db1e",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "2dfd81e1.a251ae",\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
+ "wires": [\r
+ [\r
+ "3ffb610e.7895d6",\r
+ "1fed210d.6adb97"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3ffb610e.7895d6",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1f03402a.5db7",\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": 2631,\r
+ "y": 2231,\r
+ "z": "b31344e1.6b9228",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "56710693.e24068",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3323f682.f60c3a",\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\n\n",\r
+ "comments": "",\r
+ "x": 2672,\r
+ "y": 767,\r
+ "z": "b31344e1.6b9228",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "13ac3dbd.1f366a",\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": 2666,\r
+ "y": 2351,\r
+ "z": "b31344e1.6b9228",\r
+ "wires": [\r
+ [\r
+ "f2924301.397558"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "647d2436.140504",\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='vpn-type' value='`$prop.global.sotn.vpnType`' />\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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3789,\r
+ "y": 2919,\r
+ "z": "b31344e1.6b9228",\r
+ "wires": [\r
+ [\r
+ "810630b1.0e1b6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fdfa6fb7.1a35f",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "810630b1.0e1b6",\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
+ "wires": [\r
+ [\r
+ "a594830d.53acd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a594830d.53acd8",\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
+ "wires": [\r
+ [\r
+ "b41cf773.b97ef"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4c295920.4b5da",\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": 3825,\r
+ "y": 2383,\r
+ "z": "b31344e1.6b9228",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "19452741.32e4c1",\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
+ "wires": [\r
+ [\r
+ "9c40fb98.e1f61",\r
+ "20acba8d.85a5f6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9c40fb98.e1f61",\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
+ "wires": [\r
+ [\r
+ "a42fc89d.d0c4a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "20acba8d.85a5f6",\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
+ "wires": [\r
+ [\r
+ "332942c6.7f663e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f5749296.6a691",\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
+ "wires": [\r
+ [\r
+ "2103be8f.1fc842",\r
+ "1554c822.b8c828"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2103be8f.1fc842",\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
+ "wires": [\r
+ [\r
+ "a1250da6.1c6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1554c822.b8c828",\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
+ "wires": [\r
+ [\r
+ "99adbaff.3e741"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f416ea28.cb6ab",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e6548b2c.2addd8",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ddd52155.f542e8",\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='vpn-type' value='dummy' />\n<!--<parameter name='CIR' value='`$prop.sotn.cir`' />-->\n<!--<parameter name='EIR' value='`$prop.sotn.eir`' />-->\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a14f6e93.1adaf8",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "16a831c0.877516",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2e301756.38a228",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "99adbaff.3e741",\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
+ "wires": [\r
+ [\r
+ "e6548b2c.2addd8",\r
+ "ddd52155.f542e8",\r
+ "a14f6e93.1adaf8",\r
+ "2e301756.38a228",\r
+ "ebae712b.9f6bf8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f2924301.397558",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2918,\r
+ "y": 2412,\r
+ "z": "b31344e1.6b9228",\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
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2e1edee2.ee8112",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ba046748.bfe1b",\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
+ "wires": [\r
+ [\r
+ "b63ee960.cee2c",\r
+ "1b1f60e5.7a7c9f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1b1f60e5.7a7c9f",\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
+ "wires": [\r
+ [\r
+ "e9f5d50.e9a0928"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b63ee960.cee2c",\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
+ "wires": [\r
+ [\r
+ "c9e53751.966bb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e9f5d50.e9a0928",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c9e53751.966bb8",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a42fc89d.d0c4a",\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
+ "wires": [\r
+ [\r
+ "fdfa6fb7.1a35f",\r
+ "ba046748.bfe1b",\r
+ "2e1edee2.ee8112"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a1250da6.1c6",\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
+ "wires": [\r
+ [\r
+ "f416ea28.cb6ab",\r
+ "6f1cb48c.6026e4",\r
+ "1cf9708b.795d07"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1cf9708b.795d07",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6f1cb48c.6026e4",\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
+ "wires": [\r
+ [\r
+ "6e1323b5.c04ce4",\r
+ "1555b51f.0ca46b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1555b51f.0ca46b",\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
+ "wires": [\r
+ [\r
+ "7a3f18c.e7bf268"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6e1323b5.c04ce4",\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
+ "wires": [\r
+ [\r
+ "c1d2c5de.5e2688"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7a3f18c.e7bf268",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c1d2c5de.5e2688",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ebae712b.9f6bf8",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bc1d9c19.8a817",\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
+ "wires": [\r
+ [\r
+ "3b12d36f.6d8234",\r
+ "89a53740.4d3c98",\r
+ "a61d86b5.6c70f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3b12d36f.6d8234",\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
+ "wires": [\r
+ [\r
+ "3ced61cb.b2d7fe"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "89a53740.4d3c98",\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
+ "wires": [\r
+ [\r
+ "3eafcbaf.f2f56c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a61d86b5.6c70f",\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
+ "wires": [\r
+ [\r
+ "170e04a2.1b39fb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3ced61cb.b2d7fe",\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
+ "wires": [\r
+ [\r
+ "ef9d0591.fefb08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3eafcbaf.f2f56c",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "170e04a2.1b39fb",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bf30e0be.23b998",\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
+ "wires": [\r
+ [\r
+ "557999e1.77dcb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d613988a.0c40c",\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
+ "wires": [\r
+ [\r
+ "e4afc290.74f038"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f7f46916.4f1ee",\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
+ "wires": [\r
+ [\r
+ "d613988a.0c40c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ce29a297.cf1cb8",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "90828ea.8f9357",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "332942c6.7f663e",\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
+ "wires": [\r
+ [\r
+ "90828ea.8f9357",\r
+ "f5749296.6a691"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d0adb7e4.435f98",\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
+ "comments": "",\r
+ "x": 1954,\r
+ "y": 170,\r
+ "z": "b31344e1.6b9228",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ef9d0591.fefb08",\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
+ "wires": [\r
+ [\r
+ "2fbee9b.ff76316"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2fbee9b.ff76316",\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
+ "wires": [\r
+ [\r
+ "9baaaca4.d54a4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "49f4d5cd.eba3ac",\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
+ "wires": [\r
+ [\r
+ "a296aaec.6a9f7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "72392f69.a40338",\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
+ "wires": [\r
+ [\r
+ "1e30cbc6.5b29c4",\r
+ "73a572c0.fcdcfc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1e30cbc6.5b29c4",\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
+ "wires": [\r
+ [\r
+ "79192fda.22a8a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "73a572c0.fcdcfc",\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
+ "wires": [\r
+ [\r
+ "e5b5d449.e95738"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "79192fda.22a8a8",\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
+ "wires": [\r
+ [\r
+ "49f4d5cd.eba3ac",\r
+ "ee34549a.68661"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a296aaec.6a9f7",\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
+ "wires": [\r
+ [\r
+ "f6a570fa.8c3e18",\r
+ "f096fdfa.51af18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f6a570fa.8c3e18",\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
+ "wires": [\r
+ [\r
+ "7e64bb9a.5c5954"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f096fdfa.51af18",\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
+ "wires": [\r
+ [\r
+ "2ae9b410.b8e274"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7e64bb9a.5c5954",\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
+ "wires": [\r
+ [\r
+ "883ad39b.46747",\r
+ "3d5cad7b.78211a",\r
+ "ac8bc417.7b82a",\r
+ "6ea95490.220544",\r
+ "6a39b9a6.2592"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "883ad39b.46747",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3d5cad7b.78211a",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "6a39b9a6.2592",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6ea95490.220544",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e5b5d449.e95738",\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
+ "wires": [\r
+ [\r
+ "b867d047.fac",\r
+ "3788e630.590d72"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b867d047.fac",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "3788e630.590d72",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ee34549a.68661",\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
+ "wires": [\r
+ [\r
+ "d1f76975.e11b9",\r
+ "3421ae07.ec9d62"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d1f76975.e11b9",\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
+ "wires": [\r
+ [\r
+ "2d9d0080.4d96d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3421ae07.ec9d62",\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
+ "wires": [\r
+ [\r
+ "91314308.ab84d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2d9d0080.4d96d",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "fd3f24a6.bbbfb8",\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
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "91314308.ab84d",\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
+ "wires": [\r
+ [\r
+ "fd3f24a6.bbbfb8",\r
+ "3fbaf181.1ff88e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3fbaf181.1ff88e",\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
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2ae9b410.b8e274",\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