aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-ROOT-conn.json
diff options
context:
space:
mode:
authorHesam Rahimi <hesam.rahimi@huawei.com>2021-08-27 20:57:41 +0000
committerHesam Rahimi <hesam.rahimi@huawei.com>2021-08-27 21:10:17 +0000
commitb47cff931a6f33275b3b85f456b0236bb76f0be8 (patch)
tree3436505f761213b95547a0b5e4d8bb98d563a424 /platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-ROOT-conn.json
parent00960a3b25697ef06cdfd7534944f7e2cc2e6d06 (diff)
New DGs required for creation of a cloud leased-line (E-TREE) service.
Issue-ID: SDNC-1594 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I23e2008c497289c20415f012a77aa4478e7c0815 Former-commit-id: 748b1c0d2e20f88c327673fe3bc32d3d50e5e12b
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-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-ROOT-conn.json311
1 files changed, 311 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-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-ROOT-conn.json
new file mode 100644
index 00000000..0a7ce271
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-ROOT-conn.json
@@ -0,0 +1,311 @@
+[
+ {
+ "id": "c33d6496.da3878",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 166,
+ "y": 104,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "248cabde.5d765c"
+ ]
+ ]
+ },
+ {
+ "id": "248cabde.5d765c",
+ "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": 450.2856903076172,
+ "y": 165.23810863494873,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "1bdaee71.203ba2"
+ ]
+ ]
+ },
+ {
+ "id": "1bdaee71.203ba2",
+ "type": "method",
+ "name": "method cll-vnf-topology-operation-cll-helper-find-ROOT-conn",
+ "xml": "<method rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 405.4285888671875,
+ "y": 257.0000305175781,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "64d5e785.7466f8"
+ ]
+ ]
+ },
+ {
+ "id": "64d5e785.7466f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 766.238037109375,
+ "y": 241.66668701171875,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "6207a29a.8617c4",
+ "191e2efd.9488c1",
+ "143f0aa4.b75f05"
+ ]
+ ]
+ },
+ {
+ "id": "6207a29a.8617c4",
+ "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-root-all-connectivities\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 251,
+ "y": 427,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "bcd679ba.f0004",
+ "3b7a7b5.0230884",
+ "64bbf1e2.e99a8"
+ ]
+ ]
+ },
+ {
+ "id": "bcd679ba.f0004",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 495,
+ "y": 387,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "34630da2.df03e2"
+ ]
+ ]
+ },
+ {
+ "id": "3b7a7b5.0230884",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 492.490966796875,
+ "y": 436.57403564453125,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "ddd603c0.1c692"
+ ]
+ ]
+ },
+ {
+ "id": "64bbf1e2.e99a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 490,
+ "y": 479,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "16afb1e9.98dc26"
+ ]
+ ]
+ },
+ {
+ "id": "34630da2.df03e2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 643,
+ "y": 388,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "55ecd83e.15a1d"
+ ]
+ ]
+ },
+ {
+ "id": "ddd603c0.1c692",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 642.0623779296875,
+ "y": 436.8597717285156,
+ "z": "21b7f471.47c7cc",
+ "wires": []
+ },
+ {
+ "id": "16afb1e9.98dc26",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 641,
+ "y": 476,
+ "z": "21b7f471.47c7cc",
+ "wires": []
+ },
+ {
+ "id": "55ecd83e.15a1d",
+ "type": "for",
+ "name": "for helprconnidx in all-connectivities",
+ "xml": "<for index='helprconnidx' start='0' end='`$tmp.aai.helper-root-all-connectivities.connectivity_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 890,
+ "y": 383,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "fc22cf6b.f0c7c"
+ ]
+ ]
+ },
+ {
+ "id": "fc22cf6b.f0c7c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1137,
+ "y": 389,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "c4afc0a8.ad7c88"
+ ]
+ ]
+ },
+ {
+ "id": "c4afc0a8.ad7c88",
+ "type": "switchNode",
+ "name": "switch color-aware is ROOT?",
+ "xml": "\n<switch test=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].color-aware == $tmp.ROOT.uni-p-interface-long`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 331,
+ "y": 638,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "904750de.971a4"
+ ]
+ ]
+ },
+ {
+ "id": "904750de.971a4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 540,
+ "y": 632,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "383b6bb8.2c2de4"
+ ]
+ ]
+ },
+ {
+ "id": "383b6bb8.2c2de4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 697,
+ "y": 632,
+ "z": "21b7f471.47c7cc",
+ "wires": [
+ [
+ "b4d77263.4231a8",
+ "16085fc0.8f0cc",
+ "5d3bf45c.2ebcf4"
+ ]
+ ]
+ },
+ {
+ "id": "191e2efd.9488c1",
+ "type": "set",
+ "name": "unset found-root-connectivity",
+ "xml": "<set>\n<parameter name='found-root-connectivity' value=\"false\" />\n",
+ "comments": "",
+ "x": 1009,
+ "y": 156,
+ "z": "21b7f471.47c7cc",
+ "wires": []
+ },
+ {
+ "id": "b4d77263.4231a8",
+ "type": "set",
+ "name": "set found-root-connectivity=true",
+ "xml": "<set>\n<parameter name='found-root-connectivity' value=\"true\" />\n",
+ "comments": "",
+ "x": 958,
+ "y": 580,
+ "z": "21b7f471.47c7cc",
+ "wires": []
+ },
+ {
+ "id": "16085fc0.8f0cc",
+ "type": "set",
+ "name": "set tmp.aai.ROOT.connectivity.",
+ "xml": "<set>\n<parameter name='tmp.aai.ROOT.connectivity.' value=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].`\" />\n",
+ "comments": "",
+ "x": 961,
+ "y": 633,
+ "z": "21b7f471.47c7cc",
+ "wires": []
+ },
+ {
+ "id": "143f0aa4.b75f05",
+ "type": "set",
+ "name": "unset tmp.aai.ROOT.connectivity.",
+ "xml": "<set>\n<parameter name='tmp.aai.ROOT.connectivity.' value=\"\" />\n",
+ "comments": "",
+ "x": 1027,
+ "y": 200,
+ "z": "21b7f471.47c7cc",
+ "wires": []
+ },
+ {
+ "id": "5d3bf45c.2ebcf4",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 889,
+ "y": 696,
+ "z": "21b7f471.47c7cc",
+ "wires": []
+ }
+] \ No newline at end of file