aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.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-modify.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json8097
1 files changed, 5281 insertions, 2816 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json
index 2e4b6b66..19a9e993 100644
--- a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json
@@ -1,20 +1,20 @@
[
{
- "id": "781e35fa.f2e1d4",
+ "id": "2f28023e.39f0ce",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 173.88333129882812,
- "y": 149.88333129882812,
- "z": "1854297c.6f0f4f",
+ "x": 96.5,
+ "y": 107,
+ "z": "4138d8f7.da252",
"wires": [
[
- "9e11530a.17bcb"
+ "73cc7959.44f0a"
]
]
},
{
- "id": "9e11530a.17bcb",
+ "id": "73cc7959.44f0a",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,8076 +22,10541 @@
"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": 458.1690216064453,
- "y": 211.12143993377686,
- "z": "1854297c.6f0f4f",
+ "x": 380.7856903076172,
+ "y": 168.23810863494873,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2b94c108.46c67e"
+ "22ecaa15.62efee"
]
]
},
{
- "id": "2b94c108.46c67e",
+ "id": "22ecaa15.62efee",
"type": "method",
"name": "method cll-vnf-topology-operation-cll-modify",
"xml": "<method rpc='cll-vnf-topology-operation-cll-modify' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 464.3119354248047,
- "y": 295.88336181640625,
- "z": "1854297c.6f0f4f",
+ "x": 386.92860412597656,
+ "y": 253.00003051757812,
+ "z": "4138d8f7.da252",
"wires": [
[
- "fc45d9d.aa25928"
+ "c060beae.bc9e28"
]
]
},
{
- "id": "fc45d9d.aa25928",
+ "id": "c060beae.bc9e28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 813.8833312988281,
- "y": 354.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 736.5,
+ "y": 312,
+ "z": "4138d8f7.da252",
"wires": [
[
- "5f20119b.1c25f",
- "440015de.6e018c",
- "7415bdce.bb1424"
+ "915751c1.614528",
+ "36f6973a.34e678",
+ "493b4ec5.6de3"
]
]
},
{
- "id": "5f20119b.1c25f",
+ "id": "915751c1.614528",
"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": 1115.2168273925781,
- "y": 625.8136291503906,
- "z": "1854297c.6f0f4f",
+ "x": 1037.83349609375,
+ "y": 582.9302978515625,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "440015de.6e018c",
+ "id": "36f6973a.34e678",
"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": 1136.6452941894531,
- "y": 328.2166442871094,
- "z": "1854297c.6f0f4f",
+ "x": 1059.261962890625,
+ "y": 285.33331298828125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "12c8110b.ec9bd7",
- "bbd39d34.8832e",
- "23fc32e8.f22086"
+ "488c3b3e.f19244",
+ "775f6bb9.6a72cc",
+ "cd7c45c1.b6f318"
]
]
},
{
- "id": "12c8110b.ec9bd7",
+ "id": "488c3b3e.f19244",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1361.6452941894531,
- "y": 186.21664428710938,
- "z": "1854297c.6f0f4f",
+ "x": 1284.261962890625,
+ "y": 143.33331298828125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "61f16e51.c24158"
+ "86fe6a1f.5037f8"
]
]
},
{
- "id": "bbd39d34.8832e",
+ "id": "775f6bb9.6a72cc",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1357.1362609863281,
- "y": 255.79067993164062,
- "z": "1854297c.6f0f4f",
+ "x": 1279.7529296875,
+ "y": 212.9073486328125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "47248fa2.17d9d"
+ "de07150f.9aa728"
]
]
},
{
- "id": "23fc32e8.f22086",
+ "id": "cd7c45c1.b6f318",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1345.6452941894531,
- "y": 302.2166442871094,
- "z": "1854297c.6f0f4f",
+ "x": 1268.261962890625,
+ "y": 259.33331298828125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "cdbbe291.f3553"
+ "45b0306e.39dc08"
]
]
},
{
- "id": "493ce64.5d5d418",
+ "id": "354c5c1b.22efdc",
"type": "comment",
"name": "new for TransportSlicing",
"info": "",
"comments": "",
- "x": 1115.6452941894531,
- "y": 216.21664428710938,
- "z": "1854297c.6f0f4f",
+ "x": 1038.261962890625,
+ "y": 173.33331298828125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "7415bdce.bb1424",
+ "id": "493b4ec5.6de3",
"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": 1103.6452941894531,
- "y": 268.2166442871094,
- "z": "1854297c.6f0f4f",
+ "x": 1026.261962890625,
+ "y": 225.33331298828125,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "61f16e51.c24158",
+ "id": "86fe6a1f.5037f8",
"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": 1601.8833312988281,
- "y": 182.88333129882812,
- "z": "1854297c.6f0f4f",
+ "x": 1524.5,
+ "y": 140,
+ "z": "4138d8f7.da252",
"wires": [
[
- "58e97c67.87accc",
- "d2e64d43.49ac68"
+ "ee0543f9.1cf788",
+ "5497352b.e1aeec"
]
]
},
{
- "id": "47248fa2.17d9d",
+ "id": "de07150f.9aa728",
"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": 1511.9457092285156,
- "y": 258.74310302734375,
- "z": "1854297c.6f0f4f",
+ "x": 1434.5623779296875,
+ "y": 215.85977172851562,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "cdbbe291.f3553",
+ "id": "45b0306e.39dc08",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1515.8833312988281,
- "y": 302.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 1438.5,
+ "y": 260,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "58e97c67.87accc",
+ "id": "ee0543f9.1cf788",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1806.8833312988281,
- "y": 219.88333129882812,
- "z": "1854297c.6f0f4f",
+ "x": 1729.5,
+ "y": 177,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c54a8c68.c345e"
+ "6345f4d0.12f85c"
]
]
},
{
- "id": "d2e64d43.49ac68",
+ "id": "5497352b.e1aeec",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1816.8833312988281,
- "y": 146.88333129882812,
- "z": "1854297c.6f0f4f",
+ "x": 1739.5,
+ "y": 104,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "c54a8c68.c345e",
+ "id": "6345f4d0.12f85c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1799.8833312988281,
- "y": 294.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 1722.5,
+ "y": 252,
+ "z": "4138d8f7.da252",
"wires": [
[
- "27adf24c.af1566",
- "31a766ce.e0455a",
- "7436fd76.690054",
- "2b9d3039.23a428",
- "2f2ed9c0.e0663e"
+ "c2cf8029.375a4",
+ "3a106a22.349b86",
+ "f24d529e.b55f9",
+ "26407648.4cfd4a",
+ "5e06fc8.b063184"
]
]
},
{
- "id": "d2a449e8.f07b58",
+ "id": "34fb97ab.b3686",
"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": 2285.883331298828,
- "y": 345.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 2208.5,
+ "y": 303,
+ "z": "4138d8f7.da252",
"wires": [
[
- "41c867c6.b55cd8",
- "84c1b468.c04558",
- "621effb3.a9e918"
+ "4a2e58a2.751648",
+ "c91e93c5.362468",
+ "ad2e905e.658598"
]
]
},
{
- "id": "41c867c6.b55cd8",
+ "id": "4a2e58a2.751648",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2501.883331298828,
- "y": 412.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 2424.5,
+ "y": 370,
+ "z": "4138d8f7.da252",
"wires": [
[
- "821dc5ef.6d3aa8"
+ "2d931b81.0000fc"
]
]
},
{
- "id": "84c1b468.c04558",
+ "id": "c91e93c5.362468",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2502.374298095703,
- "y": 312.4573059082031,
- "z": "1854297c.6f0f4f",
+ "x": 2424.990966796875,
+ "y": 269.573974609375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "4a81091b.110a38"
+ "2c737e52.6b21f2"
]
]
},
{
- "id": "621effb3.a9e918",
+ "id": "ad2e905e.658598",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2497.883331298828,
- "y": 361.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 2420.5,
+ "y": 319,
+ "z": "4138d8f7.da252",
"wires": [
[
- "6269ae05.e67ee8"
+ "81005112.39dbe"
]
]
},
{
- "id": "27adf24c.af1566",
+ "id": "c2cf8029.375a4",
"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": 2002.8833312988281,
- "y": 326.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 1925.5,
+ "y": 284,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2c28c5a4.c9fc4a",
- "d2a449e8.f07b58",
- "42097510.f58b64",
- "7a55e6a1.70e4b"
+ "9843a.b676f3c68",
+ "34fb97ab.b3686",
+ "cf6d7172.69b4b8",
+ "326038f4.f291a"
]
]
},
{
- "id": "2c28c5a4.c9fc4a",
+ "id": "9843a.b676f3c68",
"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": 2282.883331298828,
- "y": 264.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 2205.5,
+ "y": 222,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "2b9d3039.23a428",
+ "id": "26407648.4cfd4a",
"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": 1976.8833312988281,
- "y": 276.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 1899.5,
+ "y": 234,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "31a766ce.e0455a",
+ "id": "3a106a22.349b86",
"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/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",
"comments": "",
"outputs": 1,
- "x": 2019.8833312988281,
- "y": 135.88333129882812,
- "z": "1854297c.6f0f4f",
+ "x": 1942.5,
+ "y": 93,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "7436fd76.690054",
+ "id": "f24d529e.b55f9",
"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/v24/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",
"comments": "",
"outputs": 1,
- "x": 2031.8833312988281,
- "y": 176.88333129882812,
- "z": "1854297c.6f0f4f",
+ "x": 1954.5,
+ "y": 134,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "e57021b1.8566f8",
+ "id": "a7bf0e61.b8215",
"type": "comment",
"name": "The following two nodes are for PCE",
"info": "",
"comments": "",
- "x": 2056.883331298828,
- "y": 88.88333129882812,
- "z": "1854297c.6f0f4f",
+ "x": 1979.5,
+ "y": 46,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "f75cee20.f52e5",
+ "id": "68130b3.2f48af4",
"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": 1976.8833312988281,
- "y": 222.88333129882812,
- "z": "1854297c.6f0f4f",
+ "x": 1899.5,
+ "y": 180,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "4a81091b.110a38",
+ "id": "2c737e52.6b21f2",
"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": 2680.883331298828,
- "y": 314.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 2603.5,
+ "y": 272,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "6269ae05.e67ee8",
+ "id": "81005112.39dbe",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2680.820831298828,
- "y": 364.0235900878906,
- "z": "1854297c.6f0f4f",
+ "x": 2603.4375,
+ "y": 321.1402587890625,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "821dc5ef.6d3aa8",
+ "id": "2d931b81.0000fc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2682.820831298828,
- "y": 415.0235900878906,
- "z": "1854297c.6f0f4f",
+ "x": 2605.4375,
+ "y": 372.1402587890625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2337e3a2.faa61c"
+ "4511b10b.b4e2e8"
]
]
},
{
- "id": "2337e3a2.faa61c",
+ "id": "4511b10b.b4e2e8",
"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": 2975.820831298828,
- "y": 362.0235900878906,
- "z": "1854297c.6f0f4f",
+ "x": 2940.4375,
+ "y": 141.14027404785156,
+ "z": "4138d8f7.da252",
"wires": [
[
- "cccd155c.90e07",
- "b9a7ac6e.7fea5",
- "73057b22.08e1dc"
+ "9fb16699.1235d",
+ "da567395.79b6d8",
+ "8ed0fbe8.03e31"
]
]
},
{
- "id": "b9a7ac6e.7fea5",
+ "id": "da567395.79b6d8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3249.311798095703,
- "y": 254.59756469726562,
- "z": "1854297c.6f0f4f",
+ "x": 3213.928466796875,
+ "y": 33.71424865722656,
+ "z": "4138d8f7.da252",
"wires": [
[
- "e5cee345.1eaae"
+ "1dbb6caf.82e0eb"
]
]
},
{
- "id": "e5cee345.1eaae",
+ "id": "1dbb6caf.82e0eb",
"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": 3426.883331298828,
- "y": 254.88333129882812,
- "z": "1854297c.6f0f4f",
+ "x": 3391.5,
+ "y": 34.00001525878906,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "73057b22.08e1dc",
+ "id": "8ed0fbe8.03e31",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3244.820831298828,
- "y": 304.0235900878906,
- "z": "1854297c.6f0f4f",
+ "x": 3209.4375,
+ "y": 83.14027404785156,
+ "z": "4138d8f7.da252",
"wires": [
[
- "f16a75f9.e23598"
+ "1a97687b.99c02"
]
]
},
{
- "id": "f16a75f9.e23598",
+ "id": "1a97687b.99c02",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3426.820831298828,
- "y": 304.0235900878906,
- "z": "1854297c.6f0f4f",
+ "x": 3391.4375,
+ "y": 83.14027404785156,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "cccd155c.90e07",
+ "id": "9fb16699.1235d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3248.820831298828,
- "y": 355.0235900878906,
- "z": "1854297c.6f0f4f",
+ "x": 3213.4375,
+ "y": 134.14027404785156,
+ "z": "4138d8f7.da252",
"wires": [
[
- "e05a51c3.eb7208"
+ "470c276f.ad2f08"
]
]
},
{
- "id": "e05a51c3.eb7208",
+ "id": "470c276f.ad2f08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3428.820831298828,
- "y": 355.0235900878906,
- "z": "1854297c.6f0f4f",
+ "x": 3393.4375,
+ "y": 134.14027404785156,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a185fcaa.c01b7"
+ "ece8c0f8.d3abf8"
]
]
},
{
- "id": "a185fcaa.c01b7",
+ "id": "ece8c0f8.d3abf8",
"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": 2994.883331298828,
- "y": 489.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 2959.5,
+ "y": 269.00001525878906,
+ "z": "4138d8f7.da252",
"wires": [
[
- "64dc3552.29da24",
- "1cf4e379.2b6355"
+ "dba346c3.39c8a8",
+ "4ccdd4a0.9c665c"
]
]
},
{
- "id": "1cf4e379.2b6355",
+ "id": "4ccdd4a0.9c665c",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3304.883331298828,
- "y": 496.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3269.5,
+ "y": 276.00001525878906,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "64dc3552.29da24",
+ "id": "dba346c3.39c8a8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3303.883331298828,
- "y": 550.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3268.5,
+ "y": 330.00001525878906,
+ "z": "4138d8f7.da252",
"wires": [
[
- "49cf9d82.f3816c"
+ "e2cad6e.ad95028"
]
]
},
{
- "id": "61811a9.92ccce4",
+ "id": "fde9905b.0e0dc",
"type": "outcome",
"name": "network-policy",
"xml": "<outcome value='network-policy'>\n",
"comments": "",
"outputs": 1,
- "x": 4048.883331298828,
- "y": 504.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4013.5,
+ "y": 284.00001525878906,
+ "z": "4138d8f7.da252",
"wires": [
[
- "5422df0.13119a"
+ "be0ed66c.68b118"
]
]
},
{
- "id": "5422df0.13119a",
+ "id": "be0ed66c.68b118",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4225.883209228516,
- "y": 497.8832092285156,
- "z": "1854297c.6f0f4f",
+ "x": 4190.4998779296875,
+ "y": 276.99989318847656,
+ "z": "4138d8f7.da252",
"wires": [
[
- "cc385253.b8fbd",
- "2cd49ffd.326448"
+ "1aebcc98.e81703",
+ "a36c8474.3e9148"
]
]
},
{
- "id": "49cf9d82.f3816c",
+ "id": "e2cad6e.ad95028",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3467.883331298828,
- "y": 476.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3432.5,
+ "y": 256.00001525878906,
+ "z": "4138d8f7.da252",
"wires": [
[
- "f69edc6a.996158",
- "7412251.16d085c"
+ "f52b5162.d3155",
+ "28c7d65.67fb0aa"
]
]
},
{
- "id": "f69edc6a.996158",
+ "id": "f52b5162.d3155",
"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": 3748.883331298828,
- "y": 432.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3713.5,
+ "y": 212.00001525878906,
+ "z": "4138d8f7.da252",
"wires": [
[
- "ed2a485c.4e373"
+ "40678a93.0b11fc"
]
]
},
{
- "id": "ed2a485c.4e373",
+ "id": "40678a93.0b11fc",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4010.883331298828,
- "y": 432.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3975.5,
+ "y": 212.00001525878906,
+ "z": "4138d8f7.da252",
"wires": [
[
- "61811a9.92ccce4"
+ "fde9905b.0e0dc"
]
]
},
{
- "id": "cc385253.b8fbd",
+ "id": "1aebcc98.e81703",
"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": 4468.883209228516,
- "y": 454.8832092285156,
- "z": "1854297c.6f0f4f",
+ "x": 4433.4998779296875,
+ "y": 233.99989318847656,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "2cd49ffd.326448",
+ "id": "a36c8474.3e9148",
"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": 4457.883209228516,
- "y": 509.8832092285156,
- "z": "1854297c.6f0f4f",
+ "x": 4422.4998779296875,
+ "y": 288.99989318847656,
+ "z": "4138d8f7.da252",
"wires": [
[
- "9972e623.c70578",
- "34812087.cb8a98",
- "1b373493.bb5393"
+ "f4703396.8f997",
+ "c4863aea.39d3c",
+ "3f105248.ebf0a6"
]
]
},
{
- "id": "1b373493.bb5393",
+ "id": "3f105248.ebf0a6",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4710.883331298828,
- "y": 395.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4753.5,
+ "y": 197,
+ "z": "4138d8f7.da252",
"wires": [
[
- "f7f40cf5.3f9508"
+ "f39e3f38.4d2868"
]
]
},
{
- "id": "f7f40cf5.3f9508",
+ "id": "f39e3f38.4d2868",
"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": 4859.454864501953,
- "y": 396.1690979003906,
- "z": "1854297c.6f0f4f",
+ "x": 4902.071533203125,
+ "y": 197.2857666015625,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "a22797f6.37b0d8",
+ "id": "9b475b7a.781198",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4858.392364501953,
- "y": 440.3093566894531,
- "z": "1854297c.6f0f4f",
+ "x": 4901.009033203125,
+ "y": 241.426025390625,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "34812087.cb8a98",
+ "id": "c4863aea.39d3c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4699.392364501953,
- "y": 440.3093566894531,
- "z": "1854297c.6f0f4f",
+ "x": 4742.009033203125,
+ "y": 241.426025390625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a22797f6.37b0d8"
+ "9b475b7a.781198"
]
]
},
{
- "id": "9972e623.c70578",
+ "id": "f4703396.8f997",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4706.392364501953,
- "y": 519.3093566894531,
- "z": "1854297c.6f0f4f",
+ "x": 4749.009033203125,
+ "y": 320.426025390625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2ecc1ca4.45238c"
+ "a4728a38.a45e8"
]
]
},
{
- "id": "2ecc1ca4.45238c",
+ "id": "a4728a38.a45e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4845.392364501953,
- "y": 519.3093566894531,
- "z": "1854297c.6f0f4f",
+ "x": 4888.009033203125,
+ "y": 320.426025390625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "4189f313.1a9cd4",
- "b78697ee.5ce55"
+ "6805f17a.2a0698",
+ "a9ae4e95.32ef88"
]
]
},
{
- "id": "4189f313.1a9cd4",
+ "id": "6805f17a.2a0698",
"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": 5050.883331298828,
- "y": 516.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 5093.5,
+ "y": 318,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "b78697ee.5ce55",
+ "id": "a9ae4e95.32ef88",
"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": 5049.883331298828,
- "y": 562.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 5092.5,
+ "y": 364,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "7412251.16d085c",
+ "id": "28c7d65.67fb0aa",
"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": 3565.883331298828,
- "y": 548.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3530.5,
+ "y": 328.00001525878906,
+ "z": "4138d8f7.da252",
"wires": [
[
- "6604e9c7.0c6c6"
+ "ebdf975.aa03968"
]
]
},
{
- "id": "6604e9c7.0c6c6",
+ "id": "ebdf975.aa03968",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3845.883331298828,
- "y": 548.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3810.5,
+ "y": 328.00001525878906,
+ "z": "4138d8f7.da252",
"wires": [
[
- "85f44348.40e85"
+ "3f67ae4e.a2076a"
]
]
},
{
- "id": "85f44348.40e85",
+ "id": "3f67ae4e.a2076a",
"type": "outcome",
"name": "logical-link",
"xml": "<outcome value='logical-link'>\n",
"comments": "",
"outputs": 1,
- "x": 2258.8834533691406,
- "y": 801.8834533691406,
- "z": "1854297c.6f0f4f",
+ "x": 2181.5001220703125,
+ "y": 759.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "4b9c1fcb.91dc9"
+ "f83af2f7.dfb288"
]
]
},
{
- "id": "4b9c1fcb.91dc9",
+ "id": "f83af2f7.dfb288",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2435.883331298828,
- "y": 794.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 2358.5,
+ "y": 752,
+ "z": "4138d8f7.da252",
"wires": [
[
- "27f44efc.6f6d32",
- "c7edfd64.b3753"
+ "a0742463.c2c6f8",
+ "25034b30.dd6634"
]
]
},
{
- "id": "27f44efc.6f6d32",
+ "id": "a0742463.c2c6f8",
"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": 2678.883331298828,
- "y": 751.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 2601.5,
+ "y": 709,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "c7edfd64.b3753",
+ "id": "25034b30.dd6634",
"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": 2667.883331298828,
- "y": 806.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 2590.5,
+ "y": 764,
+ "z": "4138d8f7.da252",
"wires": [
[
- "24ace19f.75b966",
- "ac0fada7.2237a",
- "7d46d2c9.4b5f9c"
+ "b3267bc2.0ab17",
+ "e3342c37.4e1e3",
+ "349e46c.d16cb3a"
]
]
},
{
- "id": "24ace19f.75b966",
+ "id": "b3267bc2.0ab17",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2959.374298095703,
- "y": 785.4573059082031,
- "z": "1854297c.6f0f4f",
+ "x": 2881.990966796875,
+ "y": 742.573974609375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d7ebe78c.3ec37"
+ "504883f4.bc132c"
]
]
},
{
- "id": "ac0fada7.2237a",
+ "id": "e3342c37.4e1e3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2947.883331298828,
- "y": 829.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 2870.5,
+ "y": 787,
+ "z": "4138d8f7.da252",
"wires": [
[
- "77d529f.fb28458"
+ "6ff791fd.bff34"
]
]
},
{
- "id": "d7ebe78c.3ec37",
+ "id": "504883f4.bc132c",
"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": 3107.945831298828,
- "y": 785.7430725097656,
- "z": "1854297c.6f0f4f",
+ "x": 3030.5625,
+ "y": 742.8597412109375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "77d529f.fb28458",
+ "id": "6ff791fd.bff34",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3106.883331298828,
- "y": 829.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3029.5,
+ "y": 787,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "7d46d2c9.4b5f9c",
+ "id": "349e46c.d16cb3a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2954.883331298828,
- "y": 908.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 2877.5,
+ "y": 866,
+ "z": "4138d8f7.da252",
"wires": [
[
- "265410a7.36ec88"
+ "947e25fa.d00b28"
]
]
},
{
- "id": "265410a7.36ec88",
+ "id": "947e25fa.d00b28",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3093.883331298828,
- "y": 908.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3016.5,
+ "y": 866,
+ "z": "4138d8f7.da252",
"wires": [
[
- "98c1de20.9fd92",
- "22cf748c.dba294",
- "6d145189.478b8",
- "8cce98e.0c8f3e8",
- "d4009f69.0bc89",
- "9190bf27.d61b08",
- "1fa44b37.7a7c65",
- "1ebd0160.929687",
- "f7e98987.293918",
- "6b01ec04.e8e8dc",
- "ce90c6ec.193398",
- "323cec2c.88d45c",
- "fba2883c.72d2",
- "abd6e7f0.9745e8"
+ "b5aabe11.88e5f",
+ "8b8aaeb1.46c568",
+ "32905edb.461e7a",
+ "2f0ef70c.178628",
+ "6eaf37e0.1fb3a8",
+ "1abb3e71.7e1362",
+ "29e42279.9aaa7e",
+ "363ba934.edbd4e",
+ "ec67f0f.b56539",
+ "631e76e1.71afc",
+ "b17f4ff2.75d93",
+ "8048035e.723ef",
+ "d590aba5.94aa48",
+ "44b9c5d0.dda044",
+ "46e10049.e35348",
+ "f55201f.0be188",
+ "6834572.668ee28",
+ "fa7f428c.6d6b2",
+ "8c5d257.6a579d8"
]
]
},
{
- "id": "ec511c6.7493e6",
+ "id": "479d6fca.4b7c8",
"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": 3407.883331298828,
- "y": 714.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3328.5,
+ "y": 416,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "98c1de20.9fd92",
+ "id": "b5aabe11.88e5f",
"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": 3388.883331298828,
- "y": 764.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3315.4998779296875,
+ "y": 508,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "abd6e7f0.9745e8",
+ "id": "44b9c5d0.dda044",
"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": 3345.883331298828,
- "y": 809.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3272.4998779296875,
+ "y": 553,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "22cf748c.dba294",
+ "id": "8b8aaeb1.46c568",
"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": 3320.883331298828,
- "y": 872.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3247.4998779296875,
+ "y": 616,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "6d145189.478b8",
+ "id": "32905edb.461e7a",
"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": 3321.883331298828,
- "y": 927.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3248.4998779296875,
+ "y": 671,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "8cce98e.0c8f3e8",
+ "id": "2f0ef70c.178628",
"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": 3337.883331298828,
- "y": 975.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3264.4998779296875,
+ "y": 719,
+ "z": "4138d8f7.da252",
"wires": [
[
- "909d17c4.8ebc6",
- "f19af18e.9ab1b8",
- "7d20c22a.cc52a4"
+ "99eab0f2.3508c",
+ "1b8f4bea.ec5e94",
+ "fc9653f8.4449d"
]
]
},
{
- "id": "d4009f69.0bc89",
+ "id": "6eaf37e0.1fb3a8",
"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": 3326.883331298828,
- "y": 1062.8832092285156,
- "z": "1854297c.6f0f4f",
+ "x": 3259.5,
+ "y": 785.9998779296875,
+ "z": "4138d8f7.da252",
"wires": [
[
- "9444273f.3b6308",
- "2c5b38f8.57c148",
- "b9db8112.11ed58"
+ "e805b604.ab84e",
+ "a86f3b5b.e29e1",
+ "cbb70d3d.0ef6a"
]
]
},
{
- "id": "909d17c4.8ebc6",
+ "id": "99eab0f2.3508c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3538.883331298828,
- "y": 859.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3505.5,
+ "y": 547,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c14b1c12.22174"
+ "d6e995cd.85fc"
]
]
},
{
- "id": "f19af18e.9ab1b8",
+ "id": "1b8f4bea.ec5e94",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3534.392364501953,
- "y": 909.3093566894531,
- "z": "1854297c.6f0f4f",
+ "x": 3501.009033203125,
+ "y": 596.426025390625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2b40f083.4de84"
+ "e5161935.335138"
]
]
},
{
- "id": "7d20c22a.cc52a4",
+ "id": "fc9653f8.4449d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3538.392364501953,
- "y": 962.3093566894531,
- "z": "1854297c.6f0f4f",
+ "x": 3505.009033203125,
+ "y": 649.426025390625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "aaa35683.7d2c38"
+ "867b315e.a11f4"
]
]
},
{
- "id": "c14b1c12.22174",
+ "id": "d6e995cd.85fc",
"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": 3687.454864501953,
- "y": 859.1690979003906,
- "z": "1854297c.6f0f4f",
+ "x": 3654.071533203125,
+ "y": 546.2857666015625,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "2b40f083.4de84",
+ "id": "e5161935.335138",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3677.392364501953,
- "y": 909.3093566894531,
- "z": "1854297c.6f0f4f",
+ "x": 3644.009033203125,
+ "y": 596.426025390625,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "9444273f.3b6308",
+ "id": "e805b604.ab84e",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3549.883331298828,
- "y": 1032.8832092285156,
- "z": "1854297c.6f0f4f",
+ "x": 3509.5,
+ "y": 702.9998779296875,
+ "z": "4138d8f7.da252",
"wires": [
[
- "106ff1ef.63ffd6"
+ "f25db7d5.d2a2a"
]
]
},
{
- "id": "2c5b38f8.57c148",
+ "id": "a86f3b5b.e29e1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3545.392364501953,
- "y": 1082.3092346191406,
- "z": "1854297c.6f0f4f",
+ "x": 3505.009033203125,
+ "y": 752.4259033203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "ce83157c.4b6778"
+ "86e45032.893578"
]
]
},
{
- "id": "b9db8112.11ed58",
+ "id": "cbb70d3d.0ef6a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3546.392364501953,
- "y": 1135.3092346191406,
- "z": "1854297c.6f0f4f",
+ "x": 3488.009033203125,
+ "y": 800.4259033203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a56ebadb.ee398"
+ "20619d71.889cda"
]
]
},
{
- "id": "106ff1ef.63ffd6",
+ "id": "f25db7d5.d2a2a",
"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": 3698.454864501953,
- "y": 1032.1689758300781,
- "z": "1854297c.6f0f4f",
+ "x": 3658.071533203125,
+ "y": 702.28564453125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "ce83157c.4b6778",
+ "id": "86e45032.893578",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3688.392364501953,
- "y": 1082.3092346191406,
- "z": "1854297c.6f0f4f",
+ "x": 3648.009033203125,
+ "y": 752.4259033203125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "aaa35683.7d2c38",
+ "id": "867b315e.a11f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3699.883331298828,
- "y": 961.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3666.5,
+ "y": 649,
+ "z": "4138d8f7.da252",
"wires": [
[
- "bc98fef2.b2548"
+ "2bd95045.b71158"
]
]
},
{
- "id": "a56ebadb.ee398",
+ "id": "20619d71.889cda",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3699.883331298828,
- "y": 1134.8832092285156,
- "z": "1854297c.6f0f4f",
+ "x": 3641.5,
+ "y": 799.9998779296875,
+ "z": "4138d8f7.da252",
"wires": [
[
- "80324f63.fa516"
+ "41de01b2.960a08"
]
]
},
{
- "id": "bc98fef2.b2548",
+ "id": "2bd95045.b71158",
"type": "switchNode",
"name": "switch nr type",
"xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",
"comments": "",
"outputs": 1,
- "x": 3871.883331298828,
- "y": 961.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3838.5,
+ "y": 649,
+ "z": "4138d8f7.da252",
"wires": [
[
- "49900721.03dea8",
- "7a97b419.9c3254"
+ "6f8555c6.ec1a0c",
+ "994a0acf.d3aed8",
+ "26a90c3.2a56674"
]
]
},
{
- "id": "80324f63.fa516",
+ "id": "41de01b2.960a08",
"type": "switchNode",
"name": "switch nr type",
"xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",
"comments": "",
"outputs": 1,
- "x": 3872.883331298828,
- "y": 1134.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3833.5,
+ "y": 734,
+ "z": "4138d8f7.da252",
"wires": [
[
- "9dd66c65.827358",
- "1559fb7e.bddfc5"
+ "4b5b1a17.b9df6c",
+ "d7a475f3.ea12c",
+ "16154f9d.14a3b"
]
]
},
{
- "id": "49900721.03dea8",
+ "id": "6f8555c6.ec1a0c",
"type": "outcome",
"name": "ROOT",
"xml": "<outcome value='ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4047.883331298828,
- "y": 940.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3999.49951171875,
+ "y": 385,
+ "z": "4138d8f7.da252",
"wires": [
[
- "9c76efc2.c7f458"
+ "62760f41.c93a2"
]
]
},
{
- "id": "7a97b419.9c3254",
+ "id": "994a0acf.d3aed8",
"type": "outcome",
"name": "LEAF",
"xml": "<outcome value='LEAF'>\n",
"comments": "",
"outputs": 1,
- "x": 4049.883331298828,
- "y": 994.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4001.49951171875,
+ "y": 439,
+ "z": "4138d8f7.da252",
"wires": [
[
- "36b200ce.3626f"
+ "273e3fee.2bc13"
]
]
},
{
- "id": "9dd66c65.827358",
+ "id": "4b5b1a17.b9df6c",
"type": "outcome",
"name": "ROOT",
"xml": "<outcome value='ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4048.883331298828,
- "y": 1104.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4014.499267578125,
+ "y": 607,
+ "z": "4138d8f7.da252",
"wires": [
[
- "f7a8d104.b779c8"
+ "244a1c4c.c64574"
]
]
},
{
- "id": "1559fb7e.bddfc5",
+ "id": "d7a475f3.ea12c",
"type": "outcome",
"name": "LEAF",
"xml": "<outcome value='LEAF'>\n",
"comments": "",
"outputs": 1,
- "x": 4050.883331298828,
- "y": 1158.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4016.499267578125,
+ "y": 661,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2781339a.2c9d8c"
+ "f48105e4.f03428"
]
]
},
{
- "id": "a64deb38.79c21",
+ "id": "92f3b868.34ce6",
"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": 4357.883331298828,
- "y": 892.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4309.49951171875,
+ "y": 337,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "d00069b9.08211",
+ "id": "b6002239.68b828",
"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": 4350.883331298828,
- "y": 990.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4302.49951171875,
+ "y": 435,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "e2a3248.b77d4d8",
+ "id": "55137534.cd97cc",
"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": 4350.883331298828,
- "y": 1077.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4378.499267578125,
+ "y": 634,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "69fc971e.d1c948",
+ "id": "ba173e3c.d3cf48",
"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": 4354.883331298828,
- "y": 1170.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4382.499267578125,
+ "y": 727,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "79a28b11.e62b74",
+ "id": "4d8d5caa.cdd3ac",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3581.883331298828,
- "y": 1579.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3460.5,
+ "y": 1150,
+ "z": "4138d8f7.da252",
"wires": [
[
- "4a634c2c.1a75ec"
+ "6c40f2a8.47da04"
]
]
},
{
- "id": "940be839.4c9f2",
+ "id": "f63967f8.5c1d2",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3591.374298095703,
- "y": 1622.4573669433594,
- "z": "1854297c.6f0f4f",
+ "x": 3469.990966796875,
+ "y": 1192.5740356445312,
+ "z": "4138d8f7.da252",
"wires": [
[
- "87a8481c.69d658"
+ "cba887b8.3ba25"
]
]
},
{
- "id": "a420af0c.05d778",
+ "id": "f4c1be52.25da4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3579.883331298828,
- "y": 1668.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3458.5,
+ "y": 1239,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2583b063.d99b38"
+ "43b1688f.a5b798"
]
]
},
{
- "id": "2f08f142.24c856",
+ "id": "f87008d1.14dd28",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 3281.883331298828,
- "y": 1541.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3160.5,
+ "y": 1112,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "1fa44b37.7a7c65",
+ "id": "29e42279.9aaa7e",
"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": 3324.883331298828,
- "y": 1606.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3203.5,
+ "y": 1177,
+ "z": "4138d8f7.da252",
"wires": [
[
- "79a28b11.e62b74",
- "940be839.4c9f2",
- "a420af0c.05d778"
+ "4d8d5caa.cdd3ac",
+ "f63967f8.5c1d2",
+ "f4c1be52.25da4"
]
]
},
{
- "id": "9190bf27.d61b08",
+ "id": "1abb3e71.7e1362",
"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": 3325.883331298828,
- "y": 1276.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3192.5,
+ "y": 1027,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d3643022.187b08",
- "f8e2bf22.0eeef"
+ "252648ef.3d7f4",
+ "296ca11d.a31fd6"
]
]
},
{
- "id": "f8e2bf22.0eeef",
+ "id": "296ca11d.a31fd6",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3548.883331298828,
- "y": 1262.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3415.5,
+ "y": 1013,
+ "z": "4138d8f7.da252",
"wires": [
[
- "624eaece.91144"
+ "2479711d.5bdd66"
]
]
},
{
- "id": "d3643022.187b08",
+ "id": "252648ef.3d7f4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3550.883331298828,
- "y": 1295.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3417.5,
+ "y": 1046,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c2708361.dc58a8"
+ "90f53fd9.1cbe8"
]
]
},
{
- "id": "4a634c2c.1a75ec",
+ "id": "6c40f2a8.47da04",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3754.549835205078,
- "y": 1578.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3633.16650390625,
+ "y": 1149,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a3465897.dfb6c",
- "6701a8e7.d232d8"
+ "1415c282.916e3d",
+ "2cb5ed40.b34f42"
]
]
},
{
- "id": "87a8481c.69d658",
+ "id": "cba887b8.3ba25",
"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": 3744.9457092285156,
- "y": 1625.7431030273438,
- "z": "1854297c.6f0f4f",
+ "x": 3623.5623779296875,
+ "y": 1195.8597717285156,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "2583b063.d99b38",
+ "id": "43b1688f.a5b798",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3748.883331298828,
- "y": 1669.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3627.5,
+ "y": 1240,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "a3465897.dfb6c",
+ "id": "1415c282.916e3d",
"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": 4018.883331298828,
- "y": 1562.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3897.5,
+ "y": 1200,
+ "z": "4138d8f7.da252",
"wires": [
[
- "345ba8bf.bbff3",
- "cd05726a.f82838"
+ "3e280d70.843922",
+ "95fc8503.11868"
]
]
},
{
- "id": "cd05726a.f82838",
+ "id": "95fc8503.11868",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4241.883331298828,
- "y": 1517.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4073.5,
+ "y": 1250,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2d1297aa.955328"
+ "dc902b38.0c7748"
]
]
},
{
- "id": "345ba8bf.bbff3",
+ "id": "3e280d70.843922",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4243.883331298828,
- "y": 1581.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4075.5,
+ "y": 1314,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c1965743.4c3d48"
+ "23310562.1afb82"
]
]
},
{
- "id": "c1965743.4c3d48",
+ "id": "23310562.1afb82",
"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": 4405.883331298828,
- "y": 1577.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4237.5,
+ "y": 1310,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "2d1297aa.955328",
+ "id": "dc902b38.0c7748",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4406.883331298828,
- "y": 1514.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4238.5,
+ "y": 1247,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2cdfacb5.3a35a4",
- "3e9d9121.36c9d6"
+ "cee16453.63cf3",
+ "84ccdaef.588b08"
]
]
},
{
- "id": "8deb3478.19bbc8",
- "type": "save",
- "name": "save connectivity resource in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
- "comments": "",
- "outputs": 1,
- "x": 4020.883331298828,
- "y": 1721.8833312988281,
- "z": "1854297c.6f0f4f",
- "wires": [
- []
- ]
- },
- {
- "id": "97704f04.65be9",
- "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": 4065.883331298828,
- "y": 1631.8833312988281,
- "z": "1854297c.6f0f4f",
- "wires": [
- []
- ]
- },
- {
- "id": "d3e16022.86087",
- "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": 4148.883331298828,
- "y": 1769.8833312988281,
- "z": "1854297c.6f0f4f",
- "wires": [
- []
- ]
- },
- {
- "id": "c2708361.dc58a8",
+ "id": "90f53fd9.1cbe8",
"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": 3693.883331298828,
- "y": 1292.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3560.5,
+ "y": 1043,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "624eaece.91144",
+ "id": "2479711d.5bdd66",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3696.883331298828,
- "y": 1255.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3563.5,
+ "y": 1006,
+ "z": "4138d8f7.da252",
"wires": [
[
- "72c971d0.4048b8",
- "afa94a20.a982b"
+ "e0731aec.1d3d18",
+ "ff49f858.b54118"
]
]
},
{
- "id": "72c971d0.4048b8",
+ "id": "e0731aec.1d3d18",
"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": 3870.883331298828,
- "y": 1211.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3737.5,
+ "y": 962,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "6701a8e7.d232d8",
+ "id": "2cb5ed40.b34f42",
"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": 3972.883331298828,
- "y": 1846.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3609.5,
+ "y": 1331,
+ "z": "4138d8f7.da252",
"wires": [
[
- "db5b6ad5.7610d"
+ "f5d98ba7.1e5cb8"
]
]
},
{
- "id": "db5b6ad5.7610d",
+ "id": "f5d98ba7.1e5cb8",
"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": 4178.883331298828,
- "y": 1846.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3890.5,
+ "y": 1326,
+ "z": "4138d8f7.da252",
"wires": [
[
- "91f60d7.c7d4bf"
+ "287b5bf8.99c79c"
]
]
},
{
- "id": "91f60d7.c7d4bf",
+ "id": "287b5bf8.99c79c",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 4394.168975830078,
- "y": 1846.7051086425781,
- "z": "1854297c.6f0f4f",
+ "x": 4201.78564453125,
+ "y": 1400.82177734375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "f6e4c256.99ed68"
+ "70c360c1.95da08"
]
]
},
{
- "id": "afa94a20.a982b",
+ "id": "ff49f858.b54118",
"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": 3885.883331298828,
- "y": 1322.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3752.5,
+ "y": 1073,
+ "z": "4138d8f7.da252",
"wires": [
[
- "1979ced2.4d0299",
- "9890a5f2.a73b18",
- "d6c935ad.2c18"
+ "dadb26c7.629ca8",
+ "f63867c7.23e9a8",
+ "b7f169a7.e4cea8"
]
]
},
{
- "id": "1979ced2.4d0299",
+ "id": "dadb26c7.629ca8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4081.3834533691406,
- "y": 1274.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3948.0001220703125,
+ "y": 1025,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d4f7d32a.177f28"
+ "56281278.4a732c"
]
]
},
{
- "id": "9890a5f2.a73b18",
+ "id": "f63867c7.23e9a8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4073.3834533691406,
- "y": 1329.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3940.0001220703125,
+ "y": 1080,
+ "z": "4138d8f7.da252",
"wires": [
[
- "4c3f3b2.6283544"
+ "d5d18730.ffaa"
]
]
},
{
- "id": "d6c935ad.2c18",
+ "id": "b7f169a7.e4cea8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4078.3834533691406,
- "y": 1386.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3945.0001220703125,
+ "y": 1137,
+ "z": "4138d8f7.da252",
"wires": [
[
- "13564645.a1e6da"
+ "5b7993c9.ffe6c4"
]
]
},
{
- "id": "13564645.a1e6da",
+ "id": "5b7993c9.ffe6c4",
"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": 4230.383453369141,
- "y": 1387.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4097.0001220703125,
+ "y": 1138,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "4c3f3b2.6283544",
+ "id": "d5d18730.ffaa",
"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": 4241.383453369141,
- "y": 1332.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4108.0001220703125,
+ "y": 1083,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "d4f7d32a.177f28",
+ "id": "56281278.4a732c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4225.765777587891,
- "y": 1272.5390014648438,
- "z": "1854297c.6f0f4f",
+ "x": 4092.3824462890625,
+ "y": 1022.6556701660156,
+ "z": "4138d8f7.da252",
"wires": [
[
- "755f8d33.dd06bc"
+ "98511029.380fd"
]
]
},
{
- "id": "755f8d33.dd06bc",
+ "id": "98511029.380fd",
"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": 4409.883331298828,
- "y": 1286.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4315.500244140625,
+ "y": 1161,
+ "z": "4138d8f7.da252",
"wires": [
[
- "910fe315.8317e8"
+ "1e482e0.3b3ba52"
]
]
},
{
- "id": "3e9d9121.36c9d6",
+ "id": "84ccdaef.588b08",
"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": 4576.883331298828,
- "y": 1472.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4408.5,
+ "y": 1205,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "2cdfacb5.3a35a4",
+ "id": "cee16453.63cf3",
"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": 4577.883331298828,
- "y": 1580.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4409.5,
+ "y": 1313,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "80df0a60.dec0f8",
+ "id": "d2b67ee9.016d4",
"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": 4578.883331298828,
- "y": 1529.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4410.5,
+ "y": 1262,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "f6e4c256.99ed68",
+ "id": "70c360c1.95da08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4601.000518798828,
- "y": 1847.2236633300781,
- "z": "1854297c.6f0f4f",
+ "x": 4408.6171875,
+ "y": 1401.34033203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a4a05745.968c7",
- "d1e00a0e.d2e56",
- "d1a2356d.4786a8"
+ "8b810a1.45408f8",
+ "389752e1.54c2be",
+ "e0be029e.19d278"
]
]
},
{
- "id": "a4a05745.968c7",
+ "id": "8b810a1.45408f8",
"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": 4816.000518798828,
- "y": 1809.2236633300781,
- "z": "1854297c.6f0f4f",
+ "x": 4623.6171875,
+ "y": 1363.34033203125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "d1e00a0e.d2e56",
+ "id": "389752e1.54c2be",
"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": 4813.000518798828,
- "y": 1848.2236633300781,
- "z": "1854297c.6f0f4f",
+ "x": 4620.6171875,
+ "y": 1402.34033203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "17a4f2c1.f6b375"
+ "38942ae1.d34c76"
]
]
},
{
- "id": "d1a2356d.4786a8",
+ "id": "e0be029e.19d278",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4768.500518798828,
- "y": 1890.2236633300781,
- "z": "1854297c.6f0f4f",
+ "x": 4576.1171875,
+ "y": 1444.34033203125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "17a4f2c1.f6b375",
+ "id": "38942ae1.d34c76",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4993.500518798828,
- "y": 1847.2236633300781,
- "z": "1854297c.6f0f4f",
+ "x": 4801.1171875,
+ "y": 1401.34033203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "ba138e8e.753b68"
+ "418b10aa.3bf41"
]
]
},
{
- "id": "8d6faffb.891c08",
+ "id": "28737ab1.66c06e",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4807.883331298828,
- "y": 1290.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4713.500244140625,
+ "y": 1165,
+ "z": "4138d8f7.da252",
"wires": [
[
- "17552ef5.2956f9"
+ "813fb276.a89d38"
]
]
},
{
- "id": "17552ef5.2956f9",
+ "id": "813fb276.a89d38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4984.883331298828,
- "y": 1282.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4890.500244140625,
+ "y": 1157,
+ "z": "4138d8f7.da252",
"wires": [
[
- "55d02530.edc7ec",
- "14cede7e.dd48aa"
+ "5ba45898.1ae6d8",
+ "82500988.df7418"
]
]
},
{
- "id": "910fe315.8317e8",
+ "id": "1e482e0.3b3ba52",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4604.883331298828,
- "y": 1286.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4510.500244140625,
+ "y": 1161,
+ "z": "4138d8f7.da252",
"wires": [
[
- "8d6faffb.891c08",
- "fe294daa.41d368"
+ "28737ab1.66c06e",
+ "431c2963.374ce8"
]
]
},
{
- "id": "fe294daa.41d368",
+ "id": "431c2963.374ce8",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 4810.883331298828,
- "y": 1364.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4579.500244140625,
+ "y": 1235,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d9a2dd9b.e37c68"
+ "d3fb7afe.dba838"
]
]
},
{
- "id": "d9a2dd9b.e37c68",
+ "id": "d3fb7afe.dba838",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4987.883331298828,
- "y": 1356.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4775.500244140625,
+ "y": 1235,
+ "z": "4138d8f7.da252",
"wires": [
[
- "7ccc9bf1.00634c"
+ "40663368.ea789c"
]
]
},
{
- "id": "ba138e8e.753b68",
+ "id": "418b10aa.3bf41",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5151.500518798828,
- "y": 1847.2236633300781,
- "z": "1854297c.6f0f4f",
+ "x": 4959.1171875,
+ "y": 1401.34033203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "949f2da8.99048"
+ "ec468881.ecbf18"
]
]
},
{
- "id": "949f2da8.99048",
+ "id": "ec468881.ecbf18",
"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": 5358.500518798828,
- "y": 1847.2236633300781,
- "z": "1854297c.6f0f4f",
+ "x": 5166.1171875,
+ "y": 1401.34033203125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "14cede7e.dd48aa",
+ "id": "82500988.df7418",
"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": 5192.883331298828,
- "y": 1289.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 5115.500244140625,
+ "y": 1153,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b2a3145.b7edbe8",
- "e74729d.3422f58",
- "409c0b0b.c89e64"
+ "9dd65188.ffecf",
+ "e0664fc.7b8393",
+ "b7a2fd6c.7b7688"
]
]
},
{
- "id": "55d02530.edc7ec",
+ "id": "5ba45898.1ae6d8",
"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": 5222.883331298828,
- "y": 1237.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 5145.500244140625,
+ "y": 1101,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "b2a3145.b7edbe8",
+ "id": "9dd65188.ffecf",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5402.883331298828,
- "y": 1280.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 5325.500244140625,
+ "y": 1144,
+ "z": "4138d8f7.da252",
"wires": [
[
- "4b8f6adb.6d0404"
+ "2d529b4.18963e4"
]
]
},
{
- "id": "e74729d.3422f58",
+ "id": "e0664fc.7b8393",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5394.883331298828,
- "y": 1335.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 5317.500244140625,
+ "y": 1199,
+ "z": "4138d8f7.da252",
"wires": [
[
- "19136c8e.dcdfbb"
+ "3aa5c8f4.350c08"
]
]
},
{
- "id": "409c0b0b.c89e64",
+ "id": "b7a2fd6c.7b7688",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5399.883331298828,
- "y": 1392.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 5322.500244140625,
+ "y": 1256,
+ "z": "4138d8f7.da252",
"wires": [
[
- "e2070656.8dd03"
+ "2908da09.77d2fe"
]
]
},
{
- "id": "e2070656.8dd03",
+ "id": "2908da09.77d2fe",
"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": 5551.883331298828,
- "y": 1393.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 5474.500244140625,
+ "y": 1257,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "19136c8e.dcdfbb",
+ "id": "3aa5c8f4.350c08",
"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": 5562.883331298828,
- "y": 1338.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 5485.500244140625,
+ "y": 1202,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "4b8f6adb.6d0404",
+ "id": "2d529b4.18963e4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5547.265655517578,
- "y": 1278.5390014648438,
- "z": "1854297c.6f0f4f",
+ "x": 5469.882568359375,
+ "y": 1141.6556701660156,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c2a5af15.443d8"
+ "e508aa99.ed11b8"
]
]
},
{
- "id": "7ccc9bf1.00634c",
+ "id": "40663368.ea789c",
"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": 5222.883331298828,
- "y": 1480.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 5038.500244140625,
+ "y": 1238,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "c2a5af15.443d8",
+ "id": "e508aa99.ed11b8",
"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": 5761.883331298828,
- "y": 1274.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 5656.500244140625,
+ "y": 1138,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "4eba14c8.80a994",
+ "id": "e66147a6.9621b",
"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": 4345.883331298828,
- "y": 928.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4297.49951171875,
+ "y": 373,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "620253a.9c2552c",
+ "id": "7411318a.e1b958",
"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": 4336.883331298828,
- "y": 1026.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4288.49951171875,
+ "y": 471,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "9c76efc2.c7f458",
+ "id": "62760f41.c93a2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4170.883331298828,
- "y": 934.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4122.49951171875,
+ "y": 379,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a64deb38.79c21",
- "4eba14c8.80a994"
+ "92f3b868.34ce6",
+ "e66147a6.9621b"
]
]
},
{
- "id": "36b200ce.3626f",
+ "id": "273e3fee.2bc13",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4176.883331298828,
- "y": 998.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4128.49951171875,
+ "y": 443,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d00069b9.08211",
- "620253a.9c2552c"
+ "b6002239.68b828",
+ "7411318a.e1b958"
]
]
},
{
- "id": "f7a8d104.b779c8",
+ "id": "244a1c4c.c64574",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4176.883331298828,
- "y": 1104.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4142.499267578125,
+ "y": 607,
+ "z": "4138d8f7.da252",
"wires": [
[
- "e2a3248.b77d4d8",
- "bcbbe769.3c0e1"
+ "55137534.cd97cc",
+ "94e7efd7.f5ec88"
]
]
},
{
- "id": "2781339a.2c9d8c",
+ "id": "f48105e4.f03428",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4179.883331298828,
- "y": 1157.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4145.499267578125,
+ "y": 660,
+ "z": "4138d8f7.da252",
"wires": [
[
- "69fc971e.d1c948",
- "6070cd17.b28d74"
+ "ba173e3c.d3cf48",
+ "9c20a9f9.7c2ff"
]
]
},
{
- "id": "bcbbe769.3c0e1",
+ "id": "94e7efd7.f5ec88",
"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": 4336.883331298828,
- "y": 1117.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4364.499267578125,
+ "y": 674,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "6070cd17.b28d74",
+ "id": "9c20a9f9.7c2ff",
"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": 4339.883331298828,
- "y": 1208.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4367.499267578125,
+ "y": 765,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "ef6aaa0a.46635",
+ "id": "124feda4.be759a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3711.883331298828,
- "y": 2418.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3523.5,
+ "y": 1711,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a10bbf1c.524bd",
- "27427337.3be9a4"
+ "e1f69d4c.5b8868",
+ "d4ae5d82.aab8b"
]
]
},
{
- "id": "a6501243.d121f",
+ "id": "7a356795.78dec",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3539.216827392578,
- "y": 2419.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3350.83349609375,
+ "y": 1712,
+ "z": "4138d8f7.da252",
"wires": [
[
- "ef6aaa0a.46635"
+ "124feda4.be759a"
]
]
},
{
- "id": "aaec6d99.4c304",
+ "id": "c62c11ee.d3432",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3548.707794189453,
- "y": 2462.4573669433594,
- "z": "1854297c.6f0f4f",
+ "x": 3360.324462890625,
+ "y": 1754.5740356445312,
+ "z": "4138d8f7.da252",
"wires": [
[
- "47f8697d.df9998"
+ "4d29ec31.00d144"
]
]
},
{
- "id": "e6e0568a.7d4f68",
+ "id": "fa667208.2a7ec",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3537.216827392578,
- "y": 2508.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3348.83349609375,
+ "y": 1801,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2963b336.e3bc8c"
+ "577a09e9.8378d8"
]
]
},
{
- "id": "47f8697d.df9998",
+ "id": "4d29ec31.00d144",
"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": 3702.2792053222656,
- "y": 2465.7431030273438,
- "z": "1854297c.6f0f4f",
+ "x": 3513.8958740234375,
+ "y": 1757.8597717285156,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "2963b336.e3bc8c",
+ "id": "577a09e9.8378d8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3706.216827392578,
- "y": 2509.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3517.83349609375,
+ "y": 1802,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "a10bbf1c.524bd",
+ "id": "e1f69d4c.5b8868",
"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": 3998.216827392578,
- "y": 2422.8834533691406,
- "z": "1854297c.6f0f4f",
+ "x": 3809.83349609375,
+ "y": 1715.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b2433bfc.a285b",
- "e32efd70.259f3"
+ "67e03e9f.e657f8",
+ "8f6dd9a8.907078"
]
]
},
{
- "id": "e32efd70.259f3",
+ "id": "8f6dd9a8.907078",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4221.216827392578,
- "y": 2377.8834533691406,
- "z": "1854297c.6f0f4f",
+ "x": 4032.83349609375,
+ "y": 1670.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "e33d7c06.1215a"
+ "9d5c402b.afbc18"
]
]
},
{
- "id": "b2433bfc.a285b",
+ "id": "67e03e9f.e657f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4223.216827392578,
- "y": 2441.8834533691406,
- "z": "1854297c.6f0f4f",
+ "x": 4034.83349609375,
+ "y": 1734.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "96c9f851.720ff"
+ "b1dc0c2e.2db02"
]
]
},
{
- "id": "96c9f851.720ff",
+ "id": "b1dc0c2e.2db02",
"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": 4382.216827392578,
- "y": 2460.8834533691406,
- "z": "1854297c.6f0f4f",
+ "x": 4193.83349609375,
+ "y": 1753.0001220703125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "e33d7c06.1215a",
+ "id": "9d5c402b.afbc18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4386.216827392578,
- "y": 2374.8834533691406,
- "z": "1854297c.6f0f4f",
+ "x": 4197.83349609375,
+ "y": 1667.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "64140131.87f6a",
- "d9669ac1.5a2d68"
+ "eb823b6e.5b1b68",
+ "d1229eee.7607f"
]
]
},
{
- "id": "e5d24864.c4d21",
- "type": "save",
- "name": "save connectivity resource in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
- "comments": "",
- "outputs": 1,
- "x": 4000.216827392578,
- "y": 2581.8834533691406,
- "z": "1854297c.6f0f4f",
- "wires": [
- []
- ]
- },
- {
- "id": "f6b5343f.392d9",
- "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": 4045.216827392578,
- "y": 2491.8834533691406,
- "z": "1854297c.6f0f4f",
- "wires": [
- []
- ]
- },
- {
- "id": "cfe86ca7.011b18",
- "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": 4127.216827392578,
- "y": 2646.8834533691406,
- "z": "1854297c.6f0f4f",
- "wires": [
- []
- ]
- },
- {
- "id": "f7e98987.293918",
+ "id": "ec67f0f.b56539",
"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": 3311.216827392578,
- "y": 2454.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3122.83349609375,
+ "y": 1747,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a6501243.d121f",
- "aaec6d99.4c304",
- "e6e0568a.7d4f68"
+ "7a356795.78dec",
+ "c62c11ee.d3432",
+ "fa667208.2a7ec"
]
]
},
{
- "id": "d0c5015f.630ad",
+ "id": "ef79491a.ef1ed",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 3272.216827392578,
- "y": 2398.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3083.83349609375,
+ "y": 1691,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "1ebd0160.929687",
+ "id": "363ba934.edbd4e",
"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.216827392578,
- "y": 2117.8832092285156,
- "z": "1854297c.6f0f4f",
+ "x": 3135.83349609375,
+ "y": 1493,
+ "z": "4138d8f7.da252",
"wires": [
[
- "28ff08ce.889b38",
- "1b36a02a.8e3468"
+ "fab0a5fc.8009e8",
+ "1a41312c.3b3677"
]
]
},
{
- "id": "1b36a02a.8e3468",
+ "id": "1a41312c.3b3677",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3552.216827392578,
- "y": 2103.8832092285156,
- "z": "1854297c.6f0f4f",
+ "x": 3358.83349609375,
+ "y": 1479,
+ "z": "4138d8f7.da252",
"wires": [
[
- "314f424e.949456"
+ "41d39e09.02c3d8"
]
]
},
{
- "id": "28ff08ce.889b38",
+ "id": "fab0a5fc.8009e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3554.216827392578,
- "y": 2136.8832092285156,
- "z": "1854297c.6f0f4f",
+ "x": 3360.83349609375,
+ "y": 1512,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c351a018.b67f98"
+ "31a06a0b.93432e"
]
]
},
{
- "id": "c351a018.b67f98",
+ "id": "31a06a0b.93432e",
"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.216827392578,
- "y": 2133.8832092285156,
- "z": "1854297c.6f0f4f",
+ "x": 3503.83349609375,
+ "y": 1509,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "314f424e.949456",
+ "id": "41d39e09.02c3d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3700.216827392578,
- "y": 2096.8832092285156,
- "z": "1854297c.6f0f4f",
+ "x": 3506.83349609375,
+ "y": 1472,
+ "z": "4138d8f7.da252",
"wires": [
[
- "8065ca34.19e0e",
- "27c4c436.c4a394"
+ "12fe71d9.7bf9be",
+ "c47ac813.f199b8"
]
]
},
{
- "id": "8065ca34.19e0e",
+ "id": "12fe71d9.7bf9be",
"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.216827392578,
- "y": 2099.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3700.83349609375,
+ "y": 1475.0001220703125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "27427337.3be9a4",
+ "id": "d4ae5d82.aab8b",
"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": 3957.216827392578,
- "y": 2731.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3753.83349609375,
+ "y": 1834,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b95f783a.80c45"
+ "7b8dd371.aa4964"
]
]
},
{
- "id": "b95f783a.80c45",
+ "id": "7b8dd371.aa4964",
"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": 4163.216827392578,
- "y": 2731.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3959.83349609375,
+ "y": 1834,
+ "z": "4138d8f7.da252",
"wires": [
[
- "fdd7c5c3.71bfe8"
+ "e78bd2af.32742"
]
]
},
{
- "id": "fdd7c5c3.71bfe8",
+ "id": "e78bd2af.32742",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 4380.502471923828,
- "y": 2730.705108642578,
- "z": "1854297c.6f0f4f",
+ "x": 4177.119140625,
+ "y": 1832.82177734375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "240f5a27.c1a7a6"
+ "231ad36e.3e7974"
]
]
},
{
- "id": "27c4c436.c4a394",
+ "id": "c47ac813.f199b8",
"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.216827392578,
- "y": 2167.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3722.83349609375,
+ "y": 1543.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "47b31581.268b0c",
- "43867bdb.1b0d54",
- "bbdefe01.0e663"
+ "14953bcb.0f686c",
+ "5a2f3f75.0fbf6",
+ "61553bc7.07748c"
]
]
},
{
- "id": "47b31581.268b0c",
+ "id": "14953bcb.0f686c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4111.716949462891,
- "y": 2119.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3918.3336181640625,
+ "y": 1495.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "bdcfd968.805c18"
+ "e9311021.d720e8"
]
]
},
{
- "id": "43867bdb.1b0d54",
+ "id": "5a2f3f75.0fbf6",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4103.716949462891,
- "y": 2174.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3910.3336181640625,
+ "y": 1550.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a95a4d5b.d3114"
+ "4fbd5f1f.bd6168"
]
]
},
{
- "id": "bbdefe01.0e663",
+ "id": "61553bc7.07748c",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4108.716949462891,
- "y": 2231.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3915.3336181640625,
+ "y": 1607.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "64398d6f.e5c684"
+ "ccee2aed.1d2c48"
]
]
},
{
- "id": "64398d6f.e5c684",
+ "id": "ccee2aed.1d2c48",
"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": 4260.716949462891,
- "y": 2232.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4067.3336181640625,
+ "y": 1608.0001220703125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "a95a4d5b.d3114",
+ "id": "4fbd5f1f.bd6168",
"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": 4271.716949462891,
- "y": 2177.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4078.3336181640625,
+ "y": 1553.0001220703125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "bdcfd968.805c18",
+ "id": "e9311021.d720e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4256.099273681641,
- "y": 2117.5390014648438,
- "z": "1854297c.6f0f4f",
+ "x": 4062.7159423828125,
+ "y": 1492.6557922363281,
+ "z": "4138d8f7.da252",
"wires": [
[
- "6d52f6e9.bcbf28"
+ "12595c91.b718eb"
]
]
},
{
- "id": "64140131.87f6a",
+ "id": "eb823b6e.5b1b68",
"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": 4556.216827392578,
- "y": 2335.8834533691406,
- "z": "1854297c.6f0f4f",
+ "x": 4367.83349609375,
+ "y": 1628.0001220703125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "d9669ac1.5a2d68",
+ "id": "d1229eee.7607f",
"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": 4557.216827392578,
- "y": 2440.8834533691406,
- "z": "1854297c.6f0f4f",
+ "x": 4368.83349609375,
+ "y": 1733.0001220703125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "9ddf3bf9.57ff3",
+ "id": "8d0a9501.e59f28",
"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": 4552.216827392578,
- "y": 2389.8834533691406,
- "z": "1854297c.6f0f4f",
+ "x": 4363.83349609375,
+ "y": 1682.0001220703125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "240f5a27.c1a7a6",
+ "id": "231ad36e.3e7974",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4587.334014892578,
- "y": 2720.2237854003906,
- "z": "1854297c.6f0f4f",
+ "x": 4383.95068359375,
+ "y": 1822.3404541015625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "801a071e.c98f98",
- "45d249d1.4a712",
- "37813776.11957"
+ "16f2e433.3291b4",
+ "80f33246.16c218",
+ "51170c35.40a6bc"
]
]
},
{
- "id": "801a071e.c98f98",
+ "id": "16f2e433.3291b4",
"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": 4802.334014892578,
- "y": 2682.2237854003906,
- "z": "1854297c.6f0f4f",
+ "x": 4598.95068359375,
+ "y": 1784.3404541015625,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "45d249d1.4a712",
+ "id": "80f33246.16c218",
"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": 4799.334014892578,
- "y": 2721.2237854003906,
- "z": "1854297c.6f0f4f",
+ "x": 4595.95068359375,
+ "y": 1823.3404541015625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d7c43050.0743b"
+ "ec1220f2.c0002"
]
]
},
{
- "id": "37813776.11957",
+ "id": "51170c35.40a6bc",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4754.834014892578,
- "y": 2763.2237854003906,
- "z": "1854297c.6f0f4f",
+ "x": 4551.45068359375,
+ "y": 1865.3404541015625,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "d7c43050.0743b",
+ "id": "ec1220f2.c0002",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4979.834014892578,
- "y": 2720.2237854003906,
- "z": "1854297c.6f0f4f",
+ "x": 4776.45068359375,
+ "y": 1822.3404541015625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "161c6e5f.bccb42"
+ "757e93f0.7ee45c"
]
]
},
{
- "id": "161c6e5f.bccb42",
+ "id": "757e93f0.7ee45c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5137.834014892578,
- "y": 2720.2237854003906,
- "z": "1854297c.6f0f4f",
+ "x": 4934.45068359375,
+ "y": 1822.3404541015625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "268de5ce.943522"
+ "c7244ae.af2a238"
]
]
},
{
- "id": "268de5ce.943522",
+ "id": "c7244ae.af2a238",
"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": 5344.834014892578,
- "y": 2720.2237854003906,
- "z": "1854297c.6f0f4f",
+ "x": 5141.45068359375,
+ "y": 1822.3404541015625,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "5dd066fb.8bb21",
+ "id": "7e549eab.8dbb18",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4838.216827392578,
- "y": 2135.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4644.83349609375,
+ "y": 1511.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "4dd18012.7f83e"
+ "1d3b129c.b2a675"
]
]
},
{
- "id": "4dd18012.7f83e",
+ "id": "1d3b129c.b2a675",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5015.216827392578,
- "y": 2127.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4821.83349609375,
+ "y": 1503.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "cb357072.40504",
- "41f4620d.06ac64"
+ "b6b58a8c.8e7ea8",
+ "dc3d97ac.463e28"
]
]
},
{
- "id": "6d52f6e9.bcbf28",
+ "id": "12595c91.b718eb",
"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.216827392578,
- "y": 2131.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4246.83349609375,
+ "y": 1507.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "1558a590.3c3faa"
+ "a772c4a4.38145"
]
]
},
{
- "id": "1558a590.3c3faa",
+ "id": "a772c4a4.38145",
"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.216827392578,
- "y": 2131.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4441.83349609375,
+ "y": 1507.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "5dd066fb.8bb21",
- "a026e3da.a47c68"
+ "7e549eab.8dbb18",
+ "aea7a178.f6fc4"
]
]
},
{
- "id": "41f4620d.06ac64",
+ "id": "dc3d97ac.463e28",
"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.216827392578,
- "y": 2134.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5029.83349609375,
+ "y": 1510.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "304be603.33560a",
- "7b7d3ebe.8d439",
- "4d809924.5591a8"
+ "3bf3e082.eea5e8",
+ "58cb7d25.d2da94",
+ "d2f7fa01.93a528"
]
]
},
{
- "id": "e13819fd.c513e8",
+ "id": "a307fd53.34615",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5017.216827392578,
- "y": 2200.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4823.83349609375,
+ "y": 1576.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b46e83ff.b91008"
+ "ca73ba2d.29c1c8"
]
]
},
{
- "id": "a026e3da.a47c68",
+ "id": "aea7a178.f6fc4",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 4840.216827392578,
- "y": 2208.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4646.83349609375,
+ "y": 1584.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "e13819fd.c513e8"
+ "a307fd53.34615"
]
]
},
{
- "id": "cb357072.40504",
+ "id": "b6b58a8c.8e7ea8",
"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.216827392578,
- "y": 2082.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5059.83349609375,
+ "y": 1458.0001220703125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "b46e83ff.b91008",
+ "id": "ca73ba2d.29c1c8",
"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.216827392578,
- "y": 2324.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5005.83349609375,
+ "y": 1640.0001220703125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "304be603.33560a",
+ "id": "3bf3e082.eea5e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5433.216827392578,
- "y": 2125.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5239.83349609375,
+ "y": 1501.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d9386700.ef3558"
+ "36f4f947.29aeae"
]
]
},
{
- "id": "7b7d3ebe.8d439",
+ "id": "58cb7d25.d2da94",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5425.216827392578,
- "y": 2180.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5231.83349609375,
+ "y": 1556.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b1a122b9.2b3df"
+ "b7803a75.d7ec1"
]
]
},
{
- "id": "4d809924.5591a8",
+ "id": "d2f7fa01.93a528",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5430.216827392578,
- "y": 2237.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5236.83349609375,
+ "y": 1613.0001220703125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "7206a51a.368f14"
+ "8d6cbae8.86128"
]
]
},
{
- "id": "7206a51a.368f14",
+ "id": "8d6cbae8.86128",
"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.216827392578,
- "y": 2238.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5388.83349609375,
+ "y": 1614.0001220703125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "b1a122b9.2b3df",
+ "id": "b7803a75.d7ec1",
"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.216827392578,
- "y": 2183.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5399.83349609375,
+ "y": 1559.0001220703125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "d9386700.ef3558",
+ "id": "36f4f947.29aeae",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5577.599151611328,
- "y": 2123.5390014648438,
- "z": "1854297c.6f0f4f",
+ "x": 5384.2158203125,
+ "y": 1498.6557922363281,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c475367c.4940f8"
+ "b6324aba.def4e"
]
]
},
{
- "id": "c475367c.4940f8",
+ "id": "b6324aba.def4e",
"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.216827392578,
- "y": 2119.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5598.83349609375,
+ "y": 1495.0001220703125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "6b01ec04.e8e8dc",
+ "id": "631e76e1.71afc",
"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": 3290.883331298828,
- "y": 1729.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3187.5,
+ "y": 1317,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "6404a595.2767cc",
+ "id": "d1d7f338.2c48e",
"type": "comment",
"name": "This is it (should be)",
"info": "",
"comments": "",
- "x": 4512.883331298828,
- "y": 1012.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4464.49951171875,
+ "y": 457,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "fdf288f5.399238",
+ "id": "df68ae5a.c6abe",
"type": "comment",
"name": "This is it (should be)",
"info": "",
"comments": "",
- "x": 4504.883331298828,
- "y": 1102.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 4532.499267578125,
+ "y": 659,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "ce90c6ec.193398",
+ "id": "b17f4ff2.75d93",
"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": 3271.883331298828,
- "y": 2585.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3083.5,
+ "y": 1878,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "323cec2c.88d45c",
+ "id": "8048035e.723ef",
"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": 3422.883331298828,
- "y": 2833.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3345.5,
+ "y": 2791,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "fba2883c.72d2",
+ "id": "d590aba5.94aa48",
"type": "switchNode",
"name": "switch found-middle-man?",
"xml": "<switch test='`$found-middle-man`'>\n",
"comments": "",
"outputs": 1,
- "x": 3299.883331298828,
- "y": 2943.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3222.5,
+ "y": 2901,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b06a53c9.6a23c",
- "52a66ca0.57e87c"
+ "507ab41.362cbcc",
+ "63f9a6e5.2f9178"
]
]
},
{
- "id": "b06a53c9.6a23c",
+ "id": "507ab41.362cbcc",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3483.883331298828,
- "y": 2922.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3406.5,
+ "y": 2880,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d4c9f2dc.11912"
+ "28f5fd24.d628ea"
]
]
},
{
- "id": "52a66ca0.57e87c",
+ "id": "63f9a6e5.2f9178",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3019.883331298828,
- "y": 4508.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 2942.5,
+ "y": 4466,
+ "z": "4138d8f7.da252",
"wires": [
[
- "7ebd19ad.940af8"
+ "db2110db.2b1778"
]
]
},
{
- "id": "d74b6b50.22dd88",
+ "id": "9f11b3.a8080e5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3530.883331298828,
- "y": 5093.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3453.5,
+ "y": 5051,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b3935092.c652b8",
- "28b03e50.9f7992",
- "980b4828.96504",
- "17af28da.ceda4f",
- "2c43e5ee.399d8a"
+ "40ac4d15.a539ec",
+ "577ac65e.4cd8e8",
+ "c33c721b.c24a68",
+ "e8ff43f0.c9213",
+ "c23415ae.23176",
+ "b27458da.77b73"
]
]
},
{
- "id": "d4c9f2dc.11912",
+ "id": "28f5fd24.d628ea",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 6602.883331298828,
- "y": 2952.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6119.5,
+ "y": 1700,
+ "z": "4138d8f7.da252",
"wires": [
[
- "1d7e1faa.548828",
- "85f258da.5f0598",
- "4b074654.080e5",
- "5d8ffada.d10fc4",
- "ea403b0c.aaf7e",
- "1235d80a.544f18",
- "af33968a.8315c",
- "9cfe0ae9.258d58",
- "65dbbd5b.a49b4c",
- "1d15547d.10576c",
- "89a6c1ea.eb5688",
- "2f9ad2ef.1013a6",
- "a5dc8f9.8a79df",
- "e38bf422.7c8768",
- "43d0f5c9.60220c",
- "2b09e0eb.8326d",
- "1698c025.c5ee78",
- "1d008796.234d18",
- "76e889a9.7e8db8"
+ "4783da3c.fb84a4",
+ "bb88421.9f996c",
+ "55b1d688.471dd",
+ "31123019.0abe4",
+ "1759beb1.f3c1d1",
+ "98f705b0.6bc73",
+ "b6e856a5.c69918",
+ "277a36b1.830aba",
+ "f9e2137d.7a2d78",
+ "3298314.8dc664e",
+ "cfdca91b.21bde",
+ "a46de057.2f2f3",
+ "2c505364.e529bc",
+ "5713069a.52e6e",
+ "736cdf51.8421c8",
+ "a19bdc2c.350be8",
+ "829d6c73.aa7da8",
+ "57d8804.ea8d28",
+ "39b6682a.960bc",
+ "858f96c1.79cbc",
+ "1b0442b9.4b628d",
+ "c1546bd.e66d418"
]
]
},
{
- "id": "65dbbd5b.a49b4c",
+ "id": "f9e2137d.7a2d78",
"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": 6913.883331298828,
- "y": 3307.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6490.5,
+ "y": 1623,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "1d7e1faa.548828",
+ "id": "4783da3c.fb84a4",
"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='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 6867.883331298828,
- "y": 3405.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6444.5,
+ "y": 1721,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "85f258da.5f0598",
+ "id": "bb88421.9f996c",
"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": 7003.883331298828,
- "y": 3452.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6580.5,
+ "y": 1768,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "7c12d148.f08d78",
+ "id": "a3afcd58.883878",
"type": "comment",
"name": "Create ROOT connectivity",
"info": "",
"comments": "",
- "x": 6834.883331298828,
- "y": 3256.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6411.5,
+ "y": 1572,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "8342cd90.5a2f6",
+ "id": "47893e3d.7abf68",
"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": 7360.883331298828,
- "y": 3747.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6907.5,
+ "y": 2308,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "4b074654.080e5",
+ "id": "55b1d688.471dd",
"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": 6924.883331298828,
- "y": 3786.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6471.5,
+ "y": 2347,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "5d8ffada.d10fc4",
+ "id": "31123019.0abe4",
"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='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 6872.883331298828,
- "y": 3837.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6419.5,
+ "y": 2398,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "ea403b0c.aaf7e",
+ "id": "1759beb1.f3c1d1",
"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": 7008.883331298828,
- "y": 3884.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6555.5,
+ "y": 2445,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "18aaa2dc.b37a3d",
+ "id": "71216be9.ff79f4",
"type": "comment",
"name": "Create MIDDLE-MAN connectivity",
"info": "",
"comments": "",
- "x": 6865.883331298828,
- "y": 3746.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6412.5,
+ "y": 2307,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "b8a58f62.fd6f68",
+ "id": "3446875.4213df8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 7295.883331298828,
- "y": 3943.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6842.5,
+ "y": 2504,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "1235d80a.544f18",
+ "id": "98f705b0.6bc73",
"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": 6886.883331298828,
- "y": 3990.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6433.5,
+ "y": 2551,
+ "z": "4138d8f7.da252",
"wires": [
[
- "caaa8d0a.a400c",
- "ba918a95.063018",
- "73076382.d5d394"
+ "4cd47e4a.423aa8",
+ "dbf8ee5e.1c40a8",
+ "e7f2720f.fd9208"
]
]
},
{
- "id": "caaa8d0a.a400c",
+ "id": "4cd47e4a.423aa8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 7133.883331298828,
- "y": 3944.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6680.5,
+ "y": 2505,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b8a58f62.fd6f68"
+ "3446875.4213df8"
]
]
},
{
- "id": "ba918a95.063018",
+ "id": "dbf8ee5e.1c40a8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 7134.374298095703,
- "y": 3990.4573669433594,
- "z": "1854297c.6f0f4f",
+ "x": 6680.990966796875,
+ "y": 2550.5740356445312,
+ "z": "4138d8f7.da252",
"wires": [
[
- "70335d13.df0d4c"
+ "5c2d61a6.b888d8"
]
]
},
{
- "id": "73076382.d5d394",
+ "id": "e7f2720f.fd9208",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 7131.883331298828,
- "y": 4033.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6678.5,
+ "y": 2594,
+ "z": "4138d8f7.da252",
"wires": [
[
- "3d4cb88b.ddae8"
+ "7deb6a39.1c780c"
]
]
},
{
- "id": "70335d13.df0d4c",
+ "id": "5c2d61a6.b888d8",
"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": 7296.945709228516,
- "y": 3990.7431030273438,
- "z": "1854297c.6f0f4f",
+ "x": 6843.5623779296875,
+ "y": 2550.8597717285156,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "3d4cb88b.ddae8",
+ "id": "7deb6a39.1c780c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 7300.883331298828,
- "y": 4034.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6847.5,
+ "y": 2595,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "43d0f5c9.60220c",
+ "id": "736cdf51.8421c8",
"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": 6943.883331298828,
- "y": 4269.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6487.5,
+ "y": 2867,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "2b09e0eb.8326d",
+ "id": "a19bdc2c.350be8",
"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": 6946.883331298828,
- "y": 4314.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6490.5,
+ "y": 2912,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "1d008796.234d18",
+ "id": "57d8804.ea8d28",
"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": 6935.883331298828,
- "y": 4105.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6482.5,
+ "y": 2666,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "76e889a9.7e8db8",
+ "id": "39b6682a.960bc",
"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": 6937.883331298828,
- "y": 4152.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6484.5,
+ "y": 2713,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "2304ec84.74d9f4",
+ "id": "35de923d.3dc786",
"type": "comment",
"name": "The following two will be done in F1",
"info": "",
"comments": "",
- "x": 6859.883331298828,
- "y": 4222.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6403.5,
+ "y": 2820,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "175b5cd1.9f40e3",
+ "id": "64b6242c.0fc1a4",
"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": 4489.883087158203,
- "y": 5373.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4403.500244140625,
+ "y": 5213,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "b3935092.c652b8",
+ "id": "40ac4d15.a539ec",
"type": "switchNode",
"name": "switch no-pce-call",
"xml": "<switch test='`$no-pce-call`'>\n",
"comments": "",
"outputs": 1,
- "x": 3745.883331298828,
- "y": 5074.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3668.5,
+ "y": 5032,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b8e9bffb.cdc88",
- "256198d1.5f7cf8"
+ "243fddd4.c99fc2",
+ "ed2a1041.39364"
]
]
},
{
- "id": "256198d1.5f7cf8",
+ "id": "ed2a1041.39364",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3917.883331298828,
- "y": 5071.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3840.5,
+ "y": 5029,
+ "z": "4138d8f7.da252",
"wires": [
[
- "30a42efe.828c8a"
+ "f749d2c9.24f0b"
]
]
},
{
- "id": "b8e9bffb.cdc88",
+ "id": "243fddd4.c99fc2",
"type": "outcomeFalse",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3869.883331298828,
- "y": 5918.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3792.5,
+ "y": 5876,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2ed5b6b9.722642"
+ "a2f25d49.46cd88"
]
]
},
{
- "id": "9dc6e8a7.9c1158",
+ "id": "54d55fbb.9ecd9",
"type": "comment",
"name": "1 --> PCE is needed",
"info": "",
"comments": "",
- "x": 3930.883331298828,
- "y": 5041.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3853.5,
+ "y": 4999,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "e1ff48b3.343b9",
+ "id": "2bf8aac8.9b318e",
"type": "comment",
"name": "2 --> no need to call PCE",
"info": "",
"comments": "",
- "x": 3940.883331298828,
- "y": 5876.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3863.5,
+ "y": 5834,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "af33968a.8315c",
+ "id": "b6e856a5.c69918",
"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": 6943.883331298828,
- "y": 4378.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6489.5,
+ "y": 3046,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "30a42efe.828c8a",
+ "id": "f749d2c9.24f0b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4093.883331298828,
- "y": 5073.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4016.5,
+ "y": 5031,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2892dc09.31fadc",
- "afa31c79.54acd8",
- "e8807ba5.c313d8",
- "f07ffbda.6acb28",
- "78d94074.f38b7",
- "95bef4a8.5a7ff8",
- "175b5cd1.9f40e3"
+ "b146a69c.13b518",
+ "436ccdfb.1e8f5c",
+ "124f51e3.777566",
+ "91ebdf82.9979e",
+ "3da01b2d.c332ec",
+ "59b34ffd.7f824",
+ "64b6242c.0fc1a4",
+ "cb7342b9.a9c168",
+ "7a7c44d8.30aa44"
]
]
},
{
- "id": "d52f0d8d.4208d8",
+ "id": "f96e508.5132a3",
"type": "comment",
"name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",
"info": "",
"comments": "",
- "x": 5537.883087158203,
- "y": 4998.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5460.499755859375,
+ "y": 4956,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "2892dc09.31fadc",
+ "id": "b146a69c.13b518",
"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": 4484.883087158203,
- "y": 5676.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4262.500244140625,
+ "y": 5712,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "9cfe0ae9.258d58",
+ "id": "277a36b1.830aba",
"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": 6919.883331298828,
- "y": 3646.883331298828,
- "z": "1854297c.6f0f4f",
- "wires": [
- []
- ]
- },
- {
- "id": "753d3ee1.bef8a",
- "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 = $prop.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": 3403.883331298828,
- "y": 1835.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 6496.5,
+ "y": 1962,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "564c1334.4c1554",
- "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-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",
- "comments": "",
- "outputs": 1,
- "x": 3310.883331298828,
- "y": 1782.8833312988281,
- "z": "1854297c.6f0f4f",
- "wires": [
- []
- ]
- },
- {
- "id": "514b6193.3ff5b",
+ "id": "467249d9.2faa78",
"type": "set",
"name": "set prop.connectivity-domainB-uuid=tmp.ROOT.uni-p-interface-long",
"xml": "<set>\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />\n",
"comments": "",
- "x": 6969.883331298828,
- "y": 3349.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6546.5,
+ "y": 1665,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "1d15547d.10576c",
+ "id": "3298314.8dc664e",
"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": 6916.883331298828,
- "y": 2937.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6493.5,
+ "y": 1253,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "89a6c1ea.eb5688",
+ "id": "cfdca91b.21bde",
"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='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 6864.883331298828,
- "y": 2985.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6441.5,
+ "y": 1301,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "2f9ad2ef.1013a6",
+ "id": "a46de057.2f2f3",
"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": 6992.883331298828,
- "y": 3032.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6569.5,
+ "y": 1348,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "baf2c2db.c807d8",
+ "id": "f85b4c38.36c218",
"type": "comment",
"name": "Create LEAF connectivity",
"info": "",
"comments": "",
- "x": 6829.883331298828,
- "y": 2895.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6406.5,
+ "y": 1211,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "a5dc8f9.8a79df",
+ "id": "2c505364.e529bc",
"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='data-source' value='`$gfp`' />",
"comments": "",
"outputs": 1,
- "x": 6826.883331298828,
- "y": 3123.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6403.5,
+ "y": 1439,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "e38bf422.7c8768",
+ "id": "5713069a.52e6e",
"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": 6919.883331298828,
- "y": 3176.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6496.5,
+ "y": 1492,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "5474c24a.9f6dac",
+ "id": "9a759e0c.1860c8",
"type": "comment",
"name": "Create LEAF UNI",
"info": "",
"comments": "",
- "x": 6810.883331298828,
- "y": 3079.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6387.5,
+ "y": 1395,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "63adea28.503954",
+ "id": "147d7127.d8042f",
"type": "comment",
"name": "Create ROOT UNI",
"info": "",
"comments": "",
- "x": 6816.883331298828,
- "y": 3529.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6393.5,
+ "y": 1845,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "f07ffbda.6acb28",
+ "id": "91ebdf82.9979e",
"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='data-source' value='`$gfp`' />\n",
"comments": "",
"outputs": 1,
- "x": 4406.883087158203,
- "y": 5006.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4329.499755859375,
+ "y": 4964,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "5623ebdb.1a4534",
+ "id": "148c6264.137e86",
"type": "comment",
"name": "Create LEAF UNI",
"info": "",
"comments": "",
- "x": 4390.883087158203,
- "y": 4962.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4313.499755859375,
+ "y": 4920,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "4b470452.112d8c",
+ "id": "c1a606a9.56c798",
"type": "comment",
"name": "Create LEAF connectivity",
"info": "",
"comments": "",
- "x": 5137.883087158203,
- "y": 4993.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5060.499755859375,
+ "y": 4951,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "effc1efd.4a1d3",
+ "id": "fd2b62b6.10b14",
"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": 5224.883087158203,
- "y": 5035.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5147.499755859375,
+ "y": 4993,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "5c8eea0c.68cc14",
+ "id": "f21eb35f.395438",
"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='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 5172.883087158203,
- "y": 5083.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5095.499755859375,
+ "y": 5041,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "e7adda57.489d68",
+ "id": "59f69d26.ab3de4",
"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": 5300.883087158203,
- "y": 5130.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5223.499755859375,
+ "y": 5088,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "95bef4a8.5a7ff8",
+ "id": "59b34ffd.7f824",
"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": 4477.883087158203,
- "y": 5415.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4391.500244140625,
+ "y": 5255,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "63c65355.a8cec4",
+ "id": "9d4ad6d0.458de8",
"type": "comment",
"name": "populate connectivity-B variable in the context map",
"info": "",
"comments": "",
- "x": 4460.883087158203,
- "y": 5477.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4374.500244140625,
+ "y": 5317,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "afa31c79.54acd8",
+ "id": "436ccdfb.1e8f5c",
"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": 4571.883087158203,
- "y": 5519.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4485.500244140625,
+ "y": 5359,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "be0ea96a.8229",
+ "id": "3e23ff77.47e2b",
"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": 5019.883087158203,
- "y": 5572.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4942.499755859375,
+ "y": 5530,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "4ebf5b73.f18c34",
+ "id": "ff11fb03.980398",
"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": 4329.883087158203,
- "y": 6270.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4252.499755859375,
+ "y": 6228,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "58b6c88a.c0b81",
+ "id": "4e6fe55.c2f201c",
"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='data-source' value='`$gfp`' />\n",
"comments": "",
"outputs": 1,
- "x": 4262.883087158203,
- "y": 6224.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4185.499755859375,
+ "y": 6182,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "cd721269.4316d8",
+ "id": "79eda8bd.206ac",
"type": "comment",
"name": "Create LEAF UNI",
"info": "",
"comments": "",
- "x": 4211.883087158203,
- "y": 6175.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4134.499755859375,
+ "y": 6133,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "be012245.15127",
+ "id": "2a4071b4.a3adee",
"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": 4994.883331298828,
- "y": 6381.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4917.5,
+ "y": 6339,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "e8807ba5.c313d8",
+ "id": "124f51e3.777566",
"type": "switchNode",
"name": "switch found-root-connectivity",
"xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4398.883087158203,
- "y": 5576.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4312.500244140625,
+ "y": 5416,
+ "z": "4138d8f7.da252",
"wires": [
[
- "572d7988.ef657",
- "f53c00f0.cf63b8"
+ "ce39c047.e7ad38",
+ "bd96b648.334cf8"
]
]
},
{
- "id": "572d7988.ef657",
+ "id": "ce39c047.e7ad38",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4609.883087158203,
- "y": 5576.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4523.500244140625,
+ "y": 5416,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a96de56.d3d4f18"
+ "acd66ccf.e95b3"
]
]
},
{
- "id": "a96de56.d3d4f18",
+ "id": "acd66ccf.e95b3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4765.883087158203,
- "y": 5572.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4679.500244140625,
+ "y": 5412,
+ "z": "4138d8f7.da252",
"wires": [
[
- "be0ea96a.8229",
- "d676c28d.645a28",
- "bc2e1526.9ae628"
+ "3e23ff77.47e2b",
+ "1f30d01.395cc3",
+ "58a0b8d5.3916c8"
]
]
},
{
- "id": "f53c00f0.cf63b8",
+ "id": "bd96b648.334cf8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4605.883087158203,
- "y": 5624.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4519.500244140625,
+ "y": 5464,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d258f77c.8cc748"
+ "2c5c5163.2ee716"
]
]
},
{
- "id": "d258f77c.8cc748",
+ "id": "2c5c5163.2ee716",
"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": 4753.883087158203,
- "y": 5619.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4667.500244140625,
+ "y": 5459,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "5438b6e6.1482f8",
+ "id": "8af1d85e.882ed",
"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": 5261.883087158203,
- "y": 5201.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5184.499755859375,
+ "y": 5159,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "42097510.f58b64",
+ "id": "cf6d7172.69b4b8",
"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": 2428.883331298828,
- "y": 160.88333129882812,
- "z": "1854297c.6f0f4f",
+ "x": 2351.5,
+ "y": 118,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "7a55e6a1.70e4b",
+ "id": "326038f4.f291a",
"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": 2362.883331298828,
- "y": 196.88333129882812,
- "z": "1854297c.6f0f4f",
+ "x": 2285.5,
+ "y": 154,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "bf79a82b.b4ff98",
+ "id": "2bce3640.48de4a",
"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": 2547.883331298828,
- "y": 123.88333129882812,
- "z": "1854297c.6f0f4f",
+ "x": 2470.5,
+ "y": 81,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "7675dfe3.26b5f8",
+ "id": "7170f2f2.71fadc",
"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": 4296.883087158203,
- "y": 6336.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4219.499755859375,
+ "y": 6294,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "ce5c7ab5.bd83c8",
+ "id": "2402858c.2e7c4a",
"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": 4429.883087158203,
- "y": 6384.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4352.499755859375,
+ "y": 6342,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "60efc6f5.6c666",
+ "id": "2fcf2035.98d3c",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4248.883087158203,
- "y": 6442.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4171.499755859375,
+ "y": 6400,
+ "z": "4138d8f7.da252",
"wires": [
[
- "f080a66c.4f7ec8",
- "652b319b.ab8708"
+ "c3761e40.b25338",
+ "ce543bbd.a7b0f8"
]
]
},
{
- "id": "f080a66c.4f7ec8",
+ "id": "c3761e40.b25338",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4441.883087158203,
- "y": 6443.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4364.499755859375,
+ "y": 6401,
+ "z": "4138d8f7.da252",
"wires": [
[
- "10a44adb.d38a25"
+ "70442e7d.0be548"
]
]
},
{
- "id": "10a44adb.d38a25",
+ "id": "70442e7d.0be548",
"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": 4597.883087158203,
- "y": 6440.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4520.499755859375,
+ "y": 6398,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "652b319b.ab8708",
+ "id": "ce543bbd.a7b0f8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4445.883087158203,
- "y": 6487.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4368.499755859375,
+ "y": 6445,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a7138657.394d98"
+ "47cf8ce2.24939c"
]
]
},
{
- "id": "a7138657.394d98",
+ "id": "47cf8ce2.24939c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4584.883087158203,
- "y": 6482.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4507.499755859375,
+ "y": 6440,
+ "z": "4138d8f7.da252",
"wires": [
[
- "be012245.15127",
- "cc830633.a13cc",
- "cd9f0573.3ee2f8",
- "a5be208e.ddaeb8",
- "eaad5657.8cd72",
- "eb39c4f9.289008",
- "f25bfca7.d75338",
- "ea968dfa.497e7",
- "11d506a.c6a64f9",
- "d968015c.39cda8",
- "54a65e87.65172",
- "11c77751.f259a1",
- "9efae615.dd5ab"
+ "2a4071b4.a3adee",
+ "ca3ef968.6dda08",
+ "9655804c.a8367",
+ "94748373.e9e958",
+ "a0da2cb6.f8de08",
+ "5744849a.cc54ac",
+ "4e084c4a.411b3c",
+ "9bb50a9.812c6f8",
+ "5a3abbf9.5bd584",
+ "860af8d0.fc96e8",
+ "f942597e.1aa18",
+ "fc4aa587.17d69",
+ "afa717d0.25e7a8"
]
]
},
{
- "id": "f25bfca7.d75338",
+ "id": "4e084c4a.411b3c",
"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": 4781.883087158203,
- "y": 7161.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4704.499755859375,
+ "y": 7119,
+ "z": "4138d8f7.da252",
"wires": [
[
- "3dba1ed8.091bf2",
- "7f8f7997.fe796",
- "d8010c15.3a2778"
+ "b531f7cf.459858",
+ "14585404.95eb44",
+ "91bd86e2.073e5"
]
]
},
{
- "id": "3dba1ed8.091bf2",
+ "id": "b531f7cf.459858",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4976.88330078125,
- "y": 7137.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4899.499969482422,
+ "y": 7094.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "1b65a6f4.4e2729"
+ "7a861e6f.3259d"
]
]
},
{
- "id": "7f8f7997.fe796",
+ "id": "14585404.95eb44",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4969.374267578125,
- "y": 7174.457336425781,
- "z": "1854297c.6f0f4f",
+ "x": 4891.990936279297,
+ "y": 7131.574005126953,
+ "z": "4138d8f7.da252",
"wires": [
[
- "403902c8.70c854"
+ "7b4d1550.4d39b4"
]
]
},
{
- "id": "d8010c15.3a2778",
+ "id": "91bd86e2.073e5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4966.88330078125,
- "y": 7217.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4889.499969482422,
+ "y": 7174.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "ab2fcd35.01c098"
+ "c9793222.0d19b8"
]
]
},
{
- "id": "1b65a6f4.4e2729",
+ "id": "7a861e6f.3259d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5148.88330078125,
- "y": 7135.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 5071.499969482422,
+ "y": 7092.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c7100026.09f848"
+ "96392b44.e759e"
]
]
},
{
- "id": "403902c8.70c854",
+ "id": "7b4d1550.4d39b4",
"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": 5131.9456787109375,
- "y": 7174.743072509766,
- "z": "1854297c.6f0f4f",
+ "x": 5054.562347412109,
+ "y": 7131.8597412109375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "ab2fcd35.01c098",
+ "id": "c9793222.0d19b8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 5133.88330078125,
- "y": 7216.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 5056.499969482422,
+ "y": 7173.999969482422,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "c7100026.09f848",
+ "id": "96392b44.e759e",
"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": 5389.883087158203,
- "y": 7169.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5312.499755859375,
+ "y": 7127,
+ "z": "4138d8f7.da252",
"wires": [
[
- "746d723d.92756c"
+ "dcbe395c.2f719"
]
]
},
{
- "id": "746d723d.92756c",
+ "id": "dcbe395c.2f719",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5626.883087158203,
- "y": 7165.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5549.499755859375,
+ "y": 7123,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c84e8944.ab748"
+ "d5739a70.ba04c"
]
]
},
{
- "id": "9e3ec759.f9e0d",
+ "id": "6bd2c51b.a65de4",
"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": 5893.883087158203,
- "y": 7131.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5816.499755859375,
+ "y": 7089,
+ "z": "4138d8f7.da252",
"wires": [
[
- "4fee4c24.360bcc",
- "4314046.5a68afc"
+ "c0446363.1c2dd",
+ "c5d80881.fdd1f"
]
]
},
{
- "id": "4fee4c24.360bcc",
+ "id": "c0446363.1c2dd",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 6074.883087158203,
- "y": 7157.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5997.499755859375,
+ "y": 7115,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c84e8944.ab748"
+ "d5739a70.ba04c"
]
]
},
{
- "id": "4314046.5a68afc",
+ "id": "c5d80881.fdd1f",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 6073.883087158203,
- "y": 7110.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5996.499755859375,
+ "y": 7068,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "c84e8944.ab748",
+ "id": "d5739a70.ba04c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4590.88330078125,
- "y": 7305.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4513.499969482422,
+ "y": 7262.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "cbf296b5.4a44d"
+ "edcf20b8.e61748"
]
]
},
{
- "id": "1eeaf51a.0f85d3",
+ "id": "4fecf72f.04fbc",
"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": 5666.883087158203,
- "y": 7337.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5589.499755859375,
+ "y": 7295,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "75dd5c17.2526e4",
+ "id": "c1969b50.1f4a7",
"type": "comment",
"name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",
"info": "",
"comments": "",
- "x": 4879.88330078125,
- "y": 7073.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4802.499969482422,
+ "y": 7030.999969482422,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "eb39c4f9.289008",
+ "id": "5744849a.cc54ac",
"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": 4763.883087158203,
- "y": 6957.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4686.499755859375,
+ "y": 6915,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "5dce4a96.7e6e5c",
+ "id": "3d6f4e35.1dbdf2",
"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": 5108.883087158203,
- "y": 6788.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5031.499755859375,
+ "y": 6746,
+ "z": "4138d8f7.da252",
"wires": [
[
- "f4b6cbdd.4872c"
+ "1b824e77.058e42"
]
]
},
{
- "id": "f4b6cbdd.4872c",
+ "id": "1b824e77.058e42",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5328.883087158203,
- "y": 6794.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5251.499755859375,
+ "y": 6752,
+ "z": "4138d8f7.da252",
"wires": [
[
- "49771dd5.9b717c"
+ "2ab4f0b.650811"
]
]
},
{
- "id": "49771dd5.9b717c",
+ "id": "2ab4f0b.650811",
"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": 5513.883087158203,
- "y": 6793.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5436.499755859375,
+ "y": 6751,
+ "z": "4138d8f7.da252",
"wires": [
[
- "444eff53.bd878"
+ "a23d4d14.87325"
]
]
},
{
- "id": "444eff53.bd878",
+ "id": "a23d4d14.87325",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5705.883087158203,
- "y": 6796.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5628.499755859375,
+ "y": 6754,
+ "z": "4138d8f7.da252",
"wires": [
[
- "149f57f1.fd7a"
+ "2907eab4.583386"
]
]
},
{
- "id": "149f57f1.fd7a",
+ "id": "2907eab4.583386",
"type": "set",
"name": "set otnTopoIdSrc",
"xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
"comments": "",
- "x": 5914.883087158203,
- "y": 6794.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5837.499755859375,
+ "y": 6752,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "ea968dfa.497e7",
+ "id": "9bb50a9.812c6f8",
"type": "for",
"name": "for netwidx..allNetworksList_length",
"xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",
"comments": "",
"outputs": 1,
- "x": 4815.883087158203,
- "y": 6782.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4738.499755859375,
+ "y": 6740,
+ "z": "4138d8f7.da252",
"wires": [
[
- "5dce4a96.7e6e5c"
+ "3d6f4e35.1dbdf2"
]
]
},
{
- "id": "cd9f0573.3ee2f8",
+ "id": "9655804c.a8367",
"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": 4823.883087158203,
- "y": 6675.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4746.499755859375,
+ "y": 6633,
+ "z": "4138d8f7.da252",
"wires": [
[
- "e6c84893.53204",
- "5e294103.3f0c78",
- "8261318b.eb457"
+ "e3853ecb.86ffa8",
+ "e9c51b36.8628d",
+ "65b57cea.285c3c"
]
]
},
{
- "id": "e6c84893.53204",
+ "id": "e3853ecb.86ffa8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5059.883087158203,
- "y": 6658.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4982.499755859375,
+ "y": 6616,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "5e294103.3f0c78",
+ "id": "e9c51b36.8628d",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5056.883087158203,
- "y": 6699.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4979.499755859375,
+ "y": 6657,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "8261318b.eb457",
+ "id": "65b57cea.285c3c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5070.883087158203,
- "y": 6739.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4993.499755859375,
+ "y": 6697,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "a5be208e.ddaeb8",
+ "id": "94748373.e9e958",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
"comments": "",
- "x": 4759.883087158203,
- "y": 6834.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4682.499755859375,
+ "y": 6792,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "eaad5657.8cd72",
+ "id": "a0da2cb6.f8de08",
"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": 4767.883087158203,
- "y": 6892.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4690.499755859375,
+ "y": 6850,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "cc830633.a13cc",
+ "id": "ca3ef968.6dda08",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",
"comments": "",
- "x": 4772.883087158203,
- "y": 6632.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4695.499755859375,
+ "y": 6590,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "904e1ae5.bbd558",
+ "id": "85cec0fe.92a4b",
"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": 4887.883087158203,
- "y": 6584.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4810.499755859375,
+ "y": 6542,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "cbf296b5.4a44d",
+ "id": "edcf20b8.e61748",
"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": 4880.88330078125,
- "y": 7300.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4803.499969482422,
+ "y": 7257.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a993ecb7.4e75a",
- "50a501d.eb089"
+ "e8e7019e.0ce4e8",
+ "cf2cb292.2ab218"
]
]
},
{
- "id": "a993ecb7.4e75a",
+ "id": "e8e7019e.0ce4e8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5136.88330078125,
- "y": 7272.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 5059.499969482422,
+ "y": 7229.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2f3de295.447b1e"
+ "2fafeba7.6be734"
]
]
},
{
- "id": "50a501d.eb089",
+ "id": "cf2cb292.2ab218",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5136.88330078125,
- "y": 7321.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 5059.499969482422,
+ "y": 7278.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "ed22a86b.d791b8",
+ "id": "997dfd42.35e9c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5402.88330078125,
- "y": 7313.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 5325.499969482422,
+ "y": 7270.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "5c9c1b49.b9b35c",
- "1eeaf51a.0f85d3",
- "e4035d6c.e05158"
+ "fd323ea3.0ba61",
+ "4fecf72f.04fbc",
+ "8645a39d.96b86"
]
]
},
{
- "id": "f63796a1.344c48",
+ "id": "81edaff5.fe8de8",
"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": 5794.883087158203,
- "y": 7391.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5717.499755859375,
+ "y": 7349,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "e4035d6c.e05158",
+ "id": "8645a39d.96b86",
"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": 5764.883087158203,
- "y": 7451.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5687.499755859375,
+ "y": 7409,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "5c9c1b49.b9b35c",
+ "id": "fd323ea3.0ba61",
"type": "set",
"name": "unset tmp.aai.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",
"comments": "",
- "x": 5671.883087158203,
- "y": 7279.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5594.499755859375,
+ "y": 7237,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "2ed5b6b9.722642",
+ "id": "a2f25d49.46cd88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4021.883331298828,
- "y": 5917.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3944.5,
+ "y": 5875,
+ "z": "4138d8f7.da252",
"wires": [
[
- "58b6c88a.c0b81",
- "7675dfe3.26b5f8",
- "ce5c7ab5.bd83c8",
- "60efc6f5.6c666",
- "4ebf5b73.f18c34"
+ "4e6fe55.c2f201c",
+ "7170f2f2.71fadc",
+ "2402858c.2e7c4a",
+ "2fcf2035.98d3c",
+ "ff11fb03.980398"
]
]
},
{
- "id": "8e0e6c35.35f418",
+ "id": "d7183096.a014a",
"type": "set",
"name": "unset otnTopoIdSrc",
"xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",
"comments": "",
- "x": 4764.883087158203,
- "y": 6732.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4687.499755859375,
+ "y": 6690,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "11d506a.c6a64f9",
+ "id": "5a3abbf9.5bd584",
"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": 4887.883331298828,
- "y": 6462.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4810.5,
+ "y": 6420,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "4d39072e.34b5f8",
+ "id": "48e1585a.35691",
"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": 5024.883331298828,
- "y": 6412.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4947.5,
+ "y": 6370,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "1698c025.c5ee78",
+ "id": "829d6c73.aa7da8",
"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='data-source' value='`$gfp`' />\n",
"comments": "",
"outputs": 1,
- "x": 6832.883331298828,
- "y": 3588.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6409.5,
+ "y": 1904,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "63d6aa7c.b5a514",
+ "id": "261b01ae.fe9b36",
"type": "comment",
"name": "NOT NEEDED ANYMORE?",
"info": "",
"comments": "",
- "x": 4038.883331298828,
- "y": 1813.8833312988281,
- "z": "1854297c.6f0f4f",
+ "x": 3675.5,
+ "y": 1298,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "3aa74194.8661ee",
+ "id": "f92c744c.f5b4a8",
"type": "comment",
"name": "NOT NEEDED ANYMORE?",
"info": "",
"comments": "",
- "x": 4016.883331298828,
- "y": 2683.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3813.5,
+ "y": 1786,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "b098a36d.e0c3e",
+ "id": "a9675d4a.27492",
"type": "comment",
"name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",
"info": "",
"comments": "",
- "x": 6823.883331298828,
- "y": 4055.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 6370.5,
+ "y": 2616,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "2f2ed9c0.e0663e",
- "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": 3528.883331298828,
- "y": 6057.883331298828,
- "z": "1854297c.6f0f4f",
- "wires": [
- []
- ]
- },
- {
- "id": "28b03e50.9f7992",
+ "id": "577ac65e.4cd8e8",
"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": 3739.883331298828,
- "y": 4934.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3662.5,
+ "y": 4892,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "980b4828.96504",
+ "id": "c33c721b.c24a68",
"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": 3872.883331298828,
- "y": 4982.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3795.5,
+ "y": 4940,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "78d94074.f38b7",
+ "id": "3da01b2d.c332ec",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4417.883087158203,
- "y": 5062.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4340.499755859375,
+ "y": 5020,
+ "z": "4138d8f7.da252",
"wires": [
[
- "bc43fa2d.411608",
- "7dd6f63d.8487f"
+ "67f3fde2.d1c4bc",
+ "830cc023.8d75b8"
]
]
},
{
- "id": "bc43fa2d.411608",
+ "id": "67f3fde2.d1c4bc",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4610.883087158203,
- "y": 5063.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4533.499755859375,
+ "y": 5021,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c471dfd.f92dba"
+ "97ecf17d.e53ae8"
]
]
},
{
- "id": "7dd6f63d.8487f",
+ "id": "830cc023.8d75b8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4614.883087158203,
- "y": 5107.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4537.499755859375,
+ "y": 5065,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a8ff6a7c.81ae98"
+ "e6486dc.92da59"
]
]
},
{
- "id": "a8ff6a7c.81ae98",
+ "id": "e6486dc.92da59",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4753.883087158203,
- "y": 5102.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4676.499755859375,
+ "y": 5060,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a2ef082b.b2f048",
- "fa92cb40.708c7",
- "c4bba10e.ae5948"
+ "f9d2f7c1.e8a63",
+ "2f9c4db0.869cca",
+ "cfcbce5e.a3353"
]
]
},
{
- "id": "c471dfd.f92dba",
+ "id": "97ecf17d.e53ae8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4753.883087158203,
- "y": 5059.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4676.499755859375,
+ "y": 5017,
+ "z": "4138d8f7.da252",
"wires": [
[
- "effc1efd.4a1d3",
- "5c8eea0c.68cc14",
- "e7adda57.489d68",
- "5438b6e6.1482f8"
+ "fd2b62b6.10b14",
+ "f21eb35f.395438",
+ "59f69d26.ab3de4",
+ "8af1d85e.882ed"
]
]
},
{
- "id": "a2ef082b.b2f048",
+ "id": "f9d2f7c1.e8a63",
"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": 5147.883087158203,
- "y": 5353.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5070.499755859375,
+ "y": 5311,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "963dc7de.4f275",
+ "id": "a14dbd8f.fd09c8",
"type": "comment",
"name": "populate connectivity-A variable in the context map",
"info": "",
"comments": "",
- "x": 5154.883087158203,
- "y": 5307.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5077.499755859375,
+ "y": 5265,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "d968015c.39cda8",
+ "id": "860af8d0.fc96e8",
"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": 4944.88330078125,
- "y": 7022.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4867.499969482422,
+ "y": 6979.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "fa92cb40.708c7",
+ "id": "2f9c4db0.869cca",
"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": 5266.883087158203,
- "y": 5406.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5189.499755859375,
+ "y": 5364,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "d676c28d.645a28",
+ "id": "1f30d01.395cc3",
"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": 5148.883087158203,
- "y": 5624.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5071.499755859375,
+ "y": 5582,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "3d7bbeb8.4fb6ea",
+ "id": "f7b3410e.fff05",
"type": "comment",
"name": "Update ROOT UNI's bw",
"info": "",
"comments": "",
- "x": 3703.883331298828,
- "y": 4532.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3617.5,
+ "y": 4341,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "b16bd91d.551568",
+ "id": "7607e020.fe77f",
"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": 4037.883331298828,
- "y": 4715.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3951.5,
+ "y": 4524,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "17af28da.ceda4f",
+ "id": "e8ff43f0.c9213",
"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": 3649.883331298828,
- "y": 4582.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3563.5,
+ "y": 4391,
+ "z": "4138d8f7.da252",
"wires": [
[
- "1c28f8e9.5cfb07",
- "7bdf0726.9bbbb8",
- "d03c4576.8b0b7"
+ "3f20a2e3.9197ce",
+ "836b51a4.29ff7",
+ "a19206dd.24a2b8"
]
]
},
{
- "id": "7bdf0726.9bbbb8",
+ "id": "836b51a4.29ff7",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3877.374298095703,
- "y": 4555.457305908203,
- "z": "1854297c.6f0f4f",
+ "x": 3790.990966796875,
+ "y": 4363.573974609375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "6a9d8f.c783f27"
+ "cc477903.35a1a8"
]
]
},
{
- "id": "d03c4576.8b0b7",
+ "id": "a19206dd.24a2b8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3872.883331298828,
- "y": 4599.883270263672,
- "z": "1854297c.6f0f4f",
+ "x": 3786.5,
+ "y": 4407.999938964844,
+ "z": "4138d8f7.da252",
"wires": [
[
- "732d0fc7.ef1e4"
+ "9ac9aba4.1e8ac"
]
]
},
{
- "id": "6a9d8f.c783f27",
+ "id": "cc477903.35a1a8",
"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": 4039.945831298828,
- "y": 4554.743011474609,
- "z": "1854297c.6f0f4f",
+ "x": 3953.5625,
+ "y": 4362.859680175781,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "732d0fc7.ef1e4",
+ "id": "9ac9aba4.1e8ac",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4040.883331298828,
- "y": 4599.883270263672,
- "z": "1854297c.6f0f4f",
+ "x": 3954.5,
+ "y": 4407.999938964844,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "2b632ac5.849276",
+ "id": "44a45bc4.fd8d24",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3825.883331298828,
- "y": 4672.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3739.5,
+ "y": 4481,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d3a7ff82.f011",
- "b16bd91d.551568"
+ "8f06a9d6.e85d2",
+ "7607e020.fe77f"
]
]
},
{
- "id": "1c28f8e9.5cfb07",
+ "id": "3f20a2e3.9197ce",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3656.883331298828,
- "y": 4672.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3570.5,
+ "y": 4481,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2b632ac5.849276"
+ "44a45bc4.fd8d24"
]
]
},
{
- "id": "d3a7ff82.f011",
+ "id": "8f06a9d6.e85d2",
"type": "set",
"name": "set new bw",
"xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",
"comments": "",
- "x": 4014.883331298828,
- "y": 4664.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3928.5,
+ "y": 4473,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "2c43e5ee.399d8a",
+ "id": "c23415ae.23176",
"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": 3847.883331298828,
- "y": 4810.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3770.5,
+ "y": 4768,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "97722063.27aea",
+ "id": "cb253b17.73576",
"type": "comment",
"name": "We are doing modify but middle man does not exist ==> it is definitely a new logical link",
"info": "",
"comments": "",
- "x": 3630.883331298828,
- "y": 2893.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3553.5,
+ "y": 2851,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "65778a7a.89ed44",
+ "id": "9d7a29e5.a75ec",
"type": "comment",
"name": "We are doing modify and middle man exists, check if LEAF UNI already exists in AAI or not. If yes, consider the possible bw change. If it does not, then it is a new link needs to be added",
"info": "",
"comments": "",
- "x": 3485.883331298828,
- "y": 4460.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 2758.5,
+ "y": 4413,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "a2d538df.980d68",
+ "id": "8b862d24.0bbe68",
"type": "exists",
"name": "exists LEAF UNI",
"xml": "<exists plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",
"comments": "",
"outputs": 1,
- "x": 3258.883331298828,
- "y": 4728.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3181.5,
+ "y": 4686,
+ "z": "4138d8f7.da252",
"wires": [
[
- "43a12633.7a37a8",
- "6d14b300.778b24"
+ "b605d8db.884f2",
+ "fdd54f31.8fbee"
]
]
},
{
- "id": "7ebd19ad.940af8",
+ "id": "db2110db.2b1778",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3090.883331298828,
- "y": 4731.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3013.5,
+ "y": 4689,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a2d538df.980d68"
+ "8b862d24.0bbe68"
]
]
},
{
- "id": "6d14b300.778b24",
+ "id": "fdd54f31.8fbee",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3421.883331298828,
- "y": 4747.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3344.5,
+ "y": 4705,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d74b6b50.22dd88"
+ "9f11b3.a8080e5"
]
]
},
{
- "id": "43a12633.7a37a8",
+ "id": "b605d8db.884f2",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3457.883331298828,
- "y": 3354.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3380.5,
+ "y": 3312,
+ "z": "4138d8f7.da252",
"wires": [
[
- "fd9ecd52.f0eec"
+ "947600ba.b5e73"
]
]
},
{
- "id": "58f27ca9.e6694c",
+ "id": "4f6ce4fa.367e24",
"type": "switchNode",
"name": "switch leafuni.data-source == gfp",
"xml": "<switch test='`$tmp.aai.leafuni.data-source == $gfp`'>\n",
"comments": "",
"outputs": 1,
- "x": 3773.883331298828,
- "y": 3406.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3729.5,
+ "y": 3154,
+ "z": "4138d8f7.da252",
"wires": [
[
- "f8970eb9.db20d",
- "767d527f.e764f4"
+ "cc96bd45.2e2b6",
+ "f9a0faf9.5c3dc8"
]
]
},
{
- "id": "f8970eb9.db20d",
+ "id": "cc96bd45.2e2b6",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3978.883331298828,
- "y": 3402.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3934.5,
+ "y": 3150,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "767d527f.e764f4",
+ "id": "f9a0faf9.5c3dc8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3980.883331298828,
- "y": 3452.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3936.5,
+ "y": 3200,
+ "z": "4138d8f7.da252",
"wires": [
[
- "e0571d8f.b0d5c"
+ "7a40f51a.96d7fc"
]
]
},
{
- "id": "e0571d8f.b0d5c",
+ "id": "7a40f51a.96d7fc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4136.883331298828,
- "y": 3458.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4092.5,
+ "y": 3206,
+ "z": "4138d8f7.da252",
"wires": [
[
- "29bbf41c.92a224",
- "892518e7.2c6e68",
- "36c28209.5e5a0e",
- "b822f518.1b138"
+ "2c2d832.1ec14fc",
+ "16e3f1c0.bf6bbe",
+ "3515662b.208b2a",
+ "271e520.e6acbae"
]
]
},
{
- "id": "29bbf41c.92a224",
+ "id": "2c2d832.1ec14fc",
"type": "set",
"name": "set bwModified",
"xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",
"comments": "",
- "x": 4362.883575439453,
- "y": 3199.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4318.500244140625,
+ "y": 2947,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "f218f6e.d910588",
+ "id": "f6d89aab.47f778",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4894.883056640625,
- "y": 4286.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4817.499725341797,
+ "y": 4243.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a5aad4b.a7f08a8",
- "7594985d.bdad18"
+ "f49c2dcf.bc27d8",
+ "cc8917f6.431d58"
]
]
},
{
- "id": "7594985d.bdad18",
+ "id": "cc8917f6.431d58",
"type": "set",
"name": "unset tmp.aai.vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
"comments": "",
- "x": 5096.8828125,
- "y": 4253.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 5019.499481201172,
+ "y": 4210.999969482422,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "a04d2a4d.17b14",
+ "id": "a80257aa.4070f",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4780.88330078125,
- "y": 4463.883056640625,
- "z": "1854297c.6f0f4f",
+ "x": 4703.499969482422,
+ "y": 4420.999725341797,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "3892fdc5.2518b2",
+ "id": "d0212ac6.85c08",
"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": 4777.9454345703125,
- "y": 4412.743072509766,
- "z": "1854297c.6f0f4f",
+ "x": 4700.562103271484,
+ "y": 4369.8597412109375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "809a6f2e.e2cff",
+ "id": "efad35a4.dd1e7",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 4360.883056640625,
- "y": 4286.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4283.499725341797,
+ "y": 4243.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "663c1b4b.a64fcc"
+ "bbd4adaa.78aa88"
]
]
},
{
- "id": "663c1b4b.a64fcc",
+ "id": "bbd4adaa.78aa88",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4565.883056640625,
- "y": 4286.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4488.499725341797,
+ "y": 4243.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "4c765f5a.bea65"
+ "7d1062e5.6c959c"
]
]
},
{
- "id": "4c765f5a.bea65",
+ "id": "7d1062e5.6c959c",
"type": "outcome",
"name": "vpn-binding",
"xml": "<outcome value='vpn-binding'>\n",
"comments": "",
"outputs": 1,
- "x": 4731.883056640625,
- "y": 4286.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4654.499725341797,
+ "y": 4243.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "f218f6e.d910588"
+ "f6d89aab.47f778"
]
]
},
{
- "id": "a5aad4b.a7f08a8",
+ "id": "f49c2dcf.bc27d8",
"type": "save",
"name": "get vpn-binding from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
"comments": "",
"outputs": 1,
- "x": 4403.883056640625,
- "y": 4364.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4326.499725341797,
+ "y": 4321.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "6b0b4a54.7d0dd4",
- "c44b1722.eadf8",
- "30cd81de.fee396"
+ "2b073b5b.643194",
+ "ffd59a4c.14fa7",
+ "2abdbd7a.263a72"
]
]
},
{
- "id": "6b0b4a54.7d0dd4",
+ "id": "2b073b5b.643194",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4614.883056640625,
- "y": 4366.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4537.499725341797,
+ "y": 4323.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d1d7ad20.29b52"
+ "b25769d8.6df3c8"
]
]
},
{
- "id": "c44b1722.eadf8",
+ "id": "ffd59a4c.14fa7",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4615.3740234375,
- "y": 4412.457336425781,
- "z": "1854297c.6f0f4f",
+ "x": 4537.990692138672,
+ "y": 4369.574005126953,
+ "z": "4138d8f7.da252",
"wires": [
[
- "3892fdc5.2518b2"
+ "d0212ac6.85c08"
]
]
},
{
- "id": "30cd81de.fee396",
+ "id": "2abdbd7a.263a72",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4612.883056640625,
- "y": 4455.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 4535.499725341797,
+ "y": 4412.999969482422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a04d2a4d.17b14"
+ "a80257aa.4070f"
]
]
},
{
- "id": "fd9ecd52.f0eec",
+ "id": "947600ba.b5e73",
"type": "save",
"name": "get LEAF uni from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.LEAF.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.leafuni\" >\n",
"comments": "",
"outputs": 1,
- "x": 3647.883331298828,
- "y": 3249.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3603.5,
+ "y": 2997,
+ "z": "4138d8f7.da252",
"wires": [
[
- "3062cdfd.42c69a",
- "db9f52e5.d7dfa8",
- "aae84cfb.f1edc"
+ "6a786745.af48",
+ "a633d7c2.0708",
+ "f368276f.48f958"
]
]
},
{
- "id": "db9f52e5.d7dfa8",
+ "id": "a633d7c2.0708",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3875.374298095703,
- "y": 3222.457305908203,
- "z": "1854297c.6f0f4f",
+ "x": 3830.990966796875,
+ "y": 2969.573974609375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "557116c4.068f88"
+ "30a6f1cd.e89f6e"
]
]
},
{
- "id": "aae84cfb.f1edc",
+ "id": "f368276f.48f958",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3870.883331298828,
- "y": 3266.883270263672,
- "z": "1854297c.6f0f4f",
+ "x": 3826.5,
+ "y": 3013.9999389648438,
+ "z": "4138d8f7.da252",
"wires": [
[
- "270e15a6.70575a"
+ "868e3def.777d88"
]
]
},
{
- "id": "557116c4.068f88",
+ "id": "30a6f1cd.e89f6e",
"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": 4037.945831298828,
- "y": 3221.7430114746094,
- "z": "1854297c.6f0f4f",
+ "x": 3993.5625,
+ "y": 2968.8596801757812,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "270e15a6.70575a",
+ "id": "868e3def.777d88",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4038.883331298828,
- "y": 3266.883270263672,
- "z": "1854297c.6f0f4f",
+ "x": 3994.5,
+ "y": 3013.9999389648438,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "3062cdfd.42c69a",
+ "id": "6a786745.af48",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3882.883331298828,
- "y": 3316.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 3838.5,
+ "y": 3064,
+ "z": "4138d8f7.da252",
"wires": [
[
- "58f27ca9.e6694c"
+ "4f6ce4fa.367e24"
]
]
},
{
- "id": "d823dcb2.3ea1b",
+ "id": "e1ab631b.742fc",
"type": "comment",
"name": "Find LEAF and ROOT connectivity, then find vpn-bindings of each. adjust bw",
"info": "",
"comments": "",
- "x": 3772.7666625976562,
- "y": 3507.7666625976562,
- "z": "1854297c.6f0f4f",
+ "x": 3728.383331298828,
+ "y": 3254.883331298828,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "a7eccb2d.bd2018",
+ "id": "9ac35f29.2f46a8",
"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": 3787.483428955078,
- "y": 3859.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 3710.10009765625,
+ "y": 3816.683349609375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "a53a5ddb.dd60f",
+ "id": "3dda5d6b.eae642",
"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": 3925.483428955078,
- "y": 3917.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 3848.10009765625,
+ "y": 3874.683349609375,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "892518e7.2c6e68",
+ "id": "16e3f1c0.bf6bbe",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3503.483428955078,
- "y": 3598.966583251953,
- "z": "1854297c.6f0f4f",
+ "x": 3426.10009765625,
+ "y": 3556.083251953125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b4ed3622.c08",
- "c0c356fb.babc",
- "67daf127.7e6a38"
+ "616a588c.b788e8",
+ "23b69bc.0871b64",
+ "92806e4e.351398"
]
]
},
{
- "id": "fce3ea32.0915b",
+ "id": "14abd55c.d773d3",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 3744.483428955078,
- "y": 4027.366729736328,
- "z": "1854297c.6f0f4f",
+ "x": 3667.10009765625,
+ "y": 3984.4833984375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "fda5acc2.f20fe",
- "e480dda8.f10d98"
+ "5c65738b.87fde4",
+ "f1d641f8.d259a8"
]
]
},
{
- "id": "fda5acc2.f20fe",
+ "id": "5c65738b.87fde4",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3937.483428955078,
- "y": 4028.366729736328,
- "z": "1854297c.6f0f4f",
+ "x": 3860.10009765625,
+ "y": 3985.4833984375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "90393c50.c5c688"
+ "65a9280d.a9da1"
]
]
},
{
- "id": "e480dda8.f10d98",
+ "id": "f1d641f8.d259a8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3941.483428955078,
- "y": 4072.366729736328,
- "z": "1854297c.6f0f4f",
+ "x": 3864.10009765625,
+ "y": 4029.4833984375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c7e0a8ee.d6f32"
+ "5b392e39.74c58"
]
]
},
{
- "id": "c7e0a8ee.d6f32",
+ "id": "5b392e39.74c58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4080.483428955078,
- "y": 4067.366729736328,
- "z": "1854297c.6f0f4f",
+ "x": 4003.10009765625,
+ "y": 4024.4833984375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "809a6f2e.e2cff"
+ "efad35a4.dd1e7"
]
]
},
{
- "id": "90393c50.c5c688",
+ "id": "65a9280d.a9da1",
"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=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",
"comments": "",
- "x": 4081.483428955078,
- "y": 4024.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 4004.10009765625,
+ "y": 3981.683349609375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "36c28209.5e5a0e",
+ "id": "3515662b.208b2a",
"type": "switchNode",
"name": "switch leafuni.data-source > gfp",
"xml": "<switch test='`$tmp.aai.leafuni.data-source > $gfp`'>\n",
"comments": "",
"outputs": 1,
- "x": 4396.600372314453,
- "y": 3456.166778564453,
- "z": "1854297c.6f0f4f",
+ "x": 4352.217041015625,
+ "y": 3203.283447265625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "beb5c16.4204b4",
- "cf431e74.d4d548"
+ "d3894fc3.10eb48",
+ "b517f9eb.6c257"
]
]
},
{
- "id": "beb5c16.4204b4",
+ "id": "d3894fc3.10eb48",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4595.767364501953,
- "y": 3522.766632080078,
- "z": "1854297c.6f0f4f",
+ "x": 4551.384033203125,
+ "y": 3269.88330078125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "105d466c.be1d02"
+ "d481f8d7.46db"
]
]
},
{
- "id": "cf431e74.d4d548",
+ "id": "b517f9eb.6c257",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4617.767364501953,
- "y": 3367.766632080078,
- "z": "1854297c.6f0f4f",
+ "x": 4573.384033203125,
+ "y": 3114.88330078125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "8c32ddc1.dc0d4"
+ "543771c5.3e82b"
]
]
},
{
- "id": "b822f518.1b138",
+ "id": "271e520.e6acbae",
"type": "save",
"name": "update LEAF UNI in AAI",
"xml": "<update 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='data-source' value='`$gfp`' />\n",
"comments": "",
"outputs": 1,
- "x": 4395.600372314453,
- "y": 3311.366729736328,
- "z": "1854297c.6f0f4f",
+ "x": 4351.217041015625,
+ "y": 3058.4833984375,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "3f7a0e0a.9d9b82",
+ "id": "5841cd16.599de4",
"type": "comment",
"name": "update LEAF UNI with the new bw",
"info": "",
"comments": "",
- "x": 4411.767364501953,
- "y": 3264.766632080078,
- "z": "1854297c.6f0f4f",
+ "x": 4367.384033203125,
+ "y": 3011.88330078125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "fd150e87.231aa",
+ "id": "c6724a1e.a746a",
"type": "comment",
"name": "Update ROOT UNI's bw",
"info": "",
"comments": "",
- "x": 5080.533966064453,
- "y": 3241.766632080078,
- "z": "1854297c.6f0f4f",
+ "x": 4922.14990234375,
+ "y": 2466.88330078125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "c5a29e92.7207c",
+ "id": "f5319096.b377c8",
"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": 5682.533966064453,
- "y": 3346.766632080078,
- "z": "1854297c.6f0f4f",
+ "x": 5524.14990234375,
+ "y": 2571.88330078125,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "be41e2f.9cfd32",
+ "id": "1d10f282.65ef3d",
"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": 5072.533721923828,
- "y": 3287.766632080078,
- "z": "1854297c.6f0f4f",
+ "x": 4914.149658203125,
+ "y": 2512.88330078125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2e2379b.d7f7006",
- "db5acda.eac92b",
- "bc7f8b0.aa27df8"
+ "e6ffa5af.877ac",
+ "53ba0501.50937c",
+ "f8ebf6c0.ef2f7"
]
]
},
{
- "id": "db5acda.eac92b",
+ "id": "53ba0501.50937c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5300.024688720703,
- "y": 3260.340606689453,
- "z": "1854297c.6f0f4f",
+ "x": 5141.640625,
+ "y": 2485.457275390625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "ac17b57a.282248"
+ "25bf7485.4207ec"
]
]
},
{
- "id": "bc7f8b0.aa27df8",
+ "id": "f8ebf6c0.ef2f7",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5295.533721923828,
- "y": 3304.766571044922,
- "z": "1854297c.6f0f4f",
+ "x": 5137.149658203125,
+ "y": 2529.8832397460938,
+ "z": "4138d8f7.da252",
"wires": [
[
- "57de8cb.81497f4"
+ "8cc56294.07b6a"
]
]
},
{
- "id": "ac17b57a.282248",
+ "id": "25bf7485.4207ec",
"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": 5462.596221923828,
- "y": 3259.6263122558594,
- "z": "1854297c.6f0f4f",
+ "x": 5304.212158203125,
+ "y": 2484.7429809570312,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "57de8cb.81497f4",
+ "id": "8cc56294.07b6a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 5463.533721923828,
- "y": 3304.766571044922,
- "z": "1854297c.6f0f4f",
+ "x": 5305.149658203125,
+ "y": 2529.8832397460938,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "9014714c.903978",
+ "id": "29839d19.ca2152",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5460.533721923828,
- "y": 3354.766632080078,
- "z": "1854297c.6f0f4f",
+ "x": 5302.149658203125,
+ "y": 2579.88330078125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "cb023eec.a5c808",
- "c5a29e92.7207c"
+ "4a49d064.4801a8",
+ "f5319096.b377c8"
]
]
},
{
- "id": "2e2379b.d7f7006",
+ "id": "e6ffa5af.877ac",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5291.533721923828,
- "y": 3354.766632080078,
- "z": "1854297c.6f0f4f",
+ "x": 5133.149658203125,
+ "y": 2579.88330078125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "9014714c.903978"
+ "29839d19.ca2152"
]
]
},
{
- "id": "cb023eec.a5c808",
+ "id": "4a49d064.4801a8",
"type": "set",
"name": "set new bw",
"xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $tmp.delta`' />\n",
"comments": "",
- "x": 5642.534454345703,
- "y": 3296.766632080078,
- "z": "1854297c.6f0f4f",
+ "x": 5484.150390625,
+ "y": 2521.88330078125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "6d766032.1486b8",
+ "id": "fc1d58de.266bc8",
"type": "comment",
"name": "bw+ has increased ",
"info": "",
"comments": "",
- "x": 4609.766662597656,
- "y": 3329.7666625976562,
- "z": "1854297c.6f0f4f",
+ "x": 4565.383331298828,
+ "y": 3076.883331298828,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "56336637.740a88",
+ "id": "81aa1dbe.56ac78",
"type": "comment",
"name": "bw- has decreased",
"info": "",
"comments": "",
- "x": 4608.600372314453,
- "y": 3486.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 4564.217041015625,
+ "y": 3233.683349609375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "e142830c.8ce718",
+ "id": "175559ed.ae176e",
"type": "comment",
"name": "Update ROOT UNI's bw",
"info": "",
"comments": "",
- "x": 5057.600372314453,
- "y": 3444.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 5013.21630859375,
+ "y": 2806.683349609375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "253cc252.2e7476",
+ "id": "b4d05ea3.ef437",
"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": 5659.600372314453,
- "y": 3549.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 5615.21630859375,
+ "y": 2911.683349609375,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "e936a38f.06f2b",
+ "id": "909ddf1c.4247f",
"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": 5049.600128173828,
- "y": 3490.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 5005.216064453125,
+ "y": 2852.683349609375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "6f1b7a54.b4f3a4",
- "7ba2b9f4.ea954",
- "c55de303.d0cb4"
+ "6ec56bfe.bf9374",
+ "ac80268f.768e5",
+ "a8e739ac.bd4b"
]
]
},
{
- "id": "7ba2b9f4.ea954",
+ "id": "ac80268f.768e5",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5277.091094970703,
- "y": 3463.140655517578,
- "z": "1854297c.6f0f4f",
+ "x": 5232.70703125,
+ "y": 2825.25732421875,
+ "z": "4138d8f7.da252",
"wires": [
[
- "426bf991.15b6a8"
+ "c8c7d986.838778"
]
]
},
{
- "id": "c55de303.d0cb4",
+ "id": "a8e739ac.bd4b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5272.600128173828,
- "y": 3507.566619873047,
- "z": "1854297c.6f0f4f",
+ "x": 5228.216064453125,
+ "y": 2869.6832885742188,
+ "z": "4138d8f7.da252",
"wires": [
[
- "fe0c112c.8fb4f"
+ "3dcb1fdf.a3fec"
]
]
},
{
- "id": "426bf991.15b6a8",
+ "id": "c8c7d986.838778",
"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": 5439.662628173828,
- "y": 3462.4263610839844,
- "z": "1854297c.6f0f4f",
+ "x": 5395.278564453125,
+ "y": 2824.5430297851562,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "fe0c112c.8fb4f",
+ "id": "3dcb1fdf.a3fec",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 5440.600128173828,
- "y": 3507.566619873047,
- "z": "1854297c.6f0f4f",
+ "x": 5396.216064453125,
+ "y": 2869.6832885742188,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "4702676.988cf18",
+ "id": "9b0bdc3d.6e83d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5437.600128173828,
- "y": 3557.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 5393.216064453125,
+ "y": 2919.683349609375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2f82a117.e4a2be",
- "253cc252.2e7476"
+ "e12fb18d.e25528",
+ "b4d05ea3.ef437"
]
]
},
{
- "id": "6f1b7a54.b4f3a4",
+ "id": "6ec56bfe.bf9374",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5268.600128173828,
- "y": 3557.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 5224.216064453125,
+ "y": 2919.683349609375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "4702676.988cf18"
+ "9b0bdc3d.6e83d8"
]
]
},
{
- "id": "2f82a117.e4a2be",
+ "id": "e12fb18d.e25528",
"type": "set",
"name": "set new bw",
"xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $tmp.delta`' />\n",
"comments": "",
- "x": 5619.600860595703,
- "y": 3499.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 5575.216796875,
+ "y": 2861.683349609375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "f5580ce3.db6eb8",
+ "id": "77cc19f0.65a298",
"type": "set",
"name": "set delta",
"xml": "<set>\n<parameter name='tmp.delta' value='`$tmp.aai.leafuni.data-source - $gfp`' />\n<parameter name='tmp.realdelta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.isBwIncreased' value='false' />\n\n\n",
"comments": "",
- "x": 4974.600128173828,
- "y": 3403.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 4930.216064453125,
+ "y": 2765.683349609375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "105d466c.be1d02",
+ "id": "d481f8d7.46db",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4767.766662597656,
- "y": 3511.7666625976562,
- "z": "1854297c.6f0f4f",
+ "x": 4723.383331298828,
+ "y": 3258.883331298828,
+ "z": "4138d8f7.da252",
"wires": [
[
- "f5580ce3.db6eb8",
- "e936a38f.06f2b"
+ "77cc19f0.65a298",
+ "909ddf1c.4247f",
+ "d39256ff.c99e4"
]
]
},
{
- "id": "8c32ddc1.dc0d4",
+ "id": "543771c5.3e82b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4788.500030517578,
- "y": 3338.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 4744.11669921875,
+ "y": 3085.683349609375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b0b6c683.a43628",
- "be41e2f.9cfd32"
+ "9e50adf.3f804d",
+ "1d10f282.65ef3d",
+ "3c12d321.f6ab2c"
]
]
},
{
- "id": "b0b6c683.a43628",
+ "id": "9e50adf.3f804d",
"type": "set",
"name": "set delta",
"xml": "<set>\n<parameter name='tmp.delta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.realdelta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.isBwIncreased' value='true' />\n",
"comments": "",
- "x": 4987.333526611328,
- "y": 3156.366729736328,
- "z": "1854297c.6f0f4f",
+ "x": 4878.949462890625,
+ "y": 2391.4833984375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "c2cf98a5.f5859",
+ "id": "d7fa5270.13e728",
"type": "comment",
"name": "Update ROOT UNI's bw",
"info": "",
"comments": "",
- "x": 4382.649932861328,
- "y": 3411.566680908203,
- "z": "1854297c.6f0f4f",
+ "x": 4338.2666015625,
+ "y": 3158.683349609375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "53815df2.f3fe8c",
+ "id": "fea06caf.d7087",
"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": 3884.9833984375,
- "y": 4190.3671875,
- "z": "1854297c.6f0f4f",
+ "x": 3807.600067138672,
+ "y": 4147.483856201172,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "1f65c294.737a2d",
+ "id": "5c1ea12c.02fb18",
"type": "switchNode",
"name": "switch found-root-connectivity",
"xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 3719.9833984375,
- "y": 4262.567138671875,
- "z": "1854297c.6f0f4f",
+ "x": 3642.600067138672,
+ "y": 4219.683807373047,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d304f78f.a9e16",
- "fe02c5f8.83fd58"
+ "b82e9023.76f9f8",
+ "f2f0e3e2.cfb0a8"
]
]
},
{
- "id": "d304f78f.a9e16",
+ "id": "b82e9023.76f9f8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3930.9833984375,
- "y": 4262.567138671875,
- "z": "1854297c.6f0f4f",
+ "x": 3853.600067138672,
+ "y": 4219.683807373047,
+ "z": "4138d8f7.da252",
"wires": [
[
- "632bbee5.d51fe8"
+ "4d4a5650.900498"
]
]
},
{
- "id": "fe02c5f8.83fd58",
+ "id": "f2f0e3e2.cfb0a8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3926.9833984375,
- "y": 4310.567138671875,
- "z": "1854297c.6f0f4f",
+ "x": 3849.600067138672,
+ "y": 4267.683807373047,
+ "z": "4138d8f7.da252",
"wires": [
[
- "670f8deb.e1038c"
+ "87662134.188498"
]
]
},
{
- "id": "632bbee5.d51fe8",
+ "id": "4d4a5650.900498",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4086.9833984375,
- "y": 4258.567138671875,
- "z": "1854297c.6f0f4f",
+ "x": 4009.600067138672,
+ "y": 4215.683807373047,
+ "z": "4138d8f7.da252",
"wires": [
[
- "e27123aa.cc28d"
+ "cdbc2fd5.f72b4"
]
]
},
{
- "id": "670f8deb.e1038c",
+ "id": "87662134.188498",
"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 but it should have been!' />\n",
"comments": "",
- "x": 4074.9833984375,
- "y": 4305.567138671875,
- "z": "1854297c.6f0f4f",
+ "x": 3997.600067138672,
+ "y": 4262.683807373047,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "88c84935.d74a7",
+ "id": "2111dda1.fcbdb2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4927.949493408203,
- "y": 4572.765899658203,
- "z": "1854297c.6f0f4f",
+ "x": 4850.566162109375,
+ "y": 4529.882568359375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c788c95c.77178",
- "1fda418f.a21f6e"
+ "4fae975f.53fc68",
+ "c1f934d5.cc0aa8"
]
]
},
{
- "id": "1fda418f.a21f6e",
+ "id": "c1f934d5.cc0aa8",
"type": "set",
"name": "unset tmp.aai.vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
"comments": "",
- "x": 5170.949737548828,
- "y": 4541.765899658203,
- "z": "1854297c.6f0f4f",
+ "x": 5093.56640625,
+ "y": 4498.882568359375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "bffc0dc9.a62e08",
+ "id": "cf80b7cc.7e2e9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4787.949493408203,
- "y": 4682.765899658203,
- "z": "1854297c.6f0f4f",
+ "x": 4710.566162109375,
+ "y": 4639.882568359375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "1b45b5a2.80df72"
+ "94dec63b.8ae1e"
]
]
},
{
- "id": "5a207984.9538",
+ "id": "840bbd02.3035a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4775.949737548828,
- "y": 4775.766143798828,
- "z": "1854297c.6f0f4f",
+ "x": 4698.56640625,
+ "y": 4732.8828125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "ff47d1c6.a1d1",
+ "id": "cdbcda75.ac4888",
"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": 4778.011871337891,
- "y": 4730.625671386719,
- "z": "1854297c.6f0f4f",
+ "x": 4700.6285400390625,
+ "y": 4687.742340087891,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "e27123aa.cc28d",
+ "id": "cdbc2fd5.f72b4",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.ROOT.connectivity.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 4393.949493408203,
- "y": 4572.765899658203,
- "z": "1854297c.6f0f4f",
+ "x": 4316.566162109375,
+ "y": 4529.882568359375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "bdd7e518.23e34"
+ "bc868ed9.895db8"
]
]
},
{
- "id": "bdd7e518.23e34",
+ "id": "bc868ed9.895db8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4598.949493408203,
- "y": 4572.765899658203,
- "z": "1854297c.6f0f4f",
+ "x": 4521.566162109375,
+ "y": 4529.882568359375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "e5bca59.0771c58"
+ "7ae6a8de.c87848"
]
]
},
{
- "id": "e5bca59.0771c58",
+ "id": "7ae6a8de.c87848",
"type": "outcome",
"name": "vpn-binding",
"xml": "<outcome value='vpn-binding'>\n",
"comments": "",
"outputs": 1,
- "x": 4764.949493408203,
- "y": 4572.765899658203,
- "z": "1854297c.6f0f4f",
+ "x": 4687.566162109375,
+ "y": 4529.882568359375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "88c84935.d74a7"
+ "2111dda1.fcbdb2"
]
]
},
{
- "id": "c788c95c.77178",
+ "id": "4fae975f.53fc68",
"type": "save",
"name": "get vpn-binding from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
"comments": "",
"outputs": 1,
- "x": 4403.949493408203,
- "y": 4682.765899658203,
- "z": "1854297c.6f0f4f",
+ "x": 4326.566162109375,
+ "y": 4639.882568359375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "9cbfda8d.34d6e8",
- "7093291a.080b6",
- "8f2c4a9c.eaf89"
+ "c295dc4d.214d28",
+ "c45fd018.eeb138",
+ "e9db7616.b3ebb8"
]
]
},
{
- "id": "9cbfda8d.34d6e8",
+ "id": "c295dc4d.214d28",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4614.949493408203,
- "y": 4684.765899658203,
- "z": "1854297c.6f0f4f",
+ "x": 4537.566162109375,
+ "y": 4641.882568359375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "bffc0dc9.a62e08"
+ "cf80b7cc.7e2e9"
]
]
},
{
- "id": "7093291a.080b6",
+ "id": "c45fd018.eeb138",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4615.440460205078,
- "y": 4730.339935302734,
- "z": "1854297c.6f0f4f",
+ "x": 4538.05712890625,
+ "y": 4687.456604003906,
+ "z": "4138d8f7.da252",
"wires": [
[
- "ff47d1c6.a1d1"
+ "cdbcda75.ac4888"
]
]
},
{
- "id": "8f2c4a9c.eaf89",
+ "id": "e9db7616.b3ebb8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4612.949493408203,
- "y": 4773.765899658203,
- "z": "1854297c.6f0f4f",
+ "x": 4535.566162109375,
+ "y": 4730.882568359375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "5a207984.9538"
+ "840bbd02.3035a"
]
]
},
{
- "id": "31c1ab24.2782c4",
+ "id": "297b4ae7.8b9706",
"type": "comment",
"name": "Temporary skipping this check - to support multiple instances in one slice",
"info": "",
"comments": "",
- "x": 6023.766387939453,
- "y": 7071.966827392578,
- "z": "1854297c.6f0f4f",
+ "x": 5946.383056640625,
+ "y": 7029.08349609375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "3272cf3c.df27d8",
+ "id": "457d3858.29d0e",
"type": "comment",
"name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",
"info": "",
"comments": "",
- "x": 5292.2333984375,
- "y": 4303.16650390625,
- "z": "1854297c.6f0f4f",
+ "x": 5214.850067138672,
+ "y": 4260.283172607422,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "d1d7ad20.29b52",
+ "id": "b25769d8.6df3c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4794.233642578125,
- "y": 4369.16650390625,
- "z": "1854297c.6f0f4f",
+ "x": 4716.850311279297,
+ "y": 4326.283172607422,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "3f823260.f76936",
+ "id": "201cbbc6.38c61c",
"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": 5325.2333984375,
- "y": 4371.16650390625,
- "z": "1854297c.6f0f4f",
+ "x": 5247.850067138672,
+ "y": 4328.283172607422,
+ "z": "4138d8f7.da252",
"wires": [
[
- "de937f43.9aff7",
- "af59f95b.0de0c8"
+ "823be1e9.77a818",
+ "82dbf116.45c298"
]
]
},
{
- "id": "de937f43.9aff7",
+ "id": "823be1e9.77a818",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5450.2333984375,
- "y": 4269.166259765625,
- "z": "1854297c.6f0f4f",
+ "x": 5372.850067138672,
+ "y": 4226.282928466797,
+ "z": "4138d8f7.da252",
"wires": [
[
- "31c7669e.9273ea"
+ "ea4b8bb2.02c728"
]
]
},
{
- "id": "af59f95b.0de0c8",
+ "id": "82dbf116.45c298",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5569.233428955078,
- "y": 4343.166290283203,
- "z": "1854297c.6f0f4f",
+ "x": 5491.85009765625,
+ "y": 4300.282958984375,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "361b2cba.676744",
+ "id": "12318d1c.9b97cb",
"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": 4537.916534423828,
- "y": 3914.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4460.533203125,
+ "y": 3872,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "37ee69b4.cc11f6",
+ "id": "1c49d26a.15504e",
"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": 4882.916534423828,
- "y": 3776.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4805.533203125,
+ "y": 3734,
+ "z": "4138d8f7.da252",
"wires": [
[
- "35c1fec6.57172a"
+ "ee8d9735.9d0e18"
]
]
},
{
- "id": "a8388031.3aed68",
+ "id": "75d5369a.76387",
"type": "for",
"name": "for netwidx..allNetworksList_length",
"xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",
"comments": "",
"outputs": 1,
- "x": 4589.916534423828,
- "y": 3770.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4512.533203125,
+ "y": 3728,
+ "z": "4138d8f7.da252",
"wires": [
[
- "37ee69b4.cc11f6"
+ "1c49d26a.15504e"
]
]
},
{
- "id": "a8458e1d.db654",
+ "id": "2e9ad10b.18ccd6",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4844.916534423828,
- "y": 3727.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4767.533203125,
+ "y": 3685,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "f592965f.32c0e8",
+ "id": "8bf9488.63f0cb8",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
"comments": "",
- "x": 4533.916534423828,
- "y": 3822.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4456.533203125,
+ "y": 3780,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "5ddf33c1.65a594",
+ "id": "4168ca78.86bd8c",
"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": 4541.916534423828,
- "y": 3867.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4464.533203125,
+ "y": 3825,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "76b17a13.8ea0bc",
+ "id": "6e2860cf.ccae3",
"type": "set",
"name": "unset otnTopoIdSrc",
"xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",
"comments": "",
- "x": 4538.916534423828,
- "y": 3720.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4461.533203125,
+ "y": 3678,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "35c1fec6.57172a",
+ "id": "ee8d9735.9d0e18",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4791.916534423828,
- "y": 3844.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4714.533203125,
+ "y": 3802,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a725ab73.c73ac"
+ "16183a46.3a0a2e"
]
]
},
{
- "id": "a725ab73.c73ac",
+ "id": "16183a46.3a0a2e",
"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": 4976.916534423828,
- "y": 3843.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4899.533203125,
+ "y": 3801,
+ "z": "4138d8f7.da252",
"wires": [
[
- "d15b8b2d.be0c58"
+ "9cdceec0.5d3c1"
]
]
},
{
- "id": "d15b8b2d.be0c58",
+ "id": "9cdceec0.5d3c1",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5168.916534423828,
- "y": 3846.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5091.533203125,
+ "y": 3804,
+ "z": "4138d8f7.da252",
"wires": [
[
- "8eebb571.fd6c9"
+ "a8a5fc36.2f7d"
]
]
},
{
- "id": "8eebb571.fd6c9",
+ "id": "a8a5fc36.2f7d",
"type": "set",
"name": "set otnTopoIdSrc",
"xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
"comments": "",
- "x": 5340.916534423828,
- "y": 3842.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 5263.533203125,
+ "y": 3800,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "4b7e80ea.96d268",
+ "id": "eb8710b8.36ef48",
"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": 4716.916534423828,
- "y": 3957.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4639.533203125,
+ "y": 3915,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "b4ed3622.c08",
+ "id": "616a588c.b788e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4233.916534423828,
- "y": 3742.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4156.533203125,
+ "y": 3700,
+ "z": "4138d8f7.da252",
"wires": [
[
- "26ef8b2b.34003c",
- "269ffcd4.c70e7c",
- "f592965f.32c0e8",
- "5ddf33c1.65a594",
- "361b2cba.676744",
- "a8388031.3aed68",
- "4b7e80ea.96d268"
+ "711898b1.a3a988",
+ "c5e1be90.cd78d",
+ "8bf9488.63f0cb8",
+ "4168ca78.86bd8c",
+ "12318d1c.9b97cb",
+ "75d5369a.76387",
+ "eb8710b8.36ef48"
]
]
},
{
- "id": "ce279396.ecc818",
+ "id": "d9429d2a.b15568",
"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": 4218.916534423828,
- "y": 3676.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4141.533203125,
+ "y": 3634,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "269ffcd4.c70e7c",
+ "id": "c5e1be90.cd78d",
"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": 4597.916534423828,
- "y": 3663.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4520.533203125,
+ "y": 3621,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2b1251d3.218d36",
- "69b1ddc7.bc8184",
- "a8458e1d.db654"
+ "d0e253fc.83209",
+ "415d3771.16041",
+ "2e9ad10b.18ccd6"
]
]
},
{
- "id": "2b1251d3.218d36",
+ "id": "d0e253fc.83209",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4833.916534423828,
- "y": 3646.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4756.533203125,
+ "y": 3604,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "69b1ddc7.bc8184",
+ "id": "415d3771.16041",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4830.916534423828,
- "y": 3687.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4753.533203125,
+ "y": 3645,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "26ef8b2b.34003c",
+ "id": "711898b1.a3a988",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",
"comments": "",
- "x": 4546.916534423828,
- "y": 3620.883331298828,
- "z": "1854297c.6f0f4f",
+ "x": 4469.533203125,
+ "y": 3578,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "a7d12ef0.b4e948",
+ "id": "6bda79b8.645a68",
"type": "comment",
"name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",
"info": "",
"comments": "",
- "x": 5276.316436767578,
- "y": 4670.283233642578,
- "z": "1854297c.6f0f4f",
+ "x": 5198.93310546875,
+ "y": 4627.39990234375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "1b45b5a2.80df72",
+ "id": "94dec63b.8ae1e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5065.316436767578,
- "y": 4732.283233642578,
- "z": "1854297c.6f0f4f",
+ "x": 4987.93310546875,
+ "y": 4689.39990234375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "ed1b64d5.33faa"
+ "5b09d63.4152d28"
]
]
},
{
- "id": "ed1b64d5.33faa",
+ "id": "5b09d63.4152d28",
"type": "switchNode",
"name": "switch ops-note is srcTtpOtnLayer",
"xml": "<switch test=\"`$tmp.aai.vpn-binding.ops-note == $tmp.srcTtpOtnLayer `\">\n\n",
"comments": "",
"outputs": 1,
- "x": 5309.316436767578,
- "y": 4738.283233642578,
- "z": "1854297c.6f0f4f",
+ "x": 5231.93310546875,
+ "y": 4695.39990234375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "230e8d7f.cf5b82",
- "8c0eb7af.7df34"
+ "4ce07cc6.c3d424",
+ "f554a368.1a08c8"
]
]
},
{
- "id": "230e8d7f.cf5b82",
+ "id": "4ce07cc6.c3d424",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5540.316436767578,
- "y": 4716.283233642578,
- "z": "1854297c.6f0f4f",
+ "x": 5462.93310546875,
+ "y": 4673.39990234375,
+ "z": "4138d8f7.da252",
"wires": [
[
- "626950bd.12ae3"
+ "e736f8f3.ed2808"
]
]
},
{
- "id": "8c0eb7af.7df34",
+ "id": "f554a368.1a08c8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5545.316436767578,
- "y": 4783.283233642578,
- "z": "1854297c.6f0f4f",
+ "x": 5467.93310546875,
+ "y": 4740.39990234375,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "a8be8ed1.6d85c",
+ "id": "4a82e0bf.f144f",
"type": "switchNode",
"name": "switch tmp.isBwIncreased",
"xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 5794.2001953125,
- "y": 4280.965576171875,
- "z": "1854297c.6f0f4f",
+ "x": 5716.816864013672,
+ "y": 4238.082244873047,
+ "z": "4138d8f7.da252",
"wires": [
[
- "5f515b8.97d0aa4",
- "e3c5fe18.dd7758"
+ "8b36e42.8d18318",
+ "9e33af49.9f241"
]
]
},
{
- "id": "5f515b8.97d0aa4",
+ "id": "8b36e42.8d18318",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5949.200225830078,
- "y": 4208.965850830078,
- "z": "1854297c.6f0f4f",
+ "x": 5871.81689453125,
+ "y": 4166.08251953125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b9ddbbac.4ceb18"
+ "b40b55f7.23af98"
]
]
},
{
- "id": "e3c5fe18.dd7758",
+ "id": "9e33af49.9f241",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5950.200225830078,
- "y": 4341.965850830078,
- "z": "1854297c.6f0f4f",
+ "x": 5872.81689453125,
+ "y": 4299.08251953125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "7f4f722.c77710c"
+ "b38dd55a.418b38"
]
]
},
{
- "id": "b9ddbbac.4ceb18",
+ "id": "b40b55f7.23af98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 6094.200225830078,
- "y": 4208.966094970703,
- "z": "1854297c.6f0f4f",
+ "x": 6016.81689453125,
+ "y": 4166.082763671875,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c99d2def.311358",
- "6bec6ba7.e1cedc"
+ "3913dc06.a223d4",
+ "839acfd7.2291a"
]
]
},
{
- "id": "c99d2def.311358",
+ "id": "3913dc06.a223d4",
"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='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n\n",
"comments": "",
"outputs": 1,
- "x": 6387.200225830078,
- "y": 4186.965850830078,
- "z": "1854297c.6f0f4f",
+ "x": 6309.81689453125,
+ "y": 4144.08251953125,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "6bec6ba7.e1cedc",
+ "id": "839acfd7.2291a",
"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<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",
"comments": "",
"outputs": 1,
- "x": 6338.850128173828,
- "y": 4234.282745361328,
- "z": "1854297c.6f0f4f",
+ "x": 6261.466796875,
+ "y": 4191.3994140625,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "9711fbcd.9495e8",
+ "id": "4d10eebf.474a88",
"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": 6412.2001953125,
- "y": 4135.965576171875,
- "z": "1854297c.6f0f4f",
+ "x": 6334.816864013672,
+ "y": 4093.082244873047,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "7f4f722.c77710c",
+ "id": "b38dd55a.418b38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 6106.200225830078,
- "y": 4340.966094970703,
- "z": "1854297c.6f0f4f",
+ "x": 6028.81689453125,
+ "y": 4298.082763671875,
+ "z": "4138d8f7.da252",
"wires": [
[
- "59431729.1fb158",
- "1fc311b.d897f6e"
+ "8675cc13.463188",
+ "35c1f8d2.a502"
]
]
},
{
- "id": "59431729.1fb158",
+ "id": "8675cc13.463188",
"type": "save",
"name": "update the-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='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n\n",
"comments": "",
"outputs": 1,
- "x": 6399.200225830078,
- "y": 4318.965850830078,
- "z": "1854297c.6f0f4f",
+ "x": 6321.81689453125,
+ "y": 4276.08251953125,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "1fc311b.d897f6e",
+ "id": "35c1f8d2.a502",
"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<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",
"comments": "",
"outputs": 1,
- "x": 6350.850128173828,
- "y": 4366.282745361328,
- "z": "1854297c.6f0f4f",
+ "x": 6273.466796875,
+ "y": 4323.3994140625,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "1617355e.191edb",
+ "id": "b5ed36f4.c5e02",
"type": "comment",
"name": "decrease the bw of the-vpn-binding and change status to modified",
"info": "decrease the bw of the-vpn-binding\nchange status to modified\n",
"comments": "",
- "x": 6423.200225830078,
- "y": 4279.965850830078,
- "z": "1854297c.6f0f4f",
+ "x": 6345.81689453125,
+ "y": 4237.08251953125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "626950bd.12ae3",
+ "id": "e736f8f3.ed2808",
"type": "switchNode",
"name": "switch tmp.isBwIncreased",
"xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 5745.433135986328,
- "y": 4723.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 5668.0498046875,
+ "y": 4680.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a17c6b6f.2c879",
- "a4050844.87c708"
+ "c39fa1bf.775f28",
+ "760b6a69.a4fd14"
]
]
},
{
- "id": "a17c6b6f.2c879",
+ "id": "c39fa1bf.775f28",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5940.433135986328,
- "y": 4651.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 5863.0498046875,
+ "y": 4608.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "cccf95aa.d66d78"
+ "903811e2.41d4e8"
]
]
},
{
- "id": "a4050844.87c708",
+ "id": "760b6a69.a4fd14",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5941.433135986328,
- "y": 4784.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 5864.0498046875,
+ "y": 4741.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "90ce4884.5c53c8"
+ "8a352d04.a7b5f"
]
]
},
{
- "id": "cccf95aa.d66d78",
+ "id": "903811e2.41d4e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 6085.433135986328,
- "y": 4651.166778564453,
- "z": "1854297c.6f0f4f",
+ "x": 6008.0498046875,
+ "y": 4608.283447265625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c37b260.db0c1d8",
- "742aa3a0.c04704"
+ "dd052918.eeeec8",
+ "5b6d1623.4afde8"
]
]
},
{
- "id": "c37b260.db0c1d8",
+ "id": "dd052918.eeeec8",
"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.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 6378.433135986328,
- "y": 4629.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 6301.0498046875,
+ "y": 4586.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "742aa3a0.c04704",
+ "id": "5b6d1623.4afde8",
"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<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",
"comments": "",
"outputs": 1,
- "x": 6330.083038330078,
- "y": 4676.483428955078,
- "z": "1854297c.6f0f4f",
+ "x": 6252.69970703125,
+ "y": 4633.60009765625,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "5708f1c2.de612",
+ "id": "f8433708.1cf278",
"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": 6402.433135986328,
- "y": 4590.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 6325.0498046875,
+ "y": 4547.283203125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "90ce4884.5c53c8",
+ "id": "8a352d04.a7b5f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 6097.433135986328,
- "y": 4783.166778564453,
- "z": "1854297c.6f0f4f",
+ "x": 6020.0498046875,
+ "y": 4740.283447265625,
+ "z": "4138d8f7.da252",
"wires": [
[
- "9bebcf2c.a35908",
- "bf7ecccc.77e158"
+ "1797ce6f.bf55da",
+ "f850925d.eaddb8"
]
]
},
{
- "id": "9bebcf2c.a35908",
+ "id": "1797ce6f.bf55da",
"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.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 6390.433135986328,
- "y": 4761.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 6313.0498046875,
+ "y": 4718.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "bf7ecccc.77e158",
+ "id": "f850925d.eaddb8",
"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<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",
"comments": "",
"outputs": 1,
- "x": 6342.083038330078,
- "y": 4808.483428955078,
- "z": "1854297c.6f0f4f",
+ "x": 6264.69970703125,
+ "y": 4765.60009765625,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "898aa8ca.144488",
+ "id": "98f83ad6.f376c",
"type": "comment",
"name": "decrease the bw of the-vpn-binding and change status to modified",
"info": "decrease the bw of the-vpn-binding\nchange status to modified\n",
"comments": "",
- "x": 6414.433135986328,
- "y": 4722.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 6337.0498046875,
+ "y": 4679.283203125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "3302d733.17cb08",
+ "id": "f3a92d2f.d14e78",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 5153.283233642578,
- "y": 5463.366729736328,
- "z": "1854297c.6f0f4f",
+ "x": 5075.89990234375,
+ "y": 5420.4833984375,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "c4bba10e.ae5948",
+ "id": "cfcbce5e.a3353",
"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": 5151.066436767578,
- "y": 5503.566925048828,
- "z": "1854297c.6f0f4f",
+ "x": 5073.68310546875,
+ "y": 5460.68359375,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "fba1ca00.18c228",
+ "id": "35bf741d.0589dc",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 5026.316680908203,
- "y": 5688.049835205078,
- "z": "1854297c.6f0f4f",
+ "x": 4948.933349609375,
+ "y": 5645.16650390625,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "bc2e1526.9ae628",
+ "id": "58a0b8d5.3916c8",
"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": 5024.099884033203,
- "y": 5728.250030517578,
- "z": "1854297c.6f0f4f",
+ "x": 4946.716552734375,
+ "y": 5685.36669921875,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "c14b3eb1.3ce2b",
+ "id": "141a3bed.ea5a94",
"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": 5128.433135986328,
- "y": 6171.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 5046.0498046875,
+ "y": 5969.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "78d24bb0.4c8ea4",
+ "id": "8127bfc.2c0cdc",
"type": "switchNode",
"name": "switch found-root-connectivity",
"xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4955.433135986328,
- "y": 6228.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 4873.0498046875,
+ "y": 6026.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "8d0d07ba.6f81c8",
- "4ae3fa7f.c7968c"
+ "eb3bc0b8.920088",
+ "e32169bb.0af1a8"
]
]
},
{
- "id": "8d0d07ba.6f81c8",
+ "id": "eb3bc0b8.920088",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5166.433135986328,
- "y": 6228.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 5084.0498046875,
+ "y": 6026.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "7c55c647.3c8228"
+ "2548cb5a.7d91a4"
]
]
},
{
- "id": "4ae3fa7f.c7968c",
+ "id": "e32169bb.0af1a8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5162.433135986328,
- "y": 6276.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 5080.0498046875,
+ "y": 6074.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2e757361.f3de2c"
+ "6b0e17ed.7e019"
]
]
},
{
- "id": "7c55c647.3c8228",
+ "id": "2548cb5a.7d91a4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5322.433135986328,
- "y": 6224.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 5240.0498046875,
+ "y": 6022.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2cbacdde.26f332",
- "94ab2e80.b69ba8",
- "d5533498.f6f7f"
+ "4736668b.da34e8",
+ "d60814f1.44b368",
+ "3b369b46.f16d74"
]
]
},
{
- "id": "2e757361.f3de2c",
+ "id": "6b0e17ed.7e019",
"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": 5310.433135986328,
- "y": 6271.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 5228.0498046875,
+ "y": 6069.283203125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "510063da.63ac6c",
+ "id": "b390ff23.8e635",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 5588.316925048828,
- "y": 6324.049835205078,
- "z": "1854297c.6f0f4f",
+ "x": 5505.93359375,
+ "y": 6122.16650390625,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "d5533498.f6f7f",
+ "id": "3b369b46.f16d74",
"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": 5586.100128173828,
- "y": 6364.250030517578,
- "z": "1854297c.6f0f4f",
+ "x": 5503.716796875,
+ "y": 6162.36669921875,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "94ab2e80.b69ba8",
+ "id": "d60814f1.44b368",
"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": 5705.433135986328,
- "y": 6276.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 5623.0498046875,
+ "y": 6074.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "2cbacdde.26f332",
+ "id": "4736668b.da34e8",
"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": 5576.433135986328,
- "y": 6224.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 5494.0498046875,
+ "y": 6022.283203125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "d8a0b134.770b1",
+ "id": "85c984f2.33f7c8",
"type": "comment",
"name": "populate connectivity-B variable in the context map",
"info": "",
"comments": "",
- "x": 5017.433135986328,
- "y": 6129.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 4935.0498046875,
+ "y": 5927.283203125,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "54a65e87.65172",
+ "id": "f942597e.1aa18",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4724.766143798828,
- "y": 6211.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 4582.3828125,
+ "y": 6014.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[
- "c14b3eb1.3ce2b",
- "78d24bb0.4c8ea4"
+ "141a3bed.ea5a94",
+ "8127bfc.2c0cdc",
+ "8afd899a.01e88",
+ "8c1f115c.700108"
]
]
},
{
- "id": "11c77751.f259a1",
+ "id": "fc4aa587.17d69",
"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": 5003.516632080078,
- "y": 6526.166534423828,
- "z": "1854297c.6f0f4f",
+ "x": 4926.13330078125,
+ "y": 6483.283203125,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "7eabc766.dd7c8",
+ "id": "41ec9458.f731e4",
"type": "comment",
"name": "TODO: BUG -- DONE",
"info": "momkene connectivity haye vasati ke dummy hastand ham\nvpn-binding dashte bashand ke too in path involve hast pas\nbayad bw aan niz update shavad.",
"comments": "",
- "x": 3708.8837890625,
- "y": 3802.88330078125,
- "z": "1854297c.6f0f4f",
+ "x": 3631.500457763672,
+ "y": 3759.999969482422,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "c0c356fb.babc",
+ "id": "23b69bc.0871b64",
"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": 4461.4169921875,
- "y": 4077,
- "z": "1854297c.6f0f4f",
+ "x": 4384.033660888672,
+ "y": 4034.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b8196ee9.4b3808",
- "80c1418b.2150d8",
- "56405931.8c65f8"
+ "75525335.c9aa54",
+ "d5340ebc.32553",
+ "f8167756.f35bd8"
]
]
},
{
- "id": "eb18f7d.31abf88",
+ "id": "977709e8.5868c",
"type": "comment",
"name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",
"info": "",
"comments": "",
- "x": 4569.417236328125,
- "y": 4033,
- "z": "1854297c.6f0f4f",
+ "x": 4492.033905029297,
+ "y": 3990.116668701172,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "b8196ee9.4b3808",
+ "id": "75525335.c9aa54",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4666.4169921875,
- "y": 4074,
- "z": "1854297c.6f0f4f",
+ "x": 4589.033660888672,
+ "y": 4031.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[
- "9aacf189.24898"
+ "b5414319.96d9"
]
]
},
{
- "id": "80c1418b.2150d8",
+ "id": "d5340ebc.32553",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4649.907958984375,
- "y": 4135.574035644531,
- "z": "1854297c.6f0f4f",
+ "x": 4572.524627685547,
+ "y": 4092.690704345703,
+ "z": "4138d8f7.da252",
"wires": [
[
- "de469de6.448a8"
+ "a327dd9c.9d096"
]
]
},
{
- "id": "56405931.8c65f8",
+ "id": "f8167756.f35bd8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4647.4169921875,
- "y": 4179,
- "z": "1854297c.6f0f4f",
+ "x": 4570.033660888672,
+ "y": 4136.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[
- "6c1db7b.a15c7c8"
+ "784d31ab.abb97"
]
]
},
{
- "id": "9aacf189.24898",
+ "id": "b5414319.96d9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4834.417236328125,
- "y": 4069,
- "z": "1854297c.6f0f4f",
+ "x": 4757.033905029297,
+ "y": 4026.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[
- "3b0478b5.ff78"
+ "98142959.81fca"
]
]
},
{
- "id": "de469de6.448a8",
+ "id": "a327dd9c.9d096",
"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": 4812.4793701171875,
- "y": 4135.859771728516,
- "z": "1854297c.6f0f4f",
+ "x": 4735.096038818359,
+ "y": 4092.9764404296875,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "6c1db7b.a15c7c8",
+ "id": "784d31ab.abb97",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4814.4169921875,
- "y": 4178,
- "z": "1854297c.6f0f4f",
+ "x": 4737.033660888672,
+ "y": 4135.116668701172,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "3b0478b5.ff78",
+ "id": "98142959.81fca",
"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": 5072.417236328125,
- "y": 4074,
- "z": "1854297c.6f0f4f",
+ "x": 4995.033905029297,
+ "y": 4031.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[
- "b59112.09635ef"
+ "6df0b8a0.a7c62"
]
]
},
{
- "id": "b59112.09635ef",
+ "id": "6df0b8a0.a7c62",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5306.4169921875,
- "y": 4081,
- "z": "1854297c.6f0f4f",
+ "x": 5229.033660888672,
+ "y": 4038.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[
- "3f823260.f76936"
+ "201cbbc6.38c61c"
]
]
},
{
- "id": "67daf127.7e6a38",
+ "id": "92806e4e.351398",
"type": "set",
"name": "unset tmp.aai.all-vpn-bindings",
"xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",
"comments": "",
- "x": 4440.11669921875,
- "y": 4003,
- "z": "1854297c.6f0f4f",
+ "x": 4362.733367919922,
+ "y": 3960.116668701172,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "11444ec1.8e4d01",
+ "id": "f43de449.20024",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 5723.2666015625,
- "y": 4091.5830078125,
- "z": "1854297c.6f0f4f",
+ "x": 5645.883270263672,
+ "y": 4048.699676513672,
+ "z": "4138d8f7.da252",
"wires": [
[
- "f98d1d31.14c4f8"
+ "7a53ecb2.cec2c4"
]
]
},
{
- "id": "f98d1d31.14c4f8",
+ "id": "7a53ecb2.cec2c4",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 5915.2666015625,
- "y": 4080.583251953125,
- "z": "1854297c.6f0f4f",
+ "x": 5837.883270263672,
+ "y": 4037.699920654297,
+ "z": "4138d8f7.da252",
"wires": [
[
- "894c5e31.55f348"
+ "700641c0.5a055"
]
]
},
{
- "id": "894c5e31.55f348",
+ "id": "700641c0.5a055",
"type": "outcome",
"name": "connectivity",
"xml": "<outcome value='connectivity'>\n",
"comments": "",
"outputs": 1,
- "x": 6097.2666015625,
- "y": 4059.583251953125,
- "z": "1854297c.6f0f4f",
+ "x": 6019.883270263672,
+ "y": 4016.699920654297,
+ "z": "4138d8f7.da252",
"wires": [
[
- "2837af93.7fedb8"
+ "9920129e.a09"
]
]
},
{
- "id": "2837af93.7fedb8",
+ "id": "9920129e.a09",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 6259.2666015625,
- "y": 4048.583251953125,
- "z": "1854297c.6f0f4f",
+ "x": 6181.883270263672,
+ "y": 4005.699920654297,
+ "z": "4138d8f7.da252",
"wires": [
[
- "75575304.c30724",
- "fb102e8c.f8d02"
+ "7f7dfee.7fba8",
+ "c8f259e.2871ba8"
]
]
},
{
- "id": "75575304.c30724",
+ "id": "7f7dfee.7fba8",
"type": "set",
"name": "unset tmp.the-connectivity",
"xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",
"comments": "",
- "x": 6456.2666015625,
- "y": 3977.583251953125,
- "z": "1854297c.6f0f4f",
+ "x": 6378.883270263672,
+ "y": 3934.699920654297,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "812bc4de.8330d",
+ "id": "335b26db.86f24a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5630.216796875,
- "y": 4206.5830078125,
- "z": "1854297c.6f0f4f",
+ "x": 5552.833465576172,
+ "y": 4163.699676513672,
+ "z": "4138d8f7.da252",
"wires": [
[
- "a8be8ed1.6d85c",
- "11444ec1.8e4d01",
- "7f9cffe2.08c768",
- "8c2c4043.586498"
+ "4a82e0bf.f144f",
+ "f43de449.20024",
+ "1e79d0a7.c66727",
+ "7f90edcc.1e82b4"
]
]
},
{
- "id": "7f9cffe2.08c768",
+ "id": "1e79d0a7.c66727",
"type": "set",
"name": "unset tmp.aai.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",
"comments": "",
- "x": 5761.783203125,
- "y": 3981.800048828125,
- "z": "1854297c.6f0f4f",
+ "x": 5684.399871826172,
+ "y": 3938.916717529297,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "8c2c4043.586498",
+ "id": "7f90edcc.1e82b4",
"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": 5753.783203125,
- "y": 4030.800048828125,
- "z": "1854297c.6f0f4f",
+ "x": 5676.399871826172,
+ "y": 3987.916717529297,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "fb102e8c.f8d02",
+ "id": "c8f259e.2871ba8",
"type": "set",
"name": "set tmp.the-connectivity.connectivity-id",
"xml": "<set>\n<parameter name='tmp.the-connectivity.connectivity-id' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",
"comments": "",
- "x": 6461.7333984375,
- "y": 4086.800048828125,
- "z": "1854297c.6f0f4f",
+ "x": 6384.350067138672,
+ "y": 4043.916717529297,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "a9133f1b.8373c8",
+ "id": "a412e157.cf47d8",
"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": 5755,
- "y": 3805,
- "z": "1854297c.6f0f4f",
+ "x": 5677.616668701172,
+ "y": 3762.116668701172,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "4b95d87b.bccc58",
+ "id": "6887559d.aa01b4",
"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": 5909,
- "y": 3857,
- "z": "1854297c.6f0f4f",
+ "x": 5831.616668701172,
+ "y": 3814.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "31c7669e.9273ea",
+ "id": "ea4b8bb2.02c728",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5500,
- "y": 3924,
- "z": "1854297c.6f0f4f",
+ "x": 5422.616668701172,
+ "y": 3881.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[
- "4b95d87b.bccc58",
- "26b17ecc.f40902",
- "a9133f1b.8373c8"
+ "6887559d.aa01b4",
+ "d154a2e6.a2bcc",
+ "a412e157.cf47d8"
]
]
},
{
- "id": "26b17ecc.f40902",
+ "id": "d154a2e6.a2bcc",
"type": "switchNode",
"name": "switch $foundVpnName",
"xml": "<switch test=\"`$foundVpnName`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 5754,
- "y": 3912,
- "z": "1854297c.6f0f4f",
+ "x": 5676.616668701172,
+ "y": 3869.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[
- "245d39b1.fcc7b6"
+ "89918c5f.33a478"
]
]
},
{
- "id": "245d39b1.fcc7b6",
+ "id": "89918c5f.33a478",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5933,
- "y": 3911,
- "z": "1854297c.6f0f4f",
+ "x": 5855.616668701172,
+ "y": 3868.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[
- "812bc4de.8330d"
+ "335b26db.86f24a"
]
]
},
{
- "id": "2f3de295.447b1e",
+ "id": "2fafeba7.6be734",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4631,
- "y": 7429,
- "z": "1854297c.6f0f4f",
+ "x": 4553.616668701172,
+ "y": 7386.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[
- "48382561.04ccdc",
- "a0fe64b2.d649a",
- "3a51bb36.70835c"
+ "18db3335.23915d",
+ "d2fe4c45.697938",
+ "175608de.c2a5b7"
]
]
},
{
- "id": "3a51bb36.70835c",
+ "id": "175608de.c2a5b7",
"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": 4854,
- "y": 7373,
- "z": "1854297c.6f0f4f",
+ "x": 4776.616668701172,
+ "y": 7330.116668701172,
+ "z": "4138d8f7.da252",
"wires": []
},
{
- "id": "48382561.04ccdc",
+ "id": "18db3335.23915d",
"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": 5033,
- "y": 7416,
- "z": "1854297c.6f0f4f",
+ "x": 4955.616668701172,
+ "y": 7373.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[]
]
},
{
- "id": "a0fe64b2.d649a",
+ "id": "d2fe4c45.697938",
"type": "switchNode",
"name": "switch $foundVpnName",
"xml": "<switch test=\"`$foundVpnName`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4878,
- "y": 7471,
- "z": "1854297c.6f0f4f",
+ "x": 4800.616668701172,
+ "y": 7428.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[
- "e761a2b0.d43cc"
+ "5916bddb.120d64"
]
]
},
{
- "id": "e761a2b0.d43cc",
+ "id": "5916bddb.120d64",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5057,
- "y": 7470,
- "z": "1854297c.6f0f4f",
+ "x": 4979.616668701172,
+ "y": 7427.116668701172,
+ "z": "4138d8f7.da252",
"wires": [
[
- "ed22a86b.d791b8"
+ "997dfd42.35e9c"
]
]
},
{
- "id": "9efae615.dd5ab",
+ "id": "afa717d0.25e7a8",
"type": "set",
"name": "unset tmp.aai.all-vpn-bindings",
"xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",
"comments": "",
- "x": 4788,
- "y": 7109,
- "z": "1854297c.6f0f4f",
+ "x": 4710.616668701172,
+ "y": 7066.116668701172,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "46e10049.e35348",
+ "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": 3276.2332763671875,
+ "y": 460.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "26a90c3.2a56674",
+ "type": "outcome",
+ "name": "SECONDARY-ROOT",
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4051.332763671875,
+ "y": 521.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "949451da.c153b8"
+ ]
+ ]
+ },
+ {
+ "id": "949451da.c153b8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4220.332763671875,
+ "y": 518.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "33bf54d9.6913cc",
+ "9e64bdfc.fb79a8"
+ ]
+ ]
+ },
+ {
+ "id": "33bf54d9.6913cc",
+ "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": 4444.332763671875,
+ "y": 551.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "9e64bdfc.fb79a8",
+ "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": 4390.332763671875,
+ "y": 591.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "16154f9d.14a3b",
+ "type": "outcome",
+ "name": "SECONDARY-ROOT",
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4016.333251953125,
+ "y": 720.7666625976562,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "85975abf.6c518"
+ ]
+ ]
+ },
+ {
+ "id": "85975abf.6c518",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4181.33251953125,
+ "y": 725.7666625976562,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "adebbb96.d8f2f",
+ "88877892.df83d8"
+ ]
+ ]
+ },
+ {
+ "id": "adebbb96.d8f2f",
+ "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": 4428.332763671875,
+ "y": 807.7666625976562,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "88877892.df83d8",
+ "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": 4374.332763671875,
+ "y": 847.7666625976562,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "f55201f.0be188",
+ "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": 3259.333251953125,
+ "y": 859.7666625976562,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "e0b52eb6.aea228",
+ "c2961466.a099a8",
+ "6a533bc.97a86c4"
+ ]
+ ]
+ },
+ {
+ "id": "e0b52eb6.aea228",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3501.333251953125,
+ "y": 852.7666625976562,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c2961466.a099a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3496.842315673828,
+ "y": 895.1927185058594,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6a533bc.97a86c4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3500.84228515625,
+ "y": 943.1926879882812,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "83cc008.07d49"
+ ]
+ ]
+ },
+ {
+ "id": "83cc008.07d49",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3662.333251953125,
+ "y": 883.7666625976562,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "2318951c.d8223a"
+ ]
+ ]
+ },
+ {
+ "id": "2318951c.d8223a",
+ "type": "switchNode",
+ "name": "switch nr type",
+ "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3833.333251953125,
+ "y": 883.766845703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "1ecaee8d.2e04b1",
+ "6f57dead.f93a98",
+ "743eca24.c93994"
+ ]
+ ]
+ },
+ {
+ "id": "1ecaee8d.2e04b1",
+ "type": "outcome",
+ "name": "ROOT",
+ "xml": "<outcome value='ROOT'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4000.3330078125,
+ "y": 793.7667846679688,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "ced307c.4c3f7f8"
+ ]
+ ]
+ },
+ {
+ "id": "6f57dead.f93a98",
+ "type": "outcome",
+ "name": "LEAF",
+ "xml": "<outcome value='LEAF'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4002.3330078125,
+ "y": 847.7667846679688,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "e2f995cd.e955"
+ ]
+ ]
+ },
+ {
+ "id": "ced307c.4c3f7f8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4128.3330078125,
+ "y": 793.7667846679688,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "36a6204d.62e268",
+ "94b8b644.43f75"
+ ]
+ ]
+ },
+ {
+ "id": "e2f995cd.e955",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4131.3330078125,
+ "y": 846.7667846679688,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "7b0ab608.42ea9",
+ "a90ad8f1.fdc558"
+ ]
+ ]
+ },
+ {
+ "id": "94b8b644.43f75",
+ "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": 4374.332763671875,
+ "y": 932.7667846679688,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "7b0ab608.42ea9",
+ "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": 4391.332763671875,
+ "y": 974.7667846679688,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "a90ad8f1.fdc558",
+ "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": 4376.332763671875,
+ "y": 1012.7667846679688,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "36a6204d.62e268",
+ "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": 4388.332763671875,
+ "y": 892.7667846679688,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "467d675.a17d518",
+ "type": "comment",
+ "name": "This is it (should be)",
+ "info": "",
+ "comments": "",
+ "x": 4553.332763671875,
+ "y": 908.7667846679688,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "743eca24.c93994",
+ "type": "outcome",
+ "name": "SECONDARY-ROOT",
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3941.333251953125,
+ "y": 938.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "32cfa81c.1fdfe"
+ ]
+ ]
+ },
+ {
+ "id": "32cfa81c.1fdfe",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4115.333251953125,
+ "y": 933.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "7ba10fb0.49acb8",
+ "c1eb138a.5c454"
+ ]
+ ]
+ },
+ {
+ "id": "c1eb138a.5c454",
+ "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": 4348.332763671875,
+ "y": 1102.7665405273438,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "7ba10fb0.49acb8",
+ "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": 4402.332763671875,
+ "y": 1062.7665405273438,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "f3ed1968.f2e4c",
+ "type": "comment",
+ "name": "This is it (should be)",
+ "info": "",
+ "comments": "",
+ "x": 4516.332763671875,
+ "y": 1087.7665405273438,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "9301f497.efdba",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3517,
+ "y": 2168,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "7448f46b.34e6cc",
+ "5277238e.78ec8c"
+ ]
+ ]
+ },
+ {
+ "id": "48753b32.6fce64",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3344.33349609375,
+ "y": 2169,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "9301f497.efdba"
+ ]
+ ]
+ },
+ {
+ "id": "7b2bdccd.4a3854",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3353.824462890625,
+ "y": 2211.5740356445312,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9a4a0275.086048",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3342.33349609375,
+ "y": 2258,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7448f46b.34e6cc",
+ "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": 3803.33349609375,
+ "y": 2172.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "645217a3.91825",
+ "af1d3f52.b0745"
+ ]
+ ]
+ },
+ {
+ "id": "af1d3f52.b0745",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4026.33349609375,
+ "y": 2127.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "731452c3.85af84"
+ ]
+ ]
+ },
+ {
+ "id": "645217a3.91825",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4028.33349609375,
+ "y": 2191.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "6089c716.00dec8"
+ ]
+ ]
+ },
+ {
+ "id": "fa7f428c.6d6b2",
+ "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": 3116.33349609375,
+ "y": 2204,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "48753b32.6fce64",
+ "7b2bdccd.4a3854",
+ "9a4a0275.086048"
+ ]
+ ]
+ },
+ {
+ "id": "c73afdde.7fd758",
+ "type": "comment",
+ "name": "Question?",
+ "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
+ "comments": "",
+ "x": 3077.33349609375,
+ "y": 2148,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "6834572.668ee28",
+ "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": 3136.33349609375,
+ "y": 1944,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "2bef51bc.6ca236",
+ "6cf1c76e.88753"
+ ]
+ ]
+ },
+ {
+ "id": "6cf1c76e.88753",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3359.33349609375,
+ "y": 1930,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "f6f8952c.2953"
+ ]
+ ]
+ },
+ {
+ "id": "2bef51bc.6ca236",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3361.33349609375,
+ "y": 1963,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f6f8952c.2953",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3507.33349609375,
+ "y": 1923,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "f448bb3c.4541c8",
+ "dafe2b52.c4e9d"
+ ]
+ ]
+ },
+ {
+ "id": "f448bb3c.4541c8",
+ "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": 3701.33349609375,
+ "y": 1926.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "5277238e.78ec8c",
+ "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": 3754.333465576172,
+ "y": 2294.999969482422,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "eb06fc3b.085ab"
+ ]
+ ]
+ },
+ {
+ "id": "eb06fc3b.085ab",
+ "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": 3960.333465576172,
+ "y": 2294.999969482422,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "a014a0c0.bb63d8"
+ ]
+ ]
+ },
+ {
+ "id": "dafe2b52.c4e9d",
+ "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": 3723.33349609375,
+ "y": 1994.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "a21fb44.41309c8",
+ "5685afe4.0b1f1",
+ "ea909548.33d5a"
+ ]
+ ]
+ },
+ {
+ "id": "a21fb44.41309c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3918.8336181640625,
+ "y": 1946.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "9cea62e1.55972"
+ ]
+ ]
+ },
+ {
+ "id": "5685afe4.0b1f1",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3910.8336181640625,
+ "y": 2001.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "89031999.da34c"
+ ]
+ ]
+ },
+ {
+ "id": "ea909548.33d5a",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3915.8336181640625,
+ "y": 2058.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "c3bf7f9d.8f5d8"
+ ]
+ ]
+ },
+ {
+ "id": "c3bf7f9d.8f5d8",
+ "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": 4067.8336181640625,
+ "y": 2059.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "9cea62e1.55972",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4063.2159423828125,
+ "y": 1943.6557922363281,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "e8d406ab.082b08"
+ ]
+ ]
+ },
+ {
+ "id": "8c5d257.6a579d8",
+ "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": 3139,
+ "y": 2283,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "5e59531e.4360fc",
+ "type": "comment",
+ "name": "NOT NEEDED ANYMORE?",
+ "info": "",
+ "comments": "",
+ "x": 3813.999969482422,
+ "y": 2246.999969482422,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "6089c716.00dec8",
+ "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": 4187.33349609375,
+ "y": 2210.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "731452c3.85af84",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4191.33349609375,
+ "y": 2124.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "8743a739.8d80e8",
+ "538193e1.eab6f4"
+ ]
+ ]
+ },
+ {
+ "id": "a014a0c0.bb63d8",
+ "type": "outcome",
+ "name": "tunnel-termination-point",
+ "xml": "<outcome value='tunnel-termination-point'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4177.619110107422,
+ "y": 2293.821746826172,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "62c06921.59013"
+ ]
+ ]
+ },
+ {
+ "id": "89031999.da34c",
+ "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": 4078.8336181640625,
+ "y": 2004.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "8743a739.8d80e8",
+ "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": 4361.33349609375,
+ "y": 2085.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "538193e1.eab6f4",
+ "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": 4362.33349609375,
+ "y": 2190.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "a7a60345.c4fe3",
+ "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": 4357.33349609375,
+ "y": 2139.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "62c06921.59013",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4384.450653076172,
+ "y": 2283.3404235839844,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "61f01ac9.4769c4",
+ "6f3f4bab.137934",
+ "b1be6cb6.4fb618"
+ ]
+ ]
+ },
+ {
+ "id": "61f01ac9.4769c4",
+ "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": 4599.450653076172,
+ "y": 2245.3404235839844,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "6f3f4bab.137934",
+ "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": 4596.450653076172,
+ "y": 2284.3404235839844,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "2692e306.96b09c"
+ ]
+ ]
+ },
+ {
+ "id": "b1be6cb6.4fb618",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 4551.950653076172,
+ "y": 2326.3404235839844,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "50016039.86678",
+ "type": "outcome",
+ "name": "esr-thirdparty-sdnc",
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4645.33349609375,
+ "y": 1962.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "19550590.021992"
+ ]
+ ]
+ },
+ {
+ "id": "e8d406ab.082b08",
+ "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": 4247.33349609375,
+ "y": 1958.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "6de4be31.1810b"
+ ]
+ ]
+ },
+ {
+ "id": "6de4be31.1810b",
+ "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": 4442.33349609375,
+ "y": 1958.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "50016039.86678",
+ "cba34b2.471f9b8"
+ ]
+ ]
+ },
+ {
+ "id": "cba34b2.471f9b8",
+ "type": "outcome",
+ "name": "network-resource",
+ "xml": "<outcome value='network-resource'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4647.33349609375,
+ "y": 2035.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "af92238d.b3b23"
+ ]
+ ]
+ },
+ {
+ "id": "2692e306.96b09c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4776.950653076172,
+ "y": 2283.3404235839844,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "b1246264.28f0f"
+ ]
+ ]
+ },
+ {
+ "id": "b1246264.28f0f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4934.950653076172,
+ "y": 2283.3404235839844,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "fd4ac373.f8f388"
+ ]
+ ]
+ },
+ {
+ "id": "fd4ac373.f8f388",
+ "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": 5141.950653076172,
+ "y": 2283.3404235839844,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "19550590.021992",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4822.33349609375,
+ "y": 1954.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "f2beac88.eedd2",
+ "e37f582f.5a4c9"
+ ]
+ ]
+ },
+ {
+ "id": "e37f582f.5a4c9",
+ "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": 5030.33349609375,
+ "y": 1961.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "6a3803eb.9852cc",
+ "9a9acadd.82809",
+ "a1039497.bae268"
+ ]
+ ]
+ },
+ {
+ "id": "af92238d.b3b23",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4824.33349609375,
+ "y": 2027.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "99f85b9c.2a8238"
+ ]
+ ]
+ },
+ {
+ "id": "f2beac88.eedd2",
+ "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": 5060.33349609375,
+ "y": 1909.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "99f85b9c.2a8238",
+ "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": 5059.33349609375,
+ "y": 2151.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "6a3803eb.9852cc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5240.33349609375,
+ "y": 1952.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "f25a9292.d1fb4"
+ ]
+ ]
+ },
+ {
+ "id": "9a9acadd.82809",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5232.33349609375,
+ "y": 2007.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "7db8b6f1.adecb8"
+ ]
+ ]
+ },
+ {
+ "id": "a1039497.bae268",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5237.33349609375,
+ "y": 2064.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "e3bf692a.f4e238"
+ ]
+ ]
+ },
+ {
+ "id": "e3bf692a.f4e238",
+ "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": 5389.33349609375,
+ "y": 2065.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "7db8b6f1.adecb8",
+ "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": 5400.33349609375,
+ "y": 2010.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "f25a9292.d1fb4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5384.7158203125,
+ "y": 1949.6557922363281,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "fbf54d7c.8184a"
+ ]
+ ]
+ },
+ {
+ "id": "fbf54d7c.8184a",
+ "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": 5599.33349609375,
+ "y": 1946.0001220703125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "c067ce8c.82bd2",
+ "type": "comment",
+ "name": "Create SECONDARY-ROOT UNI",
+ "info": "",
+ "comments": "",
+ "x": 5628.83349609375,
+ "y": 2068.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "858f96c1.79cbc",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5600.9501953125,
+ "y": 2117.88330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "8c0e0f7f.469198"
+ ]
+ ]
+ },
+ {
+ "id": "8c0e0f7f.469198",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5791.9501953125,
+ "y": 2121.88330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "a3faa53c.d04c58"
+ ]
+ ]
+ },
+ {
+ "id": "a3faa53c.d04c58",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5918.9501953125,
+ "y": 2120.88330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "53f62ca7.7b47cc",
+ "582e0a2f.97b604"
+ ]
+ ]
+ },
+ {
+ "id": "582e0a2f.97b604",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 6140.9501953125,
+ "y": 2009.88330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "53f62ca7.7b47cc",
+ "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": 6136.83349609375,
+ "y": 2068.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "142e04ee.e3d34b",
+ "257ca4bf.8f052c"
+ ]
+ ]
+ },
+ {
+ "id": "142e04ee.e3d34b",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 6346.83349609375,
+ "y": 2045.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "9407e67d.da2418"
+ ]
+ ]
+ },
+ {
+ "id": "9407e67d.da2418",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 6472.83349609375,
+ "y": 2045.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "cd746c7.fc5cf1"
+ ]
+ ]
+ },
+ {
+ "id": "f87ebbbb.7e40d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 6477.83349609375,
+ "y": 2094.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "88ec87d6.84288",
+ "29cb92cc.e394be",
+ "74fc1523.42a1e4",
+ "f8b2efa2.8dbc38"
+ ]
+ ]
+ },
+ {
+ "id": "257ca4bf.8f052c",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 6351.83349609375,
+ "y": 2094.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "f87ebbbb.7e40d"
+ ]
+ ]
+ },
+ {
+ "id": "cd746c7.fc5cf1",
+ "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": 6800.83349609375,
+ "y": 2042.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "88ec87d6.84288",
+ "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": 6753.83349609375,
+ "y": 2133.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "29cb92cc.e394be",
+ "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='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 6701.83349609375,
+ "y": 2175.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "74fc1523.42a1e4",
+ "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": 6830.83349609375,
+ "y": 2217.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fdca37c0.7ca06",
+ "type": "comment",
+ "name": "Create SECONDARY-ROOT connectivity",
+ "info": "",
+ "comments": "",
+ "x": 6716.83349609375,
+ "y": 2090.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "f8b2efa2.8dbc38",
+ "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": 6808.83349609375,
+ "y": 2265.7666015625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1b0442b9.4b628d",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 6372.83349609375,
+ "y": 2762.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "12529b57.e28025"
+ ]
+ ]
+ },
+ {
+ "id": "12529b57.e28025",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 6564.83349609375,
+ "y": 2757.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "78bbff94.82c65"
+ ]
+ ]
+ },
+ {
+ "id": "78bbff94.82c65",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 6693.83349609375,
+ "y": 2757.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "c9dee4ca.bc2dc"
+ ]
+ ]
+ },
+ {
+ "id": "c9dee4ca.bc2dc",
+ "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": 7025.83349609375,
+ "y": 2755.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c1546bd.e66d418",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5957.83349609375,
+ "y": 2974.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "13b9a3fa.0e3ae4"
+ ]
+ ]
+ },
+ {
+ "id": "13b9a3fa.0e3ae4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 6137.83349609375,
+ "y": 2973.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "e57b12b2.74ef18"
+ ]
+ ]
+ },
+ {
+ "id": "e57b12b2.74ef18",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 6266.83349609375,
+ "y": 2973.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "c79e7977.2b3cc8"
+ ]
+ ]
+ },
+ {
+ "id": "c79e7977.2b3cc8",
+ "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": 6484.716796875,
+ "y": 2972.449951171875,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "76ccfb33.2c6e3c"
+ ]
+ ]
+ },
+ {
+ "id": "76ccfb33.2c6e3c",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 6699.716796875,
+ "y": 2972.449951171875,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "f287a7b9.c4a8b"
+ ]
+ ]
+ },
+ {
+ "id": "f287a7b9.c4a8b",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 6831.716796875,
+ "y": 2972.449951171875,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "3f3acb0.03380b6"
+ ]
+ ]
+ },
+ {
+ "id": "3f3acb0.03380b6",
+ "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": 7195.83349609375,
+ "y": 2971.566650390625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c12d321.f6ab2c",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4928.33251953125,
+ "y": 2622.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "700dbefa.a5007"
+ ]
+ ]
+ },
+ {
+ "id": "700dbefa.a5007",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5108.33251953125,
+ "y": 2621.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "c3579242.e478c8"
+ ]
+ ]
+ },
+ {
+ "id": "c3579242.e478c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5237.33251953125,
+ "y": 2621.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "69f846d5.9ccd18"
+ ]
+ ]
+ },
+ {
+ "id": "cdd1f45b.46fb58",
+ "type": "comment",
+ "name": "Update SECONDARY-ROOT UNI's bw",
+ "info": "",
+ "comments": "",
+ "x": 4973.33251953125,
+ "y": 2680.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "69f846d5.9ccd18",
+ "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": 5003.33251953125,
+ "y": 2713.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "622ffdb0.75cb54",
+ "c593ae10.f47a3",
+ "24e47d1.d702d82"
+ ]
+ ]
+ },
+ {
+ "id": "c593ae10.f47a3",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5184.823486328125,
+ "y": 2690.70751953125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "439fba81.48a81c"
+ ]
+ ]
+ },
+ {
+ "id": "24e47d1.d702d82",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5173.33251953125,
+ "y": 2730.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "e58b129f.993b8"
+ ]
+ ]
+ },
+ {
+ "id": "439fba81.48a81c",
+ "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": 5344.39501953125,
+ "y": 2688.9931640625,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "e58b129f.993b8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 5334.33251953125,
+ "y": 2731.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "622ffdb0.75cb54",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5178.33251953125,
+ "y": 2767.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "ea27280d.d02bf8"
+ ]
+ ]
+ },
+ {
+ "id": "ea27280d.d02bf8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 5336.33251953125,
+ "y": 2775.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "5d2e8885.4f468",
+ "6cb98496.dc88f4"
+ ]
+ ]
+ },
+ {
+ "id": "5d2e8885.4f468",
+ "type": "set",
+ "name": "set new bw",
+ "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",
+ "comments": "",
+ "x": 5497.33251953125,
+ "y": 2707.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "6cb98496.dc88f4",
+ "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": 5539.33251953125,
+ "y": 2779.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d39256ff.c99e4",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5015.33251953125,
+ "y": 2980.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "9b669929.a8064"
+ ]
+ ]
+ },
+ {
+ "id": "9b669929.a8064",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5195.33251953125,
+ "y": 2979.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "479be729.dc0248"
+ ]
+ ]
+ },
+ {
+ "id": "479be729.dc0248",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5324.33251953125,
+ "y": 2979.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "96ab8e09.feb69"
+ ]
+ ]
+ },
+ {
+ "id": "89e60282.d93268",
+ "type": "comment",
+ "name": "Update SECONDARY-ROOT UNI's bw",
+ "info": "",
+ "comments": "",
+ "x": 5060.33251953125,
+ "y": 3038.13330078125,
+ "z": "4138d8f7.da252",
"wires": []
+ },
+ {
+ "id": "96ab8e09.feb69",
+ "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": 5090.33251953125,
+ "y": 3071.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "d8822576.b3585",
+ "75b8d325.77424c",
+ "c70dc607.d25bf8"
+ ]
+ ]
+ },
+ {
+ "id": "75b8d325.77424c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5271.823486328125,
+ "y": 3048.70751953125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "1c3be14a.a5638f"
+ ]
+ ]
+ },
+ {
+ "id": "c70dc607.d25bf8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5260.33251953125,
+ "y": 3088.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "57a20811.9713c"
+ ]
+ ]
+ },
+ {
+ "id": "1c3be14a.a5638f",
+ "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": 5431.39501953125,
+ "y": 3046.9931640625,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "57a20811.9713c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 5421.33251953125,
+ "y": 3089.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "d8822576.b3585",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5265.33251953125,
+ "y": 3125.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "89319d00.a640d8"
+ ]
+ ]
+ },
+ {
+ "id": "89319d00.a640d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 5423.33251953125,
+ "y": 3133.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "f52ef279.5e2fa8",
+ "ebb57be1.fff538"
+ ]
+ ]
+ },
+ {
+ "id": "f52ef279.5e2fa8",
+ "type": "set",
+ "name": "set new bw",
+ "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",
+ "comments": "",
+ "x": 5584.33251953125,
+ "y": 3065.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "ebb57be1.fff538",
+ "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": 5626.33251953125,
+ "y": 3137.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b27458da.77b73",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3497,
+ "y": 4562.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "b7009e9a.816708"
+ ]
+ ]
+ },
+ {
+ "id": "b7009e9a.816708",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3677,
+ "y": 4561.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "75b6f667.ff2f48"
+ ]
+ ]
+ },
+ {
+ "id": "75b6f667.ff2f48",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3806,
+ "y": 4561.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "e0e9d687.026568"
+ ]
+ ]
+ },
+ {
+ "id": "93bf9820.efc6f",
+ "type": "comment",
+ "name": "Update SECONDARY-ROOT UNI's bw",
+ "info": "",
+ "comments": "",
+ "x": 3542,
+ "y": 4620.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "e0e9d687.026568",
+ "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": 3572,
+ "y": 4653.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "6dcb758c.68fb4c",
+ "79d68d78.6f5a44",
+ "5d2b0296.8c0914"
+ ]
+ ]
+ },
+ {
+ "id": "79d68d78.6f5a44",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3753.490966796875,
+ "y": 4630.70751953125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "283870b5.b39d78"
+ ]
+ ]
+ },
+ {
+ "id": "5d2b0296.8c0914",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3742,
+ "y": 4670.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "307bdbbc.e5590c"
+ ]
+ ]
+ },
+ {
+ "id": "283870b5.b39d78",
+ "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": 3913.0625,
+ "y": 4628.9931640625,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "307bdbbc.e5590c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3903,
+ "y": 4671.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "6dcb758c.68fb4c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3747,
+ "y": 4707.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "22012b3c.a0e674"
+ ]
+ ]
+ },
+ {
+ "id": "22012b3c.a0e674",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3905,
+ "y": 4715.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "7783af35.773e7",
+ "e7eec98c.ca59"
+ ]
+ ]
+ },
+ {
+ "id": "7783af35.773e7",
+ "type": "set",
+ "name": "set new bw",
+ "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",
+ "comments": "",
+ "x": 4066,
+ "y": 4647.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "e7eec98c.ca59",
+ "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": 4108,
+ "y": 4719.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e87132f3.ee29c",
+ "type": "comment",
+ "name": "populate connectivity-C variable in the context map",
+ "info": "",
+ "comments": "",
+ "x": 4188.6669921875,
+ "y": 5517.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "cb7342b9.a9c168",
+ "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": 4343.6669921875,
+ "y": 5558.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a7c44d8.30aa44",
+ "type": "switchNode",
+ "name": "switch found-secondary-root-connectivity",
+ "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4159.6669921875,
+ "y": 5616.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "8bec5884.15258",
+ "bb24a1ac.622598"
+ ]
+ ]
+ },
+ {
+ "id": "8bec5884.15258",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4395.6669921875,
+ "y": 5600.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "6d098a3a.3afd8c"
+ ]
+ ]
+ },
+ {
+ "id": "bb24a1ac.622598",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4394.6669921875,
+ "y": 5648.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6d098a3a.3afd8c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4539.6669921875,
+ "y": 5602.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "de9129b3.62ee98",
+ "95ed5b5c.afa778",
+ "140ab45c.08ae54"
+ ]
+ ]
+ },
+ {
+ "id": "de9129b3.62ee98",
+ "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": 4951.667236328125,
+ "y": 5737.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "95ed5b5c.afa778",
+ "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": 5072.667236328125,
+ "y": 5784.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bc8a01e6.d0596",
+ "type": "comment",
+ "name": "Update connectivity status to modified",
+ "info": "",
+ "comments": "",
+ "x": 4955.551025390625,
+ "y": 5828.0166015625,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "140ab45c.08ae54",
+ "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": 4954.334228515625,
+ "y": 5869.216796875,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e2e6b5c.090cf4",
+ "type": "comment",
+ "name": "populate connectivity-C variable in the context map",
+ "info": "",
+ "comments": "",
+ "x": 4815,
+ "y": 6123.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "8afd899a.01e88",
+ "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": 4981,
+ "y": 6162.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8c1f115c.700108",
+ "type": "switchNode",
+ "name": "switch found-secondary-root-connectivity",
+ "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4820,
+ "y": 6212.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "53961644.a48598",
+ "58a624c5.6a1504"
+ ]
+ ]
+ },
+ {
+ "id": "53961644.a48598",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5053,
+ "y": 6206.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "1edcc228.5234b6"
+ ]
+ ]
+ },
+ {
+ "id": "58a624c5.6a1504",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5054,
+ "y": 6256.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1edcc228.5234b6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5200,
+ "y": 6214.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "a2cd952f.42f1c8",
+ "75bd12d0.4fb564",
+ "ddd98790.fa90d"
+ ]
+ ]
+ },
+ {
+ "id": "a2cd952f.42f1c8",
+ "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": 5447,
+ "y": 6202.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "75bd12d0.4fb564",
+ "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": 5568,
+ "y": 6249.13330078125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6c605ae5.2dde2c",
+ "type": "comment",
+ "name": "Update connectivity status to modified",
+ "info": "",
+ "comments": "",
+ "x": 5450.8837890625,
+ "y": 6293.0166015625,
+ "z": "4138d8f7.da252",
+ "wires": []
+ },
+ {
+ "id": "ddd98790.fa90d",
+ "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": 5449.6669921875,
+ "y": 6334.216796875,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e4c8e98f.2e48b8",
+ "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": 3577,
+ "y": 6107.56689453125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5e06fc8.b063184",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2914.25,
+ "y": 6105.81689453125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "5aaa3311.116ad4",
+ "5f201884.9bf1b"
+ ]
+ ]
+ },
+ {
+ "id": "5aaa3311.116ad4",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3105.25,
+ "y": 6109.81689453125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "42b72649.a2611"
+ ]
+ ]
+ },
+ {
+ "id": "42b72649.a2611",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3232.25,
+ "y": 6108.81689453125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "e4c8e98f.2e48b8"
+ ]
+ ]
+ },
+ {
+ "id": "5f201884.9bf1b",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3101.25,
+ "y": 6179.81689453125,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "1e510c07.00530c"
+ ]
+ ]
+ },
+ {
+ "id": "382dddaf.06eaa2",
+ "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": 3650.75,
+ "y": 6178.900390625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e510c07.00530c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3234.75,
+ "y": 6181.900390625,
+ "z": "4138d8f7.da252",
+ "wires": [
+ [
+ "382dddaf.06eaa2"
+ ]
+ ]
}
] \ No newline at end of file