+ },\r
+ {\r
+ "id": "b7ab7670.8f5828",\r
+ "type": "comment",\r
+ "name": "TODO: BUG -- DONE",\r
+ "info": "momkene connectivity haye vasati ke dummy hastand ham\nvpn-binding dashte bashand ke too in path involve hast pas\nbayad bw aan niz update shavad.",\r
+ "comments": "",\r
+ "x": 3658.567123413086,\r
+ "y": 3815.085662841797,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c7b27212.2f5b88",\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/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4411.100326538086,\r
+ "y": 4089.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "88440014.089508",\r
+ "6850bc1b.9b439c",\r
+ "ea9e63cb.45924"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "46e39fd1.0b23",\r
+ "type": "comment",\r
+ "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4519.100570678711,\r
+ "y": 4045.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "88440014.089508",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4616.100326538086,\r
+ "y": 4086.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "94bd21f9.ba5e08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6850bc1b.9b439c",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4599.591293334961,\r
+ "y": 4147.776397705078,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "c061eff6.efec1"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ea9e63cb.45924",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4597.100326538086,\r
+ "y": 4191.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "302c462f.876b7a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "94bd21f9.ba5e08",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4784.100570678711,\r
+ "y": 4081.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "72fd3d1f.5c9734"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c061eff6.efec1",\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": 4762.162704467773,\r
+ "y": 4148.0621337890625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "302c462f.876b7a",\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": 4764.100326538086,\r
+ "y": 4190.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "72fd3d1f.5c9734",\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": 5022.100570678711,\r
+ "y": 4086.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "e265f5c.115d288"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e265f5c.115d288",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5256.100326538086,\r
+ "y": 4093.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "817a92f2.d780d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "aaa5f9ec.d9ed6",\r
+ "type": "set",\r
+ "name": "unset tmp.aai.all-vpn-bindings",\r
+ "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
+ "comments": "",\r
+ "x": 4389.800033569336,\r
+ "y": 4015.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4e4373ae.4e8254",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5672.949935913086,\r
+ "y": 4103.785369873047,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "8eac4849.2274f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8eac4849.2274f8",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5864.949935913086,\r
+ "y": 4092.785614013672,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "a232365.4dda248"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a232365.4dda248",\r
+ "type": "outcome",\r
+ "name": "connectivity",\r
+ "xml": "<outcome value='connectivity'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6046.949935913086,\r
+ "y": 4071.785614013672,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "992af4aa.8e2b6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "992af4aa.8e2b6",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 6208.949935913086,\r
+ "y": 4060.785614013672,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "1e9c08fd.18a337",\r
+ "74b54acc.d82234"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1e9c08fd.18a337",\r
+ "type": "set",\r
+ "name": "unset tmp.the-connectivity",\r
+ "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
+ "comments": "",\r
+ "x": 6405.949935913086,\r
+ "y": 3989.785614013672,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b0ee6567.2e3a8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5579.900131225586,\r
+ "y": 4218.785369873047,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "414056d.7db8ba8",\r
+ "4e4373ae.4e8254",\r
+ "1071a614.4e5e12",\r
+ "8f9726f3.06c69"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1071a614.4e5e12",\r
+ "type": "set",\r
+ "name": "unset tmp.aai.the-vpn-binding",\r
+ "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
+ "comments": "",\r
+ "x": 5711.466537475586,\r
+ "y": 3994.002410888672,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8f9726f3.06c69",\r
+ "type": "set",\r
+ "name": "set tmp.aai.the-vpn-binding",\r
+ "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
+ "comments": "",\r
+ "x": 5703.466537475586,\r
+ "y": 4043.002410888672,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "74b54acc.d82234",\r
+ "type": "set",\r
+ "name": "set tmp.the-connectivity.connectivity-id",\r
+ "xml": "<set>\n<parameter name='tmp.the-connectivity.connectivity-id' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
+ "comments": "",\r
+ "x": 6411.416732788086,\r
+ "y": 4099.002410888672,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7fff9c38.345784",\r
+ "type": "set",\r
+ "name": "set vpnNameToSearch",\r
+ "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
+ "comments": "",\r
+ "x": 5704.683334350586,\r
+ "y": 3817.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "aaa5e7eb.47b75",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5858.683334350586,\r
+ "y": 3869.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "bef4e32d.a8f0f",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5449.683334350586,\r
+ "y": 3936.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "aaa5e7eb.47b75",\r
+ "1d5352b7.2fb14d",\r
+ "7fff9c38.345784"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1d5352b7.2fb14d",\r
+ "type": "switchNode",\r
+ "name": "switch $foundVpnName",\r
+ "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5703.683334350586,\r
+ "y": 3924.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "894732f.a692a5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "894732f.a692a5",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5882.683334350586,\r
+ "y": 3923.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "b0ee6567.2e3a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "81398bf4.473028",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4580.683334350586,\r
+ "y": 7441.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "6a1836f0.9e7b08",\r
+ "edfac497.39017",\r
+ "e285b49b.2789f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e285b49b.2789f8",\r
+ "type": "set",\r
+ "name": "set vpnNameToSearch",\r
+ "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
+ "comments": "",\r
+ "x": 4803.683334350586,\r
+ "y": 7385.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6a1836f0.9e7b08",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4982.683334350586,\r
+ "y": 7428.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "edfac497.39017",\r
+ "type": "switchNode",\r
+ "name": "switch $foundVpnName",\r
+ "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4827.683334350586,\r
+ "y": 7483.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "d5b486b.df173f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d5b486b.df173f8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5006.683334350586,\r
+ "y": 7482.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "7de65a32.2588c4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ecfaffd6.100b2",\r
+ "type": "set",\r
+ "name": "unset tmp.aai.all-vpn-bindings",\r
+ "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
+ "comments": "",\r
+ "x": 4737.683334350586,\r
+ "y": 7121.202362060547,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4b552ff.dab62d",\r
+ "type": "set",\r
+ "name": "unset secondary related variables",\r
+ "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n<parameter name='network-route-three' value=\"\" />\n<parameter name='tmp.aai.network-route-three.' value=\"\" />\n<parameter name='tmp.aai.network-route-C.' value=\"\" />\n",\r
+ "comments": "",\r
+ "x": 3303.2999420166016,\r
+ "y": 515.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3dcf3da2.14e88a",\r
+ "type": "outcome",\r
+ "name": "SECONDARY-ROOT",\r
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4078.399429321289,\r
+ "y": 576.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "bfde7d38.fed19"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bfde7d38.fed19",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4247.399429321289,\r
+ "y": 573.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "30447223.2437ce",\r
+ "12dff897.0ce0bf"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "30447223.2437ce",\r
+ "type": "set",\r
+ "name": "set network-route-SECONDARY-ROOT",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4471.399429321289,\r
+ "y": 606.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "12dff897.0ce0bf",\r
+ "type": "set",\r
+ "name": "set network-route-C",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4417.399429321289,\r
+ "y": 646.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f46ebe04.450d9",\r
+ "type": "outcome",\r
+ "name": "SECONDARY-ROOT",\r
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4043.399917602539,\r
+ "y": 775.8523559570312,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "3c9b9865.e5691"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3c9b9865.e5691",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4208.399185180664,\r
+ "y": 780.8523559570312,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "4bcd87c1.d1b",\r
+ "63ed5150.d5d24"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4bcd87c1.d1b",\r
+ "type": "set",\r
+ "name": "set network-route-SECONDARY-ROOT",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4455.399429321289,\r
+ "y": 862.8523559570312,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "63ed5150.d5d24",\r
+ "type": "set",\r
+ "name": "set network-route-C",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4401.399429321289,\r
+ "y": 902.8523559570312,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "76a3b118.862498",\r
+ "type": "save",\r
+ "name": "get network-route-three 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-three'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-three\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3286.399917602539,\r
+ "y": 914.8523559570312,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "7adb4c8f.c682bc",\r
+ "7eb8fd1a.3f3194",\r
+ "b860a47d.f11fd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7adb4c8f.c682bc",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3528.399917602539,\r
+ "y": 907.8523559570312,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "7eb8fd1a.3f3194",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3523.908981323242,\r
+ "y": 950.2784118652344,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "b860a47d.f11fd8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3527.908950805664,\r
+ "y": 998.2783813476562,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "a6ff06d4.331218"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a6ff06d4.331218",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3689.399917602539,\r
+ "y": 938.8523559570312,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "32bc585c.c7728"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "32bc585c.c7728",\r
+ "type": "switchNode",\r
+ "name": "switch nr type",\r
+ "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3860.399917602539,\r
+ "y": 938.8525390625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "e312a504.c3346",\r
+ "450f492a.7498d8",\r
+ "e7c48999.96bb5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e312a504.c3346",\r
+ "type": "outcome",\r
+ "name": "ROOT",\r
+ "xml": "<outcome value='ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4027.399673461914,\r
+ "y": 848.8524780273438,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "e34d64db.7a9328"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "450f492a.7498d8",\r
+ "type": "outcome",\r
+ "name": "LEAF",\r
+ "xml": "<outcome value='LEAF'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4029.399673461914,\r
+ "y": 902.8524780273438,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "f1b929a4.9c9ce"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e34d64db.7a9328",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4155.399673461914,\r
+ "y": 848.8524780273438,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "d0297dd0.c50e68",\r
+ "9996be1d.2ba6f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f1b929a4.9c9ce",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4158.399673461914,\r
+ "y": 901.8524780273438,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "55ecdb35.0e00cc",\r
+ "c088cd20.720bd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9996be1d.2ba6f",\r
+ "type": "set",\r
+ "name": "set network-route-B",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4401.399429321289,\r
+ "y": 987.8524780273438,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "55ecdb35.0e00cc",\r
+ "type": "set",\r
+ "name": "set network-route-LEAF",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4418.399429321289,\r
+ "y": 1029.8524780273438,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c088cd20.720bd8",\r
+ "type": "set",\r
+ "name": "set network-route-A",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4403.399429321289,\r
+ "y": 1067.8524780273438,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d0297dd0.c50e68",\r
+ "type": "set",\r
+ "name": "set network-route-ROOT",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4415.399429321289,\r
+ "y": 947.8524780273438,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5eec7036.1519e8",\r
+ "type": "comment",\r
+ "name": "This is it (should be)",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4580.399429321289,\r
+ "y": 963.8524780273438,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e7c48999.96bb5",\r
+ "type": "outcome",\r
+ "name": "SECONDARY-ROOT",\r
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3968.399917602539,\r
+ "y": 993.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "6b81c811.85e0f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6b81c811.85e0f8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4142.399917602539,\r
+ "y": 988.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "2495f2a4.688896",\r
+ "9470a6af.62de2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9470a6af.62de2",\r
+ "type": "set",\r
+ "name": "set network-route-C",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4375.399429321289,\r
+ "y": 1157.8522338867188,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2495f2a4.688896",\r
+ "type": "set",\r
+ "name": "set network-route-SECONDARY-ROOT",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4429.399429321289,\r
+ "y": 1117.8522338867188,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b6c93789.479408",\r
+ "type": "comment",\r
+ "name": "This is it (should be)",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4543.399429321289,\r
+ "y": 1142.8522338867188,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c1d74161.be2c8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3544.066665649414,\r
+ "y": 2223.085693359375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "855df0cd.9bb95",\r
+ "434e1396.d595c4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d130bfb5.a4da88",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3371.400161743164,\r
+ "y": 2224.085693359375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "c1d74161.be2c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bba37dac.291368",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3380.891128540039,\r
+ "y": 2266.6597290039062,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "730fab1.8beaed4",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3369.400161743164,\r
+ "y": 2313.085693359375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "855df0cd.9bb95",\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-C.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-domainC\"/>\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3830.400161743164,\r
+ "y": 2227.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "55a8020a.690a64",\r
+ "326effaf.bc448"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "326effaf.bc448",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4053.400161743164,\r
+ "y": 2182.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "ab5c47c3.fcb968"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "55a8020a.690a64",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4055.400161743164,\r
+ "y": 2246.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "af7cae04.ba78a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fbc065ad.333e38",\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.domainC.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-C.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": 3143.400161743164,\r
+ "y": 2259.085693359375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "d130bfb5.a4da88",\r
+ "bba37dac.291368",\r
+ "730fab1.8beaed4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a720f331.1ff0f",\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": 3104.400161743164,\r
+ "y": 2203.085693359375,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "62eac021.71055",\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-C.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC-pnfName\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3163.400161743164,\r
+ "y": 1999.085693359375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "de7e4f57.82469",\r
+ "33097b2f.e0f6dc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "33097b2f.e0f6dc",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3386.400161743164,\r
+ "y": 1985.085693359375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "55022710.99c7b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "de7e4f57.82469",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3388.400161743164,\r
+ "y": 2018.085693359375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "55022710.99c7b",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3534.400161743164,\r
+ "y": 1978.085693359375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "225a6795.34ae6",\r
+ "605cb253.51882c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "225a6795.34ae6",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.dst.domainC.pnf-name' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n $param-prefix-domainC-pnfName[1] + '-' +\n $param-prefix-domainC-pnfName[2] + '-' +\n $param-prefix-domainC-pnfName[3] + '-' +\n $param-prefix-domainC-pnfName[4] + '-' +\n $param-prefix-domainC-pnfName[5] + '-' +\n $param-prefix-domainC-pnfName[6] + '-' +\n $param-prefix-domainC-pnfName[7] + '-' +\n $param-prefix-domainC-pnfName[8]`\" />\n",\r
+ "comments": "",\r
+ "x": 3728.400161743164,\r
+ "y": 1981.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "434e1396.d595c4",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3781.400131225586,\r
+ "y": 2350.085662841797,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "6aeddc31.02af0c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6aeddc31.02af0c",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3987.400131225586,\r
+ "y": 2350.085662841797,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "1d98ffa3.9dac18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "605cb253.51882c",\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.domainC.pnf-name\"\n pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3750.400161743164,\r
+ "y": 2049.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "da783639.0ff76",\r
+ "86ac0aff.5f3f28",\r
+ "cebbe4ca.ee77e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "da783639.0ff76",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3945.9002838134766,\r
+ "y": 2001.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "812fa062.6dc7c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "86ac0aff.5f3f28",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3937.9002838134766,\r
+ "y": 2056.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "8d0439b3.358a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cebbe4ca.ee77e",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3942.9002838134766,\r
+ "y": 2113.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "ca5c6f17.cf3a7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ca5c6f17.cf3a7",\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": 4094.9002838134766,\r
+ "y": 2114.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "812fa062.6dc7c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4090.2826080322266,\r
+ "y": 1998.7414855957031,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "ad74d99d.0df72"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "28bc0683.b68302",\r
+ "type": "set",\r
+ "name": "set SECONDARY-ROOT stuff",\r
+ "xml": "<set>\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-long' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n $param-prefix-domainC-pnfName[1] + '-' +\n $param-prefix-domainC-pnfName[2] + '-' +\n $param-prefix-domainC-pnfName[3] + '-' +\n $param-prefix-domainC-pnfName[4] + '-' +\n $param-prefix-domainC-pnfName[5] + '-' +\n $param-prefix-domainC-pnfName[6] + '-' +\n $param-prefix-domainC-pnfName[7] + '-' +\n $param-prefix-domainC-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value=\"`$tmp.dst-secondary.pnf-name`\" />\n\n<parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`\" />\n<parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value=\"`$tmp.dst-secondary.ltpId`\" />\n",\r
+ "comments": "",\r
+ "x": 3166.066665649414,\r
+ "y": 2338.085693359375,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9656dd17.9b3ad",\r
+ "type": "comment",\r
+ "name": "NOT NEEDED ANYMORE?",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3841.066635131836,\r
+ "y": 2302.085662841797,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "af7cae04.ba78a",\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": 4214.400161743164,\r
+ "y": 2265.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ab5c47c3.fcb968",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4218.400161743164,\r
+ "y": 2179.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "9a6b61ac.f8e22",\r
+ "26968708.bf0a2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1d98ffa3.9dac18",\r
+ "type": "outcome",\r
+ "name": "tunnel-termination-point",\r
+ "xml": "<outcome value='tunnel-termination-point'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4204.685775756836,\r
+ "y": 2348.907440185547,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "e0a8c937.0da4d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8d0439b3.358a8",\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": 4105.900283813477,\r
+ "y": 2059.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9a6b61ac.f8e22",\r
+ "type": "set",\r
+ "name": "set ltpId",\r
+ "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
+ "comments": "",\r
+ "x": 4388.400161743164,\r
+ "y": 2140.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "26968708.bf0a2",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
+ "comments": "",\r
+ "x": 4389.400161743164,\r
+ "y": 2245.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "826c48fa.181fa",\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": 4384.400161743164,\r
+ "y": 2194.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e0a8c937.0da4d",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4411.517318725586,\r
+ "y": 2338.4261169433594,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "e11a9a35.e1ef78",\r
+ "a5abc378.a6c95",\r
+ "e2067ae4.4ae0a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e11a9a35.e1ef78",\r
+ "type": "set",\r
+ "name": "set destination ttp-id",\r
+ "xml": "<set>\n<parameter name='tmp.destination-secondary.ttp-id' value=\"`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 4626.517318725586,\r
+ "y": 2300.4261169433594,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a5abc378.a6c95",\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-secondary.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4623.517318725586,\r
+ "y": 2339.4261169433594,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "153d06ec.f14b19"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e2067ae4.4ae0a8",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4579.017318725586,\r
+ "y": 2381.4261169433594,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ff2bf803.a9fa88",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4672.400161743164,\r
+ "y": 2017.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "a1443a9c.9bc758"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ad74d99d.0df72",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4274.400161743164,\r
+ "y": 2013.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "aec2208e.63a7a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "aec2208e.63a7a",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4469.400161743164,\r
+ "y": 2013.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "ff2bf803.a9fa88",\r
+ "8efacaf4.128aa8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8efacaf4.128aa8",\r
+ "type": "outcome",\r
+ "name": "network-resource",\r
+ "xml": "<outcome value='network-resource'>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4674.400161743164,\r
+ "y": 2090.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "2140dc16.b34c34"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "153d06ec.f14b19",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4804.017318725586,\r
+ "y": 2338.4261169433594,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "dc9300dc.915278"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dc9300dc.915278",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4962.017318725586,\r
+ "y": 2338.4261169433594,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "1236d7b2.067398"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1236d7b2.067398",\r
+ "type": "set",\r
+ "name": "set destination tunnel tp ip",\r
+ "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
+ "comments": "",\r
+ "x": 5169.017318725586,\r
+ "y": 2338.4261169433594,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a1443a9c.9bc758",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4849.400161743164,\r
+ "y": 2009.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "206cd74a.090e9",\r
+ "743406a2.17f9a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "743406a2.17f9a",\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.domainC.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5057.400161743164,\r
+ "y": 2016.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "c6f1bea4.57dda",\r
+ "1229be89.7bda19",\r
+ "b62eac2a.e73c5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2140dc16.b34c34",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4851.400161743164,\r
+ "y": 2082.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "348e5ae6.fa6196"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "206cd74a.090e9",\r
+ "type": "set",\r
+ "name": "set esr-thirdparty-sdnc domainC id",\r
+ "xml": "<set>\n<parameter name='tmp.domainC.esr-thirdparty-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 5087.400161743164,\r
+ "y": 1964.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "348e5ae6.fa6196",\r
+ "type": "set",\r
+ "name": "set domainC ethernet layer network-id",\r
+ "xml": "<set>\n<parameter name='tmp.domainC.eth-network-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 5086.400161743164,\r
+ "y": 2206.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c6f1bea4.57dda",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5267.400161743164,\r
+ "y": 2007.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "55a3e51f.c94c6c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1229be89.7bda19",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5259.400161743164,\r
+ "y": 2062.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "dd96fb81.a1be5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b62eac2a.e73c5",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5264.400161743164,\r
+ "y": 2119.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "367deba0.342ae4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "367deba0.342ae4",\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": 5416.400161743164,\r
+ "y": 2120.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "dd96fb81.a1be5",\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": 5427.400161743164,\r
+ "y": 2065.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "55a3e51f.c94c6c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5411.782485961914,\r
+ "y": 2004.7414855957031,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "37dd91fc.28526e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "37dd91fc.28526e",\r
+ "type": "set",\r
+ "name": "set controller domainC data",\r
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.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": 5626.400161743164,\r
+ "y": 2001.0858154296875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d0d8e8f0.a69bb8",\r
+ "type": "comment",\r
+ "name": "Create SECONDARY-ROOT UNI",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 5655.900161743164,\r
+ "y": 2123.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "98d8658a.1dab08",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5628.016860961914,\r
+ "y": 2172.968994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "420f2345.5b5d34"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "420f2345.5b5d34",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5819.016860961914,\r
+ "y": 2176.968994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "661df626.a6b8e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "661df626.a6b8e8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5946.016860961914,\r
+ "y": 2175.968994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "329453e7.3a09dc",\r
+ "8b47742b.726f38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b47742b.726f38",\r
+ "type": "save",\r
+ "name": "save SECONDARY-ROOT UNI in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='type' value='secondary-root' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6168.016860961914,\r
+ "y": 2064.968994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "329453e7.3a09dc",\r
+ "type": "switchNode",\r
+ "name": "switch 2-ROOTS in same domain?",\r
+ "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6163.900161743164,\r
+ "y": 2123.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "7670a585.4e8fa4",\r
+ "7f78162d.05f38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7670a585.4e8fa4",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6373.900161743164,\r
+ "y": 2100.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "36156797.814718"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "36156797.814718",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6499.900161743164,\r
+ "y": 2100.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "c10b0555.a1cbe"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "802f927b.0dcdb",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6504.900161743164,\r
+ "y": 2149.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "2a6e1393.0f0b94",\r
+ "ec798eb.b40ea7",\r
+ "21b7fb79.312cdc",\r
+ "b8684fe1.88dea8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7f78162d.05f38",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6378.900161743164,\r
+ "y": 2149.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "802f927b.0dcdb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c10b0555.a1cbe",\r
+ "type": "save",\r
+ "name": "save connectivityB relationship to UNI-SECONDARY-ROOT, in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6827.900161743164,\r
+ "y": 2097.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "2a6e1393.0f0b94",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for connectivity domainC",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainC-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6780.900161743164,\r
+ "y": 2188.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ec798eb.b40ea7",\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-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!-- key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\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-domainC[$param-prefix-domainC_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='secondary-root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\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='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-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": 6728.900161743164,\r
+ "y": 2230.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "21b7fb79.312cdc",\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-domainC-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-domainC-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": 6857.900161743164,\r
+ "y": 2272.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "9b3b3d66.43cb88",\r
+ "type": "comment",\r
+ "name": "Create SECONDARY-ROOT connectivity",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 6743.900161743164,\r
+ "y": 2145.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b8684fe1.88dea8",\r
+ "type": "save",\r
+ "name": "save connectivityC relationship to UNI-SECONDARY-ROOT, in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6835.900161743164,\r
+ "y": 2320.852294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d8f4cd5c.153e9",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6399.900161743164,\r
+ "y": 2817.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "1ca77427.cfd00c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1ca77427.cfd00c",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6591.900161743164,\r
+ "y": 2812.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "d48a28e3.978788"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d48a28e3.978788",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6720.900161743164,\r
+ "y": 2812.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "cd4e9669.2bbe38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cd4e9669.2bbe38",\r
+ "type": "save",\r
+ "name": "save middle-man-conn relationship to UNI-SECONDARY-ROOT, in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 7052.900161743164,\r
+ "y": 2810.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "96928e3.987df7",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5984.900161743164,\r
+ "y": 3029.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "181572ea.9107d5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "181572ea.9107d5",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6164.900161743164,\r
+ "y": 3028.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "8cd8419f.cb3a9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8cd8419f.cb3a9",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6293.900161743164,\r
+ "y": 3028.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "d6cc041.8a7c3f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d6cc041.8a7c3f8",\r
+ "type": "switchNode",\r
+ "name": "switch 2-ROOTS in same domain?",\r
+ "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6511.783462524414,\r
+ "y": 3027.53564453125,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "b0604621.14aa3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b0604621.14aa3",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6726.783462524414,\r
+ "y": 3027.53564453125,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "1b23239.265d75c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1b23239.265d75c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 6858.783462524414,\r
+ "y": 3027.53564453125,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "e0661126.3d63c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e0661126.3d63c",\r
+ "type": "save",\r
+ "name": "save middle-man-conn relationship to connectivity-SECONDARY-ROOT, in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \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-domainC-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-domainC-uuid`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 7222.900161743164,\r
+ "y": 3026.65234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ba199ac4.fb848",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4955.399185180664,\r
+ "y": 2677.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "3b9234ec.069ca4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3b9234ec.069ca4",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5135.399185180664,\r
+ "y": 2676.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "9eae322e.b63d4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9eae322e.b63d4",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5264.399185180664,\r
+ "y": 2676.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "d93117f0.529c08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "eef4e51b.ad8f08",\r
+ "type": "comment",\r
+ "name": "Update SECONDARY-ROOT UNI's bw",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 5000.399185180664,\r
+ "y": 2735.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d93117f0.529c08",\r
+ "type": "save",\r
+ "name": "get S-root uni from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5030.399185180664,\r
+ "y": 2768.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "cef39c15.c2efe8",\r
+ "19cfaa23.53868e",\r
+ "3979c231.eba74e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "19cfaa23.53868e",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5211.890151977539,\r
+ "y": 2745.793212890625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "11983801.6e819"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3979c231.eba74e",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5200.399185180664,\r
+ "y": 2785.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "df1ec346.4539a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "11983801.6e819",\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": 5371.461685180664,\r
+ "y": 2744.078857421875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "df1ec346.4539a",\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": 5361.399185180664,\r
+ "y": 2786.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cef39c15.c2efe8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5205.399185180664,\r
+ "y": 2822.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "ce54950d.a0123"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ce54950d.a0123",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5363.399185180664,\r
+ "y": 2830.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "f7f8d3b0.147e88",\r
+ "b341778e.b63ef8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f7f8d3b0.147e88",\r
+ "type": "set",\r
+ "name": "set new bw",\r
+ "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
+ "comments": "",\r
+ "x": 5524.399185180664,\r
+ "y": 2762.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b341778e.b63ef8",\r
+ "type": "save",\r
+ "name": "update S-ROOT UNI in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5566.399185180664,\r
+ "y": 2834.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8414e4a1.38b9c8",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5042.399185180664,\r
+ "y": 3035.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "671d16b.b80a7e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "671d16b.b80a7e8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5222.399185180664,\r
+ "y": 3034.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "119e2009.a17608"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "119e2009.a17608",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5351.399185180664,\r
+ "y": 3034.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "473f5087.37a1e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5e936e89.558fa8",\r
+ "type": "comment",\r
+ "name": "Update SECONDARY-ROOT UNI's bw",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 5087.399185180664,\r
+ "y": 3093.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "473f5087.37a1e8",\r
+ "type": "save",\r
+ "name": "get S-root uni from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5117.399185180664,\r
+ "y": 3126.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "d9f85915.dda38",\r
+ "24241f4e.c44408",\r
+ "225969a9.a7207e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "24241f4e.c44408",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5298.890151977539,\r
+ "y": 3103.793212890625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "96c74d33.8dbf8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "225969a9.a7207e",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5287.399185180664,\r
+ "y": 3143.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "591af841.3626"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "96c74d33.8dbf8",\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": 5458.461685180664,\r
+ "y": 3102.078857421875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "591af841.3626",\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": 5448.399185180664,\r
+ "y": 3144.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d9f85915.dda38",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5292.399185180664,\r
+ "y": 3180.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "211d205d.25f7f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "211d205d.25f7f",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5450.399185180664,\r
+ "y": 3188.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "d0bfd54a.d36bc8",\r
+ "7dc2fca0.94494c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d0bfd54a.d36bc8",\r
+ "type": "set",\r
+ "name": "set new bw",\r
+ "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
+ "comments": "",\r
+ "x": 5611.399185180664,\r
+ "y": 3120.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7dc2fca0.94494c",\r
+ "type": "save",\r
+ "name": "update S-ROOT UNI in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5653.399185180664,\r
+ "y": 3192.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "3f0ddd6.f3f1022",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3524.066665649414,\r
+ "y": 4617.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "358e9751.c712f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "358e9751.c712f",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3704.066665649414,\r
+ "y": 4616.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "6884e019.44294"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6884e019.44294",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3833.066665649414,\r
+ "y": 4616.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "5116cf4b.8d29a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bd6b4020.6dbe8",\r
+ "type": "comment",\r
+ "name": "Update SECONDARY-ROOT UNI's bw",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3569.066665649414,\r
+ "y": 4675.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5116cf4b.8d29a",\r
+ "type": "save",\r
+ "name": "get S-root uni from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3599.066665649414,\r
+ "y": 4708.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "2e2530b5.6396c8",\r
+ "a3a43577.5b69d",\r
+ "ed68f855.e91bf8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a3a43577.5b69d",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3780.557632446289,\r
+ "y": 4685.793212890625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "86842579.52f86"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ed68f855.e91bf8",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3769.066665649414,\r
+ "y": 4725.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "73eac34a.dab10c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "86842579.52f86",\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": 3940.129165649414,\r
+ "y": 4684.078857421875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "73eac34a.dab10c",\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": 3930.066665649414,\r
+ "y": 4726.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2e2530b5.6396c8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3774.066665649414,\r
+ "y": 4762.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "744d2f9d.2ccba"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "744d2f9d.2ccba",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3932.066665649414,\r
+ "y": 4770.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "e108af78.2fc248",\r
+ "9bbc731d.e00988"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e108af78.2fc248",\r
+ "type": "set",\r
+ "name": "set new bw",\r
+ "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
+ "comments": "",\r
+ "x": 4093.066665649414,\r
+ "y": 4702.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9bbc731d.e00988",\r
+ "type": "save",\r
+ "name": "update S-ROOT UNI in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4135.066665649414,\r
+ "y": 4774.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "75777f0a.fb1b9",\r
+ "type": "comment",\r
+ "name": "populate connectivity-C variable in the context map",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4215.733657836914,\r
+ "y": 5572.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4f6ebd11.7928d4",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4370.733657836914,\r
+ "y": 5613.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "53cb53b2.198aa4",\r
+ "type": "switchNode",\r
+ "name": "switch found-secondary-root-connectivity",\r
+ "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4186.733657836914,\r
+ "y": 5671.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "7b1794a5.b1fc24",\r
+ "60cb3386.52366c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7b1794a5.b1fc24",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4422.733657836914,\r
+ "y": 5655.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "d1b5ec1f.66461"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "60cb3386.52366c",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4421.733657836914,\r
+ "y": 5703.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d1b5ec1f.66461",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4566.733657836914,\r
+ "y": 5657.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "2e676cc9.ce26a4",\r
+ "6e286f3d.8e0a28",\r
+ "e2964af9.ec57d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2e676cc9.ce26a4",\r
+ "type": "set",\r
+ "name": "set prop.connectivity-domainC-uuid",\r
+ "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4978.733901977539,\r
+ "y": 5792.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6e286f3d.8e0a28",\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/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-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=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\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": 5099.733901977539,\r
+ "y": 5839.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a459d12f.16fa1",\r
+ "type": "comment",\r
+ "name": "Update connectivity status to modified",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4982.617691040039,\r
+ "y": 5883.102294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e2964af9.ec57d8",\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 = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4981.400894165039,\r
+ "y": 5924.302490234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f2f8d85f.c68ad8",\r
+ "type": "comment",\r
+ "name": "populate connectivity-C variable in the context map",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4842.066665649414,\r
+ "y": 6178.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9cfb7864.e0e548",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5008.066665649414,\r
+ "y": 6217.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "98761b9f.ff6118",\r
+ "type": "switchNode",\r
+ "name": "switch found-secondary-root-connectivity",\r
+ "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4847.066665649414,\r
+ "y": 6267.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "ebc03603.139de",\r
+ "22cd6c36.3aa1dc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ebc03603.139de",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5080.066665649414,\r
+ "y": 6261.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "3bf7ac87.926a04"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "22cd6c36.3aa1dc",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5081.066665649414,\r
+ "y": 6311.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "3bf7ac87.926a04",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5227.066665649414,\r
+ "y": 6269.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "7682c7bc.9b0958",\r
+ "fc925053.188248",\r
+ "d17759a6.e157b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7682c7bc.9b0958",\r
+ "type": "set",\r
+ "name": "set prop.connectivity-domainC-uuid",\r
+ "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 5474.066665649414,\r
+ "y": 6257.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fc925053.188248",\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/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-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=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\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": 5595.066665649414,\r
+ "y": 6304.218994140625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a868892a.829a98",\r
+ "type": "comment",\r
+ "name": "Update connectivity status to modified",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 5477.950454711914,\r
+ "y": 6348.102294921875,\r
+ "z": "9718fe15.98603",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d17759a6.e157b",\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 = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5476.733657836914,\r
+ "y": 6389.302490234375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "b6de4106.8135",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3604.066665649414,\r
+ "y": 6162.652587890625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "37dc60ca.62221",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2941.316665649414,\r
+ "y": 6160.902587890625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "196d7b7.c07cd85",\r
+ "bc377eb3.be507"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "196d7b7.c07cd85",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3132.316665649414,\r
+ "y": 6164.902587890625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "65fedbab.47a65c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "65fedbab.47a65c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3259.316665649414,\r
+ "y": 6163.902587890625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "b6de4106.8135"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bc377eb3.be507",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3128.316665649414,\r
+ "y": 6234.902587890625,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "e0efce2f.f6bfe"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7ecde40.b1b951c",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate-w-Protection",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate-w-Protection' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3677.816665649414,\r
+ "y": 6233.986083984375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e0efce2f.f6bfe",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3261.816665649414,\r
+ "y": 6236.986083984375,\r
+ "z": "9718fe15.98603",\r
+ "wires": [\r
+ [\r
+ "7ecde40.b1b951c"\r
+ ]\r
+ ]\r