[\r
{\r
- "id": "c33d6496.da3878",\r
+ "id": "5597755d.1ce774",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 166,\r
- "y": 104,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 147,\r
+ "y": 107,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "248cabde.5d765c"\r
+ "8d0fd3e7.a3b7e8"\r
]\r
]\r
},\r
{\r
- "id": "248cabde.5d765c",\r
+ "id": "8d0fd3e7.a3b7e8",\r
"type": "service-logic",\r
"name": "GENERIC-RESOURCE-API ${project.version}",\r
"module": "GENERIC-RESOURCE-API",\r
"comments": "",\r
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
"outputs": 1,\r
- "x": 450.2856903076172,\r
- "y": 165.23810863494873,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 431.2856903076172,\r
+ "y": 168.23810863494873,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "1bdaee71.203ba2"\r
+ "86b46a27.ca39b8"\r
]\r
]\r
},\r
{\r
- "id": "1bdaee71.203ba2",\r
+ "id": "86b46a27.ca39b8",\r
"type": "method",\r
"name": "method cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
"xml": "<method rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 405.4285888671875,\r
- "y": 257.0000305175781,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 386.4285888671875,\r
+ "y": 260.0000305175781,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "64d5e785.7466f8"\r
+ "15886f7b.32e089"\r
]\r
]\r
},\r
{\r
- "id": "64d5e785.7466f8",\r
+ "id": "15886f7b.32e089",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 766.238037109375,\r
- "y": 241.66668701171875,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 747.238037109375,\r
+ "y": 244.66668701171875,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "6207a29a.8617c4",\r
- "191e2efd.9488c1",\r
- "143f0aa4.b75f05"\r
+ "6bd3471b.bd1a98",\r
+ "5dece674.dd027",\r
+ "4d1bc5df.1d031c"\r
]\r
]\r
},\r
{\r
- "id": "6207a29a.8617c4",\r
+ "id": "6bd3471b.bd1a98",\r
"type": "save",\r
"name": "get all-connectivities from aai",\r
"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-root-all-connectivities\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 251,\r
- "y": 427,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 232,\r
+ "y": 430,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "bcd679ba.f0004",\r
- "3b7a7b5.0230884",\r
- "64bbf1e2.e99a8"\r
+ "92e14f80.21594",\r
+ "b9796c74.99212",\r
+ "e5bd0a99.00585"\r
]\r
]\r
},\r
{\r
- "id": "bcd679ba.f0004",\r
+ "id": "92e14f80.21594",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 495,\r
- "y": 387,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 476,\r
+ "y": 390,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "34630da2.df03e2"\r
+ "61e9ae11.23c3a8"\r
]\r
]\r
},\r
{\r
- "id": "3b7a7b5.0230884",\r
+ "id": "b9796c74.99212",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 492.490966796875,\r
- "y": 436.57403564453125,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 473.490966796875,\r
+ "y": 439.57403564453125,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "ddd603c0.1c692"\r
+ "cd38df9d.37406"\r
]\r
]\r
},\r
{\r
- "id": "64bbf1e2.e99a8",\r
+ "id": "e5bd0a99.00585",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 490,\r
- "y": 479,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 471,\r
+ "y": 482,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "16afb1e9.98dc26"\r
+ "62703aa0.44322c"\r
]\r
]\r
},\r
{\r
- "id": "34630da2.df03e2",\r
+ "id": "61e9ae11.23c3a8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 643,\r
- "y": 388,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 624,\r
+ "y": 391,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "55ecd83e.15a1d"\r
+ "ca24c19f.cdc85"\r
]\r
]\r
},\r
{\r
- "id": "ddd603c0.1c692",\r
+ "id": "cd38df9d.37406",\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": 642.0623779296875,\r
- "y": 436.8597717285156,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 623.0623779296875,\r
+ "y": 439.8597717285156,\r
+ "z": "2d4ea144.5587f6",\r
"wires": []\r
},\r
{\r
- "id": "16afb1e9.98dc26",\r
+ "id": "62703aa0.44322c",\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": 641,\r
- "y": 476,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 622,\r
+ "y": 479,\r
+ "z": "2d4ea144.5587f6",\r
"wires": []\r
},\r
{\r
- "id": "55ecd83e.15a1d",\r
+ "id": "ca24c19f.cdc85",\r
"type": "for",\r
"name": "for helprconnidx in all-connectivities",\r
"xml": "<for index='helprconnidx' start='0' end='`$tmp.aai.helper-root-all-connectivities.connectivity_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 890,\r
- "y": 383,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 871,\r
+ "y": 386,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "fc22cf6b.f0c7c"\r
+ "380582c8.7d331e"\r
]\r
]\r
},\r
{\r
- "id": "fc22cf6b.f0c7c",\r
+ "id": "380582c8.7d331e",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1137,\r
- "y": 389,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 1118,\r
+ "y": 392,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "c4afc0a8.ad7c88"\r
+ "174c6173.8ff53f"\r
]\r
]\r
},\r
{\r
- "id": "c4afc0a8.ad7c88",\r
+ "id": "206a627e.5c0d46",\r
"type": "switchNode",\r
"name": "switch color-aware is ROOT?",\r
"xml": "\n<switch test=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].color-aware == $tmp.ROOT.uni-p-interface-long`\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 331,\r
- "y": 638,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 312,\r
+ "y": 641,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "904750de.971a4"\r
+ "463cdf78.946e4"\r
]\r
]\r
},\r
{\r
- "id": "904750de.971a4",\r
+ "id": "463cdf78.946e4",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 540,\r
- "y": 632,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 521,\r
+ "y": 635,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "383b6bb8.2c2de4"\r
+ "65cbe881.f7d1b"\r
]\r
]\r
},\r
{\r
- "id": "383b6bb8.2c2de4",\r
+ "id": "65cbe881.f7d1b",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 697,\r
- "y": 632,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 678,\r
+ "y": 635,\r
+ "z": "2d4ea144.5587f6",\r
"wires": [\r
[\r
- "b4d77263.4231a8",\r
- "16085fc0.8f0cc",\r
- "5d3bf45c.2ebcf4"\r
+ "ba048fa4.246cf8",\r
+ "34ebbdc4.bca6fa",\r
+ "3a84227a.7da866"\r
]\r
]\r
},\r
{\r
- "id": "191e2efd.9488c1",\r
+ "id": "5dece674.dd027",\r
"type": "set",\r
"name": "unset found-root-connectivity",\r
"xml": "<set>\n<parameter name='found-root-connectivity' value=\"false\" />\n",\r
"comments": "",\r
- "x": 1009,\r
- "y": 156,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 990,\r
+ "y": 159,\r
+ "z": "2d4ea144.5587f6",\r
"wires": []\r
},\r
{\r
- "id": "b4d77263.4231a8",\r
+ "id": "ba048fa4.246cf8",\r
"type": "set",\r
"name": "set found-root-connectivity=true",\r
"xml": "<set>\n<parameter name='found-root-connectivity' value=\"true\" />\n",\r
"comments": "",\r
- "x": 958,\r
- "y": 580,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 939,\r
+ "y": 583,\r
+ "z": "2d4ea144.5587f6",\r
"wires": []\r
},\r
{\r
- "id": "16085fc0.8f0cc",\r
+ "id": "34ebbdc4.bca6fa",\r
"type": "set",\r
"name": "set tmp.aai.ROOT.connectivity.",\r
"xml": "<set>\n<parameter name='tmp.aai.ROOT.connectivity.' value=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].`\" />\n",\r
"comments": "",\r
- "x": 961,\r
- "y": 633,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 942,\r
+ "y": 636,\r
+ "z": "2d4ea144.5587f6",\r
"wires": []\r
},\r
{\r
- "id": "143f0aa4.b75f05",\r
+ "id": "4d1bc5df.1d031c",\r
"type": "set",\r
"name": "unset tmp.aai.ROOT.connectivity.",\r
"xml": "<set>\n<parameter name='tmp.aai.ROOT.connectivity.' value=\"\" />\n",\r
"comments": "",\r
- "x": 1027,\r
- "y": 200,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 1008,\r
+ "y": 203,\r
+ "z": "2d4ea144.5587f6",\r
"wires": []\r
},\r
{\r
- "id": "5d3bf45c.2ebcf4",\r
+ "id": "3a84227a.7da866",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 889,\r
- "y": 696,\r
- "z": "21b7f471.47c7cc",\r
+ "x": 870,\r
+ "y": 699,\r
+ "z": "2d4ea144.5587f6",\r
"wires": []\r
+ },\r
+ {\r
+ "id": "174c6173.8ff53f",\r
+ "type": "switchNode",\r
+ "name": "switch conn type",\r
+ "xml": "<switch test=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].vpn-type`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 923.88330078125,\r
+ "y": 480.88330078125,\r
+ "z": "2d4ea144.5587f6",\r
+ "wires": [\r
+ [\r
+ "466114cf.ced6ec"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "466114cf.ced6ec",\r
+ "type": "outcome",\r
+ "name": "root",\r
+ "xml": "<outcome value='root'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1083.88330078125,\r
+ "y": 482.8833312988281,\r
+ "z": "2d4ea144.5587f6",\r
+ "wires": [\r
+ [\r
+ "64ce81d.c0f0f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "64ce81d.c0f0f",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1226.88330078125,\r
+ "y": 484.8833312988281,\r
+ "z": "2d4ea144.5587f6",\r
+ "wires": [\r
+ [\r
+ "206a627e.5c0d46"\r
+ ]\r
+ ]\r
}\r
]
\ No newline at end of file