aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json5348
1 files changed, 2674 insertions, 2674 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json
index 5989c10f..f834a973 100644
--- a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json
@@ -1,20 +1,20 @@
[
{
- "id": "77a1d01c.aa0f88",
+ "id": "760c3032.024ec8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 168.56666564941406,
- "y": 174.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 176.56666564941406,
+ "y": 129.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "1e3c1648.671ee2"
+ "5c65c97e.4fcce"
]
]
},
{
- "id": "1e3c1648.671ee2",
+ "id": "5c65c97e.4fcce",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,7886 +22,7886 @@
"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": 452.85235595703125,
- "y": 235.8047742843628,
- "z": "294b5e8a.041612",
+ "x": 460.85235595703125,
+ "y": 190.8047742843628,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "cf91a24a.cfe63"
+ "f52e4a2.8e9b7b8"
]
]
},
{
- "id": "cf91a24a.cfe63",
+ "id": "f52e4a2.8e9b7b8",
"type": "method",
"name": "method cll-vnf-topology-operation-cll-create-clean",
"xml": "<method rpc='cll-vnf-topology-operation-cll-create-clean' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 458.9952697753906,
- "y": 320.5666961669922,
- "z": "294b5e8a.041612",
+ "x": 466.9952697753906,
+ "y": 275.5666961669922,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "8dc5a038.179a08"
+ "f52145b6.00f26"
]
]
},
{
- "id": "8dc5a038.179a08",
+ "id": "f52145b6.00f26",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 808.5666656494141,
- "y": 379.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 816.5666656494141,
+ "y": 334.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9b12be39.ac6768",
- "27bb57a4.5f987",
- "2a2da752.b59748"
+ "b781570d.1bdc6",
+ "a3b9d436.7cd37",
+ "916ad2e4.da3bd"
]
]
},
{
- "id": "9b12be39.ac6768",
+ "id": "b781570d.1bdc6",
"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": 1109.900161743164,
- "y": 650.4969635009766,
- "z": "294b5e8a.041612",
+ "x": 1117.900161743164,
+ "y": 605.4969635009766,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "27bb57a4.5f987",
+ "id": "a3b9d436.7cd37",
"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": 1131.328628540039,
- "y": 352.8999786376953,
- "z": "294b5e8a.041612",
+ "x": 1139.328628540039,
+ "y": 307.8999786376953,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "6a4d10dc.68d4a",
- "5691a128.aafbf8",
- "5af1bedf.a7a338"
+ "a44b76d8.232f78",
+ "2fc87770.5a98b8",
+ "d48f40d3.37656"
]
]
},
{
- "id": "6a4d10dc.68d4a",
+ "id": "a44b76d8.232f78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1356.328628540039,
- "y": 210.8999786376953,
- "z": "294b5e8a.041612",
+ "x": 1364.328628540039,
+ "y": 165.8999786376953,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "80bca2fd.976568"
+ "a9f7ac5b.dc2e28"
]
]
},
{
- "id": "5691a128.aafbf8",
+ "id": "2fc87770.5a98b8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1351.819595336914,
- "y": 280.47401428222656,
- "z": "294b5e8a.041612",
+ "x": 1359.819595336914,
+ "y": 235.47401428222656,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7f99fec5.4581e"
+ "87351fcb.5849e"
]
]
},
{
- "id": "5af1bedf.a7a338",
+ "id": "d48f40d3.37656",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1340.328628540039,
- "y": 326.8999786376953,
- "z": "294b5e8a.041612",
+ "x": 1348.328628540039,
+ "y": 281.8999786376953,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "811c97ff.d24ba8"
+ "81b461.b8b3eba"
]
]
},
{
- "id": "1663aedd.7a50f9",
+ "id": "ed4dfd16.f55a8",
"type": "comment",
"name": "new for TransportSlicing",
"info": "",
"comments": "",
- "x": 1110.328628540039,
- "y": 240.8999786376953,
- "z": "294b5e8a.041612",
+ "x": 1118.328628540039,
+ "y": 195.8999786376953,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "2a2da752.b59748",
+ "id": "916ad2e4.da3bd",
"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": 1098.328628540039,
- "y": 292.8999786376953,
- "z": "294b5e8a.041612",
+ "x": 1106.328628540039,
+ "y": 247.8999786376953,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "80bca2fd.976568",
+ "id": "a9f7ac5b.dc2e28",
"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": 1596.566665649414,
- "y": 207.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 1604.566665649414,
+ "y": 162.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9eedb337.58df9",
- "1db64f77.692391"
+ "9413aaeb.d092f",
+ "4243f2e3.377954"
]
]
},
{
- "id": "7f99fec5.4581e",
+ "id": "87351fcb.5849e",
"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": 1506.6290435791016,
- "y": 283.4264373779297,
- "z": "294b5e8a.041612",
+ "x": 1514.6290435791016,
+ "y": 238.4264373779297,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "811c97ff.d24ba8",
+ "id": "81b461.b8b3eba",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1510.566665649414,
- "y": 327.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 1518.566665649414,
+ "y": 282.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "9eedb337.58df9",
+ "id": "9413aaeb.d092f",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1801.566665649414,
- "y": 244.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 1809.566665649414,
+ "y": 199.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "e3d32c54.b9a328"
+ "41ee935e.7af694"
]
]
},
{
- "id": "1db64f77.692391",
+ "id": "4243f2e3.377954",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1811.566665649414,
- "y": 171.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 1819.566665649414,
+ "y": 126.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "e3d32c54.b9a328",
+ "id": "41ee935e.7af694",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1794.566665649414,
- "y": 319.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 1802.566665649414,
+ "y": 274.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "bb266e42.d64ce8",
- "33816966.623666",
- "6367b887.741ef",
- "a5dc6d6.f390b9",
- "c617e6ee.8b983"
+ "48c9f8b7.accfc",
+ "4b70868c.ca77",
+ "33568fb6.bac76",
+ "ed1c5832.299138",
+ "629500a0.f350c"
]
]
},
{
- "id": "410f1f1c.a0bc8",
+ "id": "911385ff.dcfb6",
"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": 2280.566665649414,
- "y": 370.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 2288.566665649414,
+ "y": 325.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b15d3419.e56af8",
- "8179030d.1dc9b8",
- "c175e9c7.17a5f8"
+ "7bf84f8a.19dac",
+ "e93a24fd.89bb98",
+ "b3019feb.2307b"
]
]
},
{
- "id": "b15d3419.e56af8",
+ "id": "7bf84f8a.19dac",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2496.566665649414,
- "y": 437.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 2504.566665649414,
+ "y": 392.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "e4dfd7bc.ebf1f8"
+ "28ff285d.675018"
]
]
},
{
- "id": "8179030d.1dc9b8",
+ "id": "e93a24fd.89bb98",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2497.057632446289,
- "y": 337.14064025878906,
- "z": "294b5e8a.041612",
+ "x": 2505.057632446289,
+ "y": 292.14064025878906,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a4be790d.e1feb"
+ "4ef0e01e.f3cdf"
]
]
},
{
- "id": "c175e9c7.17a5f8",
+ "id": "b3019feb.2307b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2492.566665649414,
- "y": 386.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 2500.566665649414,
+ "y": 341.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7226e4d.271f21c"
+ "2913a1dc.ae6786"
]
]
},
{
- "id": "bb266e42.d64ce8",
+ "id": "48c9f8b7.accfc",
"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": 1997.566665649414,
- "y": 351.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 2005.566665649414,
+ "y": 306.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a610825f.3baab8",
- "410f1f1c.a0bc8",
- "5b668059.1f482",
- "989a0e11.127538"
+ "8b66b4b0.d208d8",
+ "911385ff.dcfb6",
+ "79257077.5f1ff8",
+ "8a55fb57.dfc438"
]
]
},
{
- "id": "a610825f.3baab8",
+ "id": "8b66b4b0.d208d8",
"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": 2277.566665649414,
- "y": 289.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 2285.566665649414,
+ "y": 244.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "a5dc6d6.f390b9",
+ "id": "ed1c5832.299138",
"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\n",
"comments": "",
- "x": 1971.566665649414,
- "y": 301.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 1979.566665649414,
+ "y": 256.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "33816966.623666",
+ "id": "4b70868c.ca77",
"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/v25/network/pnfs?depth=0' depth = 0\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",
"comments": "",
"outputs": 1,
- "x": 2014.566665649414,
- "y": 160.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 2022.566665649414,
+ "y": 115.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "6367b887.741ef",
+ "id": "33568fb6.bac76",
"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/v25/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",
"comments": "",
"outputs": 1,
- "x": 2026.566665649414,
- "y": 201.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 2034.566665649414,
+ "y": 156.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "bc72be6f.8dc5b",
+ "id": "2a477cee.98364c",
"type": "comment",
"name": "The following two nodes are for PCE",
"info": "",
"comments": "",
- "x": 2051.566665649414,
- "y": 113.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 2059.566665649414,
+ "y": 68.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "999645ff.8d79f8",
+ "id": "11e969ea.04e966",
"type": "set",
"name": "set tmp.arr",
"xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",
"comments": "",
- "x": 1971.566665649414,
- "y": 247.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 1979.566665649414,
+ "y": 202.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "a4be790d.e1feb",
+ "id": "4ef0e01e.f3cdf",
"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": 2675.566665649414,
- "y": 339.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 2683.566665649414,
+ "y": 294.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "7226e4d.271f21c",
+ "id": "2913a1dc.ae6786",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2675.504165649414,
- "y": 388.70692443847656,
- "z": "294b5e8a.041612",
+ "x": 2683.504165649414,
+ "y": 343.70692443847656,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "e4dfd7bc.ebf1f8",
+ "id": "28ff285d.675018",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2677.504165649414,
- "y": 439.70692443847656,
- "z": "294b5e8a.041612",
+ "x": 2685.504165649414,
+ "y": 394.70692443847656,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "4971434.1d7e03c"
+ "ef99d74f.4057d"
]
]
},
{
- "id": "4971434.1d7e03c",
+ "id": "ef99d74f.4057d",
"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": 2970.504165649414,
- "y": 386.70692443847656,
- "z": "294b5e8a.041612",
+ "x": 2978.504165649414,
+ "y": 341.70692443847656,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "24e6d7c1.5d2048",
- "3ed3e5cb.f1266a",
- "c01f466a.2c59b8"
+ "e456d5f.a155828",
+ "7848fc63.19f06c",
+ "64a94fba.40e7a"
]
]
},
{
- "id": "3ed3e5cb.f1266a",
+ "id": "7848fc63.19f06c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3273.995101928711,
- "y": 119.28089904785156,
- "z": "294b5e8a.041612",
+ "x": 3281.995101928711,
+ "y": 74.28089904785156,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "23469507.c7cb02"
+ "afcd1c40.b768f"
]
]
},
{
- "id": "23469507.c7cb02",
+ "id": "afcd1c40.b768f",
"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": 3451.566635131836,
- "y": 119.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 3459.566635131836,
+ "y": 74.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "c01f466a.2c59b8",
+ "id": "64a94fba.40e7a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3269.504135131836,
- "y": 168.70692443847656,
- "z": "294b5e8a.041612",
+ "x": 3277.504135131836,
+ "y": 123.70692443847656,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "196361cf.857fbe"
+ "9649b9cd.238c78"
]
]
},
{
- "id": "196361cf.857fbe",
+ "id": "9649b9cd.238c78",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3451.504135131836,
- "y": 168.70692443847656,
- "z": "294b5e8a.041612",
+ "x": 3459.504135131836,
+ "y": 123.70692443847656,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "24e6d7c1.5d2048",
+ "id": "e456d5f.a155828",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3273.504135131836,
- "y": 219.70692443847656,
- "z": "294b5e8a.041612",
+ "x": 3281.504135131836,
+ "y": 174.70692443847656,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "51b732b0.20c4ec"
+ "8fd753ef.f9f648"
]
]
},
{
- "id": "51b732b0.20c4ec",
+ "id": "8fd753ef.f9f648",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3453.504135131836,
- "y": 219.70692443847656,
- "z": "294b5e8a.041612",
+ "x": 3461.504135131836,
+ "y": 174.70692443847656,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b7af5f8.780582"
+ "f37cd8dc.622f28"
]
]
},
{
- "id": "b7af5f8.780582",
+ "id": "f37cd8dc.622f28",
"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": 2989.566665649414,
- "y": 514.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 2997.566665649414,
+ "y": 469.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "73dd535b.21de04",
- "941bba5e.9658d"
+ "d8de60b.2b55ea",
+ "6b2e15a0.33589c"
]
]
},
{
- "id": "941bba5e.9658d",
+ "id": "6b2e15a0.33589c",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3329.566635131836,
- "y": 361.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 3337.566635131836,
+ "y": 316.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "73dd535b.21de04",
+ "id": "d8de60b.2b55ea",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3328.566635131836,
- "y": 415.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 3336.566635131836,
+ "y": 370.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "33242734.b6ef48"
+ "41425976.6167f8"
]
]
},
{
- "id": "8e081bd8.979208",
+ "id": "d54e5594.aff43",
"type": "outcome",
"name": "network-policy",
"xml": "<outcome value='network-policy'>\n",
"comments": "",
"outputs": 1,
- "x": 4073.566635131836,
- "y": 369.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 4081.566635131836,
+ "y": 324.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "ce0fbf14.8d016"
+ "20569ac4.3ebdd6"
]
]
},
{
- "id": "ce0fbf14.8d016",
+ "id": "20569ac4.3ebdd6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4250.566513061523,
- "y": 362.56654357910156,
- "z": "294b5e8a.041612",
+ "x": 4258.566513061523,
+ "y": 317.56654357910156,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "1a44842.2180c7c",
- "958a84e8.9fbc48"
+ "f7578f2.98aaff",
+ "fec27249.f43818"
]
]
},
{
- "id": "33242734.b6ef48",
+ "id": "41425976.6167f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3492.566635131836,
- "y": 341.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 3500.566635131836,
+ "y": 296.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "afaee3e0.e6df98",
- "db5b85f.aeb77f8"
+ "bf1caed6.dba4d",
+ "7892547.06584ac"
]
]
},
{
- "id": "afaee3e0.e6df98",
+ "id": "bf1caed6.dba4d",
"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": 3773.566635131836,
- "y": 297.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 3781.566635131836,
+ "y": 252.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "c2880ab0.c73eb"
+ "37857fb8.f82a48"
]
]
},
{
- "id": "c2880ab0.c73eb",
+ "id": "37857fb8.f82a48",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4035.566635131836,
- "y": 297.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 4043.566635131836,
+ "y": 252.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "8e081bd8.979208"
+ "d54e5594.aff43"
]
]
},
{
- "id": "1a44842.2180c7c",
+ "id": "f7578f2.98aaff",
"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": 4493.566513061523,
- "y": 319.56654357910156,
- "z": "294b5e8a.041612",
+ "x": 4501.566513061523,
+ "y": 274.56654357910156,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "958a84e8.9fbc48",
+ "id": "fec27249.f43818",
"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": 4482.566513061523,
- "y": 374.56654357910156,
- "z": "294b5e8a.041612",
+ "x": 4490.566513061523,
+ "y": 329.56654357910156,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "4710cc76.36ad1c",
- "efa019b.ed98a68",
- "b08c41e4.127bd8"
+ "7d11439b.9c402c",
+ "1159889c.e4b977",
+ "672fe755.7cac68"
]
]
},
{
- "id": "b08c41e4.127bd8",
+ "id": "672fe755.7cac68",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4733.566879272461,
- "y": 315.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 4741.566879272461,
+ "y": 270.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7eb7952c.f46d84"
+ "8e6a85a9.42bd58"
]
]
},
{
- "id": "7eb7952c.f46d84",
+ "id": "8e6a85a9.42bd58",
"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": 4882.138412475586,
- "y": 315.85243225097656,
- "z": "294b5e8a.041612",
+ "x": 4890.138412475586,
+ "y": 270.85243225097656,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "dd0313dc.1a2988",
+ "id": "d22f2789.6a3cb",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4881.075912475586,
- "y": 359.99269104003906,
- "z": "294b5e8a.041612",
+ "x": 4889.075912475586,
+ "y": 314.99269104003906,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "efa019b.ed98a68",
+ "id": "1159889c.e4b977",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4722.075912475586,
- "y": 359.99269104003906,
- "z": "294b5e8a.041612",
+ "x": 4730.075912475586,
+ "y": 314.99269104003906,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "dd0313dc.1a2988"
+ "d22f2789.6a3cb"
]
]
},
{
- "id": "4710cc76.36ad1c",
+ "id": "7d11439b.9c402c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4729.075912475586,
- "y": 438.99269104003906,
- "z": "294b5e8a.041612",
+ "x": 4737.075912475586,
+ "y": 393.99269104003906,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "fbbb1a1a.e2c5b8"
+ "1927fc16.6351c4"
]
]
},
{
- "id": "fbbb1a1a.e2c5b8",
+ "id": "1927fc16.6351c4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4868.075912475586,
- "y": 438.99269104003906,
- "z": "294b5e8a.041612",
+ "x": 4876.075912475586,
+ "y": 393.99269104003906,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7a803641.fde268",
- "6a2b20cd.32701"
+ "4ec1a8d7.67b3c8",
+ "4af48fa4.c20fa"
]
]
},
{
- "id": "7a803641.fde268",
+ "id": "4ec1a8d7.67b3c8",
"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": 5073.566879272461,
- "y": 436.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 5081.566879272461,
+ "y": 391.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "6a2b20cd.32701",
+ "id": "4af48fa4.c20fa",
"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": 5072.566879272461,
- "y": 482.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 5080.566879272461,
+ "y": 437.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "db5b85f.aeb77f8",
+ "id": "7892547.06584ac",
"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": 3590.566635131836,
- "y": 413.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 3598.566635131836,
+ "y": 368.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "3d651743.57b188"
+ "ea9b4d5b.2a42f8"
]
]
},
{
- "id": "3d651743.57b188",
+ "id": "ea9b4d5b.2a42f8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3870.566635131836,
- "y": 413.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 3878.566635131836,
+ "y": 368.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "823d6ddb.3083e8"
+ "476ea684.13443"
]
]
},
{
- "id": "823d6ddb.3083e8",
+ "id": "476ea684.13443",
"type": "outcome",
"name": "logical-link",
"xml": "<outcome value='logical-link'>\n",
"comments": "",
"outputs": 1,
- "x": 2253.5667877197266,
- "y": 826.5667877197266,
- "z": "294b5e8a.041612",
+ "x": 2261.5667877197266,
+ "y": 781.5667877197266,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a4f7cdf6.5208e8"
+ "c7ca0b2.bde93f8"
]
]
},
{
- "id": "a4f7cdf6.5208e8",
+ "id": "c7ca0b2.bde93f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2430.566665649414,
- "y": 819.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 2438.566665649414,
+ "y": 774.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "eb8d4808.206a1",
- "4f79166b.81752"
+ "86b11ccc.07eb1",
+ "5c684ea4.22866"
]
]
},
{
- "id": "eb8d4808.206a1",
+ "id": "86b11ccc.07eb1",
"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\n\n",
"comments": "",
- "x": 2673.566665649414,
- "y": 776.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 2681.566665649414,
+ "y": 731.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "4f79166b.81752",
+ "id": "5c684ea4.22866",
"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": 2662.566665649414,
- "y": 831.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 2670.566665649414,
+ "y": 786.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "62989b79.9cfe9c",
- "1988a7a4.ff123",
- "85413e7a.b1b628"
+ "2c2754a5.0b7c2c",
+ "9ab044d8.9332",
+ "6aa476a7.c1db08"
]
]
},
{
- "id": "62989b79.9cfe9c",
+ "id": "2c2754a5.0b7c2c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2954.057632446289,
- "y": 810.1406402587891,
- "z": "294b5e8a.041612",
+ "x": 2962.057632446289,
+ "y": 765.1406402587891,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f822b8e9.269d"
+ "606104a3.7d17dc"
]
]
},
{
- "id": "1988a7a4.ff123",
+ "id": "9ab044d8.9332",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2942.566665649414,
- "y": 854.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 2950.566665649414,
+ "y": 809.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b1dab01.deaad5"
+ "187a718c.4bcdf6"
]
]
},
{
- "id": "f822b8e9.269d",
+ "id": "606104a3.7d17dc",
"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": 3102.629165649414,
- "y": 810.4264068603516,
- "z": "294b5e8a.041612",
+ "x": 3110.629165649414,
+ "y": 765.4264068603516,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "b1dab01.deaad5",
+ "id": "187a718c.4bcdf6",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3101.566665649414,
- "y": 854.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 3109.566665649414,
+ "y": 809.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "85413e7a.b1b628",
+ "id": "6aa476a7.c1db08",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2949.566665649414,
- "y": 933.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 2957.566665649414,
+ "y": 888.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "fb178b5b.3c4ae8"
+ "9fd32ca0.d84048"
]
]
},
{
- "id": "fb178b5b.3c4ae8",
+ "id": "9fd32ca0.d84048",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3088.566665649414,
- "y": 933.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 3096.566665649414,
+ "y": 888.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "e94ce0e6.cdcf4",
- "2a0a2d05.627212",
- "2d29cc30.4d633c",
- "8255fb50.a7b88",
- "ea28bb0a.303ea8",
- "4b5b0bf9.d92b04",
- "42798389.0acfb4",
- "29a6af57.132c2",
- "18652387.ef4d1c",
- "c49ed897.0159e8",
- "9d2ec307.fb07b8",
- "c81a19d9.9b256",
- "b5b402c1.c35e88",
- "84774758.102ed8",
- "17e6527f.ea49de",
- "c22e8ab9.0a6b88",
- "647f2e19.e50158",
- "9c75cfb6.9dae68",
- "9a8ce081.e6446",
- "c989c621.8b708",
- "88b89d66.20648"
+ "7a7db7d4.95d8d",
+ "95e88e5b.59dc68",
+ "ccbad682.f9f6e",
+ "51c5f691.62046",
+ "c524ae07.05ca4",
+ "573995f0.c3e824",
+ "40c97410.34efdc",
+ "3ceacdf9.dad772",
+ "37ff3aef.9a54ee",
+ "a62852b2.29136",
+ "e4c9b14e.e493e",
+ "a5e91f89.51e28",
+ "6a1545ce.c6f074",
+ "fcc163b9.6d6e2",
+ "c9e93381.966988",
+ "5fc9799.82ba788",
+ "7ebd6769.0b5428",
+ "9fbb56ee.c43378",
+ "387e5bde.fd50e4",
+ "a78822a6.5321b",
+ "a4c94b0b.1b4718"
]
]
},
{
- "id": "31581a8c.76364e",
+ "id": "8a5fb9f9.eee92",
"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": 3437.566665649414,
- "y": 467.56663513183594,
- "z": "294b5e8a.041612",
+ "x": 3445.566665649414,
+ "y": 422.56663513183594,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "e94ce0e6.cdcf4",
+ "id": "7a7db7d4.95d8d",
"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": 3418.566604614258,
- "y": 546.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 3426.566604614258,
+ "y": 501.56663513183594,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "84774758.102ed8",
+ "id": "fcc163b9.6d6e2",
"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": 3375.566604614258,
- "y": 591.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 3383.566604614258,
+ "y": 546.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "2a0a2d05.627212",
+ "id": "95e88e5b.59dc68",
"type": "set",
"name": "set network-route-one",
"xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",
"comments": "",
- "x": 3340.566635131836,
- "y": 645.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 3348.566635131836,
+ "y": 600.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "2d29cc30.4d633c",
+ "id": "ccbad682.f9f6e",
"type": "set",
"name": "set network-route-two",
"xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",
"comments": "",
- "x": 3341.566635131836,
- "y": 700.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 3349.566635131836,
+ "y": 655.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "8255fb50.a7b88",
+ "id": "51c5f691.62046",
"type": "save",
"name": "get network-route-one 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-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",
"comments": "",
"outputs": 1,
- "x": 3339.566635131836,
- "y": 964.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 3347.566635131836,
+ "y": 919.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "bc9dba3e.42915",
- "4ccb40e3.75eb",
- "6e77d52e.d49a5c"
+ "ab7d525c.39024",
+ "e9514e17.b4663",
+ "e95aa54a.0cb1c8"
]
]
},
{
- "id": "ea28bb0a.303ea8",
+ "id": "c524ae07.05ca4",
"type": "save",
"name": "get network-route-two 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-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",
"comments": "",
"outputs": 1,
- "x": 3334.566635131836,
- "y": 1025.5665130615234,
- "z": "294b5e8a.041612",
+ "x": 3342.566635131836,
+ "y": 980.5665130615234,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "ddf0ef9b.af495",
- "d012a2e6.7e886",
- "c732ba74.e6ac38"
+ "ba38cd77.3ddd8",
+ "3fe85825.5036d",
+ "4b77c928.b0503"
]
]
},
{
- "id": "bc9dba3e.42915",
+ "id": "ab7d525c.39024",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3650.566635131836,
- "y": 735.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 3658.566635131836,
+ "y": 690.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "d26a86c.70f36f8"
+ "a41dfa2.144c608"
]
]
},
{
- "id": "4ccb40e3.75eb",
+ "id": "e9514e17.b4663",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3646.075668334961,
- "y": 784.9926605224609,
- "z": "294b5e8a.041612",
+ "x": 3654.075668334961,
+ "y": 739.9926605224609,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "3592fdd4.1e4502"
+ "88fea61b.80803"
]
]
},
{
- "id": "6e77d52e.d49a5c",
+ "id": "e95aa54a.0cb1c8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3650.075668334961,
- "y": 837.9926605224609,
- "z": "294b5e8a.041612",
+ "x": 3658.075668334961,
+ "y": 792.9926605224609,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f6681e1c.b1626"
+ "5f495b77.8e475c"
]
]
},
{
- "id": "d26a86c.70f36f8",
+ "id": "a41dfa2.144c608",
"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": 3799.138168334961,
- "y": 734.8524017333984,
- "z": "294b5e8a.041612",
+ "x": 3807.138168334961,
+ "y": 689.8524017333984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "3592fdd4.1e4502",
+ "id": "88fea61b.80803",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3789.075668334961,
- "y": 784.9926605224609,
- "z": "294b5e8a.041612",
+ "x": 3797.075668334961,
+ "y": 739.9926605224609,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "ddf0ef9b.af495",
+ "id": "ba38cd77.3ddd8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3612.566604614258,
- "y": 925.5664825439453,
- "z": "294b5e8a.041612",
+ "x": 3620.566604614258,
+ "y": 880.5664825439453,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "275632fb.e09a86"
+ "5d8c160b.0c4ea8"
]
]
},
{
- "id": "d012a2e6.7e886",
+ "id": "3fe85825.5036d",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3608.075668334961,
- "y": 967.9925384521484,
- "z": "294b5e8a.041612",
+ "x": 3616.075668334961,
+ "y": 922.9925384521484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "984e984a.f448c8"
+ "b6433621.de36a"
]
]
},
{
- "id": "c732ba74.e6ac38",
+ "id": "4b77c928.b0503",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3609.075668334961,
- "y": 1020.9925384521484,
- "z": "294b5e8a.041612",
+ "x": 3617.075668334961,
+ "y": 975.9925384521484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "2eeb8181.d4367e"
+ "999aafa8.043a8"
]
]
},
{
- "id": "275632fb.e09a86",
+ "id": "5d8c160b.0c4ea8",
"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": 3761.138137817383,
- "y": 924.8522491455078,
- "z": "294b5e8a.041612",
+ "x": 3769.138137817383,
+ "y": 879.8522491455078,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "984e984a.f448c8",
+ "id": "b6433621.de36a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3751.075668334961,
- "y": 967.9925384521484,
- "z": "294b5e8a.041612",
+ "x": 3759.075668334961,
+ "y": 922.9925384521484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "f6681e1c.b1626",
+ "id": "5f495b77.8e475c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3811.566635131836,
- "y": 837.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 3819.566635131836,
+ "y": 792.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "caab91f.12177f"
+ "f4d50ce3.687d98"
]
]
},
{
- "id": "2eeb8181.d4367e",
+ "id": "999aafa8.043a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3762.566635131836,
- "y": 1020.5665130615234,
- "z": "294b5e8a.041612",
+ "x": 3770.566635131836,
+ "y": 975.5665130615234,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9eb76f3a.cfcbd8"
+ "6c0d4a32.4f3524"
]
]
},
{
- "id": "caab91f.12177f",
+ "id": "f4d50ce3.687d98",
"type": "switchNode",
"name": "switch nr type",
"xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",
"comments": "",
"outputs": 1,
- "x": 3986.566635131836,
- "y": 811.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 3994.566635131836,
+ "y": 766.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "2172bcb.4fd5b44",
- "c6b4aa53.9764a8",
- "fbdccf10.5fabc"
+ "e8eddbb7.6cfbd",
+ "54846c0d.33a74c",
+ "b03ebc69.8e68d8"
]
]
},
{
- "id": "9eb76f3a.cfcbd8",
+ "id": "6c0d4a32.4f3524",
"type": "switchNode",
"name": "switch nr type",
"xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",
"comments": "",
"outputs": 1,
- "x": 3946.566635131836,
- "y": 928.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 3954.566635131836,
+ "y": 883.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "572a469b.71d458",
- "b8b0db7f.0d0b98",
- "56529717.d57cf"
+ "4f37a3d1.2e362c",
+ "efd815b8.8e6db8",
+ "65095290.735c7c"
]
]
},
{
- "id": "2172bcb.4fd5b44",
+ "id": "e8eddbb7.6cfbd",
"type": "outcome",
"name": "ROOT",
"xml": "<outcome value='ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4108.566635131836,
- "y": 596.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 4116.566635131836,
+ "y": 551.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b34792b6.2f84b"
+ "c7edad0e.b216"
]
]
},
{
- "id": "c6b4aa53.9764a8",
+ "id": "54846c0d.33a74c",
"type": "outcome",
"name": "LEAF",
"xml": "<outcome value='LEAF'>\n",
"comments": "",
"outputs": 1,
- "x": 4110.566635131836,
- "y": 650.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 4118.566635131836,
+ "y": 605.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "8791b1f2.9fddd"
+ "d5f61daa.4b4388"
]
]
},
{
- "id": "572a469b.71d458",
+ "id": "4f37a3d1.2e362c",
"type": "outcome",
"name": "ROOT",
"xml": "<outcome value='ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4127.566665649414,
- "y": 866.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 4135.566665649414,
+ "y": 821.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "2e043645.b8ff02"
+ "81e90993.f1d9a8"
]
]
},
{
- "id": "b8b0db7f.0d0b98",
+ "id": "efd815b8.8e6db8",
"type": "outcome",
"name": "LEAF",
"xml": "<outcome value='LEAF'>\n",
"comments": "",
"outputs": 1,
- "x": 4129.566665649414,
- "y": 920.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 4137.566665649414,
+ "y": 875.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "8eeda316.6df7"
+ "da2103e1.15169"
]
]
},
{
- "id": "9e47fb61.f661c8",
+ "id": "f5d37541.2d47c8",
"type": "set",
"name": "set network-route-ROOT",
"xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",
"comments": "",
- "x": 4418.566635131836,
- "y": 548.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 4426.566635131836,
+ "y": 503.56663513183594,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "21b58670.3a1192",
+ "id": "2bfe954c.51473a",
"type": "set",
"name": "set network-route-LEAF",
"xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",
"comments": "",
- "x": 4411.566635131836,
- "y": 646.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 4419.566635131836,
+ "y": 601.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "d0dd5f40.4b5f38",
+ "id": "9391f162.46d07",
"type": "set",
"name": "set network-route-ROOT",
"xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4429.566665649414,
- "y": 839.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 4437.566665649414,
+ "y": 794.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "d70d7c37.e21f5",
+ "id": "8da0410.b4be6c",
"type": "set",
"name": "set network-route-LEAF",
"xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4433.566665649414,
- "y": 932.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 4441.566665649414,
+ "y": 887.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "a539fdfb.953e38",
+ "id": "c685a00a.7f3668",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3576.566665649414,
- "y": 1604.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3584.566665649414,
+ "y": 1559.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7f7f51c3.cfe0e"
+ "3e8c64de.c5d6ac"
]
]
},
{
- "id": "a32c9d1e.59f95",
+ "id": "c307eb50.c4efc",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3586.057632446289,
- "y": 1647.1407012939453,
- "z": "294b5e8a.041612",
+ "x": 3594.057632446289,
+ "y": 1602.1407012939453,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "ea2bacf1.80819"
+ "a457c21e.dc24c"
]
]
},
{
- "id": "fb2990eb.3d37b8",
+ "id": "fe413554.38fd68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3574.566665649414,
- "y": 1693.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3582.566665649414,
+ "y": 1648.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "495659dd.a8b668"
+ "f7393df4.54a488"
]
]
},
{
- "id": "c88f575a.f847c",
+ "id": "940c17a9.af2df",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 3276.566665649414,
- "y": 1566.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3284.566665649414,
+ "y": 1521.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "42798389.0acfb4",
+ "id": "40c97410.34efdc",
"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": 3319.566665649414,
- "y": 1631.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3327.566665649414,
+ "y": 1586.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a539fdfb.953e38",
- "a32c9d1e.59f95",
- "fb2990eb.3d37b8"
+ "c685a00a.7f3668",
+ "c307eb50.c4efc",
+ "fe413554.38fd68"
]
]
},
{
- "id": "4b5b0bf9.d92b04",
+ "id": "573995f0.c3e824",
"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": 3320.566665649414,
- "y": 1301.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3328.566665649414,
+ "y": 1256.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7927223e.403f8c",
- "cb61ec61.ad89d"
+ "ce053797.967e5",
+ "1d8318a4.118f1f"
]
]
},
{
- "id": "cb61ec61.ad89d",
+ "id": "1d8318a4.118f1f",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3541.566635131836,
- "y": 1354.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3549.566635131836,
+ "y": 1309.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b9b2d4da.80c098"
+ "d7acba72.b8d088"
]
]
},
{
- "id": "7927223e.403f8c",
+ "id": "ce053797.967e5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3543.566635131836,
- "y": 1387.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3551.566635131836,
+ "y": 1342.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "3bca8d9d.c75392"
+ "b936608f.415c9"
]
]
},
{
- "id": "7f7f51c3.cfe0e",
+ "id": "3e8c64de.c5d6ac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3749.233169555664,
- "y": 1603.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3757.233169555664,
+ "y": 1558.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f7adce7b.f663c8",
- "aab5a13f.7b9228"
+ "61a62886.979d9",
+ "69747a1f.4d36a4"
]
]
},
{
- "id": "ea2bacf1.80819",
+ "id": "a457c21e.dc24c",
"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": 3739.6290435791016,
- "y": 1650.4264373779297,
- "z": "294b5e8a.041612",
+ "x": 3747.6290435791016,
+ "y": 1605.4264373779297,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "495659dd.a8b668",
+ "id": "f7393df4.54a488",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3743.566665649414,
- "y": 1694.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3751.566665649414,
+ "y": 1649.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "f7adce7b.f663c8",
+ "id": "61a62886.979d9",
"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": 4013.566665649414,
- "y": 1587.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4021.566665649414,
+ "y": 1542.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "eba55ae6.b47008",
- "a5049a4a.932988"
+ "d27c3919.e4f1e8",
+ "744ce69a.cd2cd"
]
]
},
{
- "id": "a5049a4a.932988",
+ "id": "744ce69a.cd2cd",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4236.566665649414,
- "y": 1542.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4244.566665649414,
+ "y": 1497.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b0af1c9f.1d33f"
+ "d24d75df.899958"
]
]
},
{
- "id": "eba55ae6.b47008",
+ "id": "d27c3919.e4f1e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4238.566665649414,
- "y": 1606.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4246.566665649414,
+ "y": 1561.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "3044898a.b774b6"
+ "195cae09.6a270a"
]
]
},
{
- "id": "3044898a.b774b6",
+ "id": "195cae09.6a270a",
"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": 4400.566665649414,
- "y": 1602.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4408.566665649414,
+ "y": 1557.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "b0af1c9f.1d33f",
+ "id": "d24d75df.899958",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4401.566665649414,
- "y": 1539.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4409.566665649414,
+ "y": 1494.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "3cd7ef1e.9f6f38",
- "782ad12.44a143"
+ "64761578.742944",
+ "545ae19b.2a1238"
]
]
},
{
- "id": "3bca8d9d.c75392",
+ "id": "b936608f.415c9",
"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": 3686.566635131836,
- "y": 1384.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3694.566635131836,
+ "y": 1339.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "b9b2d4da.80c098",
+ "id": "d7acba72.b8d088",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3689.566635131836,
- "y": 1347.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3697.566635131836,
+ "y": 1302.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "2e849446.924674",
- "15f06507.bc03a3"
+ "66afead4.578fec",
+ "d914a00d.43d42"
]
]
},
{
- "id": "2e849446.924674",
+ "id": "66afead4.578fec",
"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": 3863.566635131836,
- "y": 1303.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3871.566635131836,
+ "y": 1258.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "aab5a13f.7b9228",
+ "id": "69747a1f.4d36a4",
"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": 3962.566635131836,
- "y": 1697.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3970.566635131836,
+ "y": 1652.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7f3dbf41.0b7cb"
+ "6692ad9d.63a244"
]
]
},
{
- "id": "7f3dbf41.0b7cb",
+ "id": "6692ad9d.63a244",
"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": 4168.566635131836,
- "y": 1697.566635131836,
- "z": "294b5e8a.041612",
+ "x": 4176.566635131836,
+ "y": 1652.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "33161afe.bf5fb6"
+ "efeaf290.376e48"
]
]
},
{
- "id": "33161afe.bf5fb6",
+ "id": "efeaf290.376e48",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 4383.852279663086,
- "y": 1697.388412475586,
- "z": "294b5e8a.041612",
+ "x": 4391.852279663086,
+ "y": 1652.388412475586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "d1f5e6bd.d6c388"
+ "9388038d.e5f508"
]
]
},
{
- "id": "15f06507.bc03a3",
+ "id": "d914a00d.43d42",
"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": 3878.566635131836,
- "y": 1414.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3886.566635131836,
+ "y": 1369.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "609f91e1.96d3c",
- "c5dd830a.81bd98",
- "f762b67a.3d2c8"
+ "3150a2ed.678f16",
+ "5769f8b6.da962",
+ "c8b63edf.598bb8"
]
]
},
{
- "id": "609f91e1.96d3c",
+ "id": "3150a2ed.678f16",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4074.0667572021484,
- "y": 1366.566635131836,
- "z": "294b5e8a.041612",
+ "x": 4082.0667572021484,
+ "y": 1321.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "964976f5.819d98"
+ "47f6939a.0cca7c"
]
]
},
{
- "id": "c5dd830a.81bd98",
+ "id": "5769f8b6.da962",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4066.0667572021484,
- "y": 1421.566635131836,
- "z": "294b5e8a.041612",
+ "x": 4074.0667572021484,
+ "y": 1376.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "bf5b62.bbb734a"
+ "dfce5624.4d0e8"
]
]
},
{
- "id": "f762b67a.3d2c8",
+ "id": "c8b63edf.598bb8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4071.0667572021484,
- "y": 1478.566635131836,
- "z": "294b5e8a.041612",
+ "x": 4079.0667572021484,
+ "y": 1433.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "bc48235e.ca1af8"
+ "16d53904.a69817"
]
]
},
{
- "id": "bc48235e.ca1af8",
+ "id": "16d53904.a69817",
"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": 4223.066757202148,
- "y": 1479.566635131836,
- "z": "294b5e8a.041612",
+ "x": 4231.066757202148,
+ "y": 1434.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "bf5b62.bbb734a",
+ "id": "dfce5624.4d0e8",
"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": 4234.066757202148,
- "y": 1424.566635131836,
- "z": "294b5e8a.041612",
+ "x": 4242.066757202148,
+ "y": 1379.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "964976f5.819d98",
+ "id": "47f6939a.0cca7c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4218.449081420898,
- "y": 1364.2223052978516,
- "z": "294b5e8a.041612",
+ "x": 4226.449081420898,
+ "y": 1319.2223052978516,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "242018b6.f49c88"
+ "57719ed2.829e5"
]
]
},
{
- "id": "242018b6.f49c88",
+ "id": "57719ed2.829e5",
"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": 4402.566635131836,
- "y": 1378.566635131836,
- "z": "294b5e8a.041612",
+ "x": 4410.566635131836,
+ "y": 1333.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "fc08eb6a.2320e"
+ "8b55301b.b943a8"
]
]
},
{
- "id": "782ad12.44a143",
+ "id": "545ae19b.2a1238",
"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": 4571.566665649414,
- "y": 1497.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4579.566665649414,
+ "y": 1452.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "3cd7ef1e.9f6f38",
+ "id": "64761578.742944",
"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": 4572.566665649414,
- "y": 1605.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4580.566665649414,
+ "y": 1560.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "9dc8c404.7ec36",
+ "id": "3bbb3a78.1e825e",
"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": 4573.566665649414,
- "y": 1554.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4581.566665649414,
+ "y": 1509.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "d1f5e6bd.d6c388",
+ "id": "9388038d.e5f508",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4590.683822631836,
- "y": 1697.906967163086,
- "z": "294b5e8a.041612",
+ "x": 4598.683822631836,
+ "y": 1652.906967163086,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "333e33dc.560624",
- "7db36be0.62778c",
- "5d7040fa.99ac2"
+ "13805827.ade3d",
+ "a9502d93.1e2b78",
+ "a1b1941b.f9c738"
]
]
},
{
- "id": "333e33dc.560624",
+ "id": "13805827.ade3d",
"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": 4805.683822631836,
- "y": 1659.906967163086,
- "z": "294b5e8a.041612",
+ "x": 4813.683822631836,
+ "y": 1614.906967163086,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "7db36be0.62778c",
+ "id": "a9502d93.1e2b78",
"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": 4802.683822631836,
- "y": 1698.906967163086,
- "z": "294b5e8a.041612",
+ "x": 4810.683822631836,
+ "y": 1653.906967163086,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "2d9a4fac.ae36b8"
+ "b0dee9b7.4f5918"
]
]
},
{
- "id": "5d7040fa.99ac2",
+ "id": "a1b1941b.f9c738",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4758.183822631836,
- "y": 1740.906967163086,
- "z": "294b5e8a.041612",
+ "x": 4766.183822631836,
+ "y": 1695.906967163086,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "2d9a4fac.ae36b8",
+ "id": "b0dee9b7.4f5918",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4983.183822631836,
- "y": 1697.906967163086,
- "z": "294b5e8a.041612",
+ "x": 4991.183822631836,
+ "y": 1652.906967163086,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a4ece740.b4105"
+ "915aa3e1.c4697"
]
]
},
{
- "id": "52e1d551.a483dc",
+ "id": "25f4a2bf.12e7a6",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4802.566665649414,
- "y": 1315.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4810.566665649414,
+ "y": 1270.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7de9311.18a165"
+ "5118de9a.01dd88"
]
]
},
{
- "id": "7de9311.18a165",
+ "id": "5118de9a.01dd88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4979.566665649414,
- "y": 1307.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4987.566665649414,
+ "y": 1262.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "fff1a40e.199ba",
- "7abb7683.fa5358"
+ "94a9a0f9.c59e58",
+ "85408268.2c3368"
]
]
},
{
- "id": "fc08eb6a.2320e",
+ "id": "8b55301b.b943a8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4597.566635131836,
- "y": 1378.566635131836,
- "z": "294b5e8a.041612",
+ "x": 4605.566635131836,
+ "y": 1333.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "52e1d551.a483dc",
- "6d2d083c.e53ec8"
+ "25f4a2bf.12e7a6",
+ "95e8d812.cc8ca8"
]
]
},
{
- "id": "6d2d083c.e53ec8",
+ "id": "95e8d812.cc8ca8",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 4805.566665649414,
- "y": 1389.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4813.566665649414,
+ "y": 1344.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b42cfcde.f4ebc8"
+ "f38eef5.12b7d1"
]
]
},
{
- "id": "b42cfcde.f4ebc8",
+ "id": "f38eef5.12b7d1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4982.566665649414,
- "y": 1381.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4990.566665649414,
+ "y": 1336.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "e8e280e3.a65e5"
+ "c816565f.10d5d"
]
]
},
{
- "id": "a4ece740.b4105",
+ "id": "915aa3e1.c4697",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5141.183822631836,
- "y": 1697.906967163086,
- "z": "294b5e8a.041612",
+ "x": 5149.183822631836,
+ "y": 1652.906967163086,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "425d708e.783968"
+ "6c003d6.b17f944"
]
]
},
{
- "id": "425d708e.783968",
+ "id": "6c003d6.b17f944",
"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": 5348.183822631836,
- "y": 1697.906967163086,
- "z": "294b5e8a.041612",
+ "x": 5356.183822631836,
+ "y": 1652.906967163086,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "7abb7683.fa5358",
+ "id": "85408268.2c3368",
"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": 5187.566665649414,
- "y": 1314.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5195.566665649414,
+ "y": 1269.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "45403a46.69b7f4",
- "ab6bed09.5e53d",
- "1ce7c845.052f38"
+ "53b236d8.1b02c",
+ "4083b24b.fff034",
+ "39446af.e663d96"
]
]
},
{
- "id": "fff1a40e.199ba",
+ "id": "94a9a0f9.c59e58",
"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": 5217.566665649414,
- "y": 1262.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5225.566665649414,
+ "y": 1217.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "45403a46.69b7f4",
+ "id": "53b236d8.1b02c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5397.566665649414,
- "y": 1305.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5405.566665649414,
+ "y": 1260.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f2e23e54.aa63c8"
+ "85a67c1c.71be78"
]
]
},
{
- "id": "ab6bed09.5e53d",
+ "id": "4083b24b.fff034",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5389.566665649414,
- "y": 1360.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5397.566665649414,
+ "y": 1315.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "29b1e9b9.e1584e"
+ "ef1cd568.ee18"
]
]
},
{
- "id": "1ce7c845.052f38",
+ "id": "39446af.e663d96",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5394.566665649414,
- "y": 1417.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5402.566665649414,
+ "y": 1372.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "26b11425.c22444"
+ "9b4ff565.a53cd"
]
]
},
{
- "id": "26b11425.c22444",
+ "id": "9b4ff565.a53cd",
"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": 5546.566665649414,
- "y": 1418.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5554.566665649414,
+ "y": 1373.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "29b1e9b9.e1584e",
+ "id": "ef1cd568.ee18",
"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": 5557.566665649414,
- "y": 1363.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5565.566665649414,
+ "y": 1318.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "f2e23e54.aa63c8",
+ "id": "85a67c1c.71be78",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5541.948989868164,
- "y": 1303.2223358154297,
- "z": "294b5e8a.041612",
+ "x": 5549.948989868164,
+ "y": 1258.2223358154297,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a969095b.c118"
+ "53e9aeb2.242928"
]
]
},
{
- "id": "e8e280e3.a65e5",
+ "id": "c816565f.10d5d",
"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": 5217.566665649414,
- "y": 1505.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5225.566665649414,
+ "y": 1460.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "a969095b.c118",
+ "id": "53e9aeb2.242928",
"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": 5756.566665649414,
- "y": 1299.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5764.566665649414,
+ "y": 1254.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "3c38a36b.8cf1d4",
+ "id": "bd4af2f9.e804e",
"type": "set",
"name": "set network-route-B",
"xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",
"comments": "",
- "x": 4406.566635131836,
- "y": 584.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 4414.566635131836,
+ "y": 539.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "66912289.29f5fc",
+ "id": "ff102e0b.75a238",
"type": "set",
"name": "set network-route-A",
"xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",
"comments": "",
- "x": 4397.566635131836,
- "y": 682.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 4405.566635131836,
+ "y": 637.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "b34792b6.2f84b",
+ "id": "c7edad0e.b216",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4231.566635131836,
- "y": 590.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 4239.566635131836,
+ "y": 545.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9e47fb61.f661c8",
- "3c38a36b.8cf1d4"
+ "f5d37541.2d47c8",
+ "bd4af2f9.e804e"
]
]
},
{
- "id": "8791b1f2.9fddd",
+ "id": "d5f61daa.4b4388",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4237.566635131836,
- "y": 654.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 4245.566635131836,
+ "y": 609.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "21b58670.3a1192",
- "66912289.29f5fc"
+ "2bfe954c.51473a",
+ "ff102e0b.75a238"
]
]
},
{
- "id": "2e043645.b8ff02",
+ "id": "81e90993.f1d9a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4255.566665649414,
- "y": 866.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 4263.566665649414,
+ "y": 821.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "d0dd5f40.4b5f38",
- "fac3c269.3e8818"
+ "9391f162.46d07",
+ "cb81a4f3.d6156"
]
]
},
{
- "id": "8eeda316.6df7",
+ "id": "da2103e1.15169",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4258.566665649414,
- "y": 919.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 4266.566665649414,
+ "y": 874.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "d70d7c37.e21f5",
- "d978bf81.a682c8"
+ "8da0410.b4be6c",
+ "e6103926.96cb88"
]
]
},
{
- "id": "fac3c269.3e8818",
+ "id": "cb81a4f3.d6156",
"type": "set",
"name": "set network-route-B",
"xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4415.566665649414,
- "y": 879.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 4423.566665649414,
+ "y": 834.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "d978bf81.a682c8",
+ "id": "e6103926.96cb88",
"type": "set",
"name": "set network-route-A",
"xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4418.566665649414,
- "y": 970.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 4426.566665649414,
+ "y": 925.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "98a290a7.380a3",
+ "id": "9fb68dad.7c92d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3710.566635131836,
- "y": 2097.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3718.566635131836,
+ "y": 2052.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "e497858e.0123a",
- "498e60f5.55f178"
+ "931d0e50.a84728",
+ "4385be6.d4f41c"
]
]
},
{
- "id": "7f085da3.5b6764",
+ "id": "62a0ff40.3fa718",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3537.900131225586,
- "y": 2098.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3545.900131225586,
+ "y": 2053.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "98a290a7.380a3"
+ "9fb68dad.7c92d"
]
]
},
{
- "id": "92e1b5b8.c9d748",
+ "id": "a9db3cf5.8c98a8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3547.391098022461,
- "y": 2141.140670776367,
- "z": "294b5e8a.041612",
+ "x": 3555.391098022461,
+ "y": 2096.140670776367,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b56c748b.ef0b98"
+ "b1d5af05.b8b6a"
]
]
},
{
- "id": "67d077ec.f8e2b8",
+ "id": "e64b0ffd.d5764",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3535.900131225586,
- "y": 2187.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3543.900131225586,
+ "y": 2142.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "531aab62.3c8d74"
+ "c5461a06.0ba95"
]
]
},
{
- "id": "b56c748b.ef0b98",
+ "id": "b1d5af05.b8b6a",
"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": 3700.9625091552734,
- "y": 2144.4264068603516,
- "z": "294b5e8a.041612",
+ "x": 3708.9625091552734,
+ "y": 2099.4264068603516,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "531aab62.3c8d74",
+ "id": "c5461a06.0ba95",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3704.900131225586,
- "y": 2188.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3712.900131225586,
+ "y": 2143.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "e497858e.0123a",
+ "id": "931d0e50.a84728",
"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": 3996.900131225586,
- "y": 2101.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4004.900131225586,
+ "y": 2056.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f5003287.c43b28",
- "e21b6e0c.643e48"
+ "ff2f7e35.94528",
+ "ccece71a.073de8"
]
]
},
{
- "id": "e21b6e0c.643e48",
+ "id": "ccece71a.073de8",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4219.900131225586,
- "y": 2056.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4227.900131225586,
+ "y": 2011.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "1c25bfa5.0e84a8"
+ "c18c40eb.b59cb8"
]
]
},
{
- "id": "f5003287.c43b28",
+ "id": "ff2f7e35.94528",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4221.900131225586,
- "y": 2120.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4229.900131225586,
+ "y": 2075.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9df0e8d3.70e7b"
+ "a47e6ec9.683da"
]
]
},
{
- "id": "9df0e8d3.70e7b",
+ "id": "a47e6ec9.683da",
"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": 4380.900131225586,
- "y": 2139.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4388.900131225586,
+ "y": 2094.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "1c25bfa5.0e84a8",
+ "id": "c18c40eb.b59cb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4384.900131225586,
- "y": 2053.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4392.900131225586,
+ "y": 2008.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "15645f19.451cd9",
- "5b635208.85addc"
+ "50191e6c.286e58",
+ "e564295c.7502a8"
]
]
},
{
- "id": "18652387.ef4d1c",
+ "id": "37ff3aef.9a54ee",
"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": 3309.900131225586,
- "y": 2133.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3317.900131225586,
+ "y": 2088.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7f085da3.5b6764",
- "92e1b5b8.c9d748",
- "67d077ec.f8e2b8"
+ "62a0ff40.3fa718",
+ "a9db3cf5.8c98a8",
+ "e64b0ffd.d5764"
]
]
},
{
- "id": "8fa3650.6227a18",
+ "id": "e2a5ba2c.d267c",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 3270.900131225586,
- "y": 2077.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3278.900131225586,
+ "y": 2032.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "29a6af57.132c2",
+ "id": "3ceacdf9.dad772",
"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": 3329.900131225586,
- "y": 1873.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3337.900131225586,
+ "y": 1828.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7f4e16fd.13b25",
- "9c29704e.b9eca8"
+ "fc191473.db2cb8",
+ "44d4fd2b.8896cc"
]
]
},
{
- "id": "9c29704e.b9eca8",
+ "id": "44d4fd2b.8896cc",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3552.900131225586,
- "y": 1859.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3560.900131225586,
+ "y": 1814.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "bb1e4e57.280888"
+ "e4dd083d.cd18f8"
]
]
},
{
- "id": "7f4e16fd.13b25",
+ "id": "fc191473.db2cb8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3554.900131225586,
- "y": 1892.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3562.900131225586,
+ "y": 1847.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b75dfd73.636e48"
+ "28eac456.f04cbc"
]
]
},
{
- "id": "b75dfd73.636e48",
+ "id": "28eac456.f04cbc",
"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": 3697.900131225586,
- "y": 1889.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3705.900131225586,
+ "y": 1844.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "bb1e4e57.280888",
+ "id": "e4dd083d.cd18f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3700.900131225586,
- "y": 1852.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3708.900131225586,
+ "y": 1807.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "bda8773a.f12a1",
- "d5e4b6e4.115dd8"
+ "c8368cdf.b15f18",
+ "26325ab5.37c516"
]
]
},
{
- "id": "bda8773a.f12a1",
+ "id": "c8368cdf.b15f18",
"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": 3894.900131225586,
- "y": 1855.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 3902.900131225586,
+ "y": 1810.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "498e60f5.55f178",
+ "id": "4385be6.d4f41c",
"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": 3947.900100708008,
- "y": 2224.566604614258,
- "z": "294b5e8a.041612",
+ "x": 3955.900100708008,
+ "y": 2179.566604614258,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f195472b.83ff2"
+ "ab5afaa2.b8a2e"
]
]
},
{
- "id": "f195472b.83ff2",
+ "id": "ab5afaa2.b8a2e",
"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": 4153.900100708008,
- "y": 2224.566604614258,
- "z": "294b5e8a.041612",
+ "x": 4161.900100708008,
+ "y": 2179.566604614258,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "2e029795.f674f8"
+ "8b90a37d.df48a8"
]
]
},
{
- "id": "2e029795.f674f8",
+ "id": "8b90a37d.df48a8",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 4371.185745239258,
- "y": 2223.388381958008,
- "z": "294b5e8a.041612",
+ "x": 4379.185745239258,
+ "y": 2178.388381958008,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9d2261f5.b9fa08"
+ "9497250f.2d9438"
]
]
},
{
- "id": "d5e4b6e4.115dd8",
+ "id": "26325ab5.37c516",
"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": 3916.900131225586,
- "y": 1923.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 3924.900131225586,
+ "y": 1878.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "6730b25.e0c5f4c",
- "c5d11aca.de4aa8",
- "359fd71e.08e5b"
+ "572475c6.9df474",
+ "8a4bcee9.a6e838",
+ "52414e68.698aa8"
]
]
},
{
- "id": "6730b25.e0c5f4c",
+ "id": "572475c6.9df474",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4112.400253295898,
- "y": 1875.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4120.400253295898,
+ "y": 1830.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "11cc1f31.73aba1"
+ "cc04a6ba.577058"
]
]
},
{
- "id": "c5d11aca.de4aa8",
+ "id": "8a4bcee9.a6e838",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4104.400253295898,
- "y": 1930.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4112.400253295898,
+ "y": 1885.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "5b1bf93a.85704"
+ "5bcad340.b7a94c"
]
]
},
{
- "id": "359fd71e.08e5b",
+ "id": "52414e68.698aa8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4109.400253295898,
- "y": 1987.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4117.400253295898,
+ "y": 1942.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "150deb8f.b69cd4"
+ "78c91f5c.6a81a"
]
]
},
{
- "id": "150deb8f.b69cd4",
+ "id": "78c91f5c.6a81a",
"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": 4261.400253295898,
- "y": 1988.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4269.400253295898,
+ "y": 1943.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "5b1bf93a.85704",
+ "id": "5bcad340.b7a94c",
"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": 4272.400253295898,
- "y": 1933.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4280.400253295898,
+ "y": 1888.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "11cc1f31.73aba1",
+ "id": "cc04a6ba.577058",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4256.782577514648,
- "y": 1873.222427368164,
- "z": "294b5e8a.041612",
+ "x": 4264.782577514648,
+ "y": 1828.222427368164,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "cff6dd9b.8cbec"
+ "b056f70a.5ef0e"
]
]
},
{
- "id": "15645f19.451cd9",
+ "id": "50191e6c.286e58",
"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": 4554.900131225586,
- "y": 2014.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4562.900131225586,
+ "y": 1969.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "5b635208.85addc",
+ "id": "e564295c.7502a8",
"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": 4555.900131225586,
- "y": 2119.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4563.900131225586,
+ "y": 2074.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "f4c1e1b8.e7b4e8",
+ "id": "4a5f1f34.b170c",
"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": 4550.900131225586,
- "y": 2068.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4558.900131225586,
+ "y": 2023.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "9d2261f5.b9fa08",
+ "id": "9497250f.2d9438",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4578.017288208008,
- "y": 2212.9070587158203,
- "z": "294b5e8a.041612",
+ "x": 4586.017288208008,
+ "y": 2167.9070587158203,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "84d8ab80.c7c5d8",
- "e6773f2f.211b88",
- "2391fc90.5865f4"
+ "dc5203d6.63ee88",
+ "bfaf928b.d789b",
+ "75ef4dfa.4963fc"
]
]
},
{
- "id": "84d8ab80.c7c5d8",
+ "id": "dc5203d6.63ee88",
"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": 4793.017288208008,
- "y": 2174.9070587158203,
- "z": "294b5e8a.041612",
+ "x": 4801.017288208008,
+ "y": 2129.9070587158203,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "e6773f2f.211b88",
+ "id": "bfaf928b.d789b",
"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": 4790.017288208008,
- "y": 2213.9070587158203,
- "z": "294b5e8a.041612",
+ "x": 4798.017288208008,
+ "y": 2168.9070587158203,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "e6f8fe6a.d80188"
+ "6dd4b7bc.60078"
]
]
},
{
- "id": "2391fc90.5865f4",
+ "id": "75ef4dfa.4963fc",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4745.517288208008,
- "y": 2255.9070587158203,
- "z": "294b5e8a.041612",
+ "x": 4753.517288208008,
+ "y": 2210.9070587158203,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "e6f8fe6a.d80188",
+ "id": "6dd4b7bc.60078",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4970.517288208008,
- "y": 2212.9070587158203,
- "z": "294b5e8a.041612",
+ "x": 4978.517288208008,
+ "y": 2167.9070587158203,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "fdc72134.67c23"
+ "f825fb77.fb7bc8"
]
]
},
{
- "id": "fdc72134.67c23",
+ "id": "f825fb77.fb7bc8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5128.517288208008,
- "y": 2212.9070587158203,
- "z": "294b5e8a.041612",
+ "x": 5136.517288208008,
+ "y": 2167.9070587158203,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "be11f8e.1056f08"
+ "aa2ab587.72eca"
]
]
},
{
- "id": "be11f8e.1056f08",
+ "id": "aa2ab587.72eca",
"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": 5335.517288208008,
- "y": 2212.9070587158203,
- "z": "294b5e8a.041612",
+ "x": 5343.517288208008,
+ "y": 2167.9070587158203,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "8905f8e1.68af1",
+ "id": "5ec77bbd.698654",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4838.900131225586,
- "y": 1891.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4846.900131225586,
+ "y": 1846.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "ca38006f.4cfdd"
+ "ef66532c.d6746"
]
]
},
{
- "id": "ca38006f.4cfdd",
+ "id": "ef66532c.d6746",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5015.900131225586,
- "y": 1883.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 5023.900131225586,
+ "y": 1838.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9fddc1a7.528c8",
- "516ef3bb.d53aec"
+ "f7a2f11b.7a291",
+ "d2b30e12.01e548"
]
]
},
{
- "id": "cff6dd9b.8cbec",
+ "id": "b056f70a.5ef0e",
"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": 4440.900131225586,
- "y": 1887.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4448.900131225586,
+ "y": 1842.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "4e481827.26cf7"
+ "658c9b9.fce64e4"
]
]
},
{
- "id": "4e481827.26cf7",
+ "id": "658c9b9.fce64e4",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4635.900131225586,
- "y": 1887.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4643.900131225586,
+ "y": 1842.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "8905f8e1.68af1",
- "eb2add71.4c5b38"
+ "5ec77bbd.698654",
+ "d91be682.fd9ed8"
]
]
},
{
- "id": "516ef3bb.d53aec",
+ "id": "d2b30e12.01e548",
"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": 5223.900131225586,
- "y": 1890.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 5231.900131225586,
+ "y": 1845.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "8f1e6966.2ed9b",
- "eb0b97a0.d2554",
- "8b053235.7e7848"
+ "5cd3941f.991a64",
+ "72be6080.49369",
+ "27b21fad.3c3a98"
]
]
},
{
- "id": "13674b50.1cc875",
+ "id": "a895224b.6a3d58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5017.900131225586,
- "y": 1956.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 5025.900131225586,
+ "y": 1911.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "fd136ece.b5724"
+ "de5c0fa7.2ddfe8"
]
]
},
{
- "id": "eb2add71.4c5b38",
+ "id": "d91be682.fd9ed8",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 4840.900131225586,
- "y": 1964.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 4848.900131225586,
+ "y": 1919.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "13674b50.1cc875"
+ "a895224b.6a3d58"
]
]
},
{
- "id": "9fddc1a7.528c8",
+ "id": "f7a2f11b.7a291",
"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": 5253.900131225586,
- "y": 1838.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 5261.900131225586,
+ "y": 1793.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "fd136ece.b5724",
+ "id": "de5c0fa7.2ddfe8",
"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": 5252.900131225586,
- "y": 2080.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 5260.900131225586,
+ "y": 2035.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "8f1e6966.2ed9b",
+ "id": "5cd3941f.991a64",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5433.900131225586,
- "y": 1881.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 5441.900131225586,
+ "y": 1836.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9db69d63.dc9d08"
+ "2d963acb.7812d6"
]
]
},
{
- "id": "eb0b97a0.d2554",
+ "id": "72be6080.49369",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5425.900131225586,
- "y": 1936.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 5433.900131225586,
+ "y": 1891.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "c57fd560.6db4a"
+ "7809e6f0.3ba7a"
]
]
},
{
- "id": "8b053235.7e7848",
+ "id": "27b21fad.3c3a98",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5430.900131225586,
- "y": 1993.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 5438.900131225586,
+ "y": 1948.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "6e911852.3a5e28"
+ "76fc1345.ebf534"
]
]
},
{
- "id": "6e911852.3a5e28",
+ "id": "76fc1345.ebf534",
"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": 5582.900131225586,
- "y": 1994.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 5590.900131225586,
+ "y": 1949.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "c57fd560.6db4a",
+ "id": "7809e6f0.3ba7a",
"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": 5593.900131225586,
- "y": 1939.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 5601.900131225586,
+ "y": 1894.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "9db69d63.dc9d08",
+ "id": "2d963acb.7812d6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5578.282455444336,
- "y": 1879.222427368164,
- "z": "294b5e8a.041612",
+ "x": 5586.282455444336,
+ "y": 1834.222427368164,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "e6169acb.b321e8"
+ "3e96d581.6be972"
]
]
},
{
- "id": "e6169acb.b321e8",
+ "id": "3e96d581.6be972",
"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": 5792.900131225586,
- "y": 1875.5667572021484,
- "z": "294b5e8a.041612",
+ "x": 5800.900131225586,
+ "y": 1830.5667572021484,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "c49ed897.0159e8",
+ "id": "a62852b2.29136",
"type": "set",
"name": "set LEAF stuff",
"xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' 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\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop + '-' + $tmp.aai.network-route-A.logical-interface-id`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",
"comments": "",
- "x": 3277.566635131836,
- "y": 1694.566635131836,
- "z": "294b5e8a.041612",
+ "x": 3285.566635131836,
+ "y": 1649.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "758e6e49.b62098",
+ "id": "906a6d5d.cfc198",
"type": "comment",
"name": "This is it (should be)",
"info": "",
"comments": "",
- "x": 4573.566635131836,
- "y": 668.5666351318359,
- "z": "294b5e8a.041612",
+ "x": 4581.566635131836,
+ "y": 623.5666351318359,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "ebf6202d.cf95a8",
+ "id": "c5fcfc8e.70af78",
"type": "comment",
"name": "This is it (should be)",
"info": "",
"comments": "",
- "x": 4583.566665649414,
- "y": 864.5666656494141,
- "z": "294b5e8a.041612",
+ "x": 4591.566665649414,
+ "y": 819.5666656494141,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "9d2ec307.fb07b8",
+ "id": "e4c9b14e.e493e",
"type": "set",
"name": "set ROOT stuff",
"xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' 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\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop + '-' + $tmp.aai.network-route-B.logical-interface-id`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",
"comments": "",
- "x": 3280.566604614258,
- "y": 2202.566604614258,
- "z": "294b5e8a.041612",
+ "x": 3288.566604614258,
+ "y": 2157.566604614258,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "c81a19d9.9b256",
+ "id": "a5e91f89.51e28",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 3417.566665649414,
- "y": 2858.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3425.566665649414,
+ "y": 2813.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "b5b402c1.c35e88",
+ "id": "6a1545ce.c6f074",
"type": "switchNode",
"name": "switch found-middle-man?",
"xml": "<switch test='`$found-middle-man`'>\n",
"comments": "",
"outputs": 1,
- "x": 3294.566665649414,
- "y": 2968.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3302.566665649414,
+ "y": 2923.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "1932a37.6a327dd",
- "e9120928.0c2298"
+ "2a58524.cf6ab2e",
+ "b22f43e3.b228e"
]
]
},
{
- "id": "1932a37.6a327dd",
+ "id": "2a58524.cf6ab2e",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3478.566665649414,
- "y": 2947.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3486.566665649414,
+ "y": 2902.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "82607164.646368"
+ "1fd47368.eaee3d"
]
]
},
{
- "id": "e9120928.0c2298",
+ "id": "b22f43e3.b228e",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3370.566665649414,
- "y": 5125.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3378.566665649414,
+ "y": 5080.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "ff313408.b74908"
+ "bb1800d1.b22838"
]
]
},
{
- "id": "ff313408.b74908",
+ "id": "bb1800d1.b22838",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3525.566665649414,
- "y": 5118.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3533.566665649414,
+ "y": 5073.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "172df7ad.1d8918",
- "e9491637.d51c9",
- "ed589f33.dee34",
- "8bbbb496.3df16",
- "581d9366.e6ee44",
- "f0668881.7d6d6"
+ "eb692208.605d48",
+ "fa1a129b.8e1e58",
+ "8f8ab353.277fd8",
+ "e967635e.d5f898",
+ "a7e951fd.34174",
+ "147222b6.72d4a5"
]
]
},
{
- "id": "82607164.646368",
+ "id": "1fd47368.eaee3d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3621.566665649414,
- "y": 2947.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3629.566665649414,
+ "y": 2902.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a3d597a8.021388",
- "2f89ad50.333c2a",
- "7f37398e.ac4788",
- "c4c44808.41f1d8",
- "7f311072.1019e",
- "a4b5361a.3a19d8",
- "22f4d985.fe3c1e",
- "dc9eeea6.2c8698",
- "7a27d008.22f4d",
- "7fc66b60.eeacbc",
- "4cc13ef6.adae78",
- "19fd1bdb.1b78e4",
- "d873f718.81f988",
- "cea863c0.4ccb38",
- "6825a3b9.0c4a74",
- "97368f95.9c3c68",
- "550c2be9.9018d4",
- "540352c5.31c62c",
- "87e2b691.2d12d8",
- "25259a32.c04fe6",
- "b87e18c5.0db5e8",
- "88b90ca8.e250c"
+ "13be4810.27374",
+ "2088078d.cb1e2",
+ "e3bae41.89a4a98",
+ "ed9405a6.bcc818",
+ "fe194fc5.986bf",
+ "c94ba2a6.6d9dc",
+ "49793ec.cd6ce4",
+ "5e8a3143.8db73",
+ "faf103f5.4614f8",
+ "88431892.8e89b8",
+ "cac051ff.1079b",
+ "8ab931f2.10742",
+ "38387e07.eee06a",
+ "c16c558d.bd7fa8",
+ "773efcf1.a16054",
+ "4610b0f7.2e9108",
+ "9860b974.593a3",
+ "e82d41b7.567df",
+ "763bc2b5.d71f9c",
+ "3cc87f7.3864a",
+ "5fefabc6.f62f5c",
+ "dbd95dbb.cf097"
]
]
},
{
- "id": "7a27d008.22f4d",
+ "id": "faf103f5.4614f8",
"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": 3931.566665649414,
- "y": 3262.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3939.566665649414,
+ "y": 3217.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "a3d597a8.021388",
+ "id": "13be4810.27374",
"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<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!-- key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\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<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\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='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 3879.566665649414,
- "y": 3304.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3887.566665649414,
+ "y": 3259.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "2f89ad50.333c2a",
+ "id": "2088078d.cb1e2",
"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": 4008.566665649414,
- "y": 3346.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4016.566665649414,
+ "y": 3301.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "568e89f6.76041",
+ "id": "c56513f7.9839c8",
"type": "comment",
"name": "Create ROOT connectivity",
"info": "",
"comments": "",
- "x": 3854.566665649414,
- "y": 3221.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3862.566665649414,
+ "y": 3176.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "cfc92e2e.d4332",
+ "id": "cb0612e7.fab918",
"type": "comment",
"name": "create middle man connectivity and ...",
"info": "1- create middle man connectivity\n2- create relation with all connectivities\n in the path\n3- put srcTtp (+dstTtp) somewhere in the\n vpn-binding -> this is for later on to find\n which OTN tunnel's bandwidth has to be increased.\n5- create UNIs\n4- create relationship to UNIs",
"comments": "",
- "x": 4379.566665649414,
- "y": 3742.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4387.566665649414,
+ "y": 3697.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "7f37398e.ac4788",
+ "id": "e3bae41.89a4a98",
"type": "execute",
"name": "execute UUID generator for connectivity middle-man",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-middle-man-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3943.566665649414,
- "y": 3781.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3951.566665649414,
+ "y": 3736.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "c4c44808.41f1d8",
+ "id": "ed9405a6.bcc818",
"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-middle-man-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-middle-man-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<!--The followings are not needed for the middle-man-connectivity-->\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<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='mdsc' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\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='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 3891.566665649414,
- "y": 3832.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3899.566665649414,
+ "y": 3787.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "7f311072.1019e",
+ "id": "fe194fc5.986bf",
"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-middle-man-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-middle-man-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": 4027.566665649414,
- "y": 3879.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4035.566665649414,
+ "y": 3834.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "b73302ea.6b3c9",
+ "id": "3a844032.bf9ac",
"type": "comment",
"name": "Create MIDDLE-MAN connectivity",
"info": "",
"comments": "",
- "x": 3884.566665649414,
- "y": 3741.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3892.566665649414,
+ "y": 3696.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "f06d4892.086d48",
+ "id": "debaf07d.db6d5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4314.566665649414,
- "y": 3938.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4322.566665649414,
+ "y": 3893.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "a4b5361a.3a19d8",
+ "id": "c94ba2a6.6d9dc",
"type": "save",
"name": "get middle-man connectivity from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $prop.connectivity-middle-man-uuid\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"middle-man-conn\" >\n",
"comments": "",
"outputs": 1,
- "x": 3905.566665649414,
- "y": 3985.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3913.566665649414,
+ "y": 3940.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7c79fc80.066eb4",
- "c371f5b2.5890b8",
- "8674a08a.891028"
+ "34b4bb6d.84f2ec",
+ "39b05e8d.991162",
+ "b7823394.4e1968"
]
]
},
{
- "id": "7c79fc80.066eb4",
+ "id": "34b4bb6d.84f2ec",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4152.566665649414,
- "y": 3939.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4160.566665649414,
+ "y": 3894.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f06d4892.086d48"
+ "debaf07d.db6d5"
]
]
},
{
- "id": "c371f5b2.5890b8",
+ "id": "39b05e8d.991162",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4153.057632446289,
- "y": 3985.1407012939453,
- "z": "294b5e8a.041612",
+ "x": 4161.057632446289,
+ "y": 3940.1407012939453,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f874dece.70a19"
+ "483dd1d6.aa392"
]
]
},
{
- "id": "8674a08a.891028",
+ "id": "b7823394.4e1968",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4150.566665649414,
- "y": 4028.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4158.566665649414,
+ "y": 3983.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "395b0fd4.a6a4c"
+ "59b157ce.93edc"
]
]
},
{
- "id": "f874dece.70a19",
+ "id": "483dd1d6.aa392",
"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": 4315.629043579102,
- "y": 3985.4264373779297,
- "z": "294b5e8a.041612",
+ "x": 4323.629043579102,
+ "y": 3940.4264373779297,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "395b0fd4.a6a4c",
+ "id": "59b157ce.93edc",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4319.566665649414,
- "y": 4029.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4327.566665649414,
+ "y": 3984.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "6825a3b9.0c4a74",
+ "id": "773efcf1.a16054",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-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": 3959.566665649414,
- "y": 4327.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3967.566665649414,
+ "y": 4282.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "97368f95.9c3c68",
+ "id": "4610b0f7.2e9108",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-ROOT, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 3962.566665649414,
- "y": 4372.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3970.566665649414,
+ "y": 4327.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "540352c5.31c62c",
+ "id": "e82d41b7.567df",
"type": "save",
"name": "save middle-man-conn relationship to UNI-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 3954.566665649414,
- "y": 4100.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3962.566665649414,
+ "y": 4055.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "87e2b691.2d12d8",
+ "id": "763bc2b5.d71f9c",
"type": "save",
"name": "save middle-man-conn relationship to UNI-ROOT, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 3956.566665649414,
- "y": 4147.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3964.566665649414,
+ "y": 4102.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "de9883f2.40e1e",
+ "id": "e3efee4c.cbd228",
"type": "comment",
"name": "The following two will be done in F1",
"info": "",
"comments": "",
- "x": 3875.566665649414,
- "y": 4280.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3883.566665649414,
+ "y": 4235.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "8e94a286.9bf3d",
+ "id": "a86d756f.b96748",
"type": "save",
"name": "save middle-man-conn relationship to UNI-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 4485.566665649414,
- "y": 4946.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4493.566665649414,
+ "y": 4901.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "172df7ad.1d8918",
+ "id": "eb692208.605d48",
"type": "switchNode",
"name": "switch no-pce-call",
"xml": "<switch test='`$no-pce-call`'>\n",
"comments": "",
"outputs": 1,
- "x": 3740.566665649414,
- "y": 5099.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3748.566665649414,
+ "y": 5054.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "42ddce9e.8ae7c",
- "527e3f0b.1dc1d"
+ "35961804.034dd",
+ "1c6960fb.af77c7"
]
]
},
{
- "id": "527e3f0b.1dc1d",
+ "id": "1c6960fb.af77c7",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3912.566665649414,
- "y": 5096.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3920.566665649414,
+ "y": 5051.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7bd89115.7af5d"
+ "44ac8602.f7b438"
]
]
},
{
- "id": "42ddce9e.8ae7c",
+ "id": "35961804.034dd",
"type": "outcomeFalse",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3864.566665649414,
- "y": 5943.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3872.566665649414,
+ "y": 5898.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "ba444b0.6d090b8"
+ "e66ef561.f9598"
]
]
},
{
- "id": "678feee9.54f5e",
+ "id": "a7546f8d.e642f8",
"type": "comment",
"name": "1 --> PCE is needed",
"info": "",
"comments": "",
- "x": 3925.566665649414,
- "y": 5066.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3933.566665649414,
+ "y": 5021.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "f4c6dae7.f846f8",
+ "id": "7377305c.6344e",
"type": "comment",
"name": "2 --> no need to call PCE",
"info": "",
"comments": "",
- "x": 3935.566665649414,
- "y": 5901.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3943.566665649414,
+ "y": 5856.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "22f4d985.fe3c1e",
+ "id": "49793ec.cd6ce4",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 3958.566665649414,
- "y": 4475.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3966.566665649414,
+ "y": 4430.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "7bd89115.7af5d",
+ "id": "44ac8602.f7b438",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4088.566665649414,
- "y": 5098.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4096.566665649414,
+ "y": 5053.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a830956d.47074",
- "1755eaf4.354305",
- "bc42d413.82595",
- "e6e246b3.ed891",
- "ea96eb7.ae6d798",
- "64dc9cdb.f55c8c",
- "8e94a286.9bf3d",
- "f715ac9f.9b32b8",
- "79d51ab0.5a125c"
+ "f2639d5b.9b3268",
+ "eb43383.cb911c8",
+ "b431bc46.f09eb8",
+ "3f007800.f3335",
+ "6651db46.728784",
+ "ec10a332.513d58",
+ "a86d756f.b96748",
+ "128b476.c3c24b9",
+ "b1e27ce1.629f7"
]
]
},
{
- "id": "979e33e8.311e38",
+ "id": "3a4a9e77.4fc502",
"type": "comment",
"name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",
"info": "",
"comments": "",
- "x": 5533.566665649414,
- "y": 4571.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5541.566665649414,
+ "y": 4526.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "a830956d.47074",
+ "id": "f2639d5b.9b3268",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 4466.566665649414,
- "y": 5601.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4474.566665649414,
+ "y": 5556.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "dc9eeea6.2c8698",
+ "id": "5e8a3143.8db73",
"type": "save",
"name": "save connectivityB relationship to UNI-ROOT, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 3937.566665649414,
- "y": 3475.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3945.566665649414,
+ "y": 3430.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "7fc66b60.eeacbc",
+ "id": "88431892.8e89b8",
"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": 3935.566665649414,
- "y": 2932.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3943.566665649414,
+ "y": 2887.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "4cc13ef6.adae78",
+ "id": "cac051ff.1079b",
"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<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\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='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 3883.566665649414,
- "y": 2980.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3891.566665649414,
+ "y": 2935.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "19fd1bdb.1b78e4",
+ "id": "8ab931f2.10742",
"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": 4011.566665649414,
- "y": 3027.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4019.566665649414,
+ "y": 2982.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "49213484.6d2684",
+ "id": "be22c48f.b88288",
"type": "comment",
"name": "Create LEAF connectivity",
"info": "",
"comments": "",
- "x": 3848.566665649414,
- "y": 2890.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3856.566665649414,
+ "y": 2845.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "d873f718.81f988",
+ "id": "38387e07.eee06a",
"type": "save",
"name": "save LEAF UNI in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />",
"comments": "",
"outputs": 1,
- "x": 3845.566665649414,
- "y": 3118.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3853.566665649414,
+ "y": 3073.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "cea863c0.4ccb38",
+ "id": "c16c558d.bd7fa8",
"type": "save",
"name": "save connectivityA relationship to UNI-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 3938.566665649414,
- "y": 3171.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3946.566665649414,
+ "y": 3126.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "8a16772c.f0d08",
+ "id": "8249248d.fd861",
"type": "comment",
"name": "Create LEAF UNI",
"info": "",
"comments": "",
- "x": 3829.566665649414,
- "y": 3074.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3837.566665649414,
+ "y": 3029.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "d8aa6375.55f12",
+ "id": "8a8f5ba9.d4da6",
"type": "comment",
"name": "Create ROOT UNI",
"info": "",
"comments": "",
- "x": 3833.566665649414,
- "y": 3390.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3841.566665649414,
+ "y": 3345.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "e6e246b3.ed891",
+ "id": "3f007800.f3335",
"type": "save",
"name": "save LEAF UNI in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",
"comments": "",
"outputs": 1,
- "x": 4402.566665649414,
- "y": 4579.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4410.566665649414,
+ "y": 4534.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "546f5300.a4bc44",
+ "id": "5bce380a.32d878",
"type": "comment",
"name": "Create LEAF UNI",
"info": "",
"comments": "",
- "x": 4386.566665649414,
- "y": 4535.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4394.566665649414,
+ "y": 4490.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "b36d849f.6b142",
+ "id": "1b090d31.1314e3",
"type": "comment",
"name": "Create LEAF connectivity",
"info": "",
"comments": "",
- "x": 5133.566665649414,
- "y": 4566.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5141.566665649414,
+ "y": 4521.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "df003672.bddd2",
+ "id": "c30363c7.dd0dc",
"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": 5220.566665649414,
- "y": 4608.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5228.566665649414,
+ "y": 4563.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "dbb46179.c47f78",
+ "id": "10271018.94b4f8",
"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='`$middle-man-conn.etht-svc-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<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\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='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 5168.566665649414,
- "y": 4656.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5176.566665649414,
+ "y": 4611.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "837adbb2.1c01e8",
+ "id": "285754a8.44159c",
"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": 5296.566665649414,
- "y": 4703.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5304.566665649414,
+ "y": 4658.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "64dc9cdb.f55c8c",
+ "id": "ec10a332.513d58",
"type": "save",
"name": "save connectivityA relationship to UNI-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 4473.566665649414,
- "y": 4988.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4481.566665649414,
+ "y": 4943.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "f767aa90.80364",
+ "id": "572f6814.fa386",
"type": "comment",
"name": "populate connectivity-B variable in the context map",
"info": "",
"comments": "",
- "x": 4456.566665649414,
- "y": 5050.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4464.566665649414,
+ "y": 5005.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "1755eaf4.354305",
+ "id": "eb43383.cb911c8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 4567.566665649414,
- "y": 5092.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4575.566665649414,
+ "y": 5047.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "4953b8d7.b454c8",
+ "id": "8c58cbc3.7f4b88",
"type": "set",
"name": "set prop.connectivity-domainB-uuid",
"xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",
"comments": "",
- "x": 5015.566665649414,
- "y": 5145.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5023.566665649414,
+ "y": 5100.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "b4d97863.c15da",
+ "id": "be5aff94.f7d12",
"type": "save",
"name": "save middle-man-conn relationship to UNI-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 4325.566665649414,
- "y": 5843.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4333.566665649414,
+ "y": 5798.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "d715f85a.00ec7",
+ "id": "526f34d0.18befc",
"type": "save",
"name": "save LEAF UNI in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />",
"comments": "",
"outputs": 1,
- "x": 4223.566665649414,
- "y": 5792.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4231.566665649414,
+ "y": 5747.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "5114dbce.799f0c",
+ "id": "6826024b.ca723c",
"type": "comment",
"name": "Create LEAF UNI",
"info": "",
"comments": "",
- "x": 4207.566665649414,
- "y": 5748.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4215.566665649414,
+ "y": 5703.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "a495cbe2.05f3",
+ "id": "be0ba193.2dd698",
"type": "save",
"name": "save the-connectivity relationship to UNI-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 4993.566665649414,
- "y": 6005.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5001.566665649414,
+ "y": 5960.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "bc42d413.82595",
+ "id": "b431bc46.f09eb8",
"type": "switchNode",
"name": "switch found-root-connectivity",
"xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4394.566665649414,
- "y": 5149.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4402.566665649414,
+ "y": 5104.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "5a8de4b.cef309c",
- "99b44375.9d0098"
+ "baf822c4.3f205",
+ "32a48883.ef2b98"
]
]
},
{
- "id": "5a8de4b.cef309c",
+ "id": "baf822c4.3f205",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4605.566665649414,
- "y": 5149.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4613.566665649414,
+ "y": 5104.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "41a866cb.6d5e88"
+ "58c9a296.a42094"
]
]
},
{
- "id": "41a866cb.6d5e88",
+ "id": "58c9a296.a42094",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4761.566665649414,
- "y": 5145.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4769.566665649414,
+ "y": 5100.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "4953b8d7.b454c8",
- "5f4b3cc4.eb62f4",
- "76c11af1.9e9b94"
+ "8c58cbc3.7f4b88",
+ "3aab431e.930194",
+ "c5e59db3.c67ea"
]
]
},
{
- "id": "99b44375.9d0098",
+ "id": "32a48883.ef2b98",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4601.566665649414,
- "y": 5197.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4609.566665649414,
+ "y": 5152.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "c40ddff0.38613"
+ "255e5d4d.31482a"
]
]
},
{
- "id": "c40ddff0.38613",
+ "id": "255e5d4d.31482a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",
"comments": "",
- "x": 4749.566665649414,
- "y": 5192.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4757.566665649414,
+ "y": 5147.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "e8bdf848.077f2",
+ "id": "3647078f.866d7",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-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": 5257.566665649414,
- "y": 4774.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5265.566665649414,
+ "y": 4729.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "5b668059.1f482",
+ "id": "79257077.5f1ff8",
"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": 2423.566665649414,
- "y": 185.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 2431.566665649414,
+ "y": 140.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "989a0e11.127538",
+ "id": "8a55fb57.dfc438",
"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": 2357.566665649414,
- "y": 221.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 2365.566665649414,
+ "y": 176.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "e2d9aece.1465f",
+ "id": "d0423030.a4fb7",
"type": "comment",
"name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",
"info": "",
"comments": "",
- "x": 2542.566665649414,
- "y": 148.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 2550.566665649414,
+ "y": 103.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "8228476b.dfc93",
+ "id": "fad64a40.999cd8",
"type": "set",
"name": "set current-provider-id and current-cvlan-id",
"xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\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`' />-->",
"comments": "",
- "x": 4292.566665649414,
- "y": 5909.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4300.566665649414,
+ "y": 5864.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "394125b3.b0b57a",
+ "id": "1f999717.41db99",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 4425.566665649414,
- "y": 5957.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4433.566665649414,
+ "y": 5912.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "64250c00.f41444",
+ "id": "c52167d8.94938",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4244.566665649414,
- "y": 6015.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4252.566665649414,
+ "y": 5970.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "24759095.ee144",
- "cef50f43.3e9f48"
+ "19e438e0.03d147",
+ "34d88bae.811d0c"
]
]
},
{
- "id": "24759095.ee144",
+ "id": "19e438e0.03d147",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4437.566665649414,
- "y": 6016.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4445.566665649414,
+ "y": 5971.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "c0599a44.570328"
+ "41319fcd.d8b348"
]
]
},
{
- "id": "c0599a44.570328",
+ "id": "41319fcd.d8b348",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",
"comments": "",
- "x": 4593.566665649414,
- "y": 6013.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4601.566665649414,
+ "y": 5968.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "cef50f43.3e9f48",
+ "id": "34d88bae.811d0c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4441.566665649414,
- "y": 6060.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4449.566665649414,
+ "y": 6015.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "2c2e6801.1f5998"
+ "9cc4dc7d.174798"
]
]
},
{
- "id": "2c2e6801.1f5998",
+ "id": "9cc4dc7d.174798",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4580.566665649414,
- "y": 6055.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4588.566665649414,
+ "y": 6010.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a495cbe2.05f3",
- "d341cf2c.6ddc78",
- "882a079d.0537c8",
- "9acad1b0.c8f3c8",
- "1591d847.9e7b3",
- "2e348bab.75e0fc",
- "3c4d6cf1.e2588c",
- "cf206ffb.cf7668",
- "5a9ba33a.7d1a8c",
- "68c1a73b.58dcd8",
- "221756d1.77b252",
- "6b274a0f.281994"
+ "be0ba193.2dd698",
+ "9b687ead.d5262",
+ "bb8d3610.613d68",
+ "89f249f3.3e5608",
+ "1d656b5f.37186d",
+ "90bf2cc6.ca2d58",
+ "517a964c.5fa06",
+ "c8b3b99a.24ee1",
+ "2487bbac.e2018c",
+ "203e33ee.d272e4",
+ "3c1017d1.449bb",
+ "21e17170.9d1c4e"
]
]
},
{
- "id": "3c4d6cf1.e2588c",
+ "id": "517a964c.5fa06",
"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/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",
"comments": "",
"outputs": 1,
- "x": 4777.566665649414,
- "y": 6734.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4785.566665649414,
+ "y": 6689.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f71173d.2556e9",
- "36d425a2.cca582",
- "63e9e58.35d851c"
+ "f455e87a.bb05c8",
+ "dc467c76.6e0b1",
+ "26412110.73f856"
]
]
},
{
- "id": "f71173d.2556e9",
+ "id": "f455e87a.bb05c8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4982.566665649414,
- "y": 6731.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4990.566665649414,
+ "y": 6686.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "211a75a9.b19e7a"
+ "8ff8217a.525ad8"
]
]
},
{
- "id": "36d425a2.cca582",
+ "id": "dc467c76.6e0b1",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4966.057632446289,
- "y": 6793.140701293945,
- "z": "294b5e8a.041612",
+ "x": 4974.057632446289,
+ "y": 6748.140701293945,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "2ef14bb4.55e2cc"
+ "2b587a1.cfe3f86"
]
]
},
{
- "id": "63e9e58.35d851c",
+ "id": "26412110.73f856",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4963.566665649414,
- "y": 6836.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4971.566665649414,
+ "y": 6791.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "61cb6aef.0faa54"
+ "b747b55e.88ecf8"
]
]
},
{
- "id": "211a75a9.b19e7a",
+ "id": "8ff8217a.525ad8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5138.566665649414,
- "y": 6745.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5146.566665649414,
+ "y": 6700.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "1dafef09.17b7d9"
+ "8429b279.d4cdf"
]
]
},
{
- "id": "2ef14bb4.55e2cc",
+ "id": "2b587a1.cfe3f86",
"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": 5128.629043579102,
- "y": 6793.42643737793,
- "z": "294b5e8a.041612",
+ "x": 5136.629043579102,
+ "y": 6748.42643737793,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "61cb6aef.0faa54",
+ "id": "b747b55e.88ecf8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 5130.566665649414,
- "y": 6835.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5138.566665649414,
+ "y": 6790.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "1dafef09.17b7d9",
+ "id": "8429b279.d4cdf",
"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": 5385.566665649414,
- "y": 6742.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5393.566665649414,
+ "y": 6697.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "33d48bc3.4a3004"
+ "1ddbd038.9357b"
]
]
},
{
- "id": "33d48bc3.4a3004",
+ "id": "1ddbd038.9357b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5622.566665649414,
- "y": 6738.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5630.566665649414,
+ "y": 6693.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "509c6355.839cf4"
+ "7922b60b.c6e31"
]
]
},
{
- "id": "9a8b6da5.4a6238",
+ "id": "e0649c96.67ff88",
"type": "switchNode",
"name": "switch vpnuuid is for this slice",
"xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",
"comments": "",
"outputs": 1,
- "x": 5865.566665649414,
- "y": 6710.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5873.566665649414,
+ "y": 6665.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "4704615c.3c69f",
- "3a6fe540.e42ee2"
+ "6697bde5.6a73ec",
+ "f1cd44ef.865458"
]
]
},
{
- "id": "4704615c.3c69f",
+ "id": "6697bde5.6a73ec",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 6070.566665649414,
- "y": 6730.566665649414,
- "z": "294b5e8a.041612",
+ "x": 6078.566665649414,
+ "y": 6685.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "509c6355.839cf4"
+ "7922b60b.c6e31"
]
]
},
{
- "id": "3a6fe540.e42ee2",
+ "id": "f1cd44ef.865458",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 6069.566665649414,
- "y": 6683.566665649414,
- "z": "294b5e8a.041612",
+ "x": 6077.566665649414,
+ "y": 6638.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "509c6355.839cf4",
+ "id": "7922b60b.c6e31",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4813.566665649414,
- "y": 7005.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4821.566665649414,
+ "y": 6960.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "867fbf45.6b76e8"
+ "b0b5d457.a97bd"
]
]
},
{
- "id": "b664359c.e37a3",
+ "id": "1fa90257.6a5f2e",
"type": "set",
"name": "set tmp.aai.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",
"comments": "",
- "x": 6275.566635131836,
- "y": 6943.566635131836,
- "z": "294b5e8a.041612",
+ "x": 6283.566635131836,
+ "y": 6898.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "125d4567.492113",
+ "id": "a2de4936.eeff58",
"type": "comment",
"name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",
"info": "",
"comments": "",
- "x": 4875.566665649414,
- "y": 6681.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4883.566665649414,
+ "y": 6636.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "2e348bab.75e0fc",
+ "id": "90bf2cc6.ca2d58",
"type": "set",
"name": "set srcTtp OTN layer",
"xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!-- $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!-- $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",
"comments": "",
- "x": 4757.566665649414,
- "y": 6569.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4765.566665649414,
+ "y": 6524.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "cf763643.011b",
+ "id": "917753a8.ea741",
"type": "switchNode",
"name": "switch provider-id domainA",
"xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",
"comments": "",
"outputs": 1,
- "x": 5102.566665649414,
- "y": 6400.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5110.566665649414,
+ "y": 6355.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "e8f56973.27478"
+ "ddf721ac.b7eef8"
]
]
},
{
- "id": "e8f56973.27478",
+ "id": "ddf721ac.b7eef8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5322.566665649414,
- "y": 6406.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5330.566665649414,
+ "y": 6361.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "fde5a354.539f28"
+ "ff49769d.1bd52"
]
]
},
{
- "id": "fde5a354.539f28",
+ "id": "ff49769d.1bd52",
"type": "switchNode",
"name": "switch te-topo-id",
"xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",
"comments": "",
"outputs": 1,
- "x": 5509.566665649414,
- "y": 6366.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5517.566665649414,
+ "y": 6321.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "575e4bf2.eff614"
+ "4e069c0d.3968f4"
]
]
},
{
- "id": "575e4bf2.eff614",
+ "id": "4e069c0d.3968f4",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5701.566665649414,
- "y": 6369.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5709.566665649414,
+ "y": 6324.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "d993f92.1703888"
+ "2305c4b2.be932c"
]
]
},
{
- "id": "d993f92.1703888",
+ "id": "2305c4b2.be932c",
"type": "set",
"name": "set otnTopoIdSrc",
"xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
"comments": "",
- "x": 5910.566665649414,
- "y": 6367.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5918.566665649414,
+ "y": 6322.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "cf206ffb.cf7668",
+ "id": "c8b3b99a.24ee1",
"type": "for",
"name": "for netwidx..allNetworksList_length",
"xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",
"comments": "",
"outputs": 1,
- "x": 4809.566665649414,
- "y": 6394.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4817.566665649414,
+ "y": 6349.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "cf763643.011b"
+ "917753a8.ea741"
]
]
},
{
- "id": "882a079d.0537c8",
+ "id": "bb8d3610.613d68",
"type": "get-resource",
"name": "get-resource network-resources-list",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",
"comments": "",
"outputs": 1,
- "x": 4817.566665649414,
- "y": 6287.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4825.566665649414,
+ "y": 6242.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "bc620ade.df0f58",
- "6623a49b.f6c65c",
- "19b34b3d.8c8655"
+ "ae57a65a.f0c818",
+ "d5c36a0.e7a9398",
+ "2780984c.5a15a"
]
]
},
{
- "id": "bc620ade.df0f58",
+ "id": "ae57a65a.f0c818",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5053.566665649414,
- "y": 6270.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5061.566665649414,
+ "y": 6225.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "6623a49b.f6c65c",
+ "id": "d5c36a0.e7a9398",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5050.566665649414,
- "y": 6311.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5058.566665649414,
+ "y": 6266.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "19b34b3d.8c8655",
+ "id": "2780984c.5a15a",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5064.566665649414,
- "y": 6351.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5072.566665649414,
+ "y": 6306.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "9acad1b0.c8f3c8",
+ "id": "89f249f3.3e5608",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
"comments": "",
- "x": 4753.566665649414,
- "y": 6446.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4761.566665649414,
+ "y": 6401.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "1591d847.9e7b3",
+ "id": "1d656b5f.37186d",
"type": "set",
"name": "set tmp.pce-src-node",
"xml": "<set>\n<!--<parameter name='tmp.pce-src-node' 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<!-- 1 + '-' +-->\n<!-- $param-prefix-domainA-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' 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 $otnTopoIdSrc + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />",
"comments": "",
- "x": 4761.566665649414,
- "y": 6504.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4769.566665649414,
+ "y": 6459.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "d341cf2c.6ddc78",
+ "id": "9b687ead.d5262",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",
"comments": "",
- "x": 4766.566665649414,
- "y": 6244.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4774.566665649414,
+ "y": 6199.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "2fabd91.b08d0a6",
+ "id": "201d95ad.f7c612",
"type": "comment",
"name": "The following section is to find srcTtp OTN layer (its long name)",
"info": "The following section is to find srcTtp OTN layer (its long name)",
"comments": "",
- "x": 4881.566665649414,
- "y": 6196.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4889.566665649414,
+ "y": 6151.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "867fbf45.6b76e8",
+ "id": "b0b5d457.a97bd",
"type": "switchNode",
"name": "switch ops-note is srcTtpOtnLayer",
"xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",
"comments": "",
"outputs": 1,
- "x": 5056.566665649414,
- "y": 7002.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5064.566665649414,
+ "y": 6957.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "ca20f18b.d4eba8",
- "a546871e.5bfa7"
+ "46f9fbf7.fbe6cc",
+ "bab2d066.0ad5b"
]
]
},
{
- "id": "ca20f18b.d4eba8",
+ "id": "46f9fbf7.fbe6cc",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5285.566665649414,
- "y": 6979.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5293.566665649414,
+ "y": 6934.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "4274d693.44e7"
+ "66be0922.f0399"
]
]
},
{
- "id": "a546871e.5bfa7",
+ "id": "bab2d066.0ad5b",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5285.566665649414,
- "y": 7028.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5293.566665649414,
+ "y": 6983.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "9d07c8b0.2ee89",
+ "id": "646b562c.1751a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 6018.566635131836,
- "y": 7034.566635131836,
- "z": "294b5e8a.041612",
+ "x": 6026.566635131836,
+ "y": 6989.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "90c25785.3a5d5",
- "b664359c.e37a3",
- "9e3c844f.310898"
+ "898afc0c.eb00d8",
+ "1fa90257.6a5f2e",
+ "9d2bedee.a23cf"
]
]
},
{
- "id": "8461f132.9df9d8",
+ "id": "5bb30070.2c2c98",
"type": "comment",
"name": "increase the bw of the-vpn-binding and change status to modified",
"info": "increase the bw of the-vpn-binding\nchange status to modified\n",
"comments": "",
- "x": 6403.566635131836,
- "y": 6997.566635131836,
- "z": "294b5e8a.041612",
+ "x": 6411.566635131836,
+ "y": 6952.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "9e3c844f.310898",
+ "id": "9d2bedee.a23cf",
"type": "save",
"name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $gfp`' />\n\n<parameter name='operational-status' value='Modified' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 6373.566635131836,
- "y": 7057.566635131836,
- "z": "294b5e8a.041612",
+ "x": 6381.566635131836,
+ "y": 7012.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "90c25785.3a5d5",
+ "id": "898afc0c.eb00d8",
"type": "set",
"name": "unset tmp.aai.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",
"comments": "",
- "x": 6280.566635131836,
- "y": 6885.566635131836,
- "z": "294b5e8a.041612",
+ "x": 6288.566635131836,
+ "y": 6840.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "ba444b0.6d090b8",
+ "id": "e66ef561.f9598",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4016.566665649414,
- "y": 5942.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4024.566665649414,
+ "y": 5897.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "d715f85a.00ec7",
- "8228476b.dfc93",
- "394125b3.b0b57a",
- "64250c00.f41444",
- "b4d97863.c15da"
+ "526f34d0.18befc",
+ "fad64a40.999cd8",
+ "1f999717.41db99",
+ "c52167d8.94938",
+ "be5aff94.f7d12"
]
]
},
{
- "id": "c0768f56.37d61",
+ "id": "55c4563d.130918",
"type": "set",
"name": "unset otnTopoIdSrc",
"xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",
"comments": "",
- "x": 4758.566665649414,
- "y": 6344.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4766.566665649414,
+ "y": 6299.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "5a9ba33a.7d1a8c",
+ "id": "2487bbac.e2018c",
"type": "save",
"name": "update connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 4886.566665649414,
- "y": 6086.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4894.566665649414,
+ "y": 6041.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "42948c30.98f5ec",
+ "id": "eef6a242.86b638",
"type": "comment",
"name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",
"info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",
"comments": "",
- "x": 5023.566665649414,
- "y": 6036.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5031.566665649414,
+ "y": 5991.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "550c2be9.9018d4",
+ "id": "9860b974.593a3",
"type": "save",
"name": "save ROOT UNI in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='type' value='root' />\n<parameter name='data-source' value='`$gfp`' />\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='type' value='root' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",
"comments": "",
"outputs": 1,
- "x": 3850.566665649414,
- "y": 3429.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3858.566665649414,
+ "y": 3384.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "371edf0a.6e17f",
+ "id": "c96fd773.2e2468",
"type": "comment",
"name": "NOT NEEDED ANYMORE?",
"info": "",
"comments": "",
- "x": 4028.566635131836,
- "y": 1664.566635131836,
- "z": "294b5e8a.041612",
+ "x": 4036.566635131836,
+ "y": 1619.566635131836,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "de567305.4a43d8",
+ "id": "e5b482c4.4ff96",
"type": "comment",
"name": "NOT NEEDED ANYMORE?",
"info": "",
"comments": "",
- "x": 4007.566604614258,
- "y": 2176.566604614258,
- "z": "294b5e8a.041612",
+ "x": 4015.566604614258,
+ "y": 2131.566604614258,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "25146472.eb3624",
+ "id": "58efc802.973c9",
"type": "comment",
"name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",
"info": "",
"comments": "",
- "x": 3842.566665649414,
- "y": 4050.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3850.566665649414,
+ "y": 4005.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "c5539a8b.106aa",
+ "id": "517fe5d1.d6143c",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 3932.566665649414,
- "y": 6430.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3940.566665649414,
+ "y": 6385.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "e9491637.d51c9",
+ "id": "fa1a129b.8e1e58",
"type": "set",
"name": "set current-provider-id and current-cvlan-id",
"xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\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`' />-->",
"comments": "",
- "x": 3734.566665649414,
- "y": 4959.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3742.566665649414,
+ "y": 4914.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "ed589f33.dee34",
+ "id": "8f8ab353.277fd8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 3867.566665649414,
- "y": 5007.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3875.566665649414,
+ "y": 4962.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "ea96eb7.ae6d798",
+ "id": "6651db46.728784",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4413.566665649414,
- "y": 4635.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4421.566665649414,
+ "y": 4590.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a8f10916.be28b",
- "f59d19a8.d9c4d8"
+ "894780c2.49e69",
+ "859a7332.ec6f6"
]
]
},
{
- "id": "a8f10916.be28b",
+ "id": "894780c2.49e69",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4606.566665649414,
- "y": 4636.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4614.566665649414,
+ "y": 4591.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f728dec2.62b3a"
+ "ba88b5a5.1ae688"
]
]
},
{
- "id": "f59d19a8.d9c4d8",
+ "id": "859a7332.ec6f6",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4610.566665649414,
- "y": 4680.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4618.566665649414,
+ "y": 4635.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "c09bd16a.0b32d"
+ "99dc491a.da7278"
]
]
},
{
- "id": "c09bd16a.0b32d",
+ "id": "99dc491a.da7278",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4749.566665649414,
- "y": 4675.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4757.566665649414,
+ "y": 4630.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "d9114bfc.f7bce",
- "6c2541da.5d16b8",
- "b22f3c73.35c508"
+ "8cf9ac68.b6fb08",
+ "b04660b8.eae2",
+ "fb45e770.b6fb4"
]
]
},
{
- "id": "f728dec2.62b3a",
+ "id": "ba88b5a5.1ae688",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4749.566665649414,
- "y": 4632.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4757.566665649414,
+ "y": 4587.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "df003672.bddd2",
- "dbb46179.c47f78",
- "837adbb2.1c01e8",
- "e8bdf848.077f2"
+ "c30363c7.dd0dc",
+ "10271018.94b4f8",
+ "285754a8.44159c",
+ "3647078f.866d7"
]
]
},
{
- "id": "d9114bfc.f7bce",
+ "id": "8cf9ac68.b6fb08",
"type": "set",
"name": "set prop.connectivity-domainA-uuid",
"xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",
"comments": "",
- "x": 5151.566909790039,
- "y": 4897.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5159.566909790039,
+ "y": 4852.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "430a9d16.e4affc",
+ "id": "f52716f7.92c318",
"type": "comment",
"name": "populate connectivity-A variable in the context map",
"info": "",
"comments": "",
- "x": 5158.566909790039,
- "y": 4851.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5166.566909790039,
+ "y": 4806.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "68c1a73b.58dcd8",
+ "id": "203e33ee.d272e4",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 4948.566665649414,
- "y": 6630.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4956.566665649414,
+ "y": 6585.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "6c2541da.5d16b8",
+ "id": "b04660b8.eae2",
"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/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\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": 5269.566909790039,
- "y": 4939.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5277.566909790039,
+ "y": 4894.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "5f4b3cc4.eb62f4",
+ "id": "3aab431e.930194",
"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/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\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": 5144.566665649414,
- "y": 5197.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5152.566665649414,
+ "y": 5152.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "c7484b6a.1b27e8",
+ "id": "b6e6466d.f535c8",
"type": "comment",
"name": "Update ROOT UNI's bw",
"info": "",
"comments": "",
- "x": 3489.566665649414,
- "y": 4530.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3497.566665649414,
+ "y": 4485.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "8eb23d5.90166c",
+ "id": "eb0222bd.49b5a",
"type": "save",
"name": "update ROOT UNI in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",
"comments": "",
"outputs": 1,
- "x": 4011.566665649414,
- "y": 4631.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4019.566665649414,
+ "y": 4586.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "8bbbb496.3df16",
+ "id": "e967635e.d5f898",
"type": "save",
"name": "get root uni from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",
"comments": "",
"outputs": 1,
- "x": 3468.566665649414,
- "y": 4574.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3476.566665649414,
+ "y": 4529.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a18c125a.02e14",
- "7f2705d6.db1694",
- "a9eb2c91.698e38"
+ "a0645295.c076d8",
+ "9cfd1461.a062b8",
+ "c3fd0eeb.1191a"
]
]
},
{
- "id": "7f2705d6.db1694",
+ "id": "9cfd1461.a062b8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3657.057632446289,
- "y": 4543.140884399414,
- "z": "294b5e8a.041612",
+ "x": 3665.057632446289,
+ "y": 4498.140884399414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "2e3353bd.ee574c"
+ "763a574e.7131"
]
]
},
{
- "id": "a9eb2c91.698e38",
+ "id": "c3fd0eeb.1191a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3645.566665649414,
- "y": 4582.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3653.566665649414,
+ "y": 4537.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "5c8fdc07.865394"
+ "64809ae2.7e048c"
]
]
},
{
- "id": "2e3353bd.ee574c",
+ "id": "763a574e.7131",
"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": 3816.629165649414,
- "y": 4541.426528930664,
- "z": "294b5e8a.041612",
+ "x": 3824.629165649414,
+ "y": 4496.426528930664,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "5c8fdc07.865394",
+ "id": "64809ae2.7e048c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3806.566665649414,
- "y": 4583.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3814.566665649414,
+ "y": 4538.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "9ccbfbe.3763808",
+ "id": "9a196ab1.500e98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3808.566665649414,
- "y": 4627.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3816.566665649414,
+ "y": 4582.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b718fb4d.1d2eb",
- "8eb23d5.90166c"
+ "6eb0cd28.22b8f4",
+ "eb0222bd.49b5a"
]
]
},
{
- "id": "a18c125a.02e14",
+ "id": "a0645295.c076d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3650.566665649414,
- "y": 4619.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3658.566665649414,
+ "y": 4574.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9ccbfbe.3763808"
+ "9a196ab1.500e98"
]
]
},
{
- "id": "b718fb4d.1d2eb",
+ "id": "6eb0cd28.22b8f4",
"type": "set",
"name": "set new bw",
"xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",
"comments": "",
- "x": 3969.566665649414,
- "y": 4559.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3977.566665649414,
+ "y": 4514.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "581d9366.e6ee44",
+ "id": "a7e951fd.34174",
"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/' + $middle-man-conn.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$middle-man-conn.connectivity-id`\" />\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": 3834.566665649414,
- "y": 4898.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3842.566665649414,
+ "y": 4853.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "3bda63fd.be934c",
+ "id": "a3ce23a7.48a0c8",
"type": "comment",
"name": "Temporary skipping this check - to support multiple instances in one slice",
"info": "",
"comments": "",
- "x": 5949.449966430664,
- "y": 6648.449966430664,
- "z": "294b5e8a.041612",
+ "x": 5957.449966430664,
+ "y": 6603.449966430664,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "b22f3c73.35c508",
+ "id": "fb45e770.b6fb4",
"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 = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 5149.233901977539,
- "y": 5035.650161743164,
- "z": "294b5e8a.041612",
+ "x": 5157.233901977539,
+ "y": 4990.650161743164,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "72bb0449.7c6c4c",
+ "id": "7a5a11e8.fe41c8",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 5151.450698852539,
- "y": 4995.449966430664,
- "z": "294b5e8a.041612",
+ "x": 5159.450698852539,
+ "y": 4950.449966430664,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "76c11af1.9e9b94",
+ "id": "c5e59db3.c67ea",
"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 = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 5025.233657836914,
- "y": 5285.650161743164,
- "z": "294b5e8a.041612",
+ "x": 5033.233657836914,
+ "y": 5240.650161743164,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "9cb7b649.72fc8",
+ "id": "57dbe634.714a18",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 5027.450454711914,
- "y": 5245.449966430664,
- "z": "294b5e8a.041612",
+ "x": 5035.450454711914,
+ "y": 5200.449966430664,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "ac700fc2.3e2c98",
+ "id": "aa096a62.a00c18",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 5115.033462524414,
- "y": 5648.083267211914,
- "z": "294b5e8a.041612",
+ "x": 5123.033462524414,
+ "y": 5603.083267211914,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "9aeab5a.07483c8",
+ "id": "a1684c9.099dc3",
"type": "switchNode",
"name": "switch found-root-connectivity",
"xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4942.033462524414,
- "y": 5705.083267211914,
- "z": "294b5e8a.041612",
+ "x": 4950.033462524414,
+ "y": 5660.083267211914,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7adad055.f81858",
- "1c623aa1.b56e9d"
+ "322ec37b.7f462c",
+ "a4688844.be2738"
]
]
},
{
- "id": "7adad055.f81858",
+ "id": "322ec37b.7f462c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5153.033462524414,
- "y": 5705.083267211914,
- "z": "294b5e8a.041612",
+ "x": 5161.033462524414,
+ "y": 5660.083267211914,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "8b4d22b1.51563"
+ "32e06877.2a572"
]
]
},
{
- "id": "1c623aa1.b56e9d",
+ "id": "a4688844.be2738",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5149.033462524414,
- "y": 5753.083267211914,
- "z": "294b5e8a.041612",
+ "x": 5157.033462524414,
+ "y": 5708.083267211914,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "1d139b8d.b9ffb4"
+ "748c1810.be501"
]
]
},
{
- "id": "8b4d22b1.51563",
+ "id": "32e06877.2a572",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5309.033462524414,
- "y": 5701.083267211914,
- "z": "294b5e8a.041612",
+ "x": 5317.033462524414,
+ "y": 5656.083267211914,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f5948089.056778",
- "eda1ec63.f88a8",
- "116803c1.b8c5c4"
+ "c380fc3b.e6c15",
+ "4e971f2e.5d2078",
+ "7fabceea.e8bd9"
]
]
},
{
- "id": "1d139b8d.b9ffb4",
+ "id": "748c1810.be501",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",
"comments": "",
- "x": 5297.033462524414,
- "y": 5748.083267211914,
- "z": "294b5e8a.041612",
+ "x": 5305.033462524414,
+ "y": 5703.083267211914,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "fa3077ab.1dba8",
+ "id": "bf0ec53.d08f2b8",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 5618.917251586914,
- "y": 5801.966567993164,
- "z": "294b5e8a.041612",
+ "x": 5626.917251586914,
+ "y": 5756.966567993164,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "116803c1.b8c5c4",
+ "id": "7fabceea.e8bd9",
"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 = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 5622.700454711914,
- "y": 5840.166763305664,
- "z": "294b5e8a.041612",
+ "x": 5630.700454711914,
+ "y": 5795.166763305664,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "eda1ec63.f88a8",
+ "id": "4e971f2e.5d2078",
"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/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\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": 5729.033462524414,
- "y": 5753.083267211914,
- "z": "294b5e8a.041612",
+ "x": 5737.033462524414,
+ "y": 5708.083267211914,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "f5948089.056778",
+ "id": "c380fc3b.e6c15",
"type": "set",
"name": "set prop.connectivity-domainB-uuid",
"xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",
"comments": "",
- "x": 5613.033462524414,
- "y": 5701.083267211914,
- "z": "294b5e8a.041612",
+ "x": 5621.033462524414,
+ "y": 5656.083267211914,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "d30afa49.07b758",
+ "id": "ddfb9582.3445a8",
"type": "comment",
"name": "populate connectivity-B variable in the context map",
"info": "",
"comments": "",
- "x": 5004.033462524414,
- "y": 5606.083267211914,
- "z": "294b5e8a.041612",
+ "x": 5012.033462524414,
+ "y": 5561.083267211914,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "221756d1.77b252",
+ "id": "3c1017d1.449bb",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4716.366470336914,
- "y": 5781.083267211914,
- "z": "294b5e8a.041612",
+ "x": 4724.366470336914,
+ "y": 5736.083267211914,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "ac700fc2.3e2c98",
- "9aeab5a.07483c8",
- "986cd5c9.02e9d",
- "cfe4284f.245dc"
+ "aa096a62.a00c18",
+ "a1684c9.099dc3",
+ "a4cbceb2.4df788",
+ "9c03eaae.aa875"
]
]
},
{
- "id": "6b274a0f.281994",
+ "id": "21e17170.9d1c4e",
"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/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\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": 5016.399673461914,
- "y": 6141.766860961914,
- "z": "294b5e8a.041612",
+ "x": 5024.399673461914,
+ "y": 6096.766860961914,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "9356e875.de45c8",
+ "id": "bfe53aa3.d585a8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 5822.683334350586,
- "y": 6978.683334350586,
- "z": "294b5e8a.041612",
+ "x": 5830.683334350586,
+ "y": 6933.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "4274d693.44e7",
+ "id": "66be0922.f0399",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5441.683334350586,
- "y": 6981.683334350586,
- "z": "294b5e8a.041612",
+ "x": 5449.683334350586,
+ "y": 6936.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9356e875.de45c8",
- "f4fb32f5.290118",
- "fc73441.6e16238"
+ "bfe53aa3.d585a8",
+ "f8b29486.7e71d",
+ "bf54edf8.ad3758"
]
]
},
{
- "id": "f4fb32f5.290118",
+ "id": "f8b29486.7e71d",
"type": "switchNode",
"name": "switch $foundVpnName",
"xml": "<switch test=\"`$foundVpnName`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 5667.683334350586,
- "y": 7033.683334350586,
- "z": "294b5e8a.041612",
+ "x": 5675.683334350586,
+ "y": 6988.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7d48e95d.36571"
+ "45d6980.5fa0ee8"
]
]
},
{
- "id": "7d48e95d.36571",
+ "id": "45d6980.5fa0ee8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5846.683334350586,
- "y": 7032.683334350586,
- "z": "294b5e8a.041612",
+ "x": 5854.683334350586,
+ "y": 6987.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9d07c8b0.2ee89"
+ "646b562c.1751a8"
]
]
},
{
- "id": "fc73441.6e16238",
+ "id": "bf54edf8.ad3758",
"type": "set",
"name": "set vpnNameToSearch",
"xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",
"comments": "",
- "x": 5668.683334350586,
- "y": 6926.683334350586,
- "z": "294b5e8a.041612",
+ "x": 5676.683334350586,
+ "y": 6881.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "c7583bfe.6dbd",
+ "id": "7c0aae65.c25f7",
"type": "notify",
"name": "notify",
"xml": "<notify plugin='' resource='' action='' >\n",
"comments": "",
"outputs": 1,
- "x": 2662.683334350586,
- "y": 975.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 2670.683334350586,
+ "y": 930.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "17e6527f.ea49de",
+ "id": "c9e93381.966988",
"type": "set",
"name": "set network-route-three",
"xml": "<set>\n<parameter name='network-route-three' value=\"`$tmp.aai.logical-link.segment-id`\" />\n\n\n",
"comments": "",
- "x": 3340.683334350586,
- "y": 751.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 3348.683334350586,
+ "y": 706.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "4ef95e12.fd687",
+ "id": "18d11d50.cb3a7b",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3556.683334350586,
- "y": 1079.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3564.683334350586,
+ "y": 1034.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "76cbe80c.f4e188",
+ "id": "e2e500c.35b568",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3552.192398071289,
- "y": 1122.109390258789,
- "z": "294b5e8a.041612",
+ "x": 3560.192398071289,
+ "y": 1077.109390258789,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "2e93ec7e.d04c6c",
+ "id": "ac92425e.1b5228",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3556.192367553711,
- "y": 1170.109359741211,
- "z": "294b5e8a.041612",
+ "x": 3564.192367553711,
+ "y": 1125.109359741211,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b4c3abcb.bb0aa8"
+ "74bd1e76.c1a798"
]
]
},
{
- "id": "b4c3abcb.bb0aa8",
+ "id": "74bd1e76.c1a798",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3713.683334350586,
- "y": 1169.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3721.683334350586,
+ "y": 1124.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "c59d6859.c80d1"
+ "75cda54f.508c54"
]
]
},
{
- "id": "c59d6859.c80d1",
+ "id": "75cda54f.508c54",
"type": "switchNode",
"name": "switch nr type",
"xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",
"comments": "",
"outputs": 1,
- "x": 3883.683364868164,
- "y": 1172.6834869384766,
- "z": "294b5e8a.041612",
+ "x": 3891.683364868164,
+ "y": 1127.6834869384766,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b806c285.3c1eb",
- "1890bb58.2d4ee5",
- "614f0a7f.a53cf4"
+ "b5759425.3c5bd",
+ "a5689d25.4480b8",
+ "32c4f78e.6013e8"
]
]
},
{
- "id": "b806c285.3c1eb",
+ "id": "b5759425.3c5bd",
"type": "outcome",
"name": "ROOT",
"xml": "<outcome value='ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4057.683334350586,
- "y": 1110.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4065.683334350586,
+ "y": 1065.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "224fa1be.62b94e"
+ "e254226b.74faf"
]
]
},
{
- "id": "1890bb58.2d4ee5",
+ "id": "a5689d25.4480b8",
"type": "outcome",
"name": "LEAF",
"xml": "<outcome value='LEAF'>\n",
"comments": "",
"outputs": 1,
- "x": 4059.683334350586,
- "y": 1164.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4067.683334350586,
+ "y": 1119.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "5ec2cf4e.ba2b2"
+ "b214dc3a.ed1eb8"
]
]
},
{
- "id": "224fa1be.62b94e",
+ "id": "e254226b.74faf",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4185.683334350586,
- "y": 1110.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4193.683334350586,
+ "y": 1065.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a900cf11.02bcd",
- "1c2b8eb2.2e6009"
+ "1e63a796.08e87",
+ "c1790587.ac9f08"
]
]
},
{
- "id": "5ec2cf4e.ba2b2",
+ "id": "b214dc3a.ed1eb8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4188.683334350586,
- "y": 1163.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4196.683334350586,
+ "y": 1118.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "459af4e0.72f56c",
- "8371ef21.19884"
+ "ea9630d6.e1db68",
+ "7cd0ca92.870d14"
]
]
},
{
- "id": "1c2b8eb2.2e6009",
+ "id": "c1790587.ac9f08",
"type": "set",
"name": "set network-route-B",
"xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4346.683334350586,
- "y": 1134.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4354.683334350586,
+ "y": 1089.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "459af4e0.72f56c",
+ "id": "ea9630d6.e1db68",
"type": "set",
"name": "set network-route-LEAF",
"xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4363.683334350586,
- "y": 1176.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4371.683334350586,
+ "y": 1131.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "8371ef21.19884",
+ "id": "7cd0ca92.870d14",
"type": "set",
"name": "set network-route-A",
"xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4348.683334350586,
- "y": 1214.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4356.683334350586,
+ "y": 1169.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "a900cf11.02bcd",
+ "id": "1e63a796.08e87",
"type": "set",
"name": "set network-route-ROOT",
"xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4360.683334350586,
- "y": 1094.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4368.683334350586,
+ "y": 1049.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "f4867be8.a3739",
+ "id": "5b64a8f4.eea95",
"type": "comment",
"name": "This is it (should be)",
"info": "",
"comments": "",
- "x": 4525.683334350586,
- "y": 1110.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4533.683334350586,
+ "y": 1065.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "c22e8ab9.0a6b88",
+ "id": "5fc9799.82ba788",
"type": "save",
"name": "get network-route-three 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-three'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-three\">",
"comments": "",
"outputs": 1,
- "x": 3316.683334350586,
- "y": 1096.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3324.683334350586,
+ "y": 1051.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "4ef95e12.fd687",
- "76cbe80c.f4e188",
- "2e93ec7e.d04c6c"
+ "18d11d50.cb3a7b",
+ "e2e500c.35b568",
+ "ac92425e.1b5228"
]
]
},
{
- "id": "614f0a7f.a53cf4",
+ "id": "32c4f78e.6013e8",
"type": "outcome",
"name": "SECONDARY-ROOT",
"xml": "<outcome value='SECONDARY-ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4002.683334350586,
- "y": 1228.683334350586,
- "z": "294b5e8a.041612",
+ "x": 4010.683334350586,
+ "y": 1183.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7f1b4232.b1cfb4"
+ "e8d5048b.eb9908"
]
]
},
{
- "id": "7f1b4232.b1cfb4",
+ "id": "e8d5048b.eb9908",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4176.683334350586,
- "y": 1223.683334350586,
- "z": "294b5e8a.041612",
+ "x": 4184.683334350586,
+ "y": 1178.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "838abc45.59f7a",
- "db00c52c.5ed268"
+ "cbdde789.933e38",
+ "ff9c265d.ccb66"
]
]
},
{
- "id": "db00c52c.5ed268",
+ "id": "ff9c265d.ccb66",
"type": "set",
"name": "set network-route-C",
"xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",
"comments": "",
- "x": 4346.683334350586,
- "y": 1296.683334350586,
- "z": "294b5e8a.041612",
+ "x": 4354.683334350586,
+ "y": 1251.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "838abc45.59f7a",
+ "id": "cbdde789.933e38",
"type": "set",
"name": "set network-route-SECONDARY-ROOT",
"xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",
"comments": "",
- "x": 4400.683334350586,
- "y": 1256.683334350586,
- "z": "294b5e8a.041612",
+ "x": 4408.683334350586,
+ "y": 1211.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "ff2b32b5.5b2a08",
+ "id": "fa28f519.9b734",
"type": "comment",
"name": "This is it (should be)",
"info": "",
"comments": "",
- "x": 4514.683334350586,
- "y": 1281.683334350586,
- "z": "294b5e8a.041612",
+ "x": 4522.683334350586,
+ "y": 1236.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "56529717.d57cf",
+ "id": "65095290.735c7c",
"type": "outcome",
"name": "SECONDARY-ROOT",
"xml": "<outcome value='SECONDARY-ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4073.683334350586,
- "y": 984.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 4081.683334350586,
+ "y": 939.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "ee2de2c6.4f08d8"
+ "6a27287d.2ebf6"
]
]
},
{
- "id": "ca426e77.b8a868",
+ "id": "d7809ac8.28364",
"type": "set",
"name": "set network-route-C",
"xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4417.683334350586,
- "y": 1052.683334350586,
- "z": "294b5e8a.041612",
+ "x": 4425.683334350586,
+ "y": 1007.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "f04a072d.a1bc78",
+ "id": "38b369ba.8d91fe",
"type": "set",
"name": "set network-route-SECONDARY-ROOT",
"xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4471.683334350586,
- "y": 1012.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 4479.683334350586,
+ "y": 967.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "494ac499.527a64",
+ "id": "7d1c2c8b.bd9814",
"type": "comment",
"name": "This is it (should be)",
"info": "",
"comments": "",
- "x": 4615.683334350586,
- "y": 1041.683334350586,
- "z": "294b5e8a.041612",
+ "x": 4623.683334350586,
+ "y": 996.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "ee2de2c6.4f08d8",
+ "id": "6a27287d.2ebf6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4247.683334350586,
- "y": 979.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 4255.683334350586,
+ "y": 934.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f04a072d.a1bc78",
- "ca426e77.b8a868"
+ "38b369ba.8d91fe",
+ "d7809ac8.28364"
]
]
},
{
- "id": "fbdccf10.5fabc",
+ "id": "b03ebc69.8e68d8",
"type": "outcome",
"name": "SECONDARY-ROOT",
"xml": "<outcome value='SECONDARY-ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4133.683334350586,
- "y": 722.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 4141.683334350586,
+ "y": 677.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b0420846.4df49"
+ "e58f35e3.4b6a2"
]
]
},
{
- "id": "6f89ab47.26e854",
+ "id": "6a2c136e.692edc",
"type": "set",
"name": "set network-route-C",
"xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",
"comments": "",
- "x": 4477.683334350586,
- "y": 790.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 4485.683334350586,
+ "y": 745.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "bf3e885.5679178",
+ "id": "66ae94b1.018af4",
"type": "set",
"name": "set network-route-SECONDARY-ROOT",
"xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",
"comments": "",
- "x": 4531.683334350586,
- "y": 750.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 4539.683334350586,
+ "y": 705.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "fd3136c3.1f9f9",
+ "id": "33be367d.fbce62",
"type": "comment",
"name": "This is it (should be)",
"info": "",
"comments": "",
- "x": 4645.683334350586,
- "y": 775.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 4653.683334350586,
+ "y": 730.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "b0420846.4df49",
+ "id": "e58f35e3.4b6a2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4307.683334350586,
- "y": 717.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 4315.683334350586,
+ "y": 672.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "bf3e885.5679178",
- "6f89ab47.26e854"
+ "66ae94b1.018af4",
+ "6a2c136e.692edc"
]
]
},
{
- "id": "d5e167ce.f19998",
+ "id": "64cdb464.83135c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3714.683334350586,
- "y": 2599.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3722.683334350586,
+ "y": 2554.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "eb74e655.05ff7",
- "e886ebc1.1661e8"
+ "7a3829d.42a01d8",
+ "d03e5e53.5cee58"
]
]
},
{
- "id": "47201997.7cc3c",
+ "id": "6e42edd4.58cd0c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3542.016830444336,
- "y": 2600.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3550.016830444336,
+ "y": 2555.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "d5e167ce.f19998"
+ "64cdb464.83135c"
]
]
},
{
- "id": "164be473.b70384",
+ "id": "b61e07a3.0e4238",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3551.507797241211,
- "y": 2643.257369995117,
- "z": "294b5e8a.041612",
+ "x": 3559.507797241211,
+ "y": 2598.257369995117,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "784aa04.7c1dfe",
+ "id": "2df3a08e.41f4c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3540.016830444336,
- "y": 2689.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3548.016830444336,
+ "y": 2644.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "eb74e655.05ff7",
+ "id": "7a3829d.42a01d8",
"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-C.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-domainC\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 4001.016830444336,
- "y": 2603.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4009.016830444336,
+ "y": 2558.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "3f64df6c.c641f8",
- "e65de275.42f878"
+ "38c64779.e618f",
+ "14f81708.27e459"
]
]
},
{
- "id": "e65de275.42f878",
+ "id": "14f81708.27e459",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4224.016830444336,
- "y": 2558.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4232.016830444336,
+ "y": 2513.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "34b4944b.960704"
+ "2753f3be.c9c924"
]
]
},
{
- "id": "3f64df6c.c641f8",
+ "id": "38c64779.e618f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4226.016830444336,
- "y": 2622.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4234.016830444336,
+ "y": 2577.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "699d84d7.6602fc"
+ "43ad3093.31a088"
]
]
},
{
- "id": "9c75cfb6.9dae68",
+ "id": "9fbb56ee.c43378",
"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.domainC.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-C.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": 3314.016830444336,
- "y": 2635.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3322.016830444336,
+ "y": 2590.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "47201997.7cc3c",
- "164be473.b70384",
- "784aa04.7c1dfe"
+ "6e42edd4.58cd0c",
+ "b61e07a3.0e4238",
+ "2df3a08e.41f4c"
]
]
},
{
- "id": "23b8fd1e.0cb2fa",
+ "id": "ac1718b4.765b78",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 3275.016830444336,
- "y": 2579.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3283.016830444336,
+ "y": 2534.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "647f2e19.e50158",
+ "id": "7ebd6769.0b5428",
"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-C.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC-pnfName\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 3334.016830444336,
- "y": 2375.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3342.016830444336,
+ "y": 2330.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "5e42c344.eae60c",
- "af9299b9.b3a958"
+ "2f0a58a8.ee7038",
+ "79cdcb97.546894"
]
]
},
{
- "id": "af9299b9.b3a958",
+ "id": "79cdcb97.546894",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3557.016830444336,
- "y": 2361.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3565.016830444336,
+ "y": 2316.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9102a653.17d73"
+ "49eedb67.f00374"
]
]
},
{
- "id": "5e42c344.eae60c",
+ "id": "2f0a58a8.ee7038",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3559.016830444336,
- "y": 2394.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3567.016830444336,
+ "y": 2349.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "9102a653.17d73",
+ "id": "49eedb67.f00374",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3705.016830444336,
- "y": 2354.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3713.016830444336,
+ "y": 2309.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9818833d.58ad9",
- "288d55d1.6f744a"
+ "f5d93681.391ea",
+ "66937670.413898"
]
]
},
{
- "id": "9818833d.58ad9",
+ "id": "f5d93681.391ea",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.dst.domainC.pnf-name' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n $param-prefix-domainC-pnfName[1] + '-' +\n $param-prefix-domainC-pnfName[2] + '-' +\n $param-prefix-domainC-pnfName[3] + '-' +\n $param-prefix-domainC-pnfName[4] + '-' +\n $param-prefix-domainC-pnfName[5] + '-' +\n $param-prefix-domainC-pnfName[6] + '-' +\n $param-prefix-domainC-pnfName[7] + '-' +\n $param-prefix-domainC-pnfName[8]`\" />\n",
"comments": "",
- "x": 3899.016830444336,
- "y": 2357.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 3907.016830444336,
+ "y": 2312.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "e886ebc1.1661e8",
+ "id": "d03e5e53.5cee58",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3952.016799926758,
- "y": 2726.683303833008,
- "z": "294b5e8a.041612",
+ "x": 3960.016799926758,
+ "y": 2681.683303833008,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f013a1b2.101138"
+ "1dfcba6a.928896"
]
]
},
{
- "id": "f013a1b2.101138",
+ "id": "1dfcba6a.928896",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4158.016799926758,
- "y": 2726.683303833008,
- "z": "294b5e8a.041612",
+ "x": 4166.016799926758,
+ "y": 2681.683303833008,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "386bba62.16259e"
+ "ad7b62a1.1a3de8"
]
]
},
{
- "id": "288d55d1.6f744a",
+ "id": "66937670.413898",
"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.domainC.pnf-name\"\n pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 3921.016830444336,
- "y": 2425.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 3929.016830444336,
+ "y": 2380.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "50cea31f.42d1c4",
- "35a7b03.f8d85d",
- "21702f57.67315"
+ "7e1c1529.6f1464",
+ "e1251115.be77b",
+ "d084db0e.513758"
]
]
},
{
- "id": "50cea31f.42d1c4",
+ "id": "7e1c1529.6f1464",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4116.516952514648,
- "y": 2377.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4124.516952514648,
+ "y": 2332.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "295cc726.ea872"
+ "24a5d36d.06630c"
]
]
},
{
- "id": "35a7b03.f8d85d",
+ "id": "e1251115.be77b",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4108.516952514648,
- "y": 2432.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4116.516952514648,
+ "y": 2387.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "2c7fef61.a7451"
+ "e4759099.9196a"
]
]
},
{
- "id": "21702f57.67315",
+ "id": "d084db0e.513758",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4113.516952514648,
- "y": 2489.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4121.516952514648,
+ "y": 2444.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9bbdca0e.a0cf58"
+ "68e5ccfb.96ac94"
]
]
},
{
- "id": "9bbdca0e.a0cf58",
+ "id": "68e5ccfb.96ac94",
"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": 4265.516952514648,
- "y": 2490.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4273.516952514648,
+ "y": 2445.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "295cc726.ea872",
+ "id": "24a5d36d.06630c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4260.899276733398,
- "y": 2375.339126586914,
- "z": "294b5e8a.041612",
+ "x": 4268.899276733398,
+ "y": 2330.339126586914,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "723c9a0.e71c268"
+ "b2ff1ea.8d4406"
]
]
},
{
- "id": "9a8ce081.e6446",
+ "id": "387e5bde.fd50e4",
"type": "set",
"name": "set SECONDARY-ROOT stuff",
"xml": "<set>\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-long' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n $param-prefix-domainC-pnfName[1] + '-' +\n $param-prefix-domainC-pnfName[2] + '-' +\n $param-prefix-domainC-pnfName[3] + '-' +\n $param-prefix-domainC-pnfName[4] + '-' +\n $param-prefix-domainC-pnfName[5] + '-' +\n $param-prefix-domainC-pnfName[6] + '-' +\n $param-prefix-domainC-pnfName[7] + '-' +\n $param-prefix-domainC-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value=\"`$tmp.dst-secondary.pnf-name`\" />\n\n<parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`\" />\n<parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value=\"`$tmp.dst-secondary.ltpId`\" />\n",
"comments": "",
- "x": 3336.683334350586,
- "y": 2714.683334350586,
- "z": "294b5e8a.041612",
+ "x": 3344.683334350586,
+ "y": 2669.683334350586,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "c2ddeb07.7a6948",
+ "id": "4cfd3be4.f62fcc",
"type": "comment",
"name": "NOT NEEDED ANYMORE?",
"info": "",
"comments": "",
- "x": 4011.683303833008,
- "y": 2678.683303833008,
- "z": "294b5e8a.041612",
+ "x": 4019.683303833008,
+ "y": 2633.683303833008,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "699d84d7.6602fc",
+ "id": "43ad3093.31a088",
"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": 4385.016830444336,
- "y": 2641.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4393.016830444336,
+ "y": 2596.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "34b4944b.960704",
+ "id": "2753f3be.c9c924",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4389.016830444336,
- "y": 2555.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4397.016830444336,
+ "y": 2510.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "276189b1.3ed3ce",
- "a978fa30.e2e848"
+ "a6bf1231.b0b2f8",
+ "b6449bb5.90e018"
]
]
},
{
- "id": "386bba62.16259e",
+ "id": "ad7b62a1.1a3de8",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 4375.302444458008,
- "y": 2725.505081176758,
- "z": "294b5e8a.041612",
+ "x": 4383.302444458008,
+ "y": 2680.505081176758,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "89559da6.e6cb3"
+ "e5d22111.f520c"
]
]
},
{
- "id": "2c7fef61.a7451",
+ "id": "e4759099.9196a",
"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": 4276.516952514648,
- "y": 2435.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4284.516952514648,
+ "y": 2390.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "276189b1.3ed3ce",
+ "id": "a6bf1231.b0b2f8",
"type": "set",
"name": "set ltpId",
"xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",
"comments": "",
- "x": 4559.016830444336,
- "y": 2516.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4567.016830444336,
+ "y": 2471.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "a978fa30.e2e848",
+ "id": "b6449bb5.90e018",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",
"comments": "",
- "x": 4560.016830444336,
- "y": 2621.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4568.016830444336,
+ "y": 2576.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "1a2899c1.f9127e",
+ "id": "2544beb5.524cf2",
"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": 4555.016830444336,
- "y": 2570.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4563.016830444336,
+ "y": 2525.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "89559da6.e6cb3",
+ "id": "e5d22111.f520c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4582.133987426758,
- "y": 2715.0237579345703,
- "z": "294b5e8a.041612",
+ "x": 4590.133987426758,
+ "y": 2670.0237579345703,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "8f483fd3.15e2b",
- "5a0d7606.c42ec8",
- "f5ace162.1d1728"
+ "387e5354.258eec",
+ "d91f6407.9298c8",
+ "8a12363d.8f67b8"
]
]
},
{
- "id": "8f483fd3.15e2b",
+ "id": "387e5354.258eec",
"type": "set",
"name": "set destination ttp-id",
"xml": "<set>\n<parameter name='tmp.destination-secondary.ttp-id' value=\"`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 4797.133987426758,
- "y": 2677.0237579345703,
- "z": "294b5e8a.041612",
+ "x": 4805.133987426758,
+ "y": 2632.0237579345703,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "5a0d7606.c42ec8",
+ "id": "d91f6407.9298c8",
"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-secondary.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\n\n\n",
"comments": "",
"outputs": 1,
- "x": 4794.133987426758,
- "y": 2716.0237579345703,
- "z": "294b5e8a.041612",
+ "x": 4802.133987426758,
+ "y": 2671.0237579345703,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "be061b72.c7b818"
+ "824c0ca3.93f64"
]
]
},
{
- "id": "f5ace162.1d1728",
+ "id": "8a12363d.8f67b8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4749.633987426758,
- "y": 2758.0237579345703,
- "z": "294b5e8a.041612",
+ "x": 4757.633987426758,
+ "y": 2713.0237579345703,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "b11d681f.057f4",
+ "id": "b23c99bf.cf2e8",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4843.016830444336,
- "y": 2393.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4851.016830444336,
+ "y": 2348.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "530fa7ff.bc17d"
+ "97206b42.8c742"
]
]
},
{
- "id": "723c9a0.e71c268",
+ "id": "b2ff1ea.8d4406",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 4445.016830444336,
- "y": 2389.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4453.016830444336,
+ "y": 2344.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "46b1f311.91a404"
+ "3bc9e41b.32e2f4"
]
]
},
{
- "id": "46b1f311.91a404",
+ "id": "3bc9e41b.32e2f4",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4640.016830444336,
- "y": 2389.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4648.016830444336,
+ "y": 2344.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b11d681f.057f4",
- "6f790d02.3c377c"
+ "b23c99bf.cf2e8",
+ "c333a868.fb119"
]
]
},
{
- "id": "6f790d02.3c377c",
+ "id": "c333a868.fb119",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 4845.016830444336,
- "y": 2466.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 4853.016830444336,
+ "y": 2421.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "e6043cfa.36703"
+ "bd453b0b.71f93"
]
]
},
{
- "id": "be061b72.c7b818",
+ "id": "824c0ca3.93f64",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4974.633987426758,
- "y": 2715.0237579345703,
- "z": "294b5e8a.041612",
+ "x": 4982.633987426758,
+ "y": 2670.0237579345703,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "ce777f2e.3171a8"
+ "95206ee6.94dd"
]
]
},
{
- "id": "ce777f2e.3171a8",
+ "id": "95206ee6.94dd",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5132.633987426758,
- "y": 2715.0237579345703,
- "z": "294b5e8a.041612",
+ "x": 5140.633987426758,
+ "y": 2670.0237579345703,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "b697c93d.c44198"
+ "a1087d28.90e2f"
]
]
},
{
- "id": "b697c93d.c44198",
+ "id": "a1087d28.90e2f",
"type": "set",
"name": "set destination tunnel tp ip",
"xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",
"comments": "",
- "x": 5339.633987426758,
- "y": 2715.0237579345703,
- "z": "294b5e8a.041612",
+ "x": 5347.633987426758,
+ "y": 2670.0237579345703,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "530fa7ff.bc17d",
+ "id": "97206b42.8c742",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5020.016830444336,
- "y": 2385.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 5028.016830444336,
+ "y": 2340.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "5455e2bb.51abf4",
- "38fcf2b0.31bbc6"
+ "4cfed3d4.2e715c",
+ "b3c82e8a.c152c"
]
]
},
{
- "id": "38fcf2b0.31bbc6",
+ "id": "b3c82e8a.c152c",
"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.domainC.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 5228.016830444336,
- "y": 2392.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 5236.016830444336,
+ "y": 2347.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "46db257f.be5d5c",
- "10ef5dcf.987c42",
- "cdb4ea9.23d2198"
+ "c3765dd7.98e19",
+ "82480139.31c848",
+ "da19380a.5cc67"
]
]
},
{
- "id": "e6043cfa.36703",
+ "id": "bd453b0b.71f93",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5022.016830444336,
- "y": 2458.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 5030.016830444336,
+ "y": 2413.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "dba257b1.4bfa28"
+ "14471967.2bb00f"
]
]
},
{
- "id": "5455e2bb.51abf4",
+ "id": "4cfed3d4.2e715c",
"type": "set",
"name": "set esr-thirdparty-sdnc domainC id",
"xml": "<set>\n<parameter name='tmp.domainC.esr-thirdparty-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 5258.016830444336,
- "y": 2340.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 5266.016830444336,
+ "y": 2295.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "dba257b1.4bfa28",
+ "id": "14471967.2bb00f",
"type": "set",
"name": "set domainC ethernet layer network-id",
"xml": "<set>\n<parameter name='tmp.domainC.eth-network-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 5257.016830444336,
- "y": 2582.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 5265.016830444336,
+ "y": 2537.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "46db257f.be5d5c",
+ "id": "c3765dd7.98e19",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5438.016830444336,
- "y": 2383.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 5446.016830444336,
+ "y": 2338.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "40633d04.a1b504"
+ "eb76aab.05915d8"
]
]
},
{
- "id": "10ef5dcf.987c42",
+ "id": "82480139.31c848",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5430.016830444336,
- "y": 2438.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 5438.016830444336,
+ "y": 2393.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7af2b98b.8d665"
+ "3c8ef50f.dc9d5a"
]
]
},
{
- "id": "cdb4ea9.23d2198",
+ "id": "da19380a.5cc67",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5435.016830444336,
- "y": 2495.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 5443.016830444336,
+ "y": 2450.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f683ae7d.1eb048"
+ "11ed4dc4.069aca"
]
]
},
{
- "id": "f683ae7d.1eb048",
+ "id": "11ed4dc4.069aca",
"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": 5587.016830444336,
- "y": 2496.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 5595.016830444336,
+ "y": 2451.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "7af2b98b.8d665",
+ "id": "3c8ef50f.dc9d5a",
"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": 5598.016830444336,
- "y": 2441.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 5606.016830444336,
+ "y": 2396.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "40633d04.a1b504",
+ "id": "eb76aab.05915d8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5582.399154663086,
- "y": 2381.339126586914,
- "z": "294b5e8a.041612",
+ "x": 5590.399154663086,
+ "y": 2336.339126586914,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "8b20e4dc.c76628"
+ "57675f66.16eb5"
]
]
},
{
- "id": "8b20e4dc.c76628",
+ "id": "57675f66.16eb5",
"type": "set",
"name": "set controller domainC data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.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": 5797.016830444336,
- "y": 2377.6834564208984,
- "z": "294b5e8a.041612",
+ "x": 5805.016830444336,
+ "y": 2332.6834564208984,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "c989c621.8b708",
+ "id": "a78822a6.5321b",
"type": "switchNode",
"name": "switch secondary empty?",
"xml": "<switch test='`length($network-route-three) == 0`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 3310.683334350586,
- "y": 850.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 3318.683334350586,
+ "y": 805.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "c25ccae3.59498",
- "69b0287f.333378"
+ "ee3317c4.be6f98",
+ "785558d0.46aa7"
]
]
},
{
- "id": "c25ccae3.59498",
+ "id": "ee3317c4.be6f98",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3432.683364868164,
- "y": 795.6833648681641,
- "z": "294b5e8a.041612",
+ "x": 3440.683364868164,
+ "y": 750.6833648681641,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "18001e31.10fe62"
+ "b70329ff.3ba71"
]
]
},
{
- "id": "69b0287f.333378",
+ "id": "785558d0.46aa7",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3419.683364868164,
- "y": 904.6833648681641,
- "z": "294b5e8a.041612",
+ "x": 3427.683364868164,
+ "y": 859.6833648681641,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "643ae015.6b3ff8"
+ "e7d34a7a.6aac6"
]
]
},
{
- "id": "18001e31.10fe62",
+ "id": "b70329ff.3ba71",
"type": "set",
"name": "set hasSecondary false",
"xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",
"comments": "",
- "x": 3647.683334350586,
- "y": 632.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 3655.683334350586,
+ "y": 587.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "643ae015.6b3ff8",
+ "id": "e7d34a7a.6aac6",
"type": "set",
"name": "set hasSecondary true",
"xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",
"comments": "",
- "x": 3643.683334350586,
- "y": 676.6833343505859,
- "z": "294b5e8a.041612",
+ "x": 3651.683334350586,
+ "y": 631.6833343505859,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "25259a32.c04fe6",
+ "id": "3cc87f7.3864a",
"type": "switchNode",
"name": "switch $hasSecondary",
"xml": "<switch test='`$hasSecondary`'>\n",
"comments": "",
"outputs": 1,
- "x": 3840.683364868164,
- "y": 3576.683364868164,
- "z": "294b5e8a.041612",
+ "x": 3848.683364868164,
+ "y": 3531.683364868164,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "e17fd7c.5d8d2a8"
+ "f7171cc6.827928"
]
]
},
{
- "id": "e17fd7c.5d8d2a8",
+ "id": "f7171cc6.827928",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4031.683364868164,
- "y": 3580.683364868164,
- "z": "294b5e8a.041612",
+ "x": 4039.683364868164,
+ "y": 3535.683364868164,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "6f9d8ee6.40f9a8"
+ "27271b87.886184"
]
]
},
{
- "id": "6f9d8ee6.40f9a8",
+ "id": "27271b87.886184",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4158.683364868164,
- "y": 3579.683364868164,
- "z": "294b5e8a.041612",
+ "x": 4166.683364868164,
+ "y": 3534.683364868164,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "5d450f44.f186c8",
- "87679aab.884488"
+ "90e47ea0.ecee8",
+ "8a6c8ced.8f741"
]
]
},
{
- "id": "87679aab.884488",
+ "id": "8a6c8ced.8f741",
"type": "save",
"name": "save SECONDARY-ROOT UNI in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='type' value='secondary-root' />\n<parameter name='data-source' value='`$gfp`' />\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='type' value='secondary-root' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",
"comments": "",
"outputs": 1,
- "x": 4380.683364868164,
- "y": 3468.683364868164,
- "z": "294b5e8a.041612",
+ "x": 4388.683364868164,
+ "y": 3423.683364868164,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "88b89d66.20648",
+ "id": "a4c94b0b.1b4718",
"type": "set",
"name": "unset secondary related variables",
"xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n<parameter name='network-route-three' value=\"\" />\n<parameter name='tmp.aai.network-route-three.' value=\"\" />\n<parameter name='tmp.aai.network-route-C.' value=\"\" />\n",
"comments": "",
- "x": 3385.566665649414,
- "y": 508.56666564941406,
- "z": "294b5e8a.041612",
+ "x": 3393.566665649414,
+ "y": 463.56666564941406,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "5d450f44.f186c8",
+ "id": "90e47ea0.ecee8",
"type": "switchNode",
"name": "switch 2-ROOTS in same domain?",
"xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",
"comments": "",
"outputs": 1,
- "x": 4376.566665649414,
- "y": 3527.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4384.566665649414,
+ "y": 3482.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a8e3fac.bdef108",
- "d683cc3e.7534e8"
+ "61b6ba56.719bdc",
+ "226a53c4.28be4c"
]
]
},
{
- "id": "a8e3fac.bdef108",
+ "id": "61b6ba56.719bdc",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4586.566665649414,
- "y": 3504.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4594.566665649414,
+ "y": 3459.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "d7e8440b.3d707"
+ "3f2dca65.c993b6"
]
]
},
{
- "id": "d7e8440b.3d707",
+ "id": "3f2dca65.c993b6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4712.566665649414,
- "y": 3504.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4720.566665649414,
+ "y": 3459.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "23eff82f.a0dc88"
+ "812380f1.94aae8"
]
]
},
{
- "id": "a5367218.35d1e",
+ "id": "32cc56e4.b47402",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4717.566665649414,
- "y": 3553.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4725.566665649414,
+ "y": 3508.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "67e71008.eb1898",
- "df5e72dc.bc108",
- "728f0d90.8753cc",
- "8686c784.f837e"
+ "7de42311.cfc97c",
+ "94a4f684.655798",
+ "9102db37.03feb",
+ "168bc7a3.f57628"
]
]
},
{
- "id": "d683cc3e.7534e8",
+ "id": "226a53c4.28be4c",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4591.566665649414,
- "y": 3553.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4599.566665649414,
+ "y": 3508.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a5367218.35d1e"
+ "32cc56e4.b47402"
]
]
},
{
- "id": "23eff82f.a0dc88",
+ "id": "812380f1.94aae8",
"type": "save",
"name": "save connectivityB relationship to UNI-SECONDARY-ROOT, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 5040.566665649414,
- "y": 3501.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5048.566665649414,
+ "y": 3456.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "67e71008.eb1898",
+ "id": "7de42311.cfc97c",
"type": "execute",
"name": "execute UUID generator for connectivity domainC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainC-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4993.566665649414,
- "y": 3592.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5001.566665649414,
+ "y": 3547.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "df5e72dc.bc108",
+ "id": "94a4f684.655798",
"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-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!-- key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\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-domainC[$param-prefix-domainC_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='secondary-root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\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='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 4941.566665649414,
- "y": 3634.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4949.566665649414,
+ "y": 3589.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "728f0d90.8753cc",
+ "id": "9102db37.03feb",
"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-domainC-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-domainC-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": 5070.566665649414,
- "y": 3676.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5078.566665649414,
+ "y": 3631.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "41be2f96.b765f8",
+ "id": "3c0b7ceb.8c4ecc",
"type": "comment",
"name": "Create SECONDARY-ROOT connectivity",
"info": "",
"comments": "",
- "x": 4956.566665649414,
- "y": 3549.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4964.566665649414,
+ "y": 3504.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "8686c784.f837e",
+ "id": "168bc7a3.f57628",
"type": "save",
"name": "save connectivityC relationship to UNI-SECONDARY-ROOT, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 5048.566665649414,
- "y": 3724.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5056.566665649414,
+ "y": 3679.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "561c7038.198b5",
+ "id": "54d0b322.54c85c",
"type": "comment",
"name": "Create SECONDARY-ROOT UNI",
"info": "",
"comments": "",
- "x": 3868.566665649414,
- "y": 3527.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3876.566665649414,
+ "y": 3482.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "b87e18c5.0db5e8",
+ "id": "5fefabc6.f62f5c",
"type": "switchNode",
"name": "switch $hasSecondary",
"xml": "<switch test='`$hasSecondary`'>\n",
"comments": "",
"outputs": 1,
- "x": 3843.566665649414,
- "y": 4198.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3851.566665649414,
+ "y": 4153.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "be1f4e62.15aa38"
+ "b4ef06b7.1fe62"
]
]
},
{
- "id": "be1f4e62.15aa38",
+ "id": "b4ef06b7.1fe62",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4035.566665649414,
- "y": 4193.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4043.566665649414,
+ "y": 4148.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "a0659afe.abed3"
+ "815df3f1.7eb0f"
]
]
},
{
- "id": "a0659afe.abed3",
+ "id": "815df3f1.7eb0f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4164.566665649414,
- "y": 4193.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4172.566665649414,
+ "y": 4148.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "aacb47f4.be072"
+ "67264e9c.83602"
]
]
},
{
- "id": "aacb47f4.be072",
+ "id": "67264e9c.83602",
"type": "save",
"name": "save middle-man-conn relationship to UNI-SECONDARY-ROOT, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 4496.566665649414,
- "y": 4191.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4504.566665649414,
+ "y": 4146.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "88b90ca8.e250c",
+ "id": "dbd95dbb.cf097",
"type": "switchNode",
"name": "switch $hasSecondary",
"xml": "<switch test='`$hasSecondary`'>\n",
"comments": "",
"outputs": 1,
- "x": 3831.566665649414,
- "y": 4422.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3839.566665649414,
+ "y": 4377.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "d69507e0.d93c6"
+ "aef64578.f3199"
]
]
},
{
- "id": "d69507e0.d93c6",
+ "id": "aef64578.f3199",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4011.566665649414,
- "y": 4421.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4019.566665649414,
+ "y": 4376.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "280736a4.7aa0f2"
+ "9830e38b.25b19"
]
]
},
{
- "id": "280736a4.7aa0f2",
+ "id": "9830e38b.25b19",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4140.566665649414,
- "y": 4421.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4148.566665649414,
+ "y": 4376.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "ff5dea73.98b998"
+ "7d4e5c3a.fc6a0c"
]
]
},
{
- "id": "ff5dea73.98b998",
+ "id": "7d4e5c3a.fc6a0c",
"type": "switchNode",
"name": "switch 2-ROOTS in same domain?",
"xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",
"comments": "",
"outputs": 1,
- "x": 4358.449966430664,
- "y": 4420.449966430664,
- "z": "294b5e8a.041612",
+ "x": 4366.449966430664,
+ "y": 4375.449966430664,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "860e2e4b.61a0d8"
+ "1e59b518.b0bee3"
]
]
},
{
- "id": "860e2e4b.61a0d8",
+ "id": "1e59b518.b0bee3",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4573.449966430664,
- "y": 4420.449966430664,
- "z": "294b5e8a.041612",
+ "x": 4581.449966430664,
+ "y": 4375.449966430664,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "3ff2617b.840e76"
+ "40af1183.5043e"
]
]
},
{
- "id": "3ff2617b.840e76",
+ "id": "40af1183.5043e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4705.449966430664,
- "y": 4420.449966430664,
- "z": "294b5e8a.041612",
+ "x": 4713.449966430664,
+ "y": 4375.449966430664,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "96149cb2.d633c"
+ "9532f45e.79d66"
]
]
},
{
- "id": "96149cb2.d633c",
+ "id": "9532f45e.79d66",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-SECONDARY-ROOT, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-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-domainC-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 5069.566665649414,
- "y": 4419.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5077.566665649414,
+ "y": 4374.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "f0668881.7d6d6",
+ "id": "147222b6.72d4a5",
"type": "switchNode",
"name": "switch $hasSecondary",
"xml": "<switch test='`$hasSecondary`'>\n",
"comments": "",
"outputs": 1,
- "x": 3506.566665649414,
- "y": 4677.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3514.566665649414,
+ "y": 4632.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "2492336a.68b20c"
+ "adad110b.2a8008"
]
]
},
{
- "id": "2492336a.68b20c",
+ "id": "adad110b.2a8008",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3686.566665649414,
- "y": 4676.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3694.566665649414,
+ "y": 4631.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "f54b8794.2acdd"
+ "b9b6357c.7dc958"
]
]
},
{
- "id": "f54b8794.2acdd",
+ "id": "b9b6357c.7dc958",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3815.566665649414,
- "y": 4676.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3823.566665649414,
+ "y": 4631.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "c3a4f53e.304d78"
+ "883d53e4.0057c"
]
]
},
{
- "id": "84f57def.b063a",
+ "id": "8f1b73bf.36d998",
"type": "comment",
"name": "Update SECONDARY-ROOT UNI's bw",
"info": "",
"comments": "",
- "x": 3551.566665649414,
- "y": 4735.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3559.566665649414,
+ "y": 4690.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "cebbd661.72d4b8",
+ "id": "f9162d4b.d76cb",
"type": "save",
"name": "update S-ROOT UNI in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",
"comments": "",
"outputs": 1,
- "x": 4117.566665649414,
- "y": 4834.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4125.566665649414,
+ "y": 4789.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "c3a4f53e.304d78",
+ "id": "883d53e4.0057c",
"type": "save",
"name": "get S-root uni from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",
"comments": "",
"outputs": 1,
- "x": 3581.566665649414,
- "y": 4768.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3589.566665649414,
+ "y": 4723.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9d76d7ba.037948",
- "c6779daf.7d7a8",
- "62f3b274.175fb4"
+ "a081e505.7d3b8",
+ "370b0cd4.1d67f4",
+ "3bb246d3.6b0eb2"
]
]
},
{
- "id": "c6779daf.7d7a8",
+ "id": "370b0cd4.1d67f4",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3763.057632446289,
- "y": 4746.140884399414,
- "z": "294b5e8a.041612",
+ "x": 3771.057632446289,
+ "y": 4701.140884399414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "168b9f85.394368"
+ "21a39fa9.8cdbc"
]
]
},
{
- "id": "62f3b274.175fb4",
+ "id": "3bb246d3.6b0eb2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3751.566665649414,
- "y": 4785.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3759.566665649414,
+ "y": 4740.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "6d9d5aec.85fd34"
+ "3acf6433.2f683c"
]
]
},
{
- "id": "168b9f85.394368",
+ "id": "21a39fa9.8cdbc",
"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": 3922.629165649414,
- "y": 4744.426528930664,
- "z": "294b5e8a.041612",
+ "x": 3930.629165649414,
+ "y": 4699.426528930664,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "6d9d5aec.85fd34",
+ "id": "3acf6433.2f683c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3912.566665649414,
- "y": 4786.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3920.566665649414,
+ "y": 4741.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "1514bf18.105d59",
+ "id": "c435208e.fb61a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3914.566665649414,
- "y": 4830.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3922.566665649414,
+ "y": 4785.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "16719b54.ca935d",
- "cebbd661.72d4b8"
+ "6438caae.bf37d4",
+ "f9162d4b.d76cb"
]
]
},
{
- "id": "9d76d7ba.037948",
+ "id": "a081e505.7d3b8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3756.566665649414,
- "y": 4822.566665649414,
- "z": "294b5e8a.041612",
+ "x": 3764.566665649414,
+ "y": 4777.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "1514bf18.105d59"
+ "c435208e.fb61a8"
]
]
},
{
- "id": "16719b54.ca935d",
+ "id": "6438caae.bf37d4",
"type": "set",
"name": "set new bw",
"xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",
"comments": "",
- "x": 4075.566665649414,
- "y": 4762.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4083.566665649414,
+ "y": 4717.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "993866bb.1b2058",
+ "id": "3f5c519e.52fcfe",
"type": "comment",
"name": "populate connectivity-C variable in the context map",
"info": "",
"comments": "",
- "x": 4441.566665649414,
- "y": 5330.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4449.566665649414,
+ "y": 5285.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "f715ac9f.9b32b8",
+ "id": "128b476.c3c24b9",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 4596.566665649414,
- "y": 5371.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4604.566665649414,
+ "y": 5326.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "c2d27f90.576768",
+ "id": "ef90095c.80a978",
"type": "set",
"name": "set prop.connectivity-domainC-uuid",
"xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",
"comments": "",
- "x": 5039.566665649414,
- "y": 5419.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5047.566665649414,
+ "y": 5374.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "79d51ab0.5a125c",
+ "id": "b1e27ce1.629f7",
"type": "switchNode",
"name": "switch found-secondary-root-connectivity",
"xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4412.566665649414,
- "y": 5429.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4420.566665649414,
+ "y": 5384.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "fbb7e2aa.d5f0a8",
- "7443db3b.00f94c"
+ "6c93874b.ea46a8",
+ "a48ce649.08b9f8"
]
]
},
{
- "id": "fbb7e2aa.d5f0a8",
+ "id": "6c93874b.ea46a8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4648.566665649414,
- "y": 5413.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4656.566665649414,
+ "y": 5368.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "2a6159e8.abaf0e"
+ "2bac874c.98bee"
]
]
},
{
- "id": "2a6159e8.abaf0e",
+ "id": "2bac874c.98bee",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4792.566665649414,
- "y": 5415.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4800.566665649414,
+ "y": 5370.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "c2d27f90.576768",
- "5c6afd36.faf1f4",
- "86183466.e0956"
+ "ef90095c.80a978",
+ "900ede93.5cfd68",
+ "c9e4ee74.f1da1"
]
]
},
{
- "id": "7443db3b.00f94c",
+ "id": "a48ce649.08b9f8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4647.566665649414,
- "y": 5461.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4655.566665649414,
+ "y": 5416.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "5c6afd36.faf1f4",
+ "id": "900ede93.5cfd68",
"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/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\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": 5160.566665649414,
- "y": 5466.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5168.566665649414,
+ "y": 5421.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "86183466.e0956",
+ "id": "c9e4ee74.f1da1",
"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 = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 5042.233657836914,
- "y": 5551.650161743164,
- "z": "294b5e8a.041612",
+ "x": 5050.233657836914,
+ "y": 5506.650161743164,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "85909b06.96d1d8",
+ "id": "80a5d0bc.394668",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 5043.450454711914,
- "y": 5510.449966430664,
- "z": "294b5e8a.041612",
+ "x": 5051.450454711914,
+ "y": 5465.449966430664,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "d5d61aed.e9642",
+ "id": "7af1ce17.a2c558",
"type": "set",
"name": "set prop.connectivity-domainC-uuid",
"xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",
"comments": "",
- "x": 5574.566665649414,
- "y": 5898.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5582.566665649414,
+ "y": 5853.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "cfe4284f.245dc",
+ "id": "9c03eaae.aa875",
"type": "switchNode",
"name": "switch found-secondary-root-connectivity",
"xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4947.566665649414,
- "y": 5908.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4955.566665649414,
+ "y": 5863.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "67276eef.04fd3",
- "9ce9471a.def67"
+ "c8852cc.de0315",
+ "d3e42d04.fd0a28"
]
]
},
{
- "id": "67276eef.04fd3",
+ "id": "c8852cc.de0315",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5180.566665649414,
- "y": 5902.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5188.566665649414,
+ "y": 5857.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "7fd061d3.3dea5"
+ "3860ec82.4027f4"
]
]
},
{
- "id": "7fd061d3.3dea5",
+ "id": "3860ec82.4027f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5327.566665649414,
- "y": 5910.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5335.566665649414,
+ "y": 5865.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "d5d61aed.e9642",
- "f7e19ea0.d5ede",
- "ccb01b06.92e6a8"
+ "7af1ce17.a2c558",
+ "cf788720.b865d8",
+ "78c6b3da.3a0f94"
]
]
},
{
- "id": "9ce9471a.def67",
+ "id": "d3e42d04.fd0a28",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5181.566665649414,
- "y": 5952.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5189.566665649414,
+ "y": 5907.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "f7e19ea0.d5ede",
+ "id": "cf788720.b865d8",
"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/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\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": 5695.566665649414,
- "y": 5945.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5703.566665649414,
+ "y": 5900.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "ccb01b06.92e6a8",
+ "id": "78c6b3da.3a0f94",
"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 = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 5577.233657836914,
- "y": 6030.650161743164,
- "z": "294b5e8a.041612",
+ "x": 5585.233657836914,
+ "y": 5985.650161743164,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "e15ccbfd.b5904",
+ "id": "187aa522.975483",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 5578.450454711914,
- "y": 5989.449966430664,
- "z": "294b5e8a.041612",
+ "x": 5586.450454711914,
+ "y": 5944.449966430664,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "986cd5c9.02e9d",
+ "id": "a4cbceb2.4df788",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 5108.566665649414,
- "y": 5858.566665649414,
- "z": "294b5e8a.041612",
+ "x": 5116.566665649414,
+ "y": 5813.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "b4899b08.51e5b",
+ "id": "1eb398cf.3d4a57",
"type": "comment",
"name": "populate connectivity-C variable in the context map",
"info": "",
"comments": "",
- "x": 4942.566665649414,
- "y": 5819.566665649414,
- "z": "294b5e8a.041612",
+ "x": 4950.566665649414,
+ "y": 5774.566665649414,
+ "z": "c7b9cd35.bfac88",
"wires": []
},
{
- "id": "c617e6ee.8b983",
+ "id": "629500a0.f350c",
"type": "switchNode",
"name": "switch $hasSecondary",
"xml": "<switch test='`$hasSecondary`'>\n",
"comments": "",
"outputs": 1,
- "x": 3269.816665649414,
- "y": 6428.816665649414,
- "z": "294b5e8a.041612",
+ "x": 3277.816665649414,
+ "y": 6383.816665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9cb4bafc.51db",
- "31675b48.f480a4"
+ "9cad2425.bfa4",
+ "5e118a1d.622834"
]
]
},
{
- "id": "9cb4bafc.51db",
+ "id": "9cad2425.bfa4",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3460.816665649414,
- "y": 6432.816665649414,
- "z": "294b5e8a.041612",
+ "x": 3468.816665649414,
+ "y": 6387.816665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "4d6a56c7.6a325"
+ "eaa9d7ab.22184"
]
]
},
{
- "id": "4d6a56c7.6a325",
+ "id": "eaa9d7ab.22184",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3587.816665649414,
- "y": 6431.816665649414,
- "z": "294b5e8a.041612",
+ "x": 3595.816665649414,
+ "y": 6386.816665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "c5539a8b.106aa"
+ "517fe5d1.d6143c"
]
]
},
{
- "id": "31675b48.f480a4",
+ "id": "5e118a1d.622834",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3456.816665649414,
- "y": 6502.816665649414,
- "z": "294b5e8a.041612",
+ "x": 3464.816665649414,
+ "y": 6457.816665649414,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "8a9f9d03.ba9c7"
+ "3146887c.847d98"
]
]
},
{
- "id": "9f506842.a5d348",
+ "id": "9e160da7.86044",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate-w-Protection",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate-w-Protection' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 4006.316665649414,
- "y": 6501.900161743164,
- "z": "294b5e8a.041612",
+ "x": 4014.316665649414,
+ "y": 6456.900161743164,
+ "z": "c7b9cd35.bfac88",
"wires": [
[]
]
},
{
- "id": "8a9f9d03.ba9c7",
+ "id": "3146887c.847d98",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3590.316665649414,
- "y": 6504.900161743164,
- "z": "294b5e8a.041612",
+ "x": 3598.316665649414,
+ "y": 6459.900161743164,
+ "z": "c7b9cd35.bfac88",
"wires": [
[
- "9f506842.a5d348"
+ "9e160da7.86044"
]
]
}