aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn.json611
1 files changed, 611 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn.json
new file mode 100644
index 00000000..83a5bf97
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn.json
@@ -0,0 +1,611 @@
+[
+ {
+ "id": "2e93c168.6c7176",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 131,
+ "y": 94,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "f3472611.3b3a7"
+ ]
+ ]
+ },
+ {
+ "id": "f3472611.3b3a7",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 415.2856903076172,
+ "y": 155.23810863494873,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "f934f601.250c68"
+ ]
+ ]
+ },
+ {
+ "id": "f934f601.250c68",
+ "type": "method",
+ "name": "method cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",
+ "xml": "<method rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 370.4285888671875,
+ "y": 247.00003051757812,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "f86b55e.289eca8"
+ ]
+ ]
+ },
+ {
+ "id": "f86b55e.289eca8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 731.238037109375,
+ "y": 231.66668701171875,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "1711ba16.b9e5fe",
+ "86a57251.1116d",
+ "23642fea.37bce8",
+ "6091a27b.6e2de4"
+ ]
+ ]
+ },
+ {
+ "id": "1711ba16.b9e5fe",
+ "type": "save",
+ "name": "get all-connectivities from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivities\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v24/network/connectivities/'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.helper-secondary-root-all-connectivities\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 216,
+ "y": 417,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "38d70593.a6db12",
+ "96ef9eda.72033",
+ "5388015d.ff79f"
+ ]
+ ]
+ },
+ {
+ "id": "38d70593.a6db12",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 460,
+ "y": 377,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "2b93fa95.52b74e"
+ ]
+ ]
+ },
+ {
+ "id": "96ef9eda.72033",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 457.490966796875,
+ "y": 426.57403564453125,
+ "z": "e702f568.a82608",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5388015d.ff79f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 455,
+ "y": 469,
+ "z": "e702f568.a82608",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2b93fa95.52b74e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 608,
+ "y": 378,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "79392e3f.01ffc"
+ ]
+ ]
+ },
+ {
+ "id": "79392e3f.01ffc",
+ "type": "for",
+ "name": "for helprconnidx in all-connectivities",
+ "xml": "<for index='helprconnidx' start='0' end='`$tmp.aai.helper-secondary-root-all-connectivities.connectivity_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 855,
+ "y": 373,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "c9f7846e.c314e8"
+ ]
+ ]
+ },
+ {
+ "id": "c9f7846e.c314e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1102,
+ "y": 379,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "4ef11ae0.e6fc9c"
+ ]
+ ]
+ },
+ {
+ "id": "6c5df52b.60f0f4",
+ "type": "switchNode",
+ "name": "switch color-aware is SECONDARY-ROOT?",
+ "xml": "\n<switch test=\"`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].color-aware == $tmp.SECONDARY-ROOT.uni-p-interface-long`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1726,
+ "y": 685,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "5664c742.62a48"
+ ]
+ ]
+ },
+ {
+ "id": "5664c742.62a48",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1977,
+ "y": 687,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "7c57a413.5a20b4"
+ ]
+ ]
+ },
+ {
+ "id": "7c57a413.5a20b4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2134,
+ "y": 687,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "12b65787.e94718",
+ "74308533.8a66a4",
+ "4a39e664.0fb158"
+ ]
+ ]
+ },
+ {
+ "id": "86a57251.1116d",
+ "type": "set",
+ "name": "unset found-secondary-root-connectivity",
+ "xml": "<set>\n<parameter name='found-secondary-root-connectivity' value=\"false\" />\n",
+ "comments": "",
+ "x": 974,
+ "y": 146,
+ "z": "e702f568.a82608",
+ "wires": []
+ },
+ {
+ "id": "12b65787.e94718",
+ "type": "set",
+ "name": "set found-secondary-root-connectivity=true",
+ "xml": "<set>\n<parameter name='found-secondary-root-connectivity' value=\"true\" />\n",
+ "comments": "",
+ "x": 2395,
+ "y": 635,
+ "z": "e702f568.a82608",
+ "wires": []
+ },
+ {
+ "id": "74308533.8a66a4",
+ "type": "set",
+ "name": "set tmp.aai.SECONDARY-ROOT.connectivity.",
+ "xml": "<set>\n<parameter name='tmp.aai.SECONDARY-ROOT.connectivity.' value=\"`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].`\" />\n",
+ "comments": "",
+ "x": 2459,
+ "y": 685,
+ "z": "e702f568.a82608",
+ "wires": []
+ },
+ {
+ "id": "23642fea.37bce8",
+ "type": "set",
+ "name": "unset tmp.aai.SECONDARY-ROOT.connectivity.",
+ "xml": "<set>\n<parameter name='tmp.aai.SECONDARY-ROOT.connectivity.' value=\"\" />\n",
+ "comments": "",
+ "x": 1058,
+ "y": 190,
+ "z": "e702f568.a82608",
+ "wires": []
+ },
+ {
+ "id": "4a39e664.0fb158",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 2326,
+ "y": 751,
+ "z": "e702f568.a82608",
+ "wires": []
+ },
+ {
+ "id": "31354cfe.c6bf2c",
+ "type": "switchNode",
+ "name": "switch conn type",
+ "xml": "<switch test=\"`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].vpn-type`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1723.8832397460938,
+ "y": 602.88330078125,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "f6ed55e.b6125a8"
+ ]
+ ]
+ },
+ {
+ "id": "f6ed55e.b6125a8",
+ "type": "outcome",
+ "name": "secondary-root",
+ "xml": "<outcome value='secondary-root'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1916.8832397460938,
+ "y": 602.8833312988281,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "5d637914.22c3c"
+ ]
+ ]
+ },
+ {
+ "id": "5d637914.22c3c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2059.8832397460938,
+ "y": 604.8833312988281,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "6c5df52b.60f0f4"
+ ]
+ ]
+ },
+ {
+ "id": "6091a27b.6e2de4",
+ "type": "set",
+ "name": "unset tmp.aai.helper-secondary-root-all-connectivities",
+ "xml": "<set>\n<parameter name='tmp.aai.helper-secondary-root-all-connectivities.' value=\"\" />\n",
+ "comments": "",
+ "x": 1072.11669921875,
+ "y": 244,
+ "z": "e702f568.a82608",
+ "wires": []
+ },
+ {
+ "id": "4ef11ae0.e6fc9c",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 651.88330078125,
+ "y": 555.88330078125,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "eded3518.cefe88"
+ ]
+ ]
+ },
+ {
+ "id": "eded3518.cefe88",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 842.88330078125,
+ "y": 559.88330078125,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "ee6bd36d.011e28"
+ ]
+ ]
+ },
+ {
+ "id": "ee6bd36d.011e28",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 969.88330078125,
+ "y": 558.88330078125,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "8e3e5eb2.dcd14"
+ ]
+ ]
+ },
+ {
+ "id": "8e3e5eb2.dcd14",
+ "type": "switchNode",
+ "name": "switch 2-ROOTS in same domain?",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1187.7666015625,
+ "y": 506.7666015625,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "f91553d6.d6433",
+ "d22eed3.8b3e19"
+ ]
+ ]
+ },
+ {
+ "id": "f91553d6.d6433",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1376.7666015625,
+ "y": 587.7666320800781,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "cf947753.3b5d88"
+ ]
+ ]
+ },
+ {
+ "id": "cf947753.3b5d88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1502.7666015625,
+ "y": 587.7666320800781,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "31354cfe.c6bf2c"
+ ]
+ ]
+ },
+ {
+ "id": "d22eed3.8b3e19",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1386.3499145507812,
+ "y": 371.8833312988281,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "2839a240.d257fe"
+ ]
+ ]
+ },
+ {
+ "id": "a6c87432.2611f",
+ "type": "switchNode",
+ "name": "switch color-aware is ROOT?",
+ "xml": "\n<switch test=\"`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].color-aware == $tmp.ROOT.uni-p-interface-long`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1711.699951171875,
+ "y": 467.8833312988281,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "f240aaa7.5333e8"
+ ]
+ ]
+ },
+ {
+ "id": "f240aaa7.5333e8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1962.699951171875,
+ "y": 469.8833312988281,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "54dee507.06db64"
+ ]
+ ]
+ },
+ {
+ "id": "54dee507.06db64",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2119.699951171875,
+ "y": 469.8833312988281,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "1a15c16c.3b05bf",
+ "3fecc353.b5f16c",
+ "f36e5149.b9b35"
+ ]
+ ]
+ },
+ {
+ "id": "1a15c16c.3b05bf",
+ "type": "set",
+ "name": "set found-secondary-root-connectivity=true",
+ "xml": "<set>\n<parameter name='found-secondary-root-connectivity' value=\"true\" />\n",
+ "comments": "",
+ "x": 2380.699951171875,
+ "y": 417.8833312988281,
+ "z": "e702f568.a82608",
+ "wires": []
+ },
+ {
+ "id": "3fecc353.b5f16c",
+ "type": "set",
+ "name": "set tmp.aai.SECONDARY-ROOT.connectivity.",
+ "xml": "<set>\n<parameter name='tmp.aai.SECONDARY-ROOT.connectivity.' value=\"`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].`\" />\n",
+ "comments": "",
+ "x": 2444.699951171875,
+ "y": 467.8833312988281,
+ "z": "e702f568.a82608",
+ "wires": []
+ },
+ {
+ "id": "f36e5149.b9b35",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 2311.699951171875,
+ "y": 533.8833312988281,
+ "z": "e702f568.a82608",
+ "wires": []
+ },
+ {
+ "id": "5e104fd0.57bd6",
+ "type": "switchNode",
+ "name": "switch conn type",
+ "xml": "<switch test=\"`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].vpn-type`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1736.583251953125,
+ "y": 375.7666015625,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "3d2ab0e2.6993c"
+ ]
+ ]
+ },
+ {
+ "id": "3d2ab0e2.6993c",
+ "type": "outcome",
+ "name": "root",
+ "xml": "<outcome value='root'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1929.583251953125,
+ "y": 375.7666320800781,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "fa1da4c2.b6ad4"
+ ]
+ ]
+ },
+ {
+ "id": "fa1da4c2.b6ad4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2072.583251953125,
+ "y": 377.7666320800781,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "a6c87432.2611f"
+ ]
+ ]
+ },
+ {
+ "id": "2839a240.d257fe",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1538.699951171875,
+ "y": 371.8833312988281,
+ "z": "e702f568.a82608",
+ "wires": [
+ [
+ "5e104fd0.57bd6"
+ ]
+ ]
+ }
+] \ No newline at end of file