aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json3808
1 files changed, 1904 insertions, 1904 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json
index 42490961..df10744c 100644
--- a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json
+++ b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json
@@ -1,20 +1,20 @@
[
{
- "id": "874ff500.a76198",
+ "id": "b86b0fef.6d8f2",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 129,
- "y": 77,
- "z": "a1c94a24.22ed9",
+ "x": 228.56666564941406,
+ "y": 144.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "d5019c0d.28df28"
+ "2128d45c.da5aa4"
]
]
},
{
- "id": "d5019c0d.28df28",
+ "id": "2128d45c.da5aa4",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,5624 +22,5624 @@
"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": 354.2856903076172,
- "y": 151.23810863494873,
- "z": "a1c94a24.22ed9",
+ "x": 453.85235595703125,
+ "y": 218.8047742843628,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "cf3663ab.d505b8"
+ "70e99b08.a81814"
]
]
},
{
- "id": "cf3663ab.d505b8",
+ "id": "70e99b08.a81814",
"type": "method",
"name": "method tsli-vnf-topology-operation-trans-slice-modify",
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-modify' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 360.42860412597656,
- "y": 236.00003051757812,
- "z": "a1c94a24.22ed9",
+ "x": 459.9952697753906,
+ "y": 303.5666961669922,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "13ea815e.0d1c3f"
+ "3d648e68.8f83fa"
]
]
},
{
- "id": "13ea815e.0d1c3f",
+ "id": "3d648e68.8f83fa",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 730.238037109375,
- "y": 260.66668701171875,
- "z": "a1c94a24.22ed9",
+ "x": 829.8047027587891,
+ "y": 328.2333526611328,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "5ce9625d.05d25c",
- "98411814.65c58",
- "48043489.9f26f4"
+ "4898a5d2.c4814c",
+ "43d16cc8.33970c",
+ "dd074b01.699d5"
]
]
},
{
- "id": "5ce9625d.05d25c",
+ "id": "4898a5d2.c4814c",
"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": 985.571533203125,
- "y": 414.59698486328125,
- "z": "a1c94a24.22ed9",
+ "x": 1085.138198852539,
+ "y": 482.1636505126953,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "98411814.65c58",
+ "id": "43d16cc8.33970c",
"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": 1053,
- "y": 234,
- "z": "a1c94a24.22ed9",
+ "x": 1152.566665649414,
+ "y": 301.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "899f7de0.012718",
- "bf5ca541.5b386",
- "44585e79.6d35d"
+ "5739653.c5aef1c",
+ "4e5f3667.ce514",
+ "7d9553c0.a90d3c"
]
]
},
{
- "id": "899f7de0.012718",
+ "id": "5739653.c5aef1c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1278,
- "y": 92,
- "z": "a1c94a24.22ed9",
+ "x": 1377.566665649414,
+ "y": 159.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "63a35dfa.733074"
+ "fc0ebeea.3842e8"
]
]
},
{
- "id": "bf5ca541.5b386",
+ "id": "4e5f3667.ce514",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1273.490966796875,
- "y": 161.57403564453125,
- "z": "a1c94a24.22ed9",
+ "x": 1373.057632446289,
+ "y": 229.1407012939453,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "5ca7f827.5517"
+ "9ccb6432.a6f758"
]
]
},
{
- "id": "44585e79.6d35d",
+ "id": "7d9553c0.a90d3c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1262,
- "y": 208,
- "z": "a1c94a24.22ed9",
+ "x": 1361.566665649414,
+ "y": 275.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "f51f087e.0d87d8"
+ "2159c0a9.b6525"
]
]
},
{
- "id": "63a35dfa.733074",
+ "id": "fc0ebeea.3842e8",
"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": 1517,
- "y": 89,
- "z": "a1c94a24.22ed9",
+ "x": 1616.566665649414,
+ "y": 156.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "8b5f7eec.f199b",
- "d7dba561.3c951"
+ "9f0f2f3b.2aa0c8",
+ "29eb9fec.58b94"
]
]
},
{
- "id": "5ca7f827.5517",
+ "id": "9ccb6432.a6f758",
"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": 1427.0623779296875,
- "y": 164.85977172851562,
- "z": "a1c94a24.22ed9",
+ "x": 1526.6290435791016,
+ "y": 232.4264373779297,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "f51f087e.0d87d8",
+ "id": "2159c0a9.b6525",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1431,
- "y": 209,
- "z": "a1c94a24.22ed9",
+ "x": 1530.566665649414,
+ "y": 276.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "8b5f7eec.f199b",
+ "id": "9f0f2f3b.2aa0c8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1730,
- "y": 113,
- "z": "a1c94a24.22ed9",
+ "x": 1829.566665649414,
+ "y": 180.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "8ecf6cbb.a31c18"
+ "c939819f.3d19a"
]
]
},
{
- "id": "d7dba561.3c951",
+ "id": "29eb9fec.58b94",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1732,
- "y": 53,
- "z": "a1c94a24.22ed9",
+ "x": 1831.566665649414,
+ "y": 120.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "b7af42d7.d75c5",
+ "id": "1c8a1ea6.0feed9",
"type": "comment",
"name": "new for TransportSlicing",
"info": "",
"comments": "",
- "x": 1032,
- "y": 122,
- "z": "a1c94a24.22ed9",
+ "x": 1131.566665649414,
+ "y": 189.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "8ecf6cbb.a31c18",
+ "id": "c939819f.3d19a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1675,
- "y": 295,
- "z": "a1c94a24.22ed9",
+ "x": 1774.566665649414,
+ "y": 362.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "8f80cd4e.6bb588",
- "1ad0a363.7d61cd",
- "2ea54daa.f8c89a",
- "19fc5975.9c891f",
- "30222136.8f9b9e",
- "d51e1ac2.752b08"
+ "f0cde51e.fc048",
+ "5a4aff44.5be78",
+ "e781046f.1418e",
+ "127eaa7a.98449e",
+ "8780743f.a296a",
+ "323fc4b1.60fe74"
]
]
},
{
- "id": "4de4347b.ee4a6c",
+ "id": "db6151f2.0aacb",
"type": "set",
"name": "set network-route-A",
"xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />-->\n\n\n",
"comments": "",
- "x": 4244,
- "y": 802,
- "z": "a1c94a24.22ed9",
+ "x": 4343.566665649414,
+ "y": 869.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "195d5c42.a96a64",
+ "id": "e016be81.6c64f",
"type": "set",
"name": "set network-route-B",
"xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",
"comments": "",
- "x": 4245,
- "y": 857,
- "z": "a1c94a24.22ed9",
+ "x": 4344.566665649414,
+ "y": 924.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "8f1217ff.70176",
+ "id": "103cc7a8.7e9b88",
"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": 2201,
- "y": 252,
- "z": "a1c94a24.22ed9",
+ "x": 2300.566665649414,
+ "y": 319.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "56c46d50.0cfc0c",
- "c740637e.1508b",
- "d63f588b.18e9"
+ "f2966e51.e2caf8",
+ "2b2db624.af7c1a",
+ "626f780f.86dfb8"
]
]
},
{
- "id": "56c46d50.0cfc0c",
+ "id": "f2966e51.e2caf8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2417,
- "y": 319,
- "z": "a1c94a24.22ed9",
+ "x": 2516.566665649414,
+ "y": 386.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "576d8604.8f2d9"
+ "8eff1c95.000698"
]
]
},
{
- "id": "c740637e.1508b",
+ "id": "2b2db624.af7c1a",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2417.490966796875,
- "y": 218.573974609375,
- "z": "a1c94a24.22ed9",
+ "x": 2517.057632446289,
+ "y": 286.14064025878906,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "4e6f8b98.289464"
+ "e741338f.fadbb8"
]
]
},
{
- "id": "d63f588b.18e9",
+ "id": "626f780f.86dfb8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2413,
- "y": 268,
- "z": "a1c94a24.22ed9",
+ "x": 2512.566665649414,
+ "y": 335.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "cf03fd08.161968"
+ "2cb8a0b4.ed0f98"
]
]
},
{
- "id": "4e6f8b98.289464",
+ "id": "e741338f.fadbb8",
"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": 2595.0625,
- "y": 218.8597412109375,
- "z": "a1c94a24.22ed9",
+ "x": 2694.629165649414,
+ "y": 286.42640686035156,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "cf03fd08.161968",
+ "id": "2cb8a0b4.ed0f98",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2595,
- "y": 268,
- "z": "a1c94a24.22ed9",
+ "x": 2694.566665649414,
+ "y": 335.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "520d2541.742f3c",
+ "id": "1c10a7b4.762648",
"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": 3470,
- "y": 773,
- "z": "a1c94a24.22ed9",
+ "x": 3569.566665649414,
+ "y": 840.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "862d85b.a4a94f8",
- "1732a1e5.237d0e",
- "20df7142.af18a6"
+ "54f63921.d24288",
+ "11c3d54e.f4363b",
+ "e636914f.ca32e"
]
]
},
{
- "id": "862d85b.a4a94f8",
+ "id": "54f63921.d24288",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3761.490966796875,
- "y": 751.573974609375,
- "z": "a1c94a24.22ed9",
+ "x": 3861.057632446289,
+ "y": 819.1406402587891,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "b900c0cd.a71608"
+ "4ad84bdb.1011e4"
]
]
},
{
- "id": "1732a1e5.237d0e",
+ "id": "11c3d54e.f4363b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3750,
- "y": 796,
- "z": "a1c94a24.22ed9",
+ "x": 3849.566665649414,
+ "y": 863.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "b39978ef.c4e1"
+ "611bd1d0.bbec68"
]
]
},
{
- "id": "b900c0cd.a71608",
+ "id": "4ad84bdb.1011e4",
"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": 3910.0625,
- "y": 751.8597412109375,
- "z": "a1c94a24.22ed9",
+ "x": 4009.629165649414,
+ "y": 819.4264068603516,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "b39978ef.c4e1",
+ "id": "611bd1d0.bbec68",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3909,
- "y": 796,
- "z": "a1c94a24.22ed9",
+ "x": 4008.566665649414,
+ "y": 863.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "20df7142.af18a6",
+ "id": "e636914f.ca32e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3756,
- "y": 843,
- "z": "a1c94a24.22ed9",
+ "x": 3855.566665649414,
+ "y": 910.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "b394b52b.88d4f8",
+ "id": "4dddc413.6cd63c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3910,
- "y": 882,
- "z": "a1c94a24.22ed9",
+ "x": 4009.566665649414,
+ "y": 949.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "4de4347b.ee4a6c",
- "195d5c42.a96a64",
- "f201f9ee.69f46",
- "922f6ba7.94fc9",
- "5c94cc42.b4c6e4",
- "898ec19e.6e281",
- "f986e215.6b3c08",
- "4e189d8f.8297c4",
- "c6ccb3e9.91ea18",
- "6963f6fb.4a135",
- "40ae5836.eda238",
- "31cde3.5ded021e",
- "e15a89e6.e78d8"
+ "db6151f2.0aacb",
+ "e016be81.6c64f",
+ "9f8998d0.ce9c48",
+ "44a9159e.85e724",
+ "8f0ab711.e0d798",
+ "d96045a7.1a29c8",
+ "7c9d6be0.59e3fc",
+ "5f01b0d6.663678",
+ "96f11e74.5cf9",
+ "32dd1d69.d1982a",
+ "fefb165c.6d9d48",
+ "afd6fb79.f36b6",
+ "1a397526.128d93"
]
]
},
{
- "id": "f201f9ee.69f46",
+ "id": "9f8998d0.ce9c48",
"type": "save",
"name": "get network-route-A from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",
"comments": "",
"outputs": 1,
- "x": 4257,
- "y": 925,
- "z": "a1c94a24.22ed9",
+ "x": 4356.566665649414,
+ "y": 992.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "84f44b11.dfd248",
- "cde6943a.45f4c",
- "c0c26e2b.b056f"
+ "ad94bc3e.2edb18",
+ "3c6b8cbe.35a074",
+ "e925e05d.5c3e7"
]
]
},
{
- "id": "922f6ba7.94fc9",
+ "id": "44a9159e.85e724",
"type": "save",
"name": "get network-route-B from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",
"comments": "",
"outputs": 1,
- "x": 4236,
- "y": 1526.9998779296875,
- "z": "a1c94a24.22ed9",
+ "x": 4335.566665649414,
+ "y": 1594.5665435791016,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "13feb8ce.6f8f6f",
- "6f75f930.e4c9a8",
- "f4b40172.6e734"
+ "ce3181da.534ae8",
+ "dd474f13.0169c8",
+ "1e53e46c.6ee5dc"
]
]
},
{
- "id": "84f44b11.dfd248",
+ "id": "ad94bc3e.2edb18",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4458,
- "y": 809,
- "z": "a1c94a24.22ed9",
+ "x": 4557.566665649414,
+ "y": 876.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "d5ccfec3.15cf68"
+ "11095a88.1d6375"
]
]
},
{
- "id": "cde6943a.45f4c",
+ "id": "3c6b8cbe.35a074",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4453.509033203125,
- "y": 858.426025390625,
- "z": "a1c94a24.22ed9",
+ "x": 4553.075698852539,
+ "y": 925.9926910400391,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "83e64e5.e0d02b"
+ "1c85f4a2.49e393"
]
]
},
{
- "id": "c0c26e2b.b056f",
+ "id": "e925e05d.5c3e7",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4457.509033203125,
- "y": 909.426025390625,
- "z": "a1c94a24.22ed9",
+ "x": 4557.075698852539,
+ "y": 976.9926910400391,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "fb264c22.bb1ad8"
+ "7e7cdd76.7cfb84"
]
]
},
{
- "id": "d5ccfec3.15cf68",
+ "id": "11095a88.1d6375",
"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": 4606.571533203125,
- "y": 808.2857666015625,
- "z": "a1c94a24.22ed9",
+ "x": 4706.138198852539,
+ "y": 875.8524322509766,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "83e64e5.e0d02b",
+ "id": "1c85f4a2.49e393",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4596.509033203125,
- "y": 858.426025390625,
- "z": "a1c94a24.22ed9",
+ "x": 4696.075698852539,
+ "y": 925.9926910400391,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "13feb8ce.6f8f6f",
+ "id": "ce3181da.534ae8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4459,
- "y": 1496.9998779296875,
- "z": "a1c94a24.22ed9",
+ "x": 4558.566665649414,
+ "y": 1564.5665435791016,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "ff077827.d85f38"
+ "b22dee41.00f36"
]
]
},
{
- "id": "6f75f930.e4c9a8",
+ "id": "dd474f13.0169c8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4454.509033203125,
- "y": 1546.4259033203125,
- "z": "a1c94a24.22ed9",
+ "x": 4554.075698852539,
+ "y": 1613.9925689697266,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "509006fc.9b56c"
+ "6933584e.ecc31"
]
]
},
{
- "id": "f4b40172.6e734",
+ "id": "1e53e46c.6ee5dc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4458.509033203125,
- "y": 1597.4259033203125,
- "z": "a1c94a24.22ed9",
+ "x": 4558.075698852539,
+ "y": 1664.9925689697266,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "43958ec8.7b7b1"
+ "b7fe5d85.6c90f"
]
]
},
{
- "id": "ff077827.d85f38",
+ "id": "b22dee41.00f36",
"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": 4607.571533203125,
- "y": 1496.28564453125,
- "z": "a1c94a24.22ed9",
+ "x": 4707.138198852539,
+ "y": 1563.852310180664,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "509006fc.9b56c",
+ "id": "6933584e.ecc31",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4597.509033203125,
- "y": 1546.4259033203125,
- "z": "a1c94a24.22ed9",
+ "x": 4697.075698852539,
+ "y": 1613.9925689697266,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "5e4b48a2.ecf978",
+ "id": "95843474.b9bce8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5271.66650390625,
- "y": 953,
- "z": "a1c94a24.22ed9",
+ "x": 5371.233169555664,
+ "y": 1020.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "3d7f3635.a666da",
- "5948d066.6a7168",
- "92d55b48.2c361",
- "60b689f0.bdfe6",
- "363286ce.e60c2a"
+ "b4615ea7.1bce1",
+ "be2e7ced.c4df",
+ "ce2c131b.42f24",
+ "71b17710.70c14",
+ "89a7842f.afd83"
]
]
},
{
- "id": "8fdbb83e.80931",
+ "id": "4503129f.bd2fd4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5099,
- "y": 954,
- "z": "a1c94a24.22ed9",
+ "x": 5198.566665649414,
+ "y": 1021.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "5e4b48a2.ecf978"
+ "95843474.b9bce8"
]
]
},
{
- "id": "c2d11145.5c5cb",
+ "id": "8659354b.96b4a",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5108.490966796875,
- "y": 996.5740356445312,
- "z": "a1c94a24.22ed9",
+ "x": 5208.057632446289,
+ "y": 1064.1407012939453,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "f49eb8b9.2e621"
+ "df26ebdc.1c7d8"
]
]
},
{
- "id": "15000269.771dce",
+ "id": "f14e9aee.41ddd",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5097,
- "y": 1043,
- "z": "a1c94a24.22ed9",
+ "x": 5196.566665649414,
+ "y": 1110.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "941ca63b.315eb8"
+ "779f16ad.79c298"
]
]
},
{
- "id": "f49eb8b9.2e621",
+ "id": "df26ebdc.1c7d8",
"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": 5262.0623779296875,
- "y": 999.8597717285156,
- "z": "a1c94a24.22ed9",
+ "x": 5361.629043579102,
+ "y": 1067.4264373779297,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "941ca63b.315eb8",
+ "id": "779f16ad.79c298",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 5266,
- "y": 1044,
- "z": "a1c94a24.22ed9",
+ "x": 5365.566665649414,
+ "y": 1111.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "fb264c22.bb1ad8",
+ "id": "7e7cdd76.7cfb84",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4619,
- "y": 911,
- "z": "a1c94a24.22ed9",
+ "x": 4718.566665649414,
+ "y": 978.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "eb451f8e.4fb418",
- "bf3f1942.662798"
+ "d6ce477c.e6b1",
+ "6ff01134.d27b1"
]
]
},
{
- "id": "43958ec8.7b7b1",
+ "id": "b7fe5d85.6c90f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4609,
- "y": 1598.9998779296875,
- "z": "a1c94a24.22ed9",
+ "x": 4708.566665649414,
+ "y": 1666.5665435791016,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "e17370f4.daf058",
- "42ee84a0.63aa24"
+ "44dc4d90.b0cc4c",
+ "abe40e95.5db908"
]
]
},
{
- "id": "9695016a.9d52a8",
+ "id": "12aedd33.0f1043",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5239.66650390625,
- "y": 1789,
- "z": "a1c94a24.22ed9",
+ "x": 5339.233169555664,
+ "y": 1856.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "798301ec.6e9398",
- "e16e0955.66caa8",
- "7dce5f2e.284a1",
- "ff4b33a5.59c68",
- "6468f05e.9836a8"
+ "e22e2a42.a26b1",
+ "cf28df7d.f3d4b",
+ "daaed265.7759a8",
+ "cb8398b0.7dbb5",
+ "7bc8d59f.6d2444"
]
]
},
{
- "id": "ae7e9c7a.b5cf4",
+ "id": "9a2935ba.2db97",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5067,
- "y": 1790,
- "z": "a1c94a24.22ed9",
+ "x": 5166.566665649414,
+ "y": 1857.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "9695016a.9d52a8"
+ "12aedd33.0f1043"
]
]
},
{
- "id": "ff1945a1.5b3fb8",
+ "id": "dcc235b8.72838",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5076.490966796875,
- "y": 1832.5740356445312,
- "z": "a1c94a24.22ed9",
+ "x": 5176.057632446289,
+ "y": 1900.1407012939453,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "1d67971d.5148d9"
+ "6a73fa3d.d6c2b4"
]
]
},
{
- "id": "11aaad7f.ae123b",
+ "id": "262965f5.6cf9ea",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5065,
- "y": 1879,
- "z": "a1c94a24.22ed9",
+ "x": 5164.566665649414,
+ "y": 1946.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "cd2d5016.41656"
+ "403c1229.13a954"
]
]
},
{
- "id": "1d67971d.5148d9",
+ "id": "6a73fa3d.d6c2b4",
"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": 5230.0623779296875,
- "y": 1835.8597717285156,
- "z": "a1c94a24.22ed9",
+ "x": 5329.629043579102,
+ "y": 1903.4264373779297,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "cd2d5016.41656",
+ "id": "403c1229.13a954",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 5234,
- "y": 1880,
- "z": "a1c94a24.22ed9",
+ "x": 5333.566665649414,
+ "y": 1947.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "3d7f3635.a666da",
+ "id": "b4615ea7.1bce1",
"type": "execute",
"name": "execute split tp-id to get pnf-name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 5536,
- "y": 937,
- "z": "a1c94a24.22ed9",
+ "x": 5635.566665649414,
+ "y": 1004.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "3cfd3bad.5a9524",
- "5da469b2.dc3e8"
+ "7fca3373.091184",
+ "84a28ee2.eeb658"
]
]
},
{
- "id": "5da469b2.dc3e8",
+ "id": "84a28ee2.eeb658",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5759,
- "y": 892,
- "z": "a1c94a24.22ed9",
+ "x": 5858.566665649414,
+ "y": 959.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "688536c6.06de6"
+ "70d4fffc.d22c5"
]
]
},
{
- "id": "3cfd3bad.5a9524",
+ "id": "7fca3373.091184",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5761,
- "y": 956,
- "z": "a1c94a24.22ed9",
+ "x": 5860.566665649414,
+ "y": 1023.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "d7550296.6875"
+ "3dce84d0.b85dd4"
]
]
},
{
- "id": "8343d32.4aa5eb",
+ "id": "850dbb90.b4b68",
"type": "set",
"name": "set ltpId",
"xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",
"comments": "",
- "x": 6094,
- "y": 847,
- "z": "a1c94a24.22ed9",
+ "x": 6193.566665649414,
+ "y": 914.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "d7550296.6875",
+ "id": "3dce84d0.b85dd4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
"comments": "",
- "x": 5923,
- "y": 952,
- "z": "a1c94a24.22ed9",
+ "x": 6022.566665649414,
+ "y": 1019.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "688536c6.06de6",
+ "id": "70d4fffc.d22c5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5924,
- "y": 889,
- "z": "a1c94a24.22ed9",
+ "x": 6023.566665649414,
+ "y": 956.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "643d5e30.3c83d8",
- "8343d32.4aa5eb"
+ "caf9269d.270b2",
+ "850dbb90.b4b68"
]
]
},
{
- "id": "643d5e30.3c83d8",
+ "id": "caf9269d.270b2",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",
"comments": "",
- "x": 6095,
- "y": 955,
- "z": "a1c94a24.22ed9",
+ "x": 6194.566665649414,
+ "y": 1022.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "d03d942d.9c94e8",
+ "id": "59bf2583.d75a84",
"type": "comment",
"name": "TODO: FIXME",
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",
"comments": "",
- "x": 6096,
- "y": 904,
- "z": "a1c94a24.22ed9",
+ "x": 6195.566665649414,
+ "y": 971.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "5948d066.6a7168",
+ "id": "be2e7ced.c4df",
"type": "execute",
"name": "execute UUID generator for connectivity domainA",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 5583,
- "y": 1006,
- "z": "a1c94a24.22ed9",
+ "x": 5682.566665649414,
+ "y": 1073.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "270e5bf.d3c68a4",
+ "id": "27594e13.316c22",
"type": "comment",
"name": "TODO: FIXME",
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",
"comments": "",
- "x": 5472,
- "y": 1047,
- "z": "a1c94a24.22ed9",
+ "x": 5571.566665649414,
+ "y": 1114.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "798301ec.6e9398",
+ "id": "e22e2a42.a26b1",
"type": "execute",
"name": "execute split tp-id to get pnf-name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 5526,
- "y": 1793.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 5625.566665649414,
+ "y": 1860.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "17eb4057.5c41d8",
- "986119ae.163bd"
+ "b2f644ca.d12c2",
+ "b58bca2c.4bf2c"
]
]
},
{
- "id": "986119ae.163bd",
+ "id": "b58bca2c.4bf2c",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5749,
- "y": 1748.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 5848.566665649414,
+ "y": 1815.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "554f229b.2ed824"
+ "983024ad.f8675"
]
]
},
{
- "id": "17eb4057.5c41d8",
+ "id": "b2f644ca.d12c2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5751,
- "y": 1812.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 5850.566665649414,
+ "y": 1879.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "e5820266.08c2b"
+ "4af84f4.a49b8b"
]
]
},
{
- "id": "59292690.4b166",
+ "id": "c96d7934.c0e9e8",
"type": "set",
"name": "set ltpId",
"xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",
"comments": "",
- "x": 6084,
- "y": 1706.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 6183.566665649414,
+ "y": 1773.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "e5820266.08c2b",
+ "id": "4af84f4.a49b8b",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
"comments": "",
- "x": 5910,
- "y": 1831.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 6009.566665649414,
+ "y": 1898.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "554f229b.2ed824",
+ "id": "983024ad.f8675",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5914,
- "y": 1745.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 6013.566665649414,
+ "y": 1812.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "59292690.4b166",
- "a60da831.30b3f"
+ "c96d7934.c0e9e8",
+ "183e4dc8.9e45ba"
]
]
},
{
- "id": "a60da831.30b3f",
+ "id": "183e4dc8.9e45ba",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",
"comments": "",
- "x": 6085,
- "y": 1811.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 6184.566665649414,
+ "y": 1878.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "bb10fbc2.a10ec8",
+ "id": "57730d78.763bfc",
"type": "comment",
"name": "TODO: FIXME",
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",
"comments": "",
- "x": 6080,
- "y": 1760.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 6179.566665649414,
+ "y": 1827.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "7dce5f2e.284a1",
+ "id": "daaed265.7759a8",
"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 = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-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='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\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",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-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='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\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": 5528,
- "y": 1952.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 5627.566665649414,
+ "y": 2019.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "e16e0955.66caa8",
+ "id": "cf28df7d.f3d4b",
"type": "execute",
"name": "execute UUID generator for connectivity domainB",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 5573,
- "y": 1862.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 5672.566665649414,
+ "y": 1929.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "a786769.ba9bd08",
+ "id": "9f3e922b.b3211",
"type": "comment",
"name": "TODO: FIXME",
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",
"comments": "",
- "x": 5462,
- "y": 1900.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 5561.566665649414,
+ "y": 1967.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "5c94cc42.b4c6e4",
+ "id": "8f0ab711.e0d798",
"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": 4457,
- "y": 2197,
- "z": "a1c94a24.22ed9",
+ "x": 4556.566665649414,
+ "y": 2264.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "898ec19e.6e281",
+ "id": "d96045a7.1a29c8",
"type": "set",
"name": "set attachment_param",
"xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n\n<!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\n",
"comments": "",
- "x": 4251,
- "y": 2098,
- "z": "a1c94a24.22ed9",
+ "x": 4350.566665649414,
+ "y": 2165.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "4cbb6f6d.e8bed",
+ "id": "d2d69fa1.baa39",
"type": "comment",
"name": "TODO: FIXME",
"info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",
"comments": "",
- "x": 4225,
- "y": 2051,
- "z": "a1c94a24.22ed9",
+ "x": 4324.566665649414,
+ "y": 2118.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "92d55b48.2c361",
+ "id": "ce2c131b.42f24",
"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-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`\" />\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": 5666,
- "y": 1144,
- "z": "a1c94a24.22ed9",
+ "x": 5765.566665649414,
+ "y": 1211.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "ff4b33a5.59c68",
+ "id": "cb8398b0.7dbb5",
"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/' + $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`\" />\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": 5655,
- "y": 2017.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 5754.566665649414,
+ "y": 2084.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "c675da0b.5461c8",
+ "id": "92b1873d.551bc",
"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.domainA.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 6710,
- "y": 664,
- "z": "a1c94a24.22ed9",
+ "x": 6809.566665649414,
+ "y": 731.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "bb4a9deb.45b028",
- "7bfedf54.b55d88",
- "d4dc18e1.4b9fa8"
+ "3b96c7df.05e2",
+ "1eec19a2.07645e",
+ "b1213bca.c3532"
]
]
},
{
- "id": "576d8604.8f2d9",
+ "id": "8eff1c95.000698",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2597,
- "y": 319,
- "z": "a1c94a24.22ed9",
+ "x": 2696.566665649414,
+ "y": 386.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "8047c637.b43eb"
+ "ad97eaf2.db3cf"
]
]
},
{
- "id": "bcb352a5.999038",
+ "id": "5c4d87c2.cacd08",
"type": "outcome",
"name": "logical-link",
"xml": "<outcome value='logical-link'>\n",
"comments": "",
"outputs": 1,
- "x": 994.0001220703125,
- "y": 714.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 1093.5667877197266,
+ "y": 781.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "77e7cd5a.50c41c"
+ "ba05feca.357468"
]
]
},
{
- "id": "64e2c5c1.d42b2c",
+ "id": "41f5506e.8f5aa",
"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": 2160,
- "y": 413,
- "z": "a1c94a24.22ed9",
+ "x": 2259.566665649414,
+ "y": 480.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "550b6611.97dc",
- "d80de88d.6f84f"
+ "8b2a546b.9f5318",
+ "f654fc01.bf0048"
]
]
},
{
- "id": "d80de88d.6f84f",
+ "id": "f654fc01.bf0048",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2481,
- "y": 395,
- "z": "a1c94a24.22ed9",
+ "x": 2580.566665649414,
+ "y": 462.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "550b6611.97dc",
+ "id": "8b2a546b.9f5318",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2463,
- "y": 493,
- "z": "a1c94a24.22ed9",
+ "x": 2562.566665649414,
+ "y": 560.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "bcacdfd4.14c6d"
+ "24772c6a.a8483c"
]
]
},
{
- "id": "c443600d.94faa8",
+ "id": "94799b47.aa87f8",
"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": 1417,
- "y": 617,
- "z": "a1c94a24.22ed9",
+ "x": 1516.566665649414,
+ "y": 684.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "77e7cd5a.50c41c",
+ "id": "ba05feca.357468",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1171,
- "y": 707,
- "z": "a1c94a24.22ed9",
+ "x": 1270.566665649414,
+ "y": 774.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "c443600d.94faa8",
- "adcb7aad.70c0d",
- "7947ec90.0b2fbc"
+ "94799b47.aa87f8",
+ "433e887a.5dd2c",
+ "fc0b0bdf.af57e8"
]
]
},
{
- "id": "b29eb633.564108",
+ "id": "fa0822cd.53caf",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 4799,
- "y": 916,
- "z": "a1c94a24.22ed9",
+ "x": 4898.566665649414,
+ "y": 983.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "eb451f8e.4fb418",
+ "id": "d6ce477c.e6b1",
"type": "save",
"name": "get p-interface-src from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",
"comments": "",
"outputs": 1,
- "x": 4842,
- "y": 981,
- "z": "a1c94a24.22ed9",
+ "x": 4941.566665649414,
+ "y": 1048.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "8fdbb83e.80931",
- "c2d11145.5c5cb",
- "15000269.771dce"
+ "4503129f.bd2fd4",
+ "8659354b.96b4a",
+ "f14e9aee.41ddd"
]
]
},
{
- "id": "e17370f4.daf058",
+ "id": "44dc4d90.b0cc4c",
"type": "save",
"name": "get p-interface-dst from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",
"comments": "",
"outputs": 1,
- "x": 4839,
- "y": 1825,
- "z": "a1c94a24.22ed9",
+ "x": 4938.566665649414,
+ "y": 1892.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "ae7e9c7a.b5cf4",
- "ff1945a1.5b3fb8",
- "11aaad7f.ae123b"
+ "9a2935ba.2db97",
+ "dcc235b8.72838",
+ "262965f5.6cf9ea"
]
]
},
{
- "id": "dcd9fb09.ef46f8",
+ "id": "2ca1c6c2.0f0f22",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 4800,
- "y": 1769,
- "z": "a1c94a24.22ed9",
+ "x": 4899.566665649414,
+ "y": 1836.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "8047c637.b43eb",
+ "id": "ad97eaf2.db3cf",
"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": 2890,
- "y": 266,
- "z": "a1c94a24.22ed9",
+ "x": 2989.566665649414,
+ "y": 333.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "d1511c62.9f2f08",
- "1f77347e.42dfe4",
- "64ec23f4.ba3244"
+ "ef5e96fe.587c78",
+ "e171a2b9.a46c9",
+ "ed7e8b76.daabf"
]
]
},
{
- "id": "1f77347e.42dfe4",
+ "id": "e171a2b9.a46c9",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3163.490966796875,
- "y": 158.573974609375,
- "z": "a1c94a24.22ed9",
+ "x": 3263.057632446289,
+ "y": 226.14064025878906,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "45b306de.298a5"
+ "ae21063b.421918"
]
]
},
{
- "id": "45b306de.298a5",
+ "id": "ae21063b.421918",
"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": 3341.0625,
- "y": 158.8597412109375,
- "z": "a1c94a24.22ed9",
+ "x": 3440.629165649414,
+ "y": 226.42640686035156,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "64ec23f4.ba3244",
+ "id": "ed7e8b76.daabf",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3159,
- "y": 208,
- "z": "a1c94a24.22ed9",
+ "x": 3258.566665649414,
+ "y": 275.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "fd23c3a.05df04"
+ "1fe6476a.260d99"
]
]
},
{
- "id": "fd23c3a.05df04",
+ "id": "1fe6476a.260d99",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3341,
- "y": 208,
- "z": "a1c94a24.22ed9",
+ "x": 3440.566665649414,
+ "y": 275.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "d1511c62.9f2f08",
+ "id": "ef5e96fe.587c78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3163,
- "y": 259,
- "z": "a1c94a24.22ed9",
+ "x": 3262.566665649414,
+ "y": 326.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "a1083b0f.8f91b8"
+ "5ed5bf6.6fd244"
]
]
},
{
- "id": "a1083b0f.8f91b8",
+ "id": "5ed5bf6.6fd244",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3343,
- "y": 259,
- "z": "a1c94a24.22ed9",
+ "x": 3442.566665649414,
+ "y": 326.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "64e2c5c1.d42b2c"
+ "41f5506e.8f5aa"
]
]
},
{
- "id": "1a6f80e4.595e77",
+ "id": "99ef6a45.9ad878",
"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": 769,
- "y": 643,
- "z": "a1c94a24.22ed9",
+ "x": 868.5666656494141,
+ "y": 710.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "3a09f79.98a6388"
+ "99689150.5b9778"
]
]
},
{
- "id": "3a09f79.98a6388",
+ "id": "99689150.5b9778",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 1040,
- "y": 639,
- "z": "a1c94a24.22ed9",
+ "x": 1139.566665649414,
+ "y": 706.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "bcb352a5.999038"
+ "5c4d87c2.cacd08"
]
]
},
{
- "id": "77ab35ed.5d2284",
+ "id": "2bf740bc.b587b",
"type": "outcome",
"name": "network-policy",
"xml": "<outcome value='network-policy'>\n",
"comments": "",
"outputs": 1,
- "x": 3319,
- "y": 457,
- "z": "a1c94a24.22ed9",
+ "x": 3418.566665649414,
+ "y": 524.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "b58a3427.b81d38"
+ "3a3c2a70.68a7ee"
]
]
},
{
- "id": "b58a3427.b81d38",
+ "id": "3a3c2a70.68a7ee",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3495.9998779296875,
- "y": 449.9998779296875,
- "z": "a1c94a24.22ed9",
+ "x": 3595.5665435791016,
+ "y": 517.5665435791016,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "362b1182.0bd166",
- "6c82d6c3.fedf4"
+ "e9454f9d.caf03",
+ "6d43a86.3d48758"
]
]
},
{
- "id": "362b1182.0bd166",
+ "id": "e9454f9d.caf03",
"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": 3738.9998779296875,
- "y": 406.9998779296875,
- "z": "a1c94a24.22ed9",
+ "x": 3838.5665435791016,
+ "y": 474.56654357910156,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "6c82d6c3.fedf4",
+ "id": "6d43a86.3d48758",
"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": 3727.9998779296875,
- "y": 461.9998779296875,
- "z": "a1c94a24.22ed9",
+ "x": 3827.5665435791016,
+ "y": 529.5665435791016,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "1ff2fa25.6c9396",
- "e4e601c1.f5d79",
- "758d093f.dcc028"
+ "8a364a72.424c28",
+ "fd07ec43.4387a",
+ "4d3c4393.f4c224"
]
]
},
{
- "id": "758d093f.dcc028",
+ "id": "4d3c4393.f4c224",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3981,
- "y": 348,
- "z": "a1c94a24.22ed9",
+ "x": 4080.566665649414,
+ "y": 415.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "a8089973.873718"
+ "8a48cdf4.281a78"
]
]
},
{
- "id": "a8089973.873718",
+ "id": "8a48cdf4.281a78",
"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": 4129.571533203125,
- "y": 348.2857666015625,
- "z": "a1c94a24.22ed9",
+ "x": 4229.138198852539,
+ "y": 415.85243225097656,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "d2216009.d4e938",
+ "id": "81c305db.010dc",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4128.509033203125,
- "y": 392.426025390625,
- "z": "a1c94a24.22ed9",
+ "x": 4228.075698852539,
+ "y": 459.99269104003906,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "e4e601c1.f5d79",
+ "id": "fd07ec43.4387a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3969.509033203125,
- "y": 392.426025390625,
- "z": "a1c94a24.22ed9",
+ "x": 4069.075698852539,
+ "y": 459.99269104003906,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "d2216009.d4e938"
+ "81c305db.010dc"
]
]
},
{
- "id": "1ff2fa25.6c9396",
+ "id": "8a364a72.424c28",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3976.509033203125,
- "y": 471.426025390625,
- "z": "a1c94a24.22ed9",
+ "x": 4076.075698852539,
+ "y": 538.9926910400391,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "9a187669.a984"
+ "41b3b67d.c6f8e8"
]
]
},
{
- "id": "9a187669.a984",
+ "id": "41b3b67d.c6f8e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4115.509033203125,
- "y": 471.426025390625,
- "z": "a1c94a24.22ed9",
+ "x": 4215.075698852539,
+ "y": 538.9926910400391,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "83c9fbd0.4ea53",
- "9b904bff.ec9058"
+ "f0091688.66654",
+ "4f7a1356.449274"
]
]
},
{
- "id": "83c9fbd0.4ea53",
+ "id": "f0091688.66654",
"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": 4321,
- "y": 469,
- "z": "a1c94a24.22ed9",
+ "x": 4420.566665649414,
+ "y": 536.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "bf3f1942.662798",
+ "id": "6ff01134.d27b1",
"type": "execute",
"name": "execute split tp-id to get pnf-name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 4843,
- "y": 651,
- "z": "a1c94a24.22ed9",
+ "x": 4942.566665649414,
+ "y": 718.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "47a119b0.eb6fa8",
- "52820edd.aa4a2"
+ "39467319.609964",
+ "3cc969fb.c20abe"
]
]
},
{
- "id": "52820edd.aa4a2",
+ "id": "3cc969fb.c20abe",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5066,
- "y": 637,
- "z": "a1c94a24.22ed9",
+ "x": 5165.566665649414,
+ "y": 704.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "7649e490.475914"
+ "2dfb867b.202c62"
]
]
},
{
- "id": "47a119b0.eb6fa8",
+ "id": "39467319.609964",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5068,
- "y": 670,
- "z": "a1c94a24.22ed9",
+ "x": 5167.566665649414,
+ "y": 737.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "86cbcc23.726e88"
+ "fb83e9be.2efe"
]
]
},
{
- "id": "86cbcc23.726e88",
+ "id": "fb83e9be.2efe",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
"comments": "",
- "x": 5211,
- "y": 667,
- "z": "a1c94a24.22ed9",
+ "x": 5310.566665649414,
+ "y": 734.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "7649e490.475914",
+ "id": "2dfb867b.202c62",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5214,
- "y": 630,
- "z": "a1c94a24.22ed9",
+ "x": 5313.566665649414,
+ "y": 697.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "ff121e57.29292",
- "450151c8.427488"
+ "15d7491f.df8677",
+ "965ca101.13418"
]
]
},
{
- "id": "ff121e57.29292",
+ "id": "15d7491f.df8677",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n $param-prefix-domainA-pnfName[1] + '-' +\n $param-prefix-domainA-pnfName[2] + '-' +\n $param-prefix-domainA-pnfName[3] + '-' +\n $param-prefix-domainA-pnfName[4] + '-' +\n $param-prefix-domainA-pnfName[5] + '-' +\n $param-prefix-domainA-pnfName[6] + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />\n",
"comments": "",
- "x": 5376,
- "y": 625,
- "z": "a1c94a24.22ed9",
+ "x": 5475.566665649414,
+ "y": 692.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "42ee84a0.63aa24",
+ "id": "abe40e95.5db908",
"type": "execute",
"name": "execute split tp-id to get pnf-name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 4857,
- "y": 1487.9998779296875,
- "z": "a1c94a24.22ed9",
+ "x": 4956.566665649414,
+ "y": 1555.5665435791016,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "1ca058bb.f36a17",
- "11f9a295.aa46bd"
+ "d51c262f.477ec",
+ "4509355c.99159c"
]
]
},
{
- "id": "11f9a295.aa46bd",
+ "id": "4509355c.99159c",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5080,
- "y": 1473.9998779296875,
- "z": "a1c94a24.22ed9",
+ "x": 5179.566665649414,
+ "y": 1541.5665435791016,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "49fa7605.34063"
+ "d6d3b9d3.95749"
]
]
},
{
- "id": "1ca058bb.f36a17",
+ "id": "d51c262f.477ec",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5082,
- "y": 1506.9998779296875,
- "z": "a1c94a24.22ed9",
+ "x": 5181.566665649414,
+ "y": 1574.5665435791016,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "45cb9702.942408"
+ "41fb7895.687548"
]
]
},
{
- "id": "45cb9702.942408",
+ "id": "41fb7895.687548",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
"comments": "",
- "x": 5225,
- "y": 1503.9998779296875,
- "z": "a1c94a24.22ed9",
+ "x": 5324.566665649414,
+ "y": 1571.5665435791016,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "49fa7605.34063",
+ "id": "d6d3b9d3.95749",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5228,
- "y": 1466.9998779296875,
- "z": "a1c94a24.22ed9",
+ "x": 5327.566665649414,
+ "y": 1534.5665435791016,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "875267c0.cfa878",
- "15dbb018.1ec0a8"
+ "dc31fe9c.b39df",
+ "22e60879.c39a9"
]
]
},
{
- "id": "875267c0.cfa878",
+ "id": "dc31fe9c.b39df",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n $param-prefix-domainB-pnfName[1] + '-' +\n $param-prefix-domainB-pnfName[2] + '-' +\n $param-prefix-domainB-pnfName[3] + '-' +\n $param-prefix-domainB-pnfName[4] + '-' +\n $param-prefix-domainB-pnfName[5] + '-' +\n $param-prefix-domainB-pnfName[6] + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />\n",
"comments": "",
- "x": 5422,
- "y": 1470,
- "z": "a1c94a24.22ed9",
+ "x": 5521.566665649414,
+ "y": 1537.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "48043489.9f26f4",
+ "id": "dd074b01.699d5",
"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": 1020,
- "y": 174,
- "z": "a1c94a24.22ed9",
+ "x": 1119.566665649414,
+ "y": 241.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "60b689f0.bdfe6",
+ "id": "71b17710.70c14",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 5490,
- "y": 1221,
- "z": "a1c94a24.22ed9",
+ "x": 5589.566665649414,
+ "y": 1288.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "d6de59ef.b305d8"
+ "262b12c7.d4eb86"
]
]
},
{
- "id": "d6de59ef.b305d8",
+ "id": "262b12c7.d4eb86",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 5696,
- "y": 1221,
- "z": "a1c94a24.22ed9",
+ "x": 5795.566665649414,
+ "y": 1288.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "8fe7cd4d.34b2f"
+ "5944b4c4.a90d9c"
]
]
},
{
- "id": "8fe7cd4d.34b2f",
+ "id": "5944b4c4.a90d9c",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 5911.28564453125,
- "y": 1220.82177734375,
- "z": "a1c94a24.22ed9",
+ "x": 6010.852310180664,
+ "y": 1288.388442993164,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "a0e0dfef.59beb"
+ "97ca4a46.233f6"
]
]
},
{
- "id": "a0e0dfef.59beb",
+ "id": "97ca4a46.233f6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 6118.1171875,
- "y": 1221.34033203125,
- "z": "a1c94a24.22ed9",
+ "x": 6217.683853149414,
+ "y": 1288.906997680664,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "2cceafd0.237718",
- "c79a44fd.7a419",
- "b0ce172f.4e793"
+ "18a90b5a.512eed",
+ "9b9213f3.dfc428",
+ "21506293.2b15d6"
]
]
},
{
- "id": "2cceafd0.237718",
+ "id": "18a90b5a.512eed",
"type": "set",
"name": "set source ttp-id",
"xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 6333.1171875,
- "y": 1183.34033203125,
- "z": "a1c94a24.22ed9",
+ "x": 6432.683853149414,
+ "y": 1250.906997680664,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "c79a44fd.7a419",
+ "id": "9b9213f3.dfc428",
"type": "get-resource",
"name": "get-resource src TTP",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",
"comments": "",
"outputs": 1,
- "x": 6330.1171875,
- "y": 1222.34033203125,
- "z": "a1c94a24.22ed9",
+ "x": 6429.683853149414,
+ "y": 1289.906997680664,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "6b7d00f0.0adfa"
+ "8cbab548.0454b"
]
]
},
{
- "id": "b0ce172f.4e793",
+ "id": "21506293.2b15d6",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 6285.6171875,
- "y": 1264.34033203125,
- "z": "a1c94a24.22ed9",
+ "x": 6385.183853149414,
+ "y": 1331.906997680664,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "6b7d00f0.0adfa",
+ "id": "8cbab548.0454b",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6510.6171875,
- "y": 1221.34033203125,
- "z": "a1c94a24.22ed9",
+ "x": 6610.183853149414,
+ "y": 1288.906997680664,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "646cdf92.8cc9e8"
+ "326ba546.7f7e7a"
]
]
},
{
- "id": "646cdf92.8cc9e8",
+ "id": "326ba546.7f7e7a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 6668.6171875,
- "y": 1221.34033203125,
- "z": "a1c94a24.22ed9",
+ "x": 6768.183853149414,
+ "y": 1288.906997680664,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "6ef1cda7.04969c"
+ "49cced3d.6f7764"
]
]
},
{
- "id": "6ef1cda7.04969c",
+ "id": "49cced3d.6f7764",
"type": "set",
"name": "set source tunnel tp ip",
"xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",
"comments": "",
- "x": 6875.6171875,
- "y": 1221.34033203125,
- "z": "a1c94a24.22ed9",
+ "x": 6975.183853149414,
+ "y": 1288.906997680664,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "6468f05e.9836a8",
+ "id": "7bc8d59f.6d2444",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 5487,
- "y": 2090.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 5586.566665649414,
+ "y": 2157.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "592b262a.d8a79"
+ "8f6d6d5b.1cead8"
]
]
},
{
- "id": "592b262a.d8a79",
+ "id": "8f6d6d5b.1cead8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 5693,
- "y": 2090.0001220703125,
- "z": "a1c94a24.22ed9",
+ "x": 5792.566665649414,
+ "y": 2157.5667877197266,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "24f444c6.f34f94"
+ "e19b436a.7033d"
]
]
},
{
- "id": "24f444c6.f34f94",
+ "id": "e19b436a.7033d",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 5908.28564453125,
- "y": 2089.8218994140625,
- "z": "a1c94a24.22ed9",
+ "x": 6007.852310180664,
+ "y": 2157.3885650634766,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "82538773.d9e69"
+ "bec0ab0f.3e04c8"
]
]
},
{
- "id": "82538773.d9e69",
+ "id": "bec0ab0f.3e04c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 6115.1171875,
- "y": 2090.3404541015625,
- "z": "a1c94a24.22ed9",
+ "x": 6214.683853149414,
+ "y": 2157.9071197509766,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "f8555c72.503248",
- "ccee56e4.07c16",
- "c641b1.139d865"
+ "27fbcba1.3d3b74",
+ "ceb087f2.f1a2d",
+ "f5af142d.56f9a8"
]
]
},
{
- "id": "f8555c72.503248",
+ "id": "27fbcba1.3d3b74",
"type": "set",
"name": "set destination ttp-id",
"xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 6330.1171875,
- "y": 2052.3404541015625,
- "z": "a1c94a24.22ed9",
+ "x": 6429.683853149414,
+ "y": 2119.9071197509766,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "ccee56e4.07c16",
+ "id": "ceb087f2.f1a2d",
"type": "get-resource",
"name": "get-resource src TTP",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",
"comments": "",
"outputs": 1,
- "x": 6327.1171875,
- "y": 2091.3404541015625,
- "z": "a1c94a24.22ed9",
+ "x": 6426.683853149414,
+ "y": 2158.9071197509766,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "c03544bc.a4758"
+ "3dd2b911.678516"
]
]
},
{
- "id": "c641b1.139d865",
+ "id": "f5af142d.56f9a8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 6282.6171875,
- "y": 2133.3404541015625,
- "z": "a1c94a24.22ed9",
+ "x": 6382.183853149414,
+ "y": 2200.9071197509766,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "c03544bc.a4758",
+ "id": "3dd2b911.678516",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6507.6171875,
- "y": 2090.3404541015625,
- "z": "a1c94a24.22ed9",
+ "x": 6607.183853149414,
+ "y": 2157.9071197509766,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "e9ccbcc0.192618"
+ "2d748944.5ecffe"
]
]
},
{
- "id": "e9ccbcc0.192618",
+ "id": "2d748944.5ecffe",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 6665.6171875,
- "y": 2090.3404541015625,
- "z": "a1c94a24.22ed9",
+ "x": 6765.183853149414,
+ "y": 2157.9071197509766,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "8cb4312f.1b7fd"
+ "6570963f.999c3"
]
]
},
{
- "id": "8cb4312f.1b7fd",
+ "id": "6570963f.999c3",
"type": "set",
"name": "set destination tunnel tp ip",
"xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",
"comments": "",
- "x": 6872.6171875,
- "y": 2090.3404541015625,
- "z": "a1c94a24.22ed9",
+ "x": 6972.183853149414,
+ "y": 2157.9071197509766,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "450151c8.427488",
+ "id": "965ca101.13418",
"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.src.domainA.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 5403,
- "y": 697,
- "z": "a1c94a24.22ed9",
+ "x": 5502.566665649414,
+ "y": 764.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "a23d1a8f.c26b88",
- "378c450d.9f83ea",
- "dfbd70ce.dcae1"
+ "50b56074.398fb8",
+ "37713986.ac02f6",
+ "9d9c191d.f7c08"
]
]
},
{
- "id": "a23d1a8f.c26b88",
+ "id": "50b56074.398fb8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5598.5001220703125,
- "y": 649,
- "z": "a1c94a24.22ed9",
+ "x": 5698.066787719727,
+ "y": 716.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "47f12a0.7fd7dd8"
+ "e3c2a355.360d3"
]
]
},
{
- "id": "378c450d.9f83ea",
+ "id": "37713986.ac02f6",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5590.5001220703125,
- "y": 704,
- "z": "a1c94a24.22ed9",
+ "x": 5690.066787719727,
+ "y": 771.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "aa90c931.1acf78"
+ "f545ca2e.f44db"
]
]
},
{
- "id": "dfbd70ce.dcae1",
+ "id": "9d9c191d.f7c08",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5595.5001220703125,
- "y": 761,
- "z": "a1c94a24.22ed9",
+ "x": 5695.066787719727,
+ "y": 828.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "23762cf6.ae956c"
+ "e48b21a8.d61508"
]
]
},
{
- "id": "23762cf6.ae956c",
+ "id": "e48b21a8.d61508",
"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": 5747.5001220703125,
- "y": 762,
- "z": "a1c94a24.22ed9",
+ "x": 5847.066787719727,
+ "y": 829.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "aa90c931.1acf78",
+ "id": "f545ca2e.f44db",
"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": 5758.5001220703125,
- "y": 707,
- "z": "a1c94a24.22ed9",
+ "x": 5858.066787719727,
+ "y": 774.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "47f12a0.7fd7dd8",
+ "id": "e3c2a355.360d3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5742.8824462890625,
- "y": 646.6556701660156,
- "z": "a1c94a24.22ed9",
+ "x": 5842.449111938477,
+ "y": 714.2223358154297,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "7098fc9f.d79a4c"
+ "206fadad.185672"
]
]
},
{
- "id": "afa8e9ca.a2ff88",
+ "id": "16b234e1.30a8c3",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 6325,
- "y": 665,
- "z": "a1c94a24.22ed9",
+ "x": 6424.566665649414,
+ "y": 732.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "fcbb91a5.b44ad8"
+ "e787bf98.1dda3"
]
]
},
{
- "id": "fcbb91a5.b44ad8",
+ "id": "e787bf98.1dda3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 6502,
- "y": 657,
- "z": "a1c94a24.22ed9",
+ "x": 6601.566665649414,
+ "y": 724.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "81752885.eb63a8",
- "c675da0b.5461c8"
+ "71a48553.06547c",
+ "92b1873d.551bc"
]
]
},
{
- "id": "7098fc9f.d79a4c",
+ "id": "206fadad.185672",
"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": 5927,
- "y": 661,
- "z": "a1c94a24.22ed9",
+ "x": 6026.566665649414,
+ "y": 728.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "4474e908.078af8"
+ "69c3e96a.358898"
]
]
},
{
- "id": "4474e908.078af8",
+ "id": "69c3e96a.358898",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 6122,
- "y": 661,
- "z": "a1c94a24.22ed9",
+ "x": 6221.566665649414,
+ "y": 728.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "afa8e9ca.a2ff88",
- "82783d37.d452a8"
+ "16b234e1.30a8c3",
+ "90deb9f8.a72b18"
]
]
},
{
- "id": "81752885.eb63a8",
+ "id": "71a48553.06547c",
"type": "set",
"name": "set esr-thirdparty-sdnc domainA id",
"xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 6740,
- "y": 612,
- "z": "a1c94a24.22ed9",
+ "x": 6839.566665649414,
+ "y": 679.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "bb4a9deb.45b028",
+ "id": "3b96c7df.05e2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6920,
- "y": 655,
- "z": "a1c94a24.22ed9",
+ "x": 7019.566665649414,
+ "y": 722.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "afb3d4f9.ba93a"
+ "6f8ea6fb.24df1"
]
]
},
{
- "id": "7bfedf54.b55d88",
+ "id": "1eec19a2.07645e",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 6912,
- "y": 710,
- "z": "a1c94a24.22ed9",
+ "x": 7011.566665649414,
+ "y": 777.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "4c9ef7f7.e20878"
+ "91f5de57.10361"
]
]
},
{
- "id": "d4dc18e1.4b9fa8",
+ "id": "b1213bca.c3532",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 6917,
- "y": 767,
- "z": "a1c94a24.22ed9",
+ "x": 7016.566665649414,
+ "y": 834.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "af0e4e29.c0c348"
+ "62327f7e.aacf68"
]
]
},
{
- "id": "af0e4e29.c0c348",
+ "id": "62327f7e.aacf68",
"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": 7069,
- "y": 768,
- "z": "a1c94a24.22ed9",
+ "x": 7168.566665649414,
+ "y": 835.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "4c9ef7f7.e20878",
+ "id": "91f5de57.10361",
"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": 7080,
- "y": 713,
- "z": "a1c94a24.22ed9",
+ "x": 7179.566665649414,
+ "y": 780.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "afb3d4f9.ba93a",
+ "id": "6f8ea6fb.24df1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 7064.38232421875,
- "y": 652.6556701660156,
- "z": "a1c94a24.22ed9",
+ "x": 7163.948989868164,
+ "y": 720.2223358154297,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "48d857d6.23bcb8"
+ "10e59332.2edbc5"
]
]
},
{
- "id": "48d857d6.23bcb8",
+ "id": "10e59332.2edbc5",
"type": "set",
"name": "set controller domainA data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.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": 7279,
- "y": 649,
- "z": "a1c94a24.22ed9",
+ "x": 7378.566665649414,
+ "y": 716.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "15dbb018.1ec0a8",
+ "id": "22e60879.c39a9",
"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.dst.domainB.pnf-name\"\n pfx='tmp.aai.destination-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 5444,
- "y": 1538,
- "z": "a1c94a24.22ed9",
+ "x": 5543.566665649414,
+ "y": 1605.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "ddbec5c8.9e7b8",
- "79a0af8f.4ef61",
- "7e842000.99ad5"
+ "3be38b30.4b1f64",
+ "53e462a7.300ecc",
+ "be7dfbd6.3bfbb"
]
]
},
{
- "id": "ddbec5c8.9e7b8",
+ "id": "3be38b30.4b1f64",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5639.5001220703125,
- "y": 1490,
- "z": "a1c94a24.22ed9",
+ "x": 5739.066787719727,
+ "y": 1557.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "dd9e895a.d361b8"
+ "3d4c22c4.8bc33e"
]
]
},
{
- "id": "79a0af8f.4ef61",
+ "id": "53e462a7.300ecc",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5631.5001220703125,
- "y": 1545,
- "z": "a1c94a24.22ed9",
+ "x": 5731.066787719727,
+ "y": 1612.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "bac9dfa5.acb0b8"
+ "cc499006.fb3a6"
]
]
},
{
- "id": "7e842000.99ad5",
+ "id": "be7dfbd6.3bfbb",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5636.5001220703125,
- "y": 1602,
- "z": "a1c94a24.22ed9",
+ "x": 5736.066787719727,
+ "y": 1669.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "39141e3c.f5c4ba"
+ "95cfda12.13aa08"
]
]
},
{
- "id": "39141e3c.f5c4ba",
+ "id": "95cfda12.13aa08",
"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": 5788.5001220703125,
- "y": 1603,
- "z": "a1c94a24.22ed9",
+ "x": 5888.066787719727,
+ "y": 1670.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "bac9dfa5.acb0b8",
+ "id": "cc499006.fb3a6",
"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": 5799.5001220703125,
- "y": 1548,
- "z": "a1c94a24.22ed9",
+ "x": 5899.066787719727,
+ "y": 1615.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "dd9e895a.d361b8",
+ "id": "3d4c22c4.8bc33e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5783.8824462890625,
- "y": 1487.6556701660156,
- "z": "a1c94a24.22ed9",
+ "x": 5883.449111938477,
+ "y": 1555.2223358154297,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "73633cf3.366dcc"
+ "7d552eed.53cb2"
]
]
},
{
- "id": "f9e8a04.0c1b9e",
+ "id": "6ebd5273.de974c",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 6366,
- "y": 1506,
- "z": "a1c94a24.22ed9",
+ "x": 6465.566665649414,
+ "y": 1573.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "858146ac.41a8b8"
+ "d2cb326b.2ce928"
]
]
},
{
- "id": "858146ac.41a8b8",
+ "id": "d2cb326b.2ce928",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 6543,
- "y": 1498,
- "z": "a1c94a24.22ed9",
+ "x": 6642.566665649414,
+ "y": 1565.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "b9f112f1.16fa48",
- "8777efed.45e25"
+ "afdd7500.c5c358",
+ "995d487d.d5b57"
]
]
},
{
- "id": "73633cf3.366dcc",
+ "id": "7d552eed.53cb2",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 5968,
- "y": 1502,
- "z": "a1c94a24.22ed9",
+ "x": 6067.566665649414,
+ "y": 1569.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "84157579.d2bb08"
+ "6d34d717.589238"
]
]
},
{
- "id": "84157579.d2bb08",
+ "id": "6d34d717.589238",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 6163,
- "y": 1502,
- "z": "a1c94a24.22ed9",
+ "x": 6262.566665649414,
+ "y": 1569.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "f9e8a04.0c1b9e",
- "bf377915.b45748"
+ "6ebd5273.de974c",
+ "9bbf0d49.94213"
]
]
},
{
- "id": "8777efed.45e25",
+ "id": "995d487d.d5b57",
"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.domainB.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 6751,
- "y": 1505,
- "z": "a1c94a24.22ed9",
+ "x": 6850.566665649414,
+ "y": 1572.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "2ab532d7.7f1fb6",
- "e8de40ac.67f83",
- "24548740.4d9e68"
+ "bb91f7ce.3ad978",
+ "8e3f2e93.c1d45",
+ "c8e3caf1.3f9eb8"
]
]
},
{
- "id": "b9f112f1.16fa48",
+ "id": "afdd7500.c5c358",
"type": "set",
"name": "set esr-thirdparty-sdnc domainB id",
"xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 6781,
- "y": 1453,
- "z": "a1c94a24.22ed9",
+ "x": 6880.566665649414,
+ "y": 1520.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "2ab532d7.7f1fb6",
+ "id": "bb91f7ce.3ad978",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6961,
- "y": 1496,
- "z": "a1c94a24.22ed9",
+ "x": 7060.566665649414,
+ "y": 1563.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "feff3b5.5e8b948"
+ "ced1d2ca.c0f7c"
]
]
},
{
- "id": "e8de40ac.67f83",
+ "id": "8e3f2e93.c1d45",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 6953,
- "y": 1551,
- "z": "a1c94a24.22ed9",
+ "x": 7052.566665649414,
+ "y": 1618.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "8e635e5c.8adab"
+ "20b91ac9.f7bb0e"
]
]
},
{
- "id": "24548740.4d9e68",
+ "id": "c8e3caf1.3f9eb8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 6958,
- "y": 1608,
- "z": "a1c94a24.22ed9",
+ "x": 7057.566665649414,
+ "y": 1675.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "13ac8b5c.0cfaed"
+ "625c69e0.19da8"
]
]
},
{
- "id": "13ac8b5c.0cfaed",
+ "id": "625c69e0.19da8",
"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": 7110,
- "y": 1609,
- "z": "a1c94a24.22ed9",
+ "x": 7209.566665649414,
+ "y": 1676.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "8e635e5c.8adab",
+ "id": "20b91ac9.f7bb0e",
"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": 7121,
- "y": 1554,
- "z": "a1c94a24.22ed9",
+ "x": 7220.566665649414,
+ "y": 1621.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "feff3b5.5e8b948",
+ "id": "ced1d2ca.c0f7c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 7105.38232421875,
- "y": 1493.6556701660156,
- "z": "a1c94a24.22ed9",
+ "x": 7204.948989868164,
+ "y": 1561.2223358154297,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "953167d4.139688"
+ "483f20c0.02d49"
]
]
},
{
- "id": "953167d4.139688",
+ "id": "483f20c0.02d49",
"type": "set",
"name": "set controller domainB data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
"comments": "",
- "x": 7320,
- "y": 1490,
- "z": "a1c94a24.22ed9",
+ "x": 7419.566665649414,
+ "y": 1557.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "bcacdfd4.14c6d",
+ "id": "24772c6a.a8483c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 317,
- "y": 619,
- "z": "a1c94a24.22ed9",
+ "x": 416.56666564941406,
+ "y": 686.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "403b2da3.dcfec4",
- "1a6f80e4.595e77"
+ "3dd61cc7.9b7d74",
+ "99ef6a45.9ad878"
]
]
},
{
- "id": "403b2da3.dcfec4",
+ "id": "3dd61cc7.9b7d74",
"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": 763,
- "y": 478,
- "z": "a1c94a24.22ed9",
+ "x": 862.5666656494141,
+ "y": 545.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "9653f59e.977668"
+ "51cf951b.e925c4"
]
]
},
{
- "id": "9653f59e.977668",
+ "id": "51cf951b.e925c4",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3128,
- "y": 460,
- "z": "a1c94a24.22ed9",
+ "x": 3227.566665649414,
+ "y": 527.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "77ab35ed.5d2284"
+ "2bf740bc.b587b"
]
]
},
{
- "id": "82783d37.d452a8",
+ "id": "90deb9f8.a72b18",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 6328,
- "y": 739,
- "z": "a1c94a24.22ed9",
+ "x": 6427.566665649414,
+ "y": 806.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "3ce4b168.0164de"
+ "d620e654.6255c"
]
]
},
{
- "id": "3ce4b168.0164de",
+ "id": "d620e654.6255c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 6505,
- "y": 731,
- "z": "a1c94a24.22ed9",
+ "x": 6604.566665649414,
+ "y": 798.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "963d2fd4.6da64"
+ "4397af3f.dc85e"
]
]
},
{
- "id": "963d2fd4.6da64",
+ "id": "4397af3f.dc85e",
"type": "set",
"name": "set domainA ethernet layer network-id",
"xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 6740,
- "y": 855,
- "z": "a1c94a24.22ed9",
+ "x": 6839.566665649414,
+ "y": 922.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "8e0afe4a.b34a6",
+ "id": "40a79108.ee4848",
"type": "set",
"name": "set domainB ethernet layer network-id",
"xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 6780,
- "y": 1695,
- "z": "a1c94a24.22ed9",
+ "x": 6879.566665649414,
+ "y": 1762.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "249ec401.31a03c",
+ "id": "607a3e65.d46208",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 6545,
- "y": 1571,
- "z": "a1c94a24.22ed9",
+ "x": 6644.566665649414,
+ "y": 1638.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "8e0afe4a.b34a6"
+ "40a79108.ee4848"
]
]
},
{
- "id": "bf377915.b45748",
+ "id": "9bbf0d49.94213",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 6368,
- "y": 1579,
- "z": "a1c94a24.22ed9",
+ "x": 6467.566665649414,
+ "y": 1646.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "249ec401.31a03c"
+ "607a3e65.d46208"
]
]
},
{
- "id": "9b904bff.ec9058",
+ "id": "4f7a1356.449274",
"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": 4320,
- "y": 515,
- "z": "a1c94a24.22ed9",
+ "x": 4419.566665649414,
+ "y": 582.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "64d793c7.441b84",
+ "id": "d1460a52.2dc398",
"type": "execute",
"name": "execute UUID generator for ethernet-service-name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4342,
- "y": 650,
- "z": "a1c94a24.22ed9",
+ "x": 4441.566665649414,
+ "y": 717.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "c6ccb3e9.91ea18",
+ "id": "96f11e74.5cf9",
"type": "execute",
"name": "execute UUID generator for otn-tunnel-name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4323,
- "y": 700,
- "z": "a1c94a24.22ed9",
+ "x": 4422.566665649414,
+ "y": 767.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "8f80cd4e.6bb588",
+ "id": "f0cde51e.fc048",
"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": 1933,
- "y": 248,
- "z": "a1c94a24.22ed9",
+ "x": 2032.566665649414,
+ "y": 315.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "f465bd8c.ba2628",
- "8f1217ff.70176"
+ "fe22e044.99d4c8",
+ "103cc7a8.7e9b88"
]
]
},
{
- "id": "f465bd8c.ba2628",
+ "id": "fe22e044.99d4c8",
"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": 2198,
- "y": 171,
- "z": "a1c94a24.22ed9",
+ "x": 2297.566665649414,
+ "y": 238.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "f986e215.6b3c08",
+ "id": "7c9d6be0.59e3fc",
"type": "set",
"name": "set query_param",
"xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",
"comments": "",
- "x": 4240,
- "y": 2150,
- "z": "a1c94a24.22ed9",
+ "x": 4339.566665649414,
+ "y": 2217.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "4e189d8f.8297c4",
+ "id": "5f01b0d6.663678",
"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": 4223,
- "y": 3908,
- "z": "a1c94a24.22ed9",
+ "x": 4322.566665649414,
+ "y": 3975.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "6963f6fb.4a135",
+ "id": "32dd1d69.d1982a",
"type": "set",
"name": "set new ethernet-service-name",
"xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",
"comments": "",
- "x": 4280,
- "y": 745,
- "z": "a1c94a24.22ed9",
+ "x": 4379.566665649414,
+ "y": 812.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "40ae5836.eda238",
+ "id": "fefb165c.6d9d48",
"type": "for",
"name": "for vidx..tmp.otninfo_length[]",
"xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",
"comments": "",
"outputs": 1,
- "x": 4269,
- "y": 2390,
- "z": "a1c94a24.22ed9",
+ "x": 4368.566665649414,
+ "y": 2457.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "2e490e87.e61d42"
+ "15c5a249.e6ba26"
]
]
},
{
- "id": "5b2c57a6.c56358",
+ "id": "1531085f.c55ba",
"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\n\n",
+ "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\n\n",
"comments": "",
"outputs": 1,
- "x": 5397,
- "y": 2897,
- "z": "a1c94a24.22ed9",
+ "x": 5496.566665649414,
+ "y": 2964.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "9802e598.7a08e"
+ "fcadaec7.4e387"
]
]
},
{
- "id": "457942f4.bfb36c",
+ "id": "24f90323.65c334",
"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": 5969.5,
- "y": 3001,
- "z": "a1c94a24.22ed9",
+ "x": 6069.066665649414,
+ "y": 3068.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "9802e598.7a08e",
+ "id": "fcadaec7.4e387",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5703,
- "y": 2896,
- "z": "a1c94a24.22ed9",
+ "x": 5802.566665649414,
+ "y": 2963.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "c8f4f504.510ca8"
+ "47fc66cf.f2219"
]
]
},
{
- "id": "c8f4f504.510ca8",
+ "id": "47fc66cf.f2219",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5912.5,
- "y": 2896.25390625,
- "z": "a1c94a24.22ed9",
+ "x": 6012.066665649414,
+ "y": 2963.820571899414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "dc51f3dc.862168",
+ "id": "e4910759.e9a85",
"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": 5433,
- "y": 2361,
- "z": "a1c94a24.22ed9",
+ "x": 5532.566665649414,
+ "y": 2428.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "8f203418.5717c8",
+ "id": "19efb26.3a5054e",
"type": "switchNode",
"name": "switch otnidx == 0",
"xml": "<switch test='`$otnidx == 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 5306,
- "y": 3014,
- "z": "a1c94a24.22ed9",
+ "x": 5405.566665649414,
+ "y": 3081.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "22c6b3cb.e79214",
- "862cb9a5.5437d"
+ "6ac91bae.a4e2fc",
+ "f696dd3e.08c3d"
]
]
},
{
- "id": "22c6b3cb.e79214",
+ "id": "6ac91bae.a4e2fc",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5489,
- "y": 3014,
- "z": "a1c94a24.22ed9",
+ "x": 5588.566665649414,
+ "y": 3081.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "2ad37e70.de6eda"
+ "5559f5ba.2a16b4"
]
]
},
{
- "id": "862cb9a5.5437d",
+ "id": "f696dd3e.08c3d",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5314,
- "y": 3161,
- "z": "a1c94a24.22ed9",
+ "x": 5413.566665649414,
+ "y": 3228.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "6c8b8ef6.d3a3"
+ "16a87f5a.f1d3a9"
]
]
},
{
- "id": "886d3de7.c041d",
+ "id": "b74045ae.325b78",
"type": "switchNode",
"name": "switch otnidx == last",
"xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 5655,
- "y": 3242,
- "z": "a1c94a24.22ed9",
+ "x": 5754.566665649414,
+ "y": 3309.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "521941d1.ae6f7",
- "6f826e7d.af0fc8"
+ "93c212f0.0f2258",
+ "d060ce07.272bc8"
]
]
},
{
- "id": "521941d1.ae6f7",
+ "id": "93c212f0.0f2258",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5840,
- "y": 3243,
- "z": "a1c94a24.22ed9",
+ "x": 5939.566665649414,
+ "y": 3310.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "7726ccce.f0f08c"
+ "8ce15cd2.dd2d"
]
]
},
{
- "id": "6f826e7d.af0fc8",
+ "id": "d060ce07.272bc8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5859,
- "y": 3509,
- "z": "a1c94a24.22ed9",
+ "x": 5958.566665649414,
+ "y": 3576.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "49c1c5c0.4e8b8c"
+ "1b72857d.e58193"
]
]
},
{
- "id": "905b732c.f0ad98",
+ "id": "a4b93978.557f9",
"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": 6270,
- "y": 3244,
- "z": "a1c94a24.22ed9",
+ "x": 6369.566665649414,
+ "y": 3311.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "dd09a90e.7899b",
+ "id": "c7b0c40a.9c6038",
"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": 6344,
- "y": 3542,
- "z": "a1c94a24.22ed9",
+ "x": 6443.566665649414,
+ "y": 3609.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "fc11577c.3662e8",
+ "id": "689f50a5.dff04",
"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='`$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",
+ "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='`$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": 6280,
- "y": 3593,
- "z": "a1c94a24.22ed9",
+ "x": 6379.566665649414,
+ "y": 3660.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "a3be8dfb.ebcf2",
+ "id": "67d0e07e.cd61f8",
"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": 6409,
- "y": 3643,
- "z": "a1c94a24.22ed9",
+ "x": 6508.566665649414,
+ "y": 3710.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "28e97ea9.3189d2",
+ "id": "8bcc08c5.9c4d7",
"type": "comment",
"name": "connectivity has not been created for middle domains, so we have to create one",
"info": "",
"comments": "",
- "x": 6419,
- "y": 3486,
- "z": "a1c94a24.22ed9",
+ "x": 6518.566665649414,
+ "y": 3553.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "3c225fc2.333288",
+ "id": "64006ab7.c64d44",
"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": 6377,
- "y": 3702,
- "z": "a1c94a24.22ed9",
+ "x": 6476.566665649414,
+ "y": 3769.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "49c1c5c0.4e8b8c",
+ "id": "1b72857d.e58193",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 6016,
- "y": 3510,
- "z": "a1c94a24.22ed9",
+ "x": 6115.566665649414,
+ "y": 3577.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "dd09a90e.7899b",
- "fc11577c.3662e8",
- "a3be8dfb.ebcf2",
- "3c225fc2.333288",
- "6f9b661d.d75948"
+ "c7b0c40a.9c6038",
+ "689f50a5.dff04",
+ "67d0e07e.cd61f8",
+ "64006ab7.c64d44",
+ "9642c24b.bc1f8"
]
]
},
{
- "id": "2e490e87.e61d42",
+ "id": "15c5a249.e6ba26",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4526,
- "y": 2390,
- "z": "a1c94a24.22ed9",
+ "x": 4625.566665649414,
+ "y": 2457.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "dc51f3dc.862168",
- "5b2c57a6.c56358",
- "8f203418.5717c8",
- "c3673769.ff0828",
- "3b94d9a7.b824be",
- "e2ccb618.b8a8d",
- "77665e36.902488"
+ "e4910759.e9a85",
+ "1531085f.c55ba",
+ "19efb26.3a5054e",
+ "ad7dc399.bf418",
+ "59469467.70a6d4",
+ "982e5c66.4703f8",
+ "e9c05ada.bb249"
]
]
},
{
- "id": "c5c2060f.16d9c8",
+ "id": "b962e9bf.f7ec68",
"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": 5894,
- "y": 3058,
- "z": "a1c94a24.22ed9",
+ "x": 5993.566665649414,
+ "y": 3125.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "db559808.bd4158",
+ "id": "7f4b2d0d.ab9d0c",
"type": "execute",
"name": "execute RestApiCallNode domainA UNI Coloring",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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": 5947,
- "y": 3102,
- "z": "a1c94a24.22ed9",
+ "x": 6046.566665649414,
+ "y": 3169.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "3a25adfa.fa5c4a",
- "1deeb503.94e2fb"
+ "d0a8f560.124258",
+ "e919fb8f.48aeb"
]
]
},
{
- "id": "1deeb503.94e2fb",
+ "id": "e919fb8f.48aeb",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 6218,
- "y": 3087,
- "z": "a1c94a24.22ed9",
+ "x": 6317.566665649414,
+ "y": 3154.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "9df348c2.491e88"
+ "408ad253.15a054"
]
]
},
{
- "id": "3a25adfa.fa5c4a",
+ "id": "d0a8f560.124258",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6216.000213623047,
- "y": 3144.99990940094,
- "z": "a1c94a24.22ed9",
+ "x": 6315.566879272461,
+ "y": 3212.566575050354,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "6842e2ab.cc6dcc"
+ "bfaa06ad.2149c"
]
]
},
{
- "id": "9df348c2.491e88",
+ "id": "408ad253.15a054",
"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 UNI Coloring for domain A\" />\n",
"comments": "",
- "x": 6358.000247955322,
- "y": 3087.0000009536743,
- "z": "a1c94a24.22ed9",
+ "x": 6457.566913604736,
+ "y": 3154.5666666030884,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "6842e2ab.cc6dcc",
+ "id": "bfaa06ad.2149c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6364.02725982666,
- "y": 3135.745394706726,
- "z": "a1c94a24.22ed9",
+ "x": 6463.593925476074,
+ "y": 3203.31206035614,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "2ad37e70.de6eda",
+ "id": "5559f5ba.2a16b4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5630,
- "y": 3004,
- "z": "a1c94a24.22ed9",
+ "x": 5729.566665649414,
+ "y": 3071.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "457942f4.bfb36c",
- "db559808.bd4158",
- "c5c2060f.16d9c8"
+ "24f90323.65c334",
+ "7f4b2d0d.ab9d0c",
+ "b962e9bf.f7ec68"
]
]
},
{
- "id": "7726ccce.f0f08c",
+ "id": "8ce15cd2.dd2d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5974,
- "y": 3244,
- "z": "a1c94a24.22ed9",
+ "x": 6073.566665649414,
+ "y": 3311.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "905b732c.f0ad98",
- "7d99b03d.258298",
- "45df9551.f0104c"
+ "a4b93978.557f9",
+ "fc367338.14f248",
+ "546374c7.67c9c4"
]
]
},
{
- "id": "45df9551.f0104c",
+ "id": "546374c7.67c9c4",
"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": 6194,
- "y": 3288,
- "z": "a1c94a24.22ed9",
+ "x": 6293.566665649414,
+ "y": 3355.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "7d99b03d.258298",
+ "id": "fc367338.14f248",
"type": "execute",
"name": "execute RestApiCallNode domainB UNI Coloring",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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": 6245,
- "y": 3332,
- "z": "a1c94a24.22ed9",
+ "x": 6344.566665649414,
+ "y": 3399.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "bd0a7a36.9d20c8",
- "dca7fdc6.a617b"
+ "edc516eb.d6818",
+ "889681a1.8aebb"
]
]
},
{
- "id": "dca7fdc6.a617b",
+ "id": "889681a1.8aebb",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 6508,
- "y": 3312,
- "z": "a1c94a24.22ed9",
+ "x": 6607.566665649414,
+ "y": 3379.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "fccd3cd5.48582"
+ "b62983f6.8b1c68"
]
]
},
{
- "id": "bd0a7a36.9d20c8",
+ "id": "edc516eb.d6818",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6509.000213623047,
- "y": 3362.99990940094,
- "z": "a1c94a24.22ed9",
+ "x": 6608.566879272461,
+ "y": 3430.566575050354,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "21901264.638a9e"
+ "51aaba5d.abae2c"
]
]
},
{
- "id": "fccd3cd5.48582",
+ "id": "b62983f6.8b1c68",
"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 UNI coloring for domain B\" />\n",
"comments": "",
- "x": 6648.000247955322,
- "y": 3312.0000009536743,
- "z": "a1c94a24.22ed9",
+ "x": 6747.566913604736,
+ "y": 3379.5666666030884,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "21901264.638a9e",
+ "id": "51aaba5d.abae2c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6654.02725982666,
- "y": 3360.745394706726,
- "z": "a1c94a24.22ed9",
+ "x": 6753.593925476074,
+ "y": 3428.31206035614,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "6f9b661d.d75948",
+ "id": "9642c24b.bc1f8",
"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": 6291,
- "y": 3762,
- "z": "a1c94a24.22ed9",
+ "x": 6390.566665649414,
+ "y": 3829.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "19fc5975.9c891f",
+ "id": "127eaa7a.98449e",
"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": 3610,
- "y": 4109,
- "z": "a1c94a24.22ed9",
+ "x": 3709.566665649414,
+ "y": 4176.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "3b17ad03.4221a2",
- "d69cd907.6aa748",
- "2274d619.b436c2"
+ "4f7f9fac.fe049",
+ "7f9abc32.a826f4",
+ "58223279.e77444"
]
]
},
{
- "id": "3b17ad03.4221a2",
+ "id": "4f7f9fac.fe049",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3798,
- "y": 4122,
- "z": "a1c94a24.22ed9",
+ "x": 3897.566665649414,
+ "y": 4189.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "c84d9923.4faed"
+ "f21f6a6d.7c0b9"
]
]
},
{
- "id": "d69cd907.6aa748",
+ "id": "7f9abc32.a826f4",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3798.490966796875,
- "y": 4167.574035644531,
- "z": "a1c94a24.22ed9",
+ "x": 3898.057632446289,
+ "y": 4235.140701293945,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "ab55f6d5.77c7d"
+ "5b9e9e7e.bd3fb8"
]
]
},
{
- "id": "2274d619.b436c2",
+ "id": "58223279.e77444",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3796,
- "y": 4211,
- "z": "a1c94a24.22ed9",
+ "x": 3895.566665649414,
+ "y": 4278.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "7380e8da.afb22"
+ "81ac9378.5e17c8"
]
]
},
{
- "id": "c84d9923.4faed",
+ "id": "f21f6a6d.7c0b9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3971,
- "y": 4120,
- "z": "a1c94a24.22ed9",
+ "x": 4070.566665649414,
+ "y": 4187.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "4f7659f.9cf48a8"
+ "1562d3ab.607dc4"
]
]
},
{
- "id": "ab55f6d5.77c7d",
+ "id": "5b9e9e7e.bd3fb8",
"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": 3961.0623779296875,
- "y": 4167.859771728516,
- "z": "a1c94a24.22ed9",
+ "x": 4060.6290435791016,
+ "y": 4235.42643737793,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "7380e8da.afb22",
+ "id": "81ac9378.5e17c8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3963,
- "y": 4210,
- "z": "a1c94a24.22ed9",
+ "x": 4062.566665649414,
+ "y": 4277.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "2ea54daa.f8c89a",
+ "id": "e781046f.1418e",
"type": "for",
"name": "for vidx..tmp.otninfo_length[]",
"xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3599,
- "y": 4300,
- "z": "a1c94a24.22ed9",
+ "x": 3698.566665649414,
+ "y": 4367.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "1b14a9d6.5d5776"
+ "d5bebf9c.374a9"
]
]
},
{
- "id": "ae6235d1.274b2",
+ "id": "a7536813.9c6d5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4409,
- "y": 4300,
- "z": "a1c94a24.22ed9",
+ "x": 4508.566665649414,
+ "y": 4367.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "b2a4c6eb.8f6fb8"
+ "a13486f2.279748"
]
]
},
{
- "id": "c8a00103.c44878",
+ "id": "d852a581.272668",
"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": 4181,
- "y": 4300,
- "z": "a1c94a24.22ed9",
+ "x": 4280.566665649414,
+ "y": 4367.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "ae6235d1.274b2"
+ "a7536813.9c6d5"
]
]
},
{
- "id": "315b6688.54502a",
+ "id": "35196fa7.3e82b8",
"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": 5301,
- "y": 4067,
- "z": "a1c94a24.22ed9",
+ "x": 5400.566665649414,
+ "y": 4134.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "ea932ad5.e0e7e8",
+ "id": "1b7fbbc1.fdc524",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",
"comments": "",
- "x": 5603,
- "y": 3193,
- "z": "a1c94a24.22ed9",
+ "x": 5702.566665649414,
+ "y": 3260.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "6c8b8ef6.d3a3",
+ "id": "16a87f5a.f1d3a9",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5438,
- "y": 3168,
- "z": "a1c94a24.22ed9",
+ "x": 5537.566665649414,
+ "y": 3235.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "ea932ad5.e0e7e8",
- "886d3de7.c041d"
+ "1b7fbbc1.fdc524",
+ "b74045ae.325b78"
]
]
},
{
- "id": "1ad0a363.7d61cd",
+ "id": "5a4aff44.5be78",
"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": 1892,
- "y": 198,
- "z": "a1c94a24.22ed9",
+ "x": 1991.566665649414,
+ "y": 265.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "4f7659f.9cf48a8",
+ "id": "1562d3ab.607dc4",
"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": 4200,
- "y": 4121,
- "z": "a1c94a24.22ed9",
+ "x": 4299.566665649414,
+ "y": 4188.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "39723735.013e2"
+ "1d7f1d69.47cb1b"
]
]
},
{
- "id": "39723735.013e2",
+ "id": "1d7f1d69.47cb1b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4415,
- "y": 4122,
- "z": "a1c94a24.22ed9",
+ "x": 4514.566665649414,
+ "y": 4189.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "a85f98e7.7e0e3"
+ "25f755d1.b61592"
]
]
},
{
- "id": "45b1bc5.a80fac4",
+ "id": "5d5ba3f2.74414c",
"type": "for",
"name": "for arridx in tmp.arr",
"xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 5868,
- "y": 4042,
- "z": "a1c94a24.22ed9",
+ "x": 5967.566665649414,
+ "y": 4109.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "6b77cda7.20313c"
+ "c853cdfd.dbbe38"
]
]
},
{
- "id": "2e1bb3dd.371e44",
+ "id": "b4d44dab.0baa88",
"type": "switchNode",
"name": "switch $tmp.arr_length != 0",
"xml": "<switch test='`$tmp.arr_length != 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 5334,
- "y": 4122,
- "z": "a1c94a24.22ed9",
+ "x": 5433.566665649414,
+ "y": 4189.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "24502626.aaa1ba",
- "5f3af9a.344a808"
+ "62eec498.21eadc",
+ "978a0072.3fd11"
]
]
},
{
- "id": "24502626.aaa1ba",
+ "id": "62eec498.21eadc",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5530,
- "y": 4092,
- "z": "a1c94a24.22ed9",
+ "x": 5629.566665649414,
+ "y": 4159.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "d529614e.bbdc5"
+ "899efa3b.42e148"
]
]
},
{
- "id": "5f3af9a.344a808",
+ "id": "978a0072.3fd11",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5531,
- "y": 4163,
- "z": "a1c94a24.22ed9",
+ "x": 5630.566665649414,
+ "y": 4230.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "ec475a9a.8eb8b8"
+ "214f2c3d.6d899c"
]
]
},
{
- "id": "d529614e.bbdc5",
+ "id": "899efa3b.42e148",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5681,
- "y": 4090,
- "z": "a1c94a24.22ed9",
+ "x": 5780.566665649414,
+ "y": 4157.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "45b1bc5.a80fac4",
- "c40fb6f1.31454"
+ "5d5ba3f2.74414c",
+ "a601628e.52c128"
]
]
},
{
- "id": "6b77cda7.20313c",
+ "id": "c853cdfd.dbbe38",
"type": "switchNode",
"name": "switch tmp.arr[$arridx] == $providerValue",
"xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",
"comments": "",
"outputs": 1,
- "x": 6159,
- "y": 4042,
- "z": "a1c94a24.22ed9",
+ "x": 6258.566665649414,
+ "y": 4109.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "de5fc252.aa8c8",
- "5ea06666.14b488"
+ "32f1af6e.548f98",
+ "aa4fe454.7a4ce"
]
]
},
{
- "id": "de5fc252.aa8c8",
+ "id": "32f1af6e.548f98",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 6434,
- "y": 4011,
- "z": "a1c94a24.22ed9",
+ "x": 6533.566665649414,
+ "y": 4078.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "171b52be.079295"
+ "811e814b.5875b8"
]
]
},
{
- "id": "5ea06666.14b488",
+ "id": "aa4fe454.7a4ce",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 6435,
- "y": 4082,
- "z": "a1c94a24.22ed9",
+ "x": 6534.566665649414,
+ "y": 4149.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "9281ca71.e773a"
+ "989bacbe.4af828"
]
]
},
{
- "id": "171b52be.079295",
+ "id": "811e814b.5875b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 6585,
- "y": 4009,
- "z": "a1c94a24.22ed9",
+ "x": 6684.566665649414,
+ "y": 4076.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "e713eb27.04e0e8",
- "321eb6fe.b414b2",
- "2f73393e.94f68e",
- "3f07f766.243a2",
- "ef925dc2.f8f9f"
+ "af4f903c.21f488",
+ "2d6d2965.4ae4be",
+ "e5b6e917.a4d33",
+ "1c32b22d.5aadde",
+ "1865add8.1adbe2"
]
]
},
{
- "id": "e713eb27.04e0e8",
+ "id": "af4f903c.21f488",
"type": "set",
"name": "set found to true",
"xml": "<set>\n<parameter name='found' value='true' />\n\n\n",
"comments": "",
- "x": 6773,
- "y": 3969,
- "z": "a1c94a24.22ed9",
+ "x": 6872.566665649414,
+ "y": 4036.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "321eb6fe.b414b2",
+ "id": "2d6d2965.4ae4be",
"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": 6845,
- "y": 4014,
- "z": "a1c94a24.22ed9",
+ "x": 6944.566665649414,
+ "y": 4081.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "ef925dc2.f8f9f",
+ "id": "1865add8.1adbe2",
"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": 6760,
- "y": 4141,
- "z": "a1c94a24.22ed9",
+ "x": 6859.566665649414,
+ "y": 4208.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "3f07f766.243a2",
+ "id": "1c32b22d.5aadde",
"type": "set",
"name": "set sizeOfSliceList",
"xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",
"comments": "",
- "x": 6781,
- "y": 4077,
- "z": "a1c94a24.22ed9",
+ "x": 6880.566665649414,
+ "y": 4144.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "ec475a9a.8eb8b8",
+ "id": "214f2c3d.6d899c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5683,
- "y": 4163,
- "z": "a1c94a24.22ed9",
+ "x": 5782.566665649414,
+ "y": 4230.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "1e5d0b07.cb12bd",
- "6806bbfa.adddec"
+ "2a37cb43.8a38d4",
+ "2a56e17b.8d5c2e"
]
]
},
{
- "id": "1e5d0b07.cb12bd",
+ "id": "2a37cb43.8a38d4",
"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": 5938,
- "y": 4156,
- "z": "a1c94a24.22ed9",
+ "x": 6037.566665649414,
+ "y": 4223.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "6806bbfa.adddec",
+ "id": "2a56e17b.8d5c2e",
"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": 5866,
- "y": 4203,
- "z": "a1c94a24.22ed9",
+ "x": 5965.566665649414,
+ "y": 4270.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "c40fb6f1.31454",
+ "id": "a601628e.52c128",
"type": "switchNode",
"name": "switch found?",
"xml": "<switch test='`$found`'>\n",
"comments": "",
"outputs": 1,
- "x": 5859,
- "y": 4087,
- "z": "a1c94a24.22ed9",
+ "x": 5958.566665649414,
+ "y": 4154.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "58a78c2e.66d86c",
- "d7b2b4c.94059c8"
+ "38e10d32.2b93c2",
+ "dbcc850c.fc8dd"
]
]
},
{
- "id": "58a78c2e.66d86c",
+ "id": "38e10d32.2b93c2",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 6019,
- "y": 4079,
- "z": "a1c94a24.22ed9",
+ "x": 6118.566665649414,
+ "y": 4146.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "cde5de2c.7d36b8"
+ "b21401a.fc6228"
]
]
},
{
- "id": "d7b2b4c.94059c8",
+ "id": "dbcc850c.fc8dd",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 6017,
- "y": 4116,
- "z": "a1c94a24.22ed9",
+ "x": 6116.566665649414,
+ "y": 4183.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "74309960.8d777"
+ "e4683213.00ce18"
]
]
},
{
- "id": "cde5de2c.7d36b8",
+ "id": "b21401a.fc6228",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6144,
- "y": 4079,
- "z": "a1c94a24.22ed9",
+ "x": 6243.566665649414,
+ "y": 4146.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "6b083096.f77d9",
+ "id": "a2a7d328.f35de8",
"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": 6451,
- "y": 4137,
- "z": "a1c94a24.22ed9",
+ "x": 6550.566665649414,
+ "y": 4204.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "74309960.8d777",
+ "id": "e4683213.00ce18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 6177,
- "y": 4124,
- "z": "a1c94a24.22ed9",
+ "x": 6276.566665649414,
+ "y": 4191.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "6b083096.f77d9",
- "b4ddb8c9.5ca64"
+ "a2a7d328.f35de8",
+ "930daebd.33fb78"
]
]
},
{
- "id": "b4ddb8c9.5ca64",
+ "id": "930daebd.33fb78",
"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": 6368,
- "y": 4183,
- "z": "a1c94a24.22ed9",
+ "x": 6467.566665649414,
+ "y": 4250.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "9281ca71.e773a",
+ "id": "989bacbe.4af828",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6568,
- "y": 4081,
- "z": "a1c94a24.22ed9",
+ "x": 6667.566665649414,
+ "y": 4148.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "2f73393e.94f68e",
+ "id": "e5b6e917.a4d33",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 6739,
- "y": 4208,
- "z": "a1c94a24.22ed9",
+ "x": 6838.566665649414,
+ "y": 4275.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "c3673769.ff0828",
+ "id": "ad7dc399.bf418",
"type": "switchNode",
"name": "switch dstPort == NULL",
"xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 5136,
- "y": 2420,
- "z": "a1c94a24.22ed9",
+ "x": 5235.566665649414,
+ "y": 2487.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "354051ca.f807c6",
- "2ad9a102.280abe"
+ "359b938e.1f1cd4",
+ "64d68365.eb604c"
]
]
},
{
- "id": "354051ca.f807c6",
+ "id": "359b938e.1f1cd4",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5525,
- "y": 2398,
- "z": "a1c94a24.22ed9",
+ "x": 5624.566665649414,
+ "y": 2465.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "dcf8c46b.cd2d9"
+ "73a3115c.3a191"
]
]
},
{
- "id": "2ad9a102.280abe",
+ "id": "64d68365.eb604c",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5526,
- "y": 2444,
- "z": "a1c94a24.22ed9",
+ "x": 5625.566665649414,
+ "y": 2511.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "d548eb8f.ae0418"
+ "40a2bbc1.5980e4"
]
]
},
{
- "id": "dcf8c46b.cd2d9",
+ "id": "73a3115c.3a191",
"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": 5739,
- "y": 2397,
- "z": "a1c94a24.22ed9",
+ "x": 5838.566665649414,
+ "y": 2464.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "d548eb8f.ae0418",
+ "id": "40a2bbc1.5980e4",
"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": 5737,
- "y": 2442,
- "z": "a1c94a24.22ed9",
+ "x": 5836.566665649414,
+ "y": 2509.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "b2a4c6eb.8f6fb8",
+ "id": "a13486f2.279748",
"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": 4662,
- "y": 4298,
- "z": "a1c94a24.22ed9",
+ "x": 4761.566665649414,
+ "y": 4365.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "83baeacb.444588",
+ "id": "3fa485d1.c8f9c2",
"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": 4247,
- "y": 4406,
- "z": "a1c94a24.22ed9",
+ "x": 4346.566665649414,
+ "y": 4473.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "27e27e6a.f2ce82",
- "450c3617.7079e"
+ "f023dd0f.b91278",
+ "29f41b43.8a7c44"
]
]
},
{
- "id": "450c3617.7079e",
+ "id": "29f41b43.8a7c44",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4530,
- "y": 4386,
- "z": "a1c94a24.22ed9",
+ "x": 4629.566665649414,
+ "y": 4453.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "2c8d1c7a.f387cc"
+ "e71ba272.6cc34"
]
]
},
{
- "id": "27e27e6a.f2ce82",
+ "id": "f023dd0f.b91278",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4531.000213623047,
- "y": 4436.99990940094,
- "z": "a1c94a24.22ed9",
+ "x": 4630.566879272461,
+ "y": 4504.566575050354,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "2b775544.0b0442"
+ "7f431198.b36fd"
]
]
},
{
- "id": "2c8d1c7a.f387cc",
+ "id": "e71ba272.6cc34",
"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": 4670.000247955322,
- "y": 4386.000000953674,
- "z": "a1c94a24.22ed9",
+ "x": 4769.566913604736,
+ "y": 4453.566666603088,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "2b775544.0b0442",
+ "id": "7f431198.b36fd",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4676.02725982666,
- "y": 4434.745394706726,
- "z": "a1c94a24.22ed9",
+ "x": 4775.593925476074,
+ "y": 4502.31206035614,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "3b94d9a7.b824be",
+ "id": "59469467.70a6d4",
"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": 5320,
- "y": 2540,
- "z": "a1c94a24.22ed9",
+ "x": 5419.566665649414,
+ "y": 2607.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "e2ccb618.b8a8d",
+ "id": "982e5c66.4703f8",
"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": 5364,
- "y": 2588,
- "z": "a1c94a24.22ed9",
+ "x": 5463.566665649414,
+ "y": 2655.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "7cc0ff8d.947d5",
- "847ae6cc.cd8548",
- "514e2f17.0688a8"
+ "48087d37.a26c6c",
+ "da051a0e.70b99",
+ "11fa1a3.3e28f66"
]
]
},
{
- "id": "7cc0ff8d.947d5",
+ "id": "48087d37.a26c6c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5576.5,
- "y": 2535,
- "z": "a1c94a24.22ed9",
+ "x": 5676.066665649414,
+ "y": 2602.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "3cc1d272.0b4856"
+ "d7b6e1d4.5db9c8"
]
]
},
{
- "id": "847ae6cc.cd8548",
+ "id": "da051a0e.70b99",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5588.5,
- "y": 2585,
- "z": "a1c94a24.22ed9",
+ "x": 5688.066665649414,
+ "y": 2652.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "3fb63137.b62f46"
+ "8bafac6.5725d5"
]
]
},
{
- "id": "514e2f17.0688a8",
+ "id": "11fa1a3.3e28f66",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5579.5,
- "y": 2640,
- "z": "a1c94a24.22ed9",
+ "x": 5679.066665649414,
+ "y": 2707.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "e6964c37.0e1d08"
+ "1bd627d5.df5018"
]
]
},
{
- "id": "e6964c37.0e1d08",
+ "id": "1bd627d5.df5018",
"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": 5724.5,
- "y": 2639,
- "z": "a1c94a24.22ed9",
+ "x": 5824.066665649414,
+ "y": 2706.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "3fb63137.b62f46",
+ "id": "8bafac6.5725d5",
"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": 5735.5,
- "y": 2582,
- "z": "a1c94a24.22ed9",
+ "x": 5835.066665649414,
+ "y": 2649.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "3cc1d272.0b4856",
+ "id": "d7b6e1d4.5db9c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5701.8824462890625,
- "y": 2528.6556701660156,
- "z": "a1c94a24.22ed9",
+ "x": 5801.449111938477,
+ "y": 2596.2223358154297,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "597135e9.9cf8dc"
+ "7412b5af.ff0f9c"
]
]
},
{
- "id": "641197e8.a0857",
+ "id": "2b52018c.262d56",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 6261,
- "y": 2547,
- "z": "a1c94a24.22ed9",
+ "x": 6360.566665649414,
+ "y": 2614.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "ec2f2380.dc3938"
+ "691fa48a.848bcc"
]
]
},
{
- "id": "ec2f2380.dc3938",
+ "id": "691fa48a.848bcc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 6438,
- "y": 2539,
- "z": "a1c94a24.22ed9",
+ "x": 6537.566665649414,
+ "y": 2606.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "f9283f20.fcecb",
- "5f7551a8.c48a"
+ "40d861d8.1df158",
+ "6005e754.3b403"
]
]
},
{
- "id": "597135e9.9cf8dc",
+ "id": "7412b5af.ff0f9c",
"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": 5863,
- "y": 2543,
- "z": "a1c94a24.22ed9",
+ "x": 5962.566665649414,
+ "y": 2610.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "af459c6d.98172"
+ "cee0c51f.59e4e8"
]
]
},
{
- "id": "af459c6d.98172",
+ "id": "cee0c51f.59e4e8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 6058,
- "y": 2543,
- "z": "a1c94a24.22ed9",
+ "x": 6157.566665649414,
+ "y": 2610.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "641197e8.a0857"
+ "2b52018c.262d56"
]
]
},
{
- "id": "5f7551a8.c48a",
+ "id": "6005e754.3b403",
"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": 6646,
- "y": 2546,
- "z": "a1c94a24.22ed9",
+ "x": 6745.566665649414,
+ "y": 2613.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "64071614.e531b8",
- "1c3ac340.54b235",
- "e738e604.11d738"
+ "ba9890c1.c4a288",
+ "659d7a5f.8396d4",
+ "c60c2b5.88a3ed8"
]
]
},
{
- "id": "f9283f20.fcecb",
+ "id": "40d861d8.1df158",
"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": 6676,
- "y": 2494,
- "z": "a1c94a24.22ed9",
+ "x": 6775.566665649414,
+ "y": 2561.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "64071614.e531b8",
+ "id": "ba9890c1.c4a288",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6856,
- "y": 2537,
- "z": "a1c94a24.22ed9",
+ "x": 6955.566665649414,
+ "y": 2604.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "68b02952.bfbd08"
+ "203ebc79.0da80c"
]
]
},
{
- "id": "1c3ac340.54b235",
+ "id": "659d7a5f.8396d4",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 6848,
- "y": 2592,
- "z": "a1c94a24.22ed9",
+ "x": 6947.566665649414,
+ "y": 2659.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "84e50897.107018"
+ "23f5bad7.571c16"
]
]
},
{
- "id": "e738e604.11d738",
+ "id": "c60c2b5.88a3ed8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 6853,
- "y": 2649,
- "z": "a1c94a24.22ed9",
+ "x": 6952.566665649414,
+ "y": 2716.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "69a8c55f.4a217c"
+ "d78cb5ab.fdf3"
]
]
},
{
- "id": "69a8c55f.4a217c",
+ "id": "d78cb5ab.fdf3",
"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": 7005,
- "y": 2650,
- "z": "a1c94a24.22ed9",
+ "x": 7104.566665649414,
+ "y": 2717.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "84e50897.107018",
+ "id": "23f5bad7.571c16",
"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": 7016,
- "y": 2595,
- "z": "a1c94a24.22ed9",
+ "x": 7115.566665649414,
+ "y": 2662.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "68b02952.bfbd08",
+ "id": "203ebc79.0da80c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 7000.38232421875,
- "y": 2534.6556701660156,
- "z": "a1c94a24.22ed9",
+ "x": 7099.948989868164,
+ "y": 2602.2223358154297,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "ca909332.9badd"
+ "510e20cb.08311"
]
]
},
{
- "id": "ca909332.9badd",
+ "id": "510e20cb.08311",
"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": 7215,
- "y": 2531,
- "z": "a1c94a24.22ed9",
+ "x": 7314.566665649414,
+ "y": 2598.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "1b14a9d6.5d5776",
+ "id": "d5bebf9c.374a9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3831,
- "y": 4298,
- "z": "a1c94a24.22ed9",
+ "x": 3930.566665649414,
+ "y": 4365.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "c8a00103.c44878",
- "83baeacb.444588"
+ "d852a581.272668",
+ "3fa485d1.c8f9c2"
]
]
},
{
- "id": "77665e36.902488",
+ "id": "e9c05ada.bb249",
"type": "switchNode",
"name": "switch dmnsidx == 0 (domainA)",
"xml": "<switch test='`$otnidx == 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 5334,
- "y": 2757,
- "z": "a1c94a24.22ed9",
+ "x": 5433.566665649414,
+ "y": 2824.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "84137cfa.8c833",
- "67fc26bd.7160b"
+ "e3270b50.ca16b",
+ "1493e80e.a20608"
]
]
},
{
- "id": "84137cfa.8c833",
+ "id": "e3270b50.ca16b",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5535,
- "y": 2755,
- "z": "a1c94a24.22ed9",
+ "x": 5634.566665649414,
+ "y": 2822.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "f473c0e8.32ced8"
+ "8c1f5350.45b238"
]
]
},
{
- "id": "f473c0e8.32ced8",
+ "id": "8c1f5350.45b238",
"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": 5749,
- "y": 2757,
- "z": "a1c94a24.22ed9",
+ "x": 5848.566665649414,
+ "y": 2824.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "fc82d42d.acc69",
+ "id": "efd041d2.1f57c",
"type": "switchNode",
"name": "switch dmnsidx == last (domainB)",
"xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",
"comments": "",
"outputs": 1,
- "x": 5752,
- "y": 2806,
- "z": "a1c94a24.22ed9",
+ "x": 5851.566665649414,
+ "y": 2873.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "7c791386.dabd3c",
- "9bcb702f.f45c28"
+ "18ead70f.a7a7d1",
+ "86ea5500.031798"
]
]
},
{
- "id": "7c791386.dabd3c",
+ "id": "18ead70f.a7a7d1",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5982,
- "y": 2802,
- "z": "a1c94a24.22ed9",
+ "x": 6081.566665649414,
+ "y": 2869.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "982b0489.27b268"
+ "45ea107a.0ebac8"
]
]
},
{
- "id": "982b0489.27b268",
+ "id": "45ea107a.0ebac8",
"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": 6196,
- "y": 2805,
- "z": "a1c94a24.22ed9",
+ "x": 6295.566665649414,
+ "y": 2872.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "67fc26bd.7160b",
+ "id": "1493e80e.a20608",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5535,
- "y": 2804,
- "z": "a1c94a24.22ed9",
+ "x": 5634.566665649414,
+ "y": 2871.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "fc82d42d.acc69"
+ "efd041d2.1f57c"
]
]
},
{
- "id": "9bcb702f.f45c28",
+ "id": "86ea5500.031798",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5983,
- "y": 2848,
- "z": "a1c94a24.22ed9",
+ "x": 6082.566665649414,
+ "y": 2915.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "95308046.cfa4"
+ "7828b5dc.b70c4c"
]
]
},
{
- "id": "95308046.cfa4",
+ "id": "7828b5dc.b70c4c",
"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": 6197,
- "y": 2848,
- "z": "a1c94a24.22ed9",
+ "x": 6296.566665649414,
+ "y": 2915.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "20917868.85ed",
+ "id": "72c2b2cc.2ba44c",
"type": "set",
"name": "set tmp.slicevpns",
"xml": "<set>\n<parameter name='`tmp.slicevpns[$tmp.slicevpns_length]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n<parameter name='tmp.slicevpns_length' value=\"`$tmp.slicevpns_length + 1`\" />\n\n<parameter name='`tmp.slicevpnuuids[$prop.vpn-binding-otnidx-uuid]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n\n",
"comments": "",
- "x": 6095,
- "y": 2897,
- "z": "a1c94a24.22ed9",
+ "x": 6194.566665649414,
+ "y": 2964.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "a85f98e7.7e0e3",
+ "id": "25f755d1.b61592",
"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].ops-note == $tmp.aai.service-instance.service-instance-id `\">\n",
"comments": "",
"outputs": 1,
- "x": 4659,
- "y": 4121,
- "z": "a1c94a24.22ed9",
+ "x": 4758.566665649414,
+ "y": 4188.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "c594891a.4ece58",
- "9fcde7ff.ff63c8"
+ "15207d44.a4310b",
+ "179e4c90.1525b3"
]
]
},
{
- "id": "c594891a.4ece58",
+ "id": "15207d44.a4310b",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4876,
- "y": 4100,
- "z": "a1c94a24.22ed9",
+ "x": 4975.566665649414,
+ "y": 4167.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "4b2347b3.08fa3"
+ "64fe7f3a.b5df9"
]
]
},
{
- "id": "9fcde7ff.ff63c8",
+ "id": "179e4c90.1525b3",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4876,
- "y": 4149,
- "z": "a1c94a24.22ed9",
+ "x": 4975.566665649414,
+ "y": 4216.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "4b2347b3.08fa3",
+ "id": "64fe7f3a.b5df9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5044,
- "y": 4100,
- "z": "a1c94a24.22ed9",
+ "x": 5143.566665649414,
+ "y": 4167.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "315b6688.54502a",
- "2e1bb3dd.371e44"
+ "35196fa7.3e82b8",
+ "b4d44dab.0baa88"
]
]
},
{
- "id": "adcb7aad.70c0d",
+ "id": "433e887a.5dd2c",
"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": 1384,
- "y": 731,
- "z": "a1c94a24.22ed9",
+ "x": 1483.566665649414,
+ "y": 798.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "89022850.9f967",
- "75f048cb.75fe2",
- "d7d4823f.55128"
+ "4058fc82.6dfacc",
+ "4151c29c.d64b0c",
+ "5541a408.f0ed0c"
]
]
},
{
- "id": "89022850.9f967",
+ "id": "4058fc82.6dfacc",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1596.490966796875,
- "y": 697.573974609375,
- "z": "a1c94a24.22ed9",
+ "x": 1696.057632446289,
+ "y": 765.1406402587891,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "278a0fef.2766a8"
+ "417a2c30.fd69ac"
]
]
},
{
- "id": "75f048cb.75fe2",
+ "id": "4151c29c.d64b0c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1585,
- "y": 742,
- "z": "a1c94a24.22ed9",
+ "x": 1684.566665649414,
+ "y": 809.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "93e6204d.139fe"
+ "2fc8bb7d.787cac"
]
]
},
{
- "id": "278a0fef.2766a8",
+ "id": "417a2c30.fd69ac",
"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": 1745.0625,
- "y": 697.8597412109375,
- "z": "a1c94a24.22ed9",
+ "x": 1844.629165649414,
+ "y": 765.4264068603516,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "93e6204d.139fe",
+ "id": "2fc8bb7d.787cac",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1744,
- "y": 742,
- "z": "a1c94a24.22ed9",
+ "x": 1843.566665649414,
+ "y": 809.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "d7d4823f.55128",
+ "id": "5541a408.f0ed0c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1590,
- "y": 785,
- "z": "a1c94a24.22ed9",
+ "x": 1689.566665649414,
+ "y": 852.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "6c086bfb.a0d044"
+ "e145a9c3.48d208"
]
]
},
{
- "id": "6c086bfb.a0d044",
+ "id": "e145a9c3.48d208",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 736,
- "y": 1124,
- "z": "a1c94a24.22ed9",
+ "x": 835.5666656494141,
+ "y": 1191.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "b122eb38.341668"
+ "88efa0d6.0c1808"
]
]
},
{
- "id": "b122eb38.341668",
+ "id": "88efa0d6.0c1808",
"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": 1010,
- "y": 1124,
- "z": "a1c94a24.22ed9",
+ "x": 1109.566665649414,
+ "y": 1191.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "428eb2b6.4c43ec"
+ "c2dd1c9b.b3dd48"
]
]
},
{
- "id": "428eb2b6.4c43ec",
+ "id": "c2dd1c9b.b3dd48",
"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": 1245.33349609375,
- "y": 1125,
- "z": "a1c94a24.22ed9",
+ "x": 1344.900161743164,
+ "y": 1192.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "6c08ceaa.3d7e3"
+ "e5b1da68.bc54"
]
]
},
{
- "id": "6c08ceaa.3d7e3",
+ "id": "e5b1da68.bc54",
"type": "outcome",
"name": "connectivity",
"xml": "<outcome value='connectivity'>\n",
"comments": "",
"outputs": 1,
- "x": 529.000244140625,
- "y": 1278,
- "z": "a1c94a24.22ed9",
+ "x": 628.5669097900391,
+ "y": 1345.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "42fb5b21.64c794"
+ "fb4c81c8.58ec08"
]
]
},
{
- "id": "c24bb232.38015",
+ "id": "68774cff.da4f7c",
"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": 918,
- "y": 1283,
- "z": "a1c94a24.22ed9",
+ "x": 1017.5666656494141,
+ "y": 1350.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "a881a6a4.94a7c8",
- "2e732415.a6ca64",
- "10e50fbd.fcc5a"
+ "ae979c86.2af0a",
+ "c51e116c.9e96e",
+ "bc29e653.3cf5f8"
]
]
},
{
- "id": "a881a6a4.94a7c8",
+ "id": "ae979c86.2af0a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1114,
- "y": 1248,
- "z": "a1c94a24.22ed9",
+ "x": 1213.566665649414,
+ "y": 1315.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "2f6cf4f3.693c54"
+ "323455e1.4146ea"
]
]
},
{
- "id": "2e732415.a6ca64",
+ "id": "c51e116c.9e96e",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1114.490966796875,
- "y": 1293.5740356445312,
- "z": "a1c94a24.22ed9",
+ "x": 1214.057632446289,
+ "y": 1361.1407012939453,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "75b4d03c.1b0488"
+ "bf9be58f.d0c428"
]
]
},
{
- "id": "10e50fbd.fcc5a",
+ "id": "bc29e653.3cf5f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1079,
- "y": 1339,
- "z": "a1c94a24.22ed9",
+ "x": 1178.566665649414,
+ "y": 1406.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "83cefb63.3d3958"
+ "dd499616.1dbe"
]
]
},
{
- "id": "75b4d03c.1b0488",
+ "id": "bf9be58f.d0c428",
"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": 1274.0625,
- "y": 1290.8597412109375,
- "z": "a1c94a24.22ed9",
+ "x": 1373.629165649414,
+ "y": 1358.4264068603516,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "83cefb63.3d3958",
+ "id": "dd499616.1dbe",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1232,
- "y": 1341,
- "z": "a1c94a24.22ed9",
+ "x": 1331.566665649414,
+ "y": 1408.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "f0221f2b.2ca488",
+ "id": "66825a6f.db4e3c",
"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": 1507,
- "y": 1231,
- "z": "a1c94a24.22ed9",
+ "x": 1606.566665649414,
+ "y": 1298.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "1f27bf84.77001",
- "e05aac94.264e2"
+ "85e80e78.a683f",
+ "e9363fe4.4910f8"
]
]
},
{
- "id": "1f27bf84.77001",
+ "id": "85e80e78.a683f",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1718,
- "y": 1196,
- "z": "a1c94a24.22ed9",
+ "x": 1817.566665649414,
+ "y": 1263.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "5241d9c1.c5a"
+ "ea49207.e144c6"
]
]
},
{
- "id": "e05aac94.264e2",
+ "id": "e9363fe4.4910f8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1715,
- "y": 1257,
- "z": "a1c94a24.22ed9",
+ "x": 1814.566665649414,
+ "y": 1324.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "7d1ab491.7a47ec",
+ "id": "a72bfa1e.2c0188",
"type": "set",
"name": "set currLinkIsFound",
"xml": "<set>\n<parameter name='currLinkIsFound' value=\"true\" />\n\n\n",
"comments": "",
- "x": 2056,
- "y": 1169,
- "z": "a1c94a24.22ed9",
+ "x": 2155.566665649414,
+ "y": 1236.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "5241d9c1.c5a",
+ "id": "ea49207.e144c6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1870,
- "y": 1197,
- "z": "a1c94a24.22ed9",
+ "x": 1969.566665649414,
+ "y": 1264.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "7d1ab491.7a47ec"
+ "a72bfa1e.2c0188"
]
]
},
{
- "id": "ac3d3bcb.07c358",
+ "id": "77625e01.45cfa",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 2023,
- "y": 1225,
- "z": "a1c94a24.22ed9",
+ "x": 2122.566665649414,
+ "y": 1292.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "3aa19f56.483778",
+ "id": "747752c5.edcc6c",
"type": "comment",
"name": "currLinkIsFound. Go to the next logical-link",
"info": "",
"comments": "",
- "x": 2028,
- "y": 1119,
- "z": "a1c94a24.22ed9",
+ "x": 2127.566665649414,
+ "y": 1186.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "7947ec90.0b2fbc",
+ "id": "fc0b0bdf.af57e8",
"type": "switchNode",
"name": "switch currLinkIsFound",
"xml": "<switch test='`$currLinkIsFound`'>\n",
"comments": "",
"outputs": 1,
- "x": 1310,
- "y": 849,
- "z": "a1c94a24.22ed9",
+ "x": 1409.566665649414,
+ "y": 916.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "69298f6c.9e2dd",
- "bb557fd5.52031"
+ "ec2c299e.a7094",
+ "12a10d8.78ec073"
]
]
},
{
- "id": "69298f6c.9e2dd",
+ "id": "ec2c299e.a7094",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1496,
- "y": 828,
- "z": "a1c94a24.22ed9",
+ "x": 1595.566665649414,
+ "y": 895.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "cab96485.7156b"
+ "43c18e2d.dbbe18"
]
]
},
{
- "id": "bb557fd5.52031",
+ "id": "12a10d8.78ec073",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1493,
- "y": 964,
- "z": "a1c94a24.22ed9",
+ "x": 1592.566665649414,
+ "y": 1031.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "b394b52b.88d4f8"
+ "4dddc413.6cd63c"
]
]
},
{
- "id": "cab96485.7156b",
+ "id": "43c18e2d.dbbe18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1738,
- "y": 823,
- "z": "a1c94a24.22ed9",
+ "x": 1837.566665649414,
+ "y": 890.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "b4a6c43d.bfc078",
+ "id": "6e81ab2b.cd2004",
"type": "comment",
"name": "A new logical-link has been found: modify process should be triggered",
"info": "",
"comments": "",
- "x": 1684,
- "y": 927,
- "z": "a1c94a24.22ed9",
+ "x": 1783.566665649414,
+ "y": 994.5666656494141,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "2f6cf4f3.693c54",
+ "id": "323455e1.4146ea",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1278,
- "y": 1232,
- "z": "a1c94a24.22ed9",
+ "x": 1377.566665649414,
+ "y": 1299.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "f0221f2b.2ca488",
- "9c07de97.8ce1e8"
+ "66825a6f.db4e3c",
+ "4b0ae75c.1aab4"
]
]
},
{
- "id": "9c07de97.8ce1e8",
+ "id": "4b0ae75c.1aab4",
"type": "switchNode",
"name": "switch connectivityBW == gfp",
"xml": "<switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>\n",
"comments": "",
"outputs": 1,
- "x": 1508,
- "y": 1322,
- "z": "a1c94a24.22ed9",
+ "x": 1607.566665649414,
+ "y": 1389.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "e92f497c.306ff",
- "202f30a4.8a9778"
+ "c8e4becf.570ed8",
+ "efb821b0.8f5c8"
]
]
},
{
- "id": "e92f497c.306ff",
+ "id": "c8e4becf.570ed8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1713,
- "y": 1318,
- "z": "a1c94a24.22ed9",
+ "x": 1812.566665649414,
+ "y": 1385.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "202f30a4.8a9778",
+ "id": "efb821b0.8f5c8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1715,
- "y": 1368,
- "z": "a1c94a24.22ed9",
+ "x": 1814.566665649414,
+ "y": 1435.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "aabbec3c.d5f948"
+ "35c21580.2c9b32"
]
]
},
{
- "id": "79a3430c.be3b14",
+ "id": "fd83a72b.0cf5a8",
"type": "set",
"name": "set bwModified",
"xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",
"comments": "",
- "x": 2064,
- "y": 1346,
- "z": "a1c94a24.22ed9",
+ "x": 2163.566665649414,
+ "y": 1413.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "aabbec3c.d5f948",
+ "id": "35c21580.2c9b32",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1869,
- "y": 1367,
- "z": "a1c94a24.22ed9",
+ "x": 1968.566665649414,
+ "y": 1434.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "79a3430c.be3b14",
- "b3b4a039.5c091"
+ "fd83a72b.0cf5a8",
+ "b1b00645.427888"
]
]
},
{
- "id": "b3b4a039.5c091",
+ "id": "b1b00645.427888",
"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": 889,
- "y": 1572,
- "z": "a1c94a24.22ed9",
+ "x": 988.5666656494141,
+ "y": 1639.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "74886cc5.56820c"
+ "3c4549a7.0d1376"
]
]
},
{
- "id": "74886cc5.56820c",
+ "id": "3c4549a7.0d1376",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 1094,
- "y": 1572,
- "z": "a1c94a24.22ed9",
+ "x": 1193.566665649414,
+ "y": 1639.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "ab7d3bd9.5a0118"
+ "adf26b65.8f90e"
]
]
},
{
- "id": "ab7d3bd9.5a0118",
+ "id": "adf26b65.8f90e",
"type": "outcome",
"name": "vpn-binding",
"xml": "<outcome value='vpn-binding'>\n",
"comments": "",
"outputs": 1,
- "x": 1260,
- "y": 1572,
- "z": "a1c94a24.22ed9",
+ "x": 1359.566665649414,
+ "y": 1639.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "9ac61acb.25a0c8"
+ "64e47481.3a26d4"
]
]
},
{
- "id": "9ac61acb.25a0c8",
+ "id": "64e47481.3a26d4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1423,
- "y": 1572,
- "z": "a1c94a24.22ed9",
+ "x": 1522.566665649414,
+ "y": 1639.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "2370c115.ac8fd6",
- "1b61e8de.a73647"
+ "6e6ea5ef.8c2224",
+ "d5aad2e.d2c753"
]
]
},
{
- "id": "1b61e8de.a73647",
+ "id": "d5aad2e.d2c753",
"type": "set",
"name": "unset tmp.aai.vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
"comments": "",
- "x": 1652,
- "y": 1512,
- "z": "a1c94a24.22ed9",
+ "x": 1751.566665649414,
+ "y": 1579.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "2370c115.ac8fd6",
+ "id": "6e6ea5ef.8c2224",
"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": 1161,
- "y": 1666,
- "z": "a1c94a24.22ed9",
+ "x": 1260.566665649414,
+ "y": 1733.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "28298f17.ccf108",
- "b6883dde.6b7bf8",
- "744baf90.7b9cd8"
+ "8146e5c8.89f0a",
+ "7ba4a096.c89f48",
+ "d58f3b9.ef82248"
]
]
},
{
- "id": "98131352.4a889",
+ "id": "f88195dd.98254",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1545,
- "y": 1666,
- "z": "a1c94a24.22ed9",
+ "x": 1644.566665649414,
+ "y": 1733.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "1b2b6a88.49f2b5",
- "43c66f34.653488"
+ "1f6be69e.efcee9",
+ "dca75bc1.9206a8"
]
]
},
{
- "id": "28298f17.ccf108",
+ "id": "8146e5c8.89f0a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1372,
- "y": 1668,
- "z": "a1c94a24.22ed9",
+ "x": 1471.566665649414,
+ "y": 1735.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "98131352.4a889"
+ "f88195dd.98254"
]
]
},
{
- "id": "b6883dde.6b7bf8",
+ "id": "7ba4a096.c89f48",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1372.490966796875,
- "y": 1713.5740356445312,
- "z": "a1c94a24.22ed9",
+ "x": 1472.057632446289,
+ "y": 1781.1407012939453,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "15cd27be.d92658"
+ "e8dc9623.1376d8"
]
]
},
{
- "id": "744baf90.7b9cd8",
+ "id": "d58f3b9.ef82248",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1370,
- "y": 1757,
- "z": "a1c94a24.22ed9",
+ "x": 1469.566665649414,
+ "y": 1824.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "d3584005.2bd19"
+ "1a1a5ddc.251932"
]
]
},
{
- "id": "d3584005.2bd19",
+ "id": "1a1a5ddc.251932",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1537,
- "y": 1774,
- "z": "a1c94a24.22ed9",
+ "x": 1636.566665649414,
+ "y": 1841.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "15cd27be.d92658",
+ "id": "e8dc9623.1376d8",
"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": 1535.0623779296875,
- "y": 1713.8597717285156,
- "z": "a1c94a24.22ed9",
+ "x": 1634.6290435791016,
+ "y": 1781.4264373779297,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "42fb5b21.64c794",
+ "id": "fb4c81c8.58ec08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 701,
- "y": 1278,
- "z": "a1c94a24.22ed9",
+ "x": 800.5666656494141,
+ "y": 1345.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[
- "c24bb232.38015",
- "cd433210.9124b"
+ "68774cff.da4f7c",
+ "458e84.00aae97c"
]
]
},
{
- "id": "cd433210.9124b",
+ "id": "458e84.00aae97c",
"type": "set",
"name": "unset tmp.aai.connectivity",
"xml": "<set>\n<parameter name='tmp.aai.connectivity.' value='' />\n",
"comments": "",
- "x": 921,
- "y": 1226,
- "z": "a1c94a24.22ed9",
+ "x": 1020.5666656494141,
+ "y": 1293.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "1b2b6a88.49f2b5",
+ "id": "1f6be69e.efcee9",
"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": 1895.5,
- "y": 1661,
- "z": "a1c94a24.22ed9",
+ "x": 1995.066665649414,
+ "y": 1728.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "43c66f34.653488",
+ "id": "dca75bc1.9206a8",
"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": 1822.5,
- "y": 1725,
- "z": "a1c94a24.22ed9",
+ "x": 1922.066665649414,
+ "y": 1792.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "54aaf2e0.b64b14",
+ "id": "ee7fd236.9ed9a8",
"type": "comment",
"name": "The following two nodes are for PCE",
"info": "",
"comments": "",
- "x": 1967,
- "y": 53,
- "z": "a1c94a24.22ed9",
+ "x": 2066.566665649414,
+ "y": 120.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": []
},
{
- "id": "d51e1ac2.752b08",
+ "id": "323fc4b1.60fe74",
"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\" >",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v25/network/pnfs?depth=0' depth = 0\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",
"comments": "",
"outputs": 1,
- "x": 1927,
- "y": 97,
- "z": "a1c94a24.22ed9",
+ "x": 2026.566665649414,
+ "y": 164.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "30222136.8f9b9e",
+ "id": "8780743f.a296a",
"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\" >",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v25/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",
"comments": "",
"outputs": 1,
- "x": 1940,
- "y": 142,
- "z": "a1c94a24.22ed9",
+ "x": 2039.566665649414,
+ "y": 209.56666564941406,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "31cde3.5ded021e",
+ "id": "afd6fb79.f36b6",
"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": 4247,
- "y": 2259,
- "z": "a1c94a24.22ed9",
+ "x": 4346.566665649414,
+ "y": 2326.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "363286ce.e60c2a",
+ "id": "89a7842f.afd83",
"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-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-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='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\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",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-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='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\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": 5538,
- "y": 1096,
- "z": "a1c94a24.22ed9",
+ "x": 5637.566665649414,
+ "y": 1163.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]
},
{
- "id": "e15a89e6.e78d8",
+ "id": "1a397526.128d93",
"type": "call",
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-find-maximum-used-tpn",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 4436,
- "y": 2331,
- "z": "a1c94a24.22ed9",
+ "x": 4535.566665649414,
+ "y": 2398.566665649414,
+ "z": "25a21122.0e2cfe",
"wires": [
[]
]