aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHesam Rahimi <hesam.rahimi@huawei.com>2021-09-07 18:01:05 -0400
committerHesam Rahimi <hesam.rahimi@huawei.com>2021-09-07 18:02:01 -0400
commitf218265ea2889432eb1f0d1092b004247e839c3e (patch)
treeb65fb42c50f3ccd36274174d18971e3c87f655e2
parentb47cff931a6f33275b3b85f456b0236bb76f0be8 (diff)
New DGs required for deletion and bandwidth modification of a given cloud leased-line (E-TREE) service.
Issue-ID: SDNC-1594 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I0b6f2e32ddb103ca7ac053a80461980cfe10aab2 Former-commit-id: 926d912ec35ecd30f5f1c32ca91da2758b018223
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json1200
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json1854
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json1099
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json1627
-rwxr-xr-xplatform-logic/generic-resource-api/src/main/resources/graph.versions2
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.xml2
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml255
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.xml282
8 files changed, 4793 insertions, 1528 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json
index 6735690a..a7a42491 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json
@@ -1,20 +1,20 @@
[
{
- "id": "52dc3c1b.333a2c",
+ "id": "b08c1973.bd8c78",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 186,
+ "x": 134,
"y": 176.98507690429688,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "e697dcf2.06a8d8"
+ "d83ad958.6c1c98"
]
]
},
{
- "id": "e697dcf2.06a8d8",
+ "id": "d83ad958.6c1c98",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,2299 +22,2299 @@
"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": 269.28570556640625,
+ "x": 217.28570556640625,
"y": 238.22317504882812,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "97a4dbab.0d758"
+ "eca6c412.0a16f8"
]
]
},
{
- "id": "97a4dbab.0d758",
+ "id": "eca6c412.0a16f8",
"type": "method",
"name": "method vnf-topology-operation",
"xml": "<method rpc='vnf-topology-operation' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 261.42862701416016,
+ "x": 209.42862701416016,
"y": 300.985071182251,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "8972b0a6.363668"
+ "2cdcc77d.f46f8"
]
]
},
{
- "id": "274edea2.7a5922",
+ "id": "61311116.dbf858",
"type": "comment",
"name": "vnf-topology-operation",
"info": "",
"comments": "",
- "x": 585.9162979125977,
+ "x": 533.9162979125977,
"y": 20,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": []
},
{
- "id": "8972b0a6.363668",
+ "id": "2cdcc77d.f46f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 285.16676330566406,
+ "x": 233.16676330566406,
"y": 630.6785974502563,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "133a6775.01f0f9",
- "1733dfef.3f49f",
- "705b4f8a.a36358"
+ "6710a9d8.fb4678",
+ "7a9dbdb8.f73dbc",
+ "5ab36ad7.13cd3c"
]
]
},
{
- "id": "133a6775.01f0f9",
+ "id": "6710a9d8.fb4678",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
"comments": "",
- "x": 577.6667175292969,
+ "x": 525.6667175292969,
"y": 785.8426303863525,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": []
},
{
- "id": "1733dfef.3f49f",
+ "id": "7a9dbdb8.f73dbc",
"type": "switchNode",
"name": "switch svc-action",
"xml": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 580.5714340209961,
+ "x": 528.5714340209961,
"y": 628.8898410797119,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "da76de1f.233328",
- "cbb0455b.e639d8",
- "79d670d9.ee597",
- "c020b812.23b0c8",
- "a7a77904.83da78",
- "7f804bc8.db579c",
- "55544e54.3dfca",
- "b1e9d3b7.9a8aa8"
+ "412783d9.4fcccc",
+ "6a9050cd.10a51",
+ "b83d4104.597cb8",
+ "1e6c2684.62c321",
+ "6626bd7a.c146c4",
+ "7b0f6af8.40b7bc",
+ "53710100.c12778",
+ "57af1ec9.801de"
]
]
},
{
- "id": "da76de1f.233328",
+ "id": "412783d9.4fcccc",
"type": "outcome",
"name": "assign",
"xml": "<outcome value='assign'>\n",
"comments": "",
"outputs": 1,
- "x": 915.3809814453125,
+ "x": 863.3809814453125,
"y": 456.5089511871338,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "c4cc184d.0ea4c8"
+ "f9b5402f.69fe3"
]
]
},
{
- "id": "cbb0455b.e639d8",
+ "id": "6a9050cd.10a51",
"type": "outcome",
"name": "unassign",
"xml": "<outcome value='unassign'>\n",
"comments": "",
"outputs": 1,
- "x": 977.4287996292114,
+ "x": 925.4287996292114,
"y": 1428.6997060775757,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "62d61b12.b4200c"
+ "79d300bc.c994d"
]
]
},
{
- "id": "c020b812.23b0c8",
+ "id": "1e6c2684.62c321",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 956.14306640625,
+ "x": 904.14306640625,
"y": 2671.889892578125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "ca1347e2.135d68"
+ "38f01e6e.33d09a"
]
]
},
{
- "id": "ca1347e2.135d68",
+ "id": "38f01e6e.33d09a",
"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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
"comments": "",
- "x": 1179.33349609375,
+ "x": 1127.33349609375,
"y": 2670.889892578125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": []
},
{
- "id": "705b4f8a.a36358",
+ "id": "5ab36ad7.13cd3c",
"type": "call",
"name": "call GENERIC-RESOURCE-API:validate-vnf-input",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-vnf-input' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 686.4166870117188,
+ "x": 634.4166870117188,
"y": 381.3661289215088,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "9613c4e1.d7a7b8",
+ "id": "292bf52f.acc74a",
"type": "call",
"name": "call GENERIC-RESOURCE-API:vnf-topology-operation-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1781.1906127929688,
+ "x": 1729.1906127929688,
"y": 1360.7470703125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "62d61b12.b4200c",
+ "id": "79d300bc.c994d",
"type": "call",
"name": "call GENERIC-RESOURCE-API:vnf-topology-operation-unassign",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-unassign' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1343.1905822753906,
+ "x": 1291.1905822753906,
"y": 1450.0805206298828,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "79d670d9.ee597",
+ "id": "b83d4104.597cb8",
"type": "outcome",
"name": "deactivate",
"xml": "<outcome value='deactivate'>\n",
"comments": "",
"outputs": 1,
- "x": 960.5238800048828,
+ "x": 908.5238800048828,
"y": 965.080415725708,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "2d9f94b0.2d01c4"
+ "17da8571.b1fae3"
]
]
},
{
- "id": "8e0f98d1.9dab98",
+ "id": "9b084f19.ecf398",
"type": "call",
"name": "call GENERIC-RESOURCE-API:vnf-topology-operation-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-activate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1763.0001525878906,
+ "x": 1711.0001525878906,
"y": 863.9850616455078,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "a7a77904.83da78",
+ "id": "6626bd7a.c146c4",
"type": "outcome",
"name": "activate",
"xml": "<outcome value='activate'>\n",
"comments": "",
"outputs": 1,
- "x": 923.3333129882812,
+ "x": 871.3333129882812,
"y": 626.6517143249512,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "40e38762.7c1048"
+ "ae63c627.07a6c"
]
]
},
{
- "id": "7f804bc8.db579c",
+ "id": "7b0f6af8.40b7bc",
"type": "outcome",
"name": "create",
"xml": "<outcome value='create'>\n",
"comments": "",
"outputs": 1,
- "x": 979.0002298355103,
+ "x": 927.0002298355103,
"y": 1561.0713729858398,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "88f36a7a.1ee2b8"
+ "1775829a.de531d"
]
]
},
{
- "id": "55544e54.3dfca",
+ "id": "53710100.c12778",
"type": "outcome",
"name": "delete",
"xml": "<outcome value='delete'>\n",
"comments": "",
"outputs": 1,
- "x": 983.000244140625,
+ "x": 931.000244140625,
"y": 1791.0714111328125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "68be57a6.5cb2c8"
+ "94f4a23a.42a478"
]
]
},
{
- "id": "ad146a6b.6c96c",
+ "id": "53540352.f9f68c",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 1165.0000839233398,
+ "x": 1113.0000839233398,
"y": 682.0713911056519,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "6b8c0ccc.46f2dc",
- "c1bcad35.fa989",
- "7ab24aab.320da4",
- "63108138.d2fb18",
- "7c6d49f7.ca9348",
- "4b606c40.f0bafc",
- "12ca0f74.920081",
- "36852303.31db6c"
+ "830ef633.1c44f",
+ "8133e2a6.f1e028",
+ "fab9d42f.05c56",
+ "f6de8c92.cb4738",
+ "abcf39b8.600f48",
+ "5d35e97c.a576b8",
+ "355cf522.240062",
+ "a13fab75.8b6a8"
]
]
},
{
- "id": "c1bcad35.fa989",
+ "id": "8133e2a6.f1e028",
"type": "outcome",
"name": "ActivateSiteInstance",
"xml": "<outcome value='ActivateSiteInstance'>",
"comments": "",
"outputs": 1,
- "x": 1425.4763259887695,
+ "x": 1373.4763259887695,
"y": 503.5506420135498,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "70c5bbde.1c192c"
+ "d48ed7ad.9b4ad8"
]
]
},
{
- "id": "6b8c0ccc.46f2dc",
+ "id": "830ef633.1c44f",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1395.0476989746094,
+ "x": 1343.0476989746094,
"y": 866.5953521728516,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "8e0f98d1.9dab98"
+ "9b084f19.ecf398"
]
]
},
{
- "id": "40e38762.7c1048",
+ "id": "ae63c627.07a6c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1104.0000839233398,
+ "x": 1052.0000839233398,
"y": 627.0713911056519,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "ad146a6b.6c96c"
+ "53540352.f9f68c"
]
]
},
{
- "id": "70c5bbde.1c192c",
+ "id": "d48ed7ad.9b4ad8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:site-vnf-topology-operation-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='site-vnf-topology-operation-activate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1792.000129699707,
+ "x": 1740.000129699707,
"y": 506.07142448425293,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "5f642913.4416d8",
+ "id": "7d4fc284.339294",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 1223.0001983642578,
+ "x": 1171.0001983642578,
"y": 998.071382522583,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "14652ead.0b4c09",
- "ff1c0dca.9a64e8",
- "1113a32e.88f275",
- "ffa9b2e3.752a98",
- "35e1c8a9.0a4a7",
- "6a9567cd.770ff",
- "8df0deb7.6b34f",
- "a64eaaf7.f8cc3"
+ "8d1fbb57.7b08b8",
+ "d0de6fd0.3c6ef",
+ "f08abf9c.96df58",
+ "663a6cd3.2064fc",
+ "90aad856.e82ec",
+ "526d564d.6c7ab8",
+ "5320aa0b.41e79c",
+ "4ef56ab7.3c11bc"
]
]
},
{
- "id": "ff1c0dca.9a64e8",
+ "id": "d0de6fd0.3c6ef",
"type": "outcome",
"name": "DeactivateSiteInstance",
"xml": "<outcome value='DeactivateSiteInstance'>",
"comments": "",
"outputs": 1,
- "x": 1466.4763946533203,
+ "x": 1414.4763946533203,
"y": 949.5506310462952,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "70ecad3d.c05e0c"
+ "2f9c149a.c3374c"
]
]
},
{
- "id": "14652ead.0b4c09",
+ "id": "8d1fbb57.7b08b8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1418.0477294921875,
+ "x": 1366.0477294921875,
"y": 1359.5953369140625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "9613c4e1.d7a7b8"
+ "292bf52f.acc74a"
]
]
},
{
- "id": "2d9f94b0.2d01c4",
+ "id": "17da8571.b1fae3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1162.0001983642578,
+ "x": 1110.0001983642578,
"y": 943.071382522583,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "5f642913.4416d8"
+ "7d4fc284.339294"
]
]
},
{
- "id": "70ecad3d.c05e0c",
+ "id": "2f9c149a.c3374c",
"type": "call",
"name": "call GENERIC-RESOURCE-API:site-vnf-topology-operation-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='site-vnf-topology-operation-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1836.0001983642578,
+ "x": 1784.0001983642578,
"y": 947.0714135169983,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "a7fdb14.12230d",
+ "id": "3d9634f2.31397c",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 1177.333625793457,
+ "x": 1125.333625793457,
"y": 1647.6576824188232,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "5e28eb9d.e104a4",
- "fd38b62c.0bb678",
- "8e28a5cc.ac0e2",
- "1476fb1f.a6cbf5",
- "61a9db30.fa159c",
- "d9d4b57b.7f4fb",
- "aaada9e2.ef729",
- "e2b0912f.196d98",
- "41d994a4.c5eae4",
- "d030a525.70e9c8",
- "1fc4171d.33b849"
+ "45509d7.9afd7e4",
+ "bf292062.fb78e8",
+ "45a589e.cc88978",
+ "d9c9e5e2.12e7a",
+ "1cfc10cf.b254e7",
+ "a5526b64.cac2a8",
+ "c16e5fd0.4aa518",
+ "a5f0eabe.3a6b08",
+ "a8151edb.23d33",
+ "64592d67.04ac4c",
+ "f3be14bf.832d98"
]
]
},
{
- "id": "fd38b62c.0bb678",
+ "id": "bf292062.fb78e8",
"type": "outcome",
"name": "CreateSiteInstance",
"xml": "<outcome value='CreateSiteInstance'>",
"comments": "",
"outputs": 1,
- "x": 1438.81005859375,
+ "x": 1386.81005859375,
"y": 1564.136962890625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "3d2b2583.58957a"
+ "f81999eb.513cd"
]
]
},
{
- "id": "5e28eb9d.e104a4",
+ "id": "45509d7.9afd7e4",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1412.381103515625,
+ "x": 1360.381103515625,
"y": 1971.1815185546875,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "f1797bb7.25ea88"
+ "a6e272a7.82dea8"
]
]
},
{
- "id": "88f36a7a.1ee2b8",
+ "id": "1775829a.de531d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1161.3337144851685,
+ "x": 1109.3337144851685,
"y": 1558.6577405929565,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "a7fdb14.12230d"
+ "3d9634f2.31397c"
]
]
},
{
- "id": "3d2b2583.58957a",
+ "id": "f81999eb.513cd",
"type": "call",
"name": "call GENERIC-RESOURCE-API:site-vnf-topology-operation-create",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='site-vnf-topology-operation-create' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1815.3337631225586,
+ "x": 1763.3337631225586,
"y": 1562.6577215194702,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "f1797bb7.25ea88",
+ "id": "a6e272a7.82dea8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1552.6666793823242,
+ "x": 1500.6666793823242,
"y": 1972.2379417419434,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "f6846bd6.20577",
+ "id": "82c12186.fb57c",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 1218.000244140625,
+ "x": 1166.000244140625,
"y": 2199.5714111328125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "fddd842c.27cd2",
- "2010d2f3.2af6c6",
- "2a1eda3b.cd6aa6",
- "5b300353.bbdcb4",
- "4c1ecd80.d07da4",
- "55b8d324.626f94",
- "c0084269.158748",
- "165f464d.107712",
- "b8d302e7.884668",
- "783b5217.1ea664",
- "845ca1dd.f3e83"
+ "c42a65f2.64dd58",
+ "88bc78af.c24ec8",
+ "f4835f3c.ebeff8",
+ "de1e7ee9.a17d5",
+ "2af016ea.40090a",
+ "1b9cba31.af7646",
+ "80f48140.69e83",
+ "4e6b5678.bbdd1",
+ "3b3f08be.c8d408",
+ "d01c50be.bd5f1",
+ "8b6f13e8.5b3d98"
]
]
},
{
- "id": "2010d2f3.2af6c6",
+ "id": "88bc78af.c24ec8",
"type": "outcome",
"name": "DeleteSiteInstance",
"xml": "<outcome value='DeleteSiteInstance'>",
"comments": "",
"outputs": 1,
- "x": 1458.476463317871,
+ "x": 1406.476463317871,
"y": 2145.050654888153,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "8505b17f.bd79f8"
+ "cbc014db.1fae78"
]
]
},
{
- "id": "fddd842c.27cd2",
+ "id": "c42a65f2.64dd58",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1419.38134765625,
+ "x": 1367.38134765625,
"y": 2550.095703125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "3f77d84b.50975"
+ "17f7c03b.44ae2"
]
]
},
{
- "id": "68be57a6.5cb2c8",
+ "id": "94f4a23a.42a478",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1157.000244140625,
+ "x": 1105.000244140625,
"y": 2144.5714111328125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "f6846bd6.20577"
+ "82c12186.fb57c"
]
]
},
{
- "id": "8505b17f.bd79f8",
+ "id": "cbc014db.1fae78",
"type": "call",
"name": "call GENERIC-RESOURCE-API:site-vnf-topology-operation-delete",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='site-vnf-topology-operation-delete' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1831.0002670288086,
+ "x": 1779.0002670288086,
"y": 2142.571406841278,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "3f77d84b.50975",
+ "id": "17f7c03b.44ae2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1558.6668701171875,
+ "x": 1506.6668701171875,
"y": 2543.818603515625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "7ab24aab.320da4",
+ "id": "fab9d42f.05c56",
"type": "outcome",
"name": "ActivateSDWANDeviceInstance",
"xml": "<outcome value='ActivateSDWANDeviceInstance'>",
"comments": "",
"outputs": 1,
- "x": 1456.6667556762695,
+ "x": 1404.6667556762695,
"y": 554.571455001831,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "1e393b2d.a12e0d"
+ "1e493cd.c332843"
]
]
},
{
- "id": "1e393b2d.a12e0d",
+ "id": "1e493cd.c332843",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-device-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-device-activate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1896.1904373168945,
+ "x": 1844.1904373168945,
"y": 553.092206954956,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "1113a32e.88f275",
+ "id": "f08abf9c.96df58",
"type": "outcome",
"name": "DeactivateSDWANDeviceInstance",
"xml": "<outcome value='DeactivateSDWANDeviceInstance'>",
"comments": "",
"outputs": 1,
- "x": 1507.666633605957,
+ "x": 1455.666633605957,
"y": 997.571409702301,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "3cc29616.1d8c6a"
+ "280441a7.7fbcc6"
]
]
},
{
- "id": "3cc29616.1d8c6a",
+ "id": "280441a7.7fbcc6",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-device-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-device-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1964.190330505371,
+ "x": 1912.190330505371,
"y": 997.0922451019287,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "919673a0.a6ef98",
+ "id": "ea4765a1.b2c99",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-wanport-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-wanport-activate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1893.666633605957,
+ "x": 1841.666633605957,
"y": 593.5713939666748,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "63108138.d2fb18",
+ "id": "f6de8c92.cb4738",
"type": "outcome",
"name": "ActivateSDWANPortInstance",
"xml": "<outcome value='ActivateSDWANPortInstance'>",
"comments": "",
"outputs": 1,
- "x": 1450.142951965332,
+ "x": 1398.142951965332,
"y": 601.0506114959717,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "919673a0.a6ef98"
+ "ea4765a1.b2c99"
]
]
},
{
- "id": "ffa9b2e3.752a98",
+ "id": "663a6cd3.2064fc",
"type": "outcome",
"name": "DeactivateSDWANPortInstance",
"xml": "<outcome value='DeactivateSDWANPortInstance'>",
"comments": "",
"outputs": 1,
- "x": 1499.6666793823242,
+ "x": 1447.6666793823242,
"y": 1035.904725074768,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "fe8e579c.e86c28"
+ "a0baa1f7.53a8d8"
]
]
},
{
- "id": "fe8e579c.e86c28",
+ "id": "a0baa1f7.53a8d8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-wanport-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-wanport-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1974.190330505371,
+ "x": 1922.190330505371,
"y": 1052.4255270957947,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "8e28a5cc.ac0e2",
+ "id": "45a589e.cc88978",
"type": "outcome",
"name": "CreateSDWANPortInstance",
"xml": "<outcome value='CreateSDWANPortInstance'>",
"comments": "",
"outputs": 1,
- "x": 1488.6669540405273,
+ "x": 1436.6669540405273,
"y": 1652.9047973155975,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "a44616aa.573d08"
+ "6778b9ee.08bfb"
]
]
},
{
- "id": "a44616aa.573d08",
+ "id": "6778b9ee.08bfb",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-wanport-create",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-wanport-create' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1945.190574645996,
+ "x": 1893.190574645996,
"y": 1657.4255766868591,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "2a1eda3b.cd6aa6",
+ "id": "f4835f3c.ebeff8",
"type": "outcome",
"name": "DeleteSDWANPortInstance",
"xml": "<outcome value='DeleteSDWANPortInstance'>",
"comments": "",
"outputs": 1,
- "x": 1494.333480834961,
+ "x": 1442.333480834961,
"y": 2255.9047994613647,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "5ed4255a.698824"
+ "6d4e9ab7.c9a55c"
]
]
},
{
- "id": "5ed4255a.698824",
+ "id": "6d4e9ab7.c9a55c",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-wanport-delete",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-wanport-delete' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1920.8572006225586,
+ "x": 1868.8572006225586,
"y": 2255.425654888153,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "5b300353.bbdcb4",
+ "id": "de1e7ee9.a17d5",
"type": "outcome",
"name": "DeleteSDWANDeviceInstance",
"xml": "<outcome value='DeleteSDWANDeviceInstance'>",
"comments": "",
"outputs": 1,
- "x": 1503.0316314697266,
+ "x": 1451.0316314697266,
"y": 2196.1027059555054,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "c8b7ddea.37977"
+ "53c44f9f.dfe07"
]
]
},
{
- "id": "c8b7ddea.37977",
+ "id": "53c44f9f.dfe07",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-device-delete",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-device-delete' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1935.5552368164062,
+ "x": 1883.5552368164062,
"y": 2195.6234192848206,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "1476fb1f.a6cbf5",
+ "id": "d9c9e5e2.12e7a",
"type": "outcome",
"name": "CreateSDWANDeviceInstance",
"xml": "<outcome value='CreateSDWANDeviceInstance'>",
"comments": "",
"outputs": 1,
- "x": 1504.0313034057617,
+ "x": 1452.0313034057617,
"y": 1609.1027607917786,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "61d26564.628b74"
+ "74d3246f.3fcfb4"
]
]
},
{
- "id": "61d26564.628b74",
+ "id": "74d3246f.3fcfb4",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-device-create",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-device-create' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1960.5549697875977,
+ "x": 1908.5549697875977,
"y": 1607.6235747337341,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "7c6d49f7.ca9348",
+ "id": "abcf39b8.600f48",
"type": "outcome",
"name": "ActivateSDWANVpnInstance",
"xml": "<outcome value='ActivateSDWANVpnInstance'>",
"comments": "",
"outputs": 1,
- "x": 1459.2961730957031,
+ "x": 1407.2961730957031,
"y": 641.8151397705078,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "eaa1b9cf.3f0ac8"
+ "8d92316e.8b3c4"
]
]
},
{
- "id": "4b606c40.f0bafc",
+ "id": "5d35e97c.a576b8",
"type": "outcome",
"name": "ActivateSDWANSiteInstance",
"xml": "<outcome value='ActivateSDWANSiteInstance'>",
"comments": "",
"outputs": 1,
- "x": 1463.2961730957031,
+ "x": 1411.2961730957031,
"y": 684.4815826416016,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "eaa1b9cf.3f0ac8"
+ "8d92316e.8b3c4"
]
]
},
{
- "id": "eaa1b9cf.3f0ac8",
+ "id": "8d92316e.8b3c4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1734.2961654663086,
+ "x": 1682.2961654663086,
"y": 662.4816343784332,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "c19dccff.f727c"
+ "eb61034d.1bd878"
]
]
},
{
- "id": "c19dccff.f727c",
+ "id": "eb61034d.1bd878",
"type": "call",
"name": "call GENERIC-RESOURCE-API:vnf-topology-operation-vpn-site-resource-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-vpn-site-resource-activate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2112.296012878418,
+ "x": 2060.296012878418,
"y": 659.8152935504913,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "ed482171.811228",
+ "id": "810097d5.df9aa",
"type": "call",
"name": "call GENERIC-RESOURCE-API:vnf-topology-operation-vpn-site-resource-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-vpn-site-resource-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2160.3332138061523,
+ "x": 2108.3332138061523,
"y": 1107.9380941390991,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "abf042f0.4f832",
+ "id": "bc96ce0d.cc2808",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1763.3333053588867,
+ "x": 1711.3333053588867,
"y": 1109.6044387817383,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "ed482171.811228"
+ "810097d5.df9aa"
]
]
},
{
- "id": "6a9567cd.770ff",
+ "id": "526d564d.6c7ab8",
"type": "outcome",
"name": "DeactivateSDWANSiteInstance",
"xml": "<outcome value='DeactivateSDWANSiteInstance'>",
"comments": "",
"outputs": 1,
- "x": 1505.3332901000977,
+ "x": 1453.3332901000977,
"y": 1131.6044034957886,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "abf042f0.4f832"
+ "bc96ce0d.cc2808"
]
]
},
{
- "id": "35e1c8a9.0a4a7",
+ "id": "90aad856.e82ec",
"type": "outcome",
"name": "DeactivateSDWANVpnInstance",
"xml": "<outcome value='DeactivateSDWANVpnInstance'>",
"comments": "",
"outputs": 1,
- "x": 1499.3332595825195,
+ "x": 1447.3332595825195,
"y": 1088.9379558563232,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "abf042f0.4f832"
+ "bc96ce0d.cc2808"
]
]
},
{
- "id": "61a9db30.fa159c",
+ "id": "1cfc10cf.b254e7",
"type": "outcome",
"name": "CreateSDWANVpnInstance",
"xml": "<outcome value='CreateSDWANVpnInstance'>",
"comments": "",
"outputs": 1,
- "x": 1484.8516340255737,
+ "x": 1432.8516340255737,
"y": 1707.5928702354431,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "f07f3c83.550a58"
+ "aa5747c3.8ab7e"
]
]
},
{
- "id": "d9d4b57b.7f4fb",
+ "id": "a5526b64.cac2a8",
"type": "outcome",
"name": "CreateSDWANSiteInstance",
"xml": "<outcome value='CreateSDWANSiteInstance'>",
"comments": "",
"outputs": 1,
- "x": 1476.8516111373901,
+ "x": 1424.8516111373901,
"y": 1749.2592587471008,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "f07f3c83.550a58"
+ "aa5747c3.8ab7e"
]
]
},
{
- "id": "f07f3c83.550a58",
+ "id": "aa5747c3.8ab7e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1734.8516263961792,
+ "x": 1682.8516263961792,
"y": 1727.2592940330505,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "7af344ec.760b9c"
+ "b5e70455.bc2a18"
]
]
},
{
- "id": "7af344ec.760b9c",
+ "id": "b5e70455.bc2a18",
"type": "call",
"name": "call GENERIC-RESOURCE-API:vnf-topology-operation-vpn-site-resource-create",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-vpn-site-resource-create' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2112.8514738082886,
+ "x": 2060.8514738082886,
"y": 1724.5929532051086,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "4c1ecd80.d07da4",
+ "id": "2af016ea.40090a",
"type": "outcome",
"name": "DeleteSDWANVpnInstance",
"xml": "<outcome value='DeleteSDWANVpnInstance'>",
"comments": "",
"outputs": 1,
- "x": 1485.333396911621,
+ "x": 1433.333396911621,
"y": 2302.938106060028,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "c88802d9.f5598"
+ "65bab6f0.c060f"
]
]
},
{
- "id": "55b8d324.626f94",
+ "id": "1b9cba31.af7646",
"type": "outcome",
"name": "DeleteSDWANSiteInstance",
"xml": "<outcome value='DeleteSDWANSiteInstance'>",
"comments": "",
"outputs": 1,
- "x": 1485.333396911621,
+ "x": 1433.333396911621,
"y": 2343.6046710014343,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "c88802d9.f5598"
+ "65bab6f0.c060f"
]
]
},
{
- "id": "c88802d9.f5598",
+ "id": "65bab6f0.c060f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1735.3333892822266,
+ "x": 1683.3333892822266,
"y": 2322.6045298576355,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "5df064c8.71d95c"
+ "704495ca.7a513c"
]
]
},
{
- "id": "5df064c8.71d95c",
+ "id": "704495ca.7a513c",
"type": "call",
"name": "call GENERIC-RESOURCE-API:vnf-topology-operation-vpn-site-resource-delete",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-vpn-site-resource-delete' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2113.333236694336,
+ "x": 2061.333236694336,
"y": 2319.9381890296936,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "2a64d3a1.fda20c",
+ "id": "92c41669.5f10d",
"type": "set",
"name": "set skip-mdsal-update to Y",
"xml": "<set>\n<parameter name='skip-mdsal-update' value='Y' />\n",
"comments": "",
- "x": 2276.0318908691406,
+ "x": 2224.0318908691406,
"y": 347.4920959472656,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": []
},
{
- "id": "aa6afdab.2f8d4",
+ "id": "ce41a68.d7dd358",
"type": "set",
"name": "set ack-final to 'N'",
"xml": "<set>\n<parameter name='ack-final' value='N' />\n",
"comments": "",
- "x": 2247.841583251953,
+ "x": 2195.841583251953,
"y": 411.8401184082031,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": []
},
{
- "id": "cf6e5057.8ccd2",
+ "id": "3fc1e46b.f23b24",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2039.3811340332031,
+ "x": 1987.3811340332031,
"y": 350.4126281738281,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "2a64d3a1.fda20c",
- "aa6afdab.2f8d4"
+ "92c41669.5f10d",
+ "ce41a68.d7dd358"
]
]
},
{
- "id": "4e6c82fa.178adc",
+ "id": "7f50744b.207d6c",
"type": "comment",
"name": "ack-final=N triggers Provider to call vnf-topology-operation-aysnc DG",
"info": "",
"comments": "",
- "x": 2460.158966064453,
+ "x": 2408.158966064453,
"y": 452.8094787597656,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": []
},
{
- "id": "ca591061.3596c",
+ "id": "acee1d1.89fece",
"type": "switchNode",
"name": "so-response-url empty?",
"xml": "<switch test='`length($vnf-topology-operation-input.sdnc-request-header.svc-notification-url) == 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 1145.2857971191406,
+ "x": 1093.2857971191406,
"y": 197.28570556640625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "11bfb1b.1f0f34e",
- "6a6ad95.eb92228"
+ "2f35502b.b7354",
+ "3c60c54d.06499a"
]
]
},
{
- "id": "11bfb1b.1f0f34e",
+ "id": "2f35502b.b7354",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1370.2857971191406,
+ "x": 1318.2857971191406,
"y": 153.28570556640625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "bfe20f1a.ab3dc"
+ "22ca914a.d4e626"
]
]
},
{
- "id": "6a6ad95.eb92228",
+ "id": "3c60c54d.06499a",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1360.2857971191406,
+ "x": 1308.2857971191406,
"y": 245.28570556640625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "8865e5db.82cf58"
+ "43e90e5.f2739f"
]
]
},
{
- "id": "8865e5db.82cf58",
+ "id": "43e90e5.f2739f",
"type": "switchNode",
"name": "so-response-url = ignored URL?",
"xml": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url == $prop.so.ignore-url`'>\n",
"comments": "",
"outputs": 1,
- "x": 1582.2857971191406,
+ "x": 1530.2857971191406,
"y": 246.28570556640625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "43d4d039.c252a8",
- "ef513436.7e0d"
+ "abb99daa.0dec3",
+ "36aee43b.cf39c4"
]
]
},
{
- "id": "bfe20f1a.ab3dc",
+ "id": "22ca914a.d4e626",
"type": "call",
"name": "call vnf-topology-operation-assign-sync",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-assign-sync' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2046.2857971191406,
+ "x": 1994.2857971191406,
"y": 154.28570556640625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "43d4d039.c252a8",
+ "id": "abb99daa.0dec3",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1822.2857971191406,
+ "x": 1770.2857971191406,
"y": 245.28570556640625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "bfe20f1a.ab3dc"
+ "22ca914a.d4e626"
]
]
},
{
- "id": "ef513436.7e0d",
+ "id": "36aee43b.cf39c4",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1830.2857971191406,
+ "x": 1778.2857971191406,
"y": 346.28570556640625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "cf6e5057.8ccd2"
+ "3fc1e46b.f23b24"
]
]
},
{
- "id": "923cd314.7d8bd",
+ "id": "4f5b2bd1.07c3ac",
"type": "execute",
"name": "execute getProperties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 1158.6622619628906,
+ "x": 1106.6622619628906,
"y": 87.54547119140625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "c4cc184d.0ea4c8",
+ "id": "f9b5402f.69fe3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 967.7533264160156,
+ "x": 915.7533264160156,
"y": 85.727294921875,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "ca591061.3596c",
- "923cd314.7d8bd"
+ "acee1d1.89fece",
+ "4f5b2bd1.07c3ac"
]
]
},
{
- "id": "aaada9e2.ef729",
+ "id": "c16e5fd0.4aa518",
"type": "outcome",
"name": "CreateSOTNUnderlayInstance",
"xml": "<outcome value='CreateSOTNUnderlayInstance'>",
"comments": "",
"outputs": 1,
- "x": 1484.6665983200073,
+ "x": 1432.6665983200073,
"y": 1786.999900341034,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "8c22093f.9d959"
+ "1e078eaa.7eade9"
]
]
},
{
- "id": "8c22093f.9d959",
+ "id": "1e078eaa.7eade9",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sotn-vnf-topology-operation-underlay-create",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-vnf-topology-operation-underlay-create' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1941.190218925476,
+ "x": 1889.190218925476,
"y": 1791.5206797122955,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "12ca0f74.920081",
+ "id": "355cf522.240062",
"type": "outcome",
"name": "ActivateSOTNUnderlayInstance",
"xml": "<outcome value='ActivateSOTNUnderlayInstance'>",
"comments": "",
"outputs": 1,
- "x": 1475.9999694824219,
+ "x": 1423.9999694824219,
"y": 723.3332703113556,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "e49875ef.c52be8"
+ "b9aefa7c.a46e1"
]
]
},
{
- "id": "e49875ef.c52be8",
+ "id": "b9aefa7c.a46e1",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sotn-vnf-topology-operation-underlay-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-vnf-topology-operation-underlay-activate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1935.8569641113281,
+ "x": 1883.8569641113281,
"y": 717.8540802001953,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "8df0deb7.6b34f",
+ "id": "5320aa0b.41e79c",
"type": "outcome",
"name": "DeactivateSOTNUnderlayInstance",
"xml": "<outcome value='DeactivateSOTNUnderlayInstance'>",
"comments": "",
"outputs": 1,
- "x": 1507.6666564941406,
+ "x": 1455.6666564941406,
"y": 1167.6665802001953,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "b1ed3246.76087"
+ "d655c6c6.a32328"
]
]
},
{
- "id": "b1ed3246.76087",
+ "id": "d655c6c6.a32328",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sotn-vnf-topology-operation-underlay-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-vnf-topology-operation-underlay-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1975.8569641113281,
+ "x": 1923.8569641113281,
"y": 1170.520523071289,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "c0084269.158748",
+ "id": "80f48140.69e83",
"type": "outcome",
"name": "DeleteSOTNUnderlayInstance",
"xml": "<outcome value='DeleteSOTNUnderlayInstance'>",
"comments": "",
"outputs": 1,
- "x": 1493.6666717529297,
+ "x": 1441.6666717529297,
"y": 2377.3333563804626,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "686e0e67.7a751"
+ "468ffee1.2855f8"
]
]
},
{
- "id": "686e0e67.7a751",
+ "id": "468ffee1.2855f8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sotn-vnf-topology-operation-underlay-delete",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-vnf-topology-operation-underlay-delete' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1931.8571014404297,
+ "x": 1879.8571014404297,
"y": 2373.52073431015,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "e2b0912f.196d98",
+ "id": "a5f0eabe.3a6b08",
"type": "outcome",
"name": "CreateAccessConnectivityInstance",
"xml": "<outcome value='CreateAccessConnectivityInstance'>\n",
"comments": "",
"outputs": 1,
- "x": 1498.5,
+ "x": 1446.5,
"y": 1490.75,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "bf116022.c4859"
+ "d2142bbd.6e0b5"
]
]
},
{
- "id": "bf116022.c4859",
+ "id": "d2142bbd.6e0b5",
"type": "for",
"name": "for:vnf-input-paramters",
"xml": "<for index='idx' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1784.432861328125,
+ "x": 1732.432861328125,
"y": 1488.033447265625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "c1cf5568.c6dfa8"
+ "cf0e0faa.cd3c68"
]
]
},
{
- "id": "c1cf5568.c6dfa8",
+ "id": "cf0e0faa.cd3c68",
"type": "switchNode",
"name": "switch:manufacturer",
"xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2021.599365234375,
+ "x": 1969.599365234375,
"y": 1482.033447265625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "50f3e3de.c203d4"
+ "1db158f1.6a05cf"
]
]
},
{
- "id": "50f3e3de.c203d4",
+ "id": "1db158f1.6a05cf",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2215.599365234375,
+ "x": 2163.599365234375,
"y": 1483.03369140625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "cc91a75d.80fb6"
+ "7fceff62.e4939"
]
]
},
{
- "id": "41d994a4.c5eae4",
+ "id": "a8151edb.23d33",
"type": "outcome",
"name": "CreateInternetProfileInstance",
"xml": "<outcome value='CreateInternetProfileInstance'>\n",
"comments": "",
"outputs": 1,
- "x": 1476.283203125,
+ "x": 1424.283203125,
"y": 1527.616455078125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "dd99ca43.a58fc8"
+ "64727697.d8b17"
]
]
},
{
- "id": "dd99ca43.a58fc8",
+ "id": "64727697.d8b17",
"type": "for",
"name": "for:vnf-input-paramters",
"xml": "<for index='idx' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1761.439453125,
+ "x": 1709.439453125,
"y": 1526.60595703125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "c974314c.cea318"
+ "269c07cc.f190b8"
]
]
},
{
- "id": "c974314c.cea318",
+ "id": "269c07cc.f190b8",
"type": "switchNode",
"name": "switch:manufacturer",
"xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2014.6058349609375,
+ "x": 1962.6058349609375,
"y": 1523.60595703125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "4b8503a0.e71674"
+ "87b9bafd.1c9e9"
]
]
},
{
- "id": "4b8503a0.e71674",
+ "id": "87b9bafd.1c9e9",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2210.605712890625,
+ "x": 2158.605712890625,
"y": 1539.606201171875,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "67fb1068.fd41f8"
+ "8a5f329e.a0141"
]
]
},
{
- "id": "67fb1068.fd41f8",
+ "id": "8a5f329e.a0141",
"type": "switchNode",
"name": "switch:manufacturer value",
"xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`'>\n",
"comments": "",
"outputs": 1,
- "x": 2433.606201171875,
+ "x": 2381.606201171875,
"y": 1549.6064453125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "7f2dad35.040724"
+ "34201735.16c088"
]
]
},
{
- "id": "cc91a75d.80fb6",
+ "id": "7fceff62.e4939",
"type": "switchNode",
"name": "switch:manufacturer value",
"xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`'>\n",
"comments": "",
"outputs": 1,
- "x": 2447.599853515625,
+ "x": 2395.599853515625,
"y": 1483.033935546875,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "9a690577.7147a8",
- "5e1152e7.2696dc"
+ "a4a78bd9.b60428",
+ "176d5dff.506062"
]
]
},
{
- "id": "9a690577.7147a8",
+ "id": "a4a78bd9.b60428",
"type": "outcomeTrue",
"name": "HUAWEI",
"xml": "<outcome value='HUAWEI'>\n",
"comments": "",
"outputs": 1,
- "x": 2679.433349609375,
+ "x": 2627.433349609375,
"y": 1485.03369140625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "ae3a7d63.ff15f8"
+ "18e58db6.0dbd7a"
]
]
},
{
- "id": "5e1152e7.2696dc",
+ "id": "176d5dff.506062",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2673.833251953125,
+ "x": 2621.833251953125,
"y": 1516.75,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "d48ba9fe.9916a8"
+ "8e7baf46.5b38d"
]
]
},
{
- "id": "7f2dad35.040724",
+ "id": "34201735.16c088",
"type": "outcomeTrue",
"name": "HUAWEI",
"xml": "<outcome value='HUAWEI'>\n",
"comments": "",
"outputs": 1,
- "x": 2661.439453125,
+ "x": 2609.439453125,
"y": 1579.606201171875,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "ea39a012.0f4f1"
+ "7b62883e.cdba1"
]
]
},
{
- "id": "ae3a7d63.ff15f8",
+ "id": "18e58db6.0dbd7a",
"type": "call",
"name": "call GENERIC-RESOURCE-API:bbs-access-connectivity-vnf-topology-operation-create-huawei",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-vnf-topology-operation-create-huawei' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 3176.2769165039062,
+ "x": 3124.2769165039062,
"y": 1485.044189453125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "d48ba9fe.9916a8",
+ "id": "8e7baf46.5b38d",
"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=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name+' is invalid manufacturer,please check!'`\" />",
"comments": "",
- "x": 2922.166259765625,
+ "x": 2870.166259765625,
"y": 1528.4166259765625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": []
},
{
- "id": "ea39a012.0f4f1",
+ "id": "7b62883e.cdba1",
"type": "call",
"name": "call GENERIC-RESOURCE-API:bbs-internet-profile-vnf-topology-operation-create-huawei",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-vnf-topology-operation-create-huawei' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 3162.283447265625,
+ "x": 3110.283447265625,
"y": 1581.616943359375,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "165f464d.107712",
+ "id": "4e6b5678.bbdd1",
"type": "outcome",
"name": "DeleteAccessConnectivityInstance",
"xml": "<outcome value='DeleteAccessConnectivityInstance'>\n",
"comments": "",
"outputs": 1,
- "x": 1509.75,
+ "x": 1457.75,
"y": 2053.75,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "3524df44.6fd078"
+ "f1caeecd.25957"
]
]
},
{
- "id": "3524df44.6fd078",
+ "id": "f1caeecd.25957",
"type": "for",
"name": "for:vnf-input-paramters",
"xml": "<for index='idx' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1822.5732421875,
+ "x": 1770.5732421875,
"y": 2044.73974609375,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "85c9002a.349e6"
+ "5e96574e.86f738"
]
]
},
{
- "id": "85c9002a.349e6",
+ "id": "5e96574e.86f738",
"type": "switchNode",
"name": "switch:manufacturer",
"xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2093.7393798828125,
+ "x": 2041.7393798828125,
"y": 2038.73974609375,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "b32cabaf.bacda8"
+ "c452d879.26ff28"
]
]
},
{
- "id": "b32cabaf.bacda8",
+ "id": "c452d879.26ff28",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2293.739501953125,
+ "x": 2241.739501953125,
"y": 2038.7396240234375,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "841727b2.fc43c8"
+ "bd20cc20.6e10d"
]
]
},
{
- "id": "b8d302e7.884668",
+ "id": "3b3f08be.c8d408",
"type": "outcome",
"name": "DeleteInternetProfileInstance",
"xml": "<outcome value='DeleteInternetProfileInstance'>\n",
"comments": "",
"outputs": 1,
- "x": 1491.316650390625,
+ "x": 1439.316650390625,
"y": 2093.800048828125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "3f16f881.9bf11"
+ "b43faceb.f3917"
]
]
},
{
- "id": "3f16f881.9bf11",
+ "id": "b43faceb.f3917",
"type": "for",
"name": "for:vnf-input-paramters",
"xml": "<for index='idx' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1768.6500244140625,
+ "x": 1716.6500244140625,
"y": 2105.5167236328125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "12fa6cf1.712bb3"
+ "a4639531.47b2f"
]
]
},
{
- "id": "12fa6cf1.712bb3",
+ "id": "a4639531.47b2f",
"type": "switchNode",
"name": "switch:manufacturer",
"xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1996.8163528442383,
+ "x": 1944.8163528442383,
"y": 2094.516764640808,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "93b663df.15b9d8"
+ "44d49ff5.a0c208"
]
]
},
{
- "id": "93b663df.15b9d8",
+ "id": "44d49ff5.a0c208",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2186.816230773926,
+ "x": 2134.816230773926,
"y": 2094.517008781433,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "a3704e9.eb7593"
+ "9d7d02f.677b2"
]
]
},
{
- "id": "a3704e9.eb7593",
+ "id": "9d7d02f.677b2",
"type": "switchNode",
"name": "switch:manufacturer value",
"xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`'>\n",
"comments": "",
"outputs": 1,
- "x": 2400.816719055176,
+ "x": 2348.816719055176,
"y": 2090.517252922058,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "b25d7a6c.2d20b8"
+ "db0191ad.110598"
]
]
},
{
- "id": "841727b2.fc43c8",
+ "id": "bd20cc20.6e10d",
"type": "switchNode",
"name": "switch:manufacturer value",
"xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`'>\n",
"comments": "",
"outputs": 1,
- "x": 2552.7398986816406,
+ "x": 2500.7398986816406,
"y": 2031.739761352539,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "ce1c777.780d788"
+ "a725d07a.a0193"
]
]
},
{
- "id": "ce1c777.780d788",
+ "id": "a725d07a.a0193",
"type": "outcomeTrue",
"name": "HUAWEI",
"xml": "<outcome value='HUAWEI'>\n",
"comments": "",
"outputs": 1,
- "x": 2755.5732421875,
+ "x": 2703.5732421875,
"y": 2040.7396240234375,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "74540f1f.a1ddd8"
+ "4175e3e7.a9b7ac"
]
]
},
{
- "id": "b25d7a6c.2d20b8",
+ "id": "db0191ad.110598",
"type": "outcomeTrue",
"name": "HUAWEI",
"xml": "<outcome value='HUAWEI'>\n",
"comments": "",
"outputs": 1,
- "x": 2588.6497802734375,
+ "x": 2536.6497802734375,
"y": 2086.5169677734375,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "5eff96f4.fc3fe8"
+ "f6b877e8.c332b8"
]
]
},
{
- "id": "5eff96f4.fc3fe8",
+ "id": "f6b877e8.c332b8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:bbs-internet-profile-vnf-topology-operation-delete-huawei",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-vnf-topology-operation-delete-huawei' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2931.493896484375,
+ "x": 2879.493896484375,
"y": 2146.527587890625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "74540f1f.a1ddd8",
+ "id": "4175e3e7.a9b7ac",
"type": "call",
"name": "call GENERIC-RESOURCE-API:bbs-access-connectivity-vnf-topology-operation-delete-huawei",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-vnf-topology-operation-delete-huawei' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 3196.750732421875,
+ "x": 3144.750732421875,
"y": 2089.7506103515625,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "b1e9d3b7.9a8aa8",
+ "id": "57af1ec9.801de",
"type": "outcome",
"name": "update",
"xml": "<outcome value='update'>\n",
"comments": "",
"outputs": 1,
- "x": 974.499942779541,
+ "x": 922.499942779541,
"y": 2514.00008392334,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "4a660084.f9bd28"
+ "15763754.a08db9"
]
]
},
{
- "id": "4a660084.f9bd28",
+ "id": "15763754.a08db9",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 1177.4999732971191,
+ "x": 1125.4999732971191,
"y": 2607.50008392334,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "b5226790.62d05",
- "8ab2dfbb.a1916",
- "3c8354f5.d5e214"
+ "718d5eb4.13f9c",
+ "e202c84d.63b5e",
+ "785391cc.908aa"
]
]
},
{
- "id": "b5226790.62d05",
+ "id": "718d5eb4.13f9c",
"type": "outcome",
"name": "ChangeInternetProfileInstance",
"xml": "<outcome value='ChangeInternetProfileInstance'>\n",
"comments": "",
"outputs": 1,
- "x": 1450.499912261963,
+ "x": 1398.499912261963,
"y": 2604.00008392334,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "b5959f12.cf2018"
+ "128a4eef.95f9c9"
]
]
},
{
- "id": "b5959f12.cf2018",
+ "id": "128a4eef.95f9c9",
"type": "for",
"name": "for:vnf-input-paramters",
"xml": "<for index='idx' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1774.6561279296875,
+ "x": 1722.6561279296875,
"y": 2602.98974609375,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "c791de21.3161a"
+ "3aee2d11.4be5aa"
]
]
},
{
- "id": "c791de21.3161a",
+ "id": "3aee2d11.4be5aa",
"type": "switchNode",
"name": "switch:manufacturer",
"xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2035.822509765625,
+ "x": 1983.822509765625,
"y": 2600.98974609375,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "9a634162.bb58a"
+ "b0c1a7c8.a9625"
]
]
},
{
- "id": "9a634162.bb58a",
+ "id": "b0c1a7c8.a9625",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2223.822395324707,
+ "x": 2171.822395324707,
"y": 2602.989908218384,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "a31b2229.3b0b6"
+ "6904d45.72ac0ac"
]
]
},
{
- "id": "a31b2229.3b0b6",
+ "id": "6904d45.72ac0ac",
"type": "switchNode",
"name": "switch:manufacturer value",
"xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`'>\n",
"comments": "",
"outputs": 1,
- "x": 2434.8230361938477,
+ "x": 2382.8230361938477,
"y": 2602.9902334213257,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "db546338.55a6a"
+ "5d910c1a.f9d114"
]
]
},
{
- "id": "db546338.55a6a",
+ "id": "5d910c1a.f9d114",
"type": "outcomeTrue",
"name": "HUAWEI",
"xml": "<outcome value='HUAWEI'>\n",
"comments": "",
"outputs": 1,
- "x": 2686.6562690734863,
+ "x": 2634.6562690734863,
"y": 2528.989896774292,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "f54d61cc.01d07"
+ "f4570bab.e4ff9"
]
]
},
{
- "id": "f54d61cc.01d07",
+ "id": "f4570bab.e4ff9",
"type": "call",
"name": "call GENERIC-RESOURCE-API:bbs-internet-profile-vnf-topology-operation-change-huawei",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-vnf-topology-operation-change-huawei' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 3150.5008239746094,
+ "x": 3098.5008239746094,
"y": 2530.000228881836,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "36852303.31db6c",
+ "id": "a13fab75.8b6a8",
"type": "outcome",
"name": "ActivateTransportSliceInstance",
"xml": "<outcome value='ActivateTransportSliceInstance'>",
"comments": "",
"outputs": 1,
- "x": 1472,
+ "x": 1420,
"y": 787,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "2ec0ae18.6972ba"
+ "d74087cd.f2dfe8"
]
]
},
{
- "id": "2ec0ae18.6972ba",
+ "id": "d74087cd.f2dfe8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-trans-slice-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-trans-slice-activate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1931.8569946289062,
+ "x": 1879.8569946289062,
"y": 781.5208098888397,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "783b5217.1ea664",
+ "id": "d01c50be.bd5f1",
"type": "outcome",
"name": "DeleteTransportSliceInstance",
"xml": "<outcome value='DeleteTransportSliceInstance'>",
"comments": "",
"outputs": 1,
- "x": 1488,
+ "x": 1436,
"y": 2445,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "4d5e1a9e.f28edc"
+ "d69aff69.a21738"
]
]
},
{
- "id": "4d5e1a9e.f28edc",
+ "id": "d69aff69.a21738",
"type": "call",
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-trans-slice-delete",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-trans-slice-delete' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1926.1904296875,
+ "x": 1874.1904296875,
"y": 2441.1873779296875,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "d030a525.70e9c8",
+ "id": "64592d67.04ac4c",
"type": "outcome",
"name": "AllocateTransportSliceInstance",
"xml": "<outcome value='AllocateTransportSliceInstance'>",
"comments": "",
"outputs": 1,
- "x": 1481,
+ "x": 1429,
"y": 1855,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "d2ac7ea8.556cf8"
+ "264be732.34667"
]
]
},
{
- "id": "d2ac7ea8.556cf8",
+ "id": "264be732.34667",
"type": "call",
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-trans-slice-allocate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-trans-slice-allocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1933.523681640625,
+ "x": 1881.523681640625,
"y": 1849.520751953125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "a64eaaf7.f8cc3",
+ "id": "4ef56ab7.3c11bc",
"type": "outcome",
"name": "DeactivateTransportSliceInstance",
"xml": "<outcome value='DeactivateTransportSliceInstance'>",
"comments": "",
"outputs": 1,
- "x": 1506,
+ "x": 1454,
"y": 1240,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "ace1a0de.86c7b"
+ "cdd18c15.f8004"
]
]
},
{
- "id": "ace1a0de.86c7b",
+ "id": "cdd18c15.f8004",
"type": "call",
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-trans-slice-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-trans-slice-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1974.1903076171875,
+ "x": 1922.1903076171875,
"y": 1242.8539428710938,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "8ab2dfbb.a1916",
+ "id": "e202c84d.63b5e",
"type": "outcome",
"name": "ModifyTransportSliceInstance",
"xml": "<outcome value='DeleteTransportSliceInstance'>",
"comments": "",
"outputs": 1,
- "x": 1445,
+ "x": 1393,
"y": 2661,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "8e513e9b.02f858"
+ "ff1a01d3.8d56b8"
]
]
},
{
- "id": "8e513e9b.02f858",
+ "id": "ff1a01d3.8d56b8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-trans-slice-modify",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-trans-slice-modify' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1883.1904296875,
+ "x": 1831.1904296875,
"y": 2657.1873779296875,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "1fc4171d.33b849",
+ "id": "f3be14bf.832d98",
"type": "outcome",
"name": "CreateCloudLeasedLineInstance",
"xml": "<outcome value='CreateCloudLeasedLineInstance'>",
"comments": "",
"outputs": 1,
- "x": 1480,
+ "x": 1428,
"y": 1911,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "fcc35da5.66b088"
+ "1ea9d4bd.5ee1eb"
]
]
},
{
- "id": "fcc35da5.66b088",
+ "id": "1ea9d4bd.5ee1eb",
"type": "call",
"name": "call GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-create-clean' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1932.523681640625,
+ "x": 1880.523681640625,
"y": 1905.520751953125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "845ca1dd.f3e83",
+ "id": "8b6f13e8.5b3d98",
"type": "outcome",
"name": "DeleteCloudLeasedLineInstance",
"xml": "<outcome value='DeleteCloudLeasedLineInstance'>",
"comments": "",
"outputs": 1,
- "x": 1497,
+ "x": 1445,
"y": 2493,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "d1528432.c809d"
+ "8f2cb83.e7aac48"
]
]
},
{
- "id": "d1528432.c809d",
+ "id": "8f2cb83.e7aac48",
"type": "call",
"name": "call GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1940.523681640625,
+ "x": 1888.523681640625,
"y": 2493.520751953125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
},
{
- "id": "3c8354f5.d5e214",
+ "id": "785391cc.908aa",
"type": "outcome",
"name": "ModifyCloudLeasedLineInstance",
"xml": "<outcome value='ModifyCloudLeasedLineInstance'>",
"comments": "",
"outputs": 1,
- "x": 1447,
+ "x": 1395,
"y": 2716,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[
- "47ca6bac.c33744"
+ "9cf1ed84.3cb2d"
]
]
},
{
- "id": "47ca6bac.c33744",
+ "id": "9cf1ed84.3cb2d",
"type": "call",
- "name": "call GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete' mode='sync' >\n",
+ "name": "call GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-modify' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1890.523681640625,
+ "x": 1838.523681640625,
"y": 2716.520751953125,
- "z": "de6608eb.7dee68",
+ "z": "2274856e.775caa",
"wires": [
[]
]
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
index 376401b0..7eb64480 100644
--- a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
@@ -1,20 +1,20 @@
[
{
- "id": "917062ba.849008",
+ "id": "66573054.d6959",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 218,
- "y": 53,
- "z": "a911d5ff.5ac84",
+ "x": 230,
+ "y": 62,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "1c89f912.b4a1a7"
+ "88fd1149.f833f"
]
]
},
{
- "id": "1c89f912.b4a1a7",
+ "id": "88fd1149.f833f",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,2773 +22,2773 @@
"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": 502.2856903076172,
- "y": 114.23810863494873,
- "z": "a911d5ff.5ac84",
+ "x": 514.2856903076172,
+ "y": 123.23810863494873,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "79c37e31.b46698"
+ "4c164ab.c48bfb4"
]
]
},
{
- "id": "79c37e31.b46698",
+ "id": "4c164ab.c48bfb4",
"type": "method",
"name": "method cll-vnf-topology-operation-cll-F1",
"xml": "<method rpc='cll-vnf-topology-operation-cll-F1' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 418.4285888671875,
- "y": 192.00003051757812,
- "z": "a911d5ff.5ac84",
+ "x": 430.4285888671875,
+ "y": 201.00003051757812,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "e40aa944.361218"
+ "e2c1e393.f72a2"
]
]
},
{
- "id": "e40aa944.361218",
+ "id": "e2c1e393.f72a2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 152.238037109375,
- "y": 695.6666870117188,
- "z": "a911d5ff.5ac84",
+ "x": 164.238037109375,
+ "y": 704.6666870117188,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "91449a53.15abc8",
- "52206559.265cbc",
- "dc5388ea.7452c",
- "cd1cf50b.3447d",
- "36cc6c32.a7a5bc",
- "ef8123f7.a43b88",
- "349f069b.2d098a"
+ "35872244.0dadfe",
+ "76353aba.1a1834",
+ "1a3db60a.42601a",
+ "cde65043.1c4f8",
+ "5f4f339e.018654",
+ "6f21b0a4.c1ba8",
+ "19956ea.f245091"
]
]
},
{
- "id": "91449a53.15abc8",
+ "id": "35872244.0dadfe",
"type": "set",
"name": "set query_param",
"xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",
"comments": "",
- "x": 425,
- "y": 650,
- "z": "a911d5ff.5ac84",
+ "x": 437,
+ "y": 659,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "52206559.265cbc",
+ "id": "76353aba.1a1834",
"type": "call",
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 646,
- "y": 718,
- "z": "a911d5ff.5ac84",
+ "x": 658,
+ "y": 727,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "dc5388ea.7452c",
+ "id": "1a3db60a.42601a",
"type": "execute",
"name": "execute printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",
"comments": "",
"outputs": 1,
- "x": 436,
- "y": 764,
- "z": "a911d5ff.5ac84",
+ "x": 448,
+ "y": 773,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "349f069b.2d098a",
+ "id": "19956ea.f245091",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 629,
- "y": 828,
- "z": "a911d5ff.5ac84",
+ "x": 641,
+ "y": 837,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "cd1cf50b.3447d",
+ "id": "cde65043.1c4f8",
"type": "for",
"name": "for vidx..tmp.otninfo_length[]",
"xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",
"comments": "",
"outputs": 1,
- "x": 456,
- "y": 984,
- "z": "a911d5ff.5ac84",
+ "x": 468,
+ "y": 993,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "4719cb7a.a9766c"
+ "53111f1b.5dbab"
]
]
},
{
- "id": "4719cb7a.a9766c",
+ "id": "53111f1b.5dbab",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 725,
- "y": 984,
- "z": "a911d5ff.5ac84",
+ "x": 737,
+ "y": 993,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "ffc8e265.c8aca8",
- "13f1d395.eb898c",
- "b91b98db.dabfa",
- "66797943.9e353",
- "c2e19c98.abbc4",
- "11040b46.8e035d",
- "130409d7.ba1cfe",
- "3e17d72f.d352d",
- "1ea79a81.da9f1d",
- "f0ca8ca2.d5c31"
+ "78857b79.cfe234",
+ "b3432980.49ee6",
+ "233e999f.144d9e",
+ "7a85fbed.abf844",
+ "715b7a53.d039d4",
+ "13d7f319.f10ffd",
+ "fe43d4e7.2e266",
+ "9673bbc9.e232d8",
+ "8c1ff0ec.d0238",
+ "84f3d24d.36c17"
]
]
},
{
- "id": "ffc8e265.c8aca8",
+ "id": "78857b79.cfe234",
"type": "execute",
"name": "execute UUID generator for vpn-binding $otnidx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1618,
- "y": 798,
- "z": "a911d5ff.5ac84",
+ "x": 1630,
+ "y": 807,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "13f1d395.eb898c",
+ "id": "b3432980.49ee6",
"type": "switchNode",
"name": "switch dstPort == NULL",
"xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1332,
- "y": 888,
- "z": "a911d5ff.5ac84",
+ "x": 1344,
+ "y": 897,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "467187d6.5cb93",
- "dac264a6.6c03c8"
+ "fb6a4667.5dee4",
+ "8968ad13.112c48"
]
]
},
{
- "id": "467187d6.5cb93",
+ "id": "fb6a4667.5dee4",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1698,
- "y": 849,
- "z": "a911d5ff.5ac84",
+ "x": 1710,
+ "y": 858,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "6cf7a6e6.d655a8"
+ "38cd80d0.a81b08"
]
]
},
{
- "id": "dac264a6.6c03c8",
+ "id": "8968ad13.112c48",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1699,
- "y": 895,
- "z": "a911d5ff.5ac84",
+ "x": 1711,
+ "y": 904,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "5ca74bf6.9d33ac"
+ "12ac055c.676cf3"
]
]
},
{
- "id": "6cf7a6e6.d655a8",
+ "id": "38cd80d0.a81b08",
"type": "set",
"name": "set access-provider-id and client-id",
"xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",
"comments": "",
- "x": 1912,
- "y": 848,
- "z": "a911d5ff.5ac84",
+ "x": 1924,
+ "y": 857,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "5ca74bf6.9d33ac",
+ "id": "12ac055c.676cf3",
"type": "set",
"name": "set access-provider-id and client-id",
"xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",
"comments": "",
- "x": 1910,
- "y": 893,
- "z": "a911d5ff.5ac84",
+ "x": 1922,
+ "y": 902,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "b91b98db.dabfa",
+ "id": "233e999f.144d9e",
"type": "set",
"name": "set srcdstpnf-name",
"xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n $tmp.access-provider-id + '-clientId-' +\n $tmp.access-client-id + '-topologyId-' + \n $tmp.access-topology-id + '-nodeId-' + \n $tmp.srcdstpnf-id`\" />\n\n",
"comments": "",
- "x": 1508,
- "y": 962,
- "z": "a911d5ff.5ac84",
+ "x": 1520,
+ "y": 971,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "66797943.9e353",
+ "id": "7a85fbed.abf844",
"type": "get-resource",
"name": "get-resource tmp.srcdstpnf-name",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 1552,
- "y": 1010,
- "z": "a911d5ff.5ac84",
+ "x": 1564,
+ "y": 1019,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "2fed2218.d10326",
- "6a522d09.043e1c",
- "4f95b3dd.ef9534"
+ "85cf2b2f.efe2d8",
+ "40c18c0.1c43574",
+ "e3b12e57.7afb78"
]
]
},
{
- "id": "2fed2218.d10326",
+ "id": "85cf2b2f.efe2d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1764.5,
- "y": 957,
- "z": "a911d5ff.5ac84",
+ "x": 1776.5,
+ "y": 966,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "66f51b5e.6158fc"
+ "7b23fddb.009994"
]
]
},
{
- "id": "6a522d09.043e1c",
+ "id": "40c18c0.1c43574",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1776.5,
- "y": 1007,
- "z": "a911d5ff.5ac84",
+ "x": 1788.5,
+ "y": 1016,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "8e681ebe.696e48"
+ "317c3552.8ea652"
]
]
},
{
- "id": "4f95b3dd.ef9534",
+ "id": "e3b12e57.7afb78",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1767.5,
- "y": 1062,
- "z": "a911d5ff.5ac84",
+ "x": 1779.5,
+ "y": 1071,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "6977d582.14091c"
+ "c0e357e5.8168d8"
]
]
},
{
- "id": "6977d582.14091c",
+ "id": "c0e357e5.8168d8",
"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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 1912.5,
- "y": 1061,
- "z": "a911d5ff.5ac84",
+ "x": 1924.5,
+ "y": 1070,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "8e681ebe.696e48",
+ "id": "317c3552.8ea652",
"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.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 1923.5,
- "y": 1004,
- "z": "a911d5ff.5ac84",
+ "x": 1935.5,
+ "y": 1013,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "66f51b5e.6158fc",
+ "id": "7b23fddb.009994",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1889.8824462890625,
- "y": 950.6556701660156,
- "z": "a911d5ff.5ac84",
+ "x": 1901.8824462890625,
+ "y": 959.6556701660156,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "3a1d3f10.5d9028"
+ "f3d54fb4.5c0a1"
]
]
},
{
- "id": "3a1d3f10.5d9028",
+ "id": "f3d54fb4.5c0a1",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2051,
- "y": 965,
- "z": "a911d5ff.5ac84",
+ "x": 2063,
+ "y": 974,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "c1512230.2580e"
+ "763118b6.61e2b8"
]
]
},
{
- "id": "c1512230.2580e",
+ "id": "763118b6.61e2b8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2246,
- "y": 965,
- "z": "a911d5ff.5ac84",
+ "x": 2258,
+ "y": 974,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "b1b8c338.420ea"
+ "45a9ec7c.a92c4c"
]
]
},
{
- "id": "fd7930d3.be8638",
+ "id": "6fd0244b.f38ce4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2626,
- "y": 961,
- "z": "a911d5ff.5ac84",
+ "x": 2638,
+ "y": 970,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "ac1612ad.b61828",
- "27939c6a.4866bc"
+ "e527c2f.df2fcc",
+ "56d60802.89ee28"
]
]
},
{
- "id": "27939c6a.4866bc",
+ "id": "56d60802.89ee28",
"type": "execute",
"name": "get esr-thirdparty-sdnc",
"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.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 2834,
- "y": 968,
- "z": "a911d5ff.5ac84",
+ "x": 2846,
+ "y": 977,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "b52d7285.57757",
- "3657321a.c3ba86",
- "c044af78.310578"
+ "b854345d.faf84",
+ "437ea2b.b00f35c",
+ "fed3318a.a11e3"
]
]
},
{
- "id": "ac1612ad.b61828",
+ "id": "e527c2f.df2fcc",
"type": "set",
"name": "set esr-thirdparty-sdnc domainG id",
"xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 2864,
- "y": 916,
- "z": "a911d5ff.5ac84",
+ "x": 2876,
+ "y": 925,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "b52d7285.57757",
+ "id": "b854345d.faf84",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3044,
- "y": 959,
- "z": "a911d5ff.5ac84",
+ "x": 3056,
+ "y": 968,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "cbaaba15.349bc8"
+ "918d39ea.cf7f2"
]
]
},
{
- "id": "3657321a.c3ba86",
+ "id": "437ea2b.b00f35c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3036,
- "y": 1014,
- "z": "a911d5ff.5ac84",
+ "x": 3048,
+ "y": 1023,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "f52e6392.eb1be8"
+ "1afabba1.4179cc"
]
]
},
{
- "id": "c044af78.310578",
+ "id": "fed3318a.a11e3",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3041,
- "y": 1071,
- "z": "a911d5ff.5ac84",
+ "x": 3053,
+ "y": 1080,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "7b6a4d1e.bd1e74"
+ "e095e0e5.375ba"
]
]
},
{
- "id": "7b6a4d1e.bd1e74",
+ "id": "e095e0e5.375ba",
"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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 3193,
- "y": 1072,
- "z": "a911d5ff.5ac84",
+ "x": 3205,
+ "y": 1081,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "f52e6392.eb1be8",
+ "id": "1afabba1.4179cc",
"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.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 3204,
- "y": 1017,
- "z": "a911d5ff.5ac84",
+ "x": 3216,
+ "y": 1026,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "cbaaba15.349bc8",
+ "id": "918d39ea.cf7f2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3188.38232421875,
- "y": 956.6556701660156,
- "z": "a911d5ff.5ac84",
+ "x": 3200.38232421875,
+ "y": 965.6556701660156,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "37241585.bf56ba"
+ "47a021ef.066c88"
]
]
},
{
- "id": "b1b8c338.420ea",
+ "id": "45a9ec7c.a92c4c",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 2449,
- "y": 969,
- "z": "a911d5ff.5ac84",
+ "x": 2461,
+ "y": 978,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "fd7930d3.be8638"
+ "6fd0244b.f38ce4"
]
]
},
{
- "id": "37241585.bf56ba",
+ "id": "47a021ef.066c88",
"type": "set",
"name": "set controller domainA data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.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",
"comments": "",
- "x": 3403,
- "y": 953,
- "z": "a911d5ff.5ac84",
+ "x": 3415,
+ "y": 962,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "5bdba13b.1ae3d",
+ "id": "d75cf545.437ae8",
"type": "save",
"name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 1562,
- "y": 2859,
- "z": "a911d5ff.5ac84",
+ "x": 1574,
+ "y": 2868,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "2982a228.f40e1e"
+ "871b9e34.870768"
]
]
},
{
- "id": "e79aedfa.249",
+ "id": "fd805b4d.1b0548",
"type": "save",
"name": "save connectivity-A relationship to vpn-binding-A, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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/' + $uuid.connectivity-domainA-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=\"`$uuid.connectivity-domainA-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 2134.5,
- "y": 2963,
- "z": "a911d5ff.5ac84",
+ "x": 2146.5,
+ "y": 2972,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "2982a228.f40e1e",
+ "id": "871b9e34.870768",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1868,
- "y": 2858,
- "z": "a911d5ff.5ac84",
+ "x": 1880,
+ "y": 2867,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "3d256a26.ef6a26"
+ "ee92c990.60c9f"
]
]
},
{
- "id": "3d256a26.ef6a26",
+ "id": "ee92c990.60c9f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2077.5,
- "y": 2858.25390625,
- "z": "a911d5ff.5ac84",
+ "x": 2089.5,
+ "y": 2867.25390625,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "7e7c0247.8ba9f4",
+ "id": "702e0066.542168",
"type": "switchNode",
"name": "switch otnidx == 0",
"xml": "<switch test='`$otnidx == 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 1471,
- "y": 2976,
- "z": "a911d5ff.5ac84",
+ "x": 1483,
+ "y": 2985,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "2d5f380b.a9d4d8",
- "4f3979ad.4a4e48"
+ "bb13d1a8.37e5",
+ "a19ebb79.79b868"
]
]
},
{
- "id": "2d5f380b.a9d4d8",
+ "id": "bb13d1a8.37e5",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1654,
- "y": 2976,
- "z": "a911d5ff.5ac84",
+ "x": 1666,
+ "y": 2985,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "ffef74e0.d4b7c"
+ "62ae9cfb.3879bc"
]
]
},
{
- "id": "4f3979ad.4a4e48",
+ "id": "a19ebb79.79b868",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1479,
- "y": 3123,
- "z": "a911d5ff.5ac84",
+ "x": 1491,
+ "y": 3132,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "a4296e1e.d8981"
+ "db504ec2.be40a8"
]
]
},
{
- "id": "1a4f2a93.c11d2d",
+ "id": "d2ac9909.c7d83",
"type": "switchNode",
"name": "switch otnidx == last",
"xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 1820,
- "y": 3204,
- "z": "a911d5ff.5ac84",
+ "x": 1832,
+ "y": 3213,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "b3a20bdf.7738d8",
- "b291bad0.bdbf18"
+ "f6ac8945.06d298",
+ "d0d3740b.46215"
]
]
},
{
- "id": "b3a20bdf.7738d8",
+ "id": "f6ac8945.06d298",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1996,
- "y": 3205,
- "z": "a911d5ff.5ac84",
+ "x": 2008,
+ "y": 3214,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "6075d4e4.60740c"
+ "84c92d78.7984b8"
]
]
},
{
- "id": "c49019c0.e84e08",
+ "id": "b93d4ed1.4609d8",
"type": "set",
"name": "set attachment_param domain A",
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",
"comments": "",
- "x": 2059,
- "y": 3020,
- "z": "a911d5ff.5ac84",
+ "x": 2071,
+ "y": 3029,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "ffef74e0.d4b7c",
+ "id": "62ae9cfb.3879bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1795,
- "y": 2966,
- "z": "a911d5ff.5ac84",
+ "x": 1807,
+ "y": 2975,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "e79aedfa.249",
- "c49019c0.e84e08",
- "733089d7.e1acb"
+ "fd805b4d.1b0548",
+ "b93d4ed1.4609d8",
+ "ea374103.b6422"
]
]
},
{
- "id": "5a6ce6ad.7fc7a",
+ "id": "11cd0588.41272a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2701,
- "y": 3155,
- "z": "a911d5ff.5ac84",
+ "x": 2713,
+ "y": 3164,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "424b4783.7d233"
+ "5ba25870.61d0e"
]
]
},
{
- "id": "cc1f97b8.8c6ce8",
+ "id": "302e8991.9483b6",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",
"comments": "",
- "x": 1768,
- "y": 3155,
- "z": "a911d5ff.5ac84",
+ "x": 1780,
+ "y": 3164,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "a4296e1e.d8981",
+ "id": "db504ec2.be40a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1603,
- "y": 3130,
- "z": "a911d5ff.5ac84",
+ "x": 1615,
+ "y": 3139,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "cc1f97b8.8c6ce8",
- "1a4f2a93.c11d2d"
+ "302e8991.9483b6",
+ "d2ac9909.c7d83"
]
]
},
{
- "id": "c2e19c98.abbc4",
+ "id": "715b7a53.d039d4",
"type": "switchNode",
"name": "switch dmnsidx == 0 (domainA)",
"xml": "<switch test='`$otnidx == 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 1522,
- "y": 1179,
- "z": "a911d5ff.5ac84",
+ "x": 1534,
+ "y": 1188,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "11383ee6.e1d7d9",
- "6fa9ae0c.501d18"
+ "f53c2621.eb9438",
+ "1c719c21.ec9b04"
]
]
},
{
- "id": "11383ee6.e1d7d9",
+ "id": "f53c2621.eb9438",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1723,
- "y": 1177,
- "z": "a911d5ff.5ac84",
+ "x": 1735,
+ "y": 1186,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "b4854ac4.e47338"
+ "39a7b2e1.a50fbe"
]
]
},
{
- "id": "e2b0b006.cad94",
+ "id": "b0d2a923.51103",
"type": "set",
"name": "set pce-src-node",
"xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",
"comments": "",
- "x": 2004,
- "y": 1127,
- "z": "a911d5ff.5ac84",
+ "x": 2016,
+ "y": 1136,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "5b58456d.2aa8c4",
+ "id": "c9652673.c83de8",
"type": "switchNode",
"name": "switch dmnsidx == last (domainB)",
"xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",
"comments": "",
"outputs": 1,
- "x": 1940,
- "y": 1228,
- "z": "a911d5ff.5ac84",
+ "x": 1952,
+ "y": 1237,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "7d1f463f.75db48",
- "1703470e.535939"
+ "ab876b76.0d0a8",
+ "2a964a93.a3cb96"
]
]
},
{
- "id": "7d1f463f.75db48",
+ "id": "ab876b76.0d0a8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2170,
- "y": 1224,
- "z": "a911d5ff.5ac84",
+ "x": 2182,
+ "y": 1233,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "1c45c1ae.cc5246"
+ "62dd94dd.71b75c"
]
]
},
{
- "id": "6fa9ae0c.501d18",
+ "id": "1c719c21.ec9b04",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1723,
- "y": 1226,
- "z": "a911d5ff.5ac84",
+ "x": 1735,
+ "y": 1235,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "5b58456d.2aa8c4"
+ "c9652673.c83de8"
]
]
},
{
- "id": "1703470e.535939",
+ "id": "2a964a93.a3cb96",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2171,
- "y": 1270,
- "z": "a911d5ff.5ac84",
+ "x": 2183,
+ "y": 1279,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "9a461e80.88ba58"
+ "1f38645a.fd2454"
]
]
},
{
- "id": "9a461e80.88ba58",
+ "id": "1f38645a.fd2454",
"type": "set",
"name": "set attachment_param domain G",
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",
"comments": "",
- "x": 2385,
- "y": 1270,
- "z": "a911d5ff.5ac84",
+ "x": 2397,
+ "y": 1279,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "d9594ef.146e23",
+ "id": "ada84f30.11bba8",
"type": "set",
"name": "set attachment_param domain A",
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",
"comments": "",
- "x": 2059,
- "y": 1174,
- "z": "a911d5ff.5ac84",
+ "x": 2071,
+ "y": 1183,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "b4854ac4.e47338",
+ "id": "39a7b2e1.a50fbe",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1847,
- "y": 1168,
- "z": "a911d5ff.5ac84",
+ "x": 1859,
+ "y": 1177,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "d9594ef.146e23"
+ "ada84f30.11bba8"
]
]
},
{
- "id": "1c45c1ae.cc5246",
+ "id": "62dd94dd.71b75c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2303,
- "y": 1200,
- "z": "a911d5ff.5ac84",
+ "x": 2315,
+ "y": 1209,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "c5fb0dfd.a15ba"
+ "c86a8489.80e7c"
]
]
},
{
- "id": "ca07a786.2d259",
+ "id": "dce0c80a.efad",
"type": "set",
"name": "set pce-src-node",
"xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",
"comments": "",
- "x": 2459,
- "y": 1216,
- "z": "a911d5ff.5ac84",
+ "x": 2471,
+ "y": 1225,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "c5fb0dfd.a15ba",
+ "id": "c86a8489.80e7c",
"type": "set",
"name": "set attachment_param domain B",
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",
"comments": "",
- "x": 2507,
- "y": 1168,
- "z": "a911d5ff.5ac84",
+ "x": 2519,
+ "y": 1177,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "b291bad0.bdbf18",
+ "id": "d0d3740b.46215",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2024,
- "y": 3471,
- "z": "a911d5ff.5ac84",
+ "x": 2036,
+ "y": 3480,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "62a1848.f7c8bfc"
+ "822b4a87.c6d91"
]
]
},
{
- "id": "ec243f0e.e78df8",
+ "id": "df45bcf4.ab6068",
"type": "execute",
"name": "execute UUID generator for connectivity domain otnidx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2499,
- "y": 3456,
- "z": "a911d5ff.5ac84",
+ "x": 2511,
+ "y": 3465,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "b5d0d456.d5e17",
+ "id": "92ea7ec.b1b38",
"type": "save",
"name": "save connectivity resource in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\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='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\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='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-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",
"comments": "",
"outputs": 1,
- "x": 2437,
- "y": 3506,
- "z": "a911d5ff.5ac84",
+ "x": 2449,
+ "y": 3515,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "1472c185.25ef66",
+ "id": "ab274de2.98aaf8",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"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/' + $uuid.connectivity-otnidx-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=\"`$uuid.connectivity-otnidx-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`\" />-->",
"comments": "",
"outputs": 1,
- "x": 2574,
- "y": 3605,
- "z": "a911d5ff.5ac84",
+ "x": 2586,
+ "y": 3614,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "937a1753.6c2cd",
+ "id": "ba000585.cff088",
"type": "comment",
"name": "connectivity has not been created for middle domains, so we have to create one",
"info": "",
"comments": "",
- "x": 2577,
- "y": 3397,
- "z": "a911d5ff.5ac84",
+ "x": 2589,
+ "y": 3406,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "3fb48dac.724cba",
+ "id": "fe394c67.6a4738",
"type": "save",
"name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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/' + $uuid.connectivity-otnidx-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=\"`$uuid.connectivity-otnidx-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 2542,
- "y": 3664,
- "z": "a911d5ff.5ac84",
+ "x": 2554,
+ "y": 3673,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "62a1848.f7c8bfc",
+ "id": "822b4a87.c6d91",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2181,
- "y": 3472,
- "z": "a911d5ff.5ac84",
+ "x": 2193,
+ "y": 3481,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "ec243f0e.e78df8",
- "b5d0d456.d5e17",
- "1472c185.25ef66",
- "3fb48dac.724cba",
- "d9f949c2.b1be88",
- "d2c94e3.4db213"
+ "df45bcf4.ab6068",
+ "92ea7ec.b1b38",
+ "ab274de2.98aaf8",
+ "fe394c67.6a4738",
+ "b6a44371.9af948",
+ "c51d1d37.88a2f8"
]
]
},
{
- "id": "d9f949c2.b1be88",
+ "id": "b6a44371.9af948",
"type": "set",
"name": "set attachment_param domain otnidx",
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
"comments": "",
- "x": 2456,
- "y": 3724,
- "z": "a911d5ff.5ac84",
+ "x": 2468,
+ "y": 3733,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "ef8123f7.a43b88",
+ "id": "6f21b0a4.c1ba8",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",
"comments": "",
- "x": 392,
- "y": 2894,
- "z": "a911d5ff.5ac84",
+ "x": 404,
+ "y": 2903,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "36cc6c32.a7a5bc",
+ "id": "5f4f339e.018654",
"type": "set",
"name": "set srcTtp OTN layer",
"xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!-- $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!-- $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",
"comments": "",
- "x": 433,
- "y": 906,
- "z": "a911d5ff.5ac84",
+ "x": 445,
+ "y": 915,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "424b4783.7d233",
+ "id": "5ba25870.61d0e",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-B, in AAI",
"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-domainB-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-domainB-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 3025,
- "y": 3155,
- "z": "a911d5ff.5ac84",
+ "x": 3037,
+ "y": 3164,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "733089d7.e1acb",
+ "id": "ea374103.b6422",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-A, in AAI",
"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-domainA-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-domainA-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 2139,
- "y": 2911,
- "z": "a911d5ff.5ac84",
+ "x": 2151,
+ "y": 2920,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "d2c94e3.4db213",
+ "id": "c51d1d37.88a2f8",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",
"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/' + $uuid.connectivity-otnidx-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=\"`$uuid.connectivity-otnidx-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 2538,
- "y": 3551,
- "z": "a911d5ff.5ac84",
+ "x": 2550,
+ "y": 3560,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "a7261999.9881d8",
+ "id": "6512efb1.123b28",
"type": "switchNode",
"name": "switch found-middle-man?",
"xml": "<switch test='`$found-middle-man`'>\n",
"comments": "",
"outputs": 1,
- "x": 2357,
- "y": 3155,
- "z": "a911d5ff.5ac84",
+ "x": 2369,
+ "y": 3164,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "2bb32459.fcac64"
+ "4373daa0.a1c174"
]
]
},
{
- "id": "2bb32459.fcac64",
+ "id": "4373daa0.a1c174",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2544,
- "y": 3155,
- "z": "a911d5ff.5ac84",
+ "x": 2556,
+ "y": 3164,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "5a6ce6ad.7fc7a"
+ "11cd0588.41272a"
]
]
},
{
- "id": "6075d4e4.60740c",
+ "id": "84c92d78.7984b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2139,
- "y": 3205,
- "z": "a911d5ff.5ac84",
+ "x": 2151,
+ "y": 3214,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "7c7e82f.b5a9efc",
- "383da81a.536a28",
- "a7261999.9881d8"
+ "ef7c2251.5fe8a8",
+ "b19fce04.44ae8",
+ "6512efb1.123b28"
]
]
},
{
- "id": "7c7e82f.b5a9efc",
+ "id": "ef7c2251.5fe8a8",
"type": "save",
"name": "save connectivity-B relationship to vpn-binding-B, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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-domainB-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-domainB-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 2455,
- "y": 3253,
- "z": "a911d5ff.5ac84",
+ "x": 2467,
+ "y": 3262,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "383da81a.536a28",
+ "id": "b19fce04.44ae8",
"type": "set",
"name": "set attachment_param domain B",
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",
"comments": "",
- "x": 2382,
- "y": 3313,
- "z": "a911d5ff.5ac84",
+ "x": 2394,
+ "y": 3322,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "cddff981.827d58",
+ "id": "d80a0f45.0378e",
"type": "save",
"name": "get all-vpn-bindings from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",
"comments": "",
"outputs": 1,
- "x": 443,
- "y": 3913,
- "z": "a911d5ff.5ac84",
+ "x": 455,
+ "y": 3922,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "2d49e0b.d9e87a",
- "73d650d6.cd1c1",
- "77ce79ba.222c68"
+ "24e9e35d.66377c",
+ "ba022563.b1ca78",
+ "e3577813.56f32"
]
]
},
{
- "id": "2d49e0b.d9e87a",
+ "id": "24e9e35d.66377c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 631,
- "y": 3926,
- "z": "a911d5ff.5ac84",
+ "x": 643,
+ "y": 3935,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "886559d2.9d2008"
+ "b86628e9.5b571"
]
]
},
{
- "id": "73d650d6.cd1c1",
+ "id": "ba022563.b1ca78",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 631.490966796875,
- "y": 3971.5740356445312,
- "z": "a911d5ff.5ac84",
+ "x": 643.490966796875,
+ "y": 3980.5740356445312,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "22427bb5.1c0494"
+ "dd8f81c4.9e7f98"
]
]
},
{
- "id": "77ce79ba.222c68",
+ "id": "e3577813.56f32",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 629,
- "y": 4015,
- "z": "a911d5ff.5ac84",
+ "x": 641,
+ "y": 4024,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "8183af0e.979c3"
+ "7aca1801.7911a"
]
]
},
{
- "id": "886559d2.9d2008",
+ "id": "b86628e9.5b571",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 804,
- "y": 3924,
- "z": "a911d5ff.5ac84",
+ "x": 816,
+ "y": 3933,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "5d380762.82e9"
+ "247b0f83.24d55"
]
]
},
{
- "id": "22427bb5.1c0494",
+ "id": "dd8f81c4.9e7f98",
"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": 794.0623779296875,
- "y": 3971.8597717285156,
- "z": "a911d5ff.5ac84",
+ "x": 806.0623779296875,
+ "y": 3980.8597717285156,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "8183af0e.979c3",
+ "id": "7aca1801.7911a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 796,
- "y": 4014,
- "z": "a911d5ff.5ac84",
+ "x": 808,
+ "y": 4023,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "7aad5876.b17588",
+ "id": "be1c598f.c95108",
"type": "for",
"name": "for vidx..tmp.otninfo_length[]",
"xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 432,
- "y": 4104,
- "z": "a911d5ff.5ac84",
+ "x": 444,
+ "y": 4113,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "d9d281f0.871208"
+ "5abd279e.a9bea8"
]
]
},
{
- "id": "7032c836.ea98e",
+ "id": "42fde1a9.9a4a98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1242,
- "y": 4104,
- "z": "a911d5ff.5ac84",
+ "x": 1254,
+ "y": 4113,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "bcf06c77.b9d56"
+ "bf9e1c4b.a2ce9"
]
]
},
{
- "id": "d6fa6f89.c5ed98",
+ "id": "3cd4b283.9423f6",
"type": "for",
"name": "for vidx..tmp.otninfo_length[]",
"xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1014,
- "y": 4104,
- "z": "a911d5ff.5ac84",
+ "x": 1026,
+ "y": 4113,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "7032c836.ea98e"
+ "42fde1a9.9a4a98"
]
]
},
{
- "id": "5d380762.82e9",
+ "id": "247b0f83.24d55",
"type": "for",
"name": "for vpnidx in all-vpn-bindings",
"xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1033,
- "y": 3925,
- "z": "a911d5ff.5ac84",
+ "x": 1045,
+ "y": 3934,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "4b806fec.cf791"
+ "a4896672.ff36c8"
]
]
},
{
- "id": "4b806fec.cf791",
+ "id": "a4896672.ff36c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1248,
- "y": 3926,
- "z": "a911d5ff.5ac84",
+ "x": 1260,
+ "y": 3935,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "5269aed8.1067"
+ "f571db46.1bfcb"
]
]
},
{
- "id": "bcf06c77.b9d56",
+ "id": "bf9e1c4b.a2ce9",
"type": "set",
"name": "set attachment_param sliceG",
"xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].request-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].request-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].bw-odu`' value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].bw-odu`\" />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].src-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].src-ttp-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].dst-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].dst-ttp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='otn-tunnel-sliceG-list_length' value='`$stunidx + 1`' />\n\n\n<parameter name=\"tmp.domainG.restapiUrl\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainurl`\" />\n<parameter name=\"tmp.domainG.restapiUser\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainuser`\" />\n<parameter name=\"tmp.domainG.restapiPassword\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainpassword`\" />",
"comments": "",
- "x": 1495,
- "y": 4102,
- "z": "a911d5ff.5ac84",
+ "x": 1507,
+ "y": 4111,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "678bb9be.2e7528",
+ "id": "5df62aff.b0027c",
"type": "execute",
"name": "execute RestApiCallNode sliceG creation domainG",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceG-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.domainG.restapiUrl + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$tmp.domainG.restapiUser`\" />\n<parameter name=\"restapiPassword\" value=\"`tmp.domainG.restapiPassword`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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=' + $prop.sdncRestApi.token_id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1080,
- "y": 4210,
- "z": "a911d5ff.5ac84",
+ "x": 1092,
+ "y": 4219,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "273fc863.468be8",
- "6eaa45ca.9bba14"
+ "e89a613f.801198",
+ "c394a514.3653"
]
]
},
{
- "id": "6eaa45ca.9bba14",
+ "id": "c394a514.3653",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1363,
- "y": 4190,
- "z": "a911d5ff.5ac84",
+ "x": 1375,
+ "y": 4199,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "562a3e0b.c715a8"
+ "ba5b687c.dd6a6"
]
]
},
{
- "id": "273fc863.468be8",
+ "id": "e89a613f.801198",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1364.0002136230469,
- "y": 4240.99990940094,
- "z": "a911d5ff.5ac84",
+ "x": 1376.0002136230469,
+ "y": 4249.99990940094,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "3cb4038b.3f740c"
+ "b0106af6.430b1"
]
]
},
{
- "id": "562a3e0b.c715a8",
+ "id": "ba5b687c.dd6a6",
"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=\"Error executing slice creation api for domain A\" />\n",
"comments": "",
- "x": 1503.0002479553223,
- "y": 4190.000000953674,
- "z": "a911d5ff.5ac84",
+ "x": 1515.0002479553223,
+ "y": 4199.000000953674,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "3cb4038b.3f740c",
+ "id": "b0106af6.430b1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1509.0272598266602,
- "y": 4238.745394706726,
- "z": "a911d5ff.5ac84",
+ "x": 1521.0272598266602,
+ "y": 4247.745394706726,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "d9d281f0.871208",
+ "id": "5abd279e.a9bea8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 664,
- "y": 4102,
- "z": "a911d5ff.5ac84",
+ "x": 676,
+ "y": 4111,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "d6fa6f89.c5ed98",
- "678bb9be.2e7528"
+ "3cd4b283.9423f6",
+ "5df62aff.b0027c"
]
]
},
{
- "id": "5269aed8.1067",
+ "id": "f571db46.1bfcb",
"type": "switchNode",
"name": "switch vpnuuid is for this slice",
"xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1492,
- "y": 3925,
- "z": "a911d5ff.5ac84",
+ "x": 1504,
+ "y": 3934,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "ff386dcd.32782",
- "224e1e2e.4d20a2"
+ "10584e74.11a9e2",
+ "3270eb36.2e6c2c"
]
]
},
{
- "id": "502add97.5e708c",
+ "id": "cbeb21d2.528fb",
"type": "set",
"name": "set providerValue",
"xml": "<set>\n<parameter name='providerValue' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].access-provider-id`' />\n<parameter name='found' value='false' />\n\n\n",
"comments": "",
- "x": 2134,
- "y": 3871,
- "z": "a911d5ff.5ac84",
+ "x": 2146,
+ "y": 3880,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "521605a6.12e2d4",
+ "id": "7855d996.5f07",
"type": "switchNode",
"name": "switch $tmp.arr_length != 0",
"xml": "<switch test='`$tmp.arr_length != 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 2167,
- "y": 3926,
- "z": "a911d5ff.5ac84",
+ "x": 2179,
+ "y": 3935,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "b6840948.dcaf28",
- "16f9a591.80cc1a"
+ "be28c030.0047c",
+ "f9d12f18.1e0e1"
]
]
},
{
- "id": "b6840948.dcaf28",
+ "id": "be28c030.0047c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2363,
- "y": 3896,
- "z": "a911d5ff.5ac84",
+ "x": 2375,
+ "y": 3905,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "d20ee31a.4da818"
+ "cca5c1e0.c9e418"
]
]
},
{
- "id": "16f9a591.80cc1a",
+ "id": "f9d12f18.1e0e1",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2364,
- "y": 3967,
- "z": "a911d5ff.5ac84",
+ "x": 2376,
+ "y": 3976,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "932a25a5.21db58"
+ "1c2a1c2d.eddd2c"
]
]
},
{
- "id": "ff386dcd.32782",
+ "id": "10584e74.11a9e2",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1709,
- "y": 3904,
- "z": "a911d5ff.5ac84",
+ "x": 1721,
+ "y": 3913,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "fa5ee789.0417f8"
+ "66fe7551.116524"
]
]
},
{
- "id": "224e1e2e.4d20a2",
+ "id": "3270eb36.2e6c2c",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1709,
- "y": 3953,
- "z": "a911d5ff.5ac84",
+ "x": 1721,
+ "y": 3962,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "fa5ee789.0417f8",
+ "id": "66fe7551.116524",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1877,
- "y": 3904,
- "z": "a911d5ff.5ac84",
+ "x": 1889,
+ "y": 3913,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "502add97.5e708c",
- "521605a6.12e2d4"
+ "cbeb21d2.528fb",
+ "7855d996.5f07"
]
]
},
{
- "id": "d20ee31a.4da818",
+ "id": "cca5c1e0.c9e418",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2514,
- "y": 3894,
- "z": "a911d5ff.5ac84",
+ "x": 2526,
+ "y": 3903,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "4f6df904.ee87c",
- "66254394.195084"
+ "6021fe00.cf5b38",
+ "3ee35cda.cacc94"
]
]
},
{
- "id": "932a25a5.21db58",
+ "id": "1c2a1c2d.eddd2c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2516,
- "y": 3967,
- "z": "a911d5ff.5ac84",
+ "x": 2528,
+ "y": 3976,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "de1fa04c.85c2d",
- "2aeb6e74.e24be2"
+ "b88403d3.b550c",
+ "df79ce65.0d4e"
]
]
},
{
- "id": "4f6df904.ee87c",
+ "id": "6021fe00.cf5b38",
"type": "for",
"name": "for arridx in tmp.arr",
"xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2701,
- "y": 3846,
- "z": "a911d5ff.5ac84",
+ "x": 2713,
+ "y": 3855,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "e9ecc81b.49bbd"
+ "70402202.48ed14"
]
]
},
{
- "id": "e9ecc81b.49bbd",
+ "id": "70402202.48ed14",
"type": "switchNode",
"name": "switch tmp.arr[$arridx] == $providerValue",
"xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",
"comments": "",
"outputs": 1,
- "x": 2992,
- "y": 3846,
- "z": "a911d5ff.5ac84",
+ "x": 3004,
+ "y": 3855,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "42d5ed25.b49c94",
- "c705b865.d0eb4"
+ "f629fdf.6a8538",
+ "a317d92b.3b0b18"
]
]
},
{
- "id": "42d5ed25.b49c94",
+ "id": "f629fdf.6a8538",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3267,
- "y": 3815,
- "z": "a911d5ff.5ac84",
+ "x": 3279,
+ "y": 3824,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "5660632c.265cdc"
+ "a51325a8.b7388"
]
]
},
{
- "id": "c705b865.d0eb4",
+ "id": "a317d92b.3b0b18",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3268,
- "y": 3886,
- "z": "a911d5ff.5ac84",
+ "x": 3280,
+ "y": 3895,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "a7a2aba3.cd08b8"
+ "9d65717e.a373d"
]
]
},
{
- "id": "5660632c.265cdc",
+ "id": "a51325a8.b7388",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3418,
- "y": 3813,
- "z": "a911d5ff.5ac84",
+ "x": 3430,
+ "y": 3822,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "99e18478.d4208",
- "c48a358e.19c528",
- "23bf4d27.c1b37a",
- "85bd9e57.66c34",
- "747fe7dc.036f4"
+ "3791e48.3b8af9c",
+ "a673fd66.c40df",
+ "86199d64.75edc8",
+ "51a35674.c610f8",
+ "445052f3.f38194"
]
]
},
{
- "id": "de1fa04c.85c2d",
+ "id": "b88403d3.b550c",
"type": "save",
"name": "store $arridx somewhere in vpn-binding",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='0' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2771,
- "y": 3960,
- "z": "a911d5ff.5ac84",
+ "x": 2783,
+ "y": 3969,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "2aeb6e74.e24be2",
+ "id": "df79ce65.0d4e",
"type": "set",
"name": "set twoD array",
"xml": "<set>\n<parameter name='tmp.arr[0]' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='1' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[0].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[0].list_length' value='1' />\n\n",
"comments": "",
- "x": 2699,
- "y": 4007,
- "z": "a911d5ff.5ac84",
+ "x": 2711,
+ "y": 4016,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "66254394.195084",
+ "id": "3ee35cda.cacc94",
"type": "switchNode",
"name": "switch found?",
"xml": "<switch test='`$found`'>\n",
"comments": "",
"outputs": 1,
- "x": 2692,
- "y": 3891,
- "z": "a911d5ff.5ac84",
+ "x": 2704,
+ "y": 3900,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "6f0ec490.03677c",
- "bc11802a.75d5c8"
+ "b2a6fca5.77cd68",
+ "c6caa4c6.b68ae"
]
]
},
{
- "id": "6f0ec490.03677c",
+ "id": "b2a6fca5.77cd68",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2852,
- "y": 3883,
- "z": "a911d5ff.5ac84",
+ "x": 2864,
+ "y": 3892,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "843f963d.3c00d"
+ "697e3e96.9c5648"
]
]
},
{
- "id": "bc11802a.75d5c8",
+ "id": "c6caa4c6.b68ae",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2850,
- "y": 3920,
- "z": "a911d5ff.5ac84",
+ "x": 2862,
+ "y": 3929,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "f82ccccf.a16c6"
+ "c8a03883.695728"
]
]
},
{
- "id": "843f963d.3c00d",
+ "id": "697e3e96.9c5648",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2977,
- "y": 3883,
- "z": "a911d5ff.5ac84",
+ "x": 2989,
+ "y": 3892,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "dc11c549.4cf3f",
+ "id": "7ed231c3.f2fd1",
"type": "save",
"name": "store $arridx+1 somewhere in vpn-binding",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx + 1`' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3284,
- "y": 3941,
- "z": "a911d5ff.5ac84",
+ "x": 3296,
+ "y": 3950,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "f82ccccf.a16c6",
+ "id": "c8a03883.695728",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3010,
- "y": 3928,
- "z": "a911d5ff.5ac84",
+ "x": 3022,
+ "y": 3937,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "dc11c549.4cf3f",
- "3879ac46.8861b4"
+ "7ed231c3.f2fd1",
+ "2d908152.4ff6a6"
]
]
},
{
- "id": "3879ac46.8861b4",
+ "id": "2d908152.4ff6a6",
"type": "set",
"name": "set twoD array",
"xml": "<set>\n<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list_length`' value='1' />\n\n",
"comments": "",
- "x": 3201,
- "y": 3987,
- "z": "a911d5ff.5ac84",
+ "x": 3213,
+ "y": 3996,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "a7a2aba3.cd08b8",
+ "id": "9d65717e.a373d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3401,
- "y": 3885,
- "z": "a911d5ff.5ac84",
+ "x": 3413,
+ "y": 3894,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "99e18478.d4208",
+ "id": "3791e48.3b8af9c",
"type": "set",
"name": "set found to true",
"xml": "<set>\n<parameter name='found' value='true' />\n\n\n",
"comments": "",
- "x": 3606,
- "y": 3773,
- "z": "a911d5ff.5ac84",
+ "x": 3618,
+ "y": 3782,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "c48a358e.19c528",
+ "id": "a673fd66.c40df",
"type": "save",
"name": "store $arridx somewhere in vpn-binding",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx`' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3678,
- "y": 3818,
- "z": "a911d5ff.5ac84",
+ "x": 3690,
+ "y": 3827,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "747fe7dc.036f4",
+ "id": "445052f3.f38194",
"type": "set",
"name": "set twoD arr",
"xml": "<set>\n\n<!--<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />-->\n<!--<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />-->\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<!--<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />-->\n<parameter name='`otn-tunnel-slice[$arridx].list_length`' value='`$sizeOfSliceList + 1`' />\n\n",
"comments": "",
- "x": 3593,
- "y": 3945,
- "z": "a911d5ff.5ac84",
+ "x": 3605,
+ "y": 3954,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "85bd9e57.66c34",
+ "id": "51a35674.c610f8",
"type": "set",
"name": "set sizeOfSliceList",
"xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",
"comments": "",
- "x": 3614,
- "y": 3881,
- "z": "a911d5ff.5ac84",
+ "x": 3626,
+ "y": 3890,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "23bf4d27.c1b37a",
+ "id": "86199d64.75edc8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 3572,
- "y": 4012,
- "z": "a911d5ff.5ac84",
+ "x": 3584,
+ "y": 4021,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "c99e01d1.0f1de8",
+ "id": "6a22d3fb.3389bc",
"type": "comment",
"name": "Important Comment",
"info": "When we are in F1, it means that, either:\nno-middle-man found\nor\nmiddle-man was found but PCE is needed.\n\nNo matter which scenario brings us to F1, vpn-binding-B is a \nnew vpn-binding so it needs to be attached to the:\nmiddle-man && connectivityB",
"comments": "",
- "x": 2352,
- "y": 3202,
- "z": "a911d5ff.5ac84",
+ "x": 2364,
+ "y": 3211,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "11040b46.8e035d",
+ "id": "13d7f319.f10ffd",
"type": "set",
"name": "set srcTtp+dstTtp pair",
"xml": "<set>\n<parameter name='tmp.srcTtpdstTtpPair' value=\"`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id + ',' +\n $tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`\" />\n\n\n",
"comments": "",
- "x": 1498,
- "y": 1259,
- "z": "a911d5ff.5ac84",
+ "x": 1510,
+ "y": 1268,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "3e17d72f.d352d",
+ "id": "9673bbc9.e232d8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 1691,
- "y": 1356,
- "z": "a911d5ff.5ac84",
+ "x": 1703,
+ "y": 1365,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "130409d7.ba1cfe",
+ "id": "fe43d4e7.2e266",
"type": "set",
"name": "set current-provider-id and current-cvlan-id",
"xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$tmp.access-provider-id`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n",
"comments": "",
- "x": 1562,
- "y": 1310,
- "z": "a911d5ff.5ac84",
+ "x": 1574,
+ "y": 1319,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "1ea79a81.da9f1d",
+ "id": "8c1ff0ec.d0238",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1371,
- "y": 1511,
- "z": "a911d5ff.5ac84",
+ "x": 1383,
+ "y": 1520,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "1956e28a.ad4365",
- "404765c9.b1c294"
+ "43f2090.27bb178",
+ "78a0670.cf2d998"
]
]
},
{
- "id": "1956e28a.ad4365",
+ "id": "43f2090.27bb178",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1657,
- "y": 2330,
- "z": "a911d5ff.5ac84",
+ "x": 1669,
+ "y": 2339,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "cd58f3fe.5b5bd"
+ "c80f5b2c.e8799"
]
]
},
{
- "id": "e6504cf8.a4c5e",
+ "id": "340621d.c4a9c5e",
"type": "comment",
"name": "call string.contains to check if the cache has srcTtpdstTtpPair",
"info": "if it had: then no new otn/vpn-binding is needed\n ==> find the otn. ==>look into the relationships of this connectivity and find the one that has same srcTtp and dstTtp\n ==> increase the bw\nif not, create a new vpn-binding, attach this vpn-binding into the founded connectivity, and attach it to the middle-man-conn as well.",
"comments": "",
- "x": 2083,
- "y": 2275,
- "z": "a911d5ff.5ac84",
+ "x": 2095,
+ "y": 2284,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "8c480e3.f82397",
+ "id": "b5382f7e.2bd898",
"type": "comment",
"name": "create a new connectivity",
"info": "(this should not be for LEAF side or ROOT side, otherwise error)\n\ncreate a new vpn-binding (done here)\ncreate a new connectivity (done below)\nadd srcTtpdstTtpPair into the cache in this connectivity\nattach the vpn-binding into the connectivity relationship\nattach this connectivity into the middle man\nattach this connectivity into the service-instance",
"comments": "",
- "x": 1894,
- "y": 1487,
- "z": "a911d5ff.5ac84",
+ "x": 1906,
+ "y": 1496,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "b5847157.d9e138",
+ "id": "be6ceee2.825c9",
"type": "save",
"name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 1997,
- "y": 1523,
- "z": "a911d5ff.5ac84",
+ "x": 2009,
+ "y": 1532,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "dff931e6.5a9578"
+ "cf21392c.4841d8"
]
]
},
{
- "id": "dff931e6.5a9578",
+ "id": "cf21392c.4841d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2285,
- "y": 1524,
- "z": "a911d5ff.5ac84",
+ "x": 2297,
+ "y": 1533,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "bf3d635b.09f94"
+ "7f292268.acccbc"
]
]
},
{
- "id": "bf3d635b.09f94",
+ "id": "7f292268.acccbc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2468.5,
- "y": 1522.25390625,
- "z": "a911d5ff.5ac84",
+ "x": 2480.5,
+ "y": 1531.25390625,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "6cbdac8a.378604",
+ "id": "16c5a50f.2f8633",
"type": "execute",
"name": "execute string.contains srcTtpdstTtpPair",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n<parameter name=\"source\" value='`$tmp.the-connectivity.coupling-flag`'/>\n<parameter name=\"target\" value=\"`$tmp.srcTtpdstTtpPair`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2071,
- "y": 2327,
- "z": "a911d5ff.5ac84",
+ "x": 2083,
+ "y": 2336,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "1b949e6d.080772",
- "e453c4d5.ba435"
+ "452b77d1.b4f2a8",
+ "b1806606.25c148"
]
]
},
{
- "id": "1b949e6d.080772",
+ "id": "452b77d1.b4f2a8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2244,
- "y": 2175,
- "z": "a911d5ff.5ac84",
+ "x": 2256,
+ "y": 2184,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "e453c4d5.ba435",
+ "id": "b1806606.25c148",
"type": "outcomeFalse",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2276,
- "y": 2434,
- "z": "a911d5ff.5ac84",
+ "x": 2288,
+ "y": 2443,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "80b2f89e.8a165"
+ "28b98f8a.d66ba8"
]
]
},
{
- "id": "7dc11394.4d1084",
+ "id": "65dfad8a.1bcc14",
"type": "save",
"name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 2683,
- "y": 1965,
- "z": "a911d5ff.5ac84",
+ "x": 2695,
+ "y": 1974,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "22dcb38b.c85a54"
+ "685af2d8.b662dc"
]
]
},
{
- "id": "22dcb38b.c85a54",
+ "id": "685af2d8.b662dc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2987,
- "y": 1962,
- "z": "a911d5ff.5ac84",
+ "x": 2999,
+ "y": 1971,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "708eeb6a.f5aefc"
+ "edef5d31.f27bb8"
]
]
},
{
- "id": "708eeb6a.f5aefc",
+ "id": "edef5d31.f27bb8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3137.5,
- "y": 1969.25390625,
- "z": "a911d5ff.5ac84",
+ "x": 3149.5,
+ "y": 1978.25390625,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "74407b46.6458d4",
+ "id": "fca1e078.90281",
"type": "execute",
"name": "execute UUID generator for connectivity domain otnidx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1977,
- "y": 1578,
- "z": "a911d5ff.5ac84",
+ "x": 1989,
+ "y": 1587,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "3919fe25.6022b2",
+ "id": "84e90fcb.be7ce",
"type": "save",
"name": "save connectivity resource in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\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='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\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\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-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",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\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='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\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\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-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",
"comments": "",
"outputs": 1,
- "x": 1915,
- "y": 1628,
- "z": "a911d5ff.5ac84",
+ "x": 1927,
+ "y": 1637,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "7aa6415.034e74",
+ "id": "548a399a.3a9a1",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",
"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/' + $uuid.connectivity-otnidx-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=\"`$uuid.connectivity-otnidx-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 2016,
- "y": 1673,
- "z": "a911d5ff.5ac84",
+ "x": 2028,
+ "y": 1682,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "e6bc04b6.f68c7",
+ "id": "ea27a84e.a57e98",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"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/' + $uuid.connectivity-otnidx-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=\"`$uuid.connectivity-otnidx-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`\" />-->",
"comments": "",
"outputs": 1,
- "x": 2052,
- "y": 1727,
- "z": "a911d5ff.5ac84",
+ "x": 2064,
+ "y": 1736,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "b2ea866b.5e679",
+ "id": "688a1580.c26934",
"type": "save",
"name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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/' + $uuid.connectivity-otnidx-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=\"`$uuid.connectivity-otnidx-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 2020,
- "y": 1786,
- "z": "a911d5ff.5ac84",
+ "x": 2032,
+ "y": 1795,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "e878616a.51fa2",
+ "id": "ab8e2668.029e08",
"type": "comment",
"name": "find middle-man's eth-srv-name",
"info": "",
"comments": "",
- "x": 1478,
- "y": 1402,
- "z": "a911d5ff.5ac84",
+ "x": 1490,
+ "y": 1411,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "f0ca8ca2.d5c31",
+ "id": "84f3d24d.36c17",
"type": "set",
"name": "set prop.ethernet-service-name",
"xml": "<set>\n<parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />\n\n",
"comments": "",
- "x": 1500,
- "y": 1446,
- "z": "a911d5ff.5ac84",
+ "x": 1512,
+ "y": 1455,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "55a4c230.fd03fc",
+ "id": "ae53151f.a2887",
"type": "save",
"name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI",
"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/' + $tmp.the-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.the-connectivity.connectivity-id`\" />",
"comments": "",
"outputs": 1,
- "x": 2707,
- "y": 2182,
- "z": "a911d5ff.5ac84",
+ "x": 2719,
+ "y": 2191,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "8a76ccc1.2cd108",
+ "id": "4e7cd680.120818",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"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/' + $uuid.connectivity-otnidx-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=\"`$uuid.connectivity-otnidx-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`\" />-->",
"comments": "",
"outputs": 1,
- "x": 2738,
- "y": 2221,
- "z": "a911d5ff.5ac84",
+ "x": 2750,
+ "y": 2230,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "1837f35e.96c455",
+ "id": "ecdbcb6.a92d738",
"type": "save",
"name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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.the-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.the-connectivity.connectivity-id`\" />",
"comments": "",
"outputs": 1,
- "x": 2709,
- "y": 2294,
- "z": "a911d5ff.5ac84",
+ "x": 2721,
+ "y": 2303,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "f94cb118.7c3c88",
+ "id": "82dff351.eb0b18",
"type": "comment",
"name": "update the founded connectivity to have a new coupling-flag",
"info": "",
"comments": "",
- "x": 2679,
- "y": 2010,
- "z": "a911d5ff.5ac84",
+ "x": 2691,
+ "y": 2019,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "12e95810.e72c78",
+ "id": "4af074ca.bd591c",
"type": "set",
"name": "set newFlag",
"xml": "<set>\n<parameter name='tmp.newFlag' value=\"`$tmp.the-connectivity.coupling-flag + '-' +\n $tmp.srcTtpdstTtpPair`\" />\n\n\n",
"comments": "",
- "x": 2565,
- "y": 2049,
- "z": "a911d5ff.5ac84",
+ "x": 2577,
+ "y": 2058,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "33021018.a90398",
+ "id": "5e632476.eb799c",
"type": "save",
"name": "update connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='coupling-flag' value='`$tmp.newFlag`' />\n",
"comments": "",
"outputs": 1,
- "x": 2629,
- "y": 2094,
- "z": "a911d5ff.5ac84",
+ "x": 2641,
+ "y": 2103,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
},
{
- "id": "75b8be3d.85a8b8",
+ "id": "6b3b57c6.7c8f5",
"type": "comment",
"name": "the following two relationships should have already been there; if not => error",
"info": "",
"comments": "",
- "x": 2721,
- "y": 2144,
- "z": "a911d5ff.5ac84",
+ "x": 2733,
+ "y": 2153,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "158258b6.b1e20f",
+ "id": "453ea410.800c04",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1707,
- "y": 1511,
- "z": "a911d5ff.5ac84",
+ "x": 1719,
+ "y": 1520,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "b5847157.d9e138",
- "74407b46.6458d4",
- "3919fe25.6022b2",
- "7aa6415.034e74",
- "e6bc04b6.f68c7",
- "b2ea866b.5e679"
+ "be6ceee2.825c9",
+ "fca1e078.90281",
+ "84e90fcb.be7ce",
+ "548a399a.3a9a1",
+ "ea27a84e.a57e98",
+ "688a1580.c26934"
]
]
},
{
- "id": "404765c9.b1c294",
+ "id": "78a0670.cf2d998",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1569,
- "y": 1507,
- "z": "a911d5ff.5ac84",
+ "x": 1581,
+ "y": 1516,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "158258b6.b1e20f"
+ "453ea410.800c04"
]
]
},
{
- "id": "cd58f3fe.5b5bd",
+ "id": "c80f5b2c.e8799",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2367,
- "y": 1974,
- "z": "a911d5ff.5ac84",
+ "x": 2379,
+ "y": 1983,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "7dc11394.4d1084",
- "12e95810.e72c78",
- "33021018.a90398",
- "1837f35e.96c455"
+ "65dfad8a.1bcc14",
+ "4af074ca.bd591c",
+ "5e632476.eb799c",
+ "ecdbcb6.a92d738"
]
]
},
{
- "id": "af6449ff.709108",
+ "id": "f5aa86ab.3de758",
"type": "comment",
"name": "loop through the relationships of this founded connectivity, then",
"info": "then find the vpn-binding that has same src ttp and dst ttp as this one",
"comments": "",
- "x": 2372,
- "y": 2399,
- "z": "a911d5ff.5ac84",
+ "x": 2384,
+ "y": 2408,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "e1d6f3c3.08e8e8",
+ "id": "8608bc09.df0608",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='tcridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 2714,
- "y": 2435,
- "z": "a911d5ff.5ac84",
+ "x": 2726,
+ "y": 2444,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "32ed93c7.c50234"
+ "5d08ac03.36d834"
]
]
},
{
- "id": "32ed93c7.c50234",
+ "id": "5d08ac03.36d834",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2926,
- "y": 2433,
- "z": "a911d5ff.5ac84",
+ "x": 2938,
+ "y": 2442,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "6fea52d2.2a0434"
+ "d7fbd393.802b28"
]
]
},
{
- "id": "6fea52d2.2a0434",
+ "id": "d7fbd393.802b28",
"type": "outcome",
"name": "vpn-binding",
"xml": "<outcome value='vpn-binding'>\n",
"comments": "",
"outputs": 1,
- "x": 3110,
- "y": 2431,
- "z": "a911d5ff.5ac84",
+ "x": 3122,
+ "y": 2440,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "37563c96.a6fb74"
+ "7b17a25c.8a3ecc"
]
]
},
{
- "id": "37563c96.a6fb74",
+ "id": "7b17a25c.8a3ecc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3289,
- "y": 2436,
- "z": "a911d5ff.5ac84",
+ "x": 3301,
+ "y": 2445,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "91050f7b.03c5c",
- "30dac6e0.2f0b42"
+ "404536aa.fd072",
+ "ebe21a38.772d1"
]
]
},
{
- "id": "30dac6e0.2f0b42",
+ "id": "ebe21a38.772d1",
"type": "set",
"name": "unset tmp.aai.vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
"comments": "",
- "x": 3506,
- "y": 2367,
- "z": "a911d5ff.5ac84",
+ "x": 3518,
+ "y": 2376,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "91050f7b.03c5c",
+ "id": "404536aa.fd072",
"type": "save",
"name": "get vpn-binding from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$tcridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
"comments": "",
"outputs": 1,
- "x": 3499,
- "y": 2453,
- "z": "a911d5ff.5ac84",
+ "x": 3511,
+ "y": 2462,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "f42d3c95.007658",
- "d20958c8.44b1d",
- "dc1061ac.3194b8"
+ "82eb023b.8b6878",
+ "3917c696.d9cc82",
+ "ad895865.ea3bc8"
]
]
},
{
- "id": "d20958c8.44b1d",
+ "id": "3917c696.d9cc82",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3712.490966796875,
- "y": 2437.5740356445312,
- "z": "a911d5ff.5ac84",
+ "x": 3724.490966796875,
+ "y": 2446.5740356445312,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "266b5e5.4c2c022"
+ "33dd47ac.b200d"
]
]
},
{
- "id": "266b5e5.4c2c022",
+ "id": "33dd47ac.b200d",
"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": 3875.0625,
- "y": 2436.8597412109375,
- "z": "a911d5ff.5ac84",
+ "x": 3887.0625,
+ "y": 2445.8597412109375,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "ce39d5ca.3eb7",
+ "id": "49f1ea3b.eabc34",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3876,
- "y": 2482,
- "z": "a911d5ff.5ac84",
+ "x": 3888,
+ "y": 2491,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "dc1061ac.3194b8",
+ "id": "ad895865.ea3bc8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3708,
- "y": 2482,
- "z": "a911d5ff.5ac84",
+ "x": 3720,
+ "y": 2491,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "ce39d5ca.3eb7"
+ "49f1ea3b.eabc34"
]
]
},
{
- "id": "f42d3c95.007658",
+ "id": "82eb023b.8b6878",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3710,
- "y": 2542,
- "z": "a911d5ff.5ac84",
+ "x": 3722,
+ "y": 2551,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "2eba9c97.d9e8d4"
+ "cb43f8c5.5d2f9"
]
]
},
{
- "id": "2eba9c97.d9e8d4",
+ "id": "cb43f8c5.5d2f9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3879,
- "y": 2541,
- "z": "a911d5ff.5ac84",
+ "x": 3891,
+ "y": 2550,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "7126e3c.be80d9c"
+ "b8d3290b.70429"
]
]
},
{
- "id": "80b2f89e.8a165",
+ "id": "28b98f8a.d66ba8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2503,
- "y": 2433,
- "z": "a911d5ff.5ac84",
+ "x": 2515,
+ "y": 2442,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "e1d6f3c3.08e8e8",
- "13b057e7.5ede5",
- "8583f674.cce2c"
+ "8608bc09.df0608",
+ "57ababe0.ec3414",
+ "52276af3.2f9a4c"
]
]
},
{
- "id": "7126e3c.be80d9c",
+ "id": "b8d3290b.70429",
"type": "switchNode",
"name": "switch srcTtp",
"xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id == $tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 4078,
- "y": 2542,
- "z": "a911d5ff.5ac84",
+ "x": 4090,
+ "y": 2551,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "379157c3.0db038"
+ "4ce3e8eb.f24da8"
]
]
},
{
- "id": "379157c3.0db038",
+ "id": "4ce3e8eb.f24da8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4241,
- "y": 2540,
- "z": "a911d5ff.5ac84",
+ "x": 4253,
+ "y": 2549,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "45526f50.00e348"
+ "18f785cc.cf347a"
]
]
},
{
- "id": "45526f50.00e348",
+ "id": "18f785cc.cf347a",
"type": "switchNode",
"name": "switch dstTtp",
"xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id == $tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 4422,
- "y": 2540,
- "z": "a911d5ff.5ac84",
+ "x": 4434,
+ "y": 2549,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "2e6d0f9b.a0852"
+ "988f1cd5.aa027"
]
]
},
{
- "id": "2e6d0f9b.a0852",
+ "id": "988f1cd5.aa027",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4585,
- "y": 2538,
- "z": "a911d5ff.5ac84",
+ "x": 4597,
+ "y": 2547,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "6b6a34b7.0f115c"
+ "9caa890d.344aa8"
]
]
},
{
- "id": "22e286e0.93668a",
+ "id": "dd1b26b2.35eef",
"type": "set",
"name": "set tmp.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='`$tmp.aai.vpn-binding.`' />\n",
"comments": "",
- "x": 4942,
- "y": 2545,
- "z": "a911d5ff.5ac84",
+ "x": 4954,
+ "y": 2554,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "6b6a34b7.0f115c",
+ "id": "9caa890d.344aa8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4724,
- "y": 2537,
- "z": "a911d5ff.5ac84",
+ "x": 4736,
+ "y": 2546,
+ "z": "4fb14ce0.40eb24",
"wires": [
[
- "22e286e0.93668a",
- "db1e7b85.850cb8"
+ "dd1b26b2.35eef",
+ "69c80295.f3b48c"
]
]
},
{
- "id": "db1e7b85.850cb8",
+ "id": "69c80295.f3b48c",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4888,
- "y": 2589,
- "z": "a911d5ff.5ac84",
+ "x": 4900,
+ "y": 2598,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "13b057e7.5ede5",
+ "id": "57ababe0.ec3414",
"type": "set",
"name": "unset tmp.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",
"comments": "",
- "x": 2724,
- "y": 2396,
- "z": "a911d5ff.5ac84",
+ "x": 2736,
+ "y": 2405,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "8d0325f2.b257c",
+ "id": "b81a7ea3.f58288",
"type": "comment",
"name": "increase the bw of the-vpn-binding and change status to modified",
"info": "increase the bw of the-vpn-binding\nchange status to modified\n",
"comments": "",
- "x": 2813,
- "y": 2570,
- "z": "a911d5ff.5ac84",
+ "x": 2825,
+ "y": 2579,
+ "z": "4fb14ce0.40eb24",
"wires": []
},
{
- "id": "8583f674.cce2c",
+ "id": "52276af3.2f9a4c",
"type": "save",
"name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`($tmp.the-vpn-binding.customer-vpn-id + $gfp)`' />\n\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2783,
- "y": 2630,
- "z": "a911d5ff.5ac84",
+ "x": 2795,
+ "y": 2639,
+ "z": "4fb14ce0.40eb24",
"wires": [
[]
]
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json
new file mode 100644
index 00000000..5fb89455
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json
@@ -0,0 +1,1099 @@
+[
+ {
+ "id": "931a69bb.dae57",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 158,
+ "y": 111,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "631f62d5.74088c"
+ ]
+ ]
+ },
+ {
+ "id": "631f62d5.74088c",
+ "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": 289.2856903076172,
+ "y": 160.23810863494873,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "b7a67e25.a3d65"
+ ]
+ ]
+ },
+ {
+ "id": "b7a67e25.a3d65",
+ "type": "method",
+ "name": "method cll-vnf-topology-operation-cll-delete",
+ "xml": "<method rpc='cll-vnf-topology-operation-cll-delete' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 292.4286193847656,
+ "y": 245.00003242492676,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "bcc86fda.38b13"
+ ]
+ ]
+ },
+ {
+ "id": "bcc86fda.38b13",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 442.238037109375,
+ "y": 374.6666564941406,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "f53defcd.3a7dd",
+ "c20e131e.73b7b",
+ "d160ef14.daae98"
+ ]
+ ]
+ },
+ {
+ "id": "f53defcd.3a7dd",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 716.5716552734375,
+ "y": 641.59716796875,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "c20e131e.73b7b",
+ "type": "save",
+ "name": "get service-instance from aai",
+ "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='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\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--vnf-topology-operation-input.service-information.service-instance-id-->",
+ "comments": "",
+ "outputs": 1,
+ "x": 768,
+ "y": 412,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "73ebc7bf.bf03e8",
+ "4161fc92.ab54b4",
+ "f0a5f72e.4756d"
+ ]
+ ]
+ },
+ {
+ "id": "73ebc7bf.bf03e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 987,
+ "y": 350,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "5b569a16.745f1c"
+ ]
+ ]
+ },
+ {
+ "id": "4161fc92.ab54b4",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 996.490966796875,
+ "y": 392.57403564453125,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "8782adc7.ab141"
+ ]
+ ]
+ },
+ {
+ "id": "f0a5f72e.4756d",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 985,
+ "y": 439,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "ecf8d005.e02b48"
+ ]
+ ]
+ },
+ {
+ "id": "8782adc7.ab141",
+ "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": 1150.0623779296875,
+ "y": 395.8597717285156,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "ecf8d005.e02b48",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1154,
+ "y": 440,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "5b569a16.745f1c",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1184,
+ "y": 346,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "25ca27fd.dbc988"
+ ]
+ ]
+ },
+ {
+ "id": "25ca27fd.dbc988",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1407.33349609375,
+ "y": 345.99993896484375,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "f6a0c4df.5c0238"
+ ]
+ ]
+ },
+ {
+ "id": "f6a0c4df.5c0238",
+ "type": "outcome",
+ "name": "connectivity",
+ "xml": "<outcome value='connectivity'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1587.0001220703125,
+ "y": 346.0000305175781,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "b1afa8c.9d08258"
+ ]
+ ]
+ },
+ {
+ "id": "d160ef14.daae98",
+ "type": "execute",
+ "name": "execute properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 734,
+ "y": 360,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b1afa8c.9d08258",
+ "type": "save",
+ "name": "get connectivity from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1787,
+ "y": 346,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "c3a2010c.f5d48",
+ "fb144142.e9ac68",
+ "ba20a9b3.14be2"
+ ]
+ ]
+ },
+ {
+ "id": "c3a2010c.f5d48",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1958,
+ "y": 299,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "9386fbbc.1d2048"
+ ]
+ ]
+ },
+ {
+ "id": "fb144142.e9ac68",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2039.490966796875,
+ "y": 1139.5740356445312,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "9e1c850d.74d728"
+ ]
+ ]
+ },
+ {
+ "id": "ba20a9b3.14be2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2037,
+ "y": 1183,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "c9b57000.53acb8"
+ ]
+ ]
+ },
+ {
+ "id": "9e1c850d.74d728",
+ "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": 2202.0623779296875,
+ "y": 1139.8597717285156,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "c9b57000.53acb8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2206,
+ "y": 1184,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "ad889722.664b08",
+ "type": "save",
+ "name": "get vpn-binding from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3062,
+ "y": 386,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "640b0e20.b1d3e",
+ "ce9c63b.0255a2",
+ "7ad6314d.3b89c8"
+ ]
+ ]
+ },
+ {
+ "id": "e28a48f8.db57f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3439,
+ "y": 378,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "1c93c389.0c8c2c",
+ "c798ad9c.1234b",
+ "fd7fa756.f7d6e8",
+ "270a4545.e66b22",
+ "d4768fc2.d5865"
+ ]
+ ]
+ },
+ {
+ "id": "640b0e20.b1d3e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3273,
+ "y": 388,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "e28a48f8.db57f8"
+ ]
+ ]
+ },
+ {
+ "id": "ce9c63b.0255a2",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3273.490966796875,
+ "y": 433.57403564453125,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "714cc291.22ce0c"
+ ]
+ ]
+ },
+ {
+ "id": "7ad6314d.3b89c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3271,
+ "y": 477,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "525b4279.2df8f4"
+ ]
+ ]
+ },
+ {
+ "id": "525b4279.2df8f4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3438,
+ "y": 476,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "714cc291.22ce0c",
+ "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": 3436.0623779296875,
+ "y": 433.8597717285156,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "c57d1cb2.40bd38",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2261,
+ "y": 301,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "9dbcf55e.4925c8"
+ ]
+ ]
+ },
+ {
+ "id": "9dbcf55e.4925c8",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2458,
+ "y": 315,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "b564f315.834a2",
+ "e7d69f06.780b38"
+ ]
+ ]
+ },
+ {
+ "id": "b564f315.834a2",
+ "type": "outcome",
+ "name": "vpn-binding",
+ "xml": "<outcome value='vpn-binding'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2626,
+ "y": 308,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "491489ec.617558"
+ ]
+ ]
+ },
+ {
+ "id": "491489ec.617558",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2789,
+ "y": 308,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "ad889722.664b08"
+ ]
+ ]
+ },
+ {
+ "id": "1c93c389.0c8c2c",
+ "type": "set",
+ "name": "set pnf-name",
+ "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-binding.src-access-node-id`\" />\n",
+ "comments": "",
+ "x": 3661,
+ "y": 96,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "c798ad9c.1234b",
+ "type": "get-resource",
+ "name": "get-resource src pnf",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3687,
+ "y": 213,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "76dc6e0a.1ab268",
+ "826ceead.c2f69",
+ "d5b03fc8.b6e088"
+ ]
+ ]
+ },
+ {
+ "id": "76dc6e0a.1ab268",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3882.5001220703125,
+ "y": 165,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "feb1370b.46393"
+ ]
+ ]
+ },
+ {
+ "id": "826ceead.c2f69",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3874.5001220703125,
+ "y": 220,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "f38f34bb.7a9748"
+ ]
+ ]
+ },
+ {
+ "id": "feb1370b.46393",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4026.8824462890625,
+ "y": 164.65567016601562,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "21f3a77a.346fa8"
+ ]
+ ]
+ },
+ {
+ "id": "21f3a77a.346fa8",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4211,
+ "y": 163,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "a51bf440.0c5b6"
+ ]
+ ]
+ },
+ {
+ "id": "a51bf440.0c5b6",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4406,
+ "y": 163,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "34e2f8df.de6cf8"
+ ]
+ ]
+ },
+ {
+ "id": "d5b03fc8.b6e088",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3879.5001220703125,
+ "y": 277,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "8eb64fc1.c84cd"
+ ]
+ ]
+ },
+ {
+ "id": "8eb64fc1.c84cd",
+ "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
+ "comments": "",
+ "x": 4031.5001220703125,
+ "y": 278,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "f38f34bb.7a9748",
+ "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.connection-attachement.access-node-id`\" />\n\n",
+ "comments": "",
+ "x": 4042.5001220703125,
+ "y": 221,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "41c68962.37006",
+ "type": "execute",
+ "name": "get esr-thirdparty-sdnc",
+ "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.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 4994,
+ "y": 180,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "b0076b13.2e399",
+ "f818e30c.1ed2d",
+ "cd5ca056.adec1"
+ ]
+ ]
+ },
+ {
+ "id": "fb2612bc.a6aea8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4788,
+ "y": 167,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "a86d0a2.d48def8",
+ "41c68962.37006",
+ "3b61ff6d.8dced"
+ ]
+ ]
+ },
+ {
+ "id": "a86d0a2.d48def8",
+ "type": "set",
+ "name": "set esr-thirdparty-sdnc domain id",
+ "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 5024,
+ "y": 128,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "b0076b13.2e399",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5204,
+ "y": 171,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "9a62192a.51df38"
+ ]
+ ]
+ },
+ {
+ "id": "f818e30c.1ed2d",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5196,
+ "y": 226,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "cb7716d3.6ef01"
+ ]
+ ]
+ },
+ {
+ "id": "cd5ca056.adec1",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5201,
+ "y": 283,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "6a7cfa93.2ccb4c"
+ ]
+ ]
+ },
+ {
+ "id": "6a7cfa93.2ccb4c",
+ "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
+ "comments": "",
+ "x": 5353,
+ "y": 284,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "cb7716d3.6ef01",
+ "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.connection-attachement.access-node-id`\" />\n\n",
+ "comments": "",
+ "x": 5364,
+ "y": 229,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "9a62192a.51df38",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5348.38232421875,
+ "y": 168.65567016601562,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "1e654428.bcfdbc"
+ ]
+ ]
+ },
+ {
+ "id": "34e2f8df.de6cf8",
+ "type": "outcome",
+ "name": "esr-thirdparty-sdnc",
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4609,
+ "y": 167,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "fb2612bc.a6aea8"
+ ]
+ ]
+ },
+ {
+ "id": "1e654428.bcfdbc",
+ "type": "set",
+ "name": "set controller domain data",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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",
+ "comments": "",
+ "x": 5563,
+ "y": 165,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "3b61ff6d.8dced",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 4944,
+ "y": 244,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "10401b5c.b05865",
+ "type": "execute",
+ "name": "execute RestApiCallNode Delete ethernet Service without token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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",
+ "comments": "",
+ "outputs": 1,
+ "x": 4322,
+ "y": 593,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "7f6c606d.64ab48",
+ "c3eb517a.b7781"
+ ]
+ ]
+ },
+ {
+ "id": "7f6c606d.64ab48",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4668.5,
+ "y": 586,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "8c5003e.5a8698"
+ ]
+ ]
+ },
+ {
+ "id": "c3eb517a.b7781",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4672.5,
+ "y": 626,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "19571e12.890ec2"
+ ]
+ ]
+ },
+ {
+ "id": "19571e12.890ec2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4830,
+ "y": 626,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8c5003e.5a8698",
+ "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=\"Error executing delete ethernet service rest api\" />\n",
+ "comments": "",
+ "x": 4826.5,
+ "y": 586,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "fd7fa756.f7d6e8",
+ "type": "execute",
+ "name": "execute RestApiCallNode Delete OTN tunnel with token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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=' + $prop.sdncRestApi.token_id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3790,
+ "y": 480,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "7d0f2c32.be1c14",
+ "d337892f.188d2"
+ ]
+ ]
+ },
+ {
+ "id": "7d0f2c32.be1c14",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4122.5,
+ "y": 450,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "bcce4236.8aab4"
+ ]
+ ]
+ },
+ {
+ "id": "d337892f.188d2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4127.5,
+ "y": 515,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "fe33b47b.c7292"
+ ]
+ ]
+ },
+ {
+ "id": "bcce4236.8aab4",
+ "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=\"Error executing delete OTN tunnel rest api\" />\n",
+ "comments": "",
+ "x": 4298.5,
+ "y": 450,
+ "z": "de2a2b68.0a5d7",
+ "wires": []
+ },
+ {
+ "id": "fe33b47b.c7292",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4294,
+ "y": 515,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "270a4545.e66b22",
+ "type": "switchNode",
+ "name": "switch connectivity has ethernet service",
+ "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3728,
+ "y": 615,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "9b17a7a2.876",
+ "67f91d39.722cb4"
+ ]
+ ]
+ },
+ {
+ "id": "67f91d39.722cb4",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3981,
+ "y": 593,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "10401b5c.b05865"
+ ]
+ ]
+ },
+ {
+ "id": "9b17a7a2.876",
+ "type": "outcome",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3981,
+ "y": 649,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9c7846e0.04a7f",
+ "type": "save",
+ "name": "delete connectivity resource in AAI",
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2277,
+ "y": 1030,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d4768fc2.d5865",
+ "type": "save",
+ "name": "delete vpn-binding resource in AAI",
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3709,
+ "y": 731,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e7d69f06.780b38",
+ "type": "outcome",
+ "name": "uni",
+ "xml": "<outcome value='uni'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2642,
+ "y": 710,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "f282643f.862928"
+ ]
+ ]
+ },
+ {
+ "id": "f282643f.862928",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2805,
+ "y": 710,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "7484e145.9ae3a8"
+ ]
+ ]
+ },
+ {
+ "id": "7484e145.9ae3a8",
+ "type": "save",
+ "name": "delete uni resource in AAI",
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3048,
+ "y": 710,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9386fbbc.1d2048",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2087,
+ "y": 299,
+ "z": "de2a2b68.0a5d7",
+ "wires": [
+ [
+ "c57d1cb2.40bd38",
+ "9c7846e0.04a7f"
+ ]
+ ]
+ }
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json
new file mode 100644
index 00000000..8f287f3f
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json
@@ -0,0 +1,1627 @@
+[
+ {
+ "id": "9eb6465b.8231d",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 174,
+ "y": 129,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "c7ce6b7b.48fc18"
+ ]
+ ]
+ },
+ {
+ "id": "c7ce6b7b.48fc18",
+ "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": 399.2856903076172,
+ "y": 203.23810863494873,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "5b4de938.1f507"
+ ]
+ ]
+ },
+ {
+ "id": "5b4de938.1f507",
+ "type": "method",
+ "name": "method cll-vnf-topology-operation-cll-modify",
+ "xml": "<method rpc='cll-vnf-topology-operation-cll-modify' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 405.42860412597656,
+ "y": 288.0000305175781,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "4dc62efc.c83c"
+ ]
+ ]
+ },
+ {
+ "id": "4dc62efc.c83c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 775.238037109375,
+ "y": 312.66668701171875,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "967b1057.e0a818",
+ "c598fe83.44b4b8",
+ "14de5c82.464f93"
+ ]
+ ]
+ },
+ {
+ "id": "967b1057.e0a818",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 1030.571533203125,
+ "y": 466.59698486328125,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "c598fe83.44b4b8",
+ "type": "save",
+ "name": "get service-instance from aai",
+ "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='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\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",
+ "comments": "",
+ "outputs": 1,
+ "x": 1098,
+ "y": 286,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "be5a0198.1ba518",
+ "d9138d20.e2fc8",
+ "91625785.c9ff18"
+ ]
+ ]
+ },
+ {
+ "id": "91625785.c9ff18",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1307,
+ "y": 260,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "d564baab.1e6f6"
+ ]
+ ]
+ },
+ {
+ "id": "4d990b70.47f5fc",
+ "type": "outcome",
+ "name": "logical-link",
+ "xml": "<outcome value='logical-link'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1039.0001220703125,
+ "y": 766.0001220703125,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "5e1ad592.41ee24"
+ ]
+ ]
+ },
+ {
+ "id": "5e1ad592.41ee24",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1216,
+ "y": 759,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "e398aae7.45cbf8",
+ "a04e6833.e4988",
+ "5187f08e.74ac2"
+ ]
+ ]
+ },
+ {
+ "id": "d902fdae.cea3e8",
+ "type": "for",
+ "name": "for each allotted-resource relationship",
+ "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 814,
+ "y": 695,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "4648afd9.f59d38"
+ ]
+ ]
+ },
+ {
+ "id": "4648afd9.f59d38",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085,
+ "y": 691,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "4d990b70.47f5fc"
+ ]
+ ]
+ },
+ {
+ "id": "14de5c82.464f93",
+ "type": "execute",
+ "name": "execute properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1065,
+ "y": 226,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aaa9891e.70ccc8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 362,
+ "y": 671,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "d7003a6e.38b288",
+ "cee9d4f6.bc12e8"
+ ]
+ ]
+ },
+ {
+ "id": "d7003a6e.38b288",
+ "type": "for",
+ "name": "for each allotted-resource relationship",
+ "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 808,
+ "y": 530,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "23206dde.76caa2"
+ ]
+ ]
+ },
+ {
+ "id": "9cc7d8a0.338888",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1290.33349609375,
+ "y": 1177,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "361c81d1.d1312e"
+ ]
+ ]
+ },
+ {
+ "id": "cee9d4f6.bc12e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 781,
+ "y": 1176,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "80751e9a.0057d8",
+ "26d1ad19.58f772"
+ ]
+ ]
+ },
+ {
+ "id": "80751e9a.0057d8",
+ "type": "for",
+ "name": "for each svc-instance relationship",
+ "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1055,
+ "y": 1176,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "9cc7d8a0.338888"
+ ]
+ ]
+ },
+ {
+ "id": "361c81d1.d1312e",
+ "type": "outcome",
+ "name": "connectivity",
+ "xml": "<outcome value='connectivity'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 574.000244140625,
+ "y": 1330,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "eead4d83.93ec08"
+ ]
+ ]
+ },
+ {
+ "id": "fba02c9f.91f47",
+ "type": "save",
+ "name": "get connectivity from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 963,
+ "y": 1335,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "dbda7d85.ee895",
+ "4ef19f13.4e41a8",
+ "2ea82e0b.cdf21a"
+ ]
+ ]
+ },
+ {
+ "id": "dbda7d85.ee895",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1159,
+ "y": 1300,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "8ba3755.a15c088"
+ ]
+ ]
+ },
+ {
+ "id": "4ef19f13.4e41a8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1159.490966796875,
+ "y": 1345.5740356445312,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "729746db.d253f"
+ ]
+ ]
+ },
+ {
+ "id": "2ea82e0b.cdf21a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1124,
+ "y": 1391,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "4b0e29e1.6abb78"
+ ]
+ ]
+ },
+ {
+ "id": "729746db.d253f",
+ "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": 1319.0625,
+ "y": 1342.8597412109375,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "4b0e29e1.6abb78",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1277,
+ "y": 1393,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "8ba3755.a15c088",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1323,
+ "y": 1284,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "5032e132.b50ce8"
+ ]
+ ]
+ },
+ {
+ "id": "eead4d83.93ec08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 746,
+ "y": 1330,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "fba02c9f.91f47",
+ "8f9d786c.56a8b8"
+ ]
+ ]
+ },
+ {
+ "id": "8f9d786c.56a8b8",
+ "type": "set",
+ "name": "unset tmp.aai.connectivity",
+ "xml": "<set>\n<parameter name='tmp.aai.connectivity.' value='' />\n",
+ "comments": "",
+ "x": 966,
+ "y": 1278,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "e398aae7.45cbf8",
+ "type": "set",
+ "name": "set the current logical-link-name",
+ "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n<parameter name='currLinkIsFound' value=\"false\" />\n\n\n",
+ "comments": "",
+ "x": 1462,
+ "y": 669,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "a04e6833.e4988",
+ "type": "save",
+ "name": "get logical-link from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1429,
+ "y": 783,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "49053c81.8b87cc",
+ "6a35a06.779ac6",
+ "64bb497.5849e38"
+ ]
+ ]
+ },
+ {
+ "id": "49053c81.8b87cc",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1641.490966796875,
+ "y": 749.573974609375,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "7b3cd426.944f0c"
+ ]
+ ]
+ },
+ {
+ "id": "6a35a06.779ac6",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1630,
+ "y": 794,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "715fffb0.0dd628"
+ ]
+ ]
+ },
+ {
+ "id": "7b3cd426.944f0c",
+ "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": 1790.0625,
+ "y": 749.8597412109375,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "715fffb0.0dd628",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1789,
+ "y": 794,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "64bb497.5849e38",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1635,
+ "y": 837,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cb0d7b9d.4f62",
+ "type": "switchNode",
+ "name": "switch loglink-id exists in conn",
+ "xml": "<switch test='`$tmp.aai.logical-link.link-id == $tmp.aai.connectivity.etht-svc-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1552,
+ "y": 1283,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "ed843baa.4246c",
+ "77db6f07.dbc38"
+ ]
+ ]
+ },
+ {
+ "id": "ed843baa.4246c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1763,
+ "y": 1248,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "c41e69d5.000d98"
+ ]
+ ]
+ },
+ {
+ "id": "77db6f07.dbc38",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1760,
+ "y": 1309,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c41e69d5.000d98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1915,
+ "y": 1249,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "b90808de.83d488"
+ ]
+ ]
+ },
+ {
+ "id": "c0a4cffa.883e98",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 2068,
+ "y": 1277,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "1190650a.0a84cb",
+ "type": "comment",
+ "name": "currLinkIsFound. Go to the next logical-link",
+ "info": "",
+ "comments": "",
+ "x": 2073,
+ "y": 1171,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "5187f08e.74ac2",
+ "type": "switchNode",
+ "name": "switch currLinkIsFound",
+ "xml": "<switch test='`$currLinkIsFound`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1355,
+ "y": 901,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "bc7d7df2.5493c",
+ "acacd757.221108"
+ ]
+ ]
+ },
+ {
+ "id": "bc7d7df2.5493c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1541,
+ "y": 880,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "1afa8a19.4821fe"
+ ]
+ ]
+ },
+ {
+ "id": "acacd757.221108",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1538,
+ "y": 1016,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1afa8a19.4821fe",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1783,
+ "y": 875,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "790c6016.9667b8",
+ "type": "comment",
+ "name": "A new logical-link has been found: modify process should be triggered",
+ "info": "",
+ "comments": "",
+ "x": 1729,
+ "y": 979,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "5032e132.b50ce8",
+ "type": "switchNode",
+ "name": "switch connectivityBW == gfp",
+ "xml": "<switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1553,
+ "y": 1374,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "ee0cb72e.3d8b4",
+ "b958be18.cec7a8"
+ ]
+ ]
+ },
+ {
+ "id": "ee0cb72e.3d8b4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1758,
+ "y": 1370,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b958be18.cec7a8",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1760,
+ "y": 1420,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "649f93b2.4fa094"
+ ]
+ ]
+ },
+ {
+ "id": "649f93b2.4fa094",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1914,
+ "y": 1419,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "2c6dae30.c090da",
+ "bec6024a.522f"
+ ]
+ ]
+ },
+ {
+ "id": "b90808de.83d488",
+ "type": "set",
+ "name": "set currLinkIsFound",
+ "xml": "<set>\n<parameter name='currLinkIsFound' value=\"true\" />\n\n\n",
+ "comments": "",
+ "x": 2101,
+ "y": 1221,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "2c6dae30.c090da",
+ "type": "set",
+ "name": "set bwModified",
+ "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",
+ "comments": "",
+ "x": 2109,
+ "y": 1398,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "bec6024a.522f",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 934,
+ "y": 1624,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "fa7c4190.123f5"
+ ]
+ ]
+ },
+ {
+ "id": "fa7c4190.123f5",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1139,
+ "y": 1624,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "15fdeaff.12dc65"
+ ]
+ ]
+ },
+ {
+ "id": "15fdeaff.12dc65",
+ "type": "outcome",
+ "name": "vpn-binding",
+ "xml": "<outcome value='vpn-binding'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1305,
+ "y": 1624,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "23696373.a05af4"
+ ]
+ ]
+ },
+ {
+ "id": "23696373.a05af4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1468,
+ "y": 1624,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "393b763a.3c031a",
+ "93b6e437.4f099"
+ ]
+ ]
+ },
+ {
+ "id": "93b6e437.4f099",
+ "type": "set",
+ "name": "unset tmp.aai.vpn-binding",
+ "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
+ "comments": "",
+ "x": 1697,
+ "y": 1564,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "393b763a.3c031a",
+ "type": "save",
+ "name": "get vpn-binding from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1206,
+ "y": 1718,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "2f327191.83395e",
+ "e7652a9b.a6a5d8",
+ "cbe418b.f7d27e8"
+ ]
+ ]
+ },
+ {
+ "id": "8a250676.10f76",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1590,
+ "y": 1718,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "c8600837.7048d8",
+ "6043cb08.7416ec"
+ ]
+ ]
+ },
+ {
+ "id": "2f327191.83395e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1417,
+ "y": 1720,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "8a250676.10f76"
+ ]
+ ]
+ },
+ {
+ "id": "e7652a9b.a6a5d8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1417.490966796875,
+ "y": 1765.5740356445312,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "a94efe89.188bd8"
+ ]
+ ]
+ },
+ {
+ "id": "cbe418b.f7d27e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1415,
+ "y": 1809,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "f4d34be9.21913"
+ ]
+ ]
+ },
+ {
+ "id": "f4d34be9.21913",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1582,
+ "y": 1826,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "a94efe89.188bd8",
+ "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": 1580.0623779296875,
+ "y": 1765.8597717285156,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "c8600837.7048d8",
+ "type": "save",
+ "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1940.5,
+ "y": 1713,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6043cb08.7416ec",
+ "type": "save",
+ "name": "update connectivity resource in AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1867.5,
+ "y": 1777,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "be5a0198.1ba518",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1323,
+ "y": 144,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "acd16415.eb51f"
+ ]
+ ]
+ },
+ {
+ "id": "d9138d20.e2fc8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1318.490966796875,
+ "y": 213.57403564453125,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "855114bb.d4b47"
+ ]
+ ]
+ },
+ {
+ "id": "acd16415.eb51f",
+ "type": "switchNode",
+ "name": "switch allotted-resources_length != 0",
+ "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1562,
+ "y": 141,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "7d32da32.7e3de4",
+ "7d05195c.3ec52"
+ ]
+ ]
+ },
+ {
+ "id": "855114bb.d4b47",
+ "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": 1472.0623779296875,
+ "y": 216.85977172851562,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "d564baab.1e6f6",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1476,
+ "y": 261,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "7d32da32.7e3de4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1775,
+ "y": 165,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "1771a12b.55c52f"
+ ]
+ ]
+ },
+ {
+ "id": "7d05195c.3ec52",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1777,
+ "y": 105,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1771a12b.55c52f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1720,
+ "y": 347,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "e4c22eb.a2aea5",
+ "6160b6fc.008b48"
+ ]
+ ]
+ },
+ {
+ "id": "e4c22eb.a2aea5",
+ "type": "for",
+ "name": "for each allotted-resource",
+ "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1978,
+ "y": 300,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "fc0dfed8.0cac3",
+ "c57f71e8.93673"
+ ]
+ ]
+ },
+ {
+ "id": "6160b6fc.008b48",
+ "type": "set",
+ "name": "set tmp.arr",
+ "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n<parameter name='bwModified' value='false' />\n",
+ "comments": "",
+ "x": 1937,
+ "y": 250,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "d51caf90.a463f",
+ "type": "comment",
+ "name": "The following two nodes are for PCE",
+ "info": "",
+ "comments": "",
+ "x": 2012,
+ "y": 105,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "f6765cf8.85e25",
+ "type": "get-resource",
+ "name": "get-resource pnfs-list",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1972,
+ "y": 149,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66aed450.169b54",
+ "type": "get-resource",
+ "name": "get-resource logical-links",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1985,
+ "y": 194,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c3532310.372288",
+ "type": "switchNode",
+ "name": "switch allotted-resource.relationship-list not empty",
+ "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2205,
+ "y": 465,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "9a292ac4.9b06e",
+ "35630785.237e1"
+ ]
+ ]
+ },
+ {
+ "id": "c57f71e8.93673",
+ "type": "save",
+ "name": "get allotted-resource from aai",
+ "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!-- AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='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 AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2246,
+ "y": 304,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "87b192bc.e1f0e",
+ "d00bb928.2d4ff",
+ "29adfdf9.b65b62"
+ ]
+ ]
+ },
+ {
+ "id": "87b192bc.e1f0e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2462,
+ "y": 371,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "8f69272a.fd278"
+ ]
+ ]
+ },
+ {
+ "id": "d00bb928.2d4ff",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2462.490966796875,
+ "y": 270.573974609375,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "b5f2de6e.0aa398"
+ ]
+ ]
+ },
+ {
+ "id": "29adfdf9.b65b62",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2458,
+ "y": 320,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "8aece160.d46958"
+ ]
+ ]
+ },
+ {
+ "id": "b5f2de6e.0aa398",
+ "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": 2640.0625,
+ "y": 270.8597412109375,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "8aece160.d46958",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2640,
+ "y": 320,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "8f69272a.fd278",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2642,
+ "y": 371,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "a8018aed.5af3e8"
+ ]
+ ]
+ },
+ {
+ "id": "35630785.237e1",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2526,
+ "y": 447,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9a292ac4.9b06e",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2508,
+ "y": 545,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "aaa9891e.70ccc8"
+ ]
+ ]
+ },
+ {
+ "id": "a8018aed.5af3e8",
+ "type": "save",
+ "name": "get allotted-resource relationship from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='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 AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2935,
+ "y": 318,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "ee26c76e.4e13b",
+ "ebfa2004.002188",
+ "d77341f8.228578"
+ ]
+ ]
+ },
+ {
+ "id": "ebfa2004.002188",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3208.490966796875,
+ "y": 210.573974609375,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "c12dc61.2210b38"
+ ]
+ ]
+ },
+ {
+ "id": "d77341f8.228578",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3204,
+ "y": 260,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "bd3bae8a.af124"
+ ]
+ ]
+ },
+ {
+ "id": "ee26c76e.4e13b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3208,
+ "y": 311,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "de61d430.83d478"
+ ]
+ ]
+ },
+ {
+ "id": "23206dde.76caa2",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3173,
+ "y": 512,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "9e627c37.4741c8"
+ ]
+ ]
+ },
+ {
+ "id": "fc0dfed8.0cac3",
+ "type": "set",
+ "name": "set the current allotted-resource-id",
+ "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",
+ "comments": "",
+ "x": 2243,
+ "y": 223,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "c12dc61.2210b38",
+ "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": 3386.0625,
+ "y": 210.8597412109375,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "bd3bae8a.af124",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3386,
+ "y": 260,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "de61d430.83d478",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3388,
+ "y": 311,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "c3532310.372288"
+ ]
+ ]
+ },
+ {
+ "id": "9e627c37.4741c8",
+ "type": "outcome",
+ "name": "network-policy",
+ "xml": "<outcome value='network-policy'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3364,
+ "y": 509,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "e7f365c6.bea78"
+ ]
+ ]
+ },
+ {
+ "id": "e7f365c6.bea78",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3540.9998779296875,
+ "y": 501.9998779296875,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "dc98dc9c.c8fc5",
+ "d938d57f.cf2528"
+ ]
+ ]
+ },
+ {
+ "id": "dc98dc9c.c8fc5",
+ "type": "set",
+ "name": "set the 1st network-policy-id",
+ "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",
+ "comments": "",
+ "x": 3783.9998779296875,
+ "y": 458.9998779296875,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "d938d57f.cf2528",
+ "type": "save",
+ "name": "get network-policy from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 3772.9998779296875,
+ "y": 513.9998779296875,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "21724bd7.b5773c",
+ "86152ffd.44c928",
+ "acc93ab6.b56018"
+ ]
+ ]
+ },
+ {
+ "id": "acc93ab6.b56018",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4026,
+ "y": 400,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "958f19ed.72cb28"
+ ]
+ ]
+ },
+ {
+ "id": "958f19ed.72cb28",
+ "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": 4174.571533203125,
+ "y": 400.2857666015625,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "34514989.26e926",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 4173.509033203125,
+ "y": 444.426025390625,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "86152ffd.44c928",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4014.509033203125,
+ "y": 444.426025390625,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "34514989.26e926"
+ ]
+ ]
+ },
+ {
+ "id": "21724bd7.b5773c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4021.509033203125,
+ "y": 523.426025390625,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "9ee2f354.296c2"
+ ]
+ ]
+ },
+ {
+ "id": "9ee2f354.296c2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4160.509033203125,
+ "y": 523.426025390625,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ [
+ "66fe28af.a13018",
+ "a2cba337.578da8"
+ ]
+ ]
+ },
+ {
+ "id": "66fe28af.a13018",
+ "type": "set",
+ "name": "set the max bandwidth",
+ "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
+ "comments": "",
+ "x": 4366,
+ "y": 521,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "a2cba337.578da8",
+ "type": "set",
+ "name": "set the max bandwidth",
+ "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
+ "comments": "",
+ "x": 4365,
+ "y": 567,
+ "z": "7b5a733a.b08434",
+ "wires": []
+ },
+ {
+ "id": "26d1ad19.58f772",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 838,
+ "y": 2032,
+ "z": "7b5a733a.b08434",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/resources/graph.versions b/platform-logic/generic-resource-api/src/main/resources/graph.versions
index 1c853339..6248a176 100755
--- a/platform-logic/generic-resource-api/src/main/resources/graph.versions
+++ b/platform-logic/generic-resource-api/src/main/resources/graph.versions
@@ -296,3 +296,5 @@ GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-logic ${project.version} syn
GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-helper-find-connectivity ${project.version} sync
GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-helper-find-ROOT-conn ${project.version} sync
GENERIC-RESOURCE-API cll-vnf-topology-operation-find-maximum-used-tpn ${project.version} sync
+GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-delete ${project.version} sync
+GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-modify ${project.version} sync
diff --git a/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.xml b/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.xml
index 111f98bd..c0981140 100644
--- a/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.xml
@@ -206,7 +206,7 @@
<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>
<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />
- <parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />
+ <!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->
<parameter name='operational-status' value='Created' />
<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->
<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->
diff --git a/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml b/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml
new file mode 100644
index 00000000..67cf779a
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml
@@ -0,0 +1,255 @@
+<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}'>
+ <method rpc='cll-vnf-topology-operation-cll-delete' mode='sync'>
+ <block atomic="true">
+ <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
+ <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />
+ <parameter name='contextPrefix' value='prop' />
+ </execute>
+ <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->
+ <!-- resource="service-instance"-->
+ <!-- key='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->
+ <!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->
+ <!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->
+ <!-- local-only="false"-->
+ <!-- force="true" pfx="tmp.aai.service-instance">-->
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="service-instance"
+ key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
+ AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
+ AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'
+ local-only="false"
+ force="true" pfx="tmp.aai.service-instance">
+ <!--vnf-topology-operation-input.service-information.service-instance-id-->
+ <outcome value='success'>
+ <for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >
+ <switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>
+ <outcome value='connectivity'>
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="connectivity"
+ key="connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"
+ local-only="false"
+ pfx="tmp.aai.connectivity" >
+ <outcome value='success'>
+ <block>
+ <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >
+ <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
+ <outcome value='vpn-binding'>
+ <block atomic="true">
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="vpn-binding"
+ key="vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
+ local-only="false"
+ pfx="tmp.aai.vpn-binding" >
+ <outcome value='success'>
+ <block atomic="true">
+ <set>
+ <parameter name='tmp.domain.pnf-name' value="`'networkId-providerId-' +
+ $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +
+ $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +
+ $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +
+ $tmp.aai.vpn-binding.src-access-node-id`" />
+ </set>
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="pnf"
+ key="pnf.pnf-name = $tmp.domain.pnf-name"
+ pfx='tmp.aai.source-pnf' local-only='false' >
+ <!--AND depth = '0'"-->
+ <outcome value='success'>
+ <block>
+ <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
+ <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
+ <outcome value='esr-thirdparty-sdnc'>
+ <block atomic="true">
+ <set>
+ <parameter name='tmp.domain.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+ </set>
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="esr-thirdparty-sdnc"
+ key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND
+ depth = '1'"
+ pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >
+ <outcome value='success'>
+ <block>
+ <set>
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+ <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+ <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+ <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+ <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+ <!--<parameter name="format" value="json"/>-->
+ <!--<parameter name="httpMethod" value="get"/>-->
+ <!--<parameter name="responsePrefix" value="topology"/>-->
+ <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+ <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+ <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+ <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+ </set>
+ </block>
+ </outcome>
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+ </return>
+ </outcome>
+ </get-resource>
+ <break/>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+ </return>
+ </outcome>
+ </get-resource>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <!--<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`" />-->
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`" />
+ <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domain.user`" />
+ <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domain.password`" />
+ <parameter name="format" value="json"/>
+ <parameter name="httpMethod" value="delete"/>
+ <parameter name="responsePrefix" value="otn-oof"/>
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+ <parameter name="trustStorePassword" value="adminadmin"/>
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+ <parameter name="keyStorePassword" value="adminadmin"/>
+ <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error executing delete OTN tunnel rest api" />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <block atomic="true"></block>
+ </outcome>
+ </execute>
+ <switch test='`$tmp.aai.connectivity.etht-svc-name`'>
+ <outcome value='Other'>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`" />
+ <!--<parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />-->
+ <!--<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`" />-->
+ <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domain.user`" />
+ <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domain.password`" />
+ <parameter name="format" value="json"/>
+ <parameter name="httpMethod" value="delete"/>
+ <parameter name='dirPath' value="/opt/onap/sdnc/restconfapi/yang" />
+ <parameter name="responsePrefix" value="vpn-result"/>
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+ <parameter name="trustStorePassword" value="adminadmin"/>
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+ <parameter name="keyStorePassword" value="adminadmin"/>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error executing delete ethernet service rest api" />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <block atomic="true"></block>
+ </outcome>
+ </execute>
+ </outcome>
+ <outcome value=''></outcome>
+ </switch>
+ <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
+ key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' ></delete>
+ </block>
+ </outcome>
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+ </return>
+ </outcome>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ </get-resource>
+ </block>
+ </outcome>
+ <outcome value='uni'>
+ <block atomic="true">
+ <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni'
+ key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'></delete>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+ key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'></delete>
+ </block>
+ </outcome>
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+ </return>
+ </outcome>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ </get-resource>
+ </outcome>
+ </switch>
+ </for>
+ </outcome>
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+ </return>
+ </outcome>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ </get-resource>
+ <return status='success'>
+ <parameter name="ack-final-indicator" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="`$error-message`" />
+ </return>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.xml b/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.xml
new file mode 100644
index 00000000..7bdae76f
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.xml
@@ -0,0 +1,282 @@
+<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}'>
+ <method rpc='cll-vnf-topology-operation-cll-modify' mode='sync'>
+ <block atomic="true">
+ <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
+ <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />
+ <parameter name='contextPrefix' value='prop' />
+ </execute>
+ <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->
+ <!-- resource="service-instance"-->
+ <!-- key='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->
+ <!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->
+ <!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->
+ <!-- local-only="false"-->
+ <!-- force="true" pfx="tmp.aai.service-instance">-->
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="service-instance"
+ key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
+ AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
+ AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'
+ local-only="false"
+ force="true" pfx="tmp.aai.service-instance">
+ <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->
+ <!-- resource="service-instance"-->
+ <!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->
+ <!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->
+ <!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->
+ <!-- local-only="false"-->
+ <!-- force="true" pfx="tmp.aai.service-instance">-->
+ <outcome value='success'>
+ <switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>
+ <outcome value='false'></outcome>
+ <outcome value='true'>
+ <block>
+ <set>
+ <parameter name='tmp.arr' value='' />
+ <parameter name='tmp.arridx' value='0' />
+ <parameter name='tmp.arr_length' value='0' />
+ <parameter name='otn-tunnel-slice' value='' />
+ <parameter name='otn-tunnel-slice_length' value='0' />
+ <!--<parameter name='tmp.slicevpns' value='' />-->
+ <!--<parameter name='tmp.slicevpns_length' value='0' />-->
+ <!--<parameter name='tmp.slicevpnuuids' value='' />-->
+ <!--<parameter name='tmp.slicevpnuuids.' value='' />-->
+ <parameter name='bwModified' value='false' />
+ </set>
+ <for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >
+ <set>
+ <parameter name='allotted-resource-id' value="`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`" />
+ </set>
+ <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->
+ <!-- resource="allotted-resource"-->
+ <!-- key='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->
+ <!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->
+ <!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->
+ <!-- AND allotted-resource.id = $allotted-resource-id'-->
+ <!-- local-only="false"-->
+ <!-- force="true" pfx="tmp.aai.allotted-resource">-->
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="allotted-resource"
+ key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
+ AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
+ AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type
+ AND allotted-resource.id = $allotted-resource-id'
+ local-only="false"
+ force="true" pfx="tmp.aai.allotted-resource">
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+ </return>
+ </outcome>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <block atomic="true">
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="allotted-resource:relationship-list"
+ key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
+ AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
+ AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type
+ AND allotted-resource.id = $allotted-resource-id'
+ local-only="false"
+ force="true" pfx="tmp.aai.allotted-resource.relationship-list">
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+ </return>
+ </outcome>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <block atomic="true">
+ <switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>
+ <outcome value='false'></outcome>
+ <outcome value='true'>
+ <block atomic="true">
+ <for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >
+ <switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>
+ <outcome value='network-policy'>
+ <block atomic="true">
+ <set>
+ <parameter name='network-policy-id' value="`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`" />
+ </set>
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="network-policy"
+ key='network-policy.network-policy-id = $network-policy-id'
+ local-only="false"
+ force="true" pfx="tmp.aai.network-policy">
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+ </return>
+ </outcome>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <set>
+ <parameter name='maximum-bandwidth' value="`$tmp.aai.network-policy.max-bandwidth`" />
+ <parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />
+ </set>
+ <set>
+ <parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />
+ </set>
+ </block>
+ </outcome>
+ </get-resource>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ <block atomic='true'>
+ <for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >
+ <switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>
+ <outcome value='connectivity'>
+ <block atomic="true">
+ <set>
+ <parameter name='tmp.aai.connectivity.' value='' />
+ </set>
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="connectivity"
+ key="connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"
+ local-only="false"
+ pfx="tmp.aai.connectivity" >
+ <outcome value='success'>
+ <block atomic="true">
+ <switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>
+ <outcome value='true'></outcome>
+ <outcome value='false'>
+ <block atomic="true">
+ <set>
+ <parameter name='bwModified' value="true" />
+ </set>
+ <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >
+ <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
+ <outcome value='vpn-binding'>
+ <block atomic="true">
+ <set>
+ <parameter name='tmp.aai.vpn-binding.' value='' />
+ </set>
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="vpn-binding"
+ key="vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
+ local-only="false"
+ pfx="tmp.aai.vpn-binding" >
+ <outcome value='success'>
+ <block atomic="true">
+ <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
+ key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >
+ <parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />
+ <parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />
+ <parameter name='route-distinguisher' value='`$gfp`' />
+ <parameter name='operational-status' value='Modified' />
+ </update>
+ <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+ key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>
+ <parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />
+ <parameter name='operational-status' value='Modified' />
+ <parameter name='bandwidth-profile-name' value='`$gfp`' />
+ <parameter name='cir' value='`$gfp *1000000`' />
+ <parameter name='eir' value='`$gfp *1000000`' />
+ </update>
+ </block>
+ </outcome>
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+ </return>
+ </outcome>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ </get-resource>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+ </return>
+ </outcome>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ </get-resource>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' ></call>
+ </block>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ </get-resource>
+ </block>
+ </outcome>
+ </get-resource>
+ </for>
+ </block>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+ </return>
+ </outcome>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ </get-resource>
+ <return status='success'>
+ <parameter name="ack-final-indicator" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="`$error-message`" />
+ </return>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file