aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.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-delete.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json7490
1 files changed, 3745 insertions, 3745 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json
index 1a4c8400..5fb058b7 100644
--- a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json
@@ -1,20 +1,20 @@
[
{
- "id": "d6c73c0b.0d5f48",
+ "id": "b3c61f0e.0e195",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 157.88330078125,
- "y": 156.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 183.56666564941406,
+ "y": 161.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d49f5b5f.8b9338"
+ "a48494fd.8b7d"
]
]
},
{
- "id": "d49f5b5f.8b9338",
+ "id": "a48494fd.8b7d",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,11102 +22,11102 @@
"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": 456.1690216064453,
- "y": 212.52387523651123,
- "z": "1806503a.76a7a",
+ "x": 481.8523864746094,
+ "y": 217.8047742843628,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "3720330.25593ce"
+ "6868eec5.8eff3"
]
]
},
{
- "id": "3720330.25593ce",
+ "id": "6868eec5.8eff3",
"type": "method",
"name": "method cll-vnf-topology-operation-cll-delete",
"xml": "<method rpc='cll-vnf-topology-operation-cll-delete' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 462.3119354248047,
- "y": 297.2857971191406,
- "z": "1806503a.76a7a",
+ "x": 487.99530029296875,
+ "y": 302.5666961669922,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7f694928.267bb8"
+ "42b0c518.6297dc"
]
]
},
{
- "id": "7f694928.267bb8",
+ "id": "42b0c518.6297dc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 811.8833312988281,
- "y": 356.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 837.5666961669922,
+ "y": 361.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "14360151.1c2e2f",
- "2b05d42f.ff48b4",
- "b833ca08.643e2"
+ "fec7e153.ea24b",
+ "30575656.398222",
+ "189baf2e.d72529"
]
]
},
{
- "id": "14360151.1c2e2f",
+ "id": "fec7e153.ea24b",
"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": 1113.2168273925781,
- "y": 627.216064453125,
- "z": "1806503a.76a7a",
+ "x": 1138.9001922607422,
+ "y": 632.4969635009766,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "2b05d42f.ff48b4",
+ "id": "30575656.398222",
"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": 1134.6452941894531,
- "y": 329.61907958984375,
- "z": "1806503a.76a7a",
+ "x": 1160.3286590576172,
+ "y": 334.8999786376953,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "41fb5683.e713a",
- "80e71c24.60d2d",
- "fe4111b5.f2228"
+ "27345488.79731c",
+ "7e08d842.a4058",
+ "14b3e2f5.681565"
]
]
},
{
- "id": "41fb5683.e713a",
+ "id": "27345488.79731c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1359.6452941894531,
- "y": 187.61907958984375,
- "z": "1806503a.76a7a",
+ "x": 1385.3286590576172,
+ "y": 192.8999786376953,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "41abc238.ea1884"
+ "a8487fba.2cb09"
]
]
},
{
- "id": "80e71c24.60d2d",
+ "id": "7e08d842.a4058",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1355.1362609863281,
- "y": 257.193115234375,
- "z": "1806503a.76a7a",
+ "x": 1380.8196258544922,
+ "y": 262.47401428222656,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "844c0ad5.c095b"
+ "26698778.b41f38"
]
]
},
{
- "id": "fe4111b5.f2228",
+ "id": "14b3e2f5.681565",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1343.6452941894531,
- "y": 303.61907958984375,
- "z": "1806503a.76a7a",
+ "x": 1369.3286590576172,
+ "y": 308.8999786376953,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1e9cd9f4.55835e"
+ "e03cea3a.82881"
]
]
},
{
- "id": "692bc437.51a034",
+ "id": "b94ba14f.99f16",
"type": "comment",
"name": "new for TransportSlicing",
"info": "",
"comments": "",
- "x": 1113.6452941894531,
- "y": 217.61907958984375,
- "z": "1806503a.76a7a",
+ "x": 1139.3286590576172,
+ "y": 222.8999786376953,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "b833ca08.643e2",
+ "id": "189baf2e.d72529",
"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": 1101.6452941894531,
- "y": 269.61907958984375,
- "z": "1806503a.76a7a",
+ "x": 1127.3286590576172,
+ "y": 274.8999786376953,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "41abc238.ea1884",
+ "id": "a8487fba.2cb09",
"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": 1599.8833312988281,
- "y": 184.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 1625.5666961669922,
+ "y": 189.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "edbcfce1.4d552",
- "d741e3bd.0b6788"
+ "7bdf94e9.87c2bc",
+ "770405a0.0ddc6c"
]
]
},
{
- "id": "844c0ad5.c095b",
+ "id": "26698778.b41f38",
"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": 1509.9457092285156,
- "y": 260.1455383300781,
- "z": "1806503a.76a7a",
+ "x": 1535.6290740966797,
+ "y": 265.4264373779297,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1e9cd9f4.55835e",
+ "id": "e03cea3a.82881",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1513.8833312988281,
- "y": 304.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 1539.5666961669922,
+ "y": 309.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "edbcfce1.4d552",
+ "id": "7bdf94e9.87c2bc",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1804.8833312988281,
- "y": 221.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 1830.5666961669922,
+ "y": 226.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "589ae77f.807888"
+ "79eb131c.176e44"
]
]
},
{
- "id": "d741e3bd.0b6788",
+ "id": "770405a0.0ddc6c",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1814.8833312988281,
- "y": 148.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 1840.5666961669922,
+ "y": 153.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "589ae77f.807888",
+ "id": "79eb131c.176e44",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1797.8833312988281,
- "y": 296.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 1823.5666961669922,
+ "y": 301.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "10bd96f7.8fa059",
- "cb92da4c.da1bb",
- "cbe49015.ae0dd",
- "6c495f2.f763aa",
- "4304e2aa.cc073c"
+ "9d4673ee.891e5",
+ "1a86601d.154a48",
+ "d6a895b8.ea711",
+ "3f0be5e9.f7ecd2",
+ "eca8d05b.38fb78"
]
]
},
{
- "id": "5f06cb70.adae8c",
+ "id": "fd1dcea.f15be3",
"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": 2283.883331298828,
- "y": 347.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2309.566696166992,
+ "y": 352.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c68fbf4e.5d82c",
- "2146d17e.d0a56e",
- "f04a7ec7.eb68d"
+ "2555bbc5.26f19c",
+ "93423d46.b14978",
+ "4c790d06.05e3ec"
]
]
},
{
- "id": "c68fbf4e.5d82c",
+ "id": "2555bbc5.26f19c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2499.883331298828,
- "y": 414.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2525.566696166992,
+ "y": 419.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "cbd25b41.5a644"
+ "cc8af145.1212b8"
]
]
},
{
- "id": "2146d17e.d0a56e",
+ "id": "93423d46.b14978",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2500.374298095703,
- "y": 313.8597412109375,
- "z": "1806503a.76a7a",
+ "x": 2526.057662963867,
+ "y": 319.14064025878906,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d020f647.b48948"
+ "fbfefea4.a2d338"
]
]
},
{
- "id": "f04a7ec7.eb68d",
+ "id": "4c790d06.05e3ec",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2495.883331298828,
- "y": 363.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2521.566696166992,
+ "y": 368.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "bf60182e.46d6e"
+ "d962a49c.c504b8"
]
]
},
{
- "id": "10bd96f7.8fa059",
+ "id": "9d4673ee.891e5",
"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": 2000.8833312988281,
- "y": 328.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2026.5666961669922,
+ "y": 333.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9d7e7b42.ef2a18",
- "5f06cb70.adae8c",
- "b4f5dada.48378",
- "5db562b1.71111c"
+ "d3206ca7.c31d1",
+ "fd1dcea.f15be3",
+ "426ddfc0.c628b",
+ "d0874bda.7e1ac"
]
]
},
{
- "id": "9d7e7b42.ef2a18",
+ "id": "d3206ca7.c31d1",
"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": 2280.883331298828,
- "y": 266.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2306.566696166992,
+ "y": 271.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "6c495f2.f763aa",
+ "id": "3f0be5e9.f7ecd2",
"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": 1974.8833312988281,
- "y": 278.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2000.5666961669922,
+ "y": 283.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "cb92da4c.da1bb",
+ "id": "1a86601d.154a48",
"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": 2017.8833312988281,
- "y": 137.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2043.5666961669922,
+ "y": 142.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "cbe49015.ae0dd",
+ "id": "d6a895b8.ea711",
"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": 2029.8833312988281,
- "y": 178.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2055.566696166992,
+ "y": 183.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "f6d3e50c.b329e8",
+ "id": "c8d3ec04.e3f8a8",
"type": "comment",
"name": "The following two nodes are for PCE",
"info": "",
"comments": "",
- "x": 2054.883331298828,
- "y": 90.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2080.566696166992,
+ "y": 95.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "300ce0be.29882",
+ "id": "d7434469.de441",
"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": 1974.8833312988281,
- "y": 224.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2000.5666961669922,
+ "y": 229.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "d020f647.b48948",
+ "id": "fbfefea4.a2d338",
"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": 2678.883331298828,
- "y": 316.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2704.566696166992,
+ "y": 321.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "bf60182e.46d6e",
+ "id": "d962a49c.c504b8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2678.820831298828,
- "y": 365.426025390625,
- "z": "1806503a.76a7a",
+ "x": 2704.504196166992,
+ "y": 370.70692443847656,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "cbd25b41.5a644",
+ "id": "cc8af145.1212b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2680.820831298828,
- "y": 416.426025390625,
- "z": "1806503a.76a7a",
+ "x": 2706.504196166992,
+ "y": 421.70692443847656,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "365e9f97.d4a028"
+ "30ad22b3.c0b5e6"
]
]
},
{
- "id": "365e9f97.d4a028",
+ "id": "30ad22b3.c0b5e6",
"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": 2973.820831298828,
- "y": 363.426025390625,
- "z": "1806503a.76a7a",
+ "x": 2999.504196166992,
+ "y": 368.70692443847656,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6e92372c.3a07f8",
- "c96fb012.9bb888",
- "95b7cbb5.ac06c8"
+ "5234d98d.9f94d",
+ "83314642.8bc358",
+ "55523c43.af8514"
]
]
},
{
- "id": "c96fb012.9bb888",
+ "id": "83314642.8bc358",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3277.311767578125,
- "y": 20,
- "z": "1806503a.76a7a",
+ "x": 3302.995132446289,
+ "y": 25.280899047851562,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "58ab1443.358994"
+ "f9033318.3a82e"
]
]
},
{
- "id": "58ab1443.358994",
+ "id": "f9033318.3a82e",
"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": 3454.88330078125,
- "y": 20.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3480.566665649414,
+ "y": 25.566665649414062,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "95b7cbb5.ac06c8",
+ "id": "55523c43.af8514",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3272.82080078125,
- "y": 69.426025390625,
- "z": "1806503a.76a7a",
+ "x": 3298.504165649414,
+ "y": 74.70692443847656,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1f97dde6.30f20a"
+ "ed442c0e.cae2b8"
]
]
},
{
- "id": "1f97dde6.30f20a",
+ "id": "ed442c0e.cae2b8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3454.82080078125,
- "y": 69.426025390625,
- "z": "1806503a.76a7a",
+ "x": 3480.504165649414,
+ "y": 74.70692443847656,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "6e92372c.3a07f8",
+ "id": "5234d98d.9f94d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3276.82080078125,
- "y": 120.426025390625,
- "z": "1806503a.76a7a",
+ "x": 3302.504165649414,
+ "y": 125.70692443847656,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7a25dc67.63046c"
+ "7ab56666.401778"
]
]
},
{
- "id": "7a25dc67.63046c",
+ "id": "7ab56666.401778",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3456.82080078125,
- "y": 120.426025390625,
- "z": "1806503a.76a7a",
+ "x": 3482.504165649414,
+ "y": 125.70692443847656,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "742cdaa9.4808c4"
+ "6c101067.0de5e8"
]
]
},
{
- "id": "742cdaa9.4808c4",
+ "id": "6c101067.0de5e8",
"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": 2992.883331298828,
- "y": 491.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3018.566696166992,
+ "y": 496.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9afa3e4f.f2f2c8",
- "ce58b166.b2448"
+ "646ab584.76e45c",
+ "ffe35827.b1255"
]
]
},
{
- "id": "ce58b166.b2448",
+ "id": "ffe35827.b1255",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3332.88330078125,
- "y": 262.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3358.566665649414,
+ "y": 267.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "9afa3e4f.f2f2c8",
+ "id": "646ab584.76e45c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3331.88330078125,
- "y": 316.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3357.566665649414,
+ "y": 321.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "aba0f7b5.b64ec8"
+ "7579f2ad.787884"
]
]
},
{
- "id": "50f7604e.0c4dc8",
+ "id": "76ff4ece.4716a",
"type": "outcome",
"name": "network-policy",
"xml": "<outcome value='network-policy'>\n",
"comments": "",
"outputs": 1,
- "x": 4076.88330078125,
- "y": 270.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4102.566665649414,
+ "y": 275.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e079a6c2.9c941"
+ "522d04a5.cf337c"
]
]
},
{
- "id": "e079a6c2.9c941",
+ "id": "522d04a5.cf337c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4253.8831787109375,
- "y": 263.28564453125,
- "z": "1806503a.76a7a",
+ "x": 4279.566543579102,
+ "y": 268.56654357910156,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "83280d27.4bae7",
- "92c6fb1f.05a328"
+ "ff700b35.f88fd",
+ "a95b674a.f71a"
]
]
},
{
- "id": "aba0f7b5.b64ec8",
+ "id": "7579f2ad.787884",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3495.88330078125,
- "y": 242.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3521.566665649414,
+ "y": 247.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a8c08369.0aef78",
- "98755b5f.40e4a"
+ "687e4dd8.df6004",
+ "7a6c4648.75b9a"
]
]
},
{
- "id": "a8c08369.0aef78",
+ "id": "687e4dd8.df6004",
"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": 3776.88330078125,
- "y": 198.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3802.566665649414,
+ "y": 203.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "64ebbb1e.14821c"
+ "498ba81e.b961f8"
]
]
},
{
- "id": "64ebbb1e.14821c",
+ "id": "498ba81e.b961f8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4038.88330078125,
- "y": 198.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4064.566665649414,
+ "y": 203.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "50f7604e.0c4dc8"
+ "76ff4ece.4716a"
]
]
},
{
- "id": "83280d27.4bae7",
+ "id": "ff700b35.f88fd",
"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": 4496.8831787109375,
- "y": 220.28564453125,
- "z": "1806503a.76a7a",
+ "x": 4522.566543579102,
+ "y": 225.56654357910156,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "92c6fb1f.05a328",
+ "id": "a95b674a.f71a",
"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": 4485.8831787109375,
- "y": 275.28564453125,
- "z": "1806503a.76a7a",
+ "x": 4511.566543579102,
+ "y": 280.56654357910156,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "26a63936.d2dcb6",
- "935c2a76.01522",
- "61809f6c.f102a"
+ "4864ccac.4c9fb4",
+ "b78f5441.c1bfd",
+ "4088ff64.ba745"
]
]
},
{
- "id": "61809f6c.f102a",
+ "id": "4088ff64.ba745",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4738.88330078125,
- "y": 161.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4764.566665649414,
+ "y": 166.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "8483d549.4ff1d8"
+ "745cd258.155a8c"
]
]
},
{
- "id": "8483d549.4ff1d8",
+ "id": "745cd258.155a8c",
"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": 4887.454833984375,
- "y": 161.571533203125,
- "z": "1806503a.76a7a",
+ "x": 4913.138198852539,
+ "y": 166.85243225097656,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "79f73429.37a0f4",
+ "id": "d814f814.02812",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4886.392333984375,
- "y": 205.7117919921875,
- "z": "1806503a.76a7a",
+ "x": 4912.075698852539,
+ "y": 210.99269104003906,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "935c2a76.01522",
+ "id": "b78f5441.c1bfd",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4727.392333984375,
- "y": 205.7117919921875,
- "z": "1806503a.76a7a",
+ "x": 4753.075698852539,
+ "y": 210.99269104003906,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "79f73429.37a0f4"
+ "d814f814.02812"
]
]
},
{
- "id": "26a63936.d2dcb6",
+ "id": "4864ccac.4c9fb4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4734.392333984375,
- "y": 284.7117919921875,
- "z": "1806503a.76a7a",
+ "x": 4760.075698852539,
+ "y": 289.99269104003906,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "4efa868e.4aaf8"
+ "efd9fdb1.0f83a"
]
]
},
{
- "id": "4efa868e.4aaf8",
+ "id": "efd9fdb1.0f83a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4873.392333984375,
- "y": 284.7117919921875,
- "z": "1806503a.76a7a",
+ "x": 4899.075698852539,
+ "y": 289.99269104003906,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ac693539.f50e98",
- "9a31854c.efaef8"
+ "f2ffc2c8.9c3d6",
+ "ca4f06f7.bf7198"
]
]
},
{
- "id": "ac693539.f50e98",
+ "id": "f2ffc2c8.9c3d6",
"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": 5078.88330078125,
- "y": 282.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5104.566665649414,
+ "y": 287.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "9a31854c.efaef8",
+ "id": "ca4f06f7.bf7198",
"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": 5077.88330078125,
- "y": 328.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5103.566665649414,
+ "y": 333.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "98755b5f.40e4a",
+ "id": "7a6c4648.75b9a",
"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": 3593.88330078125,
- "y": 314.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3619.566665649414,
+ "y": 319.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a599949c.47c2"
+ "2b038d01.8bcf5a"
]
]
},
{
- "id": "a599949c.47c2",
+ "id": "2b038d01.8bcf5a",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3873.88330078125,
- "y": 314.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3899.566665649414,
+ "y": 319.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9f30fb79.9864f8"
+ "924692b1.dbe118"
]
]
},
{
- "id": "9f30fb79.9864f8",
+ "id": "924692b1.dbe118",
"type": "outcome",
"name": "logical-link",
"xml": "<outcome value='logical-link'>\n",
"comments": "",
"outputs": 1,
- "x": 2256.8834533691406,
- "y": 803.285888671875,
- "z": "1806503a.76a7a",
+ "x": 2282.5668182373047,
+ "y": 808.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "4497a7be.db159"
+ "e627a5b7.666348"
]
]
},
{
- "id": "4497a7be.db159",
+ "id": "e627a5b7.666348",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2433.883331298828,
- "y": 796.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2459.566696166992,
+ "y": 801.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "748da704.3dc228",
- "132fdd9a.6a584a"
+ "abe018e3.2ab958",
+ "b299dbd0.7106d8"
]
]
},
{
- "id": "748da704.3dc228",
+ "id": "abe018e3.2ab958",
"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": 2676.883331298828,
- "y": 753.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2702.566696166992,
+ "y": 758.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "132fdd9a.6a584a",
+ "id": "b299dbd0.7106d8",
"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": 2665.883331298828,
- "y": 808.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2691.566696166992,
+ "y": 813.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1d5c52ad.8a4fcd",
- "c6fd8eb5.369a58",
- "b0ba9e98.5ef29"
+ "73425fcf.6d608",
+ "9a2fb745.49c558",
+ "c8c584c4.60469"
]
]
},
{
- "id": "1d5c52ad.8a4fcd",
+ "id": "73425fcf.6d608",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2957.374298095703,
- "y": 786.8597412109375,
- "z": "1806503a.76a7a",
+ "x": 2983.057662963867,
+ "y": 792.1406402587891,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "81786826.f1adc"
+ "11a6918b.0ed79e"
]
]
},
{
- "id": "c6fd8eb5.369a58",
+ "id": "9a2fb745.49c558",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2945.883331298828,
- "y": 831.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2971.566696166992,
+ "y": 836.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "568abbfd.c78f14"
+ "147fb75c.cecad1"
]
]
},
{
- "id": "81786826.f1adc",
+ "id": "11a6918b.0ed79e",
"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": 3105.945831298828,
- "y": 787.1455078125,
- "z": "1806503a.76a7a",
+ "x": 3131.629196166992,
+ "y": 792.4264068603516,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "568abbfd.c78f14",
+ "id": "147fb75c.cecad1",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3104.883331298828,
- "y": 831.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3130.566696166992,
+ "y": 836.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "b0ba9e98.5ef29",
+ "id": "c8c584c4.60469",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2952.883331298828,
- "y": 910.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2978.566696166992,
+ "y": 915.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "56d4032d.446f0c"
+ "18430aa7.b0cd65"
]
]
},
{
- "id": "56d4032d.446f0c",
+ "id": "18430aa7.b0cd65",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3091.883331298828,
- "y": 910.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3117.566696166992,
+ "y": 915.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a588efb1.b17fd",
- "9c7e31dc.43bc2",
- "64cc49aa.338118",
- "a266d487.c02dd",
- "f1099f4d.7efe5",
- "6aa3951e.157a4c",
- "4618e1c0.461d88",
- "d38e0865.514348",
- "eef6ad07.9c7d5",
- "78d4922e.8ebe04",
- "c220ecdf.76a978",
- "940f9aa.5464fe8",
- "14f1d608.fff342",
- "5e5dd175.2ee1b",
- "95f11825.f517d8",
- "79dba259.2612cc",
- "11c024cf.1cb7db",
- "8bfce836.dcd148",
- "ec6aad53.7d628",
- "c02bc34.16c814",
- "ad2e0fde.b44de8",
- "d87e7a94.9bda08"
+ "a56438ce.7b3648",
+ "cd9c4fe8.e67498",
+ "b8cad49c.dd7ca",
+ "768c9bf8.5beb74",
+ "6f1a328d.ae400c",
+ "b16688a0.4defc",
+ "2c1d8b21.e96e8c",
+ "63cddf09.26d868",
+ "9d9de9db.5c38b8",
+ "e5f9b3dc.c2f9f",
+ "169ca3b9.4d31a4",
+ "1c28fc30.faaf74",
+ "19822907.e2052f",
+ "e8ad32eb.9df94",
+ "cf9533e5.c2371",
+ "22a945f9.085212",
+ "94938481.855978",
+ "7edb995a.421908",
+ "f054f8f8.d1b3a",
+ "dab7847.8f75af8",
+ "71a7eba7.ddb6fc",
+ "a71111e6.40602"
]
]
},
{
- "id": "6986f9e3.b25bc8",
+ "id": "ece3c8dc.fca8e",
"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": 3435.883270263672,
- "y": 384.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3461.566635131836,
+ "y": 389.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "a588efb1.b17fd",
+ "id": "a56438ce.7b3648",
"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": 3416.883270263672,
- "y": 484.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3442.566635131836,
+ "y": 489.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "940f9aa.5464fe8",
+ "id": "1c28fc30.faaf74",
"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": 3370.883270263672,
- "y": 535.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3396.566635131836,
+ "y": 540.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "9c7e31dc.43bc2",
+ "id": "cd9c4fe8.e67498",
"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": 3344.883270263672,
- "y": 584.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3370.566635131836,
+ "y": 589.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "64cc49aa.338118",
+ "id": "b8cad49c.dd7ca",
"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": 3343.883270263672,
- "y": 633.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3369.566635131836,
+ "y": 638.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "a266d487.c02dd",
+ "id": "768c9bf8.5beb74",
"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": 3352.883270263672,
- "y": 771.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3378.566635131836,
+ "y": 776.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1276721a.95abce",
- "59c480c0.a5bb2",
- "56433b78.3dde04"
+ "fe7f9a9e.cf1db8",
+ "156916f6.f1ec61",
+ "66ef43c6.2e3d64"
]
]
},
{
- "id": "f1099f4d.7efe5",
+ "id": "6f1a328d.ae400c",
"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": 3345.883270263672,
- "y": 832.28564453125,
- "z": "1806503a.76a7a",
+ "x": 3371.566635131836,
+ "y": 837.5665435791016,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "194bfca3.59d3d3",
- "f16b27ad.e4a0d",
- "a3a5e961.07f0a"
+ "6dadc494.d9aa04",
+ "672f337a.746964",
+ "bcaed2fe.1f9ae"
]
]
},
{
- "id": "1276721a.95abce",
+ "id": "fe7f9a9e.cf1db8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3601.883026123047,
- "y": 666.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3627.566390991211,
+ "y": 671.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5d3d475c.e8e038"
+ "cc05b9e7.0fc9a"
]
]
},
{
- "id": "59c480c0.a5bb2",
+ "id": "156916f6.f1ec61",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3595.392059326172,
- "y": 707.7117919921875,
- "z": "1806503a.76a7a",
+ "x": 3621.075424194336,
+ "y": 712.9926910400391,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c3e2bb46.01e6a"
+ "4587637b.94db5c"
]
]
},
{
- "id": "56433b78.3dde04",
+ "id": "66ef43c6.2e3d64",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3590.392059326172,
- "y": 757.7117919921875,
- "z": "1806503a.76a7a",
+ "x": 3616.075424194336,
+ "y": 762.9926910400391,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1b66d741.6f4631"
+ "1eb5ad40.d06413"
]
]
},
{
- "id": "5d3d475c.e8e038",
+ "id": "cc05b9e7.0fc9a",
"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": 3750.454559326172,
- "y": 665.571533203125,
- "z": "1806503a.76a7a",
+ "x": 3776.137924194336,
+ "y": 670.8524322509766,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "c3e2bb46.01e6a",
+ "id": "4587637b.94db5c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3740.392059326172,
- "y": 715.7117919921875,
- "z": "1806503a.76a7a",
+ "x": 3766.075424194336,
+ "y": 720.9926910400391,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "194bfca3.59d3d3",
+ "id": "6dadc494.d9aa04",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3566.883270263672,
- "y": 818.28564453125,
- "z": "1806503a.76a7a",
+ "x": 3592.566635131836,
+ "y": 823.5665435791016,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "8a4c46dd.2c996"
+ "1b1304b9.a5e66b"
]
]
},
{
- "id": "f16b27ad.e4a0d",
+ "id": "672f337a.746964",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3562.392303466797,
- "y": 867.711669921875,
- "z": "1806503a.76a7a",
+ "x": 3588.075668334961,
+ "y": 872.9925689697266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "171f1743.fcb899"
+ "e774fced.6104a8"
]
]
},
{
- "id": "a3a5e961.07f0a",
+ "id": "bcaed2fe.1f9ae",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3563.392303466797,
- "y": 920.711669921875,
- "z": "1806503a.76a7a",
+ "x": 3589.075668334961,
+ "y": 925.9925689697266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c731b8e7.238d38"
+ "c076d47b.eaded"
]
]
},
{
- "id": "8a4c46dd.2c996",
+ "id": "1b1304b9.a5e66b",
"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": 3719.4546508789062,
- "y": 823.5714111328125,
- "z": "1806503a.76a7a",
+ "x": 3745.1380157470703,
+ "y": 828.8523101806641,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "171f1743.fcb899",
+ "id": "e774fced.6104a8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3705.392303466797,
- "y": 867.711669921875,
- "z": "1806503a.76a7a",
+ "x": 3731.075668334961,
+ "y": 872.9925689697266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1b66d741.6f4631",
+ "id": "1eb5ad40.d06413",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3762.883026123047,
- "y": 768.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3788.566390991211,
+ "y": 773.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "cecd018.605a88"
+ "7f2b8c9b.099c14"
]
]
},
{
- "id": "c731b8e7.238d38",
+ "id": "c076d47b.eaded",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3716.883270263672,
- "y": 920.28564453125,
- "z": "1806503a.76a7a",
+ "x": 3742.566635131836,
+ "y": 925.5665435791016,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f9f52da3.b95878"
+ "8445401a.e44628"
]
]
},
{
- "id": "cecd018.605a88",
+ "id": "7f2b8c9b.099c14",
"type": "switchNode",
"name": "switch nr type",
"xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",
"comments": "",
"outputs": 1,
- "x": 3923.883270263672,
- "y": 655.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3949.566635131836,
+ "y": 660.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f0539c95.2ea1d",
- "44b1b904.08834",
- "41d8ce05.5caae"
+ "b0a8e75a.0829b8",
+ "40b074e3.b8cf9c",
+ "9b9082d.d33238"
]
]
},
{
- "id": "f9f52da3.b95878",
+ "id": "8445401a.e44628",
"type": "switchNode",
"name": "switch nr type",
"xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",
"comments": "",
"outputs": 1,
- "x": 3915.883270263672,
- "y": 840.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3941.566635131836,
+ "y": 845.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "abd0f375.c30ff",
- "eba9832a.ffee4",
- "4bc67983.47c6f"
+ "65174d4b.beb5c4",
+ "b443365d.1a3bf",
+ "a01fe37.2547ea"
]
]
},
{
- "id": "f0539c95.2ea1d",
+ "id": "b0a8e75a.0829b8",
"type": "outcome",
"name": "ROOT",
"xml": "<outcome value='ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4147.883758544922,
- "y": 359.28570556640625,
- "z": "1806503a.76a7a",
+ "x": 4173.567123413086,
+ "y": 364.5666046142578,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "653aef18.035f68"
+ "9aca5d50.3d0028"
]
]
},
{
- "id": "44b1b904.08834",
+ "id": "40b074e3.b8cf9c",
"type": "outcome",
"name": "LEAF",
"xml": "<outcome value='LEAF'>\n",
"comments": "",
"outputs": 1,
- "x": 4149.883758544922,
- "y": 413.28570556640625,
- "z": "1806503a.76a7a",
+ "x": 4175.567123413086,
+ "y": 418.5666046142578,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "4456e14a.c61538"
+ "d411ea2f.0fea6"
]
]
},
{
- "id": "abd0f375.c30ff",
+ "id": "65174d4b.beb5c4",
"type": "outcome",
"name": "ROOT",
"xml": "<outcome value='ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4113.883758544922,
- "y": 619.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4139.567123413086,
+ "y": 624.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "dc25cb2f.e0da48"
+ "b1818ac5.01eff"
]
]
},
{
- "id": "eba9832a.ffee4",
+ "id": "b443365d.1a3bf",
"type": "outcome",
"name": "LEAF",
"xml": "<outcome value='LEAF'>\n",
"comments": "",
"outputs": 1,
- "x": 4115.883758544922,
- "y": 673.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4141.567123413086,
+ "y": 678.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7b200b08.d1724c"
+ "7efc1cf.1fed664"
]
]
},
{
- "id": "a11ab8.c3c2f548",
+ "id": "f6cae941.406738",
"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": 4457.883758544922,
- "y": 311.28570556640625,
- "z": "1806503a.76a7a",
+ "x": 4483.567123413086,
+ "y": 316.5666046142578,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "7e53eaf1.53c434",
+ "id": "71276df1.c00474",
"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": 4450.883758544922,
- "y": 409.28570556640625,
- "z": "1806503a.76a7a",
+ "x": 4476.567123413086,
+ "y": 414.5666046142578,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "231b0ffb.372688",
+ "id": "18b30ce8.3b3b9b",
"type": "set",
"name": "set network-route-ROOT",
"xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4429.883758544922,
- "y": 592.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4455.567123413086,
+ "y": 597.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1b4ef1ae.221bae",
+ "id": "bdb5a388.dc57d",
"type": "set",
"name": "set network-route-LEAF",
"xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4433.883758544922,
- "y": 685.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4459.567123413086,
+ "y": 690.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "f61c43e6.4dbe28",
+ "id": "365f833d.25b8d4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3609.88330078125,
- "y": 1345.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3635.566665649414,
+ "y": 1350.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "58e01c76.2a233c"
+ "9fbce841.2e2e5"
]
]
},
{
- "id": "f239d755.e3888",
+ "id": "374e0e92.acb9ca",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3619.374267578125,
- "y": 1387.8598022460938,
- "z": "1806503a.76a7a",
+ "x": 3645.057632446289,
+ "y": 1393.1407012939453,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ffe24b12.95af4"
+ "544f9b1.6ea9ce4"
]
]
},
{
- "id": "7fecb9.d188bb48",
+ "id": "a1cbd1ad.ad2c18",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3607.88330078125,
- "y": 1434.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3633.566665649414,
+ "y": 1439.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6af9609c.4c1ea"
+ "875bb611.eebb3"
]
]
},
{
- "id": "6132f0e6.1cd1a8",
+ "id": "def43ac8.216f6",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 3309.88330078125,
- "y": 1307.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3335.566665649414,
+ "y": 1312.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "4618e1c0.461d88",
+ "id": "2c1d8b21.e96e8c",
"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": 3352.88330078125,
- "y": 1372.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3378.566665649414,
+ "y": 1377.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f61c43e6.4dbe28",
- "f239d755.e3888",
- "7fecb9.d188bb48"
+ "365f833d.25b8d4",
+ "374e0e92.acb9ca",
+ "a1cbd1ad.ad2c18"
]
]
},
{
- "id": "6aa3951e.157a4c",
+ "id": "b16688a0.4defc",
"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": 3353.883270263672,
- "y": 1124.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3379.566635131836,
+ "y": 1129.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "273ca4a1.1ba064",
- "4a30eba.076bb14"
+ "34aa1b4f.ba281c",
+ "141fecfc.2b9053"
]
]
},
{
- "id": "4a30eba.076bb14",
+ "id": "141fecfc.2b9053",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3576.883270263672,
- "y": 1110.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3602.566635131836,
+ "y": 1115.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "3b0c1a6c.5d807e"
+ "6c70ba9f.edd1f4"
]
]
},
{
- "id": "273ca4a1.1ba064",
+ "id": "34aa1b4f.ba281c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3578.883270263672,
- "y": 1143.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3604.566635131836,
+ "y": 1148.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1277d9f.69171a6"
+ "809a76b0.69bfb"
]
]
},
{
- "id": "58e01c76.2a233c",
+ "id": "9fbce841.2e2e5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3782.5498046875,
- "y": 1344.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3808.233169555664,
+ "y": 1349.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f718a065.a6f86",
- "66055190.fb6538"
+ "d947a96b.ec0e98",
+ "78e35528.26de5c"
]
]
},
{
- "id": "ffe24b12.95af4",
+ "id": "544f9b1.6ea9ce4",
"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": 3772.9456787109375,
- "y": 1391.1455383300781,
- "z": "1806503a.76a7a",
+ "x": 3798.6290435791016,
+ "y": 1396.4264373779297,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "6af9609c.4c1ea",
+ "id": "875bb611.eebb3",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3776.88330078125,
- "y": 1435.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3802.566665649414,
+ "y": 1440.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "f718a065.a6f86",
+ "id": "d947a96b.ec0e98",
"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": 4046.88330078125,
- "y": 1328.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4072.566665649414,
+ "y": 1333.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "97c35025.9a9a9",
- "3a478d5e.f8179a"
+ "15bba4b9.d2a05b",
+ "3ad9867a.e42d4a"
]
]
},
{
- "id": "3a478d5e.f8179a",
+ "id": "3ad9867a.e42d4a",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4269.88330078125,
- "y": 1283.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4295.566665649414,
+ "y": 1288.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e66b8dbe.739f2"
+ "6b929f53.c8f4f8"
]
]
},
{
- "id": "97c35025.9a9a9",
+ "id": "15bba4b9.d2a05b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4271.88330078125,
- "y": 1347.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4297.566665649414,
+ "y": 1352.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "8b5a4d36.3a2bb8"
+ "1ee9816c.cbffbf"
]
]
},
{
- "id": "8b5a4d36.3a2bb8",
+ "id": "1ee9816c.cbffbf",
"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": 4433.88330078125,
- "y": 1343.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4459.566665649414,
+ "y": 1348.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e66b8dbe.739f2",
+ "id": "6b929f53.c8f4f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4434.88330078125,
- "y": 1280.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4460.566665649414,
+ "y": 1285.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9ab6076f.b64fb",
- "39801818.ba2ad"
+ "2ecc2d46.f12c7a",
+ "9183827d.0d9718"
]
]
},
{
- "id": "1277d9f.69171a6",
+ "id": "809a76b0.69bfb",
"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": 3721.883270263672,
- "y": 1140.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3747.566635131836,
+ "y": 1145.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "3b0c1a6c.5d807e",
+ "id": "6c70ba9f.edd1f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3724.883270263672,
- "y": 1103.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3750.566635131836,
+ "y": 1108.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "67f68b93.dc06f4",
- "41f439c7.6c07f8"
+ "920604a0.fd0cf",
+ "ad826b52.8e9fa"
]
]
},
{
- "id": "67f68b93.dc06f4",
+ "id": "920604a0.fd0cf",
"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": 3916.883270263672,
- "y": 1105.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3942.566635131836,
+ "y": 1110.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "66055190.fb6538",
+ "id": "78e35528.26de5c",
"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": 4006.88330078125,
- "y": 1460.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4032.566665649414,
+ "y": 1465.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c328fdc0.a05af"
+ "75c2427c.8c10cc"
]
]
},
{
- "id": "c328fdc0.a05af",
+ "id": "75c2427c.8c10cc",
"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": 4212.88330078125,
- "y": 1460.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4238.566665649414,
+ "y": 1465.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "23ec2727.c8e7f"
+ "5fbadc48.b9fad4"
]
]
},
{
- "id": "23ec2727.c8e7f",
+ "id": "5fbadc48.b9fad4",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 4428.1689453125,
- "y": 1460.1075439453125,
- "z": "1806503a.76a7a",
+ "x": 4453.852310180664,
+ "y": 1465.388442993164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e1b77e00.282c4"
+ "4d8b1a53.4482f4"
]
]
},
{
- "id": "41f439c7.6c07f8",
+ "id": "ad826b52.8e9fa",
"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": 3913.883270263672,
- "y": 1170.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3939.566635131836,
+ "y": 1175.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "89a8d2d0.88f3",
- "6334a351.696854",
- "c542e0e0.bf42b"
+ "70c21f01.ccf8c",
+ "fd021df7.11e338",
+ "df54403.64867c"
]
]
},
{
- "id": "89a8d2d0.88f3",
+ "id": "70c21f01.ccf8c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4109.383392333984,
- "y": 1122.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4135.066757202148,
+ "y": 1127.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c62cbf2d.6fa458"
+ "37006658.3814c2"
]
]
},
{
- "id": "6334a351.696854",
+ "id": "fd021df7.11e338",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4101.383392333984,
- "y": 1177.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4127.066757202148,
+ "y": 1182.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "143c4bf3.014b4c"
+ "24c12ef7.012c52"
]
]
},
{
- "id": "c542e0e0.bf42b",
+ "id": "df54403.64867c",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4106.383392333984,
- "y": 1234.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4132.066757202148,
+ "y": 1239.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ca788cf9.3c8038"
+ "2b777797.09f0b8"
]
]
},
{
- "id": "ca788cf9.3c8038",
+ "id": "2b777797.09f0b8",
"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": 4258.383392333984,
- "y": 1235.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4284.066757202148,
+ "y": 1240.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "143c4bf3.014b4c",
+ "id": "24c12ef7.012c52",
"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": 4269.383392333984,
- "y": 1180.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4295.066757202148,
+ "y": 1185.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "c62cbf2d.6fa458",
+ "id": "37006658.3814c2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4253.765716552734,
- "y": 1119.9414367675781,
- "z": "1806503a.76a7a",
+ "x": 4279.449081420898,
+ "y": 1125.2223358154297,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "aab3feab.bcb5b"
+ "9c96e054.d5da8"
]
]
},
{
- "id": "aab3feab.bcb5b",
+ "id": "9c96e054.d5da8",
"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": 4447.883270263672,
- "y": 1164.2857055664062,
- "z": "1806503a.76a7a",
+ "x": 4473.566635131836,
+ "y": 1169.5666046142578,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ac9dba33.9ee3a8"
+ "efaf74dd.57cd28"
]
]
},
{
- "id": "39801818.ba2ad",
+ "id": "9183827d.0d9718",
"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": 4604.88330078125,
- "y": 1238.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4630.566665649414,
+ "y": 1243.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "9ab6076f.b64fb",
+ "id": "2ecc2d46.f12c7a",
"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": 4605.88330078125,
- "y": 1346.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4631.566665649414,
+ "y": 1351.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "6381354a.11146c",
+ "id": "e06b7ada.eb82e8",
"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": 4606.88330078125,
- "y": 1295.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4632.566665649414,
+ "y": 1300.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e1b77e00.282c4",
+ "id": "4d8b1a53.4482f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4635.00048828125,
- "y": 1460.6260986328125,
- "z": "1806503a.76a7a",
+ "x": 4660.683853149414,
+ "y": 1465.906997680664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a1ad6a91.cdad1",
- "bef51671.772a1",
- "55e08f7a.b87978"
+ "dced3e1c.40e48",
+ "5a4be8c3.e9f088",
+ "301c508b.710a5"
]
]
},
{
- "id": "a1ad6a91.cdad1",
+ "id": "dced3e1c.40e48",
"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": 4850.00048828125,
- "y": 1422.6260986328125,
- "z": "1806503a.76a7a",
+ "x": 4875.683853149414,
+ "y": 1427.906997680664,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "bef51671.772a1",
+ "id": "5a4be8c3.e9f088",
"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": 4847.00048828125,
- "y": 1461.6260986328125,
- "z": "1806503a.76a7a",
+ "x": 4872.683853149414,
+ "y": 1466.906997680664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "db81e8e0.68e13"
+ "34a88173.395bbe"
]
]
},
{
- "id": "55e08f7a.b87978",
+ "id": "301c508b.710a5",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4802.50048828125,
- "y": 1503.6260986328125,
- "z": "1806503a.76a7a",
+ "x": 4828.183853149414,
+ "y": 1508.906997680664,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "db81e8e0.68e13",
+ "id": "34a88173.395bbe",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5027.50048828125,
- "y": 1460.6260986328125,
- "z": "1806503a.76a7a",
+ "x": 5053.183853149414,
+ "y": 1465.906997680664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "52661a57.fe0a3c"
+ "91aa780.576ce08"
]
]
},
{
- "id": "409a042d.2fadac",
+ "id": "46f94459.4a6e34",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4835.88330078125,
- "y": 1056.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4861.566665649414,
+ "y": 1061.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f76f51b8.a98b3"
+ "eb72bb20.19559"
]
]
},
{
- "id": "f76f51b8.a98b3",
+ "id": "eb72bb20.19559",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5012.88330078125,
- "y": 1048.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5038.566665649414,
+ "y": 1053.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f1cd5bd3.ddbdb8",
- "b8b89faf.7ac19"
+ "32b5afac.4ae738",
+ "92ed0f08.6c0c2"
]
]
},
{
- "id": "ac9dba33.9ee3a8",
+ "id": "efaf74dd.57cd28",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4638.883270263672,
- "y": 1154.2857055664062,
- "z": "1806503a.76a7a",
+ "x": 4664.566635131836,
+ "y": 1159.5666046142578,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "409a042d.2fadac",
- "80f5aaec.b0ffc8"
+ "46f94459.4a6e34",
+ "95ea5c2d.7d46e8"
]
]
},
{
- "id": "80f5aaec.b0ffc8",
+ "id": "95ea5c2d.7d46e8",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 4838.88330078125,
- "y": 1130.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4864.566665649414,
+ "y": 1135.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "bf72647d.49f538"
+ "93430c1b.104ce"
]
]
},
{
- "id": "bf72647d.49f538",
+ "id": "93430c1b.104ce",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5015.88330078125,
- "y": 1122.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5041.566665649414,
+ "y": 1127.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "97239b14.6f12c8"
+ "78b310b8.dd74"
]
]
},
{
- "id": "52661a57.fe0a3c",
+ "id": "91aa780.576ce08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5185.50048828125,
- "y": 1460.6260986328125,
- "z": "1806503a.76a7a",
+ "x": 5211.183853149414,
+ "y": 1465.906997680664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5700a19e.1dbeb8"
+ "5b4e25f5.7b14e4"
]
]
},
{
- "id": "5700a19e.1dbeb8",
+ "id": "5b4e25f5.7b14e4",
"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": 5392.50048828125,
- "y": 1460.6260986328125,
- "z": "1806503a.76a7a",
+ "x": 5418.183853149414,
+ "y": 1465.906997680664,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "b8b89faf.7ac19",
+ "id": "92ed0f08.6c0c2",
"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": 5220.88330078125,
- "y": 1055.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5246.566665649414,
+ "y": 1060.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5d74c4c9.fd207c",
- "bdb7d238.f96a08",
- "7cf71a83.19030c"
+ "322d8e2.13d36f2",
+ "a2041883.aae29",
+ "fe986e1.586ed1"
]
]
},
{
- "id": "f1cd5bd3.ddbdb8",
+ "id": "32b5afac.4ae738",
"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": 5250.88330078125,
- "y": 1003.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5276.566665649414,
+ "y": 1008.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "5d74c4c9.fd207c",
+ "id": "322d8e2.13d36f2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5430.88330078125,
- "y": 1046.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5456.566665649414,
+ "y": 1051.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e430f4b5.90b5d"
+ "9ca79008.c70bf8"
]
]
},
{
- "id": "bdb7d238.f96a08",
+ "id": "a2041883.aae29",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5422.88330078125,
- "y": 1101.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5448.566665649414,
+ "y": 1106.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "46b0e213.0f69d4"
+ "ec84ed8c.59c368"
]
]
},
{
- "id": "7cf71a83.19030c",
+ "id": "fe986e1.586ed1",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5427.88330078125,
- "y": 1158.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5453.566665649414,
+ "y": 1163.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "99bfc958.cc2928"
+ "ae200af1.d5e5c8"
]
]
},
{
- "id": "99bfc958.cc2928",
+ "id": "ae200af1.d5e5c8",
"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": 5579.88330078125,
- "y": 1159.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5605.566665649414,
+ "y": 1164.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "46b0e213.0f69d4",
+ "id": "ec84ed8c.59c368",
"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": 5590.88330078125,
- "y": 1104.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5616.566665649414,
+ "y": 1109.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e430f4b5.90b5d",
+ "id": "9ca79008.c70bf8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5575.265625,
- "y": 1043.9414367675781,
- "z": "1806503a.76a7a",
+ "x": 5600.948989868164,
+ "y": 1049.2223358154297,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "3d0751e6.cf382e"
+ "e75f84ea.1b627"
]
]
},
{
- "id": "97239b14.6f12c8",
+ "id": "78b310b8.dd74",
"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": 5250.88330078125,
- "y": 1246.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5276.566665649414,
+ "y": 1251.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "3d0751e6.cf382e",
+ "id": "e75f84ea.1b627",
"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": 5789.88330078125,
- "y": 1040.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5815.566665649414,
+ "y": 1045.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "33b11d1b.98a69a",
+ "id": "d425ccce.04f6a",
"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": 4445.883758544922,
- "y": 347.28570556640625,
- "z": "1806503a.76a7a",
+ "x": 4471.567123413086,
+ "y": 352.5666046142578,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "2dc9cffb.3878b8",
+ "id": "72647ac9.fcc034",
"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": 4446.883728027344,
- "y": 451.28570556640625,
- "z": "1806503a.76a7a",
+ "x": 4472.567092895508,
+ "y": 456.5666046142578,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "653aef18.035f68",
+ "id": "9aca5d50.3d0028",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4270.883758544922,
- "y": 353.28570556640625,
- "z": "1806503a.76a7a",
+ "x": 4296.567123413086,
+ "y": 358.5666046142578,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a11ab8.c3c2f548",
- "33b11d1b.98a69a"
+ "f6cae941.406738",
+ "d425ccce.04f6a"
]
]
},
{
- "id": "4456e14a.c61538",
+ "id": "d411ea2f.0fea6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4276.883758544922,
- "y": 417.28570556640625,
- "z": "1806503a.76a7a",
+ "x": 4302.567123413086,
+ "y": 422.5666046142578,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7e53eaf1.53c434",
- "2dc9cffb.3878b8"
+ "71276df1.c00474",
+ "72647ac9.fcc034"
]
]
},
{
- "id": "dc25cb2f.e0da48",
+ "id": "b1818ac5.01eff",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4241.883758544922,
- "y": 619.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4267.567123413086,
+ "y": 624.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "231b0ffb.372688",
- "3979d153.538ee6"
+ "18b30ce8.3b3b9b",
+ "e0b34ba1.74f538"
]
]
},
{
- "id": "7b200b08.d1724c",
+ "id": "7efc1cf.1fed664",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4244.883758544922,
- "y": 672.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4270.567123413086,
+ "y": 677.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1b4ef1ae.221bae",
- "49dc9fac.676fe"
+ "bdb5a388.dc57d",
+ "f08a6dfd.10adf"
]
]
},
{
- "id": "3979d153.538ee6",
+ "id": "e0b34ba1.74f538",
"type": "set",
"name": "set network-route-B",
"xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4415.883758544922,
- "y": 632.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4441.567123413086,
+ "y": 637.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "49dc9fac.676fe",
+ "id": "f08a6dfd.10adf",
"type": "set",
"name": "set network-route-A",
"xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",
"comments": "",
- "x": 4418.883758544922,
- "y": 723.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4444.567123413086,
+ "y": 728.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "f7cb7391.6f67a",
+ "id": "e27939d4.dc1f9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3741.88330078125,
- "y": 1802.285888671875,
- "z": "1806503a.76a7a",
+ "x": 3767.566665649414,
+ "y": 1807.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9a5ca37c.910178",
- "2a8d98c8.2c78a"
+ "e945ebed.eb7548",
+ "77e0d458.7dce6c"
]
]
},
{
- "id": "fd44019f.688f6",
+ "id": "f47a2634.b211d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3569.216796875,
- "y": 1803.285888671875,
- "z": "1806503a.76a7a",
+ "x": 3594.900161743164,
+ "y": 1808.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f7cb7391.6f67a"
+ "e27939d4.dc1f9"
]
]
},
{
- "id": "3eb019bb.1ee706",
+ "id": "4a8297d6.2a928",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3578.707763671875,
- "y": 1845.8599243164062,
- "z": "1806503a.76a7a",
+ "x": 3604.391128540039,
+ "y": 1851.1408233642578,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f4d10bee.1b32c"
+ "5c13cfc7.d7d798"
]
]
},
{
- "id": "ef74e13b.116b3",
+ "id": "aeb5511b.98c418",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3567.216796875,
- "y": 1892.285888671875,
- "z": "1806503a.76a7a",
+ "x": 3592.900161743164,
+ "y": 1897.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7a977b6c.124a74"
+ "6967c0f4.670908"
]
]
},
{
- "id": "f4d10bee.1b32c",
+ "id": "5c13cfc7.d7d798",
"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": 3732.2791748046875,
- "y": 1849.1456604003906,
- "z": "1806503a.76a7a",
+ "x": 3757.9625396728516,
+ "y": 1854.4265594482422,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "7a977b6c.124a74",
+ "id": "6967c0f4.670908",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3736.216796875,
- "y": 1893.285888671875,
- "z": "1806503a.76a7a",
+ "x": 3761.900161743164,
+ "y": 1898.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "9a5ca37c.910178",
+ "id": "e945ebed.eb7548",
"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": 4028.216796875,
- "y": 1806.2860107421875,
- "z": "1806503a.76a7a",
+ "x": 4053.900161743164,
+ "y": 1811.566909790039,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "efd0a9b7.e547a8",
- "caaf5e66.b1cb"
+ "e55a817f.49527",
+ "d5120a58.c5add"
]
]
},
{
- "id": "caaf5e66.b1cb",
+ "id": "d5120a58.c5add",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4251.216796875,
- "y": 1761.2860107421875,
- "z": "1806503a.76a7a",
+ "x": 4276.900161743164,
+ "y": 1766.566909790039,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5ec876cd.f1dea8"
+ "754abe34.cc3b8"
]
]
},
{
- "id": "efd0a9b7.e547a8",
+ "id": "e55a817f.49527",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4253.216796875,
- "y": 1825.2860107421875,
- "z": "1806503a.76a7a",
+ "x": 4278.900161743164,
+ "y": 1830.566909790039,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "72d34df6.13ce64"
+ "1b1e2d9b.600bda"
]
]
},
{
- "id": "72d34df6.13ce64",
+ "id": "1b1e2d9b.600bda",
"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": 4412.216796875,
- "y": 1844.2860107421875,
- "z": "1806503a.76a7a",
+ "x": 4437.900161743164,
+ "y": 1849.566909790039,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "5ec876cd.f1dea8",
+ "id": "754abe34.cc3b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4416.216796875,
- "y": 1758.2860107421875,
- "z": "1806503a.76a7a",
+ "x": 4441.900161743164,
+ "y": 1763.566909790039,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2854b6e2.b50402",
- "1fbd987b.e2c578"
+ "e1fca79d.bcc158",
+ "d062e564.f9cc3"
]
]
},
{
- "id": "eef6ad07.9c7d5",
+ "id": "9d9de9db.5c38b8",
"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": 3341.216796875,
- "y": 1838.285888671875,
- "z": "1806503a.76a7a",
+ "x": 3366.900161743164,
+ "y": 1843.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "fd44019f.688f6",
- "3eb019bb.1ee706",
- "ef74e13b.116b3"
+ "f47a2634.b211d8",
+ "4a8297d6.2a928",
+ "aeb5511b.98c418"
]
]
},
{
- "id": "46101f8f.1fb8b8",
+ "id": "dcd55e2.3f6482",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 3302.216796875,
- "y": 1782.285888671875,
- "z": "1806503a.76a7a",
+ "x": 3327.900161743164,
+ "y": 1787.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "d38e0865.514348",
+ "id": "63cddf09.26d868",
"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": 3353.216796875,
- "y": 1577.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3378.900161743164,
+ "y": 1582.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f536d783.2e1028",
- "54ea75a9.fca1c4"
+ "43aff4f9.b6b3e4",
+ "25e76471.03af04"
]
]
},
{
- "id": "54ea75a9.fca1c4",
+ "id": "25e76471.03af04",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3576.216796875,
- "y": 1563.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3601.900161743164,
+ "y": 1568.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "3ffa66c6.048e62"
+ "a96745eb.fd51a8"
]
]
},
{
- "id": "f536d783.2e1028",
+ "id": "43aff4f9.b6b3e4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3578.216796875,
- "y": 1596.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3603.900161743164,
+ "y": 1601.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "73c7be78.48771"
+ "65d2388d.31966"
]
]
},
{
- "id": "73c7be78.48771",
+ "id": "65d2388d.31966",
"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": 3721.216796875,
- "y": 1593.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3746.900161743164,
+ "y": 1598.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "3ffa66c6.048e62",
+ "id": "a96745eb.fd51a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3724.216796875,
- "y": 1556.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3749.900161743164,
+ "y": 1561.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "116bcef1.41b689",
- "bd9fbc09.ccb15"
+ "e299d57.a910ca8",
+ "f2c7502b.08699"
]
]
},
{
- "id": "116bcef1.41b689",
+ "id": "e299d57.a910ca8",
"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": 3918.216796875,
- "y": 1559.285888671875,
- "z": "1806503a.76a7a",
+ "x": 3943.900161743164,
+ "y": 1564.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "2a8d98c8.2c78a",
+ "id": "77e0d458.7dce6c",
"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": 3969.216766357422,
- "y": 1939.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3994.900131225586,
+ "y": 1944.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "821e2eef.7d9ce8"
+ "e086896d.a84a3"
]
]
},
{
- "id": "821e2eef.7d9ce8",
+ "id": "e086896d.a84a3",
"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": 4175.216766357422,
- "y": 1939.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4200.900131225586,
+ "y": 1944.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b9228d23.f35b1"
+ "7b35902c.38cf98"
]
]
},
{
- "id": "b9228d23.f35b1",
+ "id": "7b35902c.38cf98",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 4392.502410888672,
- "y": 1938.1075439453125,
- "z": "1806503a.76a7a",
+ "x": 4418.185775756836,
+ "y": 1943.388442993164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1db12922.ce9147"
+ "3adb3c4.e1dbc44"
]
]
},
{
- "id": "bd9fbc09.ccb15",
+ "id": "f2c7502b.08699",
"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": 3940.216796875,
- "y": 1627.285888671875,
- "z": "1806503a.76a7a",
+ "x": 3965.900161743164,
+ "y": 1632.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "71a75cfd.cb2324",
- "c5a92d1c.748898",
- "d4c41231.0d38f"
+ "816c398a.a95008",
+ "793de235.310dbc",
+ "438956b5.03e5"
]
]
},
{
- "id": "71a75cfd.cb2324",
+ "id": "816c398a.a95008",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4135.7169189453125,
- "y": 1579.285888671875,
- "z": "1806503a.76a7a",
+ "x": 4161.400283813477,
+ "y": 1584.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "55c143a3.bf5e9c"
+ "c1f38920.d25ea"
]
]
},
{
- "id": "c5a92d1c.748898",
+ "id": "793de235.310dbc",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4127.7169189453125,
- "y": 1634.285888671875,
- "z": "1806503a.76a7a",
+ "x": 4153.400283813477,
+ "y": 1639.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a19a5afd.bfc2c"
+ "cab6de35.b52228"
]
]
},
{
- "id": "d4c41231.0d38f",
+ "id": "438956b5.03e5",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4132.7169189453125,
- "y": 1691.285888671875,
- "z": "1806503a.76a7a",
+ "x": 4158.400283813477,
+ "y": 1696.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5c56b620.c82d88"
+ "a8484dc0.47884"
]
]
},
{
- "id": "5c56b620.c82d88",
+ "id": "a8484dc0.47884",
"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": 4284.7169189453125,
- "y": 1692.285888671875,
- "z": "1806503a.76a7a",
+ "x": 4310.400283813477,
+ "y": 1697.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "a19a5afd.bfc2c",
+ "id": "cab6de35.b52228",
"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": 4295.7169189453125,
- "y": 1637.285888671875,
- "z": "1806503a.76a7a",
+ "x": 4321.400283813477,
+ "y": 1642.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "55c143a3.bf5e9c",
+ "id": "c1f38920.d25ea",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4280.0992431640625,
- "y": 1576.9415588378906,
- "z": "1806503a.76a7a",
+ "x": 4305.782608032227,
+ "y": 1582.2224578857422,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "79a34acd.c9a0bc"
+ "afe15cf0.f36818"
]
]
},
{
- "id": "2854b6e2.b50402",
+ "id": "e1fca79d.bcc158",
"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": 4586.216796875,
- "y": 1719.2860107421875,
- "z": "1806503a.76a7a",
+ "x": 4611.900161743164,
+ "y": 1724.566909790039,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1fbd987b.e2c578",
+ "id": "d062e564.f9cc3",
"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": 4587.216796875,
- "y": 1824.2860107421875,
- "z": "1806503a.76a7a",
+ "x": 4612.900161743164,
+ "y": 1829.566909790039,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "8823cb9b.b21f5",
+ "id": "808f1d51.43ea1",
"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": 4582.216796875,
- "y": 1773.2860107421875,
- "z": "1806503a.76a7a",
+ "x": 4607.900161743164,
+ "y": 1778.566909790039,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1db12922.ce9147",
+ "id": "3adb3c4.e1dbc44",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4599.333953857422,
- "y": 1927.626220703125,
- "z": "1806503a.76a7a",
+ "x": 4625.017318725586,
+ "y": 1932.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "4fe8713d.4f503",
- "c4b73dd8.f86748",
- "cf5e37a1.834b48"
+ "d9f1d004.ab36e8",
+ "c34231fa.58e828",
+ "e0d690d7.a8c998"
]
]
},
{
- "id": "4fe8713d.4f503",
+ "id": "d9f1d004.ab36e8",
"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": 4814.333953857422,
- "y": 1889.626220703125,
- "z": "1806503a.76a7a",
+ "x": 4840.017318725586,
+ "y": 1894.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "c4b73dd8.f86748",
+ "id": "c34231fa.58e828",
"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": 4811.333953857422,
- "y": 1928.626220703125,
- "z": "1806503a.76a7a",
+ "x": 4837.017318725586,
+ "y": 1933.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "fd454717.5864e8"
+ "1c725cd0.b941cb"
]
]
},
{
- "id": "cf5e37a1.834b48",
+ "id": "e0d690d7.a8c998",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4766.833953857422,
- "y": 1970.626220703125,
- "z": "1806503a.76a7a",
+ "x": 4792.517318725586,
+ "y": 1975.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "fd454717.5864e8",
+ "id": "1c725cd0.b941cb",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4991.833953857422,
- "y": 1927.626220703125,
- "z": "1806503a.76a7a",
+ "x": 5017.517318725586,
+ "y": 1932.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6021f32a.54d8fc"
+ "d4ead200.f358d"
]
]
},
{
- "id": "6021f32a.54d8fc",
+ "id": "d4ead200.f358d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5149.833953857422,
- "y": 1927.626220703125,
- "z": "1806503a.76a7a",
+ "x": 5175.517318725586,
+ "y": 1932.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1a613df3.ff444a"
+ "21d1a6b2.01b042"
]
]
},
{
- "id": "1a613df3.ff444a",
+ "id": "21d1a6b2.01b042",
"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": 5356.833953857422,
- "y": 1927.626220703125,
- "z": "1806503a.76a7a",
+ "x": 5382.517318725586,
+ "y": 1932.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1465bad2.a0d805",
+ "id": "4c098907.41a99",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4862.216796875,
- "y": 1595.285888671875,
- "z": "1806503a.76a7a",
+ "x": 4887.900161743164,
+ "y": 1600.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f75a0195.2a4c5"
+ "801eca00.935f68"
]
]
},
{
- "id": "f75a0195.2a4c5",
+ "id": "801eca00.935f68",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5039.216796875,
- "y": 1587.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5064.900161743164,
+ "y": 1592.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1de23279.e8bad6",
- "95237093.1f1c18"
+ "387f801c.205ae8",
+ "9175f1b.049129"
]
]
},
{
- "id": "79a34acd.c9a0bc",
+ "id": "afe15cf0.f36818",
"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": 4464.216796875,
- "y": 1591.285888671875,
- "z": "1806503a.76a7a",
+ "x": 4489.900161743164,
+ "y": 1596.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b5cddb2a.47fb5"
+ "311e9242.e1d87e"
]
]
},
{
- "id": "b5cddb2a.47fb5",
+ "id": "311e9242.e1d87e",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4659.216796875,
- "y": 1591.285888671875,
- "z": "1806503a.76a7a",
+ "x": 4684.900161743164,
+ "y": 1596.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1465bad2.a0d805",
- "a6e303e4.3eb668"
+ "4c098907.41a99",
+ "349df30f.7cba04"
]
]
},
{
- "id": "95237093.1f1c18",
+ "id": "9175f1b.049129",
"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": 5247.216796875,
- "y": 1594.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5272.900161743164,
+ "y": 1599.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2d3d2acb.c107b6",
- "fb5337e0.94ced8",
- "752448e6.ec72a8"
+ "42985b25.52fcec",
+ "e5b701e3.8392b",
+ "3efd20ec.3f4778"
]
]
},
{
- "id": "6879e9be.d7aee",
+ "id": "b70a777b.22a5f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5041.216796875,
- "y": 1660.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5066.900161743164,
+ "y": 1665.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "8691b2ec.22b9d8"
+ "8a34b29e.6de5e8"
]
]
},
{
- "id": "a6e303e4.3eb668",
+ "id": "349df30f.7cba04",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 4864.216796875,
- "y": 1668.285888671875,
- "z": "1806503a.76a7a",
+ "x": 4889.900161743164,
+ "y": 1673.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6879e9be.d7aee"
+ "b70a777b.22a5f8"
]
]
},
{
- "id": "1de23279.e8bad6",
+ "id": "387f801c.205ae8",
"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": 5277.216796875,
- "y": 1542.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5302.900161743164,
+ "y": 1547.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "8691b2ec.22b9d8",
+ "id": "8a34b29e.6de5e8",
"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": 5254.216796875,
- "y": 1726.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5279.900161743164,
+ "y": 1731.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "2d3d2acb.c107b6",
+ "id": "42985b25.52fcec",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5457.216796875,
- "y": 1585.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5482.900161743164,
+ "y": 1590.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a3e7410.2b3c44"
+ "16d18a71.6daf16"
]
]
},
{
- "id": "fb5337e0.94ced8",
+ "id": "e5b701e3.8392b",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5449.216796875,
- "y": 1640.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5474.900161743164,
+ "y": 1645.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "656cbbf6.41438c"
+ "6ba1c131.2a9348"
]
]
},
{
- "id": "752448e6.ec72a8",
+ "id": "3efd20ec.3f4778",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5454.216796875,
- "y": 1697.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5479.900161743164,
+ "y": 1702.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6bb525a1.9cb52c"
+ "e5aceb1d.a2ff7"
]
]
},
{
- "id": "6bb525a1.9cb52c",
+ "id": "e5aceb1d.a2ff7",
"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": 5606.216796875,
- "y": 1698.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5631.900161743164,
+ "y": 1703.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "656cbbf6.41438c",
+ "id": "6ba1c131.2a9348",
"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": 5617.216796875,
- "y": 1643.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5642.900161743164,
+ "y": 1648.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "a3e7410.2b3c44",
+ "id": "16d18a71.6daf16",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5601.59912109375,
- "y": 1582.9415588378906,
- "z": "1806503a.76a7a",
+ "x": 5627.282485961914,
+ "y": 1588.2224578857422,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "99742e42.2fdbd8"
+ "c4efa7e8.819f98"
]
]
},
{
- "id": "99742e42.2fdbd8",
+ "id": "c4efa7e8.819f98",
"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": 5816.216796875,
- "y": 1579.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5841.900161743164,
+ "y": 1584.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "78d4922e.8ebe04",
+ "id": "e5f9b3dc.c2f9f",
"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": 3314.88330078125,
- "y": 1449.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3340.566665649414,
+ "y": 1454.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "c220ecdf.76a978",
+ "id": "169ca3b9.4d31a4",
"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": 3301.88330078125,
- "y": 1969.285888671875,
- "z": "1806503a.76a7a",
+ "x": 3327.566665649414,
+ "y": 1974.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "b4f5dada.48378",
+ "id": "426ddfc0.c628b",
"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": 2426.883331298828,
- "y": 162.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2452.566696166992,
+ "y": 167.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "5db562b1.71111c",
+ "id": "d0874bda.7e1ac",
"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": 2360.883331298828,
- "y": 198.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2386.566696166992,
+ "y": 203.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "3f2dec8d.5c3844",
+ "id": "2daf88d4.4069b",
"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": 2545.883331298828,
- "y": 125.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 2571.566696166992,
+ "y": 130.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "8ae1ae92.9d4708",
+ "id": "4d0caa12.a83adc",
"type": "comment",
"name": "NOT NEEDED ANYMORE?",
"info": "",
"comments": "",
- "x": 4072.88330078125,
- "y": 1427.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4098.566665649414,
+ "y": 1432.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "f4b4f4b0.73db2",
+ "id": "325da1a4.661aa6",
"type": "comment",
"name": "NOT NEEDED ANYMORE?",
"info": "",
"comments": "",
- "x": 4028.883270263672,
- "y": 1891.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4054.566635131836,
+ "y": 1896.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "4304e2aa.cc073c",
+ "id": "eca8d05b.38fb78",
"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": 2737.8836669921875,
- "y": 7259.28564453125,
- "z": "1806503a.76a7a",
+ "x": 2763.5670318603516,
+ "y": 7264.566543579102,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "f849984b.dddac",
+ "id": "9a99585.3b52728",
"type": "comment",
"name": "START OF DELETE OPERATION",
"info": "",
"comments": "",
- "x": 3296.88330078125,
- "y": 2451.2857360839844,
- "z": "1806503a.76a7a",
+ "x": 3322.566665649414,
+ "y": 2456.566635131836,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "ff6310d.2048a7",
+ "id": "e1bb190b.e249c8",
"type": "save",
"name": "delete LEAF uni resource in AAI",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",
"comments": "",
"outputs": 1,
- "x": 3880.566650390625,
- "y": 2552.6858520507812,
- "z": "1806503a.76a7a",
+ "x": 3906.250015258789,
+ "y": 2557.966751098633,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "14f1d608.fff342",
+ "id": "19822907.e2052f",
"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": 3251.566650390625,
- "y": 2532.6858520507812,
- "z": "1806503a.76a7a",
+ "x": 3277.250015258789,
+ "y": 2537.966751098633,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "30a4f59e.3fde12",
- "98adc704.004778",
- "91611e7f.d3eaa8"
+ "3e98cd57.b05732",
+ "c601135d.8ebcb8",
+ "224a5da0.cc93c2"
]
]
},
{
- "id": "98adc704.004778",
+ "id": "c601135d.8ebcb8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3479.0576171875,
- "y": 2505.2598266601562,
- "z": "1806503a.76a7a",
+ "x": 3504.740982055664,
+ "y": 2510.540725708008,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "94257401.34831"
+ "ad084de2.e988e8"
]
]
},
{
- "id": "91611e7f.d3eaa8",
+ "id": "224a5da0.cc93c2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3474.566650390625,
- "y": 2549.685791015625,
- "z": "1806503a.76a7a",
+ "x": 3500.250015258789,
+ "y": 2554.9666900634766,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c2c26a41.57e9c"
+ "dcac28ad.d4a36"
]
]
},
{
- "id": "94257401.34831",
+ "id": "ad084de2.e988e8",
"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": 3641.629150390625,
- "y": 2504.5455322265625,
- "z": "1806503a.76a7a",
+ "x": 3667.312515258789,
+ "y": 2509.826431274414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "c2c26a41.57e9c",
+ "id": "dcac28ad.d4a36",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3642.566650390625,
- "y": 2549.685791015625,
- "z": "1806503a.76a7a",
+ "x": 3668.250015258789,
+ "y": 2554.9666900634766,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "30a4f59e.3fde12",
+ "id": "3e98cd57.b05732",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3486.566650390625,
- "y": 2599.6858520507812,
- "z": "1806503a.76a7a",
+ "x": 3512.250015258789,
+ "y": 2604.966751098633,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "4d0f2575.137edc"
+ "eb73cd4.3d8393"
]
]
},
{
- "id": "4d0f2575.137edc",
+ "id": "eb73cd4.3d8393",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3638.88330078125,
- "y": 2603.2857055664062,
- "z": "1806503a.76a7a",
+ "x": 3664.566665649414,
+ "y": 2608.566604614258,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "589d867c.eeacb",
- "ff6310d.2048a7",
- "84152b78.a442c8",
- "1e88543b.84a814"
+ "24f11631.71c6d2",
+ "e1bb190b.e249c8",
+ "5066cd38.1c6414",
+ "5dc3af5e.92a278"
]
]
},
{
- "id": "589d867c.eeacb",
+ "id": "24f11631.71c6d2",
"type": "set",
"name": "set bwToBeDecreased tpid cvlan",
"xml": "<set>\n<parameter name='bwToBeDecreased' value=\"`$tmp.aai.leafuni.data-source`\" />\n<parameter name='tpid' value='`$tmp.aai.leafuni.tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.leafuni.cvlan`' />\n\n\n",
"comments": "",
- "x": 3883.566650390625,
- "y": 2495.6858520507812,
- "z": "1806503a.76a7a",
+ "x": 3909.250015258789,
+ "y": 2500.966751098633,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "243640c4.1190f8",
+ "id": "80dbb6de.b49838",
"type": "comment",
"name": "Update ROOT UNI's bw",
"info": "",
"comments": "",
- "x": 3845.566650390625,
- "y": 2606.4857177734375,
- "z": "1806503a.76a7a",
+ "x": 3871.250015258789,
+ "y": 2611.766616821289,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "83d2a0c.fbf83e",
+ "id": "45c0e5f4.f4ad34",
"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": 4523.566650390625,
- "y": 2649.4857177734375,
- "z": "1806503a.76a7a",
+ "x": 4549.250015258789,
+ "y": 2654.766616821289,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "84152b78.a442c8",
+ "id": "5066cd38.1c6414",
"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": 3837.56640625,
- "y": 2652.4857177734375,
- "z": "1806503a.76a7a",
+ "x": 3863.249771118164,
+ "y": 2657.766616821289,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ee63dcff.30bad",
- "80208a9d.4e9bb",
- "3e7ba9dc.c77e76"
+ "a6e50ef0.8e2c5",
+ "13029608.69349a",
+ "208dd481.7b2554"
]
]
},
{
- "id": "80208a9d.4e9bb",
+ "id": "13029608.69349a",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4141.057373046875,
- "y": 2563.0596923828125,
- "z": "1806503a.76a7a",
+ "x": 4166.740737915039,
+ "y": 2568.340591430664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ee49c3d8.4041d8"
+ "a4cd8e0.5d99ef"
]
]
},
{
- "id": "3e7ba9dc.c77e76",
+ "id": "208dd481.7b2554",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4136.56640625,
- "y": 2607.4856567382812,
- "z": "1806503a.76a7a",
+ "x": 4162.249771118164,
+ "y": 2612.766555786133,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e34757d5.3f1ff8"
+ "a8fd408a.63278"
]
]
},
{
- "id": "ee49c3d8.4041d8",
+ "id": "a4cd8e0.5d99ef",
"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": 4303.62890625,
- "y": 2562.3453979492188,
- "z": "1806503a.76a7a",
+ "x": 4329.312271118164,
+ "y": 2567.6262969970703,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e34757d5.3f1ff8",
+ "id": "a8fd408a.63278",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4304.56640625,
- "y": 2607.4856567382812,
- "z": "1806503a.76a7a",
+ "x": 4330.249771118164,
+ "y": 2612.766555786133,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "be9d3338.5121d",
+ "id": "108d95bc.e243b2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4301.56640625,
- "y": 2657.4857177734375,
- "z": "1806503a.76a7a",
+ "x": 4327.249771118164,
+ "y": 2662.766616821289,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "933a8e8f.7ef918",
- "83d2a0c.fbf83e"
+ "6fb618e0.320358",
+ "45c0e5f4.f4ad34"
]
]
},
{
- "id": "ee63dcff.30bad",
+ "id": "a6e50ef0.8e2c5",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4132.56640625,
- "y": 2657.4857177734375,
- "z": "1806503a.76a7a",
+ "x": 4158.249771118164,
+ "y": 2662.766616821289,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "be9d3338.5121d"
+ "108d95bc.e243b2"
]
]
},
{
- "id": "933a8e8f.7ef918",
+ "id": "6fb618e0.320358",
"type": "set",
"name": "set new bw",
"xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",
"comments": "",
- "x": 4483.567138671875,
- "y": 2599.4857177734375,
- "z": "1806503a.76a7a",
+ "x": 4509.250503540039,
+ "y": 2604.766616821289,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "21e69316.d31a3c",
+ "id": "501ef6fe.de27d8",
"type": "comment",
"name": "Delete LEAF UNI",
"info": "",
"comments": "",
- "x": 3831.88330078125,
- "y": 2437.2857055664062,
- "z": "1806503a.76a7a",
+ "x": 3857.566665649414,
+ "y": 2442.566604614258,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "45cb1d93.9cef0c",
+ "id": "13751b77.2d6a35",
"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": 3311.749969482422,
- "y": 3769.8858032226562,
- "z": "1806503a.76a7a",
+ "x": 3337.433334350586,
+ "y": 3775.166702270508,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "95cc6144.fb6bd8",
+ "id": "42ae91e0.cfd958",
"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": 3444.749969482422,
- "y": 3817.8858032226562,
- "z": "1806503a.76a7a",
+ "x": 3470.433334350586,
+ "y": 3823.166702270508,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "21aeddc1.06f77a",
+ "id": "f0c980e9.4c97f",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 3266.749969482422,
- "y": 3869.6858520507812,
- "z": "1806503a.76a7a",
+ "x": 3292.433334350586,
+ "y": 3874.966751098633,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "218077ad.f30d3",
- "a4239ce5.8829c"
+ "ddd00137.0625f8",
+ "49bc5de5.143edc"
]
]
},
{
- "id": "218077ad.f30d3",
+ "id": "ddd00137.0625f8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3459.749969482422,
- "y": 3870.6858520507812,
- "z": "1806503a.76a7a",
+ "x": 3485.433334350586,
+ "y": 3875.966751098633,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "dcbbe6d2.fa9028"
+ "baae6201.7fdf3"
]
]
},
{
- "id": "dcbbe6d2.fa9028",
+ "id": "baae6201.7fdf3",
"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": 3603.749969482422,
- "y": 3866.8858032226562,
- "z": "1806503a.76a7a",
+ "x": 3629.433334350586,
+ "y": 3872.166702270508,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "a4239ce5.8829c",
+ "id": "49bc5de5.143edc",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3463.749969482422,
- "y": 3914.6858520507812,
- "z": "1806503a.76a7a",
+ "x": 3489.433334350586,
+ "y": 3919.966751098633,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "338c28da.4908c8"
+ "8955d942.ba6bc"
]
]
},
{
- "id": "338c28da.4908c8",
+ "id": "8955d942.ba6bc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3602.749969482422,
- "y": 3909.6858520507812,
- "z": "1806503a.76a7a",
+ "x": 3628.433334350586,
+ "y": 3914.966751098633,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "40a81b6.e879ce4",
- "fe7c3ff6.ce34b8",
- "af03ee84.d16068"
+ "2c8b9b3a.156d1c",
+ "942c3741.17e638",
+ "ea29b2fb.fa9b"
]
]
},
{
- "id": "40a81b6.e879ce4",
+ "id": "2c8b9b3a.156d1c",
"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": 3853.149627685547,
- "y": 3918.2024536132812,
- "z": "1806503a.76a7a",
+ "x": 3878.832992553711,
+ "y": 3923.483352661133,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "3fc00cbe.f344f4"
+ "829ce491.bb75d8"
]
]
},
{
- "id": "3fc00cbe.f344f4",
+ "id": "829ce491.bb75d8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4075.149627685547,
- "y": 3896.2024536132812,
- "z": "1806503a.76a7a",
+ "x": 4100.832992553711,
+ "y": 3901.483352661133,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "57d9d04a.beb888"
+ "b35a1aab.3a595"
]
]
},
{
- "id": "57d9d04a.beb888",
+ "id": "b35a1aab.3a595",
"type": "outcome",
"name": "uni",
"xml": "<outcome value='uni'>\n",
"comments": "",
"outputs": 1,
- "x": 4235.149139404297,
- "y": 3876.2024536132812,
- "z": "1806503a.76a7a",
+ "x": 4260.832504272461,
+ "y": 3881.483352661133,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5fa67fdd.e511b8"
+ "335ed745.f60fb8"
]
]
},
{
- "id": "b9bbd69a.136aa8",
+ "id": "f8921006.06e1a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4388.149658203125,
- "y": 3857.2024841308594,
- "z": "1806503a.76a7a",
+ "x": 4413.833023071289,
+ "y": 3862.483383178711,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "17e2ea6.f8df196",
- "947c4850.aa8df"
+ "8d9ae5c3.a9c288",
+ "b59230eb.4dd598"
]
]
},
{
- "id": "17e2ea6.f8df196",
+ "id": "8d9ae5c3.a9c288",
"type": "set",
"name": "set tmp.stillHasUni to TRUE",
"xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",
"comments": "",
- "x": 4584.649871826172,
- "y": 3825.2857055664062,
- "z": "1806503a.76a7a",
+ "x": 4610.333236694336,
+ "y": 3830.566604614258,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "fe7c3ff6.ce34b8",
+ "id": "942c3741.17e638",
"type": "set",
"name": "set tmp.stillHasUn tmp.keepVPNBs to FALSE",
"xml": "<set>\n<parameter name='tmp.stillHasUni' value='false' />\n<parameter name='tmp.keepVPNBs' value='false' />\n",
"comments": "",
- "x": 3959.64990234375,
- "y": 3837.2857360839844,
- "z": "1806503a.76a7a",
+ "x": 3985.333267211914,
+ "y": 3842.566635131836,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "af03ee84.d16068",
+ "id": "ea29b2fb.fa9b",
"type": "switchNode",
"name": "switch tmp.keepVPNBs?",
"xml": "\n<switch test=\"`$tmp.keepVPNBs`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 3767.64990234375,
- "y": 4258.285980224609,
- "z": "1806503a.76a7a",
+ "x": 3793.333267211914,
+ "y": 4263.566879272461,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "77a80484.fb13cc",
- "a722846c.585ad"
+ "1074f3a1.e40104",
+ "49cd5621.2fb45"
]
]
},
{
- "id": "947c4850.aa8df",
+ "id": "b59230eb.4dd598",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4552.88330078125,
- "y": 3893.2857360839844,
- "z": "1806503a.76a7a",
+ "x": 4578.566665649414,
+ "y": 3898.566635131836,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "a722846c.585ad",
+ "id": "49cd5621.2fb45",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 154.65066528320312,
- "y": 5322.286224365234,
- "z": "1806503a.76a7a",
+ "x": 180.3340301513672,
+ "y": 5327.567123413086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c0a1014a.3ea75"
+ "94db503d.b50288"
]
]
},
{
- "id": "77a80484.fb13cc",
+ "id": "1074f3a1.e40104",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3988.650634765625,
- "y": 4360.285980224609,
- "z": "1806503a.76a7a",
+ "x": 4014.333999633789,
+ "y": 4365.566879272461,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "8774c38d.ee5b7"
+ "98bce2a7.eae0e8"
]
]
},
{
- "id": "8774c38d.ee5b7",
+ "id": "98bce2a7.eae0e8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4131.650634765625,
- "y": 4356.285980224609,
- "z": "1806503a.76a7a",
+ "x": 4157.333999633789,
+ "y": 4361.566879272461,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f67d6e8d.c4ab",
- "1d885097.bf6b2f",
- "bd8e5c03.dfc108",
- "19328269.e896be",
- "93e60704.65dbd",
- "8b3d1eff.18e008",
- "ffd8a757.b8a3f",
- "b33560b0.1278c",
- "fc616200.2baf58"
+ "700868f.6d62d18",
+ "9e6ef63b.470c28",
+ "98c15798.fc2c28",
+ "a474eb09.bdcea",
+ "4e75594e.323fe8",
+ "8985192.1ed6868",
+ "bbed6bed.031a08",
+ "9b06d9ac.c2c2b",
+ "35800841.c29e7"
]
]
},
{
- "id": "9c91ac5e.705b8",
+ "id": "7a0c4e0f.7452f",
"type": "comment",
"name": "keepVPNBs == false, then check tmp.stillHasUni",
"info": "(2) keepVPNBs == false, means there are no other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\ncheck if tmp.stillHasUni is True or False?\n\nif TRUE --> means this domain (connectivity) still has other UNIs\n- delete VPNBs\n- delete LEAF UNI in AAI -- DONE\n- upadte bw in ROOT UNI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC\n- change ROOT conn status to Modified\n--- mark LEAF connectivity as Modified because the underlay OTN tunnel list of this connectivity is now different\n\nif FALSE --> means this domain (connectivity) has no other UNIs\n\nif MMstillHasUni == TRUE, means scenario (3), else, means scenario (4)\n\n(3) & (4) both:\n- delete VPNBs\n- delete LEAF connectivity\n- delete LEAF Ethernet Service from PNC\n\n(3) only:\n- change ROOT conn status to Modified\n- Keep the middle-man-conn and DON'T delete\n\n(4) only:\n- delete ROOT UNI\n- delete ROOT conn from AAI\n- delete ROOT Ethernet Service from PNC\n- delete middle-man-conn from AAI\n\n",
"comments": "",
- "x": 181,
- "y": 5278.286224365234,
- "z": "1806503a.76a7a",
+ "x": 206.68336486816406,
+ "y": 5283.567123413086,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "fa1b93d9.936e7",
+ "id": "7ce224df.f32d34",
"type": "comment",
"name": "There are still other UNIs in this connectivity that share same OLT node. Only update bw of the vpn-bindings involved",
"info": "(1) keepVPNBs == true, means there are still other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\n- Only update bw of the vpn-bindings involved -- DONE\n- upadte bw in ROOT UNI -- DONE\n- change ROOT conn status to Modified -- DONE\n- delete LEAF UNI in AAI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC -- DONE\n- DON'T delete the connectivities of LEAF and ROOT -- DONE\nAlso update the ethernet services",
"comments": "",
- "x": 4007.884033203125,
- "y": 4323.285980224609,
- "z": "1806503a.76a7a",
+ "x": 4033.567398071289,
+ "y": 4328.566879272461,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "30095233.787426",
+ "id": "eb1e9e05.cb15c8",
"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": 4820.667724609375,
- "y": 4514.069427490234,
- "z": "1806503a.76a7a",
+ "x": 4846.351089477539,
+ "y": 4519.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "298f2b5b.0aab2c",
+ "id": "1fff7e41.5e97da",
"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": 5165.667724609375,
- "y": 4376.069427490234,
- "z": "1806503a.76a7a",
+ "x": 5191.351089477539,
+ "y": 4381.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1597a82b.d6bf2"
+ "384897a.b5a9568"
]
]
},
{
- "id": "1126bc47.b4d98c",
+ "id": "3095386e.cc8938",
"type": "for",
"name": "for netwidx..allNetworksList_length",
"xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",
"comments": "",
"outputs": 1,
- "x": 4872.667724609375,
- "y": 4370.069427490234,
- "z": "1806503a.76a7a",
+ "x": 4898.351089477539,
+ "y": 4375.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "298f2b5b.0aab2c"
+ "1fff7e41.5e97da"
]
]
},
{
- "id": "9ba49429.2785d",
+ "id": "31c473ae.f4e764",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5127.667724609375,
- "y": 4327.069427490234,
- "z": "1806503a.76a7a",
+ "x": 5153.351089477539,
+ "y": 4332.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "ace3cbea.15731",
+ "id": "ca81f202.b30418",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
"comments": "",
- "x": 4816.667724609375,
- "y": 4422.069427490234,
- "z": "1806503a.76a7a",
+ "x": 4842.351089477539,
+ "y": 4427.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1d3af694.aab3a1",
+ "id": "b2478692.ea1d6",
"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": 4824.667724609375,
- "y": 4467.069427490234,
- "z": "1806503a.76a7a",
+ "x": 4850.351089477539,
+ "y": 4472.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "7a0d3acc.4e0354",
+ "id": "eb2b76ee.d20fa8",
"type": "set",
"name": "unset otnTopoIdSrc",
"xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",
"comments": "",
- "x": 4821.667724609375,
- "y": 4320.069427490234,
- "z": "1806503a.76a7a",
+ "x": 4847.351089477539,
+ "y": 4325.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1597a82b.d6bf2",
+ "id": "384897a.b5a9568",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5074.667724609375,
- "y": 4444.069427490234,
- "z": "1806503a.76a7a",
+ "x": 5100.351089477539,
+ "y": 4449.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "247fb61.2b27f4a"
+ "a1cf1e6d.96424"
]
]
},
{
- "id": "247fb61.2b27f4a",
+ "id": "a1cf1e6d.96424",
"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": 5259.667724609375,
- "y": 4443.069427490234,
- "z": "1806503a.76a7a",
+ "x": 5285.351089477539,
+ "y": 4448.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d2d679f0.fa9e7"
+ "e54e7c9a.d7146"
]
]
},
{
- "id": "d2d679f0.fa9e7",
+ "id": "e54e7c9a.d7146",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5451.667724609375,
- "y": 4446.069427490234,
- "z": "1806503a.76a7a",
+ "x": 5477.351089477539,
+ "y": 4451.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7d11177c.7fa498"
+ "88338270.bbe028"
]
]
},
{
- "id": "7d11177c.7fa498",
+ "id": "88338270.bbe028",
"type": "set",
"name": "set otnTopoIdSrc",
"xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
"comments": "",
- "x": 5623.667724609375,
- "y": 4442.069427490234,
- "z": "1806503a.76a7a",
+ "x": 5649.351089477539,
+ "y": 4447.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "b338f208.2e8e8",
+ "id": "5518c3fe.6c8f7c",
"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": 4999.667724609375,
- "y": 4557.069427490234,
- "z": "1806503a.76a7a",
+ "x": 5025.351089477539,
+ "y": 4562.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "f67d6e8d.c4ab",
+ "id": "700868f.6d62d18",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4516.667724609375,
- "y": 4342.069427490234,
- "z": "1806503a.76a7a",
+ "x": 4542.351089477539,
+ "y": 4347.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6c238e2f.cfa52",
- "97e28bb1.9f6bb8",
- "ace3cbea.15731",
- "1d3af694.aab3a1",
- "30095233.787426",
- "1126bc47.b4d98c",
- "b338f208.2e8e8"
+ "7996b8d7.d892b8",
+ "fc1f2ae1.cce1f",
+ "ca81f202.b30418",
+ "b2478692.ea1d6",
+ "eb1e9e05.cb15c8",
+ "3095386e.cc8938",
+ "5518c3fe.6c8f7c"
]
]
},
{
- "id": "44415c7f.4f5f24",
+ "id": "aec75daf.8805f",
"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": 4501.667724609375,
- "y": 4276.069427490234,
- "z": "1806503a.76a7a",
+ "x": 4527.351089477539,
+ "y": 4281.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "97e28bb1.9f6bb8",
+ "id": "fc1f2ae1.cce1f",
"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": 4880.667724609375,
- "y": 4263.069427490234,
- "z": "1806503a.76a7a",
+ "x": 4906.351089477539,
+ "y": 4268.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "153999c3.0eb42e",
- "a208bb99.66b2e8",
- "9ba49429.2785d"
+ "74fcf491.6cb18c",
+ "27200085.4f11f",
+ "31c473ae.f4e764"
]
]
},
{
- "id": "153999c3.0eb42e",
+ "id": "74fcf491.6cb18c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5116.667724609375,
- "y": 4246.069427490234,
- "z": "1806503a.76a7a",
+ "x": 5142.351089477539,
+ "y": 4251.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "a208bb99.66b2e8",
+ "id": "27200085.4f11f",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5113.667724609375,
- "y": 4287.069427490234,
- "z": "1806503a.76a7a",
+ "x": 5139.351089477539,
+ "y": 4292.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "6c238e2f.cfa52",
+ "id": "7996b8d7.d892b8",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",
"comments": "",
- "x": 4829.667724609375,
- "y": 4220.069427490234,
- "z": "1806503a.76a7a",
+ "x": 4855.351089477539,
+ "y": 4225.350326538086,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1d885097.bf6b2f",
+ "id": "9e6ef63b.470c28",
"type": "set",
"name": "unset tmp.aai.all-vpn-bindings",
"xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",
"comments": "",
- "x": 4336.667724609375,
- "y": 4674.469329833984,
- "z": "1806503a.76a7a",
+ "x": 4362.351089477539,
+ "y": 4679.750228881836,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "582ea235.e6de1c",
+ "id": "d0de5ca9.0d9ed8",
"type": "comment",
"name": "find all OTNs that have srcTtpOtnLayer and decrease their bandwidth",
"info": "",
"comments": "",
- "x": 4459.968017578125,
- "y": 4713.469329833984,
- "z": "1806503a.76a7a",
+ "x": 4485.651382446289,
+ "y": 4718.750228881836,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "bd8e5c03.dfc108",
+ "id": "98c15798.fc2c28",
"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": 4357.968017578125,
- "y": 4748.469329833984,
- "z": "1806503a.76a7a",
+ "x": 4383.651382446289,
+ "y": 4753.750228881836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d0e71616.8c817",
- "148e0bed.377164",
- "3b175283.95d6be"
+ "435ca159.b40ef",
+ "d725cba9.49bb",
+ "47bda61e.d52e08"
]
]
},
{
- "id": "d0e71616.8c817",
+ "id": "435ca159.b40ef",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4562.968017578125,
- "y": 4745.469329833984,
- "z": "1806503a.76a7a",
+ "x": 4588.651382446289,
+ "y": 4750.750228881836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "39c739fc.a6fe6e"
+ "293c4671.01eaaa"
]
]
},
{
- "id": "148e0bed.377164",
+ "id": "d725cba9.49bb",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4546.458984375,
- "y": 4807.043365478516,
- "z": "1806503a.76a7a",
+ "x": 4572.142349243164,
+ "y": 4812.324264526367,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "3e1fb649.3101ea"
+ "107ae3d6.bea87c"
]
]
},
{
- "id": "3b175283.95d6be",
+ "id": "47bda61e.d52e08",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4543.968017578125,
- "y": 4850.469329833984,
- "z": "1806503a.76a7a",
+ "x": 4569.651382446289,
+ "y": 4855.750228881836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "681b836.365687c"
+ "b006b7ef.442db8"
]
]
},
{
- "id": "39c739fc.a6fe6e",
+ "id": "293c4671.01eaaa",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4730.96826171875,
- "y": 4740.469329833984,
- "z": "1806503a.76a7a",
+ "x": 4756.651626586914,
+ "y": 4745.750228881836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "93e92e1a.778be8"
+ "94070507.2dec4"
]
]
},
{
- "id": "3e1fb649.3101ea",
+ "id": "107ae3d6.bea87c",
"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": 4709.0303955078125,
- "y": 4807.3291015625,
- "z": "1806503a.76a7a",
+ "x": 4734.713760375977,
+ "y": 4812.610000610352,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "681b836.365687c",
+ "id": "b006b7ef.442db8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4710.968017578125,
- "y": 4849.469329833984,
- "z": "1806503a.76a7a",
+ "x": 4736.651382446289,
+ "y": 4854.750228881836,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "93e92e1a.778be8",
+ "id": "94070507.2dec4",
"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": 4968.96826171875,
- "y": 4745.469329833984,
- "z": "1806503a.76a7a",
+ "x": 4994.651626586914,
+ "y": 4750.750228881836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "27f30922.4e6a66"
+ "db3073d6.6320c8"
]
]
},
{
- "id": "27f30922.4e6a66",
+ "id": "db3073d6.6320c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5202.968017578125,
- "y": 4752.469329833984,
- "z": "1806503a.76a7a",
+ "x": 5228.651382446289,
+ "y": 4757.750228881836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e449a33.b8b696"
+ "37f340bd.0a3438"
]
]
},
{
- "id": "e77a7161.49d068",
+ "id": "fcec711e.ca4568",
"type": "comment",
"name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",
"info": "",
"comments": "",
- "x": 5119.783935546875,
- "y": 4823.635650634766,
- "z": "1806503a.76a7a",
+ "x": 5145.467300415039,
+ "y": 4828.916549682617,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e449a33.b8b696",
+ "id": "37f340bd.0a3438",
"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": 5063.783935546875,
- "y": 4872.635650634766,
- "z": "1806503a.76a7a",
+ "x": 5089.467300415039,
+ "y": 4877.916549682617,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "62a1336b.ab309c",
- "57ed2482.36942c"
+ "ab022fe7.308e68",
+ "3eb6abc9.a7b9b4"
]
]
},
{
- "id": "57ed2482.36942c",
+ "id": "3eb6abc9.a7b9b4",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5306.784423828125,
- "y": 4913.635162353516,
- "z": "1806503a.76a7a",
+ "x": 5332.467788696289,
+ "y": 4918.916061401367,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "62a1336b.ab309c",
+ "id": "ab022fe7.308e68",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5317.7841796875,
- "y": 4870.6353759765625,
- "z": "1806503a.76a7a",
+ "x": 5343.467544555664,
+ "y": 4875.916275024414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6f96293b.020fc"
+ "82036bd3.d2b678"
]
]
},
{
- "id": "48fa24ff.a12f6c",
+ "id": "8f49a5ce.76f168",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5544.767578125,
- "y": 4878.0518798828125,
- "z": "1806503a.76a7a",
+ "x": 5570.450942993164,
+ "y": 4883.332778930664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d949e407.7d96c8",
- "ba00ef86.599998",
- "e04480f3.8af1b"
+ "c997366c.5a655",
+ "3dbdc2ab.0fbd3e",
+ "bd51e31d.644ad8"
]
]
},
{
- "id": "a4fcb041.b0aaf8",
+ "id": "cd343233.3d4178",
"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": 5709.8173828125,
- "y": 4763.052337646484,
- "z": "1806503a.76a7a",
+ "x": 5735.500747680664,
+ "y": 4768.333236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "dc33bc78.b33dc"
+ "355f9f95.f927e8"
]
]
},
{
- "id": "dc33bc78.b33dc",
+ "id": "355f9f95.f927e8",
"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": 5901.8173828125,
- "y": 4752.052581787109,
- "z": "1806503a.76a7a",
+ "x": 5927.500747680664,
+ "y": 4757.333480834961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "88251130.694fa8"
+ "d2bb482a.6b0258"
]
]
},
{
- "id": "d949e407.7d96c8",
+ "id": "c997366c.5a655",
"type": "set",
"name": "unset tmp.aai.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",
"comments": "",
- "x": 5658.334228515625,
- "y": 4653.269378662109,
- "z": "1806503a.76a7a",
+ "x": 5684.017593383789,
+ "y": 4658.550277709961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "ba00ef86.599998",
+ "id": "3dbdc2ab.0fbd3e",
"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": 5650.334228515625,
- "y": 4702.269378662109,
- "z": "1806503a.76a7a",
+ "x": 5676.017593383789,
+ "y": 4707.550277709961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e04480f3.8af1b",
+ "id": "bd51e31d.644ad8",
"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 - $bwToBeDecreased`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 5881.751220703125,
- "y": 4883.435394287109,
- "z": "1806503a.76a7a",
+ "x": 5907.434585571289,
+ "y": 4888.716293334961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "e369ae1d.045348",
+ "id": "284b8a46.878cde",
"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": 5833.401123046875,
- "y": 4930.752288818359,
- "z": "1806503a.76a7a",
+ "x": 5859.084487915039,
+ "y": 4936.033187866211,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "7bcaed73.c4335c",
+ "id": "d8829575.9f3a28",
"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": 5905.751220703125,
- "y": 4844.435394287109,
- "z": "1806503a.76a7a",
+ "x": 5931.434585571289,
+ "y": 4849.716293334961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "88251130.694fa8",
+ "id": "d2bb482a.6b0258",
"type": "outcome",
"name": "connectivity",
"xml": "<outcome value='connectivity'>\n",
"comments": "",
"outputs": 1,
- "x": 6083.8173828125,
- "y": 4731.052581787109,
- "z": "1806503a.76a7a",
+ "x": 6109.500747680664,
+ "y": 4736.333480834961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "3faa0ed9.e49512"
+ "c2a155f5.9faa88"
]
]
},
{
- "id": "3faa0ed9.e49512",
+ "id": "c2a155f5.9faa88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 6245.8173828125,
- "y": 4720.052581787109,
- "z": "1806503a.76a7a",
+ "x": 6271.500747680664,
+ "y": 4725.333480834961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1f4e4f1d.0faeb9",
- "71f57a2d.ed1434"
+ "560d06d2.09f708",
+ "97054905.242338"
]
]
},
{
- "id": "1f4e4f1d.0faeb9",
+ "id": "560d06d2.09f708",
"type": "set",
"name": "unset tmp.the-connectivity",
"xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",
"comments": "",
- "x": 6442.8173828125,
- "y": 4649.052581787109,
- "z": "1806503a.76a7a",
+ "x": 6468.500747680664,
+ "y": 4654.333480834961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "71f57a2d.ed1434",
+ "id": "97054905.242338",
"type": "set",
"name": "set tmp.the-connectivity",
"xml": "<set>\n<parameter name='tmp.the-connectivity.' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",
"comments": "",
- "x": 6440.2841796875,
- "y": 4748.269378662109,
- "z": "1806503a.76a7a",
+ "x": 6465.967544555664,
+ "y": 4753.550277709961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "5e5dd175.2ee1b",
+ "id": "e8ad32eb.9df94",
"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": 3097.800048828125,
- "y": 3207.0857849121094,
- "z": "1806503a.76a7a",
+ "x": 3123.483413696289,
+ "y": 3212.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "95f11825.f517d8",
+ "id": "cf9533e5.c2371",
"type": "switchNode",
"name": "switch found-middle-man?",
"xml": "<switch test='`$found-middle-man`'>\n",
"comments": "",
"outputs": 1,
- "x": 2974.800048828125,
- "y": 3317.0857849121094,
- "z": "1806503a.76a7a",
+ "x": 3000.483413696289,
+ "y": 3322.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "eda02ee3.547818",
- "24ae5a23.6efcde"
+ "6d545915.394bc",
+ "8fea5bf9.a101b8"
]
]
},
{
- "id": "eda02ee3.547818",
+ "id": "6d545915.394bc",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3158.800048828125,
- "y": 3296.0857849121094,
- "z": "1806503a.76a7a",
+ "x": 3184.483413696289,
+ "y": 3301.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "25d89b5b.fea624"
+ "a2317561.56953"
]
]
},
{
- "id": "25d89b5b.fea624",
+ "id": "a2317561.56953",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3301.800048828125,
- "y": 3296.0857849121094,
- "z": "1806503a.76a7a",
+ "x": 3327.483413696289,
+ "y": 3301.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a5e21959.30c488"
+ "a264af99.117e28"
]
]
},
{
- "id": "a5e21959.30c488",
+ "id": "a264af99.117e28",
"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": 3477.800048828125,
- "y": 3294.0857849121094,
- "z": "1806503a.76a7a",
+ "x": 3503.483413696289,
+ "y": 3299.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "24ae5a23.6efcde",
+ "id": "8fea5bf9.a101b8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3156.800048828125,
- "y": 3351.0857849121094,
- "z": "1806503a.76a7a",
+ "x": 3182.483413696289,
+ "y": 3356.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2aa846fb.1fdfe2"
+ "3fcc1946.2227c6"
]
]
},
{
- "id": "2aa846fb.1fdfe2",
+ "id": "3fcc1946.2227c6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3003.800048828125,
- "y": 3484.0857849121094,
- "z": "1806503a.76a7a",
+ "x": 3029.483413696289,
+ "y": 3489.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "45cb1d93.9cef0c",
- "95cc6144.fb6bd8",
- "21aeddc1.06f77a",
- "ab0940a1.911a68",
- "6d6cc518.e0ec9c",
- "3c679d7f.fbbb22"
+ "13751b77.2d6a35",
+ "42ae91e0.cfd958",
+ "f0c980e9.4c97f",
+ "15cfd0d2.c7223f",
+ "566cdb6f.69a6a4",
+ "130e3d11.8bda33"
]
]
},
{
- "id": "522b1854.031bc",
+ "id": "b391ba6b.5d625",
"type": "comment",
"name": "Find LEAF connectivity",
"info": "",
"comments": "",
- "x": 3225.88330078125,
- "y": 3724.2857360839844,
- "z": "1806503a.76a7a",
+ "x": 3251.566665649414,
+ "y": 3729.566635131836,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "ab0940a1.911a68",
+ "id": "15cfd0d2.c7223f",
"type": "set",
"name": "set tmp.MMstillHasUni to FALSE",
"xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='false' />\n",
"comments": "",
- "x": 3308.333251953125,
- "y": 3497.0857849121094,
- "z": "1806503a.76a7a",
+ "x": 3334.016616821289,
+ "y": 3502.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "6d6cc518.e0ec9c",
+ "id": "566cdb6f.69a6a4",
"type": "for",
"name": "for each relationship of middle-man-conn",
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3306.8330078125,
- "y": 3543.0025329589844,
- "z": "1806503a.76a7a",
+ "x": 3332.516372680664,
+ "y": 3548.283432006836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f5f202e7.9ae08"
+ "69987cbf.ba882c"
]
]
},
{
- "id": "f5f202e7.9ae08",
+ "id": "69987cbf.ba882c",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$cridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3569.8330078125,
- "y": 3538.0025329589844,
- "z": "1806503a.76a7a",
+ "x": 3595.516372680664,
+ "y": 3543.283432006836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "186eedb6.79ae82"
+ "6b4b309c.a784f8"
]
]
},
{
- "id": "186eedb6.79ae82",
+ "id": "6b4b309c.a784f8",
"type": "outcome",
"name": "uni",
"xml": "<outcome value='uni'>\n",
"comments": "",
"outputs": 1,
- "x": 3729.83251953125,
- "y": 3518.0025329589844,
- "z": "1806503a.76a7a",
+ "x": 3755.515884399414,
+ "y": 3523.283432006836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e8fee7bd.fc2ef8"
+ "537f8032.a139c8"
]
]
},
{
- "id": "774ecc4a.3ad124",
+ "id": "608ff90c.2e5fc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5066.834228515625,
- "y": 3549.0025634765625,
- "z": "1806503a.76a7a",
+ "x": 5092.517593383789,
+ "y": 3554.283462524414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9464a805.69d21",
- "af3bd9a1.948688",
- "da386631.67d8c8"
+ "b2d28e5c.e8fb18",
+ "d55c5cbc.26dad8",
+ "99b14097.a9c1b8"
]
]
},
{
- "id": "9464a805.69d21",
+ "id": "b2d28e5c.e8fb18",
"type": "set",
"name": "set tmp.MMstillHasUni to TRUE",
"xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='true' />\n",
"comments": "",
- "x": 5306.334716796875,
- "y": 3498.0858154296875,
- "z": "1806503a.76a7a",
+ "x": 5332.018081665039,
+ "y": 3503.366714477539,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "af3bd9a1.948688",
+ "id": "d55c5cbc.26dad8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 5239.568145751953,
- "y": 3571.0858459472656,
- "z": "1806503a.76a7a",
+ "x": 5265.251510620117,
+ "y": 3576.366744995117,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "17da0805.f3e8a8",
+ "id": "3b35e0ea.5843e8",
"type": "comment",
"name": "Find LEAF and ROOT connectivities and remove UNI from PNC",
"info": "",
"comments": "",
- "x": 4432.88427734375,
- "y": 5105.285980224609,
- "z": "1806503a.76a7a",
+ "x": 4458.567642211914,
+ "y": 5110.566879272461,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "19328269.e896be",
+ "id": "a474eb09.bdcea",
"type": "set",
"name": "set tmp.leafconn.",
"xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",
"comments": "",
- "x": 4331.317138671875,
- "y": 5157.202484130859,
- "z": "1806503a.76a7a",
+ "x": 4357.000503540039,
+ "y": 5162.483383178711,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "ffd8a757.b8a3f",
+ "id": "bbed6bed.031a08",
"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": 4482.317138671875,
- "y": 5600.202484130859,
- "z": "1806503a.76a7a",
+ "x": 4508.000503540039,
+ "y": 5605.483383178711,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "b33560b0.1278c",
+ "id": "9b06d9ac.c2c2b",
"type": "switchNode",
"name": "switch found-root-connectivity",
"xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4297.317138671875,
- "y": 5667.202484130859,
- "z": "1806503a.76a7a",
+ "x": 4323.000503540039,
+ "y": 5672.483383178711,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e0079417.8b765",
- "94134a14.38a09"
+ "da6e8509.7a87a8",
+ "16a08f38.4e9a49"
]
]
},
{
- "id": "e0079417.8b765",
+ "id": "da6e8509.7a87a8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4562.317138671875,
- "y": 5652.202484130859,
- "z": "1806503a.76a7a",
+ "x": 4588.000503540039,
+ "y": 5657.483383178711,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c191059e.ace948"
+ "c2e76143.b6b218"
]
]
},
{
- "id": "94134a14.38a09",
+ "id": "16a08f38.4e9a49",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4558.317138671875,
- "y": 5700.202484130859,
- "z": "1806503a.76a7a",
+ "x": 4584.000503540039,
+ "y": 5705.483383178711,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "21c0ccb3.89b3cc"
+ "8fe2e656.247af"
]
]
},
{
- "id": "c191059e.ace948",
+ "id": "c2e76143.b6b218",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4718.317138671875,
- "y": 5648.202484130859,
- "z": "1806503a.76a7a",
+ "x": 4744.000503540039,
+ "y": 5653.483383178711,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ea983e85.321ce"
+ "9d183ed0.0c624"
]
]
},
{
- "id": "21c0ccb3.89b3cc",
+ "id": "8fe2e656.247af",
"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": 4706.317138671875,
- "y": 5695.202484130859,
- "z": "1806503a.76a7a",
+ "x": 4732.000503540039,
+ "y": 5700.483383178711,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "11ee9928.b9a3cf",
+ "id": "2c1c4698.bb1b8a",
"type": "set",
"name": "set tmp.rootconn.",
"xml": "<set>\n<parameter name='tmp.rootconn.' value=\"`$tmp.aai.ROOT.connectivity.`\" />\n\n\n",
"comments": "",
- "x": 5138.3173828125,
- "y": 5590.202484130859,
- "z": "1806503a.76a7a",
+ "x": 5164.000747680664,
+ "y": 5595.483383178711,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "3a447acf.2b1f0e",
+ "id": "39f2eed6.a40982",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.leafconn.access-provider-id + '-clientId-' +\n $tmp.leafconn.access-client-id + '-topologyId-' +\n $tmp.leafconn.access-topology-id + '-nodeId-' +\n $tmp.leafconn.access-node-id`\" />\n",
"comments": "",
- "x": 4540.734130859375,
- "y": 5186.486175537109,
- "z": "1806503a.76a7a",
+ "x": 4566.417495727539,
+ "y": 5191.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "93e60704.65dbd",
+ "id": "4e75594e.323fe8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4311.734130859375,
- "y": 5275.486175537109,
- "z": "1806503a.76a7a",
+ "x": 4337.417495727539,
+ "y": 5280.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "3a447acf.2b1f0e",
- "a0d0d144.703df8"
+ "39f2eed6.a40982",
+ "ec0a5547.230718"
]
]
},
{
- "id": "a0d0d144.703df8",
+ "id": "ec0a5547.230718",
"type": "get-resource",
"name": "get-resource src pnf",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 4547.734130859375,
- "y": 5268.486175537109,
- "z": "1806503a.76a7a",
+ "x": 4573.417495727539,
+ "y": 5273.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "93bdcc8d.eca238",
- "76b31045.74e9",
- "e9dc2865.72e928"
+ "f4f0abfb.959d98",
+ "6d247b2e.c14f4c",
+ "ac6604fb.6b0698"
]
]
},
{
- "id": "93bdcc8d.eca238",
+ "id": "f4f0abfb.959d98",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4743.2342529296875,
- "y": 5220.486175537109,
- "z": "1806503a.76a7a",
+ "x": 4768.917617797852,
+ "y": 5225.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "87ddaf65.395498"
+ "7a4a15ea.cb5f7c"
]
]
},
{
- "id": "76b31045.74e9",
+ "id": "6d247b2e.c14f4c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4735.2342529296875,
- "y": 5275.486175537109,
- "z": "1806503a.76a7a",
+ "x": 4760.917617797852,
+ "y": 5280.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "fe3d7591.8ed12"
+ "9d792ff5.12f1d8"
]
]
},
{
- "id": "87ddaf65.395498",
+ "id": "7a4a15ea.cb5f7c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4887.6165771484375,
- "y": 5220.141845703125,
- "z": "1806503a.76a7a",
+ "x": 4913.299942016602,
+ "y": 5225.422744750977,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ad455c8f.ae00e8"
+ "22a044c0.3de0ec"
]
]
},
{
- "id": "ad455c8f.ae00e8",
+ "id": "22a044c0.3de0ec",
"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": 5071.734130859375,
- "y": 5218.486175537109,
- "z": "1806503a.76a7a",
+ "x": 5097.417495727539,
+ "y": 5223.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d25e267a.3e533"
+ "afda241e.dc7d4"
]
]
},
{
- "id": "d25e267a.3e533",
+ "id": "afda241e.dc7d4",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 5266.734130859375,
- "y": 5218.486175537109,
- "z": "1806503a.76a7a",
+ "x": 5292.417495727539,
+ "y": 5223.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "93445f98.6a2b88"
+ "7162d2d.84a60ac"
]
]
},
{
- "id": "e9dc2865.72e928",
+ "id": "ac6604fb.6b0698",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4740.2342529296875,
- "y": 5332.486175537109,
- "z": "1806503a.76a7a",
+ "x": 4765.917617797852,
+ "y": 5337.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d3c476f6.a94bf"
+ "cc0a2fe1.d0b358"
]
]
},
{
- "id": "d3c476f6.a94bf",
+ "id": "cc0a2fe1.d0b358",
"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": 4892.2342529296875,
- "y": 5333.486175537109,
- "z": "1806503a.76a7a",
+ "x": 4917.917617797852,
+ "y": 5338.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "fe3d7591.8ed12",
+ "id": "9d792ff5.12f1d8",
"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": 4903.2342529296875,
- "y": 5276.486175537109,
- "z": "1806503a.76a7a",
+ "x": 4928.917617797852,
+ "y": 5281.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "a6955939.7a731",
+ "id": "9e3505a2.ad7f68",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5648.734130859375,
- "y": 5222.486175537109,
- "z": "1806503a.76a7a",
+ "x": 5674.417495727539,
+ "y": 5227.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9484e895.44a448",
- "50aee0a4.445958",
- "f7a12344.c8bde8"
+ "ea7ae99e.7714a",
+ "97767b77.532b48",
+ "bd9bb3b2.0d8698"
]
]
},
{
- "id": "93445f98.6a2b88",
+ "id": "7162d2d.84a60ac",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 5469.734130859375,
- "y": 5222.486175537109,
- "z": "1806503a.76a7a",
+ "x": 5495.417495727539,
+ "y": 5227.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a6955939.7a731"
+ "9e3505a2.ad7f68"
]
]
},
{
- "id": "50aee0a4.445958",
+ "id": "97767b77.532b48",
"type": "execute",
"name": "get esr-thirdparty-sdnc",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 5854.734130859375,
- "y": 5235.486175537109,
- "z": "1806503a.76a7a",
+ "x": 5880.417495727539,
+ "y": 5240.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1af8bb44.7d7ad5",
- "48532c3d.63b2f4",
- "af6d67e.1e33f98"
+ "8ede340c.5a66c8",
+ "74477750.32976",
+ "ea5203af.a882c8"
]
]
},
{
- "id": "9484e895.44a448",
+ "id": "ea7ae99e.7714a",
"type": "set",
"name": "set esr-thirdparty-sdnc domain id",
"xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 5884.734130859375,
- "y": 5183.486175537109,
- "z": "1806503a.76a7a",
+ "x": 5910.417495727539,
+ "y": 5188.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1af8bb44.7d7ad5",
+ "id": "8ede340c.5a66c8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6064.734130859375,
- "y": 5226.486175537109,
- "z": "1806503a.76a7a",
+ "x": 6090.417495727539,
+ "y": 5231.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "751438ac.f3ea9"
+ "5e0e6cb.070b594"
]
]
},
{
- "id": "48532c3d.63b2f4",
+ "id": "74477750.32976",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 6056.734130859375,
- "y": 5281.486175537109,
- "z": "1806503a.76a7a",
+ "x": 6082.417495727539,
+ "y": 5286.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1ab525ea.2aee0a"
+ "8bfb7c50.692e68"
]
]
},
{
- "id": "af6d67e.1e33f98",
+ "id": "ea5203af.a882c8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 6061.734130859375,
- "y": 5338.486175537109,
- "z": "1806503a.76a7a",
+ "x": 6087.417495727539,
+ "y": 5343.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "658bf37d.2cc724"
+ "1d7cc732.18ead1"
]
]
},
{
- "id": "658bf37d.2cc724",
+ "id": "1d7cc732.18ead1",
"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": 6213.734130859375,
- "y": 5339.486175537109,
- "z": "1806503a.76a7a",
+ "x": 6239.417495727539,
+ "y": 5344.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1ab525ea.2aee0a",
+ "id": "8bfb7c50.692e68",
"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": 6224.734130859375,
- "y": 5284.486175537109,
- "z": "1806503a.76a7a",
+ "x": 6250.417495727539,
+ "y": 5289.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "751438ac.f3ea9",
+ "id": "5e0e6cb.070b594",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6209.116455078125,
- "y": 5224.141845703125,
- "z": "1806503a.76a7a",
+ "x": 6234.799819946289,
+ "y": 5229.422744750977,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "3d7e0062.7d2af"
+ "20b06727.e2f538"
]
]
},
{
- "id": "3d7e0062.7d2af",
+ "id": "20b06727.e2f538",
"type": "set",
"name": "set controller domain data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
"comments": "",
- "x": 6423.734130859375,
- "y": 5220.486175537109,
- "z": "1806503a.76a7a",
+ "x": 6449.417495727539,
+ "y": 5225.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "f7a12344.c8bde8",
+ "id": "bd9bb3b2.0d8698",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 5804.734130859375,
- "y": 5299.486175537109,
- "z": "1806503a.76a7a",
+ "x": 5830.417495727539,
+ "y": 5304.767074584961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "8b3d1eff.18e008",
+ "id": "8985192.1ed6868",
"type": "execute",
"name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4453.234375,
- "y": 5380.085784912109,
- "z": "1806503a.76a7a",
+ "x": 4478.917739868164,
+ "y": 5385.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ee0f617b.5bd02",
- "8e2d6022.079658"
+ "62c705b1.502d1c",
+ "1b875464.e01f44"
]
]
},
{
- "id": "ee0f617b.5bd02",
+ "id": "62c705b1.502d1c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4813.734130859375,
- "y": 5388.085784912109,
- "z": "1806503a.76a7a",
+ "x": 4839.417495727539,
+ "y": 5393.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e5f9197d.04b6c"
+ "d191549e.030218"
]
]
},
{
- "id": "e5f9197d.04b6c",
+ "id": "d191549e.030218",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",
"comments": "",
- "x": 4971.734130859375,
- "y": 5388.085784912109,
- "z": "1806503a.76a7a",
+ "x": 4997.417495727539,
+ "y": 5393.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "b5f90852.29b69",
+ "id": "18bca107.e50237",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4975.234130859375,
- "y": 5428.085784912109,
- "z": "1806503a.76a7a",
+ "x": 5000.917495727539,
+ "y": 5433.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "8e2d6022.079658",
+ "id": "1b875464.e01f44",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4817.734130859375,
- "y": 5428.085784912109,
- "z": "1806503a.76a7a",
+ "x": 4843.417495727539,
+ "y": 5433.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b5f90852.29b69"
+ "18bca107.e50237"
]
]
},
{
- "id": "ffe0ea3.8a4d998",
+ "id": "8380c690.faafc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5126.451171875,
- "y": 5642.085784912109,
- "z": "1806503a.76a7a",
+ "x": 5152.134536743164,
+ "y": 5647.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6146efb2.cf13d",
- "9351cf54.365048"
+ "1f713bf9.1daaec",
+ "39b06195.a8d3be"
]
]
},
{
- "id": "9351cf54.365048",
+ "id": "39b06195.a8d3be",
"type": "get-resource",
"name": "get-resource src pnf",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 5368.450927734375,
- "y": 5592.085784912109,
- "z": "1806503a.76a7a",
+ "x": 5394.134292602539,
+ "y": 5597.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d35be3cf.cc2028",
- "74f2b735.4a4b38",
- "4e1edc90.74b29c"
+ "fbd8ede5.0e2c68",
+ "fe4285c6.cb2308",
+ "3fecf8f4.4ce3f"
]
]
},
{
- "id": "d35be3cf.cc2028",
+ "id": "fbd8ede5.0e2c68",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5563.951171875,
- "y": 5526.085784912109,
- "z": "1806503a.76a7a",
+ "x": 5589.634536743164,
+ "y": 5531.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "8c6be2ce.3abef8"
+ "10a1ac3d.04aa44"
]
]
},
{
- "id": "74f2b735.4a4b38",
+ "id": "fe4285c6.cb2308",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5559.951171875,
- "y": 5582.085784912109,
- "z": "1806503a.76a7a",
+ "x": 5585.634536743164,
+ "y": 5587.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "17a91916.50ea6f"
+ "f166d116.9a8368"
]
]
},
{
- "id": "8c6be2ce.3abef8",
+ "id": "10a1ac3d.04aa44",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5708.3333740234375,
- "y": 5543.741455078125,
- "z": "1806503a.76a7a",
+ "x": 5734.016738891602,
+ "y": 5549.022354125977,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "41f50adf.154854"
+ "2f38d9ab.5bfbbe"
]
]
},
{
- "id": "41f50adf.154854",
+ "id": "2f38d9ab.5bfbbe",
"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": 5892.450927734375,
- "y": 5542.085784912109,
- "z": "1806503a.76a7a",
+ "x": 5918.134292602539,
+ "y": 5547.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "92f6a716.223fa8"
+ "e1d73c4d.409db8"
]
]
},
{
- "id": "4e1edc90.74b29c",
+ "id": "3fecf8f4.4ce3f",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5569.951171875,
- "y": 5627.085784912109,
- "z": "1806503a.76a7a",
+ "x": 5595.634536743164,
+ "y": 5632.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9e924b4c.b75db"
+ "ba50366d.81301"
]
]
},
{
- "id": "9e924b4c.b75db",
+ "id": "ba50366d.81301",
"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": 5748.951171875,
- "y": 5643.085784912109,
- "z": "1806503a.76a7a",
+ "x": 5774.634536743164,
+ "y": 5648.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "17a91916.50ea6f",
+ "id": "f166d116.9a8368",
"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": 5730.951171875,
- "y": 5595.085784912109,
- "z": "1806503a.76a7a",
+ "x": 5756.634536743164,
+ "y": 5600.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "21c4fa1a.b93b46",
+ "id": "1d5ce61.ba31c9a",
"type": "execute",
"name": "execute RestApiCallNode Delete UNI of ethernet Service without token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.rootconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.ROOT.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
"comments": "",
"outputs": 1,
- "x": 5279.951171875,
- "y": 5697.685394287109,
- "z": "1806503a.76a7a",
+ "x": 5305.634536743164,
+ "y": 5702.966293334961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "95033c2a.09c67",
- "f1a877c4.a203d8"
+ "8374d45d.c41588",
+ "6d72c625.482d5"
]
]
},
{
- "id": "95033c2a.09c67",
+ "id": "8374d45d.c41588",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5628.451171875,
- "y": 5679.685394287109,
- "z": "1806503a.76a7a",
+ "x": 5654.134536743164,
+ "y": 5684.966293334961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "76c41eff.4cfe88"
+ "53e0b67e.6fc768"
]
]
},
{
- "id": "76c41eff.4cfe88",
+ "id": "53e0b67e.6fc768",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",
"comments": "",
- "x": 5884.451171875,
- "y": 5682.685394287109,
- "z": "1806503a.76a7a",
+ "x": 5910.134536743164,
+ "y": 5687.966293334961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "eb3b6335.123de8",
+ "id": "1ee806c.abb34f9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5836.951171875,
- "y": 5723.685394287109,
- "z": "1806503a.76a7a",
+ "x": 5862.634536743164,
+ "y": 5728.966293334961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "f1a877c4.a203d8",
+ "id": "6d72c625.482d5",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5638.451171875,
- "y": 5728.685394287109,
- "z": "1806503a.76a7a",
+ "x": 5664.134536743164,
+ "y": 5733.966293334961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "eb3b6335.123de8"
+ "1ee806c.abb34f9"
]
]
},
{
- "id": "6146efb2.cf13d",
+ "id": "1f713bf9.1daaec",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.rootconn.access-provider-id + '-clientId-' +\n $tmp.rootconn.access-client-id + '-topologyId-' +\n $tmp.rootconn.access-topology-id + '-nodeId-' +\n $tmp.rootconn.access-node-id`\" />\n",
"comments": "",
- "x": 5361.450927734375,
- "y": 5510.085784912109,
- "z": "1806503a.76a7a",
+ "x": 5387.134292602539,
+ "y": 5515.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "92f6a716.223fa8",
+ "id": "e1d73c4d.409db8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 6087.450927734375,
- "y": 5542.085784912109,
- "z": "1806503a.76a7a",
+ "x": 6113.134292602539,
+ "y": 5547.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "bd55517c.f87f1"
+ "b323e9c9.c4083"
]
]
},
{
- "id": "8bf8b16.3c18f5",
+ "id": "be7ed337.773238",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 6469.450927734375,
- "y": 5546.085784912109,
- "z": "1806503a.76a7a",
+ "x": 6495.134292602539,
+ "y": 5551.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1bd48f8a.cba628",
- "1ea10909.ec8b57",
- "ecac1508.b763"
+ "1a0db354.43c10d",
+ "711b7fd1.39246",
+ "1b22d01c.0f5988"
]
]
},
{
- "id": "bd55517c.f87f1",
+ "id": "b323e9c9.c4083",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 6290.450927734375,
- "y": 5546.085784912109,
- "z": "1806503a.76a7a",
+ "x": 6316.134292602539,
+ "y": 5551.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "8bf8b16.3c18f5"
+ "be7ed337.773238"
]
]
},
{
- "id": "1ea10909.ec8b57",
+ "id": "711b7fd1.39246",
"type": "execute",
"name": "get esr-thirdparty-sdnc",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 6675.450927734375,
- "y": 5559.085784912109,
- "z": "1806503a.76a7a",
+ "x": 6701.134292602539,
+ "y": 5564.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "830127bc.8c4c18",
- "adc00906.538428",
- "5c009e0.e4c98e4"
+ "d1222469.959ab8",
+ "2ce3fcd5.8dd1cc",
+ "95dec9e7.124ae"
]
]
},
{
- "id": "1bd48f8a.cba628",
+ "id": "1a0db354.43c10d",
"type": "set",
"name": "set esr-thirdparty-sdnc domain id",
"xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 6705.450927734375,
- "y": 5507.085784912109,
- "z": "1806503a.76a7a",
+ "x": 6731.134292602539,
+ "y": 5512.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "830127bc.8c4c18",
+ "id": "d1222469.959ab8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6885.450927734375,
- "y": 5550.085784912109,
- "z": "1806503a.76a7a",
+ "x": 6911.134292602539,
+ "y": 5555.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ea1d97d5.52d0a"
+ "15af61ce.93dc56"
]
]
},
{
- "id": "adc00906.538428",
+ "id": "2ce3fcd5.8dd1cc",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 6877.450927734375,
- "y": 5605.085784912109,
- "z": "1806503a.76a7a",
+ "x": 6903.134292602539,
+ "y": 5610.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "283c974a.c2fc28"
+ "85d2a0c5.7b74c"
]
]
},
{
- "id": "5c009e0.e4c98e4",
+ "id": "95dec9e7.124ae",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 6882.450927734375,
- "y": 5662.085784912109,
- "z": "1806503a.76a7a",
+ "x": 6908.134292602539,
+ "y": 5667.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "dbf169ab.c4c478"
+ "6c15ae6.0ebeb5"
]
]
},
{
- "id": "dbf169ab.c4c478",
+ "id": "6c15ae6.0ebeb5",
"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": 7034.450927734375,
- "y": 5663.085784912109,
- "z": "1806503a.76a7a",
+ "x": 7060.134292602539,
+ "y": 5668.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "283c974a.c2fc28",
+ "id": "85d2a0c5.7b74c",
"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": 7045.450927734375,
- "y": 5608.085784912109,
- "z": "1806503a.76a7a",
+ "x": 7071.134292602539,
+ "y": 5613.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "ea1d97d5.52d0a",
+ "id": "15af61ce.93dc56",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 7029.833251953125,
- "y": 5547.741455078125,
- "z": "1806503a.76a7a",
+ "x": 7055.516616821289,
+ "y": 5553.022354125977,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "eea057d1.d2c178"
+ "370a475d.301248"
]
]
},
{
- "id": "eea057d1.d2c178",
+ "id": "370a475d.301248",
"type": "set",
"name": "set controller domain data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
"comments": "",
- "x": 7244.450927734375,
- "y": 5544.085784912109,
- "z": "1806503a.76a7a",
+ "x": 7270.134292602539,
+ "y": 5549.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "ecac1508.b763",
+ "id": "1b22d01c.0f5988",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 6625.450927734375,
- "y": 5623.085784912109,
- "z": "1806503a.76a7a",
+ "x": 6651.134292602539,
+ "y": 5628.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e8fee7bd.fc2ef8",
+ "id": "537f8032.a139c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3854.88330078125,
- "y": 3512.2857360839844,
- "z": "1806503a.76a7a",
+ "x": 3880.566665649414,
+ "y": 3517.566635131836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "4b07eb9e.ad1084",
- "449a6f75.ecc4d"
+ "4c0087b1.a54ff",
+ "543f9693.a47c"
]
]
},
{
- "id": "4b07eb9e.ad1084",
+ "id": "4c0087b1.a54ff",
"type": "set",
"name": "set tmp.mmUNI-id-long",
"xml": "<set>\n<parameter name='tmp.mmUNI-id-long' value='`$middle-man-conn.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",
"comments": "",
- "x": 4045.466552734375,
- "y": 3455.0857849121094,
- "z": "1806503a.76a7a",
+ "x": 4071.149917602539,
+ "y": 3460.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "449a6f75.ecc4d",
+ "id": "543f9693.a47c",
"type": "switchNode",
"name": "switch tmp.mmUNI-id-long != ROOT UNI",
"xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.ROOT.uni-p-interface-long`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4092.466552734375,
- "y": 3526.0857849121094,
- "z": "1806503a.76a7a",
+ "x": 4118.149917602539,
+ "y": 3531.366683959961,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a5622a5e.b03c68",
- "1b2b72f4.a20bdd"
+ "e4164ac6.db6c38",
+ "5e838a6b.5e0f0c"
]
]
},
{
- "id": "a5622a5e.b03c68",
+ "id": "e4164ac6.db6c38",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4330.884033203125,
- "y": 3485.2857360839844,
- "z": "1806503a.76a7a",
+ "x": 4356.567398071289,
+ "y": 3490.566635131836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d22a60e2.fd2778"
+ "4d697267.53d1ec"
]
]
},
{
- "id": "1b2b72f4.a20bdd",
+ "id": "5e838a6b.5e0f0c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4337.884246826172,
- "y": 3542.2857055664062,
- "z": "1806503a.76a7a",
+ "x": 4363.567611694336,
+ "y": 3547.566604614258,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b7814ecb.1580d"
+ "fa76b584.bdbd9"
]
]
},
{
- "id": "d22a60e2.fd2778",
+ "id": "4d697267.53d1ec",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4458.884521484375,
- "y": 3481.2857360839844,
- "z": "1806503a.76a7a",
+ "x": 4484.567886352539,
+ "y": 3486.566635131836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "3c679d7f.fbbb22",
+ "id": "130e3d11.8bda33",
"type": "set",
"name": "set tmp.MMonlyHasROOT to TRUE",
"xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='true' />\n",
"comments": "",
- "x": 3314.083251953125,
- "y": 3439.6858825683594,
- "z": "1806503a.76a7a",
+ "x": 3339.766616821289,
+ "y": 3444.966781616211,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "da386631.67d8c8",
+ "id": "99b14097.a9c1b8",
"type": "set",
"name": "set tmp.MMonlyHasROOT to FALSE",
"xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='false' />\n",
"comments": "",
- "x": 5295.91748046875,
- "y": 3441.6859130859375,
- "z": "1806503a.76a7a",
+ "x": 5321.600845336914,
+ "y": 3446.966812133789,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "5fa67fdd.e511b8",
+ "id": "335ed745.f60fb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4407.6669921875,
- "y": 3961.9024353027344,
- "z": "1806503a.76a7a",
+ "x": 4433.350357055664,
+ "y": 3967.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a814439f.bac2e",
- "f8d770ba.37d44"
+ "64f170e7.ccc2d",
+ "d03c542e.06f138"
]
]
},
{
- "id": "a814439f.bac2e",
+ "id": "64f170e7.ccc2d",
"type": "set",
"name": "set tmp.uni.id",
"xml": "<set>\n<parameter name='tmp.uni.id' value='`$tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",
"comments": "",
- "x": 4580.5498046875,
- "y": 3957.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 4606.233169555664,
+ "y": 3962.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "f8d770ba.37d44",
+ "id": "d03c542e.06f138",
"type": "save",
"name": "get uni from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.uni.id\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.uni\" >\n\n",
"comments": "",
"outputs": 1,
- "x": 4583.5498046875,
- "y": 4004.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 4609.233169555664,
+ "y": 4009.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7fc95f5b.ec381",
- "28603ae9.d6e726",
- "f736ad43.136778"
+ "d5d4471e.75f138",
+ "fea86c4e.6eb66",
+ "9876b951.6d5f9"
]
]
},
{
- "id": "7fc95f5b.ec381",
+ "id": "d5d4471e.75f138",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4755.5498046875,
- "y": 3988.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 4781.233169555664,
+ "y": 3993.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "47e06d70.96544c"
+ "c08f73d3.bbadb"
]
]
},
{
- "id": "28603ae9.d6e726",
+ "id": "fea86c4e.6eb66",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4756.040771484375,
- "y": 4034.1361389160156,
- "z": "1806503a.76a7a",
+ "x": 4781.724136352539,
+ "y": 4039.417037963867,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "f736ad43.136778",
+ "id": "9876b951.6d5f9",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4756.5498046875,
- "y": 4074.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 4782.233169555664,
+ "y": 4079.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "47e06d70.96544c",
+ "id": "c08f73d3.bbadb",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4916.5498046875,
- "y": 3984.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 4942.233169555664,
+ "y": 3989.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "db3d2916.05167",
- "b1e93bbf.154be8",
- "2727d594.264d9a"
+ "71418de6.0d2394",
+ "d8794541.6fe0d",
+ "69521be3.cd51ac"
]
]
},
{
- "id": "3055c73f.990de",
+ "id": "7f40068a.c630c8",
"type": "comment",
"name": "find the node part of the uni.id (uni-tp-id-node-part)",
"info": "",
"comments": "",
- "x": 5249.5498046875,
- "y": 3915.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 5275.233169555664,
+ "y": 3920.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "b1e93bbf.154be8",
+ "id": "d8794541.6fe0d",
"type": "execute",
"name": "execute split 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.uni.id`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-uni-pnfName\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 5184.5498046875,
- "y": 3972.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 5210.233169555664,
+ "y": 3977.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "8ed99d07.46ccf",
- "dfad78a0.2e2798"
+ "eb66d929.7d0b9",
+ "25fd01e0.613c0e"
]
]
},
{
- "id": "dfad78a0.2e2798",
+ "id": "25fd01e0.613c0e",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5407.5498046875,
- "y": 3958.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 5433.233169555664,
+ "y": 3963.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "40b7643c.aa9b44"
+ "b7f38bd8.a0bf3"
]
]
},
{
- "id": "8ed99d07.46ccf",
+ "id": "eb66d929.7d0b9",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5409.5498046875,
- "y": 3991.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 5435.233169555664,
+ "y": 3996.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2c3f5774.427218"
+ "23361310.a1a764"
]
]
},
{
- "id": "40b7643c.aa9b44",
+ "id": "b7f38bd8.a0bf3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5555.5498046875,
- "y": 3951.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 5581.233169555664,
+ "y": 3956.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "49b755b0.ff456c"
+ "16198ed9.69ab49"
]
]
},
{
- "id": "2c3f5774.427218",
+ "id": "23361310.a1a764",
"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": 5552.5498046875,
- "y": 3988.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 5578.233169555664,
+ "y": 3993.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "49b755b0.ff456c",
+ "id": "16198ed9.69ab49",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.uni.pnf-name' value=\"`$param-prefix-uni-pnfName[0] + '-' +\n $param-prefix-uni-pnfName[1] + '-' +\n $param-prefix-uni-pnfName[2] + '-' +\n $param-prefix-uni-pnfName[3] + '-' +\n $param-prefix-uni-pnfName[4] + '-' +\n $param-prefix-uni-pnfName[5] + '-' +\n $param-prefix-uni-pnfName[6] + '-' +\n $param-prefix-uni-pnfName[7] + '-' +\n $param-prefix-uni-pnfName[8]`\" />\n",
"comments": "",
- "x": 5732.5498046875,
- "y": 3951.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 5758.233169555664,
+ "y": 3956.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "db3d2916.05167",
+ "id": "71418de6.0d2394",
"type": "switchNode",
"name": "switch uni-tp-id-node-part is the same as the LEAF node",
"xml": "<switch test='`$tmp.uni.pnf-name == $tmp.LEAF.pnf-name-long`'>\n",
"comments": "",
"outputs": 1,
- "x": 5228.5498046875,
- "y": 4106.562103271484,
- "z": "1806503a.76a7a",
+ "x": 5254.233169555664,
+ "y": 4111.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "76a8963f.4621b8",
- "22179ab4.cea27e"
+ "adaeb862.473368",
+ "2ff17e89.b4833a"
]
]
},
{
- "id": "76a8963f.4621b8",
+ "id": "adaeb862.473368",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5509.5498046875,
- "y": 4083.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 5535.233169555664,
+ "y": 4088.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "cdc60b24.0ad9a8"
+ "b52ce206.918da8"
]
]
},
{
- "id": "22179ab4.cea27e",
+ "id": "2ff17e89.b4833a",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5502.5498046875,
- "y": 4142.562103271484,
- "z": "1806503a.76a7a",
+ "x": 5528.233169555664,
+ "y": 4147.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5846229.a88c65c"
+ "b7c68567.02237"
]
]
},
{
- "id": "cdc60b24.0ad9a8",
+ "id": "b52ce206.918da8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5639.5498046875,
- "y": 4087.5621032714844,
- "z": "1806503a.76a7a",
+ "x": 5665.233169555664,
+ "y": 4092.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "5846229.a88c65c",
+ "id": "b7c68567.02237",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5644.5498046875,
- "y": 4141.562103271484,
- "z": "1806503a.76a7a",
+ "x": 5670.233169555664,
+ "y": 4146.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a9c7c427.af4688",
- "fe9fa034.5cb01"
+ "e0f7b55.335ff48",
+ "cb97a1e2.dfe9f8"
]
]
},
{
- "id": "a9c7c427.af4688",
+ "id": "e0f7b55.335ff48",
"type": "set",
"name": "set no-pce-call",
"xml": "<set>\n<parameter name='no-pce-call' value=\"true\" />\n",
"comments": "",
- "x": 5836.5498046875,
- "y": 4108.562103271484,
- "z": "1806503a.76a7a",
+ "x": 5862.233169555664,
+ "y": 4113.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "98a16c7e.29ab68",
+ "id": "8511bfc9.24e818",
"type": "set",
"name": "set middle-man-conn",
"xml": "<set>\n<parameter name='middle-man-conn.' value='`$tmp.aai.all-connectivities.connectivity[$connidx].`' />\n",
"comments": "",
- "x": 5852.5498046875,
- "y": 4160.562103271484,
- "z": "1806503a.76a7a",
+ "x": 5878.233169555664,
+ "y": 4165.843002319336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "fe9fa034.5cb01",
+ "id": "cb97a1e2.dfe9f8",
"type": "set",
"name": "set tmp.stillHasUni and tmp.keepVPNBs to TRUE",
"xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n<parameter name='tmp.keepVPNBs' value='true' />\n",
"comments": "",
- "x": 5870.83349609375,
- "y": 4230.152435302734,
- "z": "1806503a.76a7a",
+ "x": 5896.516860961914,
+ "y": 4235.433334350586,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "2727d594.264d9a",
+ "id": "69521be3.cd51ac",
"type": "set",
"name": "set tmp.stillHasUni to TRUE",
"xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",
"comments": "",
- "x": 5147.533203125,
- "y": 4056.0523376464844,
- "z": "1806503a.76a7a",
+ "x": 5173.216567993164,
+ "y": 4061.333236694336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "c0a1014a.3ea75",
+ "id": "94db503d.b50288",
"type": "switchNode",
"name": "switch tmp.stillHasUni?",
"xml": "\n<switch test=\"`$tmp.stillHasUni`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 383.7339172363281,
- "y": 5326.252044677734,
- "z": "1806503a.76a7a",
+ "x": 409.4172821044922,
+ "y": 5331.532943725586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5bc4629f.a764e4",
- "36ea940e.f6b704"
+ "98c37402.345048",
+ "44b19987.103118"
]
]
},
{
- "id": "529ae160.378f78",
+ "id": "5e023344.61a9f4",
"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": 4288.516357421875,
- "y": 5490.135833740234,
- "z": "1806503a.76a7a",
+ "x": 4314.199722290039,
+ "y": 5495.416732788086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e3e4b7ad.cfce5",
- "2311d61f.89de52",
- "cab68c6b.abd21"
+ "76f7324c.5ab6f4",
+ "92aa08d0.816178",
+ "84add947.e60b78"
]
]
},
{
- "id": "2b4c8a8a.8bc066",
+ "id": "26cdc27d.9e4c6e",
"type": "comment",
"name": "Update ROOT UNI's bw -- ALREADY DONE",
"info": "",
"comments": "",
- "x": 4286.516845703125,
- "y": 5442.136077880859,
- "z": "1806503a.76a7a",
+ "x": 4312.200210571289,
+ "y": 5447.416976928711,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "89e149ab.f2e7c8",
+ "id": "eb8b95c0.79475",
"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": 4903.5166015625,
- "y": 5560.136077880859,
- "z": "1806503a.76a7a",
+ "x": 4929.199966430664,
+ "y": 5565.416976928711,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "2311d61f.89de52",
+ "id": "92aa08d0.816178",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4506.007568359375,
- "y": 5460.710052490234,
- "z": "1806503a.76a7a",
+ "x": 4531.690933227539,
+ "y": 5465.990951538086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "983c2552.f1f49"
+ "8b26daec.dead98"
]
]
},
{
- "id": "cab68c6b.abd21",
+ "id": "84add947.e60b78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4501.5166015625,
- "y": 5505.136016845703,
- "z": "1806503a.76a7a",
+ "x": 4527.199966430664,
+ "y": 5510.416915893555,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "62a8aa1.663f1d4"
+ "6ddd64cd.a4b574"
]
]
},
{
- "id": "983c2552.f1f49",
+ "id": "8b26daec.dead98",
"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": 4668.5791015625,
- "y": 5459.995758056641,
- "z": "1806503a.76a7a",
+ "x": 4694.262466430664,
+ "y": 5465.276657104492,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "62a8aa1.663f1d4",
+ "id": "6ddd64cd.a4b574",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4669.5166015625,
- "y": 5505.136016845703,
- "z": "1806503a.76a7a",
+ "x": 4695.199966430664,
+ "y": 5510.416915893555,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "d78e13a5.01de9",
+ "id": "5ac227ed.4c0b7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4666.5166015625,
- "y": 5555.136077880859,
- "z": "1806503a.76a7a",
+ "x": 4692.199966430664,
+ "y": 5560.416976928711,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7bde7792.d9b138",
- "89e149ab.f2e7c8"
+ "176f7b0f.04a15d",
+ "eb8b95c0.79475"
]
]
},
{
- "id": "e3e4b7ad.cfce5",
+ "id": "76f7324c.5ab6f4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4497.5166015625,
- "y": 5555.136077880859,
- "z": "1806503a.76a7a",
+ "x": 4523.199966430664,
+ "y": 5560.416976928711,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d78e13a5.01de9"
+ "5ac227ed.4c0b7"
]
]
},
{
- "id": "7bde7792.d9b138",
+ "id": "176f7b0f.04a15d",
"type": "set",
"name": "set new bw",
"xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",
"comments": "",
- "x": 4859.517578125,
- "y": 5480.136077880859,
- "z": "1806503a.76a7a",
+ "x": 4885.200942993164,
+ "y": 5485.416976928711,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "cf4ce975.93215",
+ "id": "2932b285.c1e58e",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 5288.216796875,
- "y": 5417.902679443359,
- "z": "1806503a.76a7a",
+ "x": 5313.900161743164,
+ "y": 5423.183578491211,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "ea983e85.321ce",
+ "id": "9d183ed0.0c624",
"type": "save",
"name": "update ROOT connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 5314,
- "y": 5460.102874755859,
- "z": "1806503a.76a7a",
+ "x": 5339.683364868164,
+ "y": 5465.383773803711,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "5bc4629f.a764e4",
+ "id": "98c37402.345048",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 567.8836059570312,
- "y": 5377.285736083984,
- "z": "1806503a.76a7a",
+ "x": 593.5669708251953,
+ "y": 5382.566635131836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "867bdfac.94705"
+ "e53158e8.a8e898"
]
]
},
{
- "id": "36ea940e.f6b704",
+ "id": "44b19987.103118",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 550.883544921875,
- "y": 5299.285736083984,
- "z": "1806503a.76a7a",
+ "x": 576.5669097900391,
+ "y": 5304.566635131836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ab9e57cf.8ef448"
+ "d82acda1.7d932"
]
]
},
{
- "id": "eb7859d4.8fd35",
+ "id": "add9e89e.85dcc8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 679.8833923339844,
- "y": 4386.285461425781,
- "z": "1806503a.76a7a",
+ "x": 705.5667572021484,
+ "y": 4391.566360473633,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "8a11a728.e1b1d8",
- "7438f980.400318",
- "6c2db8ea.27724",
- "a48617f3.9f6e4",
- "5ff63bef.c5afdc",
- "78f62ea.0af84d",
- "d07ac0db.fa9818"
+ "1b682749.fdf219",
+ "555aecf4.9d0abc",
+ "fa8f69fe.c57418",
+ "924743a9.bdd1d",
+ "eeb2edff.f77838",
+ "b3758874.8f232",
+ "9c7760f0.090d48"
]
]
},
{
- "id": "8a11a728.e1b1d8",
+ "id": "1b682749.fdf219",
"type": "set",
"name": "set tmp.leafconn.",
"xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",
"comments": "",
- "x": 931.5667419433594,
- "y": 4364.335266113281,
- "z": "1806503a.76a7a",
+ "x": 957.2501068115234,
+ "y": 4369.616165161133,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "8aa064fb.543668",
+ "id": "20195ed4.4f043a",
"type": "comment",
"name": "Find LEAF and ROOT connectivities and remove UNI from PNC",
"info": "",
"comments": "",
- "x": 1033.1338806152344,
- "y": 4312.418762207031,
- "z": "1806503a.76a7a",
+ "x": 1058.8172454833984,
+ "y": 4317.699661254883,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "821af189.946d58",
+ "id": "9fa4061c.f2e2c8",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.leafconn.access-provider-id + '-clientId-' +\n $tmp.leafconn.access-client-id + '-topologyId-' +\n $tmp.leafconn.access-topology-id + '-nodeId-' +\n $tmp.leafconn.access-node-id`\" />\n",
"comments": "",
- "x": 1140.9837341308594,
- "y": 4393.618957519531,
- "z": "1806503a.76a7a",
+ "x": 1166.6670989990234,
+ "y": 4398.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "7438f980.400318",
+ "id": "555aecf4.9d0abc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 911.9837341308594,
- "y": 4482.618957519531,
- "z": "1806503a.76a7a",
+ "x": 937.6670989990234,
+ "y": 4487.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "821af189.946d58",
- "139cfd47.53e94b"
+ "9fa4061c.f2e2c8",
+ "a9e7fb46.8bda4"
]
]
},
{
- "id": "139cfd47.53e94b",
+ "id": "a9e7fb46.8bda4",
"type": "get-resource",
"name": "get-resource src pnf",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 1147.9837341308594,
- "y": 4475.618957519531,
- "z": "1806503a.76a7a",
+ "x": 1173.6670989990234,
+ "y": 4480.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "df64900d.741c98",
- "681e1ffc.26592",
- "ab39d1b3.416b58"
+ "caf23ffe.0efab",
+ "c3c6018c.a6e8b8",
+ "a18cc13f.db156"
]
]
},
{
- "id": "df64900d.741c98",
+ "id": "caf23ffe.0efab",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1343.4838562011719,
- "y": 4427.618957519531,
- "z": "1806503a.76a7a",
+ "x": 1369.167221069336,
+ "y": 4432.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6f395e40.dc6b7"
+ "f910fabf.7d6ff8"
]
]
},
{
- "id": "681e1ffc.26592",
+ "id": "c3c6018c.a6e8b8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1335.4838562011719,
- "y": 4482.618957519531,
- "z": "1806503a.76a7a",
+ "x": 1361.167221069336,
+ "y": 4487.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b25568a6.369d78"
+ "7989bd98.acfa84"
]
]
},
{
- "id": "6f395e40.dc6b7",
+ "id": "f910fabf.7d6ff8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1487.8661804199219,
- "y": 4427.274627685547,
- "z": "1806503a.76a7a",
+ "x": 1513.549545288086,
+ "y": 4432.555526733398,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "94a27fe.8c889"
+ "ffb71773.7c6d48"
]
]
},
{
- "id": "94a27fe.8c889",
+ "id": "ffb71773.7c6d48",
"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": 1671.9837341308594,
- "y": 4425.618957519531,
- "z": "1806503a.76a7a",
+ "x": 1697.6670989990234,
+ "y": 4430.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b448ea96.4c3af8"
+ "a91274f1.8c8af"
]
]
},
{
- "id": "b448ea96.4c3af8",
+ "id": "a91274f1.8c8af",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 1866.9837341308594,
- "y": 4425.618957519531,
- "z": "1806503a.76a7a",
+ "x": 1892.6670989990234,
+ "y": 4430.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "77dc6e4f.3fb428"
+ "4cf12171.7f9938"
]
]
},
{
- "id": "ab39d1b3.416b58",
+ "id": "a18cc13f.db156",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1340.4838562011719,
- "y": 4539.618957519531,
- "z": "1806503a.76a7a",
+ "x": 1366.167221069336,
+ "y": 4544.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "42bc5c1d.fe55cc"
+ "3d61f539.cfb7aa"
]
]
},
{
- "id": "42bc5c1d.fe55cc",
+ "id": "3d61f539.cfb7aa",
"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": 1492.4838562011719,
- "y": 4540.618957519531,
- "z": "1806503a.76a7a",
+ "x": 1518.167221069336,
+ "y": 4545.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "b25568a6.369d78",
+ "id": "7989bd98.acfa84",
"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": 1503.4838562011719,
- "y": 4483.618957519531,
- "z": "1806503a.76a7a",
+ "x": 1529.167221069336,
+ "y": 4488.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "80f1bf38.0bc68",
+ "id": "a5cb8297.ace3c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2248.9837341308594,
- "y": 4429.618957519531,
- "z": "1806503a.76a7a",
+ "x": 2274.6670989990234,
+ "y": 4434.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "cad7009f.f83538",
- "d1a2dd14.715a78",
- "689fc80.c15b238"
+ "2680c237.68eca6",
+ "fc040fd7.89c84",
+ "2a46caf5.5b4116"
]
]
},
{
- "id": "77dc6e4f.3fb428",
+ "id": "4cf12171.7f9938",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 2069.9837341308594,
- "y": 4429.618957519531,
- "z": "1806503a.76a7a",
+ "x": 2095.6670989990234,
+ "y": 4434.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "80f1bf38.0bc68"
+ "a5cb8297.ace3c"
]
]
},
{
- "id": "6c2db8ea.27724",
+ "id": "fa8f69fe.c57418",
"type": "execute",
"name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1053.4839782714844,
- "y": 4587.218566894531,
- "z": "1806503a.76a7a",
+ "x": 1079.1673431396484,
+ "y": 4592.499465942383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c3b5c5e7.57693",
- "cf1b7699.e71658"
+ "f60ef44c.acdc6",
+ "f2d3c91e.712808"
]
]
},
{
- "id": "cf1b7699.e71658",
+ "id": "f2d3c91e.712808",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1417.9837341308594,
- "y": 4635.218566894531,
- "z": "1806503a.76a7a",
+ "x": 1443.6670989990234,
+ "y": 4640.499465942383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "723bcced.729e54"
+ "95261a80.102e28"
]
]
},
{
- "id": "c3b5c5e7.57693",
+ "id": "f60ef44c.acdc6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1413.9837341308594,
- "y": 4595.218566894531,
- "z": "1806503a.76a7a",
+ "x": 1439.6670989990234,
+ "y": 4600.499465942383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "408278c5.7e5798"
+ "93ef3053.4d666"
]
]
},
{
- "id": "408278c5.7e5798",
+ "id": "93ef3053.4d666",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",
"comments": "",
- "x": 1571.9837341308594,
- "y": 4595.218566894531,
- "z": "1806503a.76a7a",
+ "x": 1597.6670989990234,
+ "y": 4600.499465942383,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "723bcced.729e54",
+ "id": "95261a80.102e28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1575.4837341308594,
- "y": 4635.218566894531,
- "z": "1806503a.76a7a",
+ "x": 1601.1670989990234,
+ "y": 4640.499465942383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "d1a2dd14.715a78",
+ "id": "fc040fd7.89c84",
"type": "execute",
"name": "get esr-thirdparty-sdnc",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 2454.9837341308594,
- "y": 4442.618957519531,
- "z": "1806503a.76a7a",
+ "x": 2480.6670989990234,
+ "y": 4447.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e07edffa.c89278",
- "8645511b.c4b66",
- "a8a5443b.9b8a2"
+ "3d8ec7b4.a91e7",
+ "f9528a5a.50e1f8",
+ "f194c3a5.898d88"
]
]
},
{
- "id": "cad7009f.f83538",
+ "id": "2680c237.68eca6",
"type": "set",
"name": "set esr-thirdparty-sdnc domain id",
"xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 2484.9837341308594,
- "y": 4390.618957519531,
- "z": "1806503a.76a7a",
+ "x": 2510.6670989990234,
+ "y": 4395.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e07edffa.c89278",
+ "id": "3d8ec7b4.a91e7",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2664.9837341308594,
- "y": 4433.618957519531,
- "z": "1806503a.76a7a",
+ "x": 2690.6670989990234,
+ "y": 4438.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "cb5c9c8e.bb8ed8"
+ "e578c39c.344a5"
]
]
},
{
- "id": "8645511b.c4b66",
+ "id": "f9528a5a.50e1f8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2656.9837341308594,
- "y": 4488.618957519531,
- "z": "1806503a.76a7a",
+ "x": 2682.6670989990234,
+ "y": 4493.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "29fe474c.df75c8"
+ "b1a83287.5e83a"
]
]
},
{
- "id": "a8a5443b.9b8a2",
+ "id": "f194c3a5.898d88",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2661.9837341308594,
- "y": 4545.618957519531,
- "z": "1806503a.76a7a",
+ "x": 2687.6670989990234,
+ "y": 4550.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b28b1e53.869fb"
+ "d1a6ffed.890f4"
]
]
},
{
- "id": "b28b1e53.869fb",
+ "id": "d1a6ffed.890f4",
"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": 2813.9837341308594,
- "y": 4546.618957519531,
- "z": "1806503a.76a7a",
+ "x": 2839.6670989990234,
+ "y": 4551.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "29fe474c.df75c8",
+ "id": "b1a83287.5e83a",
"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": 2824.9837341308594,
- "y": 4491.618957519531,
- "z": "1806503a.76a7a",
+ "x": 2850.6670989990234,
+ "y": 4496.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "cb5c9c8e.bb8ed8",
+ "id": "e578c39c.344a5",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2809.3660583496094,
- "y": 4431.274627685547,
- "z": "1806503a.76a7a",
+ "x": 2835.0494232177734,
+ "y": 4436.555526733398,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a908cc9.5d7f7b"
+ "dfc70a8a.f85818"
]
]
},
{
- "id": "a908cc9.5d7f7b",
+ "id": "dfc70a8a.f85818",
"type": "set",
"name": "set controller domain data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
"comments": "",
- "x": 3023.9837341308594,
- "y": 4427.618957519531,
- "z": "1806503a.76a7a",
+ "x": 3049.6670989990234,
+ "y": 4432.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "689fc80.c15b238",
+ "id": "2a46caf5.5b4116",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 2404.9837341308594,
- "y": 4506.618957519531,
- "z": "1806503a.76a7a",
+ "x": 2430.6670989990234,
+ "y": 4511.899856567383,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "a48617f3.9f6e4",
+ "id": "924743a9.bdd1d",
"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": 1082.5667419433594,
- "y": 4807.335266113281,
- "z": "1806503a.76a7a",
+ "x": 1108.2501068115234,
+ "y": 4812.616165161133,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "5ff63bef.c5afdc",
+ "id": "eeb2edff.f77838",
"type": "switchNode",
"name": "switch found-root-connectivity",
"xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 897.5667419433594,
- "y": 4874.335266113281,
- "z": "1806503a.76a7a",
+ "x": 923.2501068115234,
+ "y": 4879.616165161133,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "bcfca35c.21654",
- "62c7d864.119b88"
+ "33b186f1.cd717a",
+ "46c96756.fc5c58"
]
]
},
{
- "id": "bcfca35c.21654",
+ "id": "33b186f1.cd717a",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1162.5667419433594,
- "y": 4859.335266113281,
- "z": "1806503a.76a7a",
+ "x": 1188.2501068115234,
+ "y": 4864.616165161133,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f4258877.5e35f"
+ "cdcc95c0.40a4e8"
]
]
},
{
- "id": "62c7d864.119b88",
+ "id": "46c96756.fc5c58",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1158.5667419433594,
- "y": 4907.335266113281,
- "z": "1806503a.76a7a",
+ "x": 1184.2501068115234,
+ "y": 4912.616165161133,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "3fb79094.abfaa8"
+ "5f6a4b73.d387f4"
]
]
},
{
- "id": "f4258877.5e35f",
+ "id": "cdcc95c0.40a4e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1318.5667419433594,
- "y": 4855.335266113281,
- "z": "1806503a.76a7a",
+ "x": 1344.2501068115234,
+ "y": 4860.616165161133,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2140ac57.1e83f4"
+ "5134ba22.f81734"
]
]
},
{
- "id": "3fb79094.abfaa8",
+ "id": "5f6a4b73.d387f4",
"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": 1306.5667419433594,
- "y": 4902.335266113281,
- "z": "1806503a.76a7a",
+ "x": 1332.2501068115234,
+ "y": 4907.616165161133,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "8db3fd20.37f318",
+ "id": "73beafc9.2c20a8",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 1587.4664001464844,
- "y": 4806.035461425781,
- "z": "1806503a.76a7a",
+ "x": 1613.1497650146484,
+ "y": 4811.316360473633,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "2140ac57.1e83f4",
+ "id": "5134ba22.f81734",
"type": "save",
"name": "update ROOT connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 1613.2496032714844,
- "y": 4848.235656738281,
- "z": "1806503a.76a7a",
+ "x": 1638.9329681396484,
+ "y": 4853.516555786133,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "440b33d.dbb8acc",
+ "id": "39215cce.b57e94",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 1026.8833923339844,
- "y": 4121.602355957031,
- "z": "1806503a.76a7a",
+ "x": 1052.5667572021484,
+ "y": 4126.883255004883,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "ab9e57cf.8ef448",
+ "id": "d82acda1.7d932",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 632.8834228515625,
- "y": 4126.285491943359,
- "z": "1806503a.76a7a",
+ "x": 658.5667877197266,
+ "y": 4131.566390991211,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "440b33d.dbb8acc",
- "eb7859d4.8fd35"
+ "39215cce.b57e94",
+ "add9e89e.85dcc8"
]
]
},
{
- "id": "867bdfac.94705",
+ "id": "e53158e8.a8e898",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 716.3333740234375,
- "y": 5378.802337646484,
- "z": "1806503a.76a7a",
+ "x": 742.0167388916016,
+ "y": 5384.083236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c644609d.44bce",
- "e7413115.aec04",
- "d006cbe4.5a677",
- "c786893c.7012b"
+ "5f6a4675.ad6e08",
+ "454309b7.55d6d8",
+ "1e655667.3c83ca",
+ "36ecf6b9.5afb0a"
]
]
},
{
- "id": "c644609d.44bce",
+ "id": "5f6a4675.ad6e08",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 1077.7166748046875,
- "y": 5141.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 1103.4000396728516,
+ "y": 5147.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "e7413115.aec04",
+ "id": "454309b7.55d6d8",
"type": "save",
"name": "delete LEAF connectivity resource in AAI",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n",
"comments": "",
"outputs": 1,
- "x": 988.7166748046875,
- "y": 5210.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 1014.4000396728516,
+ "y": 5216.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "d006cbe4.5a677",
+ "id": "1e655667.3c83ca",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 879.88330078125,
- "y": 5445.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 905.5666656494141,
+ "y": 5451.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "614e61f8.50b5f",
- "96d6a1ec.c795b",
- "90aff610.9959f8"
+ "96f2f082.9a3518",
+ "4b895364.485e14",
+ "2fffa63d.405042"
]
]
},
{
- "id": "7ca77be7.05ec8c",
+ "id": "bd546556.218588",
"type": "execute",
"name": "get esr-thirdparty-sdnc",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 2588.882568359375,
- "y": 5370.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 2614.565933227539,
+ "y": 5376.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a9496568.146b9",
- "c5f96edd.835cb8",
- "e018fe0a.acb8a"
+ "d9b04f13.72ba2",
+ "6f67d0fd.f943c",
+ "d85e2a4.827e658"
]
]
},
{
- "id": "b9815115.2c557",
+ "id": "eb3b9787.8ee65",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 2538.882568359375,
- "y": 5434.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 2564.565933227539,
+ "y": 5440.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "d05f3809.7521c8",
+ "id": "89310244.45d948",
"type": "set",
"name": "set esr-thirdparty-sdnc domain id",
"xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 2618.882568359375,
- "y": 5318.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 2644.565933227539,
+ "y": 5324.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "a9496568.146b9",
+ "id": "d9b04f13.72ba2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2906.8826904296875,
- "y": 5301.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 2932.5660552978516,
+ "y": 5307.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b7511521.12ea3"
+ "ca13eb43.a9266"
]
]
},
{
- "id": "c5f96edd.835cb8",
+ "id": "6f67d0fd.f943c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2898.8826904296875,
- "y": 5356.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 2924.5660552978516,
+ "y": 5362.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d009936c.baaf78"
+ "7e30219a.74a1a8"
]
]
},
{
- "id": "e018fe0a.acb8a",
+ "id": "d85e2a4.827e658",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2903.8826904296875,
- "y": 5413.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 2929.5660552978516,
+ "y": 5419.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a8c24324.12cd38"
+ "1fa2a159.15189f"
]
]
},
{
- "id": "a8c24324.12cd38",
+ "id": "1fa2a159.15189f",
"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": 3055.8826904296875,
- "y": 5414.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 3081.5660552978516,
+ "y": 5420.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "d009936c.baaf78",
+ "id": "7e30219a.74a1a8",
"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": 3066.8826904296875,
- "y": 5359.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 3092.5660552978516,
+ "y": 5365.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "b7511521.12ea3",
+ "id": "ca13eb43.a9266",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3051.2650146484375,
- "y": 5299.458038330078,
- "z": "1806503a.76a7a",
+ "x": 3076.9483795166016,
+ "y": 5304.73893737793,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "87c431c3.fca34"
+ "3ed958.dd670ea8"
]
]
},
{
- "id": "87c431c3.fca34",
+ "id": "3ed958.dd670ea8",
"type": "set",
"name": "set controller domain data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
"comments": "",
- "x": 3265.8826904296875,
- "y": 5295.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 3291.5660552978516,
+ "y": 5301.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "614e61f8.50b5f",
+ "id": "96f2f082.9a3518",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.the-connectivity.access-provider-id + '-clientId-' +\n $tmp.the-connectivity.access-client-id + '-topologyId-' +\n $tmp.the-connectivity.access-topology-id + '-nodeId-' +\n $tmp.the-connectivity.access-node-id`\" />\n",
"comments": "",
- "x": 1161.88330078125,
- "y": 5314.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 1187.566665649414,
+ "y": 5320.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "c0a00c52.f1e878",
+ "id": "bd5e9405.7c27a8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1372.3834228515625,
- "y": 5453.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 1398.0667877197266,
+ "y": 5459.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a9f88f76.4444c"
+ "de47c705.79a8b8"
]
]
},
{
- "id": "62d1e19f.b39a2",
+ "id": "6b3e7adb.d2bb84",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1375.3834228515625,
- "y": 5341.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 1401.0667877197266,
+ "y": 5347.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "957f349.e76e4c8"
+ "a396ce34.a18e2"
]
]
},
{
- "id": "b9cbc6ac.26846",
+ "id": "a85067c1.2cd6d",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1367.3834228515625,
- "y": 5396.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 1393.0667877197266,
+ "y": 5402.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "48a6f350.0417c4"
+ "d6007294.f11f4"
]
]
},
{
- "id": "957f349.e76e4c8",
+ "id": "a396ce34.a18e2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1509.765625,
- "y": 5336.4581298828125,
- "z": "1806503a.76a7a",
+ "x": 1535.448989868164,
+ "y": 5341.739028930664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d4741dab.7b5f78"
+ "7dd1d4e7.a0f1bc"
]
]
},
{
- "id": "a9f88f76.4444c",
+ "id": "de47c705.79a8b8",
"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": 1524.3834228515625,
- "y": 5454.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 1550.0667877197266,
+ "y": 5460.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "48a6f350.0417c4",
+ "id": "d6007294.f11f4",
"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": 1535.3834228515625,
- "y": 5397.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 1561.0667877197266,
+ "y": 5403.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "d4741dab.7b5f78",
+ "id": "7dd1d4e7.a0f1bc",
"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": 1696.8828125,
- "y": 5337.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 1722.566177368164,
+ "y": 5343.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "93c0e1e7.1663a8"
+ "559db4ec.64792c"
]
]
},
{
- "id": "93c0e1e7.1663a8",
+ "id": "559db4ec.64792c",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 1924.8828125,
- "y": 5330.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 1950.566177368164,
+ "y": 5336.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "eb0c27f.1616058"
+ "799fadac.e2e6ec"
]
]
},
{
- "id": "96d6a1ec.c795b",
+ "id": "4b895364.485e14",
"type": "get-resource",
"name": "get-resource src pnf",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 1179.88330078125,
- "y": 5389.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 1205.566665649414,
+ "y": 5395.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c0a00c52.f1e878",
- "62d1e19f.b39a2",
- "b9cbc6ac.26846"
+ "bd5e9405.7c27a8",
+ "6b3e7adb.d2bb84",
+ "a85067c1.2cd6d"
]
]
},
{
- "id": "eb0c27f.1616058",
+ "id": "799fadac.e2e6ec",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 2130.8828125,
- "y": 5327.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 2156.566177368164,
+ "y": 5333.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "63e7e6f3.2a24f"
+ "7cbbce76.57d9f"
]
]
},
{
- "id": "63e7e6f3.2a24f",
+ "id": "7cbbce76.57d9f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2345.8822021484375,
- "y": 5330.8023681640625,
- "z": "1806503a.76a7a",
+ "x": 2371.5655670166016,
+ "y": 5336.083267211914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d05f3809.7521c8",
- "7ca77be7.05ec8c",
- "b9815115.2c557"
+ "89310244.45d948",
+ "bd546556.218588",
+ "eb3b9787.8ee65"
]
]
},
{
- "id": "90aff610.9959f8",
+ "id": "2fffa63d.405042",
"type": "execute",
"name": "execute RestApiCallNode Delete LEAF ethernet Service without token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.the-connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1303.6500244140625,
- "y": 5539.2022705078125,
- "z": "1806503a.76a7a",
+ "x": 1329.3333892822266,
+ "y": 5544.483169555664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b38f67ee.531ff",
- "7cc55d59.0067b4"
+ "fb4bb7df.e56c5",
+ "af1e6659.9dd9c8"
]
]
},
{
- "id": "b38f67ee.531ff",
+ "id": "fb4bb7df.e56c5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1650.1500244140625,
- "y": 5532.2022705078125,
- "z": "1806503a.76a7a",
+ "x": 1675.8333892822266,
+ "y": 5537.483169555664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "bec12c24.0b2378"
+ "84518bf4.248028"
]
]
},
{
- "id": "7cc55d59.0067b4",
+ "id": "af1e6659.9dd9c8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1654.1500244140625,
- "y": 5572.2022705078125,
- "z": "1806503a.76a7a",
+ "x": 1679.8333892822266,
+ "y": 5577.483169555664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9701e6f5.8bd518"
+ "b347040e.1f286"
]
]
},
{
- "id": "bec12c24.0b2378",
+ "id": "84518bf4.248028",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",
"comments": "",
- "x": 1808.1500244140625,
- "y": 5532.2022705078125,
- "z": "1806503a.76a7a",
+ "x": 1833.8333892822266,
+ "y": 5537.483169555664,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "9701e6f5.8bd518",
+ "id": "b347040e.1f286",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1811.6500244140625,
- "y": 5572.2022705078125,
- "z": "1806503a.76a7a",
+ "x": 1837.3333892822266,
+ "y": 5577.483169555664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "29311664.f24592"
+ "3d1d7271.d95cbe"
]
]
},
{
- "id": "c786893c.7012b",
+ "id": "36ecf6b9.5afb0a",
"type": "switchNode",
"name": "switch tmp.MMstillHasUni?",
"xml": "\n<switch test=\"`$tmp.MMstillHasUni`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 913.183349609375,
- "y": 5869.002532958984,
- "z": "1806503a.76a7a",
+ "x": 938.8667144775391,
+ "y": 5874.283432006836,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a3861250.d254d8",
- "3c90d5bf.82245a"
+ "4a5bd207.ca776c",
+ "b171c0.d456c64"
]
]
},
{
- "id": "a3861250.d254d8",
+ "id": "4a5bd207.ca776c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1107.183349609375,
- "y": 5696.0025634765625,
- "z": "1806503a.76a7a",
+ "x": 1132.866714477539,
+ "y": 5701.283462524414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6ee92ba3.68178c"
+ "b00c5aa2.01bbe8"
]
]
},
{
- "id": "3c90d5bf.82245a",
+ "id": "b171c0.d456c64",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1093.3500366210938,
- "y": 6018.602630615234,
- "z": "1806503a.76a7a",
+ "x": 1119.0334014892578,
+ "y": 6023.883529663086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "31cd7353.b764a4"
+ "782b8611.563688"
]
]
},
{
- "id": "6ee92ba3.68178c",
+ "id": "b00c5aa2.01bbe8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1255.35009765625,
- "y": 5695.6026611328125,
- "z": "1806503a.76a7a",
+ "x": 1281.033462524414,
+ "y": 5700.883560180664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "94f88b26.f34ce",
- "497fa775.3b5f3",
- "e88fc760.9f3988"
+ "8daf379c.cd379",
+ "ae051555.1a065",
+ "5d9c1c4d.83462c"
]
]
},
{
- "id": "94f88b26.f34ce",
+ "id": "8daf379c.cd379",
"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": 1677.199951171875,
- "y": 5667.0025634765625,
- "z": "1806503a.76a7a",
+ "x": 1702.883316040039,
+ "y": 5672.283462524414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "497fa775.3b5f3",
+ "id": "ae051555.1a065",
"type": "switchNode",
"name": "switch found-root-connectivity",
"xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1492.199951171875,
- "y": 5734.0025634765625,
- "z": "1806503a.76a7a",
+ "x": 1517.883316040039,
+ "y": 5739.283462524414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ef60935.82bca7",
- "9065d9f2.54ee4"
+ "f1328e61.aaecf8",
+ "75cc2f9e.02c51"
]
]
},
{
- "id": "ef60935.82bca7",
+ "id": "f1328e61.aaecf8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1757.199951171875,
- "y": 5719.0025634765625,
- "z": "1806503a.76a7a",
+ "x": 1782.883316040039,
+ "y": 5724.283462524414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2819744b.f6ef4c"
+ "320d795a.de0396"
]
]
},
{
- "id": "9065d9f2.54ee4",
+ "id": "75cc2f9e.02c51",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1756.199951171875,
- "y": 5767.0025634765625,
- "z": "1806503a.76a7a",
+ "x": 1781.883316040039,
+ "y": 5772.283462524414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "8f406878.70a"
+ "9b6d9f14.bbdc1"
]
]
},
{
- "id": "2819744b.f6ef4c",
+ "id": "320d795a.de0396",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1913.199951171875,
- "y": 5715.0025634765625,
- "z": "1806503a.76a7a",
+ "x": 1938.883316040039,
+ "y": 5720.283462524414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "450da1ad.43b1d"
+ "d445fc4a.df5c"
]
]
},
{
- "id": "8f406878.70a",
+ "id": "9b6d9f14.bbdc1",
"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": 1904.199951171875,
- "y": 5762.0025634765625,
- "z": "1806503a.76a7a",
+ "x": 1929.883316040039,
+ "y": 5767.283462524414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "450da1ad.43b1d",
+ "id": "d445fc4a.df5c",
"type": "save",
"name": "update ROOT connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 2221.8826904296875,
- "y": 5708.9029541015625,
- "z": "1806503a.76a7a",
+ "x": 2247.5660552978516,
+ "y": 5714.183853149414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "af8bca67.a28908",
+ "id": "d355d862.978bc",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 2196.0994873046875,
- "y": 5666.7027587890625,
- "z": "1806503a.76a7a",
+ "x": 2221.7828521728516,
+ "y": 5671.983657836914,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "31cd7353.b764a4",
+ "id": "782b8611.563688",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1230.916748046875,
- "y": 6017.902435302734,
- "z": "1806503a.76a7a",
+ "x": 1256.600112915039,
+ "y": 6023.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a74b089b.225b08",
- "ce915ff5.c8d31",
- "73f93f1a.1715d8"
+ "dfb91948.e397a8",
+ "a8afb078.60b068",
+ "9067b91d.deea4"
]
]
},
{
- "id": "a74b089b.225b08",
+ "id": "dfb91948.e397a8",
"type": "for",
"name": "for each relationship of middle-man-conn",
"xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1536.2328491210938,
- "y": 5951.1025390625,
- "z": "1806503a.76a7a",
+ "x": 1561.9162139892578,
+ "y": 5956.383438110352,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1bf92ac3.705cd5"
+ "9cf25842.080a8"
]
]
},
{
- "id": "1bf92ac3.705cd5",
+ "id": "9cf25842.080a8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 1844.566650390625,
- "y": 6007.102569580078,
- "z": "1806503a.76a7a",
+ "x": 1870.250015258789,
+ "y": 6012.38346862793,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "adff6291.99a8f8"
+ "6539b459.18686c"
]
]
},
{
- "id": "adff6291.99a8f8",
+ "id": "6539b459.18686c",
"type": "outcome",
"name": "connectivity",
"xml": "<outcome value='connectivity'>\n",
"comments": "",
"outputs": 1,
- "x": 2024.2332763671875,
- "y": 6007.1026611328125,
- "z": "1806503a.76a7a",
+ "x": 2049.9166412353516,
+ "y": 6012.383560180664,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b1717f1d.d23a28"
+ "eb5ca2dd.0acd08"
]
]
},
{
- "id": "b1717f1d.d23a28",
+ "id": "eb5ca2dd.0acd08",
"type": "save",
"name": "get connectivity from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $middle-man-conn.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",
"comments": "",
"outputs": 1,
- "x": 2224.233154296875,
- "y": 6007.102630615234,
- "z": "1806503a.76a7a",
+ "x": 2249.916519165039,
+ "y": 6012.383529663086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1b34e983.202196",
- "d97ea61c.b38298",
- "b46e47b0.7a7bf"
+ "d2d794d6.23b038",
+ "fd78cb11.7b7858",
+ "dc3bf10c.53584"
]
]
},
{
- "id": "1b34e983.202196",
+ "id": "d2d794d6.23b038",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2431.23291015625,
- "y": 6057.102630615234,
- "z": "1806503a.76a7a",
+ "x": 2456.916275024414,
+ "y": 6062.383529663086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "10e803bb.23c354"
+ "2ee18ab4.452c46"
]
]
},
{
- "id": "f69a3337.dd69",
+ "id": "6518db29.e12ccc",
"type": "save",
"name": "get vpn-binding from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
"comments": "",
"outputs": 1,
- "x": 2408.466552734375,
- "y": 6241.302337646484,
- "z": "1806503a.76a7a",
+ "x": 2434.149917602539,
+ "y": 6246.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "8e127971.6de7c",
- "9a64470f.e555c",
- "c5ecce15.749748"
+ "1586acc8.b40733",
+ "3f4ac64b.7a4a4a",
+ "c51a0fc1.cf0b78"
]
]
},
{
- "id": "1bd5cb93.6127c4",
+ "id": "2ead9053.75b73",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 1577.4664916992188,
- "y": 6284.30224609375,
- "z": "1806503a.76a7a",
+ "x": 1603.1498565673828,
+ "y": 6289.583145141602,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5280d91a.703f48"
+ "606f2389.64cdcc"
]
]
},
{
- "id": "5280d91a.703f48",
+ "id": "606f2389.64cdcc",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 1774.4664916992188,
- "y": 6298.30224609375,
- "z": "1806503a.76a7a",
+ "x": 1800.1498565673828,
+ "y": 6303.583145141602,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "4a3e493f.526ac",
- "404c9cef.17796c"
+ "c7f0bc3b.019c9",
+ "c9900403.e4a84"
]
]
},
{
- "id": "4a3e493f.526ac",
+ "id": "c7f0bc3b.019c9",
"type": "outcome",
"name": "vpn-binding",
"xml": "<outcome value='vpn-binding'>\n",
"comments": "",
"outputs": 1,
- "x": 1978.466552734375,
- "y": 6201.30224609375,
- "z": "1806503a.76a7a",
+ "x": 2004.149917602539,
+ "y": 6206.583145141602,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e7cf2c0a.f8afd8"
+ "b4e58d4e.4eaf1"
]
]
},
{
- "id": "e7cf2c0a.f8afd8",
+ "id": "b4e58d4e.4eaf1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2159.466552734375,
- "y": 6217.30224609375,
- "z": "1806503a.76a7a",
+ "x": 2185.149917602539,
+ "y": 6222.583145141602,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f69a3337.dd69"
+ "6518db29.e12ccc"
]
]
},
{
- "id": "404c9cef.17796c",
+ "id": "c9900403.e4a84",
"type": "outcome",
"name": "uni",
"xml": "<outcome value='uni'>\n",
"comments": "",
"outputs": 1,
- "x": 1988.466552734375,
- "y": 6459.302337646484,
- "z": "1806503a.76a7a",
+ "x": 2014.149917602539,
+ "y": 6464.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "55211637.c2f7e"
+ "5c8dbf44.909798"
]
]
},
{
- "id": "55211637.c2f7e",
+ "id": "5c8dbf44.909798",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2151.466552734375,
- "y": 6459.302337646484,
- "z": "1806503a.76a7a",
+ "x": 2177.149917602539,
+ "y": 6464.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ad51c793.473678"
+ "972de022.0ff4c8"
]
]
},
{
- "id": "ad51c793.473678",
+ "id": "972de022.0ff4c8",
"type": "save",
"name": "delete uni resource in AAI",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'>\n",
"comments": "",
"outputs": 1,
- "x": 2394.466552734375,
- "y": 6459.302337646484,
- "z": "1806503a.76a7a",
+ "x": 2420.149917602539,
+ "y": 6464.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "76246a63.c65c94",
+ "id": "d7d50183.fdbf5",
"type": "save",
"name": "delete connectivity resource in AAI",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1362.466552734375,
- "y": 7225.302337646484,
- "z": "1806503a.76a7a",
+ "x": 1388.149917602539,
+ "y": 7230.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "10e803bb.23c354",
+ "id": "2ee18ab4.452c46",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1403.4664916992188,
- "y": 6282.30224609375,
- "z": "1806503a.76a7a",
+ "x": 1429.1498565673828,
+ "y": 6287.583145141602,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1bd5cb93.6127c4",
- "76246a63.c65c94",
- "99412df0.04b4f8"
+ "2ead9053.75b73",
+ "d7d50183.fdbf5",
+ "e2860ec7.2879b"
]
]
},
{
- "id": "8e127971.6de7c",
+ "id": "1586acc8.b40733",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2619.466552734375,
- "y": 6243.302337646484,
- "z": "1806503a.76a7a",
+ "x": 2645.149917602539,
+ "y": 6248.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e6c2ee89.d3aff"
+ "31acc7de.eb35a"
]
]
},
{
- "id": "9a64470f.e555c",
+ "id": "3f4ac64b.7a4a4a",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2619.95751953125,
- "y": 6288.876373291016,
- "z": "1806503a.76a7a",
+ "x": 2645.640884399414,
+ "y": 6294.157272338867,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "66f32499.9b808c"
+ "a537397f.244a6"
]
]
},
{
- "id": "c5ecce15.749748",
+ "id": "c51a0fc1.cf0b78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2617.466552734375,
- "y": 6332.302337646484,
- "z": "1806503a.76a7a",
+ "x": 2643.149917602539,
+ "y": 6337.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "fc5f97c.17990e8"
+ "c765f98e.c8b24"
]
]
},
{
- "id": "b46e47b0.7a7bf",
+ "id": "dc3bf10c.53584",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2455.282958984375,
- "y": 5957.902435302734,
- "z": "1806503a.76a7a",
+ "x": 2480.966323852539,
+ "y": 5963.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "d97ea61c.b38298",
+ "id": "fd78cb11.7b7858",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2452.7919921875,
- "y": 6001.328399658203,
- "z": "1806503a.76a7a",
+ "x": 2478.475357055664,
+ "y": 6006.609298706055,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "ce915ff5.c8d31",
+ "id": "a8afb078.60b068",
"type": "save",
"name": "delete middle-man-conn resource in AAI",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1533.4000854492188,
- "y": 6012.7021484375,
- "z": "1806503a.76a7a",
+ "x": 1559.0834503173828,
+ "y": 6017.983047485352,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "e6c2ee89.d3aff",
+ "id": "31acc7de.eb35a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2785.466552734375,
- "y": 6233.302337646484,
- "z": "1806503a.76a7a",
+ "x": 2811.149917602539,
+ "y": 6238.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "95de1448.b3be38",
- "c13cc07f.32d48",
- "89fea46.2857558",
- "8c5b9c51.4573e8",
- "a58a3e55.44161"
+ "d6296a84.0c07b",
+ "f2b7ba42.95aca8",
+ "d7abab02.efd25",
+ "933064b1.3f6b68",
+ "31b8d600.38568a"
]
]
},
{
- "id": "fc5f97c.17990e8",
+ "id": "c765f98e.c8b24",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2784.466552734375,
- "y": 6331.302337646484,
- "z": "1806503a.76a7a",
+ "x": 2810.149917602539,
+ "y": 6336.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "66f32499.9b808c",
+ "id": "a537397f.244a6",
"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": 2782.5289306640625,
- "y": 6289.162109375,
- "z": "1806503a.76a7a",
+ "x": 2808.2122955322266,
+ "y": 6294.443008422852,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "95de1448.b3be38",
+ "id": "d6296a84.0c07b",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-binding.src-access-node-id`\" />\n",
"comments": "",
- "x": 3007.466552734375,
- "y": 5951.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3033.149917602539,
+ "y": 5956.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "c13cc07f.32d48",
+ "id": "f2b7ba42.95aca8",
"type": "get-resource",
"name": "get-resource src pnf",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 3033.466552734375,
- "y": 6068.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3059.149917602539,
+ "y": 6073.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2f82e357.0b1ab4",
- "be465fa4.6aba18",
- "877ec4f6.c7b7a"
+ "c16bbe6e.2f18e8",
+ "8e5054c2.6d8be8",
+ "8a22e0f4.ac84d"
]
]
},
{
- "id": "89fea46.2857558",
+ "id": "d7abab02.efd25",
"type": "execute",
"name": "execute RestApiCallNode Delete OTN tunnel with token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 3136.466552734375,
- "y": 6335.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3162.149917602539,
+ "y": 6340.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2931cfbe.d3d97",
- "162b2290.6fc605"
+ "fc236214.f51f38",
+ "6b8cfbc.a2c4d84"
]
]
},
{
- "id": "8c5b9c51.4573e8",
+ "id": "933064b1.3f6b68",
"type": "switchNode",
"name": "switch connectivity has ethernet service",
"xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 3074.466552734375,
- "y": 6470.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3100.149917602539,
+ "y": 6475.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "df16efa0.bafe28",
- "bc60ff9d.7739e8"
+ "2126f3a4.668d54",
+ "a948f36a.4c2d08"
]
]
},
{
- "id": "a58a3e55.44161",
+ "id": "31b8d600.38568a",
"type": "save",
"name": "delete vpn-binding resource in AAI",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",
"comments": "",
"outputs": 1,
- "x": 3055.466552734375,
- "y": 6586.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3081.149917602539,
+ "y": 6591.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "2f82e357.0b1ab4",
+ "id": "c16bbe6e.2f18e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3228.9666748046875,
- "y": 6020.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3254.6500396728516,
+ "y": 6025.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "640fd481.180004"
+ "78bd184e.3e97c8"
]
]
},
{
- "id": "be465fa4.6aba18",
+ "id": "8e5054c2.6d8be8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3220.9666748046875,
- "y": 6075.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3246.6500396728516,
+ "y": 6080.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ecd8a620.92b268"
+ "12475557.66bd73"
]
]
},
{
- "id": "640fd481.180004",
+ "id": "78bd184e.3e97c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3363.348876953125,
- "y": 6014.958099365234,
- "z": "1806503a.76a7a",
+ "x": 3389.032241821289,
+ "y": 6020.238998413086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d1896cdb.8141"
+ "6ef9af4.3be5bd"
]
]
},
{
- "id": "877ec4f6.c7b7a",
+ "id": "8a22e0f4.ac84d",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3225.9666748046875,
- "y": 6132.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3251.6500396728516,
+ "y": 6137.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f05d5e82.949cd"
+ "28978481.66e84c"
]
]
},
{
- "id": "f05d5e82.949cd",
+ "id": "28978481.66e84c",
"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": 3377.9666748046875,
- "y": 6133.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3403.6500396728516,
+ "y": 6138.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "ecd8a620.92b268",
+ "id": "12475557.66bd73",
"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": 3388.9666748046875,
- "y": 6076.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3414.6500396728516,
+ "y": 6081.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "bc60ff9d.7739e8",
+ "id": "a948f36a.4c2d08",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3327.466552734375,
- "y": 6448.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3353.149917602539,
+ "y": 6453.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7d696f2d.0f345"
+ "a8dc909e.5f43f8"
]
]
},
{
- "id": "df16efa0.bafe28",
+ "id": "2126f3a4.668d54",
"type": "outcome",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 3327.466552734375,
- "y": 6504.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3353.149917602539,
+ "y": 6509.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "d1896cdb.8141",
+ "id": "6ef9af4.3be5bd",
"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": 3550.466064453125,
- "y": 6016.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3576.149429321289,
+ "y": 6021.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a3649162.b60c9"
+ "3b761727.cf2a9"
]
]
},
{
- "id": "a3649162.b60c9",
+ "id": "3b761727.cf2a9",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3791.466064453125,
- "y": 6007.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3817.149429321289,
+ "y": 6012.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "fd0af8f3.25299"
+ "68d5173c.b0347"
]
]
},
{
- "id": "7d696f2d.0f345",
+ "id": "a8dc909e.5f43f8",
"type": "execute",
"name": "execute RestApiCallNode Delete ethernet Service without token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3677.466064453125,
- "y": 6438.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3703.149429321289,
+ "y": 6443.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "82ac773c.5adbc",
- "f41b429.87576c"
+ "dcfeac9e.5fc9a8",
+ "8f5d17cf.8dabd"
]
]
},
{
- "id": "2931cfbe.d3d97",
+ "id": "fc236214.f51f38",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3443.966064453125,
- "y": 6360.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3469.649429321289,
+ "y": 6365.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "41ca7b34.32b314"
+ "f765e05b.501478"
]
]
},
{
- "id": "162b2290.6fc605",
+ "id": "6b8cfbc.a2c4d84",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3444.966064453125,
- "y": 6305.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3470.649429321289,
+ "y": 6310.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6e74c50f.6753f4"
+ "4d6a8560.f17a1c"
]
]
},
{
- "id": "41ca7b34.32b314",
+ "id": "f765e05b.501478",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing delete OTN tunnel rest api\" />\n",
"comments": "",
- "x": 3615.966064453125,
- "y": 6358.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3641.649429321289,
+ "y": 6363.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "6e74c50f.6753f4",
+ "id": "4d6a8560.f17a1c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3612.466064453125,
- "y": 6307.302337646484,
- "z": "1806503a.76a7a",
+ "x": 3638.149429321289,
+ "y": 6312.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "d394aeb8.1e7718",
+ "id": "432d0671.cb443",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4148.4658203125,
- "y": 5956.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4174.149185180664,
+ "y": 5961.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5381b334.945d34",
- "5cfd9c1e.9cd7fc",
- "293f88.0669c878"
+ "78d865b4.b939ac",
+ "5830c911.f22ee",
+ "aa227269.131cb"
]
]
},
{
- "id": "fd0af8f3.25299",
+ "id": "68d5173c.b0347",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 3997.466064453125,
- "y": 6004.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4023.149429321289,
+ "y": 6009.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d394aeb8.1e7718"
+ "432d0671.cb443"
]
]
},
{
- "id": "82ac773c.5adbc",
+ "id": "dcfeac9e.5fc9a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4009.966064453125,
- "y": 6412.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4035.649429321289,
+ "y": 6417.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ecb5b8cc.eeda88"
+ "7c5aa740.2ac998"
]
]
},
{
- "id": "f41b429.87576c",
+ "id": "8f5d17cf.8dabd",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4013.966064453125,
- "y": 6452.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4039.649429321289,
+ "y": 6457.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "308650c2.e2482"
+ "61ae232.1605c5c"
]
]
},
{
- "id": "308650c2.e2482",
+ "id": "61ae232.1605c5c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4201.466064453125,
- "y": 6456.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4227.149429321289,
+ "y": 6461.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "ecb5b8cc.eeda88",
+ "id": "7c5aa740.2ac998",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",
"comments": "",
- "x": 4197.966064453125,
- "y": 6416.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4223.649429321289,
+ "y": 6421.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "5cfd9c1e.9cd7fc",
+ "id": "5830c911.f22ee",
"type": "execute",
"name": "get esr-thirdparty-sdnc",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 4354.4658203125,
- "y": 5969.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4380.149185180664,
+ "y": 5974.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c9280772.2e056",
- "da69dce1.3d1cc8",
- "c843a21f.72703"
+ "9672ea53.f6fc4",
+ "10a5745e.fad27c",
+ "4c3d97fc.40ae6"
]
]
},
{
- "id": "5381b334.945d34",
+ "id": "78d865b4.b939ac",
"type": "set",
"name": "set esr-thirdparty-sdnc domain id",
"xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 4384.4658203125,
- "y": 5917.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4410.149185180664,
+ "y": 5922.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "c9280772.2e056",
+ "id": "9672ea53.f6fc4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4564.4658203125,
- "y": 5960.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4590.149185180664,
+ "y": 5965.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1c355cab.e00983"
+ "a62535f9.bce6d8"
]
]
},
{
- "id": "da69dce1.3d1cc8",
+ "id": "10a5745e.fad27c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4556.4658203125,
- "y": 6015.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4582.149185180664,
+ "y": 6020.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e5e939f4.c8003"
+ "f6286309.b286"
]
]
},
{
- "id": "c843a21f.72703",
+ "id": "4c3d97fc.40ae6",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4561.4658203125,
- "y": 6072.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4587.149185180664,
+ "y": 6077.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "29282b3d.cdea3c"
+ "5b2489d7.40c81"
]
]
},
{
- "id": "293f88.0669c878",
+ "id": "aa227269.131cb",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4304.4658203125,
- "y": 6033.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4330.149185180664,
+ "y": 6038.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "29282b3d.cdea3c",
+ "id": "5b2489d7.40c81",
"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": 4713.4658203125,
- "y": 6073.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4739.149185180664,
+ "y": 6078.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e5e939f4.c8003",
+ "id": "f6286309.b286",
"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": 4724.4658203125,
- "y": 6018.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4750.149185180664,
+ "y": 6023.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1c355cab.e00983",
+ "id": "a62535f9.bce6d8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4708.84814453125,
- "y": 5957.9580078125,
- "z": "1806503a.76a7a",
+ "x": 4734.531509399414,
+ "y": 5963.238906860352,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "31ead1aa.38700e"
+ "34794224.ac9ad6"
]
]
},
{
- "id": "31ead1aa.38700e",
+ "id": "34794224.ac9ad6",
"type": "set",
"name": "set controller domain data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
"comments": "",
- "x": 4923.4658203125,
- "y": 5954.302337646484,
- "z": "1806503a.76a7a",
+ "x": 4949.149185180664,
+ "y": 5959.583236694336,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "6da29c89.3512ec",
+ "id": "8d1e7ba3.e7c148",
"type": "set",
"name": "set pnf-name",
"xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.connectivity.access-provider-id + '-clientId-' +\n $tmp.aai.connectivity.access-client-id + '-topologyId-' +\n $tmp.aai.connectivity.access-topology-id + '-nodeId-' +\n $tmp.aai.connectivity.access-node-id`\" />\n",
"comments": "",
- "x": 1659.2332763671875,
- "y": 6751.902435302734,
- "z": "1806503a.76a7a",
+ "x": 1684.9166412353516,
+ "y": 6757.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "23a2345e.db2bfc",
+ "id": "6711b1e6.015f5",
"type": "get-resource",
"name": "get-resource src pnf",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 1685.2332763671875,
- "y": 6868.902435302734,
- "z": "1806503a.76a7a",
+ "x": 1710.9166412353516,
+ "y": 6874.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "287bda60.70f306",
- "564bb39c.806684",
- "f782c941.aa2bd8"
+ "89c94611.e7551",
+ "372b07e6.2f493",
+ "93b4846e.f3d23"
]
]
},
{
- "id": "287bda60.70f306",
+ "id": "89c94611.e7551",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1880.7333984375,
- "y": 6820.902435302734,
- "z": "1806503a.76a7a",
+ "x": 1906.416763305664,
+ "y": 6826.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5eea5356.2a418c"
+ "bdc72764.d7a65"
]
]
},
{
- "id": "564bb39c.806684",
+ "id": "372b07e6.2f493",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1872.7333984375,
- "y": 6875.902435302734,
- "z": "1806503a.76a7a",
+ "x": 1898.416763305664,
+ "y": 6881.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "918bf051.2e35e8"
+ "4210f39b.7722f4"
]
]
},
{
- "id": "5eea5356.2a418c",
+ "id": "bdc72764.d7a65",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2015.1156005859375,
- "y": 6815.558197021484,
- "z": "1806503a.76a7a",
+ "x": 2040.7989654541016,
+ "y": 6820.839096069336,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a66aff1d.02ebd"
+ "8221a60d.0a6"
]
]
},
{
- "id": "f782c941.aa2bd8",
+ "id": "93b4846e.f3d23",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1877.7333984375,
- "y": 6932.902435302734,
- "z": "1806503a.76a7a",
+ "x": 1903.416763305664,
+ "y": 6938.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ea358a06.2ba7c"
+ "534b689.ea55a98"
]
]
},
{
- "id": "ea358a06.2ba7c",
+ "id": "534b689.ea55a98",
"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": 2029.7333984375,
- "y": 6933.902435302734,
- "z": "1806503a.76a7a",
+ "x": 2055.416763305664,
+ "y": 6939.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "918bf051.2e35e8",
+ "id": "4210f39b.7722f4",
"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": 2040.7333984375,
- "y": 6876.902435302734,
- "z": "1806503a.76a7a",
+ "x": 2066.416763305664,
+ "y": 6882.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "a66aff1d.02ebd",
+ "id": "8221a60d.0a6",
"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": 2202.2327880859375,
- "y": 6816.902435302734,
- "z": "1806503a.76a7a",
+ "x": 2227.9161529541016,
+ "y": 6822.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "dd540d27.8a572"
+ "70fb3446.1294d4"
]
]
},
{
- "id": "dd540d27.8a572",
+ "id": "70fb3446.1294d4",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2443.2327880859375,
- "y": 6807.902435302734,
- "z": "1806503a.76a7a",
+ "x": 2468.9161529541016,
+ "y": 6813.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9d1b03ac.68f1d"
+ "7728eab2.206384"
]
]
},
{
- "id": "e61d9898.b700f8",
+ "id": "5e0f68b.e6e5b18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2800.2325439453125,
- "y": 6756.902435302734,
- "z": "1806503a.76a7a",
+ "x": 2825.9159088134766,
+ "y": 6762.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1b4a271c.3007c1",
- "a4a420aa.eed92",
- "5a15942c.1c868c"
+ "1f9f6b0b.3a7bad",
+ "3a372a08.82b95e",
+ "20000492.69e4a4"
]
]
},
{
- "id": "9d1b03ac.68f1d",
+ "id": "7728eab2.206384",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 2649.2327880859375,
- "y": 6804.902435302734,
- "z": "1806503a.76a7a",
+ "x": 2674.9161529541016,
+ "y": 6810.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e61d9898.b700f8"
+ "5e0f68b.e6e5b18"
]
]
},
{
- "id": "a4a420aa.eed92",
+ "id": "3a372a08.82b95e",
"type": "execute",
"name": "get esr-thirdparty-sdnc",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 3006.2325439453125,
- "y": 6769.902435302734,
- "z": "1806503a.76a7a",
+ "x": 3031.9159088134766,
+ "y": 6775.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e70e66a4.f92e28",
- "3b5db284.72d976",
- "a90d6b8f.8e3a5"
+ "78de1b03.bad77c",
+ "d65c6861.1c4098",
+ "dc64de9d.8956c8"
]
]
},
{
- "id": "5a15942c.1c868c",
+ "id": "20000492.69e4a4",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 2956.2325439453125,
- "y": 6833.902435302734,
- "z": "1806503a.76a7a",
+ "x": 2981.9159088134766,
+ "y": 6839.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1b4a271c.3007c1",
+ "id": "1f9f6b0b.3a7bad",
"type": "set",
"name": "set esr-thirdparty-sdnc domain id",
"xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 3036.2325439453125,
- "y": 6717.902435302734,
- "z": "1806503a.76a7a",
+ "x": 3061.9159088134766,
+ "y": 6723.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e70e66a4.f92e28",
+ "id": "78de1b03.bad77c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3216.2325439453125,
- "y": 6760.902435302734,
- "z": "1806503a.76a7a",
+ "x": 3241.9159088134766,
+ "y": 6766.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2205be3e.8c882a"
+ "13eb6200.778f26"
]
]
},
{
- "id": "3b5db284.72d976",
+ "id": "d65c6861.1c4098",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3208.2325439453125,
- "y": 6815.902435302734,
- "z": "1806503a.76a7a",
+ "x": 3233.9159088134766,
+ "y": 6821.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d93cd156.9d02f8"
+ "bff87948.e35e"
]
]
},
{
- "id": "a90d6b8f.8e3a5",
+ "id": "dc64de9d.8956c8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3213.2325439453125,
- "y": 6872.902435302734,
- "z": "1806503a.76a7a",
+ "x": 3238.9159088134766,
+ "y": 6878.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b772a1ff.e97338"
+ "573969ab.842a48"
]
]
},
{
- "id": "b772a1ff.e97338",
+ "id": "573969ab.842a48",
"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": 3365.2325439453125,
- "y": 6873.902435302734,
- "z": "1806503a.76a7a",
+ "x": 3390.9159088134766,
+ "y": 6879.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "d93cd156.9d02f8",
+ "id": "bff87948.e35e",
"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": 3376.2325439453125,
- "y": 6818.902435302734,
- "z": "1806503a.76a7a",
+ "x": 3401.9159088134766,
+ "y": 6824.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "2205be3e.8c882a",
+ "id": "13eb6200.778f26",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3360.6148681640625,
- "y": 6758.55810546875,
- "z": "1806503a.76a7a",
+ "x": 3386.2982330322266,
+ "y": 6763.839004516602,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9b8cbfdb.496af"
+ "f7bc1d31.5e03a"
]
]
},
{
- "id": "9b8cbfdb.496af",
+ "id": "f7bc1d31.5e03a",
"type": "set",
"name": "set controller domain data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
"comments": "",
- "x": 3575.2325439453125,
- "y": 6754.902435302734,
- "z": "1806503a.76a7a",
+ "x": 3600.9159088134766,
+ "y": 6760.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "99412df0.04b4f8",
+ "id": "e2860ec7.2879b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1451.2332763671875,
- "y": 6879.902435302734,
- "z": "1806503a.76a7a",
+ "x": 1476.9166412353516,
+ "y": 6885.183334350586,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6da29c89.3512ec",
- "23a2345e.db2bfc",
- "4ea496a3.5a8a68"
+ "8d1e7ba3.e7c148",
+ "6711b1e6.015f5",
+ "91e5ef44.c1379"
]
]
},
{
- "id": "4ea496a3.5a8a68",
+ "id": "91e5ef44.c1379",
"type": "switchNode",
"name": "switch connectivity has ethernet service",
"xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 1733.433349609375,
- "y": 7021.102630615234,
- "z": "1806503a.76a7a",
+ "x": 1759.116714477539,
+ "y": 7026.383529663086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "fd259c6c.134fa8",
- "9bf814bd.aca8b8"
+ "9d430c54.8affb",
+ "4e9e0184.b64f38"
]
]
},
{
- "id": "9bf814bd.aca8b8",
+ "id": "4e9e0184.b64f38",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1986.433349609375,
- "y": 6999.102630615234,
- "z": "1806503a.76a7a",
+ "x": 2012.116714477539,
+ "y": 7004.383529663086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "10bd46c.7fcbe39"
+ "8c955553.2a5b4"
]
]
},
{
- "id": "fd259c6c.134fa8",
+ "id": "9d430c54.8affb",
"type": "outcome",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1986.433349609375,
- "y": 7055.102630615234,
- "z": "1806503a.76a7a",
+ "x": 2012.116714477539,
+ "y": 7060.383529663086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "10bd46c.7fcbe39",
+ "id": "8c955553.2a5b4",
"type": "execute",
"name": "execute RestApiCallNode Delete ethernet Service without token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2336.432861328125,
- "y": 6989.102630615234,
- "z": "1806503a.76a7a",
+ "x": 2362.116226196289,
+ "y": 6994.383529663086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "cc57d141.f3e88",
- "6b29798.5078f08"
+ "7b6e5c2.eee3ea4",
+ "23885c26.87d57c"
]
]
},
{
- "id": "cc57d141.f3e88",
+ "id": "7b6e5c2.eee3ea4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2668.932861328125,
- "y": 6963.102630615234,
- "z": "1806503a.76a7a",
+ "x": 2694.616226196289,
+ "y": 6968.383529663086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e4bf775a.d74c18"
+ "6e7264f6.b603bc"
]
]
},
{
- "id": "6b29798.5078f08",
+ "id": "23885c26.87d57c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2672.932861328125,
- "y": 7003.102630615234,
- "z": "1806503a.76a7a",
+ "x": 2698.616226196289,
+ "y": 7008.383529663086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9dbbe180.4c39c"
+ "7c20df87.4ce228"
]
]
},
{
- "id": "9dbbe180.4c39c",
+ "id": "7c20df87.4ce228",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2860.432861328125,
- "y": 7007.102630615234,
- "z": "1806503a.76a7a",
+ "x": 2886.116226196289,
+ "y": 7012.383529663086,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "e4bf775a.d74c18",
+ "id": "6e7264f6.b603bc",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",
"comments": "",
- "x": 2856.932861328125,
- "y": 6967.102630615234,
- "z": "1806503a.76a7a",
+ "x": 2882.616226196289,
+ "y": 6972.383529663086,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "78f62ea.0af84d",
+ "id": "b3758874.8f232",
"type": "execute",
"name": "execute RestApiCallNode Delete Underlay OTN tunnel from the LEAF ethernet Service",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/underlay/otn-tunnels=' + $tmp.underlayOTN`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1089.25,
- "y": 4706.6856689453125,
- "z": "1806503a.76a7a",
+ "x": 1114.933364868164,
+ "y": 4711.966567993164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "51c55595.1dd8cc",
- "c498093d.59e4c8"
+ "d41942d3.562958",
+ "ebe016f8.97161"
]
]
},
{
- "id": "51c55595.1dd8cc",
+ "id": "d41942d3.562958",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1517.749755859375,
- "y": 4694.6856689453125,
- "z": "1806503a.76a7a",
+ "x": 1543.433120727539,
+ "y": 4699.966567993164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "bc110a38.b317b"
+ "5ea52c46.125904"
]
]
},
{
- "id": "c498093d.59e4c8",
+ "id": "ebe016f8.97161",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1521.749755859375,
- "y": 4734.6856689453125,
- "z": "1806503a.76a7a",
+ "x": 1547.433120727539,
+ "y": 4739.966567993164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5805f739.dc8f9"
+ "f81bc98a.2445d"
]
]
},
{
- "id": "bc110a38.b317b",
+ "id": "5ea52c46.125904",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",
"comments": "",
- "x": 1675.749755859375,
- "y": 4694.6856689453125,
- "z": "1806503a.76a7a",
+ "x": 1701.433120727539,
+ "y": 4699.966567993164,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "5805f739.dc8f9",
+ "id": "f81bc98a.2445d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1679.249755859375,
- "y": 4734.6856689453125,
- "z": "1806503a.76a7a",
+ "x": 1704.933120727539,
+ "y": 4739.966567993164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "6f96293b.020fc",
+ "id": "82036bd3.d2b678",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5113,
- "y": 5027.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5138.683364868164,
+ "y": 5032.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "aad45f58.fbf018",
- "2530767d.abaa5a",
- "b9bc9e8d.66a4b8"
+ "54859efe.15c158",
+ "fd20f3ef.b5a108",
+ "bf190cd2.45b99"
]
]
},
{
- "id": "b9bc9e8d.66a4b8",
+ "id": "bf190cd2.45b99",
"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": 5340,
- "y": 4972.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5365.683364868164,
+ "y": 4977.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "aad45f58.fbf018",
+ "id": "54859efe.15c158",
"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": 5494,
- "y": 5024.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5519.683364868164,
+ "y": 5029.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "2530767d.abaa5a",
+ "id": "fd20f3ef.b5a108",
"type": "switchNode",
"name": "switch $foundVpnName",
"xml": "<switch test=\"`$foundVpnName`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 5339,
- "y": 5079.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5364.683364868164,
+ "y": 5084.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5fd0edea.97a1fc"
+ "290514d0.09f59c"
]
]
},
{
- "id": "5fd0edea.97a1fc",
+ "id": "290514d0.09f59c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5518,
- "y": 5078.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 5543.683364868164,
+ "y": 5083.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "48fa24ff.a12f6c"
+ "8f49a5ce.76f168"
]
]
},
{
- "id": "79dba259.2612cc",
+ "id": "22a945f9.085212",
"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": 3380.249969482422,
- "y": 433.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3405.933334350586,
+ "y": 438.56666564941406,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "11c024cf.1cb7db",
+ "id": "94938481.855978",
"type": "set",
"name": "set network-route-three",
"xml": "<set>\n<parameter name='network-route-three' value=\"`$tmp.aai.logical-link.segment-id`\" />\n\n\n",
"comments": "",
- "x": 3344.249969482422,
- "y": 683.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3369.933334350586,
+ "y": 688.5666656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "8bfce836.dcd148",
+ "id": "7edb995a.421908",
"type": "switchNode",
"name": "switch secondary empty?",
"xml": "<switch test='`length($network-route-three) == 0`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 3347.666473388672,
- "y": 725.5357360839844,
- "z": "1806503a.76a7a",
+ "x": 3373.349838256836,
+ "y": 730.8166351318359,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2011ad7a.50e2d2",
- "3e343af8.ce24be"
+ "2aad068d.f37552",
+ "160f6f1.9c78f91"
]
]
},
{
- "id": "2011ad7a.50e2d2",
+ "id": "2aad068d.f37552",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3586.6663513183594,
- "y": 561.5357666015625,
- "z": "1806503a.76a7a",
+ "x": 3612.3497161865234,
+ "y": 566.8166656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1f12a88c.b01c37"
+ "1be1e31f.1947f5"
]
]
},
{
- "id": "3e343af8.ce24be",
+ "id": "160f6f1.9c78f91",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3595.6663513183594,
- "y": 608.5357666015625,
- "z": "1806503a.76a7a",
+ "x": 3621.3497161865234,
+ "y": 613.8166656494141,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d6d1ae0e.a40e7"
+ "939cd6fd.61434"
]
]
},
{
- "id": "d6d1ae0e.a40e7",
+ "id": "939cd6fd.61434",
"type": "set",
"name": "set hasSecondary true",
"xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",
"comments": "",
- "x": 3809.6663513183594,
- "y": 602.5357666015625,
- "z": "1806503a.76a7a",
+ "x": 3835.3497161865234,
+ "y": 607.8166656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1f12a88c.b01c37",
+ "id": "1be1e31f.1947f5",
"type": "set",
"name": "set hasSecondary false",
"xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",
"comments": "",
- "x": 3813.6663513183594,
- "y": 558.5357666015625,
- "z": "1806503a.76a7a",
+ "x": 3839.3497161865234,
+ "y": 563.8166656494141,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "41d8ce05.5caae",
+ "id": "9b9082d.d33238",
"type": "outcome",
"name": "SECONDARY-ROOT",
"xml": "<outcome value='SECONDARY-ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4175.700408935547,
- "y": 511.9857177734375,
- "z": "1806503a.76a7a",
+ "x": 4201.383773803711,
+ "y": 517.2666168212891,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "57b53193.85d2e8"
+ "5bb9e60d.7c50c8"
]
]
},
{
- "id": "57b53193.85d2e8",
+ "id": "5bb9e60d.7c50c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4349.700408935547,
- "y": 506.9857177734375,
- "z": "1806503a.76a7a",
+ "x": 4375.383773803711,
+ "y": 512.2666168212891,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2292f0ec.6f9e9",
- "f8b394d0.6213f"
+ "7a7e54e9.bf28b4",
+ "1946febe.bd9461"
]
]
},
{
- "id": "2292f0ec.6f9e9",
+ "id": "7a7e54e9.bf28b4",
"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": 4593.700653076172,
- "y": 498.9857177734375,
- "z": "1806503a.76a7a",
+ "x": 4619.384017944336,
+ "y": 504.26661682128906,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "f8b394d0.6213f",
+ "id": "1946febe.bd9461",
"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": 4539.700653076172,
- "y": 538.9857177734375,
- "z": "1806503a.76a7a",
+ "x": 4565.384017944336,
+ "y": 544.2666168212891,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "4bc67983.47c6f",
+ "id": "a01fe37.2547ea",
"type": "outcome",
"name": "SECONDARY-ROOT",
"xml": "<outcome value='SECONDARY-ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4144.700408935547,
- "y": 741.3857421875,
- "z": "1806503a.76a7a",
+ "x": 4170.383773803711,
+ "y": 746.6666412353516,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ca96ae7a.f7e118"
+ "918e4345.efda7"
]
]
},
{
- "id": "ca96ae7a.f7e118",
+ "id": "918e4345.efda7",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4302.700164794922,
- "y": 784.3855590820312,
- "z": "1806503a.76a7a",
+ "x": 4328.383529663086,
+ "y": 789.6664581298828,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "bdef3637.91db48",
- "b84fc7dd.a088f8"
+ "6e675e43.dde0d8",
+ "80002079.3161b8"
]
]
},
{
- "id": "bdef3637.91db48",
+ "id": "6e675e43.dde0d8",
"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": 4524.700164794922,
- "y": 770.3856811523438,
- "z": "1806503a.76a7a",
+ "x": 4550.383529663086,
+ "y": 775.6665802001953,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "b84fc7dd.a088f8",
+ "id": "80002079.3161b8",
"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": 4470.700164794922,
- "y": 810.3856811523438,
- "z": "1806503a.76a7a",
+ "x": 4496.383529663086,
+ "y": 815.6665802001953,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "ec6aad53.7d628",
+ "id": "f054f8f8.d1b3a",
"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": 3356.133270263672,
- "y": 977.6190185546875,
- "z": "1806503a.76a7a",
+ "x": 3381.816635131836,
+ "y": 982.8999176025391,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "60b6baf9.326c5c",
- "fffcc6ce.01cc38",
- "232b371a.13f76"
+ "36902805.8d90e",
+ "becbd8eb.e312f8",
+ "8659a4ac.581568"
]
]
},
{
- "id": "60b6baf9.326c5c",
+ "id": "36902805.8d90e",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3596.133270263672,
- "y": 960.6190185546875,
- "z": "1806503a.76a7a",
+ "x": 3621.816635131836,
+ "y": 965.8999176025391,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "fffcc6ce.01cc38",
+ "id": "becbd8eb.e312f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3591.642333984375,
- "y": 1003.0450744628906,
- "z": "1806503a.76a7a",
+ "x": 3617.325698852539,
+ "y": 1008.3259735107422,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "232b371a.13f76",
+ "id": "8659a4ac.581568",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3595.642303466797,
- "y": 1051.0450439453125,
- "z": "1806503a.76a7a",
+ "x": 3621.325668334961,
+ "y": 1056.325942993164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b996a975.9f4ee8"
+ "3e8b9bd4.673dec"
]
]
},
{
- "id": "b996a975.9f4ee8",
+ "id": "3e8b9bd4.673dec",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3751.133270263672,
- "y": 1020.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 3776.816635131836,
+ "y": 1025.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2df3eeae.ae260a"
+ "dcd7f0d5.69944"
]
]
},
{
- "id": "2df3eeae.ae260a",
+ "id": "dcd7f0d5.69944",
"type": "switchNode",
"name": "switch nr type",
"xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",
"comments": "",
"outputs": 1,
- "x": 3873.133270263672,
- "y": 967.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 3898.816635131836,
+ "y": 972.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "30af5545.05a802",
- "294528ca.16e348",
- "fdf4c0e0.5eff08"
+ "b21b1a8d.ec399",
+ "40a89314.47b21c",
+ "f3bd5a06.f854e"
]
]
},
{
- "id": "30af5545.05a802",
+ "id": "b21b1a8d.ec399",
"type": "outcome",
"name": "ROOT",
"xml": "<outcome value='ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4109.133270263672,
- "y": 817.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 4134.816635131836,
+ "y": 822.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "58899b33.3d8864"
+ "c5a6386c.ce6e1"
]
]
},
{
- "id": "294528ca.16e348",
+ "id": "40a89314.47b21c",
"type": "outcome",
"name": "LEAF",
"xml": "<outcome value='LEAF'>\n",
"comments": "",
"outputs": 1,
- "x": 4105.133270263672,
- "y": 873.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 4130.816635131836,
+ "y": 878.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2016713.cf9120e"
+ "12081a23.d55f7e"
]
]
},
{
- "id": "58899b33.3d8864",
+ "id": "c5a6386c.ce6e1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4235.133270263672,
- "y": 825.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 4260.816635131836,
+ "y": 830.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "23e1076f.823948",
- "e01e107b.4a322"
+ "bedffac2.d82048",
+ "6105d759.fbeec8"
]
]
},
{
- "id": "2016713.cf9120e",
+ "id": "12081a23.d55f7e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4238.133270263672,
- "y": 878.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 4263.816635131836,
+ "y": 883.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "42b53bab.59e5ec",
- "9f9141a1.5b5a98"
+ "7ef90f2d.cab8",
+ "728a110f.c5d4a8"
]
]
},
{
- "id": "fdf4c0e0.5eff08",
+ "id": "f3bd5a06.f854e",
"type": "outcome",
"name": "SECONDARY-ROOT",
"xml": "<outcome value='SECONDARY-ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4098.133270263672,
- "y": 951.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 4123.816635131836,
+ "y": 956.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7151cb9d.fcc3b4"
+ "a50b1577.32615"
]
]
},
{
- "id": "7151cb9d.fcc3b4",
+ "id": "a50b1577.32615",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4254.133270263672,
- "y": 972.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 4279.816635131836,
+ "y": 977.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "16090c67.366d8c",
- "877ec323.7c8b08"
+ "8c375d88.8bcbe",
+ "79733ca8.98d714"
]
]
},
{
- "id": "23e1076f.823948",
+ "id": "bedffac2.d82048",
"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": 4482.133270263672,
- "y": 855.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 4507.816635131836,
+ "y": 860.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e01e107b.4a322",
+ "id": "6105d759.fbeec8",
"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": 4474.133270263672,
- "y": 897.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 4499.816635131836,
+ "y": 902.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "42b53bab.59e5ec",
+ "id": "7ef90f2d.cab8",
"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": 4475.133270263672,
- "y": 949.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 4500.816635131836,
+ "y": 954.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "9f9141a1.5b5a98",
+ "id": "728a110f.c5d4a8",
"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": 4462.133270263672,
- "y": 989.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 4487.816635131836,
+ "y": 994.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "877ec323.7c8b08",
+ "id": "79733ca8.98d714",
"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": 4436.133270263672,
- "y": 1083.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 4461.816635131836,
+ "y": 1088.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "16090c67.366d8c",
+ "id": "8c375d88.8bcbe",
"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": 4498.133270263672,
- "y": 1039.6189575195312,
- "z": "1806503a.76a7a",
+ "x": 4523.816635131836,
+ "y": 1044.8998565673828,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "2a307068.85126",
+ "id": "663710d5.9b6118",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3700.13330078125,
- "y": 2223.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3725.816665649414,
+ "y": 2228.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5e91bdef.ec251c",
- "edfa6b23.11ec28"
+ "4284e0ad.37004",
+ "54bef6f2.4fc7a"
]
]
},
{
- "id": "268e9ec4.4facea",
+ "id": "16d496be.188cb9",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3527.466796875,
- "y": 2224.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3553.150161743164,
+ "y": 2229.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2a307068.85126"
+ "663710d5.9b6118"
]
]
},
{
- "id": "15820d3a.1e0693",
+ "id": "545ddc0c.5d5ecc",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3536.957763671875,
- "y": 2266.8598022460938,
- "z": "1806503a.76a7a",
+ "x": 3562.641128540039,
+ "y": 2272.1407012939453,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "5a5c2368.a7e5dc",
+ "id": "5e1fc0e8.d800d8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3525.466796875,
- "y": 2313.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3551.150161743164,
+ "y": 2318.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "5e91bdef.ec251c",
+ "id": "4284e0ad.37004",
"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": 3990.466796875,
- "y": 2239.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4016.150161743164,
+ "y": 2244.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "fab0baab.63daf",
- "4fbe9a1d.f89b1c"
+ "7adfe0fe.0b09c",
+ "70e2db35.da559c"
]
]
},
{
- "id": "4fbe9a1d.f89b1c",
+ "id": "70e2db35.da559c",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4213.466796875,
- "y": 2194.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4239.150161743164,
+ "y": 2199.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e7a6f67c.223ba8"
+ "624b6d74.0c220c"
]
]
},
{
- "id": "fab0baab.63daf",
+ "id": "7adfe0fe.0b09c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4215.466796875,
- "y": 2258.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4241.150161743164,
+ "y": 2263.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e4fc9765.fde21"
+ "44c8e026.3089e"
]
]
},
{
- "id": "ad2e0fde.b44de8",
+ "id": "71a7eba7.ddb6fc",
"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": 3321.466796875,
- "y": 2245.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3347.150161743164,
+ "y": 2250.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "268e9ec4.4facea",
- "15820d3a.1e0693",
- "5a5c2368.a7e5dc"
+ "16d496be.188cb9",
+ "545ddc0c.5d5ecc",
+ "5e1fc0e8.d800d8"
]
]
},
{
- "id": "8876fe3a.88e278",
+ "id": "720f0fd3.e06eb",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 3260.466796875,
- "y": 2203.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3286.150161743164,
+ "y": 2208.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "c02bc34.16c814",
+ "id": "dab7847.8f75af8",
"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": 3341.466796875,
- "y": 2093.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3367.150161743164,
+ "y": 2098.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "85d9fc70.3a0b8",
- "63a7add0.8255ec"
+ "bb6830ab.78043",
+ "943e3a24.27d0d"
]
]
},
{
- "id": "63a7add0.8255ec",
+ "id": "943e3a24.27d0d",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3564.466796875,
- "y": 2079.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3590.150161743164,
+ "y": 2084.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "39d5594f.5d224e"
+ "14789ba.27922e4"
]
]
},
{
- "id": "85d9fc70.3a0b8",
+ "id": "bb6830ab.78043",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3566.466796875,
- "y": 2112.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3592.150161743164,
+ "y": 2117.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "39d5594f.5d224e",
+ "id": "14789ba.27922e4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3712.466796875,
- "y": 2072.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3738.150161743164,
+ "y": 2077.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "cf9e5f0.1f2092",
- "6b6736af.eb70a"
+ "f084bd9b.374fe",
+ "635334a7.ad5104"
]
]
},
{
- "id": "cf9e5f0.1f2092",
+ "id": "f084bd9b.374fe",
"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": 3904.4666748046875,
- "y": 2009.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3930.1500396728516,
+ "y": 2014.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "edfa6b23.11ec28",
+ "id": "54bef6f2.4fc7a",
"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": 3971.466796875,
- "y": 2370.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3997.150161743164,
+ "y": 2375.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c80278c9.710488"
+ "2fc07773.c6e698"
]
]
},
{
- "id": "c80278c9.710488",
+ "id": "2fc07773.c6e698",
"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": 4177.466796875,
- "y": 2370.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4203.150161743164,
+ "y": 2375.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7e2cf131.a58a08"
+ "eda47f6d.73a9a"
]
]
},
{
- "id": "6b6736af.eb70a",
+ "id": "635334a7.ad5104",
"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": 3926.4666748046875,
- "y": 2077.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3952.1500396728516,
+ "y": 2082.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9d1ec1c.6f0f9c",
- "f4e7e55c.530698",
- "d7c76719.0fc4b"
+ "fd3d2e45.ba5c18",
+ "6f65faaa.29e51c",
+ "979b3e61.62e1e8"
]
]
},
{
- "id": "9d1ec1c.6f0f9c",
+ "id": "fd3d2e45.ba5c18",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4121.966796875,
- "y": 2029.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4147.650161743164,
+ "y": 2034.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "13bd6284.e3089d"
+ "76cbe983.f31c3"
]
]
},
{
- "id": "f4e7e55c.530698",
+ "id": "6f65faaa.29e51c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4113.966796875,
- "y": 2084.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4139.650161743164,
+ "y": 2089.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "56e4b2a7.59d05c"
+ "ad429934.3c84f"
]
]
},
{
- "id": "d7c76719.0fc4b",
+ "id": "979b3e61.62e1e8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4118.966796875,
- "y": 2141.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4144.650161743164,
+ "y": 2146.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "67615599.b73f0c"
+ "bbff5204.a70cf8"
]
]
},
{
- "id": "67615599.b73f0c",
+ "id": "bbff5204.a70cf8",
"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": 4270.966796875,
- "y": 2142.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4296.650161743164,
+ "y": 2147.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "13bd6284.e3089d",
+ "id": "76cbe983.f31c3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4266.34912109375,
- "y": 2026.9414367675781,
- "z": "1806503a.76a7a",
+ "x": 4292.032485961914,
+ "y": 2032.2223358154297,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "3bd0a776.cdf68"
+ "181d9117.3dc1c7"
]
]
},
{
- "id": "d87e7a94.9bda08",
+ "id": "a71111e6.40602",
"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": 3322.13330078125,
- "y": 2338.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3347.816665649414,
+ "y": 2343.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "3b2ac73.1b40638",
+ "id": "f86bd22d.6a796",
"type": "comment",
"name": "NOT NEEDED ANYMORE?",
"info": "",
"comments": "",
- "x": 4001.133270263672,
- "y": 2314.285614013672,
- "z": "1806503a.76a7a",
+ "x": 4026.816635131836,
+ "y": 2319.5665130615234,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e4fc9765.fde21",
+ "id": "44c8e026.3089e",
"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": 4374.466796875,
- "y": 2277.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4400.150161743164,
+ "y": 2282.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e7a6f67c.223ba8",
+ "id": "624b6d74.0c220c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4378.466796875,
- "y": 2191.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4404.150161743164,
+ "y": 2196.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ab9c8c2d.c18e8",
- "2a323f5f.e64b7"
+ "6725a861.5cac68",
+ "116c17e7.39a43"
]
]
},
{
- "id": "7e2cf131.a58a08",
+ "id": "eda47f6d.73a9a",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 4394.75244140625,
- "y": 2369.1075439453125,
- "z": "1806503a.76a7a",
+ "x": 4420.435806274414,
+ "y": 2374.388442993164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "cefe725b.0f41e8"
+ "c2e9db6e.5e8918"
]
]
},
{
- "id": "56e4b2a7.59d05c",
+ "id": "ad429934.3c84f",
"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": 4281.966796875,
- "y": 2087.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4307.650161743164,
+ "y": 2092.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "ab9c8c2d.c18e8",
+ "id": "6725a861.5cac68",
"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": 4548.466796875,
- "y": 2152.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4574.150161743164,
+ "y": 2157.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "2a323f5f.e64b7",
+ "id": "116c17e7.39a43",
"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": 4549.466796875,
- "y": 2257.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4575.150161743164,
+ "y": 2262.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "89cd5649.143b88",
+ "id": "d91f7d75.bbcbd8",
"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": 4544.466796875,
- "y": 2206.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4570.150161743164,
+ "y": 2211.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "cefe725b.0f41e8",
+ "id": "c2e9db6e.5e8918",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4601.583984375,
- "y": 2358.626220703125,
- "z": "1806503a.76a7a",
+ "x": 4627.267349243164,
+ "y": 2363.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a03cf587.06cef8",
- "a11cf500.909288",
- "7b4cfab6.8e3e3c"
+ "a655b2d0.b12cf8",
+ "1b13a85a.c9fe7",
+ "4c91f5f3.8ae07c"
]
]
},
{
- "id": "a03cf587.06cef8",
+ "id": "a655b2d0.b12cf8",
"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": 4816.583984375,
- "y": 2320.626220703125,
- "z": "1806503a.76a7a",
+ "x": 4842.267349243164,
+ "y": 2325.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "a11cf500.909288",
+ "id": "1b13a85a.c9fe7",
"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": 4813.583984375,
- "y": 2359.626220703125,
- "z": "1806503a.76a7a",
+ "x": 4839.267349243164,
+ "y": 2364.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "1d4bbcf2.4e364b"
+ "14ad9c89.4bb913"
]
]
},
{
- "id": "7b4cfab6.8e3e3c",
+ "id": "4c91f5f3.8ae07c",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4769.083984375,
- "y": 2401.626220703125,
- "z": "1806503a.76a7a",
+ "x": 4794.767349243164,
+ "y": 2406.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "5a11b9ac.0be8e",
+ "id": "5e825807.3f1cc",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4850.466796875,
- "y": 2111.285888671875,
- "z": "1806503a.76a7a",
+ "x": 4876.150161743164,
+ "y": 2116.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9451ac43.685578"
+ "fd8902be.b515c8"
]
]
},
{
- "id": "3bd0a776.cdf68",
+ "id": "181d9117.3dc1c7",
"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": 4450.4666748046875,
- "y": 2041.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4476.150039672852,
+ "y": 2046.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "baa608db.a0fe08"
+ "b70e554c.645b38"
]
]
},
{
- "id": "baa608db.a0fe08",
+ "id": "b70e554c.645b38",
"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": 4647.466796875,
- "y": 2107.285888671875,
- "z": "1806503a.76a7a",
+ "x": 4673.150161743164,
+ "y": 2112.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5a11b9ac.0be8e",
- "41776d15.aa3ae4"
+ "5e825807.3f1cc",
+ "25292003.2c4df"
]
]
},
{
- "id": "41776d15.aa3ae4",
+ "id": "25292003.2c4df",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 4852.466796875,
- "y": 2184.285888671875,
- "z": "1806503a.76a7a",
+ "x": 4878.150161743164,
+ "y": 2189.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e63bdf76.82117"
+ "c08bfda1.3541a8"
]
]
},
{
- "id": "1d4bbcf2.4e364b",
+ "id": "14ad9c89.4bb913",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4994.083984375,
- "y": 2358.626220703125,
- "z": "1806503a.76a7a",
+ "x": 5019.767349243164,
+ "y": 2363.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "65012ff0.bac99"
+ "f56384d9.606e1"
]
]
},
{
- "id": "65012ff0.bac99",
+ "id": "f56384d9.606e1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5152.083984375,
- "y": 2358.626220703125,
- "z": "1806503a.76a7a",
+ "x": 5177.767349243164,
+ "y": 2363.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "8f16bdf7.24b18"
+ "a47e1ae7.393b38"
]
]
},
{
- "id": "8f16bdf7.24b18",
+ "id": "a47e1ae7.393b38",
"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": 5359.083984375,
- "y": 2358.626220703125,
- "z": "1806503a.76a7a",
+ "x": 5384.767349243164,
+ "y": 2363.9071197509766,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "9451ac43.685578",
+ "id": "fd8902be.b515c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5027.466796875,
- "y": 2103.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5053.150161743164,
+ "y": 2108.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "801b98ce.90edc",
- "5fb93bf0.4b325c"
+ "3983145.c01d1ec",
+ "ded6bcc1.37b508"
]
]
},
{
- "id": "5fb93bf0.4b325c",
+ "id": "ded6bcc1.37b508",
"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": 5235.466796875,
- "y": 2110.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5261.150161743164,
+ "y": 2115.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "44bfb2a0.4cab3c",
- "f1164e18.e0f19",
- "7ca3e4f2.88fb4c"
+ "15291f10.bfa1d1",
+ "4ad88ea0.313028",
+ "9de78895.27ba68"
]
]
},
{
- "id": "e63bdf76.82117",
+ "id": "c08bfda1.3541a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5029.466796875,
- "y": 2176.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5055.150161743164,
+ "y": 2181.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "de27c7f7.c9276"
+ "757e0ab3.492124"
]
]
},
{
- "id": "801b98ce.90edc",
+ "id": "3983145.c01d1ec",
"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": 5265.466796875,
- "y": 2058.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5291.150161743164,
+ "y": 2063.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "de27c7f7.c9276",
+ "id": "757e0ab3.492124",
"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": 5264.466796875,
- "y": 2300.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5290.150161743164,
+ "y": 2305.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "44bfb2a0.4cab3c",
+ "id": "15291f10.bfa1d1",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5445.466796875,
- "y": 2101.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5471.150161743164,
+ "y": 2106.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "e82fded9.073898"
+ "f933124d.0d0d48"
]
]
},
{
- "id": "f1164e18.e0f19",
+ "id": "4ad88ea0.313028",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5437.466796875,
- "y": 2156.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5463.150161743164,
+ "y": 2161.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "85250ba4.806898"
+ "708c5d46.721ab4"
]
]
},
{
- "id": "7ca3e4f2.88fb4c",
+ "id": "9de78895.27ba68",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5442.466796875,
- "y": 2213.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5468.150161743164,
+ "y": 2218.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7d5613c0.f5f4cc"
+ "c3cc12ab.3cd488"
]
]
},
{
- "id": "7d5613c0.f5f4cc",
+ "id": "c3cc12ab.3cd488",
"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": 5594.466796875,
- "y": 2214.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5620.150161743164,
+ "y": 2219.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "85250ba4.806898",
+ "id": "708c5d46.721ab4",
"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": 5605.466796875,
- "y": 2159.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5631.150161743164,
+ "y": 2164.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "e82fded9.073898",
+ "id": "f933124d.0d0d48",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5589.84912109375,
- "y": 2098.9415588378906,
- "z": "1806503a.76a7a",
+ "x": 5615.532485961914,
+ "y": 2104.222457885742,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "7c8249af.5ed848"
+ "2ba1c8df.2a738"
]
]
},
{
- "id": "7c8249af.5ed848",
+ "id": "2ba1c8df.2a738",
"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": 5804.466796875,
- "y": 2095.285888671875,
- "z": "1806503a.76a7a",
+ "x": 5830.150161743164,
+ "y": 2100.5667877197266,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "1e88543b.84a814",
+ "id": "5dc3af5e.92a278",
"type": "switchNode",
"name": "switch $hasSecondary",
"xml": "<switch test='`$hasSecondary`'>\n",
"comments": "",
"outputs": 1,
- "x": 3836.13330078125,
- "y": 2707.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 3861.816665649414,
+ "y": 2712.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "4bbf44dd.c34104"
+ "a2e190cc.8d4f1"
]
]
},
{
- "id": "4bbf44dd.c34104",
+ "id": "a2e190cc.8d4f1",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4027.13330078125,
- "y": 2711.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4052.816665649414,
+ "y": 2716.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ca18cabf.134c3"
+ "d5cbc45b.cf7e18"
]
]
},
{
- "id": "ca18cabf.134c3",
+ "id": "d5cbc45b.cf7e18",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4154.13330078125,
- "y": 2710.2857666015625,
- "z": "1806503a.76a7a",
+ "x": 4179.816665649414,
+ "y": 2715.566665649414,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "ef98dd66.570548"
+ "9dcfaa3c.2df838"
]
]
},
{
- "id": "ef98dd66.570548",
+ "id": "9dcfaa3c.2df838",
"type": "save",
"name": "get secondary 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": 4380.467041015625,
- "y": 2703.619384765625,
- "z": "1806503a.76a7a",
+ "x": 4406.150405883789,
+ "y": 2708.9002838134766,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c3cc04e3.9995e8",
- "96ef8840.c20b2",
- "50ef7648.d143f"
+ "9b50524c.8f5e2",
+ "d7d45f06.b90c18",
+ "a735aab1.9f93a8"
]
]
},
{
- "id": "c3cc04e3.9995e8",
+ "id": "9b50524c.8f5e2",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4747.466796875,
- "y": 2597.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 4773.150161743164,
+ "y": 2602.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "625acc3d.d4dd04"
+ "c267b95.509ac48"
]
]
},
{
- "id": "96ef8840.c20b2",
+ "id": "d7d45f06.b90c18",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4742.975830078125,
- "y": 2642.0452270507812,
- "z": "1806503a.76a7a",
+ "x": 4768.659194946289,
+ "y": 2647.326126098633,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b87c29ed.e7a1d8"
+ "bfc554f5.bfe79"
]
]
},
{
- "id": "50ef7648.d143f",
+ "id": "a735aab1.9f93a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4738.975830078125,
- "y": 2692.0452880859375,
- "z": "1806503a.76a7a",
+ "x": 4764.659194946289,
+ "y": 2697.326187133789,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2796810b.682956"
+ "6ab7706d.b84f78"
]
]
},
{
- "id": "96d93656.6958b8",
+ "id": "5ae763e6.35d8f4",
"type": "save",
"name": "update SECONDARY-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": 5186.976318359375,
- "y": 2687.04541015625,
- "z": "1806503a.76a7a",
+ "x": 5212.659683227539,
+ "y": 2692.3263092041016,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "625acc3d.d4dd04",
+ "id": "c267b95.509ac48",
"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": 4910.038330078125,
- "y": 2596.9049682617188,
- "z": "1806503a.76a7a",
+ "x": 4935.721694946289,
+ "y": 2602.1858673095703,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "b87c29ed.e7a1d8",
+ "id": "bfc554f5.bfe79",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4910.975830078125,
- "y": 2642.0452270507812,
- "z": "1806503a.76a7a",
+ "x": 4936.659194946289,
+ "y": 2647.326126098633,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "2796810b.682956",
+ "id": "6ab7706d.b84f78",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4907.975830078125,
- "y": 2692.0452880859375,
- "z": "1806503a.76a7a",
+ "x": 4933.659194946289,
+ "y": 2697.326187133789,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "5a769bdf.551e9c",
- "96d93656.6958b8"
+ "3400e5b4.3cd32a",
+ "5ae763e6.35d8f4"
]
]
},
{
- "id": "5a769bdf.551e9c",
+ "id": "3400e5b4.3cd32a",
"type": "set",
"name": "set new bw",
"xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source - $bwToBeDecreased`' />\n",
"comments": "",
- "x": 5089.9765625,
- "y": 2634.0452880859375,
- "z": "1806503a.76a7a",
+ "x": 5115.659927368164,
+ "y": 2639.326187133789,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "b7814ecb.1580d",
+ "id": "fa76b584.bdbd9",
"type": "switchNode",
"name": "switch tmp.mmUNI-id-long != SECONDARY-ROOT UNI",
"xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.SECONDARY-ROOT.uni-p-interface-long`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4624.467041015625,
- "y": 3547.6190185546875,
- "z": "1806503a.76a7a",
+ "x": 4650.150405883789,
+ "y": 3552.899917602539,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "cf2467a.3e0e698"
+ "ef9b97c4.4f1c68"
]
]
},
{
- "id": "cf2467a.3e0e698",
+ "id": "ef9b97c4.4f1c68",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4914.467041015625,
- "y": 3549.6190185546875,
- "z": "1806503a.76a7a",
+ "x": 4940.150405883789,
+ "y": 3554.899917602539,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "774ecc4a.3ad124"
+ "608ff90c.2e5fc"
]
]
},
{
- "id": "fc616200.2baf58",
+ "id": "35800841.c29e7",
"type": "switchNode",
"name": "switch $hasSecondary",
"xml": "<switch test='`$hasSecondary`'>\n",
"comments": "",
"outputs": 1,
- "x": 4277,
- "y": 5777.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 4302.683364868164,
+ "y": 5782.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b0c64a0a.29dee8"
+ "23246adb.7861de"
]
]
},
{
- "id": "b0c64a0a.29dee8",
+ "id": "23246adb.7861de",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4468,
- "y": 5781.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 4493.683364868164,
+ "y": 5786.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b39a4675.08bbf"
+ "f3b9dd7.5ea102"
]
]
},
{
- "id": "b39a4675.08bbf",
+ "id": "f3b9dd7.5ea102",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4595,
- "y": 5780.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 4620.683364868164,
+ "y": 5785.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6b59d25.075b22c"
+ "60b7ba2f.bc3c0c"
]
]
},
{
- "id": "6b59d25.075b22c",
+ "id": "60b7ba2f.bc3c0c",
"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": 4820.3330078125,
- "y": 5782.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 4846.016372680664,
+ "y": 5787.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "84c8a22.08a86e",
- "8ae9054d.68fd08"
+ "2443ceec.623df2",
+ "ad2ba37e.796088"
]
]
},
{
- "id": "84c8a22.08a86e",
+ "id": "2443ceec.623df2",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5030.3330078125,
- "y": 5759.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 5056.016372680664,
+ "y": 5764.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "93a0772f.9be09"
+ "bd893034.6b25e8"
]
]
},
{
- "id": "8ae9054d.68fd08",
+ "id": "ad2ba37e.796088",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5035.3330078125,
- "y": 5808.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 5061.016372680664,
+ "y": 5813.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "2db83bd3.7a132c"
+ "d0993207.1b217"
]
]
},
{
- "id": "93a0772f.9be09",
+ "id": "bd893034.6b25e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5156.3330078125,
- "y": 5759.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 5182.016372680664,
+ "y": 5764.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "2db83bd3.7a132c",
+ "id": "d0993207.1b217",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5153.3330078125,
- "y": 5815.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 5179.016372680664,
+ "y": 5820.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "81928378.5f469",
- "9b2406e3.5e7a08"
+ "7824302d.31915",
+ "638f8d60.f2970c"
]
]
},
{
- "id": "81928378.5f469",
+ "id": "7824302d.31915",
"type": "save",
"name": "update SECONDARY-ROOT connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 5467.3330078125,
- "y": 5874.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 5493.016372680664,
+ "y": 5879.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "6888e6dc.67e04",
+ "id": "b539af9b.8e6488",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 5399.550048828125,
- "y": 5826.4190673828125,
- "z": "1806503a.76a7a",
+ "x": 5425.233413696289,
+ "y": 5831.699966430664,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "9b2406e3.5e7a08",
+ "id": "638f8d60.f2970c",
"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": 5598,
- "y": 5784.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 5623.683364868164,
+ "y": 5789.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "d07ac0db.fa9818",
+ "id": "9c7760f0.090d48",
"type": "switchNode",
"name": "switch $hasSecondary",
"xml": "<switch test='`$hasSecondary`'>\n",
"comments": "",
"outputs": 1,
- "x": 868,
- "y": 4974.6187744140625,
- "z": "1806503a.76a7a",
+ "x": 893.6833648681641,
+ "y": 4979.899673461914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a4f6e106.afc2d"
+ "89d9c849.63865"
]
]
},
{
- "id": "a4f6e106.afc2d",
+ "id": "89d9c849.63865",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1059,
- "y": 4978.6187744140625,
- "z": "1806503a.76a7a",
+ "x": 1084.683364868164,
+ "y": 4983.899673461914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "617b198c.79c0a"
+ "71eabcdb.edbe1c"
]
]
},
{
- "id": "617b198c.79c0a",
+ "id": "71eabcdb.edbe1c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1186,
- "y": 4977.6187744140625,
- "z": "1806503a.76a7a",
+ "x": 1211.683364868164,
+ "y": 4982.899673461914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "f89a9d64.adeb98"
+ "b655e9e.17d4118"
]
]
},
{
- "id": "f89a9d64.adeb98",
+ "id": "b655e9e.17d4118",
"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": 1411.3330078125,
- "y": 4979.6187744140625,
- "z": "1806503a.76a7a",
+ "x": 1437.016372680664,
+ "y": 4984.899673461914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "6035813d.1e7338",
- "b4705906.43572"
+ "451cba7b.55b034",
+ "89345bed.8540d8"
]
]
},
{
- "id": "6035813d.1e7338",
+ "id": "451cba7b.55b034",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1621.3330078125,
- "y": 4956.6187744140625,
- "z": "1806503a.76a7a",
+ "x": 1647.016372680664,
+ "y": 4961.899673461914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "b1155932.92831"
+ "6b3712d.199ce6c"
]
]
},
{
- "id": "b4705906.43572",
+ "id": "89345bed.8540d8",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1626.3330078125,
- "y": 5005.6187744140625,
- "z": "1806503a.76a7a",
+ "x": 1652.016372680664,
+ "y": 5010.899673461914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "62407b64.a07c9c"
+ "84894ba9.2f6d9"
]
]
},
{
- "id": "b1155932.92831",
+ "id": "6b3712d.199ce6c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1747.3330078125,
- "y": 4956.6187744140625,
- "z": "1806503a.76a7a",
+ "x": 1773.016372680664,
+ "y": 4961.899673461914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "62407b64.a07c9c",
+ "id": "84894ba9.2f6d9",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1744.3330078125,
- "y": 5012.6187744140625,
- "z": "1806503a.76a7a",
+ "x": 1770.016372680664,
+ "y": 5017.899673461914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d0271ecc.53e168",
- "83be22a.f7cdb6"
+ "d5552e7d.44cc8",
+ "e67d570d.d5f9f"
]
]
},
{
- "id": "83be22a.f7cdb6",
+ "id": "e67d570d.d5f9f",
"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": 2189,
- "y": 4981.6187744140625,
- "z": "1806503a.76a7a",
+ "x": 2214.683364868164,
+ "y": 4986.899673461914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "d29b17e9.2cbf8",
+ "id": "41723099.7f44e8",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 1990.550048828125,
- "y": 5023.4185791015625,
- "z": "1806503a.76a7a",
+ "x": 2016.233413696289,
+ "y": 5028.699478149414,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "d0271ecc.53e168",
+ "id": "d5552e7d.44cc8",
"type": "save",
"name": "update SECONDARY-ROOT connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 2058.3330078125,
- "y": 5071.6187744140625,
- "z": "1806503a.76a7a",
+ "x": 2084.016372680664,
+ "y": 5076.899673461914,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "e88fc760.9f3988",
+ "id": "5d9c1c4d.83462c",
"type": "switchNode",
"name": "switch $hasSecondary",
"xml": "<switch test='`$hasSecondary`'>\n",
"comments": "",
"outputs": 1,
- "x": 1470.3333740234375,
- "y": 5815.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 1496.0167388916016,
+ "y": 5820.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "c0695dac.6b173"
+ "4a1beb8f.c1dbac"
]
]
},
{
- "id": "c0695dac.6b173",
+ "id": "4a1beb8f.c1dbac",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1661.3333740234375,
- "y": 5819.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 1687.0167388916016,
+ "y": 5824.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "a704fbb5.caa0b"
+ "c43fef47.9c947"
]
]
},
{
- "id": "a704fbb5.caa0b",
+ "id": "c43fef47.9c947",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1788.3333740234375,
- "y": 5818.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 1814.0167388916016,
+ "y": 5823.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "bc272657.983128"
+ "40808ad0.742134"
]
]
},
{
- "id": "bc272657.983128",
+ "id": "40808ad0.742134",
"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": 2013.6663818359375,
- "y": 5820.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 2039.3497467041016,
+ "y": 5825.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "31bdfa25.d18a2e",
- "c242900c.77afd8"
+ "5a051931.8c6a5",
+ "818560aa.91932"
]
]
},
{
- "id": "31bdfa25.d18a2e",
+ "id": "5a051931.8c6a5",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2223.6663818359375,
- "y": 5797.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 2249.3497467041016,
+ "y": 5802.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "9d78f5ef.5cf228"
+ "8edca568.ede98"
]
]
},
{
- "id": "c242900c.77afd8",
+ "id": "818560aa.91932",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2228.6663818359375,
- "y": 5846.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 2254.3497467041016,
+ "y": 5851.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d542d85e.71ea7"
+ "9a80cebb.ff473"
]
]
},
{
- "id": "9d78f5ef.5cf228",
+ "id": "8edca568.ede98",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2349.6663818359375,
- "y": 5797.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 2375.3497467041016,
+ "y": 5802.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "d542d85e.71ea7",
+ "id": "9a80cebb.ff473",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2346.6663818359375,
- "y": 5853.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 2372.3497467041016,
+ "y": 5858.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[
- "d23f59ed.73bc4",
- "2e5ee108.277b9e"
+ "cc186b3e.b594b",
+ "5f3c966d.1d57c"
]
]
},
{
- "id": "2e5ee108.277b9e",
+ "id": "5f3c966d.1d57c",
"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": 2791.3333740234375,
- "y": 5822.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 2817.0167388916016,
+ "y": 5827.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "868b21d1.a7652",
+ "id": "224407cc.d62a7",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 2592.8834228515625,
- "y": 5864.4190673828125,
- "z": "1806503a.76a7a",
+ "x": 2618.5667877197266,
+ "y": 5869.699966430664,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "d23f59ed.73bc4",
+ "id": "cc186b3e.b594b",
"type": "save",
"name": "update SECONDARY-ROOT connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 2660.6663818359375,
- "y": 5912.6192626953125,
- "z": "1806503a.76a7a",
+ "x": 2686.3497467041016,
+ "y": 5917.900161743164,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "73f93f1a.1715d8",
+ "id": "9067b91d.deea4",
"type": "execute",
"name": "execute Terminate SSE Connection",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='deleteSubscriptionAndSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"`$project.version`\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1520.7666625976562,
- "y": 6121,
- "z": "1806503a.76a7a",
+ "x": 1546.4500274658203,
+ "y": 6126.280899047852,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]
},
{
- "id": "5f7e37aa.0d2258",
+ "id": "61909f2b.d81a28",
"type": "set",
"name": "set parameters",
"xml": "<set>\n<parameter name='subscriptionId' value='`$rcvd-bandwidth-value`' />\n",
"comments": "",
- "x": 1452.800048828125,
- "y": 6062.39990234375,
- "z": "1806503a.76a7a",
+ "x": 1478.483413696289,
+ "y": 6067.680801391602,
+ "z": "1b4ba1fc.83240e",
"wires": []
},
{
- "id": "29311664.f24592",
+ "id": "3d1d7271.d95cbe",
"type": "execute",
"name": "execute Terminate SSE Connection",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='deleteSubscriptionAndSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"`$project.version`\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2069.433349609375,
- "y": 5569.2333984375,
- "z": "1806503a.76a7a",
+ "x": 2095.116714477539,
+ "y": 5574.514297485352,
+ "z": "1b4ba1fc.83240e",
"wires": [
[]
]