aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json6248
1 files changed, 4213 insertions, 2035 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json
index c1b37ce6..338c6456 100644
--- a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json
@@ -1,20 +1,20 @@
[
{
- "id": "458f4ac.c4718b4",
+ "id": "eebfe6b4.36c4f8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 134.88333129882812,
- "y": 96.88333129882812,
- "z": "4456793a.59a288",
+ "x": 140,
+ "y": 119,
+ "z": "f8944603.71553",
"wires": [
[
- "2b796419.174294"
+ "f39097a1.daa63"
]
]
},
{
- "id": "2b796419.174294",
+ "id": "f39097a1.daa63",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,5709 +22,7887 @@
"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": 419.1690216064453,
- "y": 158.12143993377686,
- "z": "4456793a.59a288",
+ "x": 424.2856903076172,
+ "y": 180.23810863494873,
+ "z": "f8944603.71553",
"wires": [
[
- "81638429.4a926"
+ "af444c12.6df4"
]
]
},
{
- "id": "81638429.4a926",
+ "id": "af444c12.6df4",
"type": "method",
"name": "method cll-vnf-topology-operation-cll-create-clean",
"xml": "<method rpc='cll-vnf-topology-operation-cll-create-clean' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 425.3119354248047,
- "y": 242.88336181640625,
- "z": "4456793a.59a288",
+ "x": 430.42860412597656,
+ "y": 265.0000305175781,
+ "z": "f8944603.71553",
"wires": [
[
- "49ee9c33.493f7c"
+ "cd7fb41b.b80af8"
]
]
},
{
- "id": "49ee9c33.493f7c",
+ "id": "cd7fb41b.b80af8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 774.8833312988281,
- "y": 301.8833312988281,
- "z": "4456793a.59a288",
+ "x": 780,
+ "y": 324,
+ "z": "f8944603.71553",
"wires": [
[
- "a4831915.5eaaa",
- "7639e853.9511c8",
- "a54eb7d5.3629"
+ "1330d7b6.40f6",
+ "327e5a08.352bde",
+ "b36ceae.9917d98"
]
]
},
{
- "id": "a4831915.5eaaa",
+ "id": "1330d7b6.40f6",
"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": 1076.2168273925781,
- "y": 572.8136291503906,
- "z": "4456793a.59a288",
+ "x": 1081.33349609375,
+ "y": 594.9302978515625,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "7639e853.9511c8",
+ "id": "327e5a08.352bde",
"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": 1097.6452941894531,
- "y": 275.2166442871094,
- "z": "4456793a.59a288",
+ "x": 1102.761962890625,
+ "y": 297.33331298828125,
+ "z": "f8944603.71553",
"wires": [
[
- "46a7c921.f80be8",
- "fa1c1252.bcac98",
- "22347b09.105eec"
+ "393ddb72.9cdaac",
+ "27423ab.7bf7dc6",
+ "e70357b.8e78fa8"
]
]
},
{
- "id": "46a7c921.f80be8",
+ "id": "393ddb72.9cdaac",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1322.6452941894531,
- "y": 133.21664428710938,
- "z": "4456793a.59a288",
+ "x": 1327.761962890625,
+ "y": 155.33331298828125,
+ "z": "f8944603.71553",
"wires": [
[
- "f818b9cf.ba44c"
+ "db827fdb.ec8a7"
]
]
},
{
- "id": "fa1c1252.bcac98",
+ "id": "27423ab.7bf7dc6",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1318.1362609863281,
- "y": 202.79067993164062,
- "z": "4456793a.59a288",
+ "x": 1323.2529296875,
+ "y": 224.9073486328125,
+ "z": "f8944603.71553",
"wires": [
[
- "7ac2bf1b.1c3bb8"
+ "2aba6522.745fa2"
]
]
},
{
- "id": "22347b09.105eec",
+ "id": "e70357b.8e78fa8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1306.6452941894531,
- "y": 249.21664428710938,
- "z": "4456793a.59a288",
+ "x": 1311.761962890625,
+ "y": 271.33331298828125,
+ "z": "f8944603.71553",
"wires": [
[
- "9932a9c7.205738"
+ "85c2ab27.5d7c"
]
]
},
{
- "id": "3db9725e.eccbce",
+ "id": "d67dd652.2acc48",
"type": "comment",
"name": "new for TransportSlicing",
"info": "",
"comments": "",
- "x": 1076.6452941894531,
- "y": 163.21664428710938,
- "z": "4456793a.59a288",
+ "x": 1081.761962890625,
+ "y": 185.33331298828125,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "a54eb7d5.3629",
+ "id": "b36ceae.9917d98",
"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": 1064.6452941894531,
- "y": 215.21664428710938,
- "z": "4456793a.59a288",
+ "x": 1069.761962890625,
+ "y": 237.33331298828125,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "f818b9cf.ba44c",
+ "id": "db827fdb.ec8a7",
"type": "switchNode",
"name": "switch allotted-resources_length != 0",
"xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 1562.8833312988281,
- "y": 129.88333129882812,
- "z": "4456793a.59a288",
+ "x": 1568,
+ "y": 152,
+ "z": "f8944603.71553",
"wires": [
[
- "8e919d6f.673508",
- "51e0925d.04913c"
+ "cb5b5e94.b15ef8",
+ "b997ad22.d70e8"
]
]
},
{
- "id": "7ac2bf1b.1c3bb8",
+ "id": "2aba6522.745fa2",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
"comments": "",
- "x": 1472.9457092285156,
- "y": 205.74310302734375,
- "z": "4456793a.59a288",
+ "x": 1478.0623779296875,
+ "y": 227.85977172851562,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "9932a9c7.205738",
+ "id": "85c2ab27.5d7c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1476.8833312988281,
- "y": 249.88333129882812,
- "z": "4456793a.59a288",
+ "x": 1482,
+ "y": 272,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "8e919d6f.673508",
+ "id": "cb5b5e94.b15ef8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1767.8833312988281,
- "y": 166.88333129882812,
- "z": "4456793a.59a288",
+ "x": 1773,
+ "y": 189,
+ "z": "f8944603.71553",
"wires": [
[
- "68453177.cb78b8"
+ "3cb72715.02a808"
]
]
},
{
- "id": "51e0925d.04913c",
+ "id": "b997ad22.d70e8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1777.8833312988281,
- "y": 93.88333129882812,
- "z": "4456793a.59a288",
+ "x": 1783,
+ "y": 116,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "68453177.cb78b8",
+ "id": "3cb72715.02a808",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1760.8833312988281,
- "y": 241.88333129882812,
- "z": "4456793a.59a288",
+ "x": 1766,
+ "y": 264,
+ "z": "f8944603.71553",
"wires": [
[
- "a82eb2b4.74145",
- "2f11fd49.33bf4a",
- "3f7479d2.cf6ebe",
- "9bc906e5.702fc8",
- "a8e7354f.a1833"
+ "ebf5f2d6.b4c7b8",
+ "490f1cae.a20b64",
+ "b4dd975f.8385a8",
+ "43a803a5.2842f4",
+ "651a17c0.63b678"
]
]
},
{
- "id": "c81e4e53.d33bf",
+ "id": "d707b8ba.d22b28",
"type": "save",
"name": "get allotted-resource from aai",
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!-- AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",
"comments": "",
"outputs": 1,
- "x": 2246.883331298828,
- "y": 292.8833312988281,
- "z": "4456793a.59a288",
+ "x": 2252,
+ "y": 315,
+ "z": "f8944603.71553",
"wires": [
[
- "93e1f14a.5a9588",
- "d05d8571.8f54d8",
- "43bb6a89.efb504"
+ "3717142f.9eacbc",
+ "81f224b1.8ce278",
+ "360e18d9.8e8878"
]
]
},
{
- "id": "93e1f14a.5a9588",
+ "id": "3717142f.9eacbc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2462.883331298828,
- "y": 359.8833312988281,
- "z": "4456793a.59a288",
+ "x": 2468,
+ "y": 382,
+ "z": "f8944603.71553",
"wires": [
[
- "29fa3a31.28ab1e"
+ "90fe9f39.2d3b48"
]
]
},
{
- "id": "d05d8571.8f54d8",
+ "id": "81f224b1.8ce278",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2463.374298095703,
- "y": 259.4573059082031,
- "z": "4456793a.59a288",
+ "x": 2468.490966796875,
+ "y": 281.573974609375,
+ "z": "f8944603.71553",
"wires": [
[
- "9a07cfe7.b03588"
+ "fa7677d5.848dd"
]
]
},
{
- "id": "43bb6a89.efb504",
+ "id": "360e18d9.8e8878",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2458.883331298828,
- "y": 308.8833312988281,
- "z": "4456793a.59a288",
+ "x": 2464,
+ "y": 331,
+ "z": "f8944603.71553",
"wires": [
[
- "b1a3ba46.e979e8"
+ "72c2923b.56a34c"
]
]
},
{
- "id": "a82eb2b4.74145",
+ "id": "ebf5f2d6.b4c7b8",
"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": 1963.8833312988281,
- "y": 273.8833312988281,
- "z": "4456793a.59a288",
+ "x": 1969,
+ "y": 296,
+ "z": "f8944603.71553",
"wires": [
[
- "9e7211a2.fa3648",
- "c81e4e53.d33bf",
- "d050303.0f4a3d",
- "c2f95f80.985fc"
+ "618e3f4f.a42bf",
+ "d707b8ba.d22b28",
+ "e8527008.db6228",
+ "a669b945.663408"
]
]
},
{
- "id": "9e7211a2.fa3648",
+ "id": "618e3f4f.a42bf",
"type": "set",
"name": "set the current allotted-resource-id",
"xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",
"comments": "",
- "x": 2243.883331298828,
- "y": 211.88333129882812,
- "z": "4456793a.59a288",
+ "x": 2249,
+ "y": 234,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "9bc906e5.702fc8",
+ "id": "43a803a5.2842f4",
"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": 1937.8833312988281,
- "y": 223.88333129882812,
- "z": "4456793a.59a288",
+ "x": 1943,
+ "y": 246,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "2f11fd49.33bf4a",
+ "id": "490f1cae.a20b64",
"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": 1980.8833312988281,
- "y": 82.88333129882812,
- "z": "4456793a.59a288",
+ "x": 1986,
+ "y": 105,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "3f7479d2.cf6ebe",
+ "id": "b4dd975f.8385a8",
"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": 1992.8833312988281,
- "y": 123.88333129882812,
- "z": "4456793a.59a288",
+ "x": 1998,
+ "y": 146,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "ea819687.b3e55",
+ "id": "d38afd8a.8bc96",
"type": "comment",
"name": "The following two nodes are for PCE",
"info": "",
"comments": "",
- "x": 2017.8833312988281,
- "y": 35.883331298828125,
- "z": "4456793a.59a288",
+ "x": 2023,
+ "y": 58,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "a0a17876.3d9168",
+ "id": "8fedb211.a1c3d8",
"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": 1937.8833312988281,
- "y": 169.88333129882812,
- "z": "4456793a.59a288",
+ "x": 1943,
+ "y": 192,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "9a07cfe7.b03588",
+ "id": "fa7677d5.848dd",
"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": 2641.883331298828,
- "y": 261.8833312988281,
- "z": "4456793a.59a288",
+ "x": 2647,
+ "y": 284,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "b1a3ba46.e979e8",
+ "id": "72c2923b.56a34c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2641.820831298828,
- "y": 311.0235900878906,
- "z": "4456793a.59a288",
+ "x": 2646.9375,
+ "y": 333.1402587890625,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "29fa3a31.28ab1e",
+ "id": "90fe9f39.2d3b48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2643.820831298828,
- "y": 362.0235900878906,
- "z": "4456793a.59a288",
+ "x": 2648.9375,
+ "y": 384.1402587890625,
+ "z": "f8944603.71553",
"wires": [
[
- "ccdb352a.c0afb"
+ "458d5965.a3abf"
]
]
},
{
- "id": "ccdb352a.c0afb",
+ "id": "458d5965.a3abf",
"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": 2936.820831298828,
- "y": 309.0235900878906,
- "z": "4456793a.59a288",
+ "x": 2941.9375,
+ "y": 331.1402587890625,
+ "z": "f8944603.71553",
"wires": [
[
- "1d1c178.a002b69",
- "a96469cb.c566d8",
- "1d270f4d.7f92d9"
+ "9e8135ff.08a04",
+ "11480c56.53825c",
+ "c18b528b.950eb"
]
]
},
{
- "id": "a96469cb.c566d8",
+ "id": "11480c56.53825c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3210.311798095703,
- "y": 201.59756469726562,
- "z": "4456793a.59a288",
+ "x": 3245.428436279297,
+ "y": 63.7142333984375,
+ "z": "f8944603.71553",
"wires": [
[
- "a9051800.9d7288"
+ "fafa91c8.b89"
]
]
},
{
- "id": "a9051800.9d7288",
+ "id": "fafa91c8.b89",
"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": 3387.883331298828,
- "y": 201.88333129882812,
- "z": "4456793a.59a288",
+ "x": 3422.999969482422,
+ "y": 64,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "1d270f4d.7f92d9",
+ "id": "c18b528b.950eb",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3205.820831298828,
- "y": 251.02359008789062,
- "z": "4456793a.59a288",
+ "x": 3240.937469482422,
+ "y": 113.1402587890625,
+ "z": "f8944603.71553",
"wires": [
[
- "74b9715b.81c6"
+ "c9c4d95e.e78bc8"
]
]
},
{
- "id": "74b9715b.81c6",
+ "id": "c9c4d95e.e78bc8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3387.820831298828,
- "y": 251.02359008789062,
- "z": "4456793a.59a288",
+ "x": 3422.937469482422,
+ "y": 113.1402587890625,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "1d1c178.a002b69",
+ "id": "9e8135ff.08a04",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3209.820831298828,
- "y": 302.0235900878906,
- "z": "4456793a.59a288",
+ "x": 3244.937469482422,
+ "y": 164.1402587890625,
+ "z": "f8944603.71553",
"wires": [
[
- "dea72b0a.7f4d98"
+ "249c683e.fa6548"
]
]
},
{
- "id": "dea72b0a.7f4d98",
+ "id": "249c683e.fa6548",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3389.820831298828,
- "y": 302.0235900878906,
- "z": "4456793a.59a288",
+ "x": 3424.937469482422,
+ "y": 164.1402587890625,
+ "z": "f8944603.71553",
"wires": [
[
- "1a6bb71b.cc26c9"
+ "8380148b.ccdda"
]
]
},
{
- "id": "1a6bb71b.cc26c9",
+ "id": "8380148b.ccdda",
"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": 2955.883331298828,
- "y": 436.8833312988281,
- "z": "4456793a.59a288",
+ "x": 2961,
+ "y": 459,
+ "z": "f8944603.71553",
"wires": [
[
- "24693fb2.e93b7",
- "a9c05c16.6229b8"
+ "f9f860ee.48ada",
+ "3ee71a32.7e39ae"
]
]
},
{
- "id": "a9c05c16.6229b8",
+ "id": "3ee71a32.7e39ae",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3265.883331298828,
- "y": 443.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3300.999969482422,
+ "y": 306,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "24693fb2.e93b7",
+ "id": "f9f860ee.48ada",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3264.883331298828,
- "y": 497.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3299.999969482422,
+ "y": 360,
+ "z": "f8944603.71553",
"wires": [
[
- "54d9e040.3e5a2"
+ "88c3b86.63e2c48"
]
]
},
{
- "id": "7514cb1e.22b7cc",
+ "id": "b0fb22ca.f9ce1",
"type": "outcome",
"name": "network-policy",
"xml": "<outcome value='network-policy'>\n",
"comments": "",
"outputs": 1,
- "x": 4009.883331298828,
- "y": 451.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4044.999969482422,
+ "y": 314,
+ "z": "f8944603.71553",
"wires": [
[
- "1a1e9340.1cb465"
+ "5f3f920d.e5225c"
]
]
},
{
- "id": "1a1e9340.1cb465",
+ "id": "5f3f920d.e5225c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4186.883209228516,
- "y": 444.8832092285156,
- "z": "4456793a.59a288",
+ "x": 4221.999847412109,
+ "y": 306.9998779296875,
+ "z": "f8944603.71553",
"wires": [
[
- "1cd3fabc.2c7055",
- "df5b418a.0dd23"
+ "8197a230.f5fc28",
+ "add943b3.661de"
]
]
},
{
- "id": "54d9e040.3e5a2",
+ "id": "88c3b86.63e2c48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3428.883331298828,
- "y": 423.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3463.999969482422,
+ "y": 286,
+ "z": "f8944603.71553",
"wires": [
[
- "dde05d5d.d568e8",
- "89905857.784518"
+ "b1327250.c3733",
+ "de9a0d51.d824a"
]
]
},
{
- "id": "dde05d5d.d568e8",
+ "id": "b1327250.c3733",
"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": 3709.883331298828,
- "y": 379.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3744.999969482422,
+ "y": 242,
+ "z": "f8944603.71553",
"wires": [
[
- "abe51cd7.f8f208"
+ "64d386dc.4f4038"
]
]
},
{
- "id": "abe51cd7.f8f208",
+ "id": "64d386dc.4f4038",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3971.883331298828,
- "y": 379.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4006.999969482422,
+ "y": 242,
+ "z": "f8944603.71553",
"wires": [
[
- "7514cb1e.22b7cc"
+ "b0fb22ca.f9ce1"
]
]
},
{
- "id": "1cd3fabc.2c7055",
+ "id": "8197a230.f5fc28",
"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": 4429.883209228516,
- "y": 401.8832092285156,
- "z": "4456793a.59a288",
+ "x": 4464.999847412109,
+ "y": 263.9998779296875,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "df5b418a.0dd23",
+ "id": "add943b3.661de",
"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": 4418.883209228516,
- "y": 456.8832092285156,
- "z": "4456793a.59a288",
+ "x": 4453.999847412109,
+ "y": 318.9998779296875,
+ "z": "f8944603.71553",
"wires": [
[
- "b1c8bb90.0c2e78",
- "2f32ddcf.c1426a",
- "a81fdee7.10c348"
+ "584012e4.8af54c",
+ "84e11e56.e2a698",
+ "b5114711.48fe28"
]
]
},
{
- "id": "a81fdee7.10c348",
+ "id": "b5114711.48fe28",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4671.883331298828,
- "y": 342.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4705.000213623047,
+ "y": 260,
+ "z": "f8944603.71553",
"wires": [
[
- "933dded8.905d48"
+ "3ff18282.41fa7e"
]
]
},
{
- "id": "933dded8.905d48",
+ "id": "3ff18282.41fa7e",
"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": 4820.454864501953,
- "y": 343.1690979003906,
- "z": "4456793a.59a288",
+ "x": 4853.571746826172,
+ "y": 260.2857666015625,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "4ff8891b.b27e6",
+ "id": "576f251.536f1dc",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4819.392364501953,
- "y": 387.3093566894531,
- "z": "4456793a.59a288",
+ "x": 4852.509246826172,
+ "y": 304.426025390625,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "2f32ddcf.c1426a",
+ "id": "84e11e56.e2a698",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4660.392364501953,
- "y": 387.3093566894531,
- "z": "4456793a.59a288",
+ "x": 4693.509246826172,
+ "y": 304.426025390625,
+ "z": "f8944603.71553",
"wires": [
[
- "4ff8891b.b27e6"
+ "576f251.536f1dc"
]
]
},
{
- "id": "b1c8bb90.0c2e78",
+ "id": "584012e4.8af54c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4667.392364501953,
- "y": 466.3093566894531,
- "z": "4456793a.59a288",
+ "x": 4700.509246826172,
+ "y": 383.426025390625,
+ "z": "f8944603.71553",
"wires": [
[
- "9b0431ef.52336"
+ "84e0295.fec0058"
]
]
},
{
- "id": "9b0431ef.52336",
+ "id": "84e0295.fec0058",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4806.392364501953,
- "y": 466.3093566894531,
- "z": "4456793a.59a288",
+ "x": 4839.509246826172,
+ "y": 383.426025390625,
+ "z": "f8944603.71553",
"wires": [
[
- "30420590.b9ff82",
- "80a75b67.8413b8"
+ "40dc732c.a37574",
+ "72f9e36c.5c6004"
]
]
},
{
- "id": "30420590.b9ff82",
+ "id": "40dc732c.a37574",
"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": 5011.883331298828,
- "y": 463.8833312988281,
- "z": "4456793a.59a288",
+ "x": 5045.000213623047,
+ "y": 381,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "80a75b67.8413b8",
+ "id": "72f9e36c.5c6004",
"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": 5010.883331298828,
- "y": 509.8833312988281,
- "z": "4456793a.59a288",
+ "x": 5044.000213623047,
+ "y": 427,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "89905857.784518",
+ "id": "de9a0d51.d824a",
"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": 3526.883331298828,
- "y": 495.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3561.999969482422,
+ "y": 358,
+ "z": "f8944603.71553",
"wires": [
[
- "b46dcd3d.f4afe8"
+ "1f9cf648.b23842"
]
]
},
{
- "id": "b46dcd3d.f4afe8",
+ "id": "1f9cf648.b23842",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3806.883331298828,
- "y": 495.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3841.999969482422,
+ "y": 358,
+ "z": "f8944603.71553",
"wires": [
[
- "f685aa80.8cfb4"
+ "9a7f86a9.e4bc3"
]
]
},
{
- "id": "f685aa80.8cfb4",
+ "id": "9a7f86a9.e4bc3",
"type": "outcome",
"name": "logical-link",
"xml": "<outcome value='logical-link'>\n",
"comments": "",
"outputs": 1,
- "x": 2219.8834533691406,
- "y": 748.8834533691406,
- "z": "4456793a.59a288",
+ "x": 2225.0001220703125,
+ "y": 771.0001220703125,
+ "z": "f8944603.71553",
"wires": [
[
- "a18b2354.2da15"
+ "a00c69ca.adce48"
]
]
},
{
- "id": "a18b2354.2da15",
+ "id": "a00c69ca.adce48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2396.883331298828,
- "y": 741.8833312988281,
- "z": "4456793a.59a288",
+ "x": 2402,
+ "y": 764,
+ "z": "f8944603.71553",
"wires": [
[
- "ea2df6b1.4ac208",
- "5238e333.611ed4"
+ "b1915aed.463e4",
+ "2d618162.692d86"
]
]
},
{
- "id": "ea2df6b1.4ac208",
+ "id": "b1915aed.463e4",
"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": 2639.883331298828,
- "y": 698.8833312988281,
- "z": "4456793a.59a288",
+ "x": 2645,
+ "y": 721,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "5238e333.611ed4",
+ "id": "2d618162.692d86",
"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": 2628.883331298828,
- "y": 753.8833312988281,
- "z": "4456793a.59a288",
+ "x": 2634,
+ "y": 776,
+ "z": "f8944603.71553",
"wires": [
[
- "d29bd2a6.f0278",
- "aae66833.e493",
- "51948363.691cec"
+ "e482931e.42ecd",
+ "ed5f6487.2f87b",
+ "f8d33751.7b5a4"
]
]
},
{
- "id": "d29bd2a6.f0278",
+ "id": "e482931e.42ecd",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2920.374298095703,
- "y": 732.4573059082031,
- "z": "4456793a.59a288",
+ "x": 2925.490966796875,
+ "y": 754.573974609375,
+ "z": "f8944603.71553",
"wires": [
[
- "a5baff8.5c15f"
+ "57635b4b.26640c"
]
]
},
{
- "id": "aae66833.e493",
+ "id": "ed5f6487.2f87b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2908.883331298828,
- "y": 776.8833312988281,
- "z": "4456793a.59a288",
+ "x": 2914,
+ "y": 799,
+ "z": "f8944603.71553",
"wires": [
[
- "590adc04.7c8c64"
+ "a7b92e8f.8c52e8"
]
]
},
{
- "id": "a5baff8.5c15f",
+ "id": "57635b4b.26640c",
"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": 3068.945831298828,
- "y": 732.7430725097656,
- "z": "4456793a.59a288",
+ "x": 3074.0625,
+ "y": 754.8597412109375,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "590adc04.7c8c64",
+ "id": "a7b92e8f.8c52e8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3067.883331298828,
- "y": 776.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3073,
+ "y": 799,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "51948363.691cec",
+ "id": "f8d33751.7b5a4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2915.883331298828,
- "y": 855.8833312988281,
- "z": "4456793a.59a288",
+ "x": 2921,
+ "y": 878,
+ "z": "f8944603.71553",
"wires": [
[
- "138db6d7.8d5031"
+ "98a40400.3efa78"
]
]
},
{
- "id": "138db6d7.8d5031",
+ "id": "98a40400.3efa78",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3054.883331298828,
- "y": 855.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3060,
+ "y": 878,
+ "z": "f8944603.71553",
"wires": [
[
- "7a4c5f2f.9027d8",
- "f3e41369.61302",
- "bb0c73ed.00d09",
- "8e9b40a2.60b6c",
- "bda9878c.43ffc8",
- "746b18d4.be3d18",
- "15698ad5.b40d3d",
- "3d22a200.42e29e",
- "ff1965cc.9c6318",
- "a8011cb7.dd8288",
- "60be6b60.c49e7c",
- "77fe2bdc.eed0c4",
- "c658e7ef.0b11d8",
- "d48a24b6.db8ce8"
+ "71736994.8ef448",
+ "262a2cdd.1722ec",
+ "6dffa8a4.87ef28",
+ "19dc8ab.73ff975",
+ "442ee5c4.7ebc14",
+ "55e39af5.a2b61c",
+ "22efa8c9.c8576",
+ "d6e1611b.9ddcf",
+ "b18620c8.640928",
+ "11e0f934.faeab7",
+ "b71f57a7.e2a288",
+ "f7d11626.bd108",
+ "7d22810d.66642",
+ "5fc2699f.6720b8",
+ "d4db1de6.243c9",
+ "4c9f1a43.e137e4",
+ "f953800.9cf34",
+ "1931dff5.72d728",
+ "be1fed24.75522",
+ "3ab03c8.bdf8544",
+ "d566dc7.835f6a"
]
]
},
{
- "id": "f45cdd5f.c90798",
+ "id": "8992052.d396a78",
"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": 3368.883331298828,
- "y": 661.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3409,
+ "y": 411.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "7a4c5f2f.9027d8",
+ "id": "71736994.8ef448",
"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": 3349.883331298828,
- "y": 711.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3389.9999389648438,
+ "y": 490.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "d48a24b6.db8ce8",
+ "id": "5fc2699f.6720b8",
"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": 3306.883331298828,
- "y": 756.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3346.9999389648438,
+ "y": 535.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "f3e41369.61302",
+ "id": "262a2cdd.1722ec",
"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": 3281.883331298828,
- "y": 819.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3311.999969482422,
+ "y": 589.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "bb0c73ed.00d09",
+ "id": "6dffa8a4.87ef28",
"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": 3282.883331298828,
- "y": 874.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3312.999969482422,
+ "y": 644.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "8e9b40a2.60b6c",
+ "id": "19dc8ab.73ff975",
"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": 3298.883331298828,
- "y": 922.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3310.999969482422,
+ "y": 908.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "5e527f7c.215cc8",
- "e57980fe.5f9758",
- "d6304ea1.fb76e"
+ "6a238476.e2fb94",
+ "535decdf.f72024",
+ "ae1cf5c7.80a6f8"
]
]
},
{
- "id": "bda9878c.43ffc8",
+ "id": "442ee5c4.7ebc14",
"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": 3287.883331298828,
- "y": 1009.8832092285156,
- "z": "4456793a.59a288",
+ "x": 3305.999969482422,
+ "y": 969.9998474121094,
+ "z": "f8944603.71553",
"wires": [
[
- "be8da30d.6c1bf8",
- "59df3d01.4ec704",
- "23f36ff9.6f46c"
+ "3acf80af.f43f8",
+ "d256cf0d.9aea78",
+ "e101efde.aba"
]
]
},
{
- "id": "5e527f7c.215cc8",
+ "id": "6a238476.e2fb94",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3499.883331298828,
- "y": 806.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3621.999969482422,
+ "y": 679.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "7280738b.1a48a4"
+ "ab9f09fe.f29c98"
]
]
},
{
- "id": "e57980fe.5f9758",
+ "id": "535decdf.f72024",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3495.392364501953,
- "y": 856.3093566894531,
- "z": "4456793a.59a288",
+ "x": 3617.509002685547,
+ "y": 729.4259948730469,
+ "z": "f8944603.71553",
"wires": [
[
- "74f46c1.d313d14"
+ "e4e6f924.884bf"
]
]
},
{
- "id": "d6304ea1.fb76e",
+ "id": "ae1cf5c7.80a6f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3499.392364501953,
- "y": 909.3093566894531,
- "z": "4456793a.59a288",
+ "x": 3621.509002685547,
+ "y": 782.4259948730469,
+ "z": "f8944603.71553",
"wires": [
[
- "1f52b8ab.2e56cf"
+ "ab5ff9c2.10c8a"
]
]
},
{
- "id": "7280738b.1a48a4",
+ "id": "ab9f09fe.f29c98",
"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": 3648.454864501953,
- "y": 806.1690979003906,
- "z": "4456793a.59a288",
+ "x": 3770.571502685547,
+ "y": 679.2857360839844,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "74f46c1.d313d14",
+ "id": "e4e6f924.884bf",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3638.392364501953,
- "y": 856.3093566894531,
- "z": "4456793a.59a288",
+ "x": 3760.509002685547,
+ "y": 729.4259948730469,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "be8da30d.6c1bf8",
+ "id": "3acf80af.f43f8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3510.883331298828,
- "y": 979.8832092285156,
- "z": "4456793a.59a288",
+ "x": 3583.9999389648438,
+ "y": 869.9998168945312,
+ "z": "f8944603.71553",
"wires": [
[
- "4c2e6e70.a93be8"
+ "87a2e14c.f364a"
]
]
},
{
- "id": "59df3d01.4ec704",
+ "id": "d256cf0d.9aea78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3506.392364501953,
- "y": 1029.3092346191406,
- "z": "4456793a.59a288",
+ "x": 3579.509002685547,
+ "y": 912.4258728027344,
+ "z": "f8944603.71553",
"wires": [
[
- "25d04654.5e839a"
+ "98a18e9a.d4f5a"
]
]
},
{
- "id": "23f36ff9.6f46c",
+ "id": "e101efde.aba",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3507.392364501953,
- "y": 1082.3092346191406,
- "z": "4456793a.59a288",
+ "x": 3580.509002685547,
+ "y": 965.4258728027344,
+ "z": "f8944603.71553",
"wires": [
[
- "e7e2a18.77a626"
+ "4d45fe17.38da58"
]
]
},
{
- "id": "4c2e6e70.a93be8",
+ "id": "87a2e14c.f364a",
"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": 3659.454864501953,
- "y": 979.1689758300781,
- "z": "4456793a.59a288",
+ "x": 3732.5714721679688,
+ "y": 869.2855834960938,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "25d04654.5e839a",
+ "id": "98a18e9a.d4f5a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3649.392364501953,
- "y": 1029.3092346191406,
- "z": "4456793a.59a288",
+ "x": 3722.509002685547,
+ "y": 912.4258728027344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "1f52b8ab.2e56cf",
+ "id": "ab5ff9c2.10c8a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3660.883331298828,
- "y": 908.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3782.999969482422,
+ "y": 781.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "37185a88.04a7d6"
+ "84478c6a.6d587"
]
]
},
{
- "id": "e7e2a18.77a626",
+ "id": "4d45fe17.38da58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3660.883331298828,
- "y": 1081.8832092285156,
- "z": "4456793a.59a288",
+ "x": 3733.999969482422,
+ "y": 964.9998474121094,
+ "z": "f8944603.71553",
"wires": [
[
- "2a90b49d.030114"
+ "2dfc998d.a2b3e6"
]
]
},
{
- "id": "37185a88.04a7d6",
+ "id": "84478c6a.6d587",
"type": "switchNode",
"name": "switch nr type",
"xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",
"comments": "",
"outputs": 1,
- "x": 3832.883331298828,
- "y": 908.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3957.999969482422,
+ "y": 755.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "b7871daf.9b4e8",
- "5be956df.30349"
+ "be084505.b458",
+ "5b2d2057.dd8c4",
+ "83ce05e.7f315f8"
]
]
},
{
- "id": "2a90b49d.030114",
+ "id": "2dfc998d.a2b3e6",
"type": "switchNode",
"name": "switch nr type",
"xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",
"comments": "",
"outputs": 1,
- "x": 3833.883331298828,
- "y": 1081.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3917.999969482422,
+ "y": 872.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "7b05f3d6.ed8c14",
- "ed6ce3d.aa0b8a"
+ "27a94561.e70e32",
+ "e39a6c9c.1e6dd8",
+ "fe4b773c.0eae98"
]
]
},
{
- "id": "b7871daf.9b4e8",
+ "id": "be084505.b458",
"type": "outcome",
"name": "ROOT",
"xml": "<outcome value='ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4008.883331298828,
- "y": 887.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4079.999969482422,
+ "y": 540.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "52465f0e.0c996"
+ "86b880d.ad45d"
]
]
},
{
- "id": "5be956df.30349",
+ "id": "5b2d2057.dd8c4",
"type": "outcome",
"name": "LEAF",
"xml": "<outcome value='LEAF'>\n",
"comments": "",
"outputs": 1,
- "x": 4010.883331298828,
- "y": 941.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4081.999969482422,
+ "y": 594.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "98cbb890.5e8b88"
+ "10eaea8a.998afd"
]
]
},
{
- "id": "7b05f3d6.ed8c14",
+ "id": "27a94561.e70e32",
"type": "outcome",
"name": "ROOT",
"xml": "<outcome value='ROOT'>\n",
"comments": "",
"outputs": 1,
- "x": 4009.883331298828,
- "y": 1051.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4099,
+ "y": 811,
+ "z": "f8944603.71553",
"wires": [
[
- "d0104e32.ac2ab8"
+ "e84921e.f8ecce"
]
]
},
{
- "id": "ed6ce3d.aa0b8a",
+ "id": "e39a6c9c.1e6dd8",
"type": "outcome",
"name": "LEAF",
"xml": "<outcome value='LEAF'>\n",
"comments": "",
"outputs": 1,
- "x": 4011.883331298828,
- "y": 1105.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4101,
+ "y": 865,
+ "z": "f8944603.71553",
"wires": [
[
- "8e259d5c.262c5"
+ "b7ebf9b7.e2f348"
]
]
},
{
- "id": "c68d1d99.71ec4",
+ "id": "4ebe65d0.3ec92c",
"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": 4318.883331298828,
- "y": 839.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4389.999969482422,
+ "y": 492.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "97074ecd.08e3c8",
+ "id": "b5b3e89e.18b28",
"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": 4311.883331298828,
- "y": 937.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4382.999969482422,
+ "y": 590.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "be8be686.f85c68",
+ "id": "81270995.5d712",
"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": 4311.883331298828,
- "y": 1024.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4401,
+ "y": 784,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "3fa3de22.b5b33a",
+ "id": "7db54dd4.f36624",
"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": 4315.883331298828,
- "y": 1117.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4405,
+ "y": 877,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "bd818350.b1a8a8",
+ "id": "3464c217.ddf82e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3542.883331298828,
- "y": 1526.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3548,
+ "y": 1549,
+ "z": "f8944603.71553",
"wires": [
[
- "56ff5ea8.b777"
+ "5c2f3801.4eed3"
]
]
},
{
- "id": "ec755270.8f35e8",
+ "id": "e12bcc6e.caae8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3552.374298095703,
- "y": 1569.4573669433594,
- "z": "4456793a.59a288",
+ "x": 3557.490966796875,
+ "y": 1591.5740356445312,
+ "z": "f8944603.71553",
"wires": [
[
- "e382dfde.5b31d8"
+ "fb3f4046.01bc4"
]
]
},
{
- "id": "c9437d33.ef4e6",
+ "id": "a3a68564.d1334",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3540.883331298828,
- "y": 1615.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3546,
+ "y": 1638,
+ "z": "f8944603.71553",
"wires": [
[
- "f857e1e2.07be58"
+ "9f68f9be.d7aab8"
]
]
},
{
- "id": "5760f0e8.25dba",
+ "id": "8a9b7f74.e3a568",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 3242.883331298828,
- "y": 1488.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3248,
+ "y": 1511,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "15698ad5.b40d3d",
+ "id": "22efa8c9.c8576",
"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": 3285.883331298828,
- "y": 1553.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3291,
+ "y": 1576,
+ "z": "f8944603.71553",
"wires": [
[
- "bd818350.b1a8a8",
- "ec755270.8f35e8",
- "c9437d33.ef4e6"
+ "3464c217.ddf82e",
+ "e12bcc6e.caae8",
+ "a3a68564.d1334"
]
]
},
{
- "id": "746b18d4.be3d18",
+ "id": "55e39af5.a2b61c",
"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": 3286.883331298828,
- "y": 1223.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3292,
+ "y": 1246,
+ "z": "f8944603.71553",
"wires": [
[
- "16a316bf.36aa51",
- "5dc43b13.af0e5c"
+ "cbe70d53.b79168",
+ "9e0cb899.0e0f"
]
]
},
{
- "id": "5dc43b13.af0e5c",
+ "id": "9e0cb899.0e0f",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3509.883331298828,
- "y": 1209.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3512.999969482422,
+ "y": 1298.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "4015e76.5fd6098"
+ "300fab87.54654c"
]
]
},
{
- "id": "16a316bf.36aa51",
+ "id": "cbe70d53.b79168",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3511.883331298828,
- "y": 1242.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3514.999969482422,
+ "y": 1331.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "f3f89c52.21e5b8"
+ "ad0b83ff.4cb308"
]
]
},
{
- "id": "56ff5ea8.b777",
+ "id": "5c2f3801.4eed3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3715.549835205078,
- "y": 1525.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3720.66650390625,
+ "y": 1548,
+ "z": "f8944603.71553",
"wires": [
[
- "286978b9.608f5",
- "e1e71113.50d348"
+ "fe2c6692.47101",
+ "9af14a91.b12a68"
]
]
},
{
- "id": "e382dfde.5b31d8",
+ "id": "fb3f4046.01bc4",
"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": 3705.9457092285156,
- "y": 1572.7431030273438,
- "z": "4456793a.59a288",
+ "x": 3711.0623779296875,
+ "y": 1594.8597717285156,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "f857e1e2.07be58",
+ "id": "9f68f9be.d7aab8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3709.883331298828,
- "y": 1616.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3715,
+ "y": 1639,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "286978b9.608f5",
+ "id": "fe2c6692.47101",
"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": 3979.883331298828,
- "y": 1509.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3985,
+ "y": 1532,
+ "z": "f8944603.71553",
"wires": [
[
- "5b0e63ee.a3ecd4",
- "22c0e5a9.26fd0a"
+ "37956c14.cf1964",
+ "7f26a273.a5f25c"
]
]
},
{
- "id": "22c0e5a9.26fd0a",
+ "id": "7f26a273.a5f25c",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4202.883331298828,
- "y": 1464.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4208,
+ "y": 1487,
+ "z": "f8944603.71553",
"wires": [
[
- "bad02ed0.d565e8"
+ "d180abab.fe69a"
]
]
},
{
- "id": "5b0e63ee.a3ecd4",
+ "id": "37956c14.cf1964",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4204.883331298828,
- "y": 1528.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4210,
+ "y": 1551,
+ "z": "f8944603.71553",
"wires": [
[
- "cba8e08.e7cb12"
+ "11875f6b.e538c1"
]
]
},
{
- "id": "cba8e08.e7cb12",
+ "id": "11875f6b.e538c1",
"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": 4366.883331298828,
- "y": 1524.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4372,
+ "y": 1547,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "bad02ed0.d565e8",
+ "id": "d180abab.fe69a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4367.883331298828,
- "y": 1461.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4373,
+ "y": 1484,
+ "z": "f8944603.71553",
"wires": [
[
- "14c7dbb3.7bb934",
- "ad8d4f98.026b1"
+ "c42ee54d.ec9ea",
+ "e2dee17e.90746"
]
]
},
{
- "id": "b0538c9f.9cd51",
- "type": "save",
- "name": "save connectivity resource in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
- "comments": "",
- "outputs": 1,
- "x": 3981.883331298828,
- "y": 1668.8833312988281,
- "z": "4456793a.59a288",
- "wires": [
- []
- ]
- },
- {
- "id": "4ca2f9ab.45ab7",
- "type": "execute",
- "name": "execute UUID generator for connectivity domainA",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 4026.883331298828,
- "y": 1578.8833312988281,
- "z": "4456793a.59a288",
- "wires": [
- []
- ]
- },
- {
- "id": "ecb8fc16.8423f8",
- "type": "save",
- "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
- "comments": "",
- "outputs": 1,
- "x": 4109.883331298828,
- "y": 1716.8833312988281,
- "z": "4456793a.59a288",
- "wires": [
- []
- ]
- },
- {
- "id": "f3f89c52.21e5b8",
+ "id": "ad0b83ff.4cb308",
"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": 3654.883331298828,
- "y": 1239.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3657.999969482422,
+ "y": 1328.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "4015e76.5fd6098",
+ "id": "300fab87.54654c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3657.883331298828,
- "y": 1202.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3660.999969482422,
+ "y": 1291.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "ebd7b0f3.96fde8",
- "1cc07a61.1b7696"
+ "844bb618.6c32e8",
+ "99a55ff.3057da"
]
]
},
{
- "id": "ebd7b0f3.96fde8",
+ "id": "844bb618.6c32e8",
"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": 3831.883331298828,
- "y": 1158.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3834.999969482422,
+ "y": 1247.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "e1e71113.50d348",
+ "id": "9af14a91.b12a68",
"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": 3933.883331298828,
- "y": 1793.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3933.999969482422,
+ "y": 1641.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "bc68df19.413ab"
+ "1b19176e.822411"
]
]
},
{
- "id": "bc68df19.413ab",
+ "id": "1b19176e.822411",
"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": 4139.883331298828,
- "y": 1793.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4139.999969482422,
+ "y": 1641.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "50ca2971.ea36d8"
+ "c875ac48.6e9"
]
]
},
{
- "id": "50ca2971.ea36d8",
+ "id": "c875ac48.6e9",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 4355.168975830078,
- "y": 1793.7051086425781,
- "z": "4456793a.59a288",
+ "x": 4355.285614013672,
+ "y": 1641.8217468261719,
+ "z": "f8944603.71553",
"wires": [
[
- "9aafd9b7.eaf6"
+ "6e0bf03.4de201"
]
]
},
{
- "id": "1cc07a61.1b7696",
+ "id": "99a55ff.3057da",
"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": 3846.883331298828,
- "y": 1269.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3849.999969482422,
+ "y": 1358.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "502e27f2.360128",
- "613a0c37.ee93fc",
- "15983fe1.c65378"
+ "26c5a31d.0e26c4",
+ "1dba38b8.e09647",
+ "703777cb.7523f"
]
]
},
{
- "id": "502e27f2.360128",
+ "id": "26c5a31d.0e26c4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4042.3834533691406,
- "y": 1221.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4045.5000915527344,
+ "y": 1310.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "ab759fb6.dae2a8"
+ "3f157e84.d62172"
]
]
},
{
- "id": "613a0c37.ee93fc",
+ "id": "1dba38b8.e09647",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4034.3834533691406,
- "y": 1276.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4037.5000915527344,
+ "y": 1365.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "bc752416.e0cbc"
+ "7126adde.e76d1c"
]
]
},
{
- "id": "15983fe1.c65378",
+ "id": "703777cb.7523f",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4039.3834533691406,
- "y": 1333.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4042.5000915527344,
+ "y": 1422.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "9670670b.649c48"
+ "f85ce86b.434b48"
]
]
},
{
- "id": "9670670b.649c48",
+ "id": "f85ce86b.434b48",
"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": 4191.383453369141,
- "y": 1334.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4194.500091552734,
+ "y": 1423.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "bc752416.e0cbc",
+ "id": "7126adde.e76d1c",
"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": 4202.383453369141,
- "y": 1279.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4205.500091552734,
+ "y": 1368.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "ab759fb6.dae2a8",
+ "id": "3f157e84.d62172",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4186.765777587891,
- "y": 1219.5390014648438,
- "z": "4456793a.59a288",
+ "x": 4189.882415771484,
+ "y": 1308.6556396484375,
+ "z": "f8944603.71553",
"wires": [
[
- "fbc120c8.3124d8"
+ "61a6617b.c1f918"
]
]
},
{
- "id": "fbc120c8.3124d8",
+ "id": "61a6617b.c1f918",
"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": 4370.883331298828,
- "y": 1233.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4373.999969482422,
+ "y": 1322.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "df89787f.a5a578"
+ "c94ffafa.dcbd38"
]
]
},
{
- "id": "ad8d4f98.026b1",
+ "id": "e2dee17e.90746",
"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": 4537.883331298828,
- "y": 1419.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4543,
+ "y": 1442,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "14c7dbb3.7bb934",
+ "id": "c42ee54d.ec9ea",
"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": 4538.883331298828,
- "y": 1527.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4544,
+ "y": 1550,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "832f55b4.d525f",
+ "id": "a1e5e819.9ba388",
"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": 4539.883331298828,
- "y": 1476.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4545,
+ "y": 1499,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "9aafd9b7.eaf6",
+ "id": "6e0bf03.4de201",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4562.000518798828,
- "y": 1794.2236633300781,
- "z": "4456793a.59a288",
+ "x": 4562.117156982422,
+ "y": 1642.3403015136719,
+ "z": "f8944603.71553",
"wires": [
[
- "f4bf2a88.8e07c8",
- "84226d1d.c53f58",
- "5135c34e.c2878c"
+ "663b6226.995afc",
+ "dd7e9ff0.ed3a48",
+ "21e8d5ce.795f42"
]
]
},
{
- "id": "f4bf2a88.8e07c8",
+ "id": "663b6226.995afc",
"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": 4777.000518798828,
- "y": 1756.2236633300781,
- "z": "4456793a.59a288",
+ "x": 4777.117156982422,
+ "y": 1604.3403015136719,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "84226d1d.c53f58",
+ "id": "dd7e9ff0.ed3a48",
"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": 4774.000518798828,
- "y": 1795.2236633300781,
- "z": "4456793a.59a288",
+ "x": 4774.117156982422,
+ "y": 1643.3403015136719,
+ "z": "f8944603.71553",
"wires": [
[
- "9d44e19c.6d7318"
+ "49a01492.84fe34"
]
]
},
{
- "id": "5135c34e.c2878c",
+ "id": "21e8d5ce.795f42",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4729.500518798828,
- "y": 1837.2236633300781,
- "z": "4456793a.59a288",
+ "x": 4729.617156982422,
+ "y": 1685.3403015136719,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "9d44e19c.6d7318",
+ "id": "49a01492.84fe34",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4954.500518798828,
- "y": 1794.2236633300781,
- "z": "4456793a.59a288",
+ "x": 4954.617156982422,
+ "y": 1642.3403015136719,
+ "z": "f8944603.71553",
"wires": [
[
- "29687f0b.c77f5"
+ "292cacf5.882694"
]
]
},
{
- "id": "a2ec001d.4a7fb8",
+ "id": "ccfcf164.268f1",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4768.883331298828,
- "y": 1237.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4774,
+ "y": 1260,
+ "z": "f8944603.71553",
"wires": [
[
- "6f5c9a68.97563c"
+ "c88ef5fa.00d8b"
]
]
},
{
- "id": "6f5c9a68.97563c",
+ "id": "c88ef5fa.00d8b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4945.883331298828,
- "y": 1229.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4951,
+ "y": 1252,
+ "z": "f8944603.71553",
"wires": [
[
- "7ae681af.873ac8",
- "9549ff73.9a1cc8"
+ "889b0a64.f04af",
+ "b7b819bd.9ab3a"
]
]
},
{
- "id": "df89787f.a5a578",
+ "id": "c94ffafa.dcbd38",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4565.883331298828,
- "y": 1233.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4568.999969482422,
+ "y": 1322.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "a2ec001d.4a7fb8",
- "bc76afd9.40381"
+ "ccfcf164.268f1",
+ "109fb904.331fef"
]
]
},
{
- "id": "bc76afd9.40381",
+ "id": "109fb904.331fef",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 4771.883331298828,
- "y": 1311.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4777,
+ "y": 1334,
+ "z": "f8944603.71553",
"wires": [
[
- "1ac8b93a.8f9647"
+ "c72b69fd.2d015"
]
]
},
{
- "id": "1ac8b93a.8f9647",
+ "id": "c72b69fd.2d015",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4948.883331298828,
- "y": 1303.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4954,
+ "y": 1326,
+ "z": "f8944603.71553",
"wires": [
[
- "12ac39b2.69f38e"
+ "7fcaaf72.ffd618"
]
]
},
{
- "id": "29687f0b.c77f5",
+ "id": "292cacf5.882694",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5112.500518798828,
- "y": 1794.2236633300781,
- "z": "4456793a.59a288",
+ "x": 5112.617156982422,
+ "y": 1642.3403015136719,
+ "z": "f8944603.71553",
"wires": [
[
- "6aef1ca3.67a3dc"
+ "63e30873.d5c4b8"
]
]
},
{
- "id": "6aef1ca3.67a3dc",
+ "id": "63e30873.d5c4b8",
"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": 5319.500518798828,
- "y": 1794.2236633300781,
- "z": "4456793a.59a288",
+ "x": 5319.617156982422,
+ "y": 1642.3403015136719,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "9549ff73.9a1cc8",
+ "id": "b7b819bd.9ab3a",
"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": 5153.883331298828,
- "y": 1236.8833312988281,
- "z": "4456793a.59a288",
+ "x": 5159,
+ "y": 1259,
+ "z": "f8944603.71553",
"wires": [
[
- "1ca68d2c.42a1b3",
- "79238f45.d528a",
- "b580a25b.41384"
+ "b062763c.d2a4c",
+ "54b52301.01aeac",
+ "c657b443.273d9"
]
]
},
{
- "id": "7ae681af.873ac8",
+ "id": "889b0a64.f04af",
"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": 5183.883331298828,
- "y": 1184.8833312988281,
- "z": "4456793a.59a288",
+ "x": 5189,
+ "y": 1207,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "1ca68d2c.42a1b3",
+ "id": "b062763c.d2a4c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5363.883331298828,
- "y": 1227.8833312988281,
- "z": "4456793a.59a288",
+ "x": 5369,
+ "y": 1250,
+ "z": "f8944603.71553",
"wires": [
[
- "1cf65ad.e3b2e25"
+ "be5642b7.4ae158"
]
]
},
{
- "id": "79238f45.d528a",
+ "id": "54b52301.01aeac",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5355.883331298828,
- "y": 1282.8833312988281,
- "z": "4456793a.59a288",
+ "x": 5361,
+ "y": 1305,
+ "z": "f8944603.71553",
"wires": [
[
- "55debd4.7dcf144"
+ "4c818fe4.79442"
]
]
},
{
- "id": "b580a25b.41384",
+ "id": "c657b443.273d9",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5360.883331298828,
- "y": 1339.8833312988281,
- "z": "4456793a.59a288",
+ "x": 5366,
+ "y": 1362,
+ "z": "f8944603.71553",
"wires": [
[
- "277b43ae.d3d8bc"
+ "efb52045.6ba93"
]
]
},
{
- "id": "277b43ae.d3d8bc",
+ "id": "efb52045.6ba93",
"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": 5512.883331298828,
- "y": 1340.8833312988281,
- "z": "4456793a.59a288",
+ "x": 5518,
+ "y": 1363,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "55debd4.7dcf144",
+ "id": "4c818fe4.79442",
"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": 5523.883331298828,
- "y": 1285.8833312988281,
- "z": "4456793a.59a288",
+ "x": 5529,
+ "y": 1308,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "1cf65ad.e3b2e25",
+ "id": "be5642b7.4ae158",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5508.265655517578,
- "y": 1225.5390014648438,
- "z": "4456793a.59a288",
+ "x": 5513.38232421875,
+ "y": 1247.6556701660156,
+ "z": "f8944603.71553",
"wires": [
[
- "293b0137.5d1d8e"
+ "6763b660.709548"
]
]
},
{
- "id": "12ac39b2.69f38e",
+ "id": "7fcaaf72.ffd618",
"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": 5183.883331298828,
- "y": 1427.8833312988281,
- "z": "4456793a.59a288",
+ "x": 5189,
+ "y": 1450,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "293b0137.5d1d8e",
+ "id": "6763b660.709548",
"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": 5722.883331298828,
- "y": 1221.8833312988281,
- "z": "4456793a.59a288",
+ "x": 5728,
+ "y": 1244,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "f12c4ac3.acc2d",
+ "id": "1bc82fcd.e38b3",
"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": 4306.883331298828,
- "y": 875.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4377.999969482422,
+ "y": 528.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "23d5a8e8.6a48d8",
+ "id": "1ea9819.2a7577e",
"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": 4297.883331298828,
- "y": 973.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4368.999969482422,
+ "y": 626.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "52465f0e.0c996",
+ "id": "86b880d.ad45d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4131.883331298828,
- "y": 881.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4202.999969482422,
+ "y": 534.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "c68d1d99.71ec4",
- "f12c4ac3.acc2d"
+ "4ebe65d0.3ec92c",
+ "1bc82fcd.e38b3"
]
]
},
{
- "id": "98cbb890.5e8b88",
+ "id": "10eaea8a.998afd",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4137.883331298828,
- "y": 945.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4208.999969482422,
+ "y": 598.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "97074ecd.08e3c8",
- "23d5a8e8.6a48d8"
+ "b5b3e89e.18b28",
+ "1ea9819.2a7577e"
]
]
},
{
- "id": "d0104e32.ac2ab8",
+ "id": "e84921e.f8ecce",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4137.883331298828,
- "y": 1051.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4227,
+ "y": 811,
+ "z": "f8944603.71553",
"wires": [
[
- "be8be686.f85c68",
- "e50dfba7.f60328"
+ "81270995.5d712",
+ "aacd9933.603dc8"
]
]
},
{
- "id": "8e259d5c.262c5",
+ "id": "b7ebf9b7.e2f348",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4140.883331298828,
- "y": 1104.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4230,
+ "y": 864,
+ "z": "f8944603.71553",
"wires": [
[
- "3fa3de22.b5b33a",
- "6c2da806.3569b"
+ "7db54dd4.f36624",
+ "bffe7efa.872038"
]
]
},
{
- "id": "e50dfba7.f60328",
+ "id": "aacd9933.603dc8",
"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": 4297.883331298828,
- "y": 1064.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4387,
+ "y": 824,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "6c2da806.3569b",
+ "id": "bffe7efa.872038",
"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": 4300.883331298828,
- "y": 1155.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4390,
+ "y": 915,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "b9324a20.74a63",
+ "id": "786dd6d1.bb9f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3672.883331298828,
- "y": 2365.883331298828,
- "z": "4456793a.59a288",
+ "x": 3681.999969482422,
+ "y": 2041.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "f10be91.1b09d98",
- "d09bd461.c7ba88"
+ "ced1d6e7.1761a",
+ "debfaec3.11449"
]
]
},
{
- "id": "56bce95e.90bfe",
+ "id": "4b469f00.bbd698",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3500.216827392578,
- "y": 2366.883331298828,
- "z": "4456793a.59a288",
+ "x": 3509.333465576172,
+ "y": 2042.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "b9324a20.74a63"
+ "786dd6d1.bb9f"
]
]
},
{
- "id": "aea1bf99.8fdcc",
+ "id": "abe29976.f7b82",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3509.707794189453,
- "y": 2409.4573669433594,
- "z": "4456793a.59a288",
+ "x": 3518.824432373047,
+ "y": 2085.574005126953,
+ "z": "f8944603.71553",
"wires": [
[
- "29a46b5c.88b5bc"
+ "fd5b7bb5.9eb778"
]
]
},
{
- "id": "87e0206.8796c6",
+ "id": "df5e24e1.4bbfc8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3498.216827392578,
- "y": 2455.883331298828,
- "z": "4456793a.59a288",
+ "x": 3507.333465576172,
+ "y": 2131.999969482422,
+ "z": "f8944603.71553",
"wires": [
[
- "1d955e57.2601ca"
+ "8efc96df.7aca9"
]
]
},
{
- "id": "29a46b5c.88b5bc",
+ "id": "fd5b7bb5.9eb778",
"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": 3663.2792053222656,
- "y": 2412.7431030273438,
- "z": "4456793a.59a288",
+ "x": 3672.3958435058594,
+ "y": 2088.8597412109375,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "1d955e57.2601ca",
+ "id": "8efc96df.7aca9",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3667.216827392578,
- "y": 2456.883331298828,
- "z": "4456793a.59a288",
+ "x": 3676.333465576172,
+ "y": 2132.999969482422,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "f10be91.1b09d98",
+ "id": "ced1d6e7.1761a",
"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": 3959.216827392578,
- "y": 2369.8834533691406,
- "z": "4456793a.59a288",
+ "x": 3968.333465576172,
+ "y": 2046.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "fda7c536.3acee",
- "c79b96a2.97ef58"
+ "8ff8205e.94493",
+ "d23599ca.696b88"
]
]
},
{
- "id": "c79b96a2.97ef58",
+ "id": "d23599ca.696b88",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4182.216827392578,
- "y": 2324.8834533691406,
- "z": "4456793a.59a288",
+ "x": 4191.333465576172,
+ "y": 2001.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "81ad908f.6a16e"
+ "9c58fe22.c1b4f8"
]
]
},
{
- "id": "fda7c536.3acee",
+ "id": "8ff8205e.94493",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4184.216827392578,
- "y": 2388.8834533691406,
- "z": "4456793a.59a288",
+ "x": 4193.333465576172,
+ "y": 2065.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "e8b14d91.9e5c88"
+ "f9f53a1b.e6879"
]
]
},
{
- "id": "e8b14d91.9e5c88",
+ "id": "f9f53a1b.e6879",
"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": 4343.216827392578,
- "y": 2407.8834533691406,
- "z": "4456793a.59a288",
+ "x": 4352.333465576172,
+ "y": 2084.0000915527344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "81ad908f.6a16e",
+ "id": "9c58fe22.c1b4f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4347.216827392578,
- "y": 2321.8834533691406,
- "z": "4456793a.59a288",
+ "x": 4356.333465576172,
+ "y": 1998.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "cad9326b.b2da",
- "3eb5f127.732d1e"
+ "a3891ddf.35707",
+ "dedb2135.03f5b8"
]
]
},
{
- "id": "cf8b334d.12d69",
- "type": "save",
- "name": "save connectivity resource in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
- "comments": "",
- "outputs": 1,
- "x": 3961.216827392578,
- "y": 2528.8834533691406,
- "z": "4456793a.59a288",
- "wires": [
- []
- ]
- },
- {
- "id": "a51bfc6c.2ab4b",
- "type": "execute",
- "name": "execute UUID generator for connectivity domainB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 4006.216827392578,
- "y": 2438.8834533691406,
- "z": "4456793a.59a288",
- "wires": [
- []
- ]
- },
- {
- "id": "5d70457e.e444e4",
- "type": "save",
- "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
- "comments": "",
- "outputs": 1,
- "x": 4088.216827392578,
- "y": 2593.8834533691406,
- "z": "4456793a.59a288",
- "wires": [
- []
- ]
- },
- {
- "id": "ff1965cc.9c6318",
+ "id": "b18620c8.640928",
"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": 3272.216827392578,
- "y": 2401.883331298828,
- "z": "4456793a.59a288",
+ "x": 3281.333465576172,
+ "y": 2077.999969482422,
+ "z": "f8944603.71553",
"wires": [
[
- "56bce95e.90bfe",
- "aea1bf99.8fdcc",
- "87e0206.8796c6"
+ "4b469f00.bbd698",
+ "abe29976.f7b82",
+ "df5e24e1.4bbfc8"
]
]
},
{
- "id": "e04ad761.fdc11",
+ "id": "2363f2d1.c22566",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 3233.216827392578,
- "y": 2345.883331298828,
- "z": "4456793a.59a288",
+ "x": 3242.333465576172,
+ "y": 2021.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "3d22a200.42e29e",
+ "id": "d6e1611b.9ddcf",
"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": 3290.216827392578,
- "y": 2064.8832092285156,
- "z": "4456793a.59a288",
+ "x": 3301.333465576172,
+ "y": 1817.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "f0778891.f400f",
- "2be980fe.83d6b8"
+ "cf2f2f41.e3b378",
+ "39e668ff.f44578"
]
]
},
{
- "id": "2be980fe.83d6b8",
+ "id": "39e668ff.f44578",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3513.216827392578,
- "y": 2050.8832092285156,
- "z": "4456793a.59a288",
+ "x": 3524.333465576172,
+ "y": 1803.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "1ec9f8d.bab6807"
+ "a19c910d.573ee"
]
]
},
{
- "id": "f0778891.f400f",
+ "id": "cf2f2f41.e3b378",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3515.216827392578,
- "y": 2083.8832092285156,
- "z": "4456793a.59a288",
+ "x": 3526.333465576172,
+ "y": 1836.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "45edb459.c45c8c"
+ "13f310d4.058aff"
]
]
},
{
- "id": "45edb459.c45c8c",
+ "id": "13f310d4.058aff",
"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": 3658.216827392578,
- "y": 2080.8832092285156,
- "z": "4456793a.59a288",
+ "x": 3669.333465576172,
+ "y": 1833.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "1ec9f8d.bab6807",
+ "id": "a19c910d.573ee",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3661.216827392578,
- "y": 2043.8832092285156,
- "z": "4456793a.59a288",
+ "x": 3672.333465576172,
+ "y": 1796.9999694824219,
+ "z": "f8944603.71553",
"wires": [
[
- "8bf99b8b.4af368",
- "57c842ba.83379c"
+ "f7d74c47.1bc978",
+ "f5bac544.61fa48"
]
]
},
{
- "id": "8bf99b8b.4af368",
+ "id": "f7d74c47.1bc978",
"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": 3855.216827392578,
- "y": 2046.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3866.333465576172,
+ "y": 1800.0000915527344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "d09bd461.c7ba88",
+ "id": "debfaec3.11449",
"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": 3918.216827392578,
- "y": 2678.883331298828,
- "z": "4456793a.59a288",
+ "x": 3919.3334350585938,
+ "y": 2168.9999389648438,
+ "z": "f8944603.71553",
"wires": [
[
- "adbd165.7c69a68"
+ "9615e6c.711fd18"
]
]
},
{
- "id": "adbd165.7c69a68",
+ "id": "9615e6c.711fd18",
"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": 4124.216827392578,
- "y": 2678.883331298828,
- "z": "4456793a.59a288",
+ "x": 4125.333435058594,
+ "y": 2168.9999389648438,
+ "z": "f8944603.71553",
"wires": [
[
- "9b58a38.dc3806"
+ "cbe4341f.004078"
]
]
},
{
- "id": "9b58a38.dc3806",
+ "id": "cbe4341f.004078",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 4341.502471923828,
- "y": 2677.705108642578,
- "z": "4456793a.59a288",
+ "x": 4342.619079589844,
+ "y": 2167.8217163085938,
+ "z": "f8944603.71553",
"wires": [
[
- "ec0e6199.3c529"
+ "c7f950c4.309208"
]
]
},
{
- "id": "57c842ba.83379c",
+ "id": "f5bac544.61fa48",
"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": 3877.216827392578,
- "y": 2114.883331298828,
- "z": "4456793a.59a288",
+ "x": 3888.333465576172,
+ "y": 1868.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "34626e8a.0bbe1a",
- "390dcffe.f00898",
- "4d1fe4fe.2890ec"
+ "2c3b0cc0.e9a8bc",
+ "964d0d68.ea7238",
+ "c9fecb15.92dc4"
]
]
},
{
- "id": "34626e8a.0bbe1a",
+ "id": "2c3b0cc0.e9a8bc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4072.7169494628906,
- "y": 2066.883331298828,
- "z": "4456793a.59a288",
+ "x": 4083.8335876464844,
+ "y": 1820.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "95be6ff8.bea0e"
+ "d8e08a6a.bad6c"
]
]
},
{
- "id": "390dcffe.f00898",
+ "id": "964d0d68.ea7238",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4064.7169494628906,
- "y": 2121.883331298828,
- "z": "4456793a.59a288",
+ "x": 4075.8335876464844,
+ "y": 1875.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "46312f08.59959"
+ "30330606.c5c78a"
]
]
},
{
- "id": "4d1fe4fe.2890ec",
+ "id": "c9fecb15.92dc4",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4069.7169494628906,
- "y": 2178.883331298828,
- "z": "4456793a.59a288",
+ "x": 4080.8335876464844,
+ "y": 1932.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "15450853.01aa88"
+ "7d5217b1.764cf"
]
]
},
{
- "id": "15450853.01aa88",
+ "id": "7d5217b1.764cf",
"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": 4221.716949462891,
- "y": 2179.883331298828,
- "z": "4456793a.59a288",
+ "x": 4232.833587646484,
+ "y": 1933.0000915527344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "46312f08.59959",
+ "id": "30330606.c5c78a",
"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": 4232.716949462891,
- "y": 2124.883331298828,
- "z": "4456793a.59a288",
+ "x": 4243.833587646484,
+ "y": 1878.0000915527344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "95be6ff8.bea0e",
+ "id": "d8e08a6a.bad6c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4217.099273681641,
- "y": 2064.5390014648438,
- "z": "4456793a.59a288",
+ "x": 4228.215911865234,
+ "y": 1817.65576171875,
+ "z": "f8944603.71553",
"wires": [
[
- "691678af.c2875"
+ "57c065bf.a4bd5c"
]
]
},
{
- "id": "cad9326b.b2da",
+ "id": "a3891ddf.35707",
"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": 4517.216827392578,
- "y": 2282.8834533691406,
- "z": "4456793a.59a288",
+ "x": 4526.333465576172,
+ "y": 1959.0000915527344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "3eb5f127.732d1e",
+ "id": "dedb2135.03f5b8",
"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": 4518.216827392578,
- "y": 2387.8834533691406,
- "z": "4456793a.59a288",
+ "x": 4527.333465576172,
+ "y": 2064.0000915527344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "bf01d807.ca2a6",
+ "id": "cd4b037.d584a",
"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": 4513.216827392578,
- "y": 2336.8834533691406,
- "z": "4456793a.59a288",
+ "x": 4522.333465576172,
+ "y": 2013.0000915527344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "ec0e6199.3c529",
+ "id": "c7f950c4.309208",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4548.334014892578,
- "y": 2667.2237854003906,
- "z": "4456793a.59a288",
+ "x": 4549.450622558594,
+ "y": 2157.3403930664062,
+ "z": "f8944603.71553",
"wires": [
[
- "310c30a2.98cdd8",
- "f852afcd.3e249",
- "77117052.72541"
+ "dd90bf13.7024b8",
+ "71302a26.8b2194",
+ "1d143619.b4c942"
]
]
},
{
- "id": "310c30a2.98cdd8",
+ "id": "dd90bf13.7024b8",
"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": 4763.334014892578,
- "y": 2629.2237854003906,
- "z": "4456793a.59a288",
+ "x": 4764.450622558594,
+ "y": 2119.3403930664062,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "f852afcd.3e249",
+ "id": "71302a26.8b2194",
"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": 4760.334014892578,
- "y": 2668.2237854003906,
- "z": "4456793a.59a288",
+ "x": 4761.450622558594,
+ "y": 2158.3403930664062,
+ "z": "f8944603.71553",
"wires": [
[
- "8dd58be1.de6918"
+ "d8986410.1ab67"
]
]
},
{
- "id": "77117052.72541",
+ "id": "1d143619.b4c942",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4715.834014892578,
- "y": 2710.2237854003906,
- "z": "4456793a.59a288",
+ "x": 4716.950622558594,
+ "y": 2200.3403930664062,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "8dd58be1.de6918",
+ "id": "d8986410.1ab67",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4940.834014892578,
- "y": 2667.2237854003906,
- "z": "4456793a.59a288",
+ "x": 4941.950622558594,
+ "y": 2157.3403930664062,
+ "z": "f8944603.71553",
"wires": [
[
- "bf6de4b9.07a8d8"
+ "ce977a1e.eca43"
]
]
},
{
- "id": "bf6de4b9.07a8d8",
+ "id": "ce977a1e.eca43",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5098.834014892578,
- "y": 2667.2237854003906,
- "z": "4456793a.59a288",
+ "x": 5099.950622558594,
+ "y": 2157.3403930664062,
+ "z": "f8944603.71553",
"wires": [
[
- "4337b0b8.5fd258"
+ "fad51809.c9b758"
]
]
},
{
- "id": "4337b0b8.5fd258",
+ "id": "fad51809.c9b758",
"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": 5305.834014892578,
- "y": 2667.2237854003906,
- "z": "4456793a.59a288",
+ "x": 5306.950622558594,
+ "y": 2157.3403930664062,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "290c1291.0be836",
+ "id": "3e817052.af0e48",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4799.216827392578,
- "y": 2082.883331298828,
- "z": "4456793a.59a288",
+ "x": 4810.333465576172,
+ "y": 1836.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "4a42d224.6e916c"
+ "41d964fa.bed18c"
]
]
},
{
- "id": "4a42d224.6e916c",
+ "id": "41d964fa.bed18c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4976.216827392578,
- "y": 2074.883331298828,
- "z": "4456793a.59a288",
+ "x": 4987.333465576172,
+ "y": 1828.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "44500a36.8314c4",
- "edf4775.6feec88"
+ "286abe4.161a1c2",
+ "51859ea0.e5a788"
]
]
},
{
- "id": "691678af.c2875",
+ "id": "57c065bf.a4bd5c",
"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": 4401.216827392578,
- "y": 2078.883331298828,
- "z": "4456793a.59a288",
+ "x": 4412.333465576172,
+ "y": 1832.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "e26ac43.7b22838"
+ "89b46226.1281f"
]
]
},
{
- "id": "e26ac43.7b22838",
+ "id": "89b46226.1281f",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4596.216827392578,
- "y": 2078.883331298828,
- "z": "4456793a.59a288",
+ "x": 4607.333465576172,
+ "y": 1832.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "290c1291.0be836",
- "91efe90a.a989f"
+ "3e817052.af0e48",
+ "56bdf4f5.249c24"
]
]
},
{
- "id": "edf4775.6feec88",
+ "id": "51859ea0.e5a788",
"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": 5184.216827392578,
- "y": 2081.883331298828,
- "z": "4456793a.59a288",
+ "x": 5195.333465576172,
+ "y": 1835.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "ccc8d651.608a58",
- "4c1a6f18.7cad4",
- "d7a69532.21f81"
+ "d1ce3d2f.531928",
+ "ba2a8dba.a8d52",
+ "4ba192d1.030d84"
]
]
},
{
- "id": "1e83e9df.5f1ca6",
+ "id": "f8a3b14d.675a5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4978.216827392578,
- "y": 2147.883331298828,
- "z": "4456793a.59a288",
+ "x": 4989.333465576172,
+ "y": 1901.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "36af6584.4e4842"
+ "25c16268.66f006"
]
]
},
{
- "id": "91efe90a.a989f",
+ "id": "56bdf4f5.249c24",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 4801.216827392578,
- "y": 2155.883331298828,
- "z": "4456793a.59a288",
+ "x": 4812.333465576172,
+ "y": 1909.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "1e83e9df.5f1ca6"
+ "f8a3b14d.675a5"
]
]
},
{
- "id": "44500a36.8314c4",
+ "id": "286abe4.161a1c2",
"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": 5214.216827392578,
- "y": 2029.8833312988281,
- "z": "4456793a.59a288",
+ "x": 5225.333465576172,
+ "y": 1783.0000915527344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "36af6584.4e4842",
+ "id": "25c16268.66f006",
"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": 5213.216827392578,
- "y": 2271.883331298828,
- "z": "4456793a.59a288",
+ "x": 5224.333465576172,
+ "y": 2025.0000915527344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "ccc8d651.608a58",
+ "id": "d1ce3d2f.531928",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5394.216827392578,
- "y": 2072.883331298828,
- "z": "4456793a.59a288",
+ "x": 5405.333465576172,
+ "y": 1826.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "39681472.975784"
+ "9d788655.20f98"
]
]
},
{
- "id": "4c1a6f18.7cad4",
+ "id": "ba2a8dba.a8d52",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5386.216827392578,
- "y": 2127.883331298828,
- "z": "4456793a.59a288",
+ "x": 5397.333465576172,
+ "y": 1881.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "bc7c4cb6.e261e8"
+ "96363bdc.091"
]
]
},
{
- "id": "d7a69532.21f81",
+ "id": "4ba192d1.030d84",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5391.216827392578,
- "y": 2184.883331298828,
- "z": "4456793a.59a288",
+ "x": 5402.333465576172,
+ "y": 1938.0000915527344,
+ "z": "f8944603.71553",
"wires": [
[
- "10a038dd.f22947"
+ "6a0588e1.3fd2b8"
]
]
},
{
- "id": "10a038dd.f22947",
+ "id": "6a0588e1.3fd2b8",
"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": 5543.216827392578,
- "y": 2185.883331298828,
- "z": "4456793a.59a288",
+ "x": 5554.333465576172,
+ "y": 1939.0000915527344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "bc7c4cb6.e261e8",
+ "id": "96363bdc.091",
"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": 5554.216827392578,
- "y": 2130.883331298828,
- "z": "4456793a.59a288",
+ "x": 5565.333465576172,
+ "y": 1884.0000915527344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "39681472.975784",
+ "id": "9d788655.20f98",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5538.599151611328,
- "y": 2070.5390014648438,
- "z": "4456793a.59a288",
+ "x": 5549.715789794922,
+ "y": 1823.65576171875,
+ "z": "f8944603.71553",
"wires": [
[
- "19f3508c.df2467"
+ "f42174ac.a42b5"
]
]
},
{
- "id": "19f3508c.df2467",
+ "id": "f42174ac.a42b5",
"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": 5753.216827392578,
- "y": 2066.883331298828,
- "z": "4456793a.59a288",
+ "x": 5764.333465576172,
+ "y": 1820.0000915527344,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "a8011cb7.dd8288",
+ "id": "11e0f934.faeab7",
"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": 3251.883331298828,
- "y": 1676.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3248.999969482422,
+ "y": 1638.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "48c20a24.e1d944",
+ "id": "87d62238.4ede38",
"type": "comment",
"name": "This is it (should be)",
"info": "",
"comments": "",
- "x": 4473.883331298828,
- "y": 959.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4544.999969482422,
+ "y": 612.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "33f8c668.c00922",
+ "id": "da6b2335.2cb2",
"type": "comment",
"name": "This is it (should be)",
"info": "",
"comments": "",
- "x": 4465.883331298828,
- "y": 1049.8833312988281,
- "z": "4456793a.59a288",
+ "x": 4555,
+ "y": 809,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "60be6b60.c49e7c",
+ "id": "b71f57a7.e2a288",
"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": 3232.883331298828,
- "y": 2532.883331298828,
- "z": "4456793a.59a288",
+ "x": 3251.9999389648438,
+ "y": 2146.9999389648438,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "77fe2bdc.eed0c4",
+ "id": "f7d11626.bd108",
"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": 3383.883331298828,
- "y": 2780.883331298828,
- "z": "4456793a.59a288",
+ "x": 3389,
+ "y": 2803,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "c658e7ef.0b11d8",
+ "id": "7d22810d.66642",
"type": "switchNode",
"name": "switch found-middle-man?",
"xml": "<switch test='`$found-middle-man`'>\n",
"comments": "",
"outputs": 1,
- "x": 3260.883331298828,
- "y": 2890.883331298828,
- "z": "4456793a.59a288",
+ "x": 3266,
+ "y": 2913,
+ "z": "f8944603.71553",
"wires": [
[
- "5eb047e9.2f7668",
- "a0bb1c61.b88728"
+ "74458dfb.e82acc",
+ "6d43d493.c2ab14"
]
]
},
{
- "id": "5eb047e9.2f7668",
+ "id": "74458dfb.e82acc",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3444.883331298828,
- "y": 2869.883331298828,
- "z": "4456793a.59a288",
+ "x": 3450,
+ "y": 2892,
+ "z": "f8944603.71553",
"wires": [
[
- "fb1841e2.6264"
+ "bd8c7362.5e86a8"
]
]
},
{
- "id": "a0bb1c61.b88728",
+ "id": "6d43d493.c2ab14",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3336.883331298828,
- "y": 5047.883331298828,
- "z": "4456793a.59a288",
+ "x": 3342,
+ "y": 5070,
+ "z": "f8944603.71553",
"wires": [
[
- "4d88182e.2579a"
+ "f235a0e0.02a8"
]
]
},
{
- "id": "4d88182e.2579a",
+ "id": "f235a0e0.02a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3491.883331298828,
- "y": 5040.883331298828,
- "z": "4456793a.59a288",
+ "x": 3497,
+ "y": 5063,
+ "z": "f8944603.71553",
"wires": [
[
- "44d48088.590d78",
- "a2dd9c19.75287",
- "906b118c.b5ca4",
- "80cc4c1e.a6bfe",
- "3d1de5ec.2ac45a"
+ "69d3ed18.577c3c",
+ "f2a7dc4a.68ede",
+ "a789852e.51cd48",
+ "434bd8c2.bae4f8",
+ "cd1fc06c.124968",
+ "c32fbe2a.4ce3f"
]
]
},
{
- "id": "fb1841e2.6264",
+ "id": "bd8c7362.5e86a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3587.883331298828,
- "y": 2869.883331298828,
- "z": "4456793a.59a288",
+ "x": 3593,
+ "y": 2892,
+ "z": "f8944603.71553",
"wires": [
[
- "e6eab534.0772a8",
- "b10b9835.71fc5",
- "9c84ab4f.a1a008",
- "50925bce.958aec",
- "eab645cb.c973",
- "74310cc1.794b3c",
- "b442de01.03d108",
- "a559e6ec.97fea8",
- "c65cb0db.1db578",
- "c0792f26.4d13b8",
- "e82ea719.e6f068",
- "c4a1bace.0d4bb",
- "8f561f42.000fe8",
- "aa738c85.1c137",
- "54d18bcb.0986c4",
- "4494cc45.3ce764",
- "b937ed07.a77618",
- "d5c180c8.9f0b08",
- "123d53b6.2c62dc"
+ "edf6563f.502118",
+ "59e68189.ade8e8",
+ "39d89d00.a48b3c",
+ "f51c657e.c3fcc8",
+ "3b5e2d55.c49c42",
+ "c40c923d.ffb318",
+ "3d1335ab.d13122",
+ "441ba30c.ae2a1c",
+ "5bfaebb4.b0d114",
+ "32f3c697.c51f22",
+ "f60b0d1b.343218",
+ "51fbee04.79f4f",
+ "a2a5771a.032e88",
+ "a39c337f.4b8598",
+ "f9369eb9.dd61b",
+ "dad20130.739d78",
+ "124ab46d.2d752c",
+ "fdfcc8c4.b3e8a8",
+ "8b9dcfa3.01c508",
+ "87dcb71b.a618f",
+ "286f0ec8.852352",
+ "2bbca6cc.0ec622"
]
]
},
{
- "id": "c65cb0db.1db578",
+ "id": "5bfaebb4.b0d114",
"type": "execute",
"name": "execute UUID generator for connectivity domainB",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3898.883331298828,
- "y": 3224.883331298828,
- "z": "4456793a.59a288",
+ "x": 3903,
+ "y": 3207,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "e6eab534.0772a8",
+ "id": "edf6563f.502118",
"type": "save",
"name": "save connectivity resource in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!-- key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 3852.883331298828,
- "y": 3322.883331298828,
- "z": "4456793a.59a288",
+ "x": 3851,
+ "y": 3249,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "b10b9835.71fc5",
+ "id": "59e68189.ade8e8",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 3988.883331298828,
- "y": 3369.883331298828,
- "z": "4456793a.59a288",
+ "x": 3980,
+ "y": 3291,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "6e8e8040.0d64",
+ "id": "c425c4b.b5f8838",
"type": "comment",
"name": "Create ROOT connectivity",
"info": "",
"comments": "",
- "x": 3819.883331298828,
- "y": 3173.883331298828,
- "z": "4456793a.59a288",
+ "x": 3826,
+ "y": 3166,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "69147836.dfe478",
+ "id": "78e08e98.7c634",
"type": "comment",
"name": "create middle man connectivity and ...",
"info": "1- create middle man connectivity\n2- create relation with all connectivities\n in the path\n3- put srcTtp (+dstTtp) somewhere in the\n vpn-binding -> this is for later on to find\n which OTN tunnel's bandwidth has to be increased.\n5- create UNIs\n4- create relationship to UNIs",
"comments": "",
- "x": 4345.883331298828,
- "y": 3664.883331298828,
- "z": "4456793a.59a288",
+ "x": 4351,
+ "y": 3687,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "9c84ab4f.a1a008",
+ "id": "39d89d00.a48b3c",
"type": "execute",
"name": "execute UUID generator for connectivity middle-man",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-middle-man-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3909.883331298828,
- "y": 3703.883331298828,
- "z": "4456793a.59a288",
+ "x": 3915,
+ "y": 3726,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "50925bce.958aec",
+ "id": "f51c657e.c3fcc8",
"type": "save",
"name": "save connectivity resource in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-middle-man-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-middle-man-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<!--The followings are not needed for the middle-man-connectivity-->\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='mdsc' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 3857.883331298828,
- "y": 3754.883331298828,
- "z": "4456793a.59a288",
+ "x": 3863,
+ "y": 3777,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "eab645cb.c973",
+ "id": "3b5e2d55.c49c42",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-middle-man-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-middle-man-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 3993.883331298828,
- "y": 3801.883331298828,
- "z": "4456793a.59a288",
+ "x": 3999,
+ "y": 3824,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "921a5ccf.2b2f38",
+ "id": "62d7e2a.9cbc61c",
"type": "comment",
"name": "Create MIDDLE-MAN connectivity",
"info": "",
"comments": "",
- "x": 3850.883331298828,
- "y": 3663.883331298828,
- "z": "4456793a.59a288",
+ "x": 3856,
+ "y": 3686,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "8fa15646.014b68",
+ "id": "1f0597e7.f750d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4280.883331298828,
- "y": 3860.883331298828,
- "z": "4456793a.59a288",
+ "x": 4286,
+ "y": 3883,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "74310cc1.794b3c",
+ "id": "c40c923d.ffb318",
"type": "save",
"name": "get middle-man connectivity from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $prop.connectivity-middle-man-uuid\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"middle-man-conn\" >\n",
"comments": "",
"outputs": 1,
- "x": 3871.883331298828,
- "y": 3907.883331298828,
- "z": "4456793a.59a288",
+ "x": 3877,
+ "y": 3930,
+ "z": "f8944603.71553",
"wires": [
[
- "9785079b.24c0f8",
- "81e9c000.43765",
- "377b8f18.e7499"
+ "b2dc6149.43ec28",
+ "f8c162ee.8e2a8",
+ "a8c36503.377908"
]
]
},
{
- "id": "9785079b.24c0f8",
+ "id": "b2dc6149.43ec28",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4118.883331298828,
- "y": 3861.883331298828,
- "z": "4456793a.59a288",
+ "x": 4124,
+ "y": 3884,
+ "z": "f8944603.71553",
"wires": [
[
- "8fa15646.014b68"
+ "1f0597e7.f750d8"
]
]
},
{
- "id": "81e9c000.43765",
+ "id": "f8c162ee.8e2a8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4119.374298095703,
- "y": 3907.4573669433594,
- "z": "4456793a.59a288",
+ "x": 4124.490966796875,
+ "y": 3929.5740356445312,
+ "z": "f8944603.71553",
"wires": [
[
- "b389b203.4af2"
+ "244505cb.7c97da"
]
]
},
{
- "id": "377b8f18.e7499",
+ "id": "a8c36503.377908",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4116.883331298828,
- "y": 3950.883331298828,
- "z": "4456793a.59a288",
+ "x": 4122,
+ "y": 3973,
+ "z": "f8944603.71553",
"wires": [
[
- "7f887f7.029e08"
+ "fac0a6c3.57a578"
]
]
},
{
- "id": "b389b203.4af2",
+ "id": "244505cb.7c97da",
"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": 4281.945709228516,
- "y": 3907.7431030273438,
- "z": "4456793a.59a288",
+ "x": 4287.0623779296875,
+ "y": 3929.8597717285156,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "7f887f7.029e08",
+ "id": "fac0a6c3.57a578",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4285.883331298828,
- "y": 3951.883331298828,
- "z": "4456793a.59a288",
+ "x": 4291,
+ "y": 3974,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "54d18bcb.0986c4",
+ "id": "f9369eb9.dd61b",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 3928.883331298828,
- "y": 4186.883331298828,
- "z": "4456793a.59a288",
+ "x": 3931,
+ "y": 4272,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "4494cc45.3ce764",
+ "id": "dad20130.739d78",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-ROOT, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 3931.883331298828,
- "y": 4231.883331298828,
- "z": "4456793a.59a288",
+ "x": 3934,
+ "y": 4317,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "d5c180c8.9f0b08",
+ "id": "fdfcc8c4.b3e8a8",
"type": "save",
"name": "save middle-man-conn relationship to UNI-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 3920.883331298828,
- "y": 4022.883331298828,
- "z": "4456793a.59a288",
+ "x": 3926,
+ "y": 4045,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "123d53b6.2c62dc",
+ "id": "8b9dcfa3.01c508",
"type": "save",
"name": "save middle-man-conn relationship to UNI-ROOT, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 3922.883331298828,
- "y": 4069.883331298828,
- "z": "4456793a.59a288",
+ "x": 3928,
+ "y": 4092,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "8369bd06.57f78",
+ "id": "ed841a30.7664d",
"type": "comment",
"name": "The following two will be done in F1",
"info": "",
"comments": "",
- "x": 3844.883331298828,
- "y": 4139.883331298828,
- "z": "4456793a.59a288",
+ "x": 3847,
+ "y": 4225,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "487123e4.9cc8ac",
+ "id": "7144ff5f.c519e8",
"type": "save",
"name": "save middle-man-conn relationship to UNI-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 4451.883331298828,
- "y": 4868.883331298828,
- "z": "4456793a.59a288",
+ "x": 4457,
+ "y": 4891,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "44d48088.590d78",
+ "id": "69d3ed18.577c3c",
"type": "switchNode",
"name": "switch no-pce-call",
"xml": "<switch test='`$no-pce-call`'>\n",
"comments": "",
"outputs": 1,
- "x": 3706.883331298828,
- "y": 5021.883331298828,
- "z": "4456793a.59a288",
+ "x": 3712,
+ "y": 5044,
+ "z": "f8944603.71553",
"wires": [
[
- "876b39f.35a52c8",
- "8bc7cacf.04871"
+ "ae7574f4.3ebe3",
+ "8bd2d4fd.8c4f1"
]
]
},
{
- "id": "8bc7cacf.04871",
+ "id": "8bd2d4fd.8c4f1",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3878.883331298828,
- "y": 5018.883331298828,
- "z": "4456793a.59a288",
+ "x": 3884,
+ "y": 5041,
+ "z": "f8944603.71553",
"wires": [
[
- "682f4705.be7878"
+ "439959aa.a8d0e"
]
]
},
{
- "id": "876b39f.35a52c8",
+ "id": "ae7574f4.3ebe3",
"type": "outcomeFalse",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3830.883331298828,
- "y": 5865.883331298828,
- "z": "4456793a.59a288",
+ "x": 3836,
+ "y": 5888,
+ "z": "f8944603.71553",
"wires": [
[
- "dd90ad1a.7eef1"
+ "b05d129.ef1b1f"
]
]
},
{
- "id": "270e251f.118d82",
+ "id": "bbd89123.3c84c8",
"type": "comment",
"name": "1 --> PCE is needed",
"info": "",
"comments": "",
- "x": 3891.883331298828,
- "y": 4988.883331298828,
- "z": "4456793a.59a288",
+ "x": 3897,
+ "y": 5011,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "4e629c01.10676c",
+ "id": "88e636e4.0ad278",
"type": "comment",
"name": "2 --> no need to call PCE",
"info": "",
"comments": "",
- "x": 3901.883331298828,
- "y": 5823.883331298828,
- "z": "4456793a.59a288",
+ "x": 3907,
+ "y": 5846,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "b442de01.03d108",
+ "id": "3d1335ab.d13122",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 3928.883331298828,
- "y": 4295.883331298828,
- "z": "4456793a.59a288",
+ "x": 3930,
+ "y": 4420,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "682f4705.be7878",
+ "id": "439959aa.a8d0e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4054.883331298828,
- "y": 5020.883331298828,
- "z": "4456793a.59a288",
+ "x": 4060,
+ "y": 5043,
+ "z": "f8944603.71553",
"wires": [
[
- "bf69d5f0.d5943",
- "50051e09.5a44c8",
- "d933fbbc.703308",
- "52cab496.bab24c",
- "86c9672.840f818",
- "81a4b89b.48797",
- "487123e4.9cc8ac"
+ "398ca5b9.10ae92",
+ "26315d76.5ba5da",
+ "70413194.4e4218",
+ "36f7b692.fe5f9a",
+ "23762b83.94d65c",
+ "1981b041.f96778",
+ "7144ff5f.c519e8",
+ "d1a4e2c9.15ac9",
+ "24040f90.d6a4"
]
]
},
{
- "id": "b674f25b.3aa2a8",
+ "id": "9b6d23e8.2f4c1",
"type": "comment",
"name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",
"info": "",
"comments": "",
- "x": 5499.883331298828,
- "y": 4493.883331298828,
- "z": "4456793a.59a288",
+ "x": 5505,
+ "y": 4516,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "bf69d5f0.d5943",
+ "id": "398ca5b9.10ae92",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 4446.883331298828,
- "y": 5171.883331298828,
- "z": "4456793a.59a288",
- "wires": [
- []
- ]
- },
- {
- "id": "5c84b550.a10344",
- "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": 3938.883331298828,
- "y": 4350.883331298828,
- "z": "4456793a.59a288",
+ "x": 4438,
+ "y": 5546,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "a559e6ec.97fea8",
+ "id": "441ba30c.ae2a1c",
"type": "save",
"name": "save connectivityB relationship to UNI-ROOT, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 3904.883331298828,
- "y": 3563.883331298828,
- "z": "4456793a.59a288",
+ "x": 3909,
+ "y": 3420,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "ce126dd2.e4e358",
- "type": "save",
- "name": "save connectivityA relationship to UNI-LEAF, in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3364.883331298828,
- "y": 1782.8833312988281,
- "z": "4456793a.59a288",
- "wires": [
- []
- ]
- },
- {
- "id": "b48deb35.d704b8",
- "type": "save",
- "name": "save LEAF UNI in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",
- "comments": "",
- "outputs": 1,
- "x": 3271.883331298828,
- "y": 1729.8833312988281,
- "z": "4456793a.59a288",
- "wires": [
- []
- ]
- },
- {
- "id": "dfa7cbf8.916408",
- "type": "set",
- "name": "set prop.connectivity-domainB-uuid=tmp.ROOT.uni-p-interface-long",
- "xml": "<set>\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />\n",
- "comments": "",
- "x": 3954.883331298828,
- "y": 3266.883331298828,
- "z": "4456793a.59a288",
- "wires": []
- },
- {
- "id": "c0792f26.4d13b8",
+ "id": "32f3c697.c51f22",
"type": "execute",
"name": "execute UUID generator for connectivity domainA",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3901.883331298828,
- "y": 2854.883331298828,
- "z": "4456793a.59a288",
+ "x": 3907,
+ "y": 2877,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "e82ea719.e6f068",
+ "id": "f60b0d1b.343218",
"type": "save",
"name": "save connectivity resource in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 3849.883331298828,
- "y": 2902.883331298828,
- "z": "4456793a.59a288",
+ "x": 3855,
+ "y": 2925,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "c4a1bace.0d4bb",
+ "id": "51fbee04.79f4f",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 3977.883331298828,
- "y": 2949.883331298828,
- "z": "4456793a.59a288",
+ "x": 3983,
+ "y": 2972,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "c598b640.a89e8",
+ "id": "f3326814.1ece9",
"type": "comment",
"name": "Create LEAF connectivity",
"info": "",
"comments": "",
- "x": 3814.883331298828,
- "y": 2812.883331298828,
- "z": "4456793a.59a288",
+ "x": 3820,
+ "y": 2835,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "8f561f42.000fe8",
+ "id": "a2a5771a.032e88",
"type": "save",
"name": "save LEAF UNI in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />",
"comments": "",
"outputs": 1,
- "x": 3811.883331298828,
- "y": 3040.883331298828,
- "z": "4456793a.59a288",
+ "x": 3817,
+ "y": 3063,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "aa738c85.1c137",
+ "id": "a39c337f.4b8598",
"type": "save",
"name": "save connectivityA relationship to UNI-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 3904.883331298828,
- "y": 3093.883331298828,
- "z": "4456793a.59a288",
+ "x": 3910,
+ "y": 3116,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "b51a7f91.5cff9",
+ "id": "71641615.6f44c8",
"type": "comment",
"name": "Create LEAF UNI",
"info": "",
"comments": "",
- "x": 3795.883331298828,
- "y": 2996.883331298828,
- "z": "4456793a.59a288",
+ "x": 3801,
+ "y": 3019,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "4ec3384a.676a5",
+ "id": "11067d29.f83e4b",
"type": "comment",
"name": "Create ROOT UNI",
"info": "",
"comments": "",
- "x": 3801.883331298828,
- "y": 3446.883331298828,
- "z": "4456793a.59a288",
+ "x": 3805,
+ "y": 3335,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "52cab496.bab24c",
+ "id": "36f7b692.fe5f9a",
"type": "save",
"name": "save LEAF UNI in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n",
"comments": "",
"outputs": 1,
- "x": 4368.883331298828,
- "y": 4501.883331298828,
- "z": "4456793a.59a288",
+ "x": 4374,
+ "y": 4524,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "1646f155.836fb7",
+ "id": "fa6ec7f0.b5b858",
"type": "comment",
"name": "Create LEAF UNI",
"info": "",
"comments": "",
- "x": 4352.883331298828,
- "y": 4457.883331298828,
- "z": "4456793a.59a288",
+ "x": 4358,
+ "y": 4480,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "778ce84a.a3568",
+ "id": "87e40dc2.3dae2",
"type": "comment",
"name": "Create LEAF connectivity",
"info": "",
"comments": "",
- "x": 5099.883331298828,
- "y": 4488.883331298828,
- "z": "4456793a.59a288",
+ "x": 5105,
+ "y": 4511,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "b61f10f5.eeecf",
+ "id": "a4406b4c.17bbc",
"type": "execute",
"name": "execute UUID generator for connectivity domainA",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 5186.883331298828,
- "y": 4530.883331298828,
- "z": "4456793a.59a288",
+ "x": 5192,
+ "y": 4553,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "90640d99.12302",
+ "id": "18ca4a3.634f536",
"type": "save",
"name": "save connectivity resource in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$middle-man-conn.etht-svc-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 5134.883331298828,
- "y": 4578.883331298828,
- "z": "4456793a.59a288",
+ "x": 5140,
+ "y": 4601,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "42e8372d.d506e",
+ "id": "b4f57662.21d798",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 5262.883331298828,
- "y": 4625.883331298828,
- "z": "4456793a.59a288",
+ "x": 5268,
+ "y": 4648,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "81a4b89b.48797",
+ "id": "1981b041.f96778",
"type": "save",
"name": "save connectivityA relationship to UNI-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 4439.883331298828,
- "y": 4910.883331298828,
- "z": "4456793a.59a288",
+ "x": 4445,
+ "y": 4933,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "a53bc0fc.34d448",
+ "id": "1ff0ab3b.554fd5",
"type": "comment",
"name": "populate connectivity-B variable in the context map",
"info": "",
"comments": "",
- "x": 4422.883331298828,
- "y": 4972.883331298828,
- "z": "4456793a.59a288",
+ "x": 4428,
+ "y": 4995,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "50051e09.5a44c8",
+ "id": "26315d76.5ba5da",
"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": 4533.883331298828,
- "y": 5014.883331298828,
- "z": "4456793a.59a288",
+ "x": 4539,
+ "y": 5037,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "3073b323.349b7c",
+ "id": "99476299.d65948",
"type": "set",
"name": "set prop.connectivity-domainB-uuid",
"xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",
"comments": "",
- "x": 4981.883331298828,
- "y": 5067.883331298828,
- "z": "4456793a.59a288",
+ "x": 4987,
+ "y": 5090,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "dbdd7c00.c39698",
+ "id": "7e1b41de.44cf5",
"type": "save",
"name": "save middle-man-conn relationship to UNI-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 4291.883331298828,
- "y": 5765.883331298828,
- "z": "4456793a.59a288",
+ "x": 4297,
+ "y": 5788,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "1d6ec4bb.ad8c0b",
+ "id": "99207b39.65e8d8",
"type": "save",
"name": "save LEAF UNI in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n",
"comments": "",
"outputs": 1,
- "x": 4189.883331298828,
- "y": 5714.883331298828,
- "z": "4456793a.59a288",
+ "x": 4195,
+ "y": 5737,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "41eb9866.4372",
+ "id": "fc9d3b48.0b961",
"type": "comment",
"name": "Create LEAF UNI",
"info": "",
"comments": "",
- "x": 4173.883331298828,
- "y": 5670.883331298828,
- "z": "4456793a.59a288",
+ "x": 4179,
+ "y": 5693,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "c54f6272.9ba24",
+ "id": "cdbca407.a3714",
"type": "save",
"name": "save the-connectivity relationship to UNI-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",
"comments": "",
"outputs": 1,
- "x": 4980.883087158203,
- "y": 5868.883331298828,
- "z": "4456793a.59a288",
+ "x": 4965,
+ "y": 5950,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "d933fbbc.703308",
+ "id": "70413194.4e4218",
"type": "switchNode",
"name": "switch found-root-connectivity",
"xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4360.883331298828,
- "y": 5071.883331298828,
- "z": "4456793a.59a288",
+ "x": 4366,
+ "y": 5094,
+ "z": "f8944603.71553",
"wires": [
[
- "4c2996a3.75ee88",
- "d5943bd2.ad1f5"
+ "9e68e3f9.d79778",
+ "3f3ed24c.0decee"
]
]
},
{
- "id": "4c2996a3.75ee88",
+ "id": "9e68e3f9.d79778",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4571.883331298828,
- "y": 5071.883331298828,
- "z": "4456793a.59a288",
+ "x": 4577,
+ "y": 5094,
+ "z": "f8944603.71553",
"wires": [
[
- "8f5805d9.890fd8"
+ "e924e4da.1f13b"
]
]
},
{
- "id": "8f5805d9.890fd8",
+ "id": "e924e4da.1f13b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4727.883331298828,
- "y": 5067.883331298828,
- "z": "4456793a.59a288",
+ "x": 4733,
+ "y": 5090,
+ "z": "f8944603.71553",
"wires": [
[
- "3073b323.349b7c",
- "7eeebeb3.54b298",
- "eadd33f3.5f43"
+ "99476299.d65948",
+ "259aff1b.d97a1",
+ "b61f1c95.4694d"
]
]
},
{
- "id": "d5943bd2.ad1f5",
+ "id": "3f3ed24c.0decee",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4567.883331298828,
- "y": 5119.883331298828,
- "z": "4456793a.59a288",
+ "x": 4573,
+ "y": 5142,
+ "z": "f8944603.71553",
"wires": [
[
- "329fba30.af81ce"
+ "6bc2c49e.5247fc"
]
]
},
{
- "id": "329fba30.af81ce",
+ "id": "6bc2c49e.5247fc",
"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": 4715.883331298828,
- "y": 5114.883331298828,
- "z": "4456793a.59a288",
+ "x": 4721,
+ "y": 5137,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "7679135b.31e8e4",
+ "id": "540d81b.ac8608",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 5223.883331298828,
- "y": 4696.883331298828,
- "z": "4456793a.59a288",
+ "x": 5229,
+ "y": 4719,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "d050303.0f4a3d",
+ "id": "e8527008.db6228",
"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": 2389.883331298828,
- "y": 107.88333129882812,
- "z": "4456793a.59a288",
+ "x": 2395,
+ "y": 130,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "c2f95f80.985fc",
+ "id": "a669b945.663408",
"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": 2323.883331298828,
- "y": 143.88333129882812,
- "z": "4456793a.59a288",
+ "x": 2329,
+ "y": 166,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "360465cd.d1fc3a",
+ "id": "ba20200a.599368",
"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": 2508.883331298828,
- "y": 70.88333129882812,
- "z": "4456793a.59a288",
+ "x": 2514,
+ "y": 93,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "33673680.57cf72",
+ "id": "f5cafc97.3be338",
"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": 4258.883331298828,
- "y": 5831.883331298828,
- "z": "4456793a.59a288",
+ "x": 4264,
+ "y": 5854,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "e2cec405.b0409",
+ "id": "433677c1.52ee48",
"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": 4391.883331298828,
- "y": 5879.883331298828,
- "z": "4456793a.59a288",
+ "x": 4397,
+ "y": 5902,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "6e2ab292.566884",
+ "id": "fabf4cab.b217e",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4210.883331298828,
- "y": 5937.883331298828,
- "z": "4456793a.59a288",
+ "x": 4216,
+ "y": 5960,
+ "z": "f8944603.71553",
"wires": [
[
- "9073e816.ad482",
- "45d66689.aaaf7"
+ "d58843e6.45b67",
+ "5480ce12.618198"
]
]
},
{
- "id": "9073e816.ad482",
+ "id": "d58843e6.45b67",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4403.883331298828,
- "y": 5938.883331298828,
- "z": "4456793a.59a288",
+ "x": 4409,
+ "y": 5961,
+ "z": "f8944603.71553",
"wires": [
[
- "db09f17e.79bb3"
+ "3584d606.ea3b92"
]
]
},
{
- "id": "db09f17e.79bb3",
+ "id": "3584d606.ea3b92",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",
"comments": "",
- "x": 4559.883331298828,
- "y": 5935.883331298828,
- "z": "4456793a.59a288",
+ "x": 4565,
+ "y": 5958,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "45d66689.aaaf7",
+ "id": "5480ce12.618198",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4407.883331298828,
- "y": 5982.883331298828,
- "z": "4456793a.59a288",
+ "x": 4413,
+ "y": 6005,
+ "z": "f8944603.71553",
"wires": [
[
- "2adb498f.b3f97e"
+ "2c5800b.fe6138"
]
]
},
{
- "id": "2adb498f.b3f97e",
+ "id": "2c5800b.fe6138",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4546.883331298828,
- "y": 5977.883331298828,
- "z": "4456793a.59a288",
+ "x": 4552,
+ "y": 6000,
+ "z": "f8944603.71553",
"wires": [
[
- "c54f6272.9ba24",
- "6998ca1d.92c5d4",
- "15021f96.80eb18",
- "e6e1dbd3.6e0a6",
- "67962261.2516d4",
- "1b601be6.7f6134",
- "27a83227.012ede",
- "b320b0e.20770d",
- "34955381.c5797c",
- "9ca77368.01f7",
- "6922fe88.2fe5f8",
- "4514c9c4.eaef1"
+ "cdbca407.a3714",
+ "908326bd.db0de8",
+ "252b791f.9db75e",
+ "275b22ee.4a806e",
+ "331c47e0.bff598",
+ "cf9d9601.e8d088",
+ "b92b2881.bc3e18",
+ "19e51740.b8f8a1",
+ "2ded21f8.219046",
+ "a0a762d0.469c28",
+ "60c16c76.a98d34",
+ "8396080f.a7f6c8"
]
]
},
{
- "id": "27a83227.012ede",
+ "id": "b92b2881.bc3e18",
"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": 4743.883331298828,
- "y": 6656.883331298828,
- "z": "4456793a.59a288",
+ "x": 4749,
+ "y": 6679,
+ "z": "f8944603.71553",
"wires": [
[
- "c2308ca7.57dff",
- "aeb0b0d0.9dedb8",
- "b67a59a3.18fb1"
+ "b068e9a3.d4db4",
+ "b79debc6.f268c",
+ "599f79e1.6940a8"
]
]
},
{
- "id": "c2308ca7.57dff",
+ "id": "b068e9a3.d4db4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4948.883331298828,
- "y": 6653.883331298828,
- "z": "4456793a.59a288",
+ "x": 4954,
+ "y": 6676,
+ "z": "f8944603.71553",
"wires": [
[
- "eeeb2441.6710c8"
+ "be7eb0d3.672b2"
]
]
},
{
- "id": "aeb0b0d0.9dedb8",
+ "id": "b79debc6.f268c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4932.374298095703,
- "y": 6715.457366943359,
- "z": "4456793a.59a288",
+ "x": 4937.490966796875,
+ "y": 6737.574035644531,
+ "z": "f8944603.71553",
"wires": [
[
- "77e5496.94ba0b8"
+ "7384abca.e83424"
]
]
},
{
- "id": "b67a59a3.18fb1",
+ "id": "599f79e1.6940a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4929.883331298828,
- "y": 6758.883331298828,
- "z": "4456793a.59a288",
+ "x": 4935,
+ "y": 6781,
+ "z": "f8944603.71553",
"wires": [
[
- "f70b29bb.3fb788"
+ "5c72f79d.0cafa"
]
]
},
{
- "id": "eeeb2441.6710c8",
+ "id": "be7eb0d3.672b2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5104.883331298828,
- "y": 6667.883331298828,
- "z": "4456793a.59a288",
+ "x": 5110,
+ "y": 6690,
+ "z": "f8944603.71553",
"wires": [
[
- "a3bf8aa6.020cb8"
+ "477f7936.afbf38"
]
]
},
{
- "id": "77e5496.94ba0b8",
+ "id": "7384abca.e83424",
"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": 5094.945709228516,
- "y": 6715.743103027344,
- "z": "4456793a.59a288",
+ "x": 5100.0623779296875,
+ "y": 6737.859771728516,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "f70b29bb.3fb788",
+ "id": "5c72f79d.0cafa",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 5096.883331298828,
- "y": 6757.883331298828,
- "z": "4456793a.59a288",
+ "x": 5102,
+ "y": 6780,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "a3bf8aa6.020cb8",
+ "id": "477f7936.afbf38",
"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": 5351.883331298828,
- "y": 6664.883331298828,
- "z": "4456793a.59a288",
+ "x": 5357,
+ "y": 6687,
+ "z": "f8944603.71553",
"wires": [
[
- "8a5692b6.b002c8"
+ "8d0d8dd8.5dff18"
]
]
},
{
- "id": "8a5692b6.b002c8",
+ "id": "8d0d8dd8.5dff18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5588.883331298828,
- "y": 6660.883331298828,
- "z": "4456793a.59a288",
+ "x": 5594,
+ "y": 6683,
+ "z": "f8944603.71553",
"wires": [
[
- "eabc4609.9defb"
+ "234239f1.092ec6"
]
]
},
{
- "id": "98f388ed.2cda7",
+ "id": "af0f93b9.f63018",
"type": "switchNode",
"name": "switch vpnuuid is for this slice",
"xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",
"comments": "",
"outputs": 1,
- "x": 5831.883331298828,
- "y": 6632.883331298828,
- "z": "4456793a.59a288",
+ "x": 5837,
+ "y": 6655,
+ "z": "f8944603.71553",
"wires": [
[
- "6a0ae6a2.ba9fb",
- "25f881ea.6e0566"
+ "1906307e.4f6708",
+ "7e26fbb1.9c733c"
]
]
},
{
- "id": "6a0ae6a2.ba9fb",
+ "id": "1906307e.4f6708",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 6036.883331298828,
- "y": 6652.883331298828,
- "z": "4456793a.59a288",
+ "x": 6042,
+ "y": 6675,
+ "z": "f8944603.71553",
"wires": [
[
- "eabc4609.9defb"
+ "234239f1.092ec6"
]
]
},
{
- "id": "25f881ea.6e0566",
+ "id": "7e26fbb1.9c733c",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 6035.883331298828,
- "y": 6605.883331298828,
- "z": "4456793a.59a288",
+ "x": 6041,
+ "y": 6628,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "eabc4609.9defb",
+ "id": "234239f1.092ec6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4779.883331298828,
- "y": 6927.883331298828,
- "z": "4456793a.59a288",
+ "x": 4785,
+ "y": 6950,
+ "z": "f8944603.71553",
"wires": [
[
- "392e3f81.e0a6a8"
+ "9c243a63.6beae8"
]
]
},
{
- "id": "f8de35a7.d0325",
+ "id": "7d275a16.b90c94",
"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": 6241.88330078125,
- "y": 6865.88330078125,
- "z": "4456793a.59a288",
+ "x": 6246.999969482422,
+ "y": 6887.999969482422,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "8d84ad9.3a159d",
+ "id": "62c83b20.7bb344",
"type": "comment",
"name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",
"info": "",
"comments": "",
- "x": 4841.883331298828,
- "y": 6603.883331298828,
- "z": "4456793a.59a288",
+ "x": 4847,
+ "y": 6626,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "1b601be6.7f6134",
+ "id": "cf9d9601.e8d088",
"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": 4725.883331298828,
- "y": 6452.883331298828,
- "z": "4456793a.59a288",
+ "x": 4729,
+ "y": 6514,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "6e7ae435.b7607c",
+ "id": "fb325d12.16a73",
"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": 5070.883331298828,
- "y": 6283.883331298828,
- "z": "4456793a.59a288",
+ "x": 5074,
+ "y": 6345,
+ "z": "f8944603.71553",
"wires": [
[
- "82ed19a6.aafd78"
+ "2ae3447b.0a1c44"
]
]
},
{
- "id": "82ed19a6.aafd78",
+ "id": "2ae3447b.0a1c44",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5290.883331298828,
- "y": 6289.883331298828,
- "z": "4456793a.59a288",
+ "x": 5294,
+ "y": 6351,
+ "z": "f8944603.71553",
"wires": [
[
- "fa1ec726.b4647"
+ "47fb23b1.c734fc"
]
]
},
{
- "id": "fa1ec726.b4647",
+ "id": "47fb23b1.c734fc",
"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": 5475.883331298828,
- "y": 6288.883331298828,
- "z": "4456793a.59a288",
+ "x": 5481,
+ "y": 6311,
+ "z": "f8944603.71553",
"wires": [
[
- "46306bd4.ee79e4"
+ "504a47cd.0300d8"
]
]
},
{
- "id": "46306bd4.ee79e4",
+ "id": "504a47cd.0300d8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5667.883331298828,
- "y": 6291.883331298828,
- "z": "4456793a.59a288",
+ "x": 5673,
+ "y": 6314,
+ "z": "f8944603.71553",
"wires": [
[
- "3b3ddb68.994c3c"
+ "70b7cd06.f487e4"
]
]
},
{
- "id": "3b3ddb68.994c3c",
+ "id": "70b7cd06.f487e4",
"type": "set",
"name": "set otnTopoIdSrc",
"xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
"comments": "",
- "x": 5876.883331298828,
- "y": 6289.883331298828,
- "z": "4456793a.59a288",
+ "x": 5882,
+ "y": 6312,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "b320b0e.20770d",
+ "id": "19e51740.b8f8a1",
"type": "for",
"name": "for netwidx..allNetworksList_length",
"xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",
"comments": "",
"outputs": 1,
- "x": 4777.883331298828,
- "y": 6277.883331298828,
- "z": "4456793a.59a288",
+ "x": 4781,
+ "y": 6339,
+ "z": "f8944603.71553",
"wires": [
[
- "6e7ae435.b7607c"
+ "fb325d12.16a73"
]
]
},
{
- "id": "15021f96.80eb18",
+ "id": "252b791f.9db75e",
"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": 4785.883331298828,
- "y": 6170.883331298828,
- "z": "4456793a.59a288",
+ "x": 4789,
+ "y": 6232,
+ "z": "f8944603.71553",
"wires": [
[
- "90de6696.037bd8",
- "ce29f9bd.7d263",
- "94bbebf0.09f428"
+ "ab2e0e9b.e6e2a",
+ "175d6a26.e8f2ae",
+ "30472c6d.7bfeec"
]
]
},
{
- "id": "90de6696.037bd8",
+ "id": "ab2e0e9b.e6e2a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5021.883331298828,
- "y": 6153.883331298828,
- "z": "4456793a.59a288",
+ "x": 5025,
+ "y": 6215,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "ce29f9bd.7d263",
+ "id": "175d6a26.e8f2ae",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5018.883331298828,
- "y": 6194.883331298828,
- "z": "4456793a.59a288",
+ "x": 5022,
+ "y": 6256,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "94bbebf0.09f428",
+ "id": "30472c6d.7bfeec",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5032.883331298828,
- "y": 6234.883331298828,
- "z": "4456793a.59a288",
+ "x": 5036,
+ "y": 6296,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "e6e1dbd3.6e0a6",
+ "id": "275b22ee.4a806e",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
"comments": "",
- "x": 4721.883331298828,
- "y": 6329.883331298828,
- "z": "4456793a.59a288",
+ "x": 4725,
+ "y": 6391,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "67962261.2516d4",
+ "id": "331c47e0.bff598",
"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": 4729.883331298828,
- "y": 6387.883331298828,
- "z": "4456793a.59a288",
+ "x": 4733,
+ "y": 6449,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "6998ca1d.92c5d4",
+ "id": "908326bd.db0de8",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",
"comments": "",
- "x": 4734.883331298828,
- "y": 6127.883331298828,
- "z": "4456793a.59a288",
+ "x": 4738,
+ "y": 6189,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "94b4d538.041a9",
+ "id": "8ef1afe7.71ad38",
"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": 4849.883331298828,
- "y": 6079.883331298828,
- "z": "4456793a.59a288",
+ "x": 4853,
+ "y": 6141,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "392e3f81.e0a6a8",
+ "id": "9c243a63.6beae8",
"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": 5022.883331298828,
- "y": 6924.883331298828,
- "z": "4456793a.59a288",
+ "x": 5028,
+ "y": 6947,
+ "z": "f8944603.71553",
"wires": [
[
- "84fb2e7.f2e54d",
- "113d3615.17adaa"
+ "14533561.0c5673",
+ "af779ea0.7fb81"
]
]
},
{
- "id": "84fb2e7.f2e54d",
+ "id": "14533561.0c5673",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5251.883331298828,
- "y": 6901.883331298828,
- "z": "4456793a.59a288",
+ "x": 5257,
+ "y": 6924,
+ "z": "f8944603.71553",
"wires": [
[
- "c3b316fd.fba0a8"
+ "55635f65.d76ee8"
]
]
},
{
- "id": "113d3615.17adaa",
+ "id": "af779ea0.7fb81",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5251.883331298828,
- "y": 6950.883331298828,
- "z": "4456793a.59a288",
+ "x": 5257,
+ "y": 6973,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "b6424391.0ceee8",
+ "id": "494eed0f.99eb84",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5984.88330078125,
- "y": 6956.88330078125,
- "z": "4456793a.59a288",
+ "x": 5989.999969482422,
+ "y": 6978.999969482422,
+ "z": "f8944603.71553",
"wires": [
[
- "1cb2d5ed.65008a",
- "f8de35a7.d0325",
- "515cca2b.2a6e8c"
+ "6ed262af.6482c4",
+ "7d275a16.b90c94",
+ "ea085aad.03ece"
]
]
},
{
- "id": "b0305853.25009",
+ "id": "eb8bdae2.80aaf8",
"type": "comment",
"name": "increase the bw of the-vpn-binding and change status to modified",
"info": "increase the bw of the-vpn-binding\nchange status to modified\n",
"comments": "",
- "x": 6369.88330078125,
- "y": 6919.88330078125,
- "z": "4456793a.59a288",
+ "x": 6374.999969482422,
+ "y": 6941.999969482422,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "515cca2b.2a6e8c",
+ "id": "ea085aad.03ece",
"type": "save",
"name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $gfp`' />\n\n<parameter name='operational-status' value='Modified' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 6339.88330078125,
- "y": 6979.88330078125,
- "z": "4456793a.59a288",
+ "x": 6344.999969482422,
+ "y": 7001.999969482422,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "1cb2d5ed.65008a",
+ "id": "6ed262af.6482c4",
"type": "set",
"name": "unset tmp.aai.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",
"comments": "",
- "x": 6246.88330078125,
- "y": 6807.88330078125,
- "z": "4456793a.59a288",
+ "x": 6251.999969482422,
+ "y": 6829.999969482422,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "dd90ad1a.7eef1",
+ "id": "b05d129.ef1b1f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3982.883331298828,
- "y": 5864.883331298828,
- "z": "4456793a.59a288",
+ "x": 3988,
+ "y": 5887,
+ "z": "f8944603.71553",
"wires": [
[
- "1d6ec4bb.ad8c0b",
- "33673680.57cf72",
- "e2cec405.b0409",
- "6e2ab292.566884",
- "dbdd7c00.c39698"
+ "99207b39.65e8d8",
+ "f5cafc97.3be338",
+ "433677c1.52ee48",
+ "fabf4cab.b217e",
+ "7e1b41de.44cf5"
]
]
},
{
- "id": "74fcf6b5.dbb39",
+ "id": "e2f1cfff.a8b258",
"type": "set",
"name": "unset otnTopoIdSrc",
"xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",
"comments": "",
- "x": 4726.883331298828,
- "y": 6227.883331298828,
- "z": "4456793a.59a288",
+ "x": 4730,
+ "y": 6289,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "34955381.c5797c",
+ "id": "2ded21f8.219046",
"type": "save",
"name": "update connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 4873.883087158203,
- "y": 5949.883331298828,
- "z": "4456793a.59a288",
+ "x": 4858,
+ "y": 6031,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "2a032dd9.9380b2",
+ "id": "4a18264c.6d9e",
"type": "comment",
"name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",
"info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",
"comments": "",
- "x": 5010.883087158203,
- "y": 5899.883331298828,
- "z": "4456793a.59a288",
+ "x": 4995,
+ "y": 5981,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "b937ed07.a77618",
+ "id": "124ab46d.2d752c",
"type": "save",
"name": "save ROOT UNI in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='type' value='root' />\n<parameter name='data-source' value='`$gfp`' />\n",
"comments": "",
"outputs": 1,
- "x": 3817.883331298828,
- "y": 3505.883331298828,
- "z": "4456793a.59a288",
+ "x": 3822,
+ "y": 3374,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "3dd82151.976f0e",
+ "id": "826efc02.44c7b",
"type": "comment",
"name": "NOT NEEDED ANYMORE?",
"info": "",
"comments": "",
- "x": 3999.883331298828,
- "y": 1760.8833312988281,
- "z": "4456793a.59a288",
+ "x": 3999.999969482422,
+ "y": 1608.9999694824219,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "6b6522.bc964ae",
+ "id": "3746cfac.cfad98",
"type": "comment",
"name": "NOT NEEDED ANYMORE?",
"info": "",
"comments": "",
- "x": 3977.883331298828,
- "y": 2630.883331298828,
- "z": "4456793a.59a288",
+ "x": 3978.9999389648438,
+ "y": 2120.9999389648438,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "195c3e5b.085da2",
+ "id": "b5ea3d16.fd41f",
"type": "comment",
"name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",
"info": "",
"comments": "",
- "x": 3808.883331298828,
- "y": 3972.883331298828,
- "z": "4456793a.59a288",
+ "x": 3814,
+ "y": 3995,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "a8e7354f.a1833",
+ "id": "9d7f2116.baeda",
"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": 3489.883331298828,
- "y": 6004.883331298828,
- "z": "4456793a.59a288",
+ "x": 3904,
+ "y": 6375,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "a2dd9c19.75287",
+ "id": "f2a7dc4a.68ede",
"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": 3700.883331298828,
- "y": 4881.883331298828,
- "z": "4456793a.59a288",
+ "x": 3706,
+ "y": 4904,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "906b118c.b5ca4",
+ "id": "a789852e.51cd48",
"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": 3833.883331298828,
- "y": 4929.883331298828,
- "z": "4456793a.59a288",
+ "x": 3839,
+ "y": 4952,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "86c9672.840f818",
+ "id": "23762b83.94d65c",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4379.883331298828,
- "y": 4557.883331298828,
- "z": "4456793a.59a288",
+ "x": 4385,
+ "y": 4580,
+ "z": "f8944603.71553",
"wires": [
[
- "b9a92126.1d0eb",
- "e7523195.456808"
+ "e4f34350.306628",
+ "84eda9bb.13e58"
]
]
},
{
- "id": "b9a92126.1d0eb",
+ "id": "e4f34350.306628",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4572.883331298828,
- "y": 4558.883331298828,
- "z": "4456793a.59a288",
+ "x": 4578,
+ "y": 4581,
+ "z": "f8944603.71553",
"wires": [
[
- "71a4d763.a9eac"
+ "d93f9a59.274b5"
]
]
},
{
- "id": "e7523195.456808",
+ "id": "84eda9bb.13e58",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4576.883331298828,
- "y": 4602.883331298828,
- "z": "4456793a.59a288",
+ "x": 4582,
+ "y": 4625,
+ "z": "f8944603.71553",
"wires": [
[
- "6742a953.fe0d28"
+ "fa8add54.9c2898"
]
]
},
{
- "id": "6742a953.fe0d28",
+ "id": "fa8add54.9c2898",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4715.883331298828,
- "y": 4597.883331298828,
- "z": "4456793a.59a288",
+ "x": 4721,
+ "y": 4620,
+ "z": "f8944603.71553",
"wires": [
[
- "34f2cb8a.7f3954",
- "50607a4b.9927b4",
- "d6e6e1de.8f0598"
+ "48346123.4f10a8",
+ "5e210590.033b4c",
+ "140ccb32.dd72dd"
]
]
},
{
- "id": "71a4d763.a9eac",
+ "id": "d93f9a59.274b5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4715.883331298828,
- "y": 4554.883331298828,
- "z": "4456793a.59a288",
+ "x": 4721,
+ "y": 4577,
+ "z": "f8944603.71553",
"wires": [
[
- "b61f10f5.eeecf",
- "90640d99.12302",
- "42e8372d.d506e",
- "7679135b.31e8e4"
+ "a4406b4c.17bbc",
+ "18ca4a3.634f536",
+ "b4f57662.21d798",
+ "540d81b.ac8608"
]
]
},
{
- "id": "34f2cb8a.7f3954",
+ "id": "48346123.4f10a8",
"type": "set",
"name": "set prop.connectivity-domainA-uuid",
"xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",
"comments": "",
- "x": 5117.883575439453,
- "y": 4819.883331298828,
- "z": "4456793a.59a288",
+ "x": 5123.000244140625,
+ "y": 4842,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "9d0b91dc.02ae8",
+ "id": "54a11c60.7fd1ec",
"type": "comment",
"name": "populate connectivity-A variable in the context map",
"info": "",
"comments": "",
- "x": 5124.883575439453,
- "y": 4773.883331298828,
- "z": "4456793a.59a288",
+ "x": 5130.000244140625,
+ "y": 4796,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "9ca77368.01f7",
+ "id": "a0a762d0.469c28",
"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": 4914.883331298828,
- "y": 6552.883331298828,
- "z": "4456793a.59a288",
+ "x": 4920,
+ "y": 6575,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "50607a4b.9927b4",
+ "id": "5e210590.033b4c",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 5235.883575439453,
- "y": 4861.883331298828,
- "z": "4456793a.59a288",
+ "x": 5241.000244140625,
+ "y": 4884,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "7eeebeb3.54b298",
+ "id": "259aff1b.d97a1",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 5110.883331298828,
- "y": 5119.883331298828,
- "z": "4456793a.59a288",
+ "x": 5116,
+ "y": 5142,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "d039e4e7.e91be8",
+ "id": "80314ddc.393748",
"type": "comment",
"name": "Update ROOT UNI's bw",
"info": "",
"comments": "",
- "x": 3664.883331298828,
- "y": 4479.883331298828,
- "z": "4456793a.59a288",
+ "x": 3461,
+ "y": 4475,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "3c0dfd8f.f0eaca",
+ "id": "d1326c21.abc33",
"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": 3998.883331298828,
- "y": 4662.883331298828,
- "z": "4456793a.59a288",
+ "x": 3983,
+ "y": 4576,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "80cc4c1e.a6bfe",
+ "id": "434bd8c2.bae4f8",
"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": 3610.883331298828,
- "y": 4529.883331298828,
- "z": "4456793a.59a288",
+ "x": 3440,
+ "y": 4519,
+ "z": "f8944603.71553",
"wires": [
[
- "ef8f5d34.35bfc8",
- "7b54fcfe.00d69c",
- "e9708f34.58ed3"
+ "7ea7dff4.93abc",
+ "616c8d40.285e14",
+ "ffe0a536.7eaff8"
]
]
},
{
- "id": "7b54fcfe.00d69c",
+ "id": "616c8d40.285e14",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3838.374298095703,
- "y": 4502.457305908203,
- "z": "4456793a.59a288",
+ "x": 3628.490966796875,
+ "y": 4487.57421875,
+ "z": "f8944603.71553",
"wires": [
[
- "edc83f73.f7df38"
+ "739b53.f4a4fcac"
]
]
},
{
- "id": "e9708f34.58ed3",
+ "id": "ffe0a536.7eaff8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3833.883331298828,
- "y": 4546.883270263672,
- "z": "4456793a.59a288",
+ "x": 3617,
+ "y": 4527,
+ "z": "f8944603.71553",
"wires": [
[
- "a66e06b4.3bd7c"
+ "68d1064e.ebb3b8"
]
]
},
{
- "id": "edc83f73.f7df38",
+ "id": "739b53.f4a4fcac",
"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": 4000.945831298828,
- "y": 4501.743011474609,
- "z": "4456793a.59a288",
+ "x": 3788.0625,
+ "y": 4485.85986328125,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "a66e06b4.3bd7c",
+ "id": "68d1064e.ebb3b8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4001.883331298828,
- "y": 4546.883270263672,
- "z": "4456793a.59a288",
+ "x": 3778,
+ "y": 4528,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "fa42d876.f3bfc8",
+ "id": "aedbd8f5.94f11",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3786.883331298828,
- "y": 4619.883331298828,
- "z": "4456793a.59a288",
+ "x": 3780,
+ "y": 4572,
+ "z": "f8944603.71553",
"wires": [
[
- "b660a30a.8893a8",
- "3c0dfd8f.f0eaca"
+ "530f885c.d5a28",
+ "d1326c21.abc33"
]
]
},
{
- "id": "ef8f5d34.35bfc8",
+ "id": "7ea7dff4.93abc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3617.883331298828,
- "y": 4619.883331298828,
- "z": "4456793a.59a288",
+ "x": 3622,
+ "y": 4564,
+ "z": "f8944603.71553",
"wires": [
[
- "fa42d876.f3bfc8"
+ "aedbd8f5.94f11"
]
]
},
{
- "id": "b660a30a.8893a8",
+ "id": "530f885c.d5a28",
"type": "set",
"name": "set new bw",
"xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",
"comments": "",
- "x": 3975.883331298828,
- "y": 4611.883331298828,
- "z": "4456793a.59a288",
+ "x": 3941,
+ "y": 4504,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "3d1de5ec.2ac45a",
+ "id": "cd1fc06c.124968",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $middle-man-conn.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$middle-man-conn.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 3808.883331298828,
- "y": 4757.883331298828,
- "z": "4456793a.59a288",
+ "x": 3806,
+ "y": 4843,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "25e4380.733ab48",
+ "id": "ac8fc812.ca8b88",
"type": "comment",
"name": "Temporary skipping this check - to support multiple instances in one slice",
"info": "",
"comments": "",
- "x": 5915.766632080078,
- "y": 6570.766632080078,
- "z": "4456793a.59a288",
+ "x": 5920.88330078125,
+ "y": 6592.88330078125,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "d6e6e1de.8f0598",
+ "id": "140ccb32.dd72dd",
"type": "save",
"name": "update connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 5115.550567626953,
- "y": 4957.966827392578,
- "z": "4456793a.59a288",
+ "x": 5120.667236328125,
+ "y": 4980.08349609375,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "924c8eb8.8bcc2",
+ "id": "60fccea7.c83a28",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 5117.767364501953,
- "y": 4917.766632080078,
- "z": "4456793a.59a288",
+ "x": 5122.884033203125,
+ "y": 4939.88330078125,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "eadd33f3.5f43",
+ "id": "b61f1c95.4694d",
"type": "save",
"name": "update connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 4991.550323486328,
- "y": 5207.966827392578,
- "z": "4456793a.59a288",
+ "x": 4996.6669921875,
+ "y": 5230.08349609375,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "33d164e6.6e7844",
+ "id": "82a40a13.767da8",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 4993.767120361328,
- "y": 5167.766632080078,
- "z": "4456793a.59a288",
+ "x": 4998.8837890625,
+ "y": 5189.88330078125,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "3216abfb.82724c",
+ "id": "91bd4596.74f628",
"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": 5086.350128173828,
- "y": 5663.399932861328,
- "z": "4456793a.59a288",
+ "x": 5086.466796875,
+ "y": 5592.5166015625,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "723b66c7.37bb08",
+ "id": "f50c2a2e.93dfe8",
"type": "switchNode",
"name": "switch found-root-connectivity",
"xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 4913.350128173828,
- "y": 5720.399932861328,
- "z": "4456793a.59a288",
+ "x": 4913.466796875,
+ "y": 5649.5166015625,
+ "z": "f8944603.71553",
"wires": [
[
- "4b59f245.4d6edc",
- "fb820a66.06fc1"
+ "8646fa93.554c38",
+ "a6ded94a.e3e54"
]
]
},
{
- "id": "4b59f245.4d6edc",
+ "id": "8646fa93.554c38",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5124.350128173828,
- "y": 5720.399932861328,
- "z": "4456793a.59a288",
+ "x": 5124.466796875,
+ "y": 5649.5166015625,
+ "z": "f8944603.71553",
"wires": [
[
- "95f01780.285928"
+ "258b63bd.85fb7c"
]
]
},
{
- "id": "fb820a66.06fc1",
+ "id": "a6ded94a.e3e54",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5120.350128173828,
- "y": 5768.399932861328,
- "z": "4456793a.59a288",
+ "x": 5120.466796875,
+ "y": 5697.5166015625,
+ "z": "f8944603.71553",
"wires": [
[
- "ceaa430d.e25cf8"
+ "d925f9fa.8153b8"
]
]
},
{
- "id": "95f01780.285928",
+ "id": "258b63bd.85fb7c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5280.350128173828,
- "y": 5716.399932861328,
- "z": "4456793a.59a288",
+ "x": 5280.466796875,
+ "y": 5645.5166015625,
+ "z": "f8944603.71553",
"wires": [
[
- "363f2480.f640d4",
- "ec57c9d5.e1e658",
- "18db1f41.a7c409"
+ "8d6cf51e.6059f8",
+ "44488697.cdb02",
+ "c9ce352b.46ce88"
]
]
},
{
- "id": "ceaa430d.e25cf8",
+ "id": "d925f9fa.8153b8",
"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": 5268.350128173828,
- "y": 5763.399932861328,
- "z": "4456793a.59a288",
+ "x": 5268.466796875,
+ "y": 5692.5166015625,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "7a15e8cb.5f6df8",
+ "id": "df7464c9.77f0d",
"type": "comment",
"name": "Update connectivity status to modified",
"info": "",
"comments": "",
- "x": 5546.233917236328,
- "y": 5816.283233642578,
- "z": "4456793a.59a288",
+ "x": 5590.3505859375,
+ "y": 5746.39990234375,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "18db1f41.a7c409",
+ "id": "c9ce352b.46ce88",
"type": "save",
"name": "update connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",
"comments": "",
"outputs": 1,
- "x": 5544.017120361328,
- "y": 5856.483428955078,
- "z": "4456793a.59a288",
+ "x": 5594.1337890625,
+ "y": 5784.60009765625,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "ec57c9d5.e1e658",
+ "id": "44488697.cdb02",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 5663.350128173828,
- "y": 5768.399932861328,
- "z": "4456793a.59a288",
+ "x": 5700.466796875,
+ "y": 5697.5166015625,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "363f2480.f640d4",
+ "id": "8d6cf51e.6059f8",
"type": "set",
"name": "set prop.connectivity-domainB-uuid",
"xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",
"comments": "",
- "x": 5534.350128173828,
- "y": 5716.399932861328,
- "z": "4456793a.59a288",
+ "x": 5584.466796875,
+ "y": 5645.5166015625,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "60039858.187258",
+ "id": "7e224339.ebcda4",
"type": "comment",
"name": "populate connectivity-B variable in the context map",
"info": "",
"comments": "",
- "x": 4975.350128173828,
- "y": 5621.399932861328,
- "z": "4456793a.59a288",
+ "x": 4975.466796875,
+ "y": 5550.5166015625,
+ "z": "f8944603.71553",
"wires": []
},
{
- "id": "6922fe88.2fe5f8",
+ "id": "60c16c76.a98d34",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4682.683135986328,
- "y": 5703.399932861328,
- "z": "4456793a.59a288",
+ "x": 4687.7998046875,
+ "y": 5725.5166015625,
+ "z": "f8944603.71553",
"wires": [
[
- "3216abfb.82724c",
- "723b66c7.37bb08"
+ "91bd4596.74f628",
+ "f50c2a2e.93dfe8",
+ "b08c7802.5d204",
+ "7492e58a.da53dc"
]
]
},
{
- "id": "4514c9c4.eaef1",
+ "id": "8396080f.a7f6c8",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 5003.716094970703,
- "y": 6005.083526611328,
- "z": "4456793a.59a288",
+ "x": 4987.8330078125,
+ "y": 6086.2001953125,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "d7548734.759b08",
+ "id": "e07ba4bc.bfaae8",
"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": 5789,
- "y": 6901,
- "z": "4456793a.59a288",
+ "x": 5794.116668701172,
+ "y": 6923.116668701172,
+ "z": "f8944603.71553",
"wires": [
[]
]
},
{
- "id": "c3b316fd.fba0a8",
+ "id": "55635f65.d76ee8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5408,
- "y": 6904,
- "z": "4456793a.59a288",
+ "x": 5413.116668701172,
+ "y": 6926.116668701172,
+ "z": "f8944603.71553",
"wires": [
[
- "d7548734.759b08",
- "d42bdb23.7a5dc8",
- "40573be3.cee89c"
+ "e07ba4bc.bfaae8",
+ "d0282e45.27576",
+ "be279863.754a6"
]
]
},
{
- "id": "d42bdb23.7a5dc8",
+ "id": "d0282e45.27576",
"type": "switchNode",
"name": "switch $foundVpnName",
"xml": "<switch test=\"`$foundVpnName`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 5634,
- "y": 6956,
- "z": "4456793a.59a288",
+ "x": 5639.116668701172,
+ "y": 6978.116668701172,
+ "z": "f8944603.71553",
"wires": [
[
- "4a08f8b2.c71278"
+ "adb0d898.09cba8"
]
]
},
{
- "id": "4a08f8b2.c71278",
+ "id": "adb0d898.09cba8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5813,
- "y": 6955,
- "z": "4456793a.59a288",
+ "x": 5818.116668701172,
+ "y": 6977.116668701172,
+ "z": "f8944603.71553",
"wires": [
[
- "b6424391.0ceee8"
+ "494eed0f.99eb84"
]
]
},
{
- "id": "40573be3.cee89c",
+ "id": "be279863.754a6",
"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": 5635,
- "y": 6849,
- "z": "4456793a.59a288",
+ "x": 5640.116668701172,
+ "y": 6871.116668701172,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "3cd9264c.3cdbea",
+ "type": "notify",
+ "name": "notify",
+ "xml": "<notify plugin='' resource='' action='' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2634.116668701172,
+ "y": 920.1166687011719,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d4db1de6.243c9",
+ "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": 3312.116668701172,
+ "y": 696.1166687011719,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "b2eea3d4.d83b2",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3528.116668701172,
+ "y": 1024.1166687011719,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c92a9c74.6d8cb",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3523.625732421875,
+ "y": 1066.542724609375,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "be6d3c2.c1bdfc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3527.625701904297,
+ "y": 1114.5426940917969,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "82044de7.824378"
+ ]
+ ]
+ },
+ {
+ "id": "82044de7.824378",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3685.116668701172,
+ "y": 1114.1166687011719,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "9732d3c5.76e0c8"
+ ]
+ ]
+ },
+ {
+ "id": "9732d3c5.76e0c8",
+ "type": "switchNode",
+ "name": "switch nr type",
+ "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3855.11669921875,
+ "y": 1117.1168212890625,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "7d1d73b.5c3fc8c",
+ "8cd6f95a.d7c4d",
+ "68098f91.a64618"
+ ]
+ ]
+ },
+ {
+ "id": "7d1d73b.5c3fc8c",
+ "type": "outcome",
+ "name": "ROOT",
+ "xml": "<outcome value='ROOT'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4029.116668701172,
+ "y": 1055.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "a9479bec.894888"
+ ]
+ ]
+ },
+ {
+ "id": "8cd6f95a.d7c4d",
+ "type": "outcome",
+ "name": "LEAF",
+ "xml": "<outcome value='LEAF'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4031.116668701172,
+ "y": 1109.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "d844935e.741748"
+ ]
+ ]
+ },
+ {
+ "id": "a9479bec.894888",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4157.116668701172,
+ "y": 1055.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "7a232bae.539a2c",
+ "19f7263a.0f2e72"
+ ]
+ ]
+ },
+ {
+ "id": "d844935e.741748",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4160.116668701172,
+ "y": 1108.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "e31191f4.c7e44",
+ "c783c2e3.52d62"
+ ]
+ ]
+ },
+ {
+ "id": "19f7263a.0f2e72",
+ "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": 4318.116668701172,
+ "y": 1079.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "e31191f4.c7e44",
+ "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": 4335.116668701172,
+ "y": 1121.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "c783c2e3.52d62",
+ "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": 4320.116668701172,
+ "y": 1159.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "7a232bae.539a2c",
+ "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": 4332.116668701172,
+ "y": 1039.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "5dbb2ad5.55ee04",
+ "type": "comment",
+ "name": "This is it (should be)",
+ "info": "",
+ "comments": "",
+ "x": 4497.116668701172,
+ "y": 1055.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "4c9f1a43.e137e4",
+ "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": 3288.116668701172,
+ "y": 1041.1166687011719,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "b2eea3d4.d83b2",
+ "c92a9c74.6d8cb",
+ "be6d3c2.c1bdfc"
+ ]
+ ]
+ },
+ {
+ "id": "68098f91.a64618",
+ "type": "outcome",
+ "name": "SECONDARY-ROOT",
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3974.116668701172,
+ "y": 1173.1166687011719,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "3baeb12d.78947e"
+ ]
+ ]
+ },
+ {
+ "id": "3baeb12d.78947e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4148.116668701172,
+ "y": 1168.1166687011719,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "f32a06d7.18ee6",
+ "9c8c5f6f.4f4828"
+ ]
+ ]
+ },
+ {
+ "id": "9c8c5f6f.4f4828",
+ "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": 4318.116668701172,
+ "y": 1241.1166687011719,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "f32a06d7.18ee6",
+ "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": 4372.116668701172,
+ "y": 1201.1166687011719,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "89b3411b.fe2cb",
+ "type": "comment",
+ "name": "This is it (should be)",
+ "info": "",
+ "comments": "",
+ "x": 4486.116668701172,
+ "y": 1226.1166687011719,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "fe4b773c.0eae98",
+ "type": "outcome",
+ "name": "SECONDARY-ROOT",
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4045.116668701172,
+ "y": 929.1166687011719,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "a6d4107d.6655f"
+ ]
+ ]
+ },
+ {
+ "id": "e8ae3a08.56b988",
+ "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": 4389.116668701172,
+ "y": 997.1166687011719,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "8ecb2104.b1fc58",
+ "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": 4443.116668701172,
+ "y": 957.1166687011719,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "a817660e.e9d2",
+ "type": "comment",
+ "name": "This is it (should be)",
+ "info": "",
+ "comments": "",
+ "x": 4587.116668701172,
+ "y": 986.1166687011719,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "a6d4107d.6655f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4219.116668701172,
+ "y": 924.1166687011719,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "8ecb2104.b1fc58",
+ "e8ae3a08.56b988"
+ ]
+ ]
+ },
+ {
+ "id": "83ce05e.7f315f8",
+ "type": "outcome",
+ "name": "SECONDARY-ROOT",
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4105.116668701172,
+ "y": 667.1166687011719,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "d03cb873.c57328"
+ ]
+ ]
+ },
+ {
+ "id": "2049e56d.3172ca",
+ "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": 4449.116668701172,
+ "y": 735.1166687011719,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "6995e48e.171b9c",
+ "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": 4503.116668701172,
+ "y": 695.1166687011719,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "80fe4b30.9273d",
+ "type": "comment",
+ "name": "This is it (should be)",
+ "info": "",
+ "comments": "",
+ "x": 4617.116668701172,
+ "y": 720.1166687011719,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "d03cb873.c57328",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4279.116668701172,
+ "y": 662.1166687011719,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "6995e48e.171b9c",
+ "2049e56d.3172ca"
+ ]
+ ]
+ },
+ {
+ "id": "d8eb368d.7e35e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3686.116668701172,
+ "y": 2544.116668701172,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "9d31c4f.62b63b8",
+ "42d540.6e2552c"
+ ]
+ ]
+ },
+ {
+ "id": "4acebe87.51a2e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3513.450164794922,
+ "y": 2545.116668701172,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "d8eb368d.7e35e8"
+ ]
+ ]
+ },
+ {
+ "id": "faf79ca9.39c718",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3522.941131591797,
+ "y": 2587.690704345703,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "760b8826.a76aa",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3511.450164794922,
+ "y": 2634.116668701172,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9d31c4f.62b63b8",
+ "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": 3972.450164794922,
+ "y": 2548.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "beea1414.622ca8",
+ "e0900c85.f5153"
+ ]
+ ]
+ },
+ {
+ "id": "e0900c85.f5153",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4195.450164794922,
+ "y": 2503.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "b1fce547.cdefa8"
+ ]
+ ]
+ },
+ {
+ "id": "beea1414.622ca8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4197.450164794922,
+ "y": 2567.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "1f2077c9.d2f12"
+ ]
+ ]
+ },
+ {
+ "id": "1931dff5.72d728",
+ "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": 3285.450164794922,
+ "y": 2580.116668701172,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "4acebe87.51a2e",
+ "faf79ca9.39c718",
+ "760b8826.a76aa"
+ ]
+ ]
+ },
+ {
+ "id": "20a2805c.f7ce68",
+ "type": "comment",
+ "name": "Question?",
+ "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
+ "comments": "",
+ "x": 3246.450164794922,
+ "y": 2524.116668701172,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "f953800.9cf34",
+ "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": 3305.450164794922,
+ "y": 2320.116668701172,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "1523d633.28a802",
+ "23587c7d.fbba4c"
+ ]
+ ]
+ },
+ {
+ "id": "23587c7d.fbba4c",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3528.450164794922,
+ "y": 2306.116668701172,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "c7b4b7e7.8e8b78"
+ ]
+ ]
+ },
+ {
+ "id": "1523d633.28a802",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3530.450164794922,
+ "y": 2339.116668701172,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7b4b7e7.8e8b78",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3676.450164794922,
+ "y": 2299.116668701172,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "cb965cfe.67a2f",
+ "1a7add8d.af97ca"
+ ]
+ ]
+ },
+ {
+ "id": "cb965cfe.67a2f",
+ "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": 3870.450164794922,
+ "y": 2302.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "42d540.6e2552c",
+ "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": 3923.4501342773438,
+ "y": 2671.1166381835938,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "b84e7511.3844a8"
+ ]
+ ]
+ },
+ {
+ "id": "b84e7511.3844a8",
+ "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": 4129.450134277344,
+ "y": 2671.1166381835938,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "ac19c527.29aaf8"
+ ]
+ ]
+ },
+ {
+ "id": "1a7add8d.af97ca",
+ "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": 3892.450164794922,
+ "y": 2370.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "c6c93f82.1aa228",
+ "f4da497f.0275c8",
+ "6e9758a5.eabec"
+ ]
+ ]
+ },
+ {
+ "id": "c6c93f82.1aa228",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4087.9502868652344,
+ "y": 2322.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "a1f1dc1c.4be4e8"
+ ]
+ ]
+ },
+ {
+ "id": "f4da497f.0275c8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4079.9502868652344,
+ "y": 2377.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "dd2530b3.0ce388"
+ ]
+ ]
+ },
+ {
+ "id": "6e9758a5.eabec",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4084.9502868652344,
+ "y": 2434.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "35cb1b46.9ab3ac"
+ ]
+ ]
+ },
+ {
+ "id": "35cb1b46.9ab3ac",
+ "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": 4236.950286865234,
+ "y": 2435.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "a1f1dc1c.4be4e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4232.332611083984,
+ "y": 2319.7724609375,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "807e8aa5.b5f288"
+ ]
+ ]
+ },
+ {
+ "id": "be1fed24.75522",
+ "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": 3308.116668701172,
+ "y": 2659.116668701172,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "89002347.f12fb8",
+ "type": "comment",
+ "name": "NOT NEEDED ANYMORE?",
+ "info": "",
+ "comments": "",
+ "x": 3983.1166381835938,
+ "y": 2623.1166381835938,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "1f2077c9.d2f12",
+ "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": 4356.450164794922,
+ "y": 2586.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "b1fce547.cdefa8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4360.450164794922,
+ "y": 2500.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "9ddcbad2.3cd968",
+ "a4909c74.16b3c"
+ ]
+ ]
+ },
+ {
+ "id": "ac19c527.29aaf8",
+ "type": "outcome",
+ "name": "tunnel-termination-point",
+ "xml": "<outcome value='tunnel-termination-point'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4346.735778808594,
+ "y": 2669.9384155273438,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "aecc45b1.07799"
+ ]
+ ]
+ },
+ {
+ "id": "dd2530b3.0ce388",
+ "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": 4247.950286865234,
+ "y": 2380.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "9ddcbad2.3cd968",
+ "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": 4530.450164794922,
+ "y": 2461.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "a4909c74.16b3c",
+ "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": 4531.450164794922,
+ "y": 2566.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "90f369e0.1f5ea",
+ "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": 4526.450164794922,
+ "y": 2515.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "aecc45b1.07799",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4553.567321777344,
+ "y": 2659.4570922851562,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "d7d46b6.f157298",
+ "a76ccf28.3b019",
+ "6d38c2ba.e73f94"
+ ]
+ ]
+ },
+ {
+ "id": "d7d46b6.f157298",
+ "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": 4768.567321777344,
+ "y": 2621.4570922851562,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "a76ccf28.3b019",
+ "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": 4765.567321777344,
+ "y": 2660.4570922851562,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "af66a72d.a68048"
+ ]
+ ]
+ },
+ {
+ "id": "6d38c2ba.e73f94",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 4721.067321777344,
+ "y": 2702.4570922851562,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "56aae750.4bf18",
+ "type": "outcome",
+ "name": "esr-thirdparty-sdnc",
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4814.450164794922,
+ "y": 2338.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "df2c6ab5.f8c7a"
+ ]
+ ]
+ },
+ {
+ "id": "807e8aa5.b5f288",
+ "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": 4416.450164794922,
+ "y": 2334.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "83815f42.db62e8"
+ ]
+ ]
+ },
+ {
+ "id": "83815f42.db62e8",
+ "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": 4611.450164794922,
+ "y": 2334.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "56aae750.4bf18",
+ "ace3955f.b78118"
+ ]
+ ]
+ },
+ {
+ "id": "ace3955f.b78118",
+ "type": "outcome",
+ "name": "network-resource",
+ "xml": "<outcome value='network-resource'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4816.450164794922,
+ "y": 2411.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "86fe5017.1c8158"
+ ]
+ ]
+ },
+ {
+ "id": "af66a72d.a68048",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4946.067321777344,
+ "y": 2659.4570922851562,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "73b98dcb.d53e2c"
+ ]
+ ]
+ },
+ {
+ "id": "73b98dcb.d53e2c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 5104.067321777344,
+ "y": 2659.4570922851562,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "35f64a50.ea71a6"
+ ]
+ ]
+ },
+ {
+ "id": "35f64a50.ea71a6",
+ "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": 5311.067321777344,
+ "y": 2659.4570922851562,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "df2c6ab5.f8c7a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4991.450164794922,
+ "y": 2330.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "b41095a1.9dd71",
+ "c294b821.4082d"
+ ]
+ ]
+ },
+ {
+ "id": "c294b821.4082d",
+ "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": 5199.450164794922,
+ "y": 2337.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "cbd53666.7a192",
+ "70f8105c.8c53c8",
+ "d07f4c5c.e57d28"
+ ]
+ ]
+ },
+ {
+ "id": "86fe5017.1c8158",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4993.450164794922,
+ "y": 2403.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "29792fa0.312a5"
+ ]
+ ]
+ },
+ {
+ "id": "b41095a1.9dd71",
+ "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": 5229.450164794922,
+ "y": 2285.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "29792fa0.312a5",
+ "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": 5228.450164794922,
+ "y": 2527.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "cbd53666.7a192",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5409.450164794922,
+ "y": 2328.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "12fe1a85.5f5265"
+ ]
+ ]
+ },
+ {
+ "id": "70f8105c.8c53c8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5401.450164794922,
+ "y": 2383.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "720591da.7ff908"
+ ]
+ ]
+ },
+ {
+ "id": "d07f4c5c.e57d28",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5406.450164794922,
+ "y": 2440.1167907714844,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "50fd00db.804e78"
+ ]
+ ]
+ },
+ {
+ "id": "50fd00db.804e78",
+ "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": 5558.450164794922,
+ "y": 2441.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "720591da.7ff908",
+ "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": 5569.450164794922,
+ "y": 2386.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "12fe1a85.5f5265",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5553.832489013672,
+ "y": 2325.7724609375,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "d4fbd78f.a8b058"
+ ]
+ ]
+ },
+ {
+ "id": "d4fbd78f.a8b058",
+ "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": 5768.450164794922,
+ "y": 2322.1167907714844,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "3ab03c8.bdf8544",
+ "type": "switchNode",
+ "name": "switch secondary empty?",
+ "xml": "<switch test='`length($network-route-three) == 0`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3282.116668701172,
+ "y": 795.1166687011719,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "7806cbe6.64ea14",
+ "91bd4861.b38048"
+ ]
+ ]
+ },
+ {
+ "id": "7806cbe6.64ea14",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3404.11669921875,
+ "y": 740.11669921875,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "4d1b7d4.397bf04"
+ ]
+ ]
+ },
+ {
+ "id": "91bd4861.b38048",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3391.11669921875,
+ "y": 849.11669921875,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "a8d8fc87.45b9a"
+ ]
+ ]
+ },
+ {
+ "id": "4d1b7d4.397bf04",
+ "type": "set",
+ "name": "set hasSecondary false",
+ "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",
+ "comments": "",
+ "x": 3619.116668701172,
+ "y": 577.1166687011719,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "a8d8fc87.45b9a",
+ "type": "set",
+ "name": "set hasSecondary true",
+ "xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",
+ "comments": "",
+ "x": 3615.116668701172,
+ "y": 621.1166687011719,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "87dcb71b.a618f",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3812.11669921875,
+ "y": 3521.11669921875,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "9a1c6f33.80c0c"
+ ]
+ ]
+ },
+ {
+ "id": "9a1c6f33.80c0c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4003.11669921875,
+ "y": 3525.11669921875,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "8de09ee3.1f82b8"
+ ]
+ ]
+ },
+ {
+ "id": "8de09ee3.1f82b8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4130.11669921875,
+ "y": 3524.11669921875,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "cc59ae49.952b8",
+ "3b72359b.f45e6a"
+ ]
+ ]
+ },
+ {
+ "id": "3b72359b.f45e6a",
+ "type": "save",
+ "name": "save SECONDARY-ROOT UNI in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='type' value='secondary-root' />\n<parameter name='data-source' value='`$gfp`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4352.11669921875,
+ "y": 3413.11669921875,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d566dc7.835f6a",
+ "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": 3357,
+ "y": 453,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "cc59ae49.952b8",
+ "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": 4348,
+ "y": 3472,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "e0cf290a.3bb57",
+ "91bee9e5.bd12c8"
+ ]
+ ]
+ },
+ {
+ "id": "e0cf290a.3bb57",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4558,
+ "y": 3449,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "2e6c4f7b.89f37"
+ ]
+ ]
+ },
+ {
+ "id": "2e6c4f7b.89f37",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4684,
+ "y": 3449,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "e80cf077.13626"
+ ]
+ ]
+ },
+ {
+ "id": "eb956f81.674a8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4689,
+ "y": 3498,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "538ba095.13ecb8",
+ "a894e133.03a62",
+ "bbac82b0.611ad8",
+ "5d08bff9.d57b18"
+ ]
+ ]
+ },
+ {
+ "id": "91bee9e5.bd12c8",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4563,
+ "y": 3498,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "eb956f81.674a8"
+ ]
+ ]
+ },
+ {
+ "id": "e80cf077.13626",
+ "type": "save",
+ "name": "save connectivityB relationship to UNI-SECONDARY-ROOT, in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 5012,
+ "y": 3446,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "538ba095.13ecb8",
+ "type": "execute",
+ "name": "execute UUID generator for connectivity domainC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainC-uuid\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4965,
+ "y": 3537,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a894e133.03a62",
+ "type": "save",
+ "name": "save connectivity resource in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!-- key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='secondary-root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4913,
+ "y": 3579,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bbac82b0.611ad8",
+ "type": "save",
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
+ "comments": "",
+ "outputs": 1,
+ "x": 5042,
+ "y": 3621,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7be6dab9.621efc",
+ "type": "comment",
+ "name": "Create SECONDARY-ROOT connectivity",
+ "info": "",
+ "comments": "",
+ "x": 4928,
+ "y": 3494,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "5d08bff9.d57b18",
+ "type": "save",
+ "name": "save connectivityC relationship to UNI-SECONDARY-ROOT, in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 5020,
+ "y": 3669,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "748bc1ca.c78678",
+ "type": "comment",
+ "name": "Create SECONDARY-ROOT UNI",
+ "info": "",
+ "comments": "",
+ "x": 3840,
+ "y": 3472,
+ "z": "f8944603.71553",
"wires": []
+ },
+ {
+ "id": "286f0ec8.852352",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3815,
+ "y": 4143,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "d7543b1f.0223a"
+ ]
+ ]
+ },
+ {
+ "id": "d7543b1f.0223a",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4007,
+ "y": 4138,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "8aacb5a.7bd82c8"
+ ]
+ ]
+ },
+ {
+ "id": "8aacb5a.7bd82c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4136,
+ "y": 4138,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "9ecf386c.da77f"
+ ]
+ ]
+ },
+ {
+ "id": "9ecf386c.da77f",
+ "type": "save",
+ "name": "save middle-man-conn relationship to UNI-SECONDARY-ROOT, in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4468,
+ "y": 4136,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2bbca6cc.0ec622",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3803,
+ "y": 4367,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "85f62fba.be3af8"
+ ]
+ ]
+ },
+ {
+ "id": "85f62fba.be3af8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3983,
+ "y": 4366,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "f0b10235.e7e788"
+ ]
+ ]
+ },
+ {
+ "id": "f0b10235.e7e788",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4112,
+ "y": 4366,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "ccf3ecf0.96a2b"
+ ]
+ ]
+ },
+ {
+ "id": "ccf3ecf0.96a2b",
+ "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": 4329.88330078125,
+ "y": 4364.88330078125,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "cabe89a7.9d69e"
+ ]
+ ]
+ },
+ {
+ "id": "cabe89a7.9d69e",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4544.88330078125,
+ "y": 4364.88330078125,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "760290ae.a21e"
+ ]
+ ]
+ },
+ {
+ "id": "760290ae.a21e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4676.88330078125,
+ "y": 4364.88330078125,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "d0b7affb.c1db2"
+ ]
+ ]
+ },
+ {
+ "id": "d0b7affb.c1db2",
+ "type": "save",
+ "name": "save middle-man-conn relationship to connectivity-SECONDARY-ROOT, in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 5041,
+ "y": 4364,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c32fbe2a.4ce3f",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3478,
+ "y": 4622,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "f2b98ff2.538df8"
+ ]
+ ]
+ },
+ {
+ "id": "f2b98ff2.538df8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3658,
+ "y": 4621,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "44866831.1c971"
+ ]
+ ]
+ },
+ {
+ "id": "44866831.1c971",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3787,
+ "y": 4621,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "531a8e91.6c36e8"
+ ]
+ ]
+ },
+ {
+ "id": "6aa2083f.c88dc",
+ "type": "comment",
+ "name": "Update SECONDARY-ROOT UNI's bw",
+ "info": "",
+ "comments": "",
+ "x": 3523,
+ "y": 4680,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "5db121cf.f62b2",
+ "type": "save",
+ "name": "update S-ROOT UNI in AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4089,
+ "y": 4779,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "531a8e91.6c36e8",
+ "type": "save",
+ "name": "get S-root uni from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3553,
+ "y": 4713,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "5ffa37b0.a29d98",
+ "2e65d2b6.ac2056",
+ "b5462b77.92e368"
+ ]
+ ]
+ },
+ {
+ "id": "2e65d2b6.ac2056",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3734.490966796875,
+ "y": 4690.57421875,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "5fe821cf.842878"
+ ]
+ ]
+ },
+ {
+ "id": "b5462b77.92e368",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3723,
+ "y": 4730,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "6ea658d1.17df7"
+ ]
+ ]
+ },
+ {
+ "id": "5fe821cf.842878",
+ "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": 3894.0625,
+ "y": 4688.85986328125,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "6ea658d1.17df7",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3884,
+ "y": 4731,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "4792a0c5.aeb76",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3886,
+ "y": 4775,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "78930237.780be4",
+ "5db121cf.f62b2"
+ ]
+ ]
+ },
+ {
+ "id": "5ffa37b0.a29d98",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3728,
+ "y": 4767,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "4792a0c5.aeb76"
+ ]
+ ]
+ },
+ {
+ "id": "78930237.780be4",
+ "type": "set",
+ "name": "set new bw",
+ "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",
+ "comments": "",
+ "x": 4047,
+ "y": 4707,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "74408c25.ef5164",
+ "type": "comment",
+ "name": "populate connectivity-C variable in the context map",
+ "info": "",
+ "comments": "",
+ "x": 4413,
+ "y": 5275,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "d1a4e2c9.15ac9",
+ "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": 4568,
+ "y": 5316,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "748b1299.fd2144",
+ "type": "set",
+ "name": "set prop.connectivity-domainC-uuid",
+ "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",
+ "comments": "",
+ "x": 5011,
+ "y": 5364,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "24040f90.d6a4",
+ "type": "switchNode",
+ "name": "switch found-secondary-root-connectivity",
+ "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4384,
+ "y": 5374,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "f8d36d32.9ac71",
+ "9cd0c03a.a311a"
+ ]
+ ]
+ },
+ {
+ "id": "f8d36d32.9ac71",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4620,
+ "y": 5358,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "d753b8f.12e03c8"
+ ]
+ ]
+ },
+ {
+ "id": "d753b8f.12e03c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4764,
+ "y": 5360,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "748b1299.fd2144",
+ "9643625b.90e238",
+ "c3f4caa.3b73cb8"
+ ]
+ ]
+ },
+ {
+ "id": "9cd0c03a.a311a",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4619,
+ "y": 5406,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9643625b.90e238",
+ "type": "save",
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
+ "comments": "",
+ "outputs": 1,
+ "x": 5132,
+ "y": 5411,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c3f4caa.3b73cb8",
+ "type": "save",
+ "name": "update connectivity resource in AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5013.6669921875,
+ "y": 5496.08349609375,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "433011d7.349ae8",
+ "type": "comment",
+ "name": "Update connectivity status to modified",
+ "info": "",
+ "comments": "",
+ "x": 5014.8837890625,
+ "y": 5454.88330078125,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "e2691c6e.49966",
+ "type": "set",
+ "name": "set prop.connectivity-domainC-uuid",
+ "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",
+ "comments": "",
+ "x": 5546,
+ "y": 5843,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "7492e58a.da53dc",
+ "type": "switchNode",
+ "name": "switch found-secondary-root-connectivity",
+ "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4919,
+ "y": 5853,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "7d7daf2e.06b168",
+ "1dddd00a.b82ef8"
+ ]
+ ]
+ },
+ {
+ "id": "7d7daf2e.06b168",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5152,
+ "y": 5847,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "51e74c47.c309bc"
+ ]
+ ]
+ },
+ {
+ "id": "51e74c47.c309bc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5299,
+ "y": 5855,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "e2691c6e.49966",
+ "f2071b27.722968",
+ "ce8449a1.6c0af8"
+ ]
+ ]
+ },
+ {
+ "id": "1dddd00a.b82ef8",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5153,
+ "y": 5897,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f2071b27.722968",
+ "type": "save",
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
+ "comments": "",
+ "outputs": 1,
+ "x": 5667,
+ "y": 5890,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ce8449a1.6c0af8",
+ "type": "save",
+ "name": "update connectivity resource in AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5548.6669921875,
+ "y": 5975.08349609375,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6cf05b70.9ecfd4",
+ "type": "comment",
+ "name": "Update connectivity status to modified",
+ "info": "",
+ "comments": "",
+ "x": 5549.8837890625,
+ "y": 5933.88330078125,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "b08c7802.5d204",
+ "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": 5080,
+ "y": 5803,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e97fbec2.db6de",
+ "type": "comment",
+ "name": "populate connectivity-C variable in the context map",
+ "info": "",
+ "comments": "",
+ "x": 4914,
+ "y": 5764,
+ "z": "f8944603.71553",
+ "wires": []
+ },
+ {
+ "id": "651a17c0.63b678",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3241.25,
+ "y": 6373.25,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "74077cd7.2a1a94",
+ "f3174188.6084b"
+ ]
+ ]
+ },
+ {
+ "id": "74077cd7.2a1a94",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3432.25,
+ "y": 6377.25,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "f2351c78.3536d"
+ ]
+ ]
+ },
+ {
+ "id": "f2351c78.3536d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3559.25,
+ "y": 6376.25,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "9d7f2116.baeda"
+ ]
+ ]
+ },
+ {
+ "id": "f3174188.6084b",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3428.25,
+ "y": 6447.25,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "84ee4e22.34786"
+ ]
+ ]
+ },
+ {
+ "id": "bf4fd4bd.d3efb",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate-w-Protection",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate-w-Protection' mode='sync' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3977.75,
+ "y": 6446.33349609375,
+ "z": "f8944603.71553",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "84ee4e22.34786",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3561.75,
+ "y": 6449.33349609375,
+ "z": "f8944603.71553",
+ "wires": [
+ [
+ "bf4fd4bd.d3efb"
+ ]
+ ]
}
] \ No newline at end of file