aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-allocate.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-allocate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-allocate.json4595
1 files changed, 3329 insertions, 1266 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-allocate.json b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-allocate.json
index 8c72d0c8..b1d61faf 100644
--- a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-allocate.json
+++ b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-allocate.json
@@ -1,20 +1,20 @@
[
{
- "id": "187a8cd0.b6793b",
+ "id": "df3491bc.625428",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 144,
- "y": 132,
- "z": "4d37a11.42c136",
+ "x": 128,
+ "y": 113,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "5ea5ad17.ee4964"
+ "f93a4fe6.087538"
]
]
},
{
- "id": "5ea5ad17.ee4964",
+ "id": "f93a4fe6.087538",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,3569 +22,5632 @@
"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": 428.2856903076172,
- "y": 193.23810863494873,
- "z": "4d37a11.42c136",
+ "x": 412.2856903076172,
+ "y": 174.23810863494873,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "9dad8fbc.f24f98"
+ "3a78d95d.5e3c5e"
]
]
},
{
- "id": "9dad8fbc.f24f98",
+ "id": "3a78d95d.5e3c5e",
"type": "method",
"name": "method tsli-vnf-topology-operation-trans-slice-allocate",
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-allocate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 434.42860412597656,
- "y": 278.0000305175781,
- "z": "4d37a11.42c136",
+ "x": 418.42860412597656,
+ "y": 259.0000305175781,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "ca46cddf.f67038"
+ "35ecb5b7.3f1b02"
]
]
},
{
- "id": "ca46cddf.f67038",
+ "id": "35ecb5b7.3f1b02",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 804.238037109375,
- "y": 302.66668701171875,
- "z": "4d37a11.42c136",
+ "x": 788.238037109375,
+ "y": 283.66668701171875,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "506e7f5c.19244",
- "7c740453.8a159c",
- "ac58016f.1c2c1"
+ "a99ea7b2.f5e618",
+ "183025fe.418fa2",
+ "d352d101.d008a8"
]
]
},
{
- "id": "506e7f5c.19244",
+ "id": "a99ea7b2.f5e618",
"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": 1105.571533203125,
- "y": 573.5969848632812,
- "z": "4d37a11.42c136",
+ "x": 1089.571533203125,
+ "y": 554.5969848632812,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "7c740453.8a159c",
+ "id": "183025fe.418fa2",
"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": 1127,
- "y": 276,
- "z": "4d37a11.42c136",
+ "x": 1111,
+ "y": 257,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "78f50d5a.2a0cec",
- "c34c58a5.11a148",
- "f82c0a42.39fea8"
+ "47f816cc.c0286",
+ "318d2442.efdd34",
+ "4265fd48.9eb024"
]
]
},
{
- "id": "78f50d5a.2a0cec",
+ "id": "47f816cc.c0286",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1352,
- "y": 134,
- "z": "4d37a11.42c136",
+ "x": 1336,
+ "y": 115,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "dfc9a5db.996c4"
+ "6fd78e9c.961b2"
]
]
},
{
- "id": "c34c58a5.11a148",
+ "id": "318d2442.efdd34",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1347.490966796875,
- "y": 203.57403564453125,
- "z": "4d37a11.42c136",
+ "x": 1331.490966796875,
+ "y": 184.57403564453125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "5383933.3cbeeec"
+ "aa8b68cf.4936c"
]
]
},
{
- "id": "f82c0a42.39fea8",
+ "id": "4265fd48.9eb024",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1336,
- "y": 250,
- "z": "4d37a11.42c136",
+ "x": 1320,
+ "y": 231,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "3912b121.be04f6"
+ "ea9381a6.8a9938"
]
]
},
{
- "id": "dfc9a5db.996c4",
+ "id": "6fd78e9c.961b2",
"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": 1591,
- "y": 131,
- "z": "4d37a11.42c136",
+ "x": 1575,
+ "y": 112,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "fea7170c.7030f8",
- "8bbb818c.845db"
+ "a9515923.c68db8",
+ "3b6a0136.f8dee6"
]
]
},
{
- "id": "5383933.3cbeeec",
+ "id": "aa8b68cf.4936c",
"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": 1501.0623779296875,
- "y": 206.85977172851562,
- "z": "4d37a11.42c136",
+ "x": 1485.0623779296875,
+ "y": 187.85977172851562,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "3912b121.be04f6",
+ "id": "ea9381a6.8a9938",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1505,
- "y": 251,
- "z": "4d37a11.42c136",
+ "x": 1489,
+ "y": 232,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "fea7170c.7030f8",
+ "id": "a9515923.c68db8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1804,
- "y": 155,
- "z": "4d37a11.42c136",
+ "x": 1788,
+ "y": 136,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "bf993d83.a36c8"
+ "8d77a4c9.47348"
]
]
},
{
- "id": "8bbb818c.845db",
+ "id": "3b6a0136.f8dee6",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1806,
- "y": 95,
- "z": "4d37a11.42c136",
+ "x": 1790,
+ "y": 76,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "f5ddac6.6343fd",
+ "id": "2b9472b2.e91dbe",
"type": "comment",
"name": "new for TransportSlicing",
"info": "",
"comments": "",
- "x": 1106,
- "y": 164,
- "z": "4d37a11.42c136",
+ "x": 1090,
+ "y": 145,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "bf993d83.a36c8",
+ "id": "8d77a4c9.47348",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1789,
- "y": 243,
- "z": "4d37a11.42c136",
+ "x": 1773,
+ "y": 224,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "23c06925.0d2eb6",
- "a5814717.4b953",
- "39b144a2.fc3a7c"
+ "2dfd81e1.a251ae",
+ "bc1d9c19.8a817",
+ "d0adb7e4.435f98",
+ "bf30e0be.23b998"
]
]
},
{
- "id": "50cd8b4c.3fbe34",
+ "id": "4b515bec.7b07fc",
"type": "set",
"name": "set network-route-A",
"xml": "<set>\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",
"comments": "",
- "x": 2652,
- "y": 843,
- "z": "4d37a11.42c136",
+ "x": 2636,
+ "y": 824,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "4f854478.eff1a4",
+ "id": "1fb3da4d.f9823e",
"type": "set",
"name": "set network-route-B",
"xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",
"comments": "",
- "x": 2653,
- "y": 898,
- "z": "4d37a11.42c136",
+ "x": 2637,
+ "y": 879,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "78e29884.225c08",
+ "id": "1fed210d.6adb97",
"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": 2275,
- "y": 294,
- "z": "4d37a11.42c136",
+ "x": 2259,
+ "y": 275,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "e80669a1.e9e15",
- "2a720603.9816ea",
- "13ab43c3.0c3b8c"
+ "1d390c60.f37264",
+ "828d1344.2eeb18",
+ "35c0fff4.63034"
]
]
},
{
- "id": "e80669a1.e9e15",
+ "id": "1d390c60.f37264",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2491,
- "y": 361,
- "z": "4d37a11.42c136",
+ "x": 2475,
+ "y": 342,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "14dca185.e1b46e"
+ "1dfc0585.305702"
]
]
},
{
- "id": "2a720603.9816ea",
+ "id": "828d1344.2eeb18",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2491.490966796875,
- "y": 260.573974609375,
- "z": "4d37a11.42c136",
+ "x": 2475.490966796875,
+ "y": 241.573974609375,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "e741b978.cc2c38"
+ "899f4256.fc61"
]
]
},
{
- "id": "13ab43c3.0c3b8c",
+ "id": "35c0fff4.63034",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2487,
- "y": 310,
- "z": "4d37a11.42c136",
+ "x": 2471,
+ "y": 291,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "b16bf403.baad58"
+ "5b10d117.cfe6d8"
]
]
},
{
- "id": "e741b978.cc2c38",
+ "id": "899f4256.fc61",
"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": 2669.0625,
- "y": 260.8597412109375,
- "z": "4d37a11.42c136",
+ "x": 2653.0625,
+ "y": 241.8597412109375,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "b16bf403.baad58",
+ "id": "5b10d117.cfe6d8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2669,
- "y": 310,
- "z": "4d37a11.42c136",
+ "x": 2653,
+ "y": 291,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "6e843ab.3582ec4",
+ "id": "e459bf6d.9da9d8",
"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": 2010,
- "y": 783,
- "z": "4d37a11.42c136",
+ "x": 1994,
+ "y": 764,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "4070a4d0.4176d4",
- "60c71e39.2f942",
- "a6a55952.b90f"
+ "f5d3816e.ab2828",
+ "4956f23f.0bb47c",
+ "fe0f59f6.d97868"
]
]
},
{
- "id": "4070a4d0.4176d4",
+ "id": "f5d3816e.ab2828",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2301.490966796875,
- "y": 761.573974609375,
- "z": "4d37a11.42c136",
+ "x": 2285.490966796875,
+ "y": 742.573974609375,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "77c211be.bc11e8"
+ "9822556a.f611a"
]
]
},
{
- "id": "60c71e39.2f942",
+ "id": "4956f23f.0bb47c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2290,
- "y": 806,
- "z": "4d37a11.42c136",
+ "x": 2274,
+ "y": 787,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "fbd7810f.a3734"
+ "6c100a4d.9d821c"
]
]
},
{
- "id": "77c211be.bc11e8",
+ "id": "9822556a.f611a",
"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": 2450.0625,
- "y": 761.8597412109375,
- "z": "4d37a11.42c136",
+ "x": 2434.0625,
+ "y": 742.8597412109375,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "fbd7810f.a3734",
+ "id": "6c100a4d.9d821c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2449,
- "y": 806,
- "z": "4d37a11.42c136",
+ "x": 2433,
+ "y": 787,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "a6a55952.b90f",
+ "id": "fe0f59f6.d97868",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2297,
- "y": 885,
- "z": "4d37a11.42c136",
+ "x": 2281,
+ "y": 866,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "22d259e0.d6e2e6"
+ "6d1afb47.ab3814"
]
]
},
{
- "id": "22d259e0.d6e2e6",
+ "id": "6d1afb47.ab3814",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2436,
- "y": 885,
- "z": "4d37a11.42c136",
+ "x": 2420,
+ "y": 866,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "50cd8b4c.3fbe34",
- "4f854478.eff1a4",
- "14a4c097.be654f",
- "644a5f8e.b0774",
- "79e86730.1965c8",
- "4f1b84d7.aafb5c",
- "7ca2c5af.473d34",
- "28a40435.4178ec",
- "b46ca414.99697",
- "57fdafb2.9eec08",
- "260f00b5.585908",
- "134248ca.e0fa77",
- "fc2a7bf0.e878b",
- "84749d0f.3038c8",
- "21292318.735edc",
- "ce066c5d.e7734",
- "e927f664.5c872",
- "29397b6c.248454",
- "c19c2198.0de5c",
- "488403ee.0379ac"
+ "4b515bec.7b07fc",
+ "1fb3da4d.f9823e",
+ "97eccb48.84f6c",
+ "c57ab47a.d333d8",
+ "10cbf4f3.49fe3b",
+ "49d3005f.62282",
+ "15e0419f.a2cb36",
+ "e6402796.6c8a4",
+ "1f03402a.5db7",
+ "56710693.e24068",
+ "84b0870f.4db1e",
+ "3323f682.f60c3a",
+ "13ac3dbd.1f366a"
]
]
},
{
- "id": "14a4c097.be654f",
+ "id": "97eccb48.84f6c",
"type": "save",
"name": "get network-route-A from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",
"comments": "",
"outputs": 1,
- "x": 2665,
- "y": 966,
- "z": "4d37a11.42c136",
+ "x": 2649,
+ "y": 947,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "7df96ca0.99ecc4",
- "50b0a0cb.3236a8",
- "a3437ac7.e0ee1"
+ "8c8a4891.ac867",
+ "8506ad3d.b7e4c",
+ "a3b6635c.c539f8"
]
]
},
{
- "id": "644a5f8e.b0774",
+ "id": "c57ab47a.d333d8",
"type": "save",
"name": "get network-route-B from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",
"comments": "",
"outputs": 1,
- "x": 2644,
- "y": 1567.9998779296875,
- "z": "4d37a11.42c136",
+ "x": 2628,
+ "y": 1548.9998779296875,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "ece670c3.4f34a8",
- "263c76fe.5b3242",
- "97139121.0331f8"
+ "506562cd.b8f74c",
+ "8d73f82f.8988f8",
+ "24728d1d.df92ba"
]
]
},
{
- "id": "7df96ca0.99ecc4",
+ "id": "8c8a4891.ac867",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2866,
- "y": 850,
- "z": "4d37a11.42c136",
+ "x": 2850,
+ "y": 831,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "a6fc1138.23945"
+ "40f9d3c1.86e1ec"
]
]
},
{
- "id": "50b0a0cb.3236a8",
+ "id": "8506ad3d.b7e4c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2861.509033203125,
- "y": 899.426025390625,
- "z": "4d37a11.42c136",
+ "x": 2845.509033203125,
+ "y": 880.426025390625,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "6e6d0210.60f404"
+ "6f975963.47cb7"
]
]
},
{
- "id": "a3437ac7.e0ee1",
+ "id": "a3b6635c.c539f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2865.509033203125,
- "y": 950.426025390625,
- "z": "4d37a11.42c136",
+ "x": 2849.509033203125,
+ "y": 931.426025390625,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "d860cdb2.412c48"
+ "61bb235e.2775f4"
]
]
},
{
- "id": "a6fc1138.23945",
+ "id": "40f9d3c1.86e1ec",
"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": 3014.571533203125,
- "y": 849.2857666015625,
- "z": "4d37a11.42c136",
+ "x": 2998.571533203125,
+ "y": 830.2857666015625,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "6e6d0210.60f404",
+ "id": "6f975963.47cb7",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3004.509033203125,
- "y": 899.426025390625,
- "z": "4d37a11.42c136",
+ "x": 2988.509033203125,
+ "y": 880.426025390625,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "ece670c3.4f34a8",
+ "id": "506562cd.b8f74c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2867,
- "y": 1537.9998779296875,
- "z": "4d37a11.42c136",
+ "x": 2851,
+ "y": 1518.9998779296875,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "f4c07ea8.414868"
+ "7f769faa.864248"
]
]
},
{
- "id": "263c76fe.5b3242",
+ "id": "8d73f82f.8988f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2862.509033203125,
- "y": 1587.4259033203125,
- "z": "4d37a11.42c136",
+ "x": 2846.509033203125,
+ "y": 1568.4259033203125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "ce13d349.caf3b8"
+ "cc9ee8f2.77fda8"
]
]
},
{
- "id": "97139121.0331f8",
+ "id": "24728d1d.df92ba",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2866.509033203125,
- "y": 1638.4259033203125,
- "z": "4d37a11.42c136",
+ "x": 2850.509033203125,
+ "y": 1619.4259033203125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "d30e3d8d.09cef8"
+ "8a29f509.d58fe8"
]
]
},
{
- "id": "f4c07ea8.414868",
+ "id": "7f769faa.864248",
"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": 3015.571533203125,
- "y": 1537.28564453125,
- "z": "4d37a11.42c136",
+ "x": 2999.571533203125,
+ "y": 1518.28564453125,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "ce13d349.caf3b8",
+ "id": "cc9ee8f2.77fda8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3005.509033203125,
- "y": 1587.4259033203125,
- "z": "4d37a11.42c136",
+ "x": 2989.509033203125,
+ "y": 1568.4259033203125,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "e31af50c.926d2",
+ "id": "b720785b.7c7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3679.66650390625,
- "y": 994,
- "z": "4d37a11.42c136",
+ "x": 3663.66650390625,
+ "y": 975,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "c203b1ea.86f6c",
- "d4cb3bd3.a349c8",
- "5d25d92f.6f798",
- "a5aee8f6.ab5e58",
- "c830d981.aee038"
+ "f3775fbc.163688",
+ "77e2870c.e28a38",
+ "ac8bf04e.ff247",
+ "7c2c78d5.f4945",
+ "bb95643a.1dafd8"
]
]
},
{
- "id": "b7824d8a.d2e4f8",
+ "id": "669f51ab.4dcf7",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3507,
- "y": 995,
- "z": "4d37a11.42c136",
+ "x": 3491,
+ "y": 976,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "e31af50c.926d2"
+ "b720785b.7c7"
]
]
},
{
- "id": "5d5b9681.b7598",
+ "id": "bfa60b88.954ac8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3516.490966796875,
- "y": 1037.5740356445312,
- "z": "4d37a11.42c136",
+ "x": 3500.490966796875,
+ "y": 1018.5740356445312,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "4fc1bcc7.eeb784"
+ "f78f70ff.0f2c38"
]
]
},
{
- "id": "6e8be76c.59d528",
+ "id": "83a912b8.5c33b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3505,
- "y": 1084,
- "z": "4d37a11.42c136",
+ "x": 3489,
+ "y": 1065,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "ac4a57cf.bef8e8"
+ "d7142401.9476c"
]
]
},
{
- "id": "4fc1bcc7.eeb784",
+ "id": "f78f70ff.0f2c38",
"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": 3670.0623779296875,
- "y": 1040.8597717285156,
- "z": "4d37a11.42c136",
+ "x": 3654.0623779296875,
+ "y": 1021.8597717285156,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "ac4a57cf.bef8e8",
+ "id": "d7142401.9476c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3674,
- "y": 1085,
- "z": "4d37a11.42c136",
+ "x": 3658,
+ "y": 1066,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "d860cdb2.412c48",
+ "id": "61bb235e.2775f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3027,
- "y": 952,
- "z": "4d37a11.42c136",
+ "x": 3011,
+ "y": 933,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "62113903.77ec78",
- "c9fe9947.c06348"
+ "4914fb6.031ad84",
+ "4835023e.e8e8cc"
]
]
},
{
- "id": "d30e3d8d.09cef8",
+ "id": "8a29f509.d58fe8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3017,
- "y": 1639.9998779296875,
- "z": "4d37a11.42c136",
+ "x": 3001,
+ "y": 1620.9998779296875,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "4ecc6dae.def654",
- "669a0eda.d8f578"
+ "33a198b5.ec1ae",
+ "684cf1ab.a79f48"
]
]
},
{
- "id": "a1006da4.a872e",
+ "id": "d9ace0a0.b4a76",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3647.66650390625,
- "y": 1830,
- "z": "4d37a11.42c136",
+ "x": 3631.66650390625,
+ "y": 1811,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "a3aca2eb.21f5a8",
- "d3723bfd.d9b168",
- "d3c0c42f.4b437",
- "2512774e.7c83b8",
- "d281a70f.336618"
+ "a2003991.03fd4",
+ "52dfb8b2.652278",
+ "22f952b9.882086",
+ "eb4dde28.2b2138",
+ "60f3b421.08732c"
]
]
},
{
- "id": "c9dbe459.2e8d58",
+ "id": "cc45c64e.73066",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3475,
- "y": 1831,
- "z": "4d37a11.42c136",
+ "x": 3459,
+ "y": 1812,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "a1006da4.a872e"
+ "d9ace0a0.b4a76"
]
]
},
{
- "id": "dab2f9a8.cea26",
+ "id": "33759aa.996c566",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3484.490966796875,
- "y": 1873.5740356445312,
- "z": "4d37a11.42c136",
+ "x": 3468.490966796875,
+ "y": 1854.5740356445312,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "6f793776.f883f"
+ "28b2902a.f0c46"
]
]
},
{
- "id": "f5d094cc.fe5d68",
+ "id": "fff61c46.59cf58",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3473,
- "y": 1920,
- "z": "4d37a11.42c136",
+ "x": 3457,
+ "y": 1901,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "f383fe68.3b83"
+ "c4e6ae73.bdead"
]
]
},
{
- "id": "6f793776.f883f",
+ "id": "28b2902a.f0c46",
"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": 3638.0623779296875,
- "y": 1876.8597717285156,
- "z": "4d37a11.42c136",
+ "x": 3622.0623779296875,
+ "y": 1857.8597717285156,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "f383fe68.3b83",
+ "id": "c4e6ae73.bdead",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3642,
- "y": 1921,
- "z": "4d37a11.42c136",
+ "x": 3626,
+ "y": 1902,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "c203b1ea.86f6c",
+ "id": "f3775fbc.163688",
"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": 3944,
- "y": 978,
- "z": "4d37a11.42c136",
+ "x": 3928,
+ "y": 959,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "6fb08f41.de4d4",
- "183e3f66.48a0d1"
+ "17df8b10.734cad",
+ "e9e72181.7c2d78"
]
]
},
{
- "id": "183e3f66.48a0d1",
+ "id": "e9e72181.7c2d78",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4167,
- "y": 933,
- "z": "4d37a11.42c136",
+ "x": 4151,
+ "y": 914,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "e55834d1.3ca1b8"
+ "c8b8d5f9.b22ca8"
]
]
},
{
- "id": "6fb08f41.de4d4",
+ "id": "17df8b10.734cad",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4169,
- "y": 997,
- "z": "4d37a11.42c136",
+ "x": 4153,
+ "y": 978,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "f45e344f.88a748"
+ "59177303.95ce1c"
]
]
},
{
- "id": "5bf466f.7bcdb98",
+ "id": "e95ea736.29045",
"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": 4502,
- "y": 888,
- "z": "4d37a11.42c136",
+ "x": 4486,
+ "y": 869,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "f45e344f.88a748",
+ "id": "59177303.95ce1c",
"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": 4331,
- "y": 993,
- "z": "4d37a11.42c136",
+ "x": 4315,
+ "y": 974,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "e55834d1.3ca1b8",
+ "id": "c8b8d5f9.b22ca8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4332,
- "y": 930,
- "z": "4d37a11.42c136",
+ "x": 4316,
+ "y": 911,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "194d0d3d.11557b",
- "5bf466f.7bcdb98"
+ "f09148e0.5a878",
+ "e95ea736.29045"
]
]
},
{
- "id": "194d0d3d.11557b",
+ "id": "f09148e0.5a878",
"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": 4503,
- "y": 996,
- "z": "4d37a11.42c136",
+ "x": 4487,
+ "y": 977,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "dd1a9ea9.6d631",
+ "id": "2c408fec.1a81a",
"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": 4504,
- "y": 945,
- "z": "4d37a11.42c136",
+ "x": 4488,
+ "y": 926,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "5d25d92f.6f798",
+ "id": "ac8bf04e.ff247",
"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='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\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": 3946,
- "y": 1137,
- "z": "4d37a11.42c136",
+ "x": 3930,
+ "y": 1118,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "d4cb3bd3.a349c8",
+ "id": "77e2870c.e28a38",
"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": 3991,
- "y": 1047,
- "z": "4d37a11.42c136",
+ "x": 3975,
+ "y": 1028,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "6324b9d6.c58fe",
+ "id": "936488c4.d6b8e",
"type": "comment",
"name": "TODO: FIXME",
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",
"comments": "",
- "x": 3880,
- "y": 1088,
- "z": "4d37a11.42c136",
+ "x": 3864,
+ "y": 1069,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "a3aca2eb.21f5a8",
+ "id": "a2003991.03fd4",
"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": 3934,
- "y": 1834.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 3918,
+ "y": 1815.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "37186f70.3d57",
- "4ffb9846.2cd768"
+ "f2d8cb03.1eed48",
+ "6e32cf18.31944"
]
]
},
{
- "id": "4ffb9846.2cd768",
+ "id": "6e32cf18.31944",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4157,
- "y": 1789.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 4141,
+ "y": 1770.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "17371f4a.955d61"
+ "201ffc86.8db20c"
]
]
},
{
- "id": "37186f70.3d57",
+ "id": "f2d8cb03.1eed48",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4159,
- "y": 1853.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 4143,
+ "y": 1834.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "1981566c.49d212"
+ "b29b2d4c.c3046"
]
]
},
{
- "id": "17f707eb.a2a908",
+ "id": "2386e717.060b18",
"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": 4492,
- "y": 1747.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 4476,
+ "y": 1728.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "1981566c.49d212",
+ "id": "b29b2d4c.c3046",
"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": 4318,
- "y": 1872.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 4302,
+ "y": 1853.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "17371f4a.955d61",
+ "id": "201ffc86.8db20c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4322,
- "y": 1786.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 4306,
+ "y": 1767.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "17f707eb.a2a908",
- "ca2d1022.cf4e88"
+ "2386e717.060b18",
+ "c71df80d.cfbb08"
]
]
},
{
- "id": "ca2d1022.cf4e88",
+ "id": "c71df80d.cfbb08",
"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": 4493,
- "y": 1852.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 4477,
+ "y": 1833.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "8cfd8f17.95a8e",
+ "id": "e385afea.eec45",
"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": 4488,
- "y": 1801.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 4472,
+ "y": 1782.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "d3c0c42f.4b437",
+ "id": "22f952b9.882086",
"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='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\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": 3936,
- "y": 1993.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 3920,
+ "y": 1974.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "d3723bfd.d9b168",
+ "id": "52dfb8b2.652278",
"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": 3981,
- "y": 1903.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 3965,
+ "y": 1884.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "1765f0ec.e922ff",
+ "id": "4961c905.9d4bb",
"type": "comment",
"name": "TODO: FIXME",
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",
"comments": "",
- "x": 3870,
- "y": 1941.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 3854,
+ "y": 1922.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "79e86730.1965c8",
+ "id": "10cbf4f3.49fe3b",
"type": "call",
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 2845,
- "y": 2068,
- "z": "4d37a11.42c136",
+ "x": 2848,
+ "y": 2278,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "4f1b84d7.aafb5c",
+ "id": "49d3005f.62282",
"type": "set",
"name": "set attachment_param",
"xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n\n<!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\n",
"comments": "",
- "x": 2639,
- "y": 1969,
- "z": "4d37a11.42c136",
+ "x": 2642,
+ "y": 2179,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "3db83432.384b6c",
+ "id": "9f05df83.0d8378",
"type": "comment",
"name": "TODO: FIXME",
"info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",
"comments": "",
- "x": 2613,
- "y": 1922,
- "z": "4d37a11.42c136",
+ "x": 2616,
+ "y": 2132,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "7ca2c5af.473d34",
+ "id": "65916227.3c1154",
"type": "save",
"name": "save vpn-binding A resource (aka. OTN domainA) in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<parameter name='access-provider-id' value='`$domain-A.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-A.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='src-access-ltp-id' value='' />\n<parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\n<parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 2721,
- "y": 2227,
- "z": "4d37a11.42c136",
+ "x": 2796,
+ "y": 2831,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "57191dce.959cfc"
+ "17bd32c6.c38a7d"
]
]
},
{
- "id": "28a40435.4178ec",
+ "id": "fa5ee7b8.d80d3",
"type": "save",
"name": "save connectivity-A relationship to vpn-binding-A, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 2724.5,
- "y": 2297,
- "z": "4d37a11.42c136",
- "wires": [
- []
- ]
- },
- {
- "id": "82428356.c63018",
- "type": "save",
- "name": "save srcLTP relationship in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 3372.5,
- "y": 2216,
- "z": "4d37a11.42c136",
- "wires": [
- []
- ]
- },
- {
- "id": "356966b3.03f20a",
- "type": "save",
- "name": "save dstLTP relationship in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3374.5,
- "y": 2255,
- "z": "4d37a11.42c136",
+ "x": 2787.5,
+ "y": 2880,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "a5aee8f6.ab5e58",
+ "id": "7c2c78d5.f4945",
"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": 4074,
- "y": 1185,
- "z": "4d37a11.42c136",
+ "x": 4058,
+ "y": 1166,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "2512774e.7c83b8",
+ "id": "eb4dde28.2b2138",
"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": 4063,
- "y": 2058.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 4047,
+ "y": 2039.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "57191dce.959cfc",
+ "id": "17bd32c6.c38a7d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3021,
- "y": 2234,
- "z": "4d37a11.42c136",
+ "x": 3082,
+ "y": 2838,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "dcb72301.82c018"
+ "20a19a36.cfd0d6"
]
]
},
{
- "id": "dcb72301.82c018",
+ "id": "20a19a36.cfd0d6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3161.500244140625,
- "y": 2235.25390625,
- "z": "4d37a11.42c136",
+ "x": 3222.500244140625,
+ "y": 2839.25390625,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "6975c99d.325498",
- "type": "comment",
- "name": "TODO: FIXME: do we need this relationship?",
- "info": "",
- "comments": "",
- "x": 3409,
- "y": 2175,
- "z": "4d37a11.42c136",
- "wires": []
- },
- {
- "id": "e85b69e.5211998",
+ "id": "dba0a851.2f60f8",
"type": "comment",
"name": "TODO: FIXME: put proper values",
"info": "",
"comments": "",
- "x": 2688,
- "y": 2187,
- "z": "4d37a11.42c136",
+ "x": 2718,
+ "y": 2777,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "b46ca414.99697",
+ "id": "cb2d65a2.90a53",
"type": "save",
"name": "save vpn-binding B resource (aka. OTN domainB) in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<parameter name='access-provider-id' value='`$domain-B.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-B.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$domain-B.node-id`' />\n<parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-access-ltp-id' value='' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 2724,
- "y": 2515,
- "z": "4d37a11.42c136",
+ "x": 2786,
+ "y": 3121,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "e64b3d38.e980a"
+ "a71dc667.1e8b48"
]
]
},
{
- "id": "58f4ff2f.89d75",
- "type": "comment",
- "name": "TODO: FIXME: do we need this relationship?",
- "info": "",
- "comments": "",
- "x": 3412,
- "y": 2455,
- "z": "4d37a11.42c136",
- "wires": []
- },
- {
- "id": "cad39d05.aea5f",
- "type": "save",
- "name": "save srcLTP relationship in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 3375.5,
- "y": 2496,
- "z": "4d37a11.42c136",
- "wires": [
- []
- ]
- },
- {
- "id": "489163b9.d640b4",
- "type": "save",
- "name": "save dstLTP relationship in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3377.5,
- "y": 2535,
- "z": "4d37a11.42c136",
- "wires": [
- []
- ]
- },
- {
- "id": "d0ea482.a9901b8",
+ "id": "c245f255.688bf",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3164.500244140625,
- "y": 2515.25390625,
- "z": "4d37a11.42c136",
+ "x": 3226.500244140625,
+ "y": 3121.25390625,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "e64b3d38.e980a",
+ "id": "a71dc667.1e8b48",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3024,
- "y": 2514,
- "z": "4d37a11.42c136",
+ "x": 3086,
+ "y": 3120,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "d0ea482.a9901b8"
+ "c245f255.688bf"
]
]
},
{
- "id": "9cd3d1db.fb7ce8",
+ "id": "86719a40.1873b8",
"type": "comment",
"name": "TODO: FIXME: put proper values",
"info": "",
"comments": "",
- "x": 2704,
- "y": 2475,
- "z": "4d37a11.42c136",
+ "x": 2712,
+ "y": 3073,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "57fdafb2.9eec08",
+ "id": "ca75e77c.cd7028",
"type": "save",
"name": "save connectivity-B relationship to vpn-binding-B, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 2722.5,
- "y": 2555,
- "z": "4d37a11.42c136",
+ "x": 2784.5,
+ "y": 3161,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "aa4b663b.c9d06",
+ "id": "a23bd528.d58958",
"type": "comment",
"name": "TODO: FIXME:",
"info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",
"comments": "",
- "x": 2596,
- "y": 2638,
- "z": "4d37a11.42c136",
+ "x": 2593,
+ "y": 3241,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "fc2a7bf0.e878b",
+ "id": "15e0419f.a2cb36",
"type": "set",
"name": "set attachment_param domain A",
"xml": "<set>\n<!--<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />-->\n<!--<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='otn-dest-node' value='`$domain-A.node-id`' />-->\n<!--<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />-->\n<!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n\n\n\n<parameter name='`otn-tunnel-sliceA-list[$idx].request-id`' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].otn-source-node`' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].otn-dest-node`' value='`$domain-A.node-id`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceA-list[$idx].src-ttp-id`' value='' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].dst-ttp-id`' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-sliceA-list_length`' value='`$idx + 1`' />\n\n<!--otn-tunnel-slice-list[$idx]-->\n\n",
"comments": "",
- "x": 2661,
- "y": 2683,
- "z": "4d37a11.42c136",
+ "x": 2658,
+ "y": 3286,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "2c916faf.da498",
+ "id": "2d08c6.2cc1e73a",
"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": 5118,
- "y": 705,
- "z": "4d37a11.42c136",
+ "x": 5102,
+ "y": 686,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "883ac008.74f89",
- "6cf958ca.c3e4a8",
- "e70b241a.97d7e8"
+ "fe7f5526.b757d",
+ "ace94fc7.113e6",
+ "42739782.dc6168"
]
]
},
{
- "id": "14dca185.e1b46e",
+ "id": "1dfc0585.305702",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2671,
- "y": 361,
- "z": "4d37a11.42c136",
+ "x": 2655,
+ "y": 342,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "8a257359.8a7208"
+ "8622621b.5191"
]
]
},
{
- "id": "e1ac55d9.d865b8",
+ "id": "7de95d04.4c5e84",
"type": "outcome",
"name": "logical-link",
"xml": "<outcome value='logical-link'>\n",
"comments": "",
"outputs": 1,
- "x": 1601.0001220703125,
- "y": 778.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 1585.0001220703125,
+ "y": 759.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "f6ec4c40.65362"
+ "38efe599.5c2462"
]
]
},
{
- "id": "14b8fde.fcc1702",
+ "id": "a0ff94f7.a05cd8",
"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": 2339,
- "y": 484,
- "z": "4d37a11.42c136",
+ "x": 2323,
+ "y": 465,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "e65ebebd.579d6",
- "32fc4868.fa2b8"
+ "8055d128.93cf8",
+ "a4e55956.340f1"
]
]
},
{
- "id": "32fc4868.fa2b8",
+ "id": "a4e55956.340f1",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2649,
- "y": 491,
- "z": "4d37a11.42c136",
+ "x": 2633,
+ "y": 472,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "e65ebebd.579d6",
+ "id": "8055d128.93cf8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2648,
- "y": 545,
- "z": "4d37a11.42c136",
+ "x": 2632,
+ "y": 526,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "c14b8719.903d8"
+ "33bd7ebe.34c502"
]
]
},
{
- "id": "badc6972.d68008",
+ "id": "2ecd1033.1e79d8",
"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": 2021,
- "y": 728,
- "z": "4d37a11.42c136",
+ "x": 2005,
+ "y": 709,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "f6ec4c40.65362",
+ "id": "38efe599.5c2462",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1778,
- "y": 771,
- "z": "4d37a11.42c136",
+ "x": 1762,
+ "y": 752,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "badc6972.d68008",
- "6e843ab.3582ec4"
+ "2ecd1033.1e79d8",
+ "e459bf6d.9da9d8"
]
]
},
{
- "id": "76aa64b6.332a54",
+ "id": "f61b9c.2378ec68",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 3207,
- "y": 957,
- "z": "4d37a11.42c136",
+ "x": 3191,
+ "y": 938,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "62113903.77ec78",
+ "id": "4914fb6.031ad84",
"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": 3250,
- "y": 1022,
- "z": "4d37a11.42c136",
+ "x": 3234,
+ "y": 1003,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "b7824d8a.d2e4f8",
- "5d5b9681.b7598",
- "6e8be76c.59d528"
+ "669f51ab.4dcf7",
+ "bfa60b88.954ac8",
+ "83a912b8.5c33b"
]
]
},
{
- "id": "4ecc6dae.def654",
+ "id": "33a198b5.ec1ae",
"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": 3247,
- "y": 1866,
- "z": "4d37a11.42c136",
+ "x": 3231,
+ "y": 1847,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "c9dbe459.2e8d58",
- "dab2f9a8.cea26",
- "f5d094cc.fe5d68"
+ "cc45c64e.73066",
+ "33759aa.996c566",
+ "fff61c46.59cf58"
]
]
},
{
- "id": "6f6e53ed.b087ec",
+ "id": "13eb2671.9e12f2",
"type": "comment",
"name": "Question?",
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
"comments": "",
- "x": 3208,
- "y": 1810,
- "z": "4d37a11.42c136",
+ "x": 3192,
+ "y": 1791,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "8a257359.8a7208",
+ "id": "8622621b.5191",
"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": 2964,
- "y": 308,
- "z": "4d37a11.42c136",
+ "x": 2948,
+ "y": 289,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "8ea1434f.746858",
- "f2d8ff7.3c8d5",
- "a6d32e01.02e81"
+ "774c27b3.d5b958",
+ "314f18ee.d0e28",
+ "177a6858.e45f48"
]
]
},
{
- "id": "f2d8ff7.3c8d5",
+ "id": "314f18ee.d0e28",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3237.490966796875,
- "y": 200.573974609375,
- "z": "4d37a11.42c136",
+ "x": 3221.490966796875,
+ "y": 181.573974609375,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "b85ff289.1649f"
+ "bf0d979c.0d6a2"
]
]
},
{
- "id": "b85ff289.1649f",
+ "id": "bf0d979c.0d6a2",
"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": 3415.0625,
- "y": 200.8597412109375,
- "z": "4d37a11.42c136",
+ "x": 3399.0625,
+ "y": 181.8597412109375,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "a6d32e01.02e81",
+ "id": "177a6858.e45f48",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3233,
- "y": 250,
- "z": "4d37a11.42c136",
+ "x": 3217,
+ "y": 231,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "381f7f5a.80d3f8"
+ "69e0c103.73f7e"
]
]
},
{
- "id": "381f7f5a.80d3f8",
+ "id": "69e0c103.73f7e",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3415,
- "y": 250,
- "z": "4d37a11.42c136",
+ "x": 3399,
+ "y": 231,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "8ea1434f.746858",
+ "id": "774c27b3.d5b958",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3237,
- "y": 301,
- "z": "4d37a11.42c136",
+ "x": 3221,
+ "y": 282,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "6ca45b0b.848dec"
+ "8d4f11e6.7da04"
]
]
},
{
- "id": "6ca45b0b.848dec",
+ "id": "8d4f11e6.7da04",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3417,
- "y": 301,
- "z": "4d37a11.42c136",
+ "x": 3401,
+ "y": 282,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "14b8fde.fcc1702"
+ "a0ff94f7.a05cd8"
]
]
},
{
- "id": "40603cb7.607bc4",
+ "id": "fe8ff063.6863b8",
"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": 2908,
- "y": 525,
- "z": "4d37a11.42c136",
+ "x": 2892,
+ "y": 506,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "4e667cbe.69222c"
+ "7f3884a8.055b2c"
]
]
},
{
- "id": "4e667cbe.69222c",
+ "id": "7f3884a8.055b2c",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3188,
- "y": 525,
- "z": "4d37a11.42c136",
+ "x": 3172,
+ "y": 506,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "e1ac55d9.d865b8"
+ "7de95d04.4c5e84"
]
]
},
{
- "id": "13452ae4.22e4ad",
+ "id": "5050eb58.e00ed4",
"type": "outcome",
"name": "network-policy",
"xml": "<outcome value='network-policy'>\n",
"comments": "",
"outputs": 1,
- "x": 3393,
- "y": 499,
- "z": "4d37a11.42c136",
+ "x": 3377,
+ "y": 480,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "245f45af.4ae9da"
+ "9ce29b77.ad6fe8"
]
]
},
{
- "id": "245f45af.4ae9da",
+ "id": "9ce29b77.ad6fe8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3569.9998779296875,
- "y": 491.9998779296875,
- "z": "4d37a11.42c136",
+ "x": 3553.9998779296875,
+ "y": 472.9998779296875,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "868607a4.e796b",
- "3bdb9c7c.d6977c"
+ "e7ee0b09.87c5d8",
+ "7fe89152.e612e8"
]
]
},
{
- "id": "868607a4.e796b",
+ "id": "e7ee0b09.87c5d8",
"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": 3812.9998779296875,
- "y": 448.9998779296875,
- "z": "4d37a11.42c136",
+ "x": 3796.9998779296875,
+ "y": 429.9998779296875,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "3bdb9c7c.d6977c",
+ "id": "7fe89152.e612e8",
"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": 3801.9998779296875,
- "y": 503.9998779296875,
- "z": "4d37a11.42c136",
+ "x": 3785.9998779296875,
+ "y": 484.9998779296875,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "11d90691.38b7b1",
- "e5aaddec.aca59",
- "6698da7a.77b3bc"
+ "64fb2208.a0a974",
+ "c3b9f4d3.aab1b8",
+ "f6aa84f.18621f8"
]
]
},
{
- "id": "6698da7a.77b3bc",
+ "id": "f6aa84f.18621f8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4055,
- "y": 390,
- "z": "4d37a11.42c136",
+ "x": 4039,
+ "y": 371,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "e904e6fc.1061a"
+ "c20366f5.78311"
]
]
},
{
- "id": "e904e6fc.1061a",
+ "id": "c20366f5.78311",
"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": 4203.571533203125,
- "y": 390.2857666015625,
- "z": "4d37a11.42c136",
+ "x": 4187.571533203125,
+ "y": 371.2857666015625,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "4975bc8f.93ecdc",
+ "id": "a9aadb9.f22de28",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4202.509033203125,
- "y": 434.426025390625,
- "z": "4d37a11.42c136",
+ "x": 4186.509033203125,
+ "y": 415.426025390625,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "e5aaddec.aca59",
+ "id": "c3b9f4d3.aab1b8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4043.509033203125,
- "y": 434.426025390625,
- "z": "4d37a11.42c136",
+ "x": 4027.509033203125,
+ "y": 415.426025390625,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "4975bc8f.93ecdc"
+ "a9aadb9.f22de28"
]
]
},
{
- "id": "11d90691.38b7b1",
+ "id": "64fb2208.a0a974",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4050.509033203125,
- "y": 513.426025390625,
- "z": "4d37a11.42c136",
+ "x": 4034.509033203125,
+ "y": 494.426025390625,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "3b14af19.ae1128"
+ "7a83723d.cc96f4"
]
]
},
{
- "id": "3b14af19.ae1128",
+ "id": "7a83723d.cc96f4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4189.509033203125,
- "y": 513.426025390625,
- "z": "4d37a11.42c136",
+ "x": 4173.509033203125,
+ "y": 494.426025390625,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "70ed97b5.dc1c9",
- "c2e43483.a12bd"
+ "1f8d33e3.a771dc",
+ "420f3616.2f701"
]
]
},
{
- "id": "70ed97b5.dc1c9",
+ "id": "1f8d33e3.a771dc",
"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": 4395,
- "y": 511,
- "z": "4d37a11.42c136",
+ "x": 4379,
+ "y": 492,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "c9fe9947.c06348",
+ "id": "4835023e.e8e8cc",
"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": 3251,
- "y": 692,
- "z": "4d37a11.42c136",
+ "x": 3235,
+ "y": 673,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "78baed3e.c501f4",
- "120f1ac.ca76ae5"
+ "eafc912d.cb0fe",
+ "14b2df73.02d4e1"
]
]
},
{
- "id": "120f1ac.ca76ae5",
+ "id": "14b2df73.02d4e1",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3474,
- "y": 678,
- "z": "4d37a11.42c136",
+ "x": 3458,
+ "y": 659,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "40ab4c81.445cd4"
+ "bb352d17.34137"
]
]
},
{
- "id": "78baed3e.c501f4",
+ "id": "eafc912d.cb0fe",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3476,
- "y": 711,
- "z": "4d37a11.42c136",
+ "x": 3460,
+ "y": 692,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "9d068c67.4598d"
+ "4040c9e2.8e3008"
]
]
},
{
- "id": "9d068c67.4598d",
+ "id": "4040c9e2.8e3008",
"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": 3619,
- "y": 708,
- "z": "4d37a11.42c136",
+ "x": 3603,
+ "y": 689,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "40ab4c81.445cd4",
+ "id": "bb352d17.34137",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3622,
- "y": 671,
- "z": "4d37a11.42c136",
+ "x": 3606,
+ "y": 652,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "e718de2c.ab002",
- "68fbd6c1.ad0448"
+ "8f0d5ee9.6635d",
+ "300f312a.b253d6"
]
]
},
{
- "id": "e718de2c.ab002",
+ "id": "8f0d5ee9.6635d",
"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": 3784,
- "y": 666,
- "z": "4d37a11.42c136",
+ "x": 3768,
+ "y": 647,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "669a0eda.d8f578",
+ "id": "684cf1ab.a79f48",
"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": 3265,
- "y": 1528.9998779296875,
- "z": "4d37a11.42c136",
+ "x": 3249,
+ "y": 1509.9998779296875,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "3eeffc60.cab244",
- "163d6add.444455"
+ "10ff0da4.16d4ea",
+ "55c5195b.3875c8"
]
]
},
{
- "id": "163d6add.444455",
+ "id": "55c5195b.3875c8",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3488,
- "y": 1514.9998779296875,
- "z": "4d37a11.42c136",
+ "x": 3472,
+ "y": 1495.9998779296875,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "2e1531f5.2b244e"
+ "7202d26b.6dffec"
]
]
},
{
- "id": "3eeffc60.cab244",
+ "id": "10ff0da4.16d4ea",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3490,
- "y": 1547.9998779296875,
- "z": "4d37a11.42c136",
+ "x": 3474,
+ "y": 1528.9998779296875,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "bb0d91d9.020e4"
+ "30474e74.e5639a"
]
]
},
{
- "id": "bb0d91d9.020e4",
+ "id": "30474e74.e5639a",
"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": 3633,
- "y": 1544.9998779296875,
- "z": "4d37a11.42c136",
+ "x": 3617,
+ "y": 1525.9998779296875,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "2e1531f5.2b244e",
+ "id": "7202d26b.6dffec",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3636,
- "y": 1507.9998779296875,
- "z": "4d37a11.42c136",
+ "x": 3620,
+ "y": 1488.9998779296875,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "dd9519ef.d4213",
- "54817df4.67d484"
+ "885f2609.7cba58",
+ "e1d06713.adb0c8"
]
]
},
{
- "id": "dd9519ef.d4213",
+ "id": "885f2609.7cba58",
"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": 3830,
- "y": 1511,
- "z": "4d37a11.42c136",
+ "x": 3814,
+ "y": 1492,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "ac58016f.1c2c1",
+ "id": "d352d101.d008a8",
"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": 1094,
- "y": 216,
- "z": "4d37a11.42c136",
+ "x": 1078,
+ "y": 197,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "260f00b5.585908",
+ "id": "5f8f79a5.68d88",
"type": "execute",
"name": "execute UUID generator for vpn-binding domainA",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainA-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2727,
- "y": 2149,
- "z": "4d37a11.42c136",
+ "x": 2771,
+ "y": 2745,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "134248ca.e0fa77",
+ "id": "9fa3320.fe9395",
"type": "execute",
"name": "execute UUID generator for vpn-binding domainB",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainB-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2725,
- "y": 2437,
- "z": "4d37a11.42c136",
+ "x": 2764,
+ "y": 3038,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "c830d981.aee038",
+ "id": "bb95643a.1dafd8",
"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": 3898,
- "y": 1262,
- "z": "4d37a11.42c136",
+ "x": 3882,
+ "y": 1243,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "4f78d00a.39ba68"
+ "232e8f32.739b48"
]
]
},
{
- "id": "4f78d00a.39ba68",
+ "id": "232e8f32.739b48",
"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": 4104,
- "y": 1262,
- "z": "4d37a11.42c136",
+ "x": 4088,
+ "y": 1243,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "489cbbcb.77186c"
+ "8bbe738e.7fafb"
]
]
},
{
- "id": "489cbbcb.77186c",
+ "id": "8bbe738e.7fafb",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 4319.28564453125,
- "y": 1261.82177734375,
- "z": "4d37a11.42c136",
+ "x": 4303.28564453125,
+ "y": 1242.82177734375,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "3bbad5a.8ec85aa"
+ "c3ad3464.e3237"
]
]
},
{
- "id": "3bbad5a.8ec85aa",
+ "id": "c3ad3464.e3237",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4526.1171875,
- "y": 1262.34033203125,
- "z": "4d37a11.42c136",
+ "x": 4510.1171875,
+ "y": 1243.34033203125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "cf0eeee3.8d6188",
- "80da6c7c.bf9bc",
- "4327bba4.ea16c4"
+ "f0158859.e44c4",
+ "1be7b379.0a0a35",
+ "bee0e07a.660808"
]
]
},
{
- "id": "cf0eeee3.8d6188",
+ "id": "f0158859.e44c4",
"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": 4741.1171875,
- "y": 1224.34033203125,
- "z": "4d37a11.42c136",
+ "x": 4725.1171875,
+ "y": 1205.34033203125,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "80da6c7c.bf9bc",
+ "id": "1be7b379.0a0a35",
"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": 4738.1171875,
- "y": 1263.34033203125,
- "z": "4d37a11.42c136",
+ "x": 4722.1171875,
+ "y": 1244.34033203125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "54d57ef.0aa16"
+ "5d7ec3ca.e9fe2c"
]
]
},
{
- "id": "4327bba4.ea16c4",
+ "id": "bee0e07a.660808",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4693.6171875,
- "y": 1305.34033203125,
- "z": "4d37a11.42c136",
+ "x": 4677.6171875,
+ "y": 1286.34033203125,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "54d57ef.0aa16",
+ "id": "5d7ec3ca.e9fe2c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4918.6171875,
- "y": 1262.34033203125,
- "z": "4d37a11.42c136",
+ "x": 4902.6171875,
+ "y": 1243.34033203125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "136083ca.f8ed24"
+ "5c631dd4.8f5fbc"
]
]
},
{
- "id": "136083ca.f8ed24",
+ "id": "5c631dd4.8f5fbc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5076.6171875,
- "y": 1262.34033203125,
- "z": "4d37a11.42c136",
+ "x": 5060.6171875,
+ "y": 1243.34033203125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "43a5fa3.d0c2504"
+ "d5d5e908.7a8eb8"
]
]
},
{
- "id": "43a5fa3.d0c2504",
+ "id": "d5d5e908.7a8eb8",
"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": 5283.6171875,
- "y": 1262.34033203125,
- "z": "4d37a11.42c136",
+ "x": 5267.6171875,
+ "y": 1243.34033203125,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "d281a70f.336618",
+ "id": "60f3b421.08732c",
"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": 3895,
- "y": 2131.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 3879,
+ "y": 2112.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "21553f06.14bad"
+ "715a89d.cfea178"
]
]
},
{
- "id": "21553f06.14bad",
+ "id": "715a89d.cfea178",
"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": 4101,
- "y": 2131.0001220703125,
- "z": "4d37a11.42c136",
+ "x": 4085,
+ "y": 2112.0001220703125,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "d5a45fe2.8cbaf"
+ "977e3712.429b18"
]
]
},
{
- "id": "d5a45fe2.8cbaf",
+ "id": "977e3712.429b18",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 4316.28564453125,
- "y": 2130.8218994140625,
- "z": "4d37a11.42c136",
+ "x": 4300.28564453125,
+ "y": 2111.8218994140625,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "3432450f.73fd1a"
+ "2113d9ff.cdd31e"
]
]
},
{
- "id": "3432450f.73fd1a",
+ "id": "2113d9ff.cdd31e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4523.1171875,
- "y": 2131.3404541015625,
- "z": "4d37a11.42c136",
+ "x": 4507.1171875,
+ "y": 2112.3404541015625,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "4d1b045c.8befb4",
- "ff4bcdcd.b592",
- "82369db7.8fbd4"
+ "3c92c59b.613ca2",
+ "193b4238.409d8e",
+ "b71c718.f135e1"
]
]
},
{
- "id": "4d1b045c.8befb4",
+ "id": "3c92c59b.613ca2",
"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": 4738.1171875,
- "y": 2093.3404541015625,
- "z": "4d37a11.42c136",
+ "x": 4722.1171875,
+ "y": 2074.3404541015625,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "ff4bcdcd.b592",
+ "id": "193b4238.409d8e",
"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": 4735.1171875,
- "y": 2132.3404541015625,
- "z": "4d37a11.42c136",
+ "x": 4719.1171875,
+ "y": 2113.3404541015625,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "a8f23d1f.d221e8"
+ "df85928.81de67"
]
]
},
{
- "id": "82369db7.8fbd4",
+ "id": "b71c718.f135e1",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4690.6171875,
- "y": 2174.3404541015625,
- "z": "4d37a11.42c136",
+ "x": 4674.6171875,
+ "y": 2155.3404541015625,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "a8f23d1f.d221e8",
+ "id": "df85928.81de67",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4915.6171875,
- "y": 2131.3404541015625,
- "z": "4d37a11.42c136",
+ "x": 4899.6171875,
+ "y": 2112.3404541015625,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "403d184.8f53468"
+ "8b1f9fde.337d98"
]
]
},
{
- "id": "403d184.8f53468",
+ "id": "8b1f9fde.337d98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5073.6171875,
- "y": 2131.3404541015625,
- "z": "4d37a11.42c136",
+ "x": 5057.6171875,
+ "y": 2112.3404541015625,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "c7d0f697.2aea68"
+ "20d9b129.b72206"
]
]
},
{
- "id": "c7d0f697.2aea68",
+ "id": "20d9b129.b72206",
"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": 5280.6171875,
- "y": 2131.3404541015625,
- "z": "4d37a11.42c136",
+ "x": 5264.6171875,
+ "y": 2112.3404541015625,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "84749d0f.3038c8",
+ "id": "e6402796.6c8a4",
"type": "set",
"name": "set attachment_param domain B",
- "xml": "<set>\n<!--<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />-->\n<!--<parameter name='otn-source-node' value='`$domain-B.node-id`' />-->\n<!--<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />-->\n<!--<parameter name='dst-ttp-id' value='' />-->\n<!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n\n\n<parameter name='`otn-tunnel-sliceB-list[$idx].request-id`' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-source-node`' value='`$domain-B.node-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceB-list[$idx].src-ttp-id`' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].dst-ttp-id`' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-sliceB-list_length`' value='`$idx + 1`' />\n",
+ "xml": "<set>\n<!--<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />-->\n<!--<parameter name='otn-source-node' value='`$domain-B.node-id`' />-->\n<!--<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />-->\n<!--<parameter name='dst-ttp-id' value='' />-->\n<!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n\n<parameter name='`otn-tunnel-sliceB-list[$idx].request-id`' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-source-node`' value='`$domain-B.node-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceB-list[$idx].src-ttp-id`' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].dst-ttp-id`' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-sliceB-list_length`' value='`$idx + 1`' />\n",
"comments": "",
- "x": 2656,
- "y": 3058,
- "z": "4d37a11.42c136",
+ "x": 2653,
+ "y": 3661,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "68fbd6c1.ad0448",
+ "id": "300f312a.b253d6",
"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": 3811,
- "y": 738,
- "z": "4d37a11.42c136",
+ "x": 3795,
+ "y": 719,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "69417d44.afb3fc",
- "a15ac77e.798db8",
- "3a89038d.704134"
+ "1c354309.a76ffd",
+ "950deba8.cc3e4",
+ "c2c16051.a906d8"
]
]
},
{
- "id": "69417d44.afb3fc",
+ "id": "1c354309.a76ffd",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4006.5001220703125,
- "y": 690,
- "z": "4d37a11.42c136",
+ "x": 3990.5001220703125,
+ "y": 671,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "138b37c3.968d8"
+ "d41af0c3.594838"
]
]
},
{
- "id": "a15ac77e.798db8",
+ "id": "950deba8.cc3e4",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3998.5001220703125,
- "y": 745,
- "z": "4d37a11.42c136",
+ "x": 3982.5001220703125,
+ "y": 726,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "5742f10e.dadab8"
+ "3d15fff1.053cf"
]
]
},
{
- "id": "3a89038d.704134",
+ "id": "c2c16051.a906d8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4003.5001220703125,
- "y": 802,
- "z": "4d37a11.42c136",
+ "x": 3987.5001220703125,
+ "y": 783,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "56dfcb3e.f8e3ac"
+ "d7ef8f23.d036"
]
]
},
{
- "id": "56dfcb3e.f8e3ac",
+ "id": "d7ef8f23.d036",
"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": 4155.5001220703125,
- "y": 803,
- "z": "4d37a11.42c136",
+ "x": 4139.5001220703125,
+ "y": 784,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "5742f10e.dadab8",
+ "id": "3d15fff1.053cf",
"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": 4166.5001220703125,
- "y": 748,
- "z": "4d37a11.42c136",
+ "x": 4150.5001220703125,
+ "y": 729,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "138b37c3.968d8",
+ "id": "d41af0c3.594838",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4150.8824462890625,
- "y": 687.6556701660156,
- "z": "4d37a11.42c136",
+ "x": 4134.8824462890625,
+ "y": 668.6556701660156,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "b4d80ee.d93167"
+ "b45d0128.680c8"
]
]
},
{
- "id": "40dc3d01.0cfddc",
+ "id": "7cb8afd4.8d20b8",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4733,
- "y": 706,
- "z": "4d37a11.42c136",
+ "x": 4717,
+ "y": 687,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "ce5ec787.25a25"
+ "47edc84c.808f88"
]
]
},
{
- "id": "ce5ec787.25a25",
+ "id": "47edc84c.808f88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4910,
- "y": 698,
- "z": "4d37a11.42c136",
+ "x": 4894,
+ "y": 679,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "deda36.39eb45c8",
- "2c916faf.da498"
+ "266ac25a.ea33a6",
+ "2d08c6.2cc1e73a"
]
]
},
{
- "id": "b4d80ee.d93167",
+ "id": "b45d0128.680c8",
"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": 4335,
- "y": 702,
- "z": "4d37a11.42c136",
+ "x": 4319,
+ "y": 683,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "83a731e6.aee9d8"
+ "4f9ef890.59c338"
]
]
},
{
- "id": "83a731e6.aee9d8",
+ "id": "4f9ef890.59c338",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4530,
- "y": 702,
- "z": "4d37a11.42c136",
+ "x": 4514,
+ "y": 683,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "40dc3d01.0cfddc",
- "556c2535.2cf6f4"
+ "7cb8afd4.8d20b8",
+ "212f425.c6d5fbe"
]
]
},
{
- "id": "deda36.39eb45c8",
+ "id": "266ac25a.ea33a6",
"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": 5148,
- "y": 653,
- "z": "4d37a11.42c136",
+ "x": 5132,
+ "y": 634,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "883ac008.74f89",
+ "id": "fe7f5526.b757d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5328,
- "y": 696,
- "z": "4d37a11.42c136",
+ "x": 5312,
+ "y": 677,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "5bb6445.b0cb1bc"
+ "c4631195.e5511"
]
]
},
{
- "id": "6cf958ca.c3e4a8",
+ "id": "ace94fc7.113e6",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5320,
- "y": 751,
- "z": "4d37a11.42c136",
+ "x": 5304,
+ "y": 732,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "f6420bc8.c6108"
+ "af8bf071.82c85"
]
]
},
{
- "id": "e70b241a.97d7e8",
+ "id": "42739782.dc6168",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5325,
- "y": 808,
- "z": "4d37a11.42c136",
+ "x": 5309,
+ "y": 789,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "e90b6e53.2dc61"
+ "b1e33e76.6db9b"
]
]
},
{
- "id": "e90b6e53.2dc61",
+ "id": "b1e33e76.6db9b",
"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": 5477,
- "y": 809,
- "z": "4d37a11.42c136",
+ "x": 5461,
+ "y": 790,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "f6420bc8.c6108",
+ "id": "af8bf071.82c85",
"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": 5488,
- "y": 754,
- "z": "4d37a11.42c136",
+ "x": 5472,
+ "y": 735,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "5bb6445.b0cb1bc",
+ "id": "c4631195.e5511",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5472.38232421875,
- "y": 693.6556701660156,
- "z": "4d37a11.42c136",
+ "x": 5456.38232421875,
+ "y": 674.6556701660156,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "36dcfa67.508606"
+ "4dcc9c46.887914"
]
]
},
{
- "id": "36dcfa67.508606",
+ "id": "4dcc9c46.887914",
"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": 5687,
- "y": 690,
- "z": "4d37a11.42c136",
+ "x": 5671,
+ "y": 671,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "54817df4.67d484",
+ "id": "e1d06713.adb0c8",
"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": 3852,
- "y": 1579,
- "z": "4d37a11.42c136",
+ "x": 3836,
+ "y": 1560,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "12332a8b.1f458d",
- "e70d4463.7fed78",
- "9e28dd86.32b368"
+ "34f7d7e6.e7fa8",
+ "cb710953.72942",
+ "4c788e8d.e93588"
]
]
},
{
- "id": "12332a8b.1f458d",
+ "id": "34f7d7e6.e7fa8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4047.5001220703125,
- "y": 1531,
- "z": "4d37a11.42c136",
+ "x": 4031.5001220703125,
+ "y": 1512,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "97851436.c0f798"
+ "fd0d1ee5.65b0f"
]
]
},
{
- "id": "e70d4463.7fed78",
+ "id": "cb710953.72942",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4039.5001220703125,
- "y": 1586,
- "z": "4d37a11.42c136",
+ "x": 4023.5001220703125,
+ "y": 1567,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "9865196d.c10828"
+ "68639fde.fb4de8"
]
]
},
{
- "id": "9e28dd86.32b368",
+ "id": "4c788e8d.e93588",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4044.5001220703125,
- "y": 1643,
- "z": "4d37a11.42c136",
+ "x": 4028.5001220703125,
+ "y": 1624,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "1636bf8.c7b9e41"
+ "ed57c904.1da5b"
]
]
},
{
- "id": "1636bf8.c7b9e41",
+ "id": "ed57c904.1da5b",
"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": 4196.5001220703125,
- "y": 1644,
- "z": "4d37a11.42c136",
+ "x": 4180.5001220703125,
+ "y": 1625,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "9865196d.c10828",
+ "id": "68639fde.fb4de8",
"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": 4207.5001220703125,
- "y": 1589,
- "z": "4d37a11.42c136",
+ "x": 4191.5001220703125,
+ "y": 1570,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "97851436.c0f798",
+ "id": "fd0d1ee5.65b0f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4191.8824462890625,
- "y": 1528.6556701660156,
- "z": "4d37a11.42c136",
+ "x": 4175.8824462890625,
+ "y": 1509.6556701660156,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "601870d2.2269c8"
+ "2c890085.25e4f8"
]
]
},
{
- "id": "358b8a93.9adabe",
+ "id": "b16b2c11.a7e9e",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 4774,
- "y": 1547,
- "z": "4d37a11.42c136",
+ "x": 4758,
+ "y": 1528,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "f1454db6.8dcaf8"
+ "e2c7b2a2.534808"
]
]
},
{
- "id": "f1454db6.8dcaf8",
+ "id": "e2c7b2a2.534808",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4951,
- "y": 1539,
- "z": "4d37a11.42c136",
+ "x": 4935,
+ "y": 1520,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "1806e2c2.14485d",
- "8cb20d6f.760bf"
+ "8256d13e.acb508",
+ "e33af2d.2ed629"
]
]
},
{
- "id": "601870d2.2269c8",
+ "id": "2c890085.25e4f8",
"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": 4376,
- "y": 1543,
- "z": "4d37a11.42c136",
+ "x": 4360,
+ "y": 1524,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "4732f224.c95254"
+ "7ad873b6.5b0624"
]
]
},
{
- "id": "4732f224.c95254",
+ "id": "7ad873b6.5b0624",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4571,
- "y": 1543,
- "z": "4d37a11.42c136",
+ "x": 4555,
+ "y": 1524,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "358b8a93.9adabe",
- "3beefc43.434434"
+ "b16b2c11.a7e9e",
+ "ba30acec.499f9"
]
]
},
{
- "id": "8cb20d6f.760bf",
+ "id": "e33af2d.2ed629",
"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": 5159,
- "y": 1546,
- "z": "4d37a11.42c136",
+ "x": 5143,
+ "y": 1527,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "c4071110.82806",
- "ce108d7.ad4977",
- "c040099f.13bbf8"
+ "dd2f9c6b.57f548",
+ "3b879379.c9bf84",
+ "13b1398c.3c465e"
]
]
},
{
- "id": "1806e2c2.14485d",
+ "id": "8256d13e.acb508",
"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": 5189,
- "y": 1494,
- "z": "4d37a11.42c136",
+ "x": 5173,
+ "y": 1475,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "c4071110.82806",
+ "id": "dd2f9c6b.57f548",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5369,
- "y": 1537,
- "z": "4d37a11.42c136",
+ "x": 5353,
+ "y": 1518,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "c3f3513e.3d36c"
+ "56d2c260.edc91c"
]
]
},
{
- "id": "ce108d7.ad4977",
+ "id": "3b879379.c9bf84",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 5361,
- "y": 1592,
- "z": "4d37a11.42c136",
+ "x": 5345,
+ "y": 1573,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "98979539.818688"
+ "7449bea.eaa7fc"
]
]
},
{
- "id": "c040099f.13bbf8",
+ "id": "13b1398c.3c465e",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 5366,
- "y": 1649,
- "z": "4d37a11.42c136",
+ "x": 5350,
+ "y": 1630,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "45d3d695.c0cf2"
+ "232c7315.841b1c"
]
]
},
{
- "id": "45d3d695.c0cf2",
+ "id": "232c7315.841b1c",
"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": 5518,
- "y": 1650,
- "z": "4d37a11.42c136",
+ "x": 5502,
+ "y": 1631,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "98979539.818688",
+ "id": "7449bea.eaa7fc",
"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": 5529,
- "y": 1595,
- "z": "4d37a11.42c136",
+ "x": 5513,
+ "y": 1576,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "c3f3513e.3d36c",
+ "id": "56d2c260.edc91c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5513.38232421875,
- "y": 1534.6556701660156,
- "z": "4d37a11.42c136",
+ "x": 5497.38232421875,
+ "y": 1515.6556701660156,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "90464df.06ab9b"
+ "49d0cb53.31a39c"
]
]
},
{
- "id": "90464df.06ab9b",
+ "id": "49d0cb53.31a39c",
"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": 5728,
- "y": 1531,
- "z": "4d37a11.42c136",
+ "x": 5712,
+ "y": 1512,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "a5814717.4b953",
+ "id": "4197c53b.8564cc",
"type": "execute",
"name": "execute RestApiCallNode slice creation domainA",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceA-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 1959,
- "y": 2744,
- "z": "4d37a11.42c136",
+ "x": 2006,
+ "y": 4699,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "2242c3cc.13b1dc",
- "2c8586d6.b70122"
+ "70c04755.d69dd8",
+ "d409404c.9b0598"
]
]
},
{
- "id": "2c8586d6.b70122",
+ "id": "d409404c.9b0598",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2242,
- "y": 2724,
- "z": "4d37a11.42c136",
+ "x": 2289,
+ "y": 4679,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "8e14b997.54e1b8"
+ "b37528b2.115b48"
]
]
},
{
- "id": "2242c3cc.13b1dc",
+ "id": "70c04755.d69dd8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2243.000213623047,
- "y": 2774.99990940094,
- "z": "4d37a11.42c136",
+ "x": 2290.000213623047,
+ "y": 4729.99990940094,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "72bda37b.1b4f84"
+ "31bb8bbe.1ece2c"
]
]
},
{
- "id": "8e14b997.54e1b8",
+ "id": "b37528b2.115b48",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing slice creation api for domain A\" />\n",
"comments": "",
- "x": 2382.0002479553223,
- "y": 2724.0000009536743,
- "z": "4d37a11.42c136",
+ "x": 2429.0002479553223,
+ "y": 4679.000000953674,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "72bda37b.1b4f84",
+ "id": "31bb8bbe.1ece2c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2388.02725982666,
- "y": 2772.745394706726,
- "z": "4d37a11.42c136",
+ "x": 2435.02725982666,
+ "y": 4727.745394706726,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "39b144a2.fc3a7c",
+ "id": "c751bc62.d2e9d8",
"type": "execute",
"name": "execute RestApiCallNode slice creation domainB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceB-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 1959,
- "y": 3110,
- "z": "4d37a11.42c136",
+ "x": 2002,
+ "y": 4868,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "23f4f16e.f2ab6e",
- "8c667512.e5492"
+ "9cb98bdf.eb0c38",
+ "32bfa672.12903a"
]
]
},
{
- "id": "8c667512.e5492",
+ "id": "32bfa672.12903a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2233,
- "y": 3090,
- "z": "4d37a11.42c136",
+ "x": 2276,
+ "y": 4848,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "1089012f.df48c7"
+ "b28dd680.86b978"
]
]
},
{
- "id": "23f4f16e.f2ab6e",
+ "id": "9cb98bdf.eb0c38",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2234.000213623047,
- "y": 3140.99990940094,
- "z": "4d37a11.42c136",
+ "x": 2277.000213623047,
+ "y": 4898.99990940094,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "199cfc4b.ed097c"
+ "2765f5a8.5ab652"
]
]
},
{
- "id": "1089012f.df48c7",
+ "id": "b28dd680.86b978",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing slice creation api for domain B\" />\n",
"comments": "",
- "x": 2373.0002479553223,
- "y": 3090.0000009536743,
- "z": "4d37a11.42c136",
+ "x": 2416.0002479553223,
+ "y": 4848.000000953674,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "199cfc4b.ed097c",
+ "id": "2765f5a8.5ab652",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2379.02725982666,
- "y": 3138.745394706726,
- "z": "4d37a11.42c136",
+ "x": 2422.02725982666,
+ "y": 4896.745394706726,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "c14b8719.903d8",
+ "id": "33bd7ebe.34c502",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2812,
- "y": 471,
- "z": "4d37a11.42c136",
+ "x": 2796,
+ "y": 452,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "40603cb7.607bc4",
- "7f3f76ad.e04ac8"
+ "fe8ff063.6863b8",
+ "4e85bccf.c8cf0c"
]
]
},
{
- "id": "7f3f76ad.e04ac8",
+ "id": "4e85bccf.c8cf0c",
"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": 3093,
- "y": 427,
- "z": "4d37a11.42c136",
+ "x": 3077,
+ "y": 408,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "31eeaed6.c9c2d2"
+ "badd7dbd.ce16"
]
]
},
{
- "id": "31eeaed6.c9c2d2",
+ "id": "badd7dbd.ce16",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3355,
- "y": 427,
- "z": "4d37a11.42c136",
+ "x": 3339,
+ "y": 408,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "13452ae4.22e4ad"
+ "5050eb58.e00ed4"
]
]
},
{
- "id": "556c2535.2cf6f4",
+ "id": "212f425.c6d5fbe",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 4736,
- "y": 780,
- "z": "4d37a11.42c136",
+ "x": 4720,
+ "y": 761,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "8b677154.0c28b8"
+ "656d86d7.e1bb3"
]
]
},
{
- "id": "8b677154.0c28b8",
+ "id": "656d86d7.e1bb3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4913,
- "y": 772,
- "z": "4d37a11.42c136",
+ "x": 4897,
+ "y": 753,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "dbe05c47.574588"
+ "4f5b4545.d432fc"
]
]
},
{
- "id": "dbe05c47.574588",
+ "id": "4f5b4545.d432fc",
"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": 5148,
- "y": 896,
- "z": "4d37a11.42c136",
+ "x": 5132,
+ "y": 877,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "e5346606.e9d9f",
+ "id": "5e5727f6.ce94f",
"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": 5188,
- "y": 1736,
- "z": "4d37a11.42c136",
+ "x": 5172,
+ "y": 1717,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "279e5fe1.a8b868",
+ "id": "33761656.d7dc5a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4953,
- "y": 1612,
- "z": "4d37a11.42c136",
+ "x": 4937,
+ "y": 1593,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "e5346606.e9d9f"
+ "5e5727f6.ce94f"
]
]
},
{
- "id": "3beefc43.434434",
+ "id": "ba30acec.499f9",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>",
"comments": "",
"outputs": 1,
- "x": 4776,
- "y": 1620,
- "z": "4d37a11.42c136",
+ "x": 4760,
+ "y": 1601,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "279e5fe1.a8b868"
+ "33761656.d7dc5a"
]
]
},
{
- "id": "21292318.735edc",
+ "id": "6b9897c8.516f28",
"type": "execute",
"name": "execute RestApiCallNode domainA UNI Coloring",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 2721,
- "y": 2870,
- "z": "4d37a11.42c136",
+ "x": 2718,
+ "y": 3473,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "aa98c0a5.978718",
- "47316c0a.b315dc"
+ "423bbf1a.980188",
+ "5a878bc1.0c7c24"
]
]
},
{
- "id": "47316c0a.b315dc",
+ "id": "5a878bc1.0c7c24",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2987,
- "y": 2850,
- "z": "4d37a11.42c136",
+ "x": 2984,
+ "y": 3453,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "a7504bbe.eb60e"
+ "857ed73a.517d58"
]
]
},
{
- "id": "aa98c0a5.978718",
+ "id": "423bbf1a.980188",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2988.000213623047,
- "y": 2900.99990940094,
- "z": "4d37a11.42c136",
+ "x": 2985.000213623047,
+ "y": 3503.99990940094,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "98c604c1.7b11b8"
+ "c8157b69.44d2d"
]
]
},
{
- "id": "a7504bbe.eb60e",
+ "id": "857ed73a.517d58",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing UNI Coloring for domain A\" />\n",
"comments": "",
- "x": 3127.0002479553223,
- "y": 2850.0000009536743,
- "z": "4d37a11.42c136",
+ "x": 3124.0002479553223,
+ "y": 3453.0000009536743,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "98c604c1.7b11b8",
+ "id": "c8157b69.44d2d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3133.02725982666,
- "y": 2898.745394706726,
- "z": "4d37a11.42c136",
+ "x": 3130.02725982666,
+ "y": 3501.745394706726,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "ce066c5d.e7734",
+ "id": "1473b1fb.f66ede",
"type": "execute",
"name": "execute RestApiCallNode domainB UNI Coloring",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 2721,
- "y": 3236,
- "z": "4d37a11.42c136",
+ "x": 2718,
+ "y": 3839,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "77909c9d.223f24",
- "d69f9ea8.7be4"
+ "8f6a2d0c.d8e1f8",
+ "9fe0565f.7886"
]
]
},
{
- "id": "d69f9ea8.7be4",
+ "id": "9fe0565f.7886",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2987,
- "y": 3216,
- "z": "4d37a11.42c136",
+ "x": 2984,
+ "y": 3819,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "f7f9f969.a37708"
+ "9f93d2ab.f5b508"
]
]
},
{
- "id": "77909c9d.223f24",
+ "id": "8f6a2d0c.d8e1f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2988.000213623047,
- "y": 3266.99990940094,
- "z": "4d37a11.42c136",
+ "x": 2985.000213623047,
+ "y": 3869.99990940094,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "cf24be41.03bc48"
+ "c9ec128c.8a9e98"
]
]
},
{
- "id": "f7f9f969.a37708",
+ "id": "9f93d2ab.f5b508",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing UNI coloring for domain B\" />\n",
"comments": "",
- "x": 3127.0002479553223,
- "y": 3216.0000009536743,
- "z": "4d37a11.42c136",
+ "x": 3124.0002479553223,
+ "y": 3819.0000009536743,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "cf24be41.03bc48",
+ "id": "c9ec128c.8a9e98",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3133.02725982666,
- "y": 3264.745394706726,
- "z": "4d37a11.42c136",
+ "x": 3130.02725982666,
+ "y": 3867.745394706726,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "c2e43483.a12bd",
+ "id": "420f3616.2f701",
"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": 4394,
- "y": 557,
- "z": "4d37a11.42c136",
+ "x": 4378,
+ "y": 538,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "303c5717.c426f",
+ "id": "b1349530.c53cc",
"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": 2750,
- "y": 691,
- "z": "4d37a11.42c136",
+ "x": 2734,
+ "y": 672,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "c19c2198.0de5c",
+ "id": "84b0870f.4db1e",
"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": 2731,
- "y": 741,
- "z": "4d37a11.42c136",
+ "x": 2715,
+ "y": 722,
+ "z": "b31344e1.6b9228",
"wires": [
[]
]
},
{
- "id": "23c06925.0d2eb6",
+ "id": "2dfd81e1.a251ae",
"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": 1988,
- "y": 243,
- "z": "4d37a11.42c136",
+ "x": 1972,
+ "y": 224,
+ "z": "b31344e1.6b9228",
"wires": [
[
- "f805b6b.c60f548",
- "78e29884.225c08"
+ "3ffb610e.7895d6",
+ "1fed210d.6adb97"
]
]
},
{
- "id": "f805b6b.c60f548",
+ "id": "3ffb610e.7895d6",
"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": 2272,
- "y": 213,
- "z": "4d37a11.42c136",
+ "x": 2256,
+ "y": 194,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "e927f664.5c872",
+ "id": "1f03402a.5db7",
"type": "set",
"name": "set query_param",
"xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",
"comments": "",
- "x": 2628,
- "y": 2021,
- "z": "4d37a11.42c136",
+ "x": 2631,
+ "y": 2231,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "29397b6c.248454",
+ "id": "56710693.e24068",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",
"comments": "",
- "x": 2618,
- "y": 3327,
- "z": "4d37a11.42c136",
+ "x": 2615,
+ "y": 3930,
+ "z": "b31344e1.6b9228",
"wires": []
},
{
- "id": "488403ee.0379ac",
+ "id": "3323f682.f60c3a",
"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\n\n",
"comments": "",
- "x": 2688,
- "y": 786,
- "z": "4d37a11.42c136",
+ "x": 2672,
+ "y": 767,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "13ac3dbd.1f366a",
+ "type": "for",
+ "name": "for vidx..tmp.otninfo_length[]",
+ "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 2666,
+ "y": 2351,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "f2924301.397558"
+ ]
+ ]
+ },
+ {
+ "id": "1e2e68c3.addf6f",
+ "type": "switchNode",
+ "name": "switch srcPort == NULL",
+ "xml": "<switch test='`length($tmp.otninfo[$otnidx].srcPort) == 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2936,
+ "y": 2353,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "2e3585b0.01a1f2",
+ "eadfc48d.7db62"
+ ]
+ ]
+ },
+ {
+ "id": "2e3585b0.01a1f2",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3153,
+ "y": 2330,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eadfc48d.7db62",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3153,
+ "y": 2377,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "91bb64fe.b40488"
+ ]
+ ]
+ },
+ {
+ "id": "91bb64fe.b40488",
+ "type": "switchNode",
+ "name": "switch srcPort == NULL",
+ "xml": "<switch test='`length($tmp.otninfo[$otnidx].dstPort) == 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3356,
+ "y": 2376,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "ecd0f109.dbad88",
+ "fd54750b.bb4c08"
+ ]
+ ]
+ },
+ {
+ "id": "fd54750b.bb4c08",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3551,
+ "y": 2330,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ecd0f109.dbad88",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3549,
+ "y": 2370,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "647d2436.140504",
+ "type": "save",
+ "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3788,
+ "y": 2951,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "810630b1.0e1b6"
+ ]
+ ]
+ },
+ {
+ "id": "fdfa6fb7.1a35f",
+ "type": "save",
+ "name": "save connectivity-A relationship to vpn-binding-A, in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4361.5,
+ "y": 3023,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "810630b1.0e1b6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4094,
+ "y": 2950,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "a594830d.53acd8"
+ ]
+ ]
+ },
+ {
+ "id": "a594830d.53acd8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4303.5,
+ "y": 2950.25390625,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4c295920.4b5da",
+ "type": "execute",
+ "name": "execute UUID generator for vpn-binding $otnidx",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3825,
+ "y": 2383,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "19452741.32e4c1",
+ "type": "switchNode",
+ "name": "switch otnidx == 0",
+ "xml": "<switch test='`$otnidx == 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3698,
+ "y": 3036,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "9c40fb98.e1f61",
+ "20acba8d.85a5f6"
+ ]
+ ]
+ },
+ {
+ "id": "9c40fb98.e1f61",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3881,
+ "y": 3036,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "a42fc89d.d0c4a"
+ ]
+ ]
+ },
+ {
+ "id": "20acba8d.85a5f6",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3706,
+ "y": 3183,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "332942c6.7f663e"
+ ]
+ ]
+ },
+ {
+ "id": "f5749296.6a691",
+ "type": "switchNode",
+ "name": "switch otnidx == last",
+ "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4047,
+ "y": 3264,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "2103be8f.1fc842",
+ "1554c822.b8c828"
+ ]
+ ]
+ },
+ {
+ "id": "2103be8f.1fc842",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4232,
+ "y": 3265,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "a1250da6.1c6"
+ ]
+ ]
+ },
+ {
+ "id": "1554c822.b8c828",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4251,
+ "y": 3531,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "99adbaff.3e741"
+ ]
+ ]
+ },
+ {
+ "id": "f416ea28.cb6ab",
+ "type": "save",
+ "name": "save connectivity-B relationship to vpn-binding-B, in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4662,
+ "y": 3266,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6548b2c.2addd8",
+ "type": "execute",
+ "name": "execute UUID generator for connectivity domain otnidx",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4736,
+ "y": 3564,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ddd52155.f542e8",
+ "type": "save",
+ "name": "save connectivity resource in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='dummy' />\n<!--<parameter name='CIR' value='`$prop.sotn.cir`' />-->\n<!--<parameter name='EIR' value='`$prop.sotn.eir`' />-->\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": 4672,
+ "y": 3615,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a14f6e93.1adaf8",
+ "type": "save",
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
+ "comments": "",
+ "outputs": 1,
+ "x": 4801,
+ "y": 3665,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "16a831c0.877516",
+ "type": "comment",
+ "name": "connectivity has not been created for middle domains, so we have to create one",
+ "info": "",
+ "comments": "",
+ "x": 4811,
+ "y": 3508,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "2e301756.38a228",
+ "type": "save",
+ "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4769,
+ "y": 3724,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "99adbaff.3e741",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4408,
+ "y": 3532,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "e6548b2c.2addd8",
+ "ddd52155.f542e8",
+ "a14f6e93.1adaf8",
+ "2e301756.38a228",
+ "ebae712b.9f6bf8"
+ ]
+ ]
+ },
+ {
+ "id": "f2924301.397558",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2918,
+ "y": 2412,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "4c295920.4b5da",
+ "647d2436.140504",
+ "19452741.32e4c1",
+ "1d59f70d.1ee6c9",
+ "b15a67ed.f1cb18",
+ "e4fb52b5.f04798",
+ "f5263d8c.0dd66"
+ ]
+ ]
+ },
+ {
+ "id": "2e1edee2.ee8112",
+ "type": "set",
+ "name": "set attachment_param domain A",
+ "xml": "<set>\n<!--<parameter name='`otn-tunnel-slice[10].list[$idx].request-id`' value='`$prop.vpn-binding-otnidx-uuid`' />-->\n<!--<parameter name='`otn-tunnel-slice[10].list[$idx].otn-source-node`' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='`otn-tunnel-slice[10].list[$idx].otn-dest-node`' value='`$tmp.otninfo[0].dstPort.dst-access-node-id`' />-->\n<!--<parameter name='`otn-tunnel-slice[10].list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='`otn-tunnel-slice[10].list[$idx].src-ttp-id`' value='' />-->\n<!--<parameter name='`otn-tunnel-slice[10].list[$idx].dst-ttp-id`' value='`$tmp.otninfo[0].dstPort.dst-tunnel-tp-id`' />-->\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<!--<parameter name='`otn-tunnel-slice_length`' value='`$otnidx + 1`' />-->\n<!--<parameter name='`otn-tunnel-slice[10].list_length`' value='`$idx + 1`' />-->\n\n\n",
+ "comments": "",
+ "x": 4286,
+ "y": 3080,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "ba046748.bfe1b",
+ "type": "execute",
+ "name": "execute RestApiCallNode domainA UNI Coloring",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4339,
+ "y": 3124,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "b63ee960.cee2c",
+ "1b1f60e5.7a7c9f"
+ ]
+ ]
+ },
+ {
+ "id": "1b1f60e5.7a7c9f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4610,
+ "y": 3109,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "e9f5d50.e9a0928"
+ ]
+ ]
+ },
+ {
+ "id": "b63ee960.cee2c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4608.000213623047,
+ "y": 3166.99990940094,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "c9e53751.966bb8"
+ ]
+ ]
+ },
+ {
+ "id": "e9f5d50.e9a0928",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing UNI Coloring for domain A\" />\n",
+ "comments": "",
+ "x": 4750.000247955322,
+ "y": 3109.0000009536743,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "c9e53751.966bb8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4756.02725982666,
+ "y": 3157.745394706726,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a42fc89d.d0c4a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4022,
+ "y": 3026,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "fdfa6fb7.1a35f",
+ "ba046748.bfe1b",
+ "2e1edee2.ee8112"
+ ]
+ ]
+ },
+ {
+ "id": "a1250da6.1c6",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4366,
+ "y": 3266,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "f416ea28.cb6ab",
+ "6f1cb48c.6026e4",
+ "1cf9708b.795d07"
+ ]
+ ]
+ },
+ {
+ "id": "1cf9708b.795d07",
+ "type": "set",
+ "name": "set attachment_param domain B",
+ "xml": "<set>\n\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].request-id`' value='`$prop.vpn-binding-otnidx-uuid`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].otn-source-node`' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].src-ttp-id`' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].dst-ttp-id`' value='' />-->\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<!--<parameter name='`otn-tunnel-slice_length`' value='`$otnidx + 1`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list_length`' value='`$idx + 1`' />-->\n\n",
+ "comments": "",
+ "x": 4586,
+ "y": 3310,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "6f1cb48c.6026e4",
+ "type": "execute",
+ "name": "execute RestApiCallNode domainB UNI Coloring",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4637,
+ "y": 3354,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "6e1323b5.c04ce4",
+ "1555b51f.0ca46b"
+ ]
+ ]
+ },
+ {
+ "id": "1555b51f.0ca46b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4900,
+ "y": 3334,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "7a3f18c.e7bf268"
+ ]
+ ]
+ },
+ {
+ "id": "6e1323b5.c04ce4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4901.000213623047,
+ "y": 3384.99990940094,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "c1d2c5de.5e2688"
+ ]
+ ]
+ },
+ {
+ "id": "7a3f18c.e7bf268",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing UNI coloring for domain B\" />\n",
+ "comments": "",
+ "x": 5040.000247955322,
+ "y": 3334.0000009536743,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "c1d2c5de.5e2688",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5046.02725982666,
+ "y": 3382.745394706726,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ebae712b.9f6bf8",
+ "type": "set",
+ "name": "set attachment_param domain otnidx",
+ "xml": "<set>\n\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].request-id`' value='`$prop.vpn-binding-otnidx-uuid`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].otn-source-node`' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].otn-dest-node`' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].src-ttp-id`' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].dst-ttp-id`' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />-->\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<!--<parameter name='`otn-tunnel-slice_length`' value='`$otnidx + 1`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list_length`' value='`$idx + 1`' />-->\n",
+ "comments": "",
+ "x": 4683,
+ "y": 3784,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "b29e7a1b.0bb9",
+ "type": "execute",
+ "name": "execute RestApiCallNode domainB UNI Coloring",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4727,
+ "y": 3902,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "b649c2ac.1863c8",
+ "5df7a032.7812b8"
+ ]
+ ]
+ },
+ {
+ "id": "5df7a032.7812b8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4971,
+ "y": 3881,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "5f52118f.5992f"
+ ]
+ ]
+ },
+ {
+ "id": "b649c2ac.1863c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4976,
+ "y": 3938,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "d6363d68.6bc1d"
+ ]
+ ]
+ },
+ {
+ "id": "5f52118f.5992f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing UNI coloring for domain B\" />\n",
+ "comments": "",
+ "x": 5111.000247955322,
+ "y": 3881.0000009536743,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "d6363d68.6bc1d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5121.027046203613,
+ "y": 3935.745485305786,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ff94df56.8391f8",
+ "type": "comment",
+ "name": "find domain-otnidx URL info from either src or dst pnf (src-access-node-id). However, eth network id is hard to find, unless hard code topology id 2",
+ "info": "",
+ "comments": "",
+ "x": 4931,
+ "y": 3844,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "bc1d9c19.8a817",
+ "type": "save",
+ "name": "get all-vpn-bindings from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1986,
+ "y": 4143,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "3b12d36f.6d8234",
+ "89a53740.4d3c98",
+ "a61d86b5.6c70f"
+ ]
+ ]
+ },
+ {
+ "id": "3b12d36f.6d8234",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2197,
+ "y": 4145,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "3ced61cb.b2d7fe"
+ ]
+ ]
+ },
+ {
+ "id": "89a53740.4d3c98",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2197.490966796875,
+ "y": 4190.574035644531,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "3eafcbaf.f2f56c"
+ ]
+ ]
+ },
+ {
+ "id": "a61d86b5.6c70f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2195,
+ "y": 4234,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "170e04a2.1b39fb"
+ ]
+ ]
+ },
+ {
+ "id": "3ced61cb.b2d7fe",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2370,
+ "y": 4143,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "ef9d0591.fefb08"
+ ]
+ ]
+ },
+ {
+ "id": "3eafcbaf.f2f56c",
+ "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": 2360.0623779296875,
+ "y": 4190.859771728516,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "170e04a2.1b39fb",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2362,
+ "y": 4233,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "bf30e0be.23b998",
+ "type": "for",
+ "name": "for vidx..tmp.otninfo_length[]",
+ "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1991,
+ "y": 4322,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "557999e1.77dcb"
+ ]
+ ]
+ },
+ {
+ "id": "d613988a.0c40c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2801,
+ "y": 4322,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "e4afc290.74f038"
+ ]
+ ]
+ },
+ {
+ "id": "f7f46916.4f1ee",
+ "type": "for",
+ "name": "for vidx..tmp.otninfo_length[]",
+ "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2573,
+ "y": 4322,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "d613988a.0c40c"
+ ]
+ ]
+ },
+ {
+ "id": "ce29a297.cf1cb8",
+ "type": "set",
+ "name": "set providerValue",
+ "xml": "<set>\n<parameter name='providerValue' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].access-provider-id`' />\n<parameter name='found' value='false' />\n\n\n",
+ "comments": "",
+ "x": 3003,
+ "y": 4085,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "90828ea.8f9357",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",
+ "comments": "",
+ "x": 3995,
+ "y": 3215,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "332942c6.7f663e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3830,
+ "y": 3190,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "90828ea.8f9357",
+ "f5749296.6a691"
+ ]
+ ]
+ },
+ {
+ "id": "d0adb7e4.435f98",
+ "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\n\n",
+ "comments": "",
+ "x": 1954,
+ "y": 170,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "ef9d0591.fefb08",
+ "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": 2611,
+ "y": 4145,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "2fbee9b.ff76316"
+ ]
+ ]
+ },
+ {
+ "id": "2fbee9b.ff76316",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2823,
+ "y": 4143,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "ce29a297.cf1cb8",
+ "72392f69.a40338"
+ ]
+ ]
+ },
+ {
+ "id": "49f4d5cd.eba3ac",
+ "type": "for",
+ "name": "for arridx in tmp.arr",
+ "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3588,
+ "y": 4060,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "a296aaec.6a9f7"
+ ]
+ ]
+ },
+ {
+ "id": "72392f69.a40338",
+ "type": "switchNode",
+ "name": "switch $tmp.arr_length != 0",
+ "xml": "<switch test='`$tmp.arr_length != 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3054,
+ "y": 4140,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "1e30cbc6.5b29c4",
+ "73a572c0.fcdcfc"
+ ]
+ ]
+ },
+ {
+ "id": "1e30cbc6.5b29c4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3250,
+ "y": 4110,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "79192fda.22a8a8"
+ ]
+ ]
+ },
+ {
+ "id": "73a572c0.fcdcfc",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3251,
+ "y": 4181,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "e5b5d449.e95738"
+ ]
+ ]
+ },
+ {
+ "id": "79192fda.22a8a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3401,
+ "y": 4108,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "49f4d5cd.eba3ac",
+ "ee34549a.68661"
+ ]
+ ]
+ },
+ {
+ "id": "a296aaec.6a9f7",
+ "type": "switchNode",
+ "name": "switch tmp.arr[$arridx] == $providerValue",
+ "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3879,
+ "y": 4060,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "f6a570fa.8c3e18",
+ "f096fdfa.51af18"
+ ]
+ ]
+ },
+ {
+ "id": "f6a570fa.8c3e18",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4154,
+ "y": 4029,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "7e64bb9a.5c5954"
+ ]
+ ]
+ },
+ {
+ "id": "f096fdfa.51af18",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4155,
+ "y": 4100,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "2ae9b410.b8e274"
+ ]
+ ]
+ },
+ {
+ "id": "7e64bb9a.5c5954",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4305,
+ "y": 4027,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "883ad39b.46747",
+ "3d5cad7b.78211a",
+ "ac8bc417.7b82a",
+ "6ea95490.220544",
+ "6a39b9a6.2592"
+ ]
+ ]
+ },
+ {
+ "id": "883ad39b.46747",
+ "type": "set",
+ "name": "set found to true",
+ "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",
+ "comments": "",
+ "x": 4486,
+ "y": 3988,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "3d5cad7b.78211a",
+ "type": "save",
+ "name": "store $arridx somewhere in vpn-binding",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx`' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4565,
+ "y": 4032,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6a39b9a6.2592",
+ "type": "set",
+ "name": "set twoD arr",
+ "xml": "<set>\n\n<!--<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />-->\n<!--<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />-->\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<!--<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />-->\n<parameter name='`otn-tunnel-slice[$arridx].list_length`' value='`$sizeOfSliceList + 1`' />\n\n",
+ "comments": "",
+ "x": 4489,
+ "y": 4188,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "6ea95490.220544",
+ "type": "set",
+ "name": "set sizeOfSliceList",
+ "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",
+ "comments": "",
+ "x": 4510,
+ "y": 4124,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "171513de.343584",
+ "type": "switchNode",
+ "name": "switch $otn-tunnel-slice_length == 0",
+ "xml": "<switch test='`$otn-tunnel-slice_length == 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4668,
+ "y": 4078,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "e6552b83.2df3a",
+ "b95e5493.31a9b"
+ ]
+ ]
+ },
+ {
+ "id": "e6552b83.2df3a",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4900,
+ "y": 4041,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "9402566e.5ec598"
+ ]
+ ]
+ },
+ {
+ "id": "b95e5493.31a9b",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4901,
+ "y": 4089,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9402566e.5ec598",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5051,
+ "y": 4039,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "b29e36f1.f6f35"
+ ]
+ ]
+ },
+ {
+ "id": "b29e36f1.f6f35",
+ "type": "set",
+ "name": "set sizeOfSliceList",
+ "xml": "<set>\n<!--<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />-->\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='`otn-tunnel-slice[0].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].src-ttp-id`' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice_length`' value='`$otnidx + 1`' />\n<parameter name='`otn-tunnel-slice[$otnidx].list_length`' value='`$idx + 1`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[$arridx].list_length' value='1' />",
+ "comments": "",
+ "x": 5253,
+ "y": 4035,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "e5b5d449.e95738",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3403,
+ "y": 4181,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "b867d047.fac",
+ "3788e630.590d72"
+ ]
+ ]
+ },
+ {
+ "id": "b867d047.fac",
+ "type": "save",
+ "name": "store $arridx somewhere in vpn-binding",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='0' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3658,
+ "y": 4174,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3788e630.590d72",
+ "type": "set",
+ "name": "set twoD array",
+ "xml": "<set>\n<parameter name='tmp.arr[0]' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='1' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[0].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[0].list_length' value='1' />\n\n",
+ "comments": "",
+ "x": 3586,
+ "y": 4221,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "ee34549a.68661",
+ "type": "switchNode",
+ "name": "switch found?",
+ "xml": "<switch test='`$found`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3579,
+ "y": 4105,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "d1f76975.e11b9",
+ "3421ae07.ec9d62"
+ ]
+ ]
+ },
+ {
+ "id": "d1f76975.e11b9",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3739,
+ "y": 4097,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "2d9d0080.4d96d"
+ ]
+ ]
+ },
+ {
+ "id": "3421ae07.ec9d62",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3737,
+ "y": 4134,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "91314308.ab84d"
+ ]
+ ]
+ },
+ {
+ "id": "2d9d0080.4d96d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3864,
+ "y": 4097,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fd3f24a6.bbbfb8",
+ "type": "save",
+ "name": "store $arridx+1 somewhere in vpn-binding",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx + 1`' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4171,
+ "y": 4155,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91314308.ab84d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3897,
+ "y": 4142,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "fd3f24a6.bbbfb8",
+ "3fbaf181.1ff88e"
+ ]
+ ]
+ },
+ {
+ "id": "3fbaf181.1ff88e",
+ "type": "set",
+ "name": "set twoD array",
+ "xml": "<set>\n<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list_length`' value='1' />\n\n",
+ "comments": "",
+ "x": 4088,
+ "y": 4201,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "2ae9b410.b8e274",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4288,
+ "y": 4099,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ac8bc417.7b82a",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 4468,
+ "y": 4255,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "1d59f70d.1ee6c9",
+ "type": "switchNode",
+ "name": "switch dstPort == NULL",
+ "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3528,
+ "y": 2442,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "13d01e4b.11cf72",
+ "f41dda2a.86b79"
+ ]
+ ]
+ },
+ {
+ "id": "13d01e4b.11cf72",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3917,
+ "y": 2420,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "a63400f9.70b798"
+ ]
+ ]
+ },
+ {
+ "id": "f41dda2a.86b79",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3918,
+ "y": 2466,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "201cd4b0.391f6c"
+ ]
+ ]
+ },
+ {
+ "id": "a63400f9.70b798",
+ "type": "set",
+ "name": "set access-provider-id and client-id",
+ "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",
+ "comments": "",
+ "x": 4131,
+ "y": 2419,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "201cd4b0.391f6c",
+ "type": "set",
+ "name": "set access-provider-id and client-id",
+ "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",
+ "comments": "",
+ "x": 4129,
+ "y": 2464,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "e4afc290.74f038",
+ "type": "set",
+ "name": "set attachment_param sliceG",
+ "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].request-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].request-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].bw-odu`' value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].bw-odu`\" />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].src-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].src-ttp-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].dst-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].dst-ttp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='otn-tunnel-sliceG-list_length' value='`$stunidx + 1`' />\n\n\n<parameter name=\"tmp.domainG.restapiUrl\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainurl`\" />\n<parameter name=\"tmp.domainG.restapiUser\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainuser`\" />\n<parameter name=\"tmp.domainG.restapiPassword\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainpassword`\" />",
+ "comments": "",
+ "x": 3128,
+ "y": 4440,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "5a129ea2.020ec",
+ "type": "execute",
+ "name": "execute RestApiCallNode sliceG creation domainG",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceG-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.domainG.restapiUrl + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$tmp.domainG.restapiUser`\" />\n<parameter name=\"restapiPassword\" value=\"`tmp.domainG.restapiPassword`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2714,
+ "y": 4534,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "235df5b8.967b5a",
+ "2fcb7bfa.e794ec"
+ ]
+ ]
+ },
+ {
+ "id": "2fcb7bfa.e794ec",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2997,
+ "y": 4514,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "ec27b172.f3b03"
+ ]
+ ]
+ },
+ {
+ "id": "235df5b8.967b5a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2998.000213623047,
+ "y": 4564.99990940094,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "afac7d54.5ea3c8"
+ ]
+ ]
+ },
+ {
+ "id": "ec27b172.f3b03",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing slice creation api for domain A\" />\n",
+ "comments": "",
+ "x": 3137.0002479553223,
+ "y": 4514.000000953674,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "afac7d54.5ea3c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3143.02725982666,
+ "y": 4562.745394706726,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b15a67ed.f1cb18",
+ "type": "set",
+ "name": "set srcdstpnf-name",
+ "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n $tmp.access-provider-id + '-clientId-' +\n $tmp.access-client-id + '-topologyId-' + \n $tmp.access-topology-id + '-nodeId-' + \n $tmp.srcdstpnf-id`\" />\n\n",
+ "comments": "",
+ "x": 3712,
+ "y": 2562,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "e4fb52b5.f04798",
+ "type": "get-resource",
+ "name": "get-resource tmp.srcdstpnf-name",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3756,
+ "y": 2610,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "38280842.8f481",
+ "762394a6.8c9edc",
+ "bf6967d.9863518"
+ ]
+ ]
+ },
+ {
+ "id": "38280842.8f481",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3968.5,
+ "y": 2557,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "7c3bab6c.40727c"
+ ]
+ ]
+ },
+ {
+ "id": "762394a6.8c9edc",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3980.5,
+ "y": 2607,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "9fa14d44.80429"
+ ]
+ ]
+ },
+ {
+ "id": "bf6967d.9863518",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3971.5,
+ "y": 2662,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "e6f16a7e.5e034"
+ ]
+ ]
+ },
+ {
+ "id": "e6f16a7e.5e034",
+ "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": 4116.5,
+ "y": 2661,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "9fa14d44.80429",
+ "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": 4127.5,
+ "y": 2604,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "7c3bab6c.40727c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4093.8824462890625,
+ "y": 2550.6556701660156,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "3ada39cb.077d7e"
+ ]
+ ]
+ },
+ {
+ "id": "79f49c03.b31834",
+ "type": "outcome",
+ "name": "esr-thirdparty-sdnc",
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4653,
+ "y": 2569,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "b38ec96c.50bcb"
+ ]
+ ]
+ },
+ {
+ "id": "b38ec96c.50bcb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4830,
+ "y": 2561,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "b25407c2.fe4e9",
+ "76abd2d6.8cf2bc"
+ ]
+ ]
+ },
+ {
+ "id": "3ada39cb.077d7e",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4255,
+ "y": 2565,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "631c6ac2.9b4684"
+ ]
+ ]
+ },
+ {
+ "id": "631c6ac2.9b4684",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4450,
+ "y": 2565,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "79f49c03.b31834"
+ ]
+ ]
+ },
+ {
+ "id": "76abd2d6.8cf2bc",
+ "type": "execute",
+ "name": "get esr-thirdparty-sdnc",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 5038,
+ "y": 2568,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "b500a3b6.711188",
+ "e4ff3e60.96d148",
+ "ef9c5a3.20232a8"
+ ]
+ ]
+ },
+ {
+ "id": "b25407c2.fe4e9",
+ "type": "set",
+ "name": "set esr-thirdparty-sdnc domainG id",
+ "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 5068,
+ "y": 2516,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "b500a3b6.711188",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5248,
+ "y": 2559,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "8c9a0f1.a2e9b7"
+ ]
+ ]
+ },
+ {
+ "id": "e4ff3e60.96d148",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5240,
+ "y": 2614,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "7d5ba752.0bac28"
+ ]
+ ]
+ },
+ {
+ "id": "ef9c5a3.20232a8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5245,
+ "y": 2671,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "5979580a.e6b1f8"
+ ]
+ ]
+ },
+ {
+ "id": "5979580a.e6b1f8",
+ "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": 5397,
+ "y": 2672,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "7d5ba752.0bac28",
+ "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": 5408,
+ "y": 2617,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "8c9a0f1.a2e9b7",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5392.38232421875,
+ "y": 2556.6556701660156,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "b4fe40f1.fee308"
+ ]
+ ]
+ },
+ {
+ "id": "b4fe40f1.fee308",
+ "type": "set",
+ "name": "set controller domainA data",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
+ "comments": "",
+ "x": 5607,
+ "y": 2553,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "557999e1.77dcb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2223,
+ "y": 4320,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "f7f46916.4f1ee",
+ "5a129ea2.020ec"
+ ]
+ ]
+ },
+ {
+ "id": "4ba5097d.b20fe",
+ "type": "switchNode",
+ "name": "switch dmnsidx == 0 (domainA)",
+ "xml": "<switch test='`$dmnsidx == 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3112,
+ "y": 4307,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "dbd9c4f1.fac738",
+ "119d0f31.7b8509"
+ ]
+ ]
+ },
+ {
+ "id": "dbd9c4f1.fac738",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3313,
+ "y": 4305,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "4fe6e9a2.ce8d7"
+ ]
+ ]
+ },
+ {
+ "id": "4fe6e9a2.ce8d7",
+ "type": "set",
+ "name": "set attachment_param domain A",
+ "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />",
+ "comments": "",
+ "x": 3527,
+ "y": 4307,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "fd470af3.59fcc",
+ "type": "switchNode",
+ "name": "switch dmnsidx == last (domainB)",
+ "xml": "<switch test='`$dmnsidx == $otn-tunnel-slice_length - 1`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3530,
+ "y": 4356,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "ddf1f941.709858",
+ "2f7e38f0.34a468"
+ ]
+ ]
+ },
+ {
+ "id": "ddf1f941.709858",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3731,
+ "y": 4354,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "5c127cf0.9c2d34"
+ ]
+ ]
+ },
+ {
+ "id": "5c127cf0.9c2d34",
+ "type": "set",
+ "name": "set attachment_param domain B",
+ "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n",
+ "comments": "",
+ "x": 3945,
+ "y": 4356,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "119d0f31.7b8509",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3313,
+ "y": 4354,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "fd470af3.59fcc"
+ ]
+ ]
+ },
+ {
+ "id": "2f7e38f0.34a468",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3732,
+ "y": 4400,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "4e4fdb4.a02e5a4"
+ ]
+ ]
+ },
+ {
+ "id": "4e4fdb4.a02e5a4",
+ "type": "set",
+ "name": "set attachment_param domain G",
+ "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />\n",
+ "comments": "",
+ "x": 3946,
+ "y": 4399,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "f5263d8c.0dd66",
+ "type": "switchNode",
+ "name": "switch dmnsidx == 0 (domainA)",
+ "xml": "<switch test='`$otnidx == 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3726,
+ "y": 2779,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "cb45f40e.c4e9f",
+ "686c2e71.b364f8"
+ ]
+ ]
+ },
+ {
+ "id": "cb45f40e.c4e9f",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3927,
+ "y": 2777,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "906b7761.ec3cf"
+ ]
+ ]
+ },
+ {
+ "id": "906b7761.ec3cf",
+ "type": "set",
+ "name": "set attachment_param domain A",
+ "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",
+ "comments": "",
+ "x": 4141,
+ "y": 2779,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "bb50949c.2c4e68",
+ "type": "switchNode",
+ "name": "switch dmnsidx == last (domainB)",
+ "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4144,
+ "y": 2828,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "f9f184f6.8f0c58",
+ "b1eb5cf.84b33a"
+ ]
+ ]
+ },
+ {
+ "id": "f9f184f6.8f0c58",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4374,
+ "y": 2824,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "ea46128e.0ba028"
+ ]
+ ]
+ },
+ {
+ "id": "ea46128e.0ba028",
+ "type": "set",
+ "name": "set attachment_param domain B",
+ "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",
+ "comments": "",
+ "x": 4588,
+ "y": 2827,
+ "z": "b31344e1.6b9228",
+ "wires": []
+ },
+ {
+ "id": "686c2e71.b364f8",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3927,
+ "y": 2826,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "bb50949c.2c4e68"
+ ]
+ ]
+ },
+ {
+ "id": "b1eb5cf.84b33a",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4375,
+ "y": 2870,
+ "z": "b31344e1.6b9228",
+ "wires": [
+ [
+ "591dd2d5.72937c"
+ ]
+ ]
+ },
+ {
+ "id": "591dd2d5.72937c",
+ "type": "set",
+ "name": "set attachment_param domain G",
+ "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",
+ "comments": "",
+ "x": 4589,
+ "y": 2870,
+ "z": "b31344e1.6b9228",
"wires": []
}
] \ No newline at end of file