+ "y": 4734.6856689453125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "6f96293b.020fc",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5113,\r
+ "y": 5027.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "aad45f58.fbf018",\r
+ "2530767d.abaa5a",\r
+ "b9bc9e8d.66a4b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b9bc9e8d.66a4b8",\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": 5340,\r
+ "y": 4972.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "aad45f58.fbf018",\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": 5494,\r
+ "y": 5024.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "2530767d.abaa5a",\r
+ "type": "switchNode",\r
+ "name": "switch $foundVpnName",\r
+ "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5339,\r
+ "y": 5079.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "5fd0edea.97a1fc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5fd0edea.97a1fc",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5518,\r
+ "y": 5078.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "48fa24ff.a12f6c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "79dba259.2612cc",\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": 3380.249969482422,\r
+ "y": 433.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "11c024cf.1cb7db",\r
+ "type": "set",\r
+ "name": "set network-route-three",\r
+ "xml": "<set>\n<parameter name='network-route-three' value=\"`$tmp.aai.logical-link.segment-id`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 3344.249969482422,\r
+ "y": 683.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8bfce836.dcd148",\r
+ "type": "switchNode",\r
+ "name": "switch secondary empty?",\r
+ "xml": "<switch test='`length($network-route-three) == 0`'>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3347.666473388672,\r
+ "y": 725.5357360839844,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "2011ad7a.50e2d2",\r
+ "3e343af8.ce24be"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2011ad7a.50e2d2",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3586.6663513183594,\r
+ "y": 561.5357666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "1f12a88c.b01c37"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3e343af8.ce24be",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3595.6663513183594,\r
+ "y": 608.5357666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "d6d1ae0e.a40e7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d6d1ae0e.a40e7",\r
+ "type": "set",\r
+ "name": "set hasSecondary true",\r
+ "xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 3809.6663513183594,\r
+ "y": 602.5357666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1f12a88c.b01c37",\r
+ "type": "set",\r
+ "name": "set hasSecondary false",\r
+ "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 3813.6663513183594,\r
+ "y": 558.5357666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "41d8ce05.5caae",\r
+ "type": "outcome",\r
+ "name": "SECONDARY-ROOT",\r
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4175.700408935547,\r
+ "y": 511.9857177734375,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "57b53193.85d2e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "57b53193.85d2e8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4349.700408935547,\r
+ "y": 506.9857177734375,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "2292f0ec.6f9e9",\r
+ "f8b394d0.6213f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2292f0ec.6f9e9",\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": 4593.700653076172,\r
+ "y": 498.9857177734375,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f8b394d0.6213f",\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": 4539.700653076172,\r
+ "y": 538.9857177734375,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4bc67983.47c6f",\r
+ "type": "outcome",\r
+ "name": "SECONDARY-ROOT",\r
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4144.700408935547,\r
+ "y": 741.3857421875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "ca96ae7a.f7e118"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ca96ae7a.f7e118",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4302.700164794922,\r
+ "y": 784.3855590820312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "bdef3637.91db48",\r
+ "b84fc7dd.a088f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bdef3637.91db48",\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": 4524.700164794922,\r
+ "y": 770.3856811523438,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b84fc7dd.a088f8",\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": 4470.700164794922,\r
+ "y": 810.3856811523438,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ec6aad53.7d628",\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": 3356.133270263672,\r
+ "y": 977.6190185546875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "60b6baf9.326c5c",\r
+ "fffcc6ce.01cc38",\r
+ "232b371a.13f76"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "60b6baf9.326c5c",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3596.133270263672,\r
+ "y": 960.6190185546875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "fffcc6ce.01cc38",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3591.642333984375,\r
+ "y": 1003.0450744628906,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "232b371a.13f76",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3595.642303466797,\r
+ "y": 1051.0450439453125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "b996a975.9f4ee8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b996a975.9f4ee8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3751.133270263672,\r
+ "y": 1020.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "2df3eeae.ae260a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2df3eeae.ae260a",\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": 3873.133270263672,\r
+ "y": 967.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "30af5545.05a802",\r
+ "294528ca.16e348",\r
+ "fdf4c0e0.5eff08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "30af5545.05a802",\r
+ "type": "outcome",\r
+ "name": "ROOT",\r
+ "xml": "<outcome value='ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4109.133270263672,\r
+ "y": 817.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "58899b33.3d8864"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "294528ca.16e348",\r
+ "type": "outcome",\r
+ "name": "LEAF",\r
+ "xml": "<outcome value='LEAF'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4105.133270263672,\r
+ "y": 873.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "2016713.cf9120e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "58899b33.3d8864",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4235.133270263672,\r
+ "y": 825.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "23e1076f.823948",\r
+ "e01e107b.4a322"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2016713.cf9120e",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4238.133270263672,\r
+ "y": 878.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "42b53bab.59e5ec",\r
+ "9f9141a1.5b5a98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fdf4c0e0.5eff08",\r
+ "type": "outcome",\r
+ "name": "SECONDARY-ROOT",\r
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4098.133270263672,\r
+ "y": 951.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "7151cb9d.fcc3b4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7151cb9d.fcc3b4",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4254.133270263672,\r
+ "y": 972.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "16090c67.366d8c",\r
+ "877ec323.7c8b08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "23e1076f.823948",\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": 4482.133270263672,\r
+ "y": 855.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e01e107b.4a322",\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": 4474.133270263672,\r
+ "y": 897.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "42b53bab.59e5ec",\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": 4475.133270263672,\r
+ "y": 949.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9f9141a1.5b5a98",\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": 4462.133270263672,\r
+ "y": 989.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "877ec323.7c8b08",\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": 4436.133270263672,\r
+ "y": 1083.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "16090c67.366d8c",\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": 4498.133270263672,\r
+ "y": 1039.6189575195312,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2a307068.85126",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3700.13330078125,\r
+ "y": 2223.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "5e91bdef.ec251c",\r
+ "edfa6b23.11ec28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "268e9ec4.4facea",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3527.466796875,\r
+ "y": 2224.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "2a307068.85126"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "15820d3a.1e0693",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3536.957763671875,\r
+ "y": 2266.8598022460938,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "5a5c2368.a7e5dc",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3525.466796875,\r
+ "y": 2313.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "5e91bdef.ec251c",\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": 3990.466796875,\r
+ "y": 2239.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "fab0baab.63daf",\r
+ "4fbe9a1d.f89b1c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4fbe9a1d.f89b1c",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4213.466796875,\r
+ "y": 2194.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "e7a6f67c.223ba8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fab0baab.63daf",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4215.466796875,\r
+ "y": 2258.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "e4fc9765.fde21"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ad2e0fde.b44de8",\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": 3321.466796875,\r
+ "y": 2245.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "268e9ec4.4facea",\r
+ "15820d3a.1e0693",\r
+ "5a5c2368.a7e5dc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8876fe3a.88e278",\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": 3260.466796875,\r
+ "y": 2203.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c02bc34.16c814",\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": 3341.466796875,\r
+ "y": 2093.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "85d9fc70.3a0b8",\r
+ "63a7add0.8255ec"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "63a7add0.8255ec",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3564.466796875,\r
+ "y": 2079.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "39d5594f.5d224e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "85d9fc70.3a0b8",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3566.466796875,\r
+ "y": 2112.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "39d5594f.5d224e",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3712.466796875,\r
+ "y": 2072.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "cf9e5f0.1f2092",\r
+ "6b6736af.eb70a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cf9e5f0.1f2092",\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": 3904.4666748046875,\r
+ "y": 2009.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "edfa6b23.11ec28",\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": 3971.466796875,\r
+ "y": 2370.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "c80278c9.710488"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c80278c9.710488",\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": 4177.466796875,\r
+ "y": 2370.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "7e2cf131.a58a08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6b6736af.eb70a",\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": 3926.4666748046875,\r
+ "y": 2077.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "9d1ec1c.6f0f9c",\r
+ "f4e7e55c.530698",\r
+ "d7c76719.0fc4b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9d1ec1c.6f0f9c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4121.966796875,\r
+ "y": 2029.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "13bd6284.e3089d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4e7e55c.530698",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4113.966796875,\r
+ "y": 2084.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "56e4b2a7.59d05c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d7c76719.0fc4b",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4118.966796875,\r
+ "y": 2141.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "67615599.b73f0c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "67615599.b73f0c",\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": 4270.966796875,\r
+ "y": 2142.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "13bd6284.e3089d",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4266.34912109375,\r
+ "y": 2026.9414367675781,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "3bd0a776.cdf68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d87e7a94.9bda08",\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": 3322.13330078125,\r
+ "y": 2338.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3b2ac73.1b40638",\r
+ "type": "comment",\r
+ "name": "NOT NEEDED ANYMORE?",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4001.133270263672,\r
+ "y": 2314.285614013672,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e4fc9765.fde21",\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": 4374.466796875,\r
+ "y": 2277.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e7a6f67c.223ba8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4378.466796875,\r
+ "y": 2191.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "ab9c8c2d.c18e8",\r
+ "2a323f5f.e64b7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7e2cf131.a58a08",\r
+ "type": "outcome",\r
+ "name": "tunnel-termination-point",\r
+ "xml": "<outcome value='tunnel-termination-point'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4394.75244140625,\r
+ "y": 2369.1075439453125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "cefe725b.0f41e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "56e4b2a7.59d05c",\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": 4281.966796875,\r
+ "y": 2087.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ab9c8c2d.c18e8",\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": 4548.466796875,\r
+ "y": 2152.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2a323f5f.e64b7",\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": 4549.466796875,\r
+ "y": 2257.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "89cd5649.143b88",\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": 4544.466796875,\r
+ "y": 2206.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cefe725b.0f41e8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4601.583984375,\r
+ "y": 2358.626220703125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "a03cf587.06cef8",\r
+ "a11cf500.909288",\r
+ "7b4cfab6.8e3e3c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a03cf587.06cef8",\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": 4816.583984375,\r
+ "y": 2320.626220703125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a11cf500.909288",\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": 4813.583984375,\r
+ "y": 2359.626220703125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "1d4bbcf2.4e364b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7b4cfab6.8e3e3c",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4769.083984375,\r
+ "y": 2401.626220703125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5a11b9ac.0be8e",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4850.466796875,\r
+ "y": 2111.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "9451ac43.685578"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3bd0a776.cdf68",\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": 4450.4666748046875,\r
+ "y": 2041.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "baa608db.a0fe08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "baa608db.a0fe08",\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": 4647.466796875,\r
+ "y": 2107.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "5a11b9ac.0be8e",\r
+ "41776d15.aa3ae4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "41776d15.aa3ae4",\r
+ "type": "outcome",\r
+ "name": "network-resource",\r
+ "xml": "<outcome value='network-resource'>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4852.466796875,\r
+ "y": 2184.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "e63bdf76.82117"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1d4bbcf2.4e364b",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4994.083984375,\r
+ "y": 2358.626220703125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "65012ff0.bac99"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "65012ff0.bac99",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5152.083984375,\r
+ "y": 2358.626220703125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "8f16bdf7.24b18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8f16bdf7.24b18",\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": 5359.083984375,\r
+ "y": 2358.626220703125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9451ac43.685578",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5027.466796875,\r
+ "y": 2103.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "801b98ce.90edc",\r
+ "5fb93bf0.4b325c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5fb93bf0.4b325c",\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": 5235.466796875,\r
+ "y": 2110.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "44bfb2a0.4cab3c",\r
+ "f1164e18.e0f19",\r
+ "7ca3e4f2.88fb4c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e63bdf76.82117",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5029.466796875,\r
+ "y": 2176.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "de27c7f7.c9276"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "801b98ce.90edc",\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": 5265.466796875,\r
+ "y": 2058.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "de27c7f7.c9276",\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": 5264.466796875,\r
+ "y": 2300.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "44bfb2a0.4cab3c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5445.466796875,\r
+ "y": 2101.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "e82fded9.073898"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f1164e18.e0f19",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5437.466796875,\r
+ "y": 2156.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "85250ba4.806898"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7ca3e4f2.88fb4c",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5442.466796875,\r
+ "y": 2213.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "7d5613c0.f5f4cc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7d5613c0.f5f4cc",\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": 5594.466796875,\r
+ "y": 2214.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "85250ba4.806898",\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": 5605.466796875,\r
+ "y": 2159.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e82fded9.073898",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5589.84912109375,\r
+ "y": 2098.9415588378906,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "7c8249af.5ed848"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7c8249af.5ed848",\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": 5804.466796875,\r
+ "y": 2095.285888671875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1e88543b.84a814",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3836.13330078125,\r
+ "y": 2707.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "4bbf44dd.c34104"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4bbf44dd.c34104",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4027.13330078125,\r
+ "y": 2711.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "ca18cabf.134c3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ca18cabf.134c3",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4154.13330078125,\r
+ "y": 2710.2857666015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "ef98dd66.570548"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ef98dd66.570548",\r
+ "type": "save",\r
+ "name": "get secondary 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": 4380.467041015625,\r
+ "y": 2703.619384765625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "c3cc04e3.9995e8",\r
+ "96ef8840.c20b2",\r
+ "50ef7648.d143f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c3cc04e3.9995e8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4747.466796875,\r
+ "y": 2597.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "625acc3d.d4dd04"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "96ef8840.c20b2",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4742.975830078125,\r
+ "y": 2642.0452270507812,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "b87c29ed.e7a1d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "50ef7648.d143f",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4738.975830078125,\r
+ "y": 2692.0452880859375,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "2796810b.682956"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "96d93656.6958b8",\r
+ "type": "save",\r
+ "name": "update SECONDARY-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": 5186.976318359375,\r
+ "y": 2687.04541015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "625acc3d.d4dd04",\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": 4910.038330078125,\r
+ "y": 2596.9049682617188,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b87c29ed.e7a1d8",\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": 4910.975830078125,\r
+ "y": 2642.0452270507812,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2796810b.682956",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4907.975830078125,\r
+ "y": 2692.0452880859375,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "5a769bdf.551e9c",\r
+ "96d93656.6958b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5a769bdf.551e9c",\r
+ "type": "set",\r
+ "name": "set new bw",\r
+ "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source - $bwToBeDecreased`' />\n",\r
+ "comments": "",\r
+ "x": 5089.9765625,\r
+ "y": 2634.0452880859375,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b7814ecb.1580d",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.mmUNI-id-long != SECONDARY-ROOT UNI",\r
+ "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.SECONDARY-ROOT.uni-p-interface-long`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4624.467041015625,\r
+ "y": 3547.6190185546875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "cf2467a.3e0e698"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cf2467a.3e0e698",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4914.467041015625,\r
+ "y": 3549.6190185546875,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "774ecc4a.3ad124"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fc616200.2baf58",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4277,\r
+ "y": 5777.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "b0c64a0a.29dee8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b0c64a0a.29dee8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4468,\r
+ "y": 5781.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "b39a4675.08bbf"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b39a4675.08bbf",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4595,\r
+ "y": 5780.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "6b59d25.075b22c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6b59d25.075b22c",\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": 4820.3330078125,\r
+ "y": 5782.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "84c8a22.08a86e",\r
+ "8ae9054d.68fd08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "84c8a22.08a86e",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5030.3330078125,\r
+ "y": 5759.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "93a0772f.9be09"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8ae9054d.68fd08",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5035.3330078125,\r
+ "y": 5808.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "2db83bd3.7a132c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "93a0772f.9be09",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5156.3330078125,\r
+ "y": 5759.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "2db83bd3.7a132c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5153.3330078125,\r
+ "y": 5815.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "81928378.5f469",\r
+ "9b2406e3.5e7a08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "81928378.5f469",\r
+ "type": "save",\r
+ "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5467.3330078125,\r
+ "y": 5874.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "6888e6dc.67e04",\r
+ "type": "comment",\r
+ "name": "Update connectivity status to modified",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 5399.550048828125,\r
+ "y": 5826.4190673828125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9b2406e3.5e7a08",\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": 5598,\r
+ "y": 5784.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d07ac0db.fa9818",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 868,\r
+ "y": 4974.6187744140625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "a4f6e106.afc2d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a4f6e106.afc2d",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1059,\r
+ "y": 4978.6187744140625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "617b198c.79c0a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "617b198c.79c0a",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1186,\r
+ "y": 4977.6187744140625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "f89a9d64.adeb98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f89a9d64.adeb98",\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": 1411.3330078125,\r
+ "y": 4979.6187744140625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "6035813d.1e7338",\r
+ "b4705906.43572"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6035813d.1e7338",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1621.3330078125,\r
+ "y": 4956.6187744140625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "b1155932.92831"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b4705906.43572",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1626.3330078125,\r
+ "y": 5005.6187744140625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "62407b64.a07c9c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b1155932.92831",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1747.3330078125,\r
+ "y": 4956.6187744140625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "62407b64.a07c9c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1744.3330078125,\r
+ "y": 5012.6187744140625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "d0271ecc.53e168",\r
+ "83be22a.f7cdb6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "83be22a.f7cdb6",\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": 2189,\r
+ "y": 4981.6187744140625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d29b17e9.2cbf8",\r
+ "type": "comment",\r
+ "name": "Update connectivity status to modified",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1990.550048828125,\r
+ "y": 5023.4185791015625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d0271ecc.53e168",\r
+ "type": "save",\r
+ "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2058.3330078125,\r
+ "y": 5071.6187744140625,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e88fc760.9f3988",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1470.3333740234375,\r
+ "y": 5815.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "c0695dac.6b173"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c0695dac.6b173",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1661.3333740234375,\r
+ "y": 5819.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "a704fbb5.caa0b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a704fbb5.caa0b",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1788.3333740234375,\r
+ "y": 5818.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "bc272657.983128"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bc272657.983128",\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": 2013.6663818359375,\r
+ "y": 5820.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "31bdfa25.d18a2e",\r
+ "c242900c.77afd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "31bdfa25.d18a2e",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2223.6663818359375,\r
+ "y": 5797.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "9d78f5ef.5cf228"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c242900c.77afd8",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2228.6663818359375,\r
+ "y": 5846.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "d542d85e.71ea7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9d78f5ef.5cf228",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2349.6663818359375,\r
+ "y": 5797.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d542d85e.71ea7",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2346.6663818359375,\r
+ "y": 5853.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ [\r
+ "d23f59ed.73bc4",\r
+ "2e5ee108.277b9e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2e5ee108.277b9e",\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": 2791.3333740234375,\r
+ "y": 5822.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "868b21d1.a7652",\r
+ "type": "comment",\r
+ "name": "Update connectivity status to modified",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 2592.8834228515625,\r
+ "y": 5864.4190673828125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d23f59ed.73bc4",\r
+ "type": "save",\r
+ "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2660.6663818359375,\r
+ "y": 5912.6192626953125,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "73f93f1a.1715d8",\r
+ "type": "execute",\r
+ "name": "execute Terminate SSE Connection",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='deleteSubscriptionAndSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"`$project.version`\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1520.7666625976562,\r
+ "y": 6121,\r
+ "z": "1806503a.76a7a",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "5f7e37aa.0d2258",\r
+ "type": "set",\r
+ "name": "set parameters",\r
+ "xml": "<set>\n<parameter name='subscriptionId' value='`$rcvd-bandwidth-value`' />\n",\r
+ "comments": "",\r
+ "x": 1452.800048828125,\r
+ "y": 6062.39990234375,\r
+ "z": "1806503a.76a7a",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "29311664.f24592",\r
+ "type": "execute",\r
+ "name": "execute Terminate SSE Connection",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='deleteSubscriptionAndSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"`$project.version`\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2069.433349609375,\r
+ "y": 5569.2333984375,\r
+ "z": "1806503a.76a7a",\r