aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json
diff options
context:
space:
mode:
authorramu.n <ramu.n@huawei.com>2017-10-31 21:37:42 +0530
committerramu.n <ramu.n@huawei.com>2017-10-31 21:37:42 +0530
commitbbc2c4acd22b12cb1fe3fc31bb71e7bc7a6d7e19 (patch)
treed7408abad415ecb1956eaced43f045b3d313d00b /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json
parent736d5e4f0816ba90f0f3157ff380253bb966a344 (diff)
Add VoLTE json templates
VoLTE JSON templated need to put in sdnc/oam/platform-logic/restapi-templates module, so that they will copied into sdnc_controller_container Change-Id: I593da4567724b0be5bdd757b01ba6653eab129a2 Issue-Id: SDNC-159 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 3616a2ecd88f9b0d558eaa2208f17c2e9876229d
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json1521
1 files changed, 804 insertions, 717 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json
index 635773b0..5bbee453 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json
@@ -1,20 +1,20 @@
[
{
- "id": "c1f029b8.a1e58",
+ "id": "efadabab.b5cb18",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 102,
- "y": 62,
- "z": "e441b8db.02f6b8",
+ "x": 161.03125,
+ "y": 58.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "ef85c5fd.ef823"
+ "ba4efe38.fe52f"
]
]
},
{
- "id": "ef85c5fd.ef823",
+ "id": "ba4efe38.fe52f",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,2106 +22,2193 @@
"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": 318.5,
- "y": 124.5,
- "z": "e441b8db.02f6b8",
+ "x": 377.53125,
+ "y": 120.53125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "515c9604.c78fc8"
+ "7f023f5f.1b1c1"
]
]
},
{
- "id": "515c9604.c78fc8",
+ "id": "7f023f5f.1b1c1",
"type": "method",
"name": "method dci-connects-network-topology-operation-activate",
"xml": "<method rpc='dci-connects-network-topology-operation-activate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 226.50003051757812,
- "y": 219.49998474121094,
- "z": "e441b8db.02f6b8",
+ "x": 285.5312805175781,
+ "y": 215.53123474121094,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "6260ef3c.117e18"
+ "e1d5d7b9.ae02f8"
]
]
},
{
- "id": "6260ef3c.117e18",
+ "id": "e1d5d7b9.ae02f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 524.3333435058594,
- "y": 227.3333282470703,
- "z": "e441b8db.02f6b8",
+ "x": 583.3645935058594,
+ "y": 223.3645782470703,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "9c5e659e.5a8468",
- "14efaf2d.582f39",
- "e96c5239.cc3f4",
- "edee7e9.f5684",
- "c1d82a9d.7debd"
+ "66ae34bb.465bdc",
+ "f39d0958.e0ee98",
+ "9338de7d.f59b5",
+ "80e65684.a81798",
+ "44b13ee0.f42ab"
]
]
},
{
- "id": "14efaf2d.582f39",
+ "id": "f39d0958.e0ee98",
"type": "call",
"name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 914.3333435058594,
- "y": 92.33332824707031,
- "z": "e441b8db.02f6b8",
+ "x": 973.3645935058594,
+ "y": 88.36457824707031,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[]
]
},
{
- "id": "11728db1.0b1f22",
+ "id": "605eaf8f.084d",
"type": "for",
"name": "for each network-input-parameters",
"xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 1432.3336334228516,
- "y": 365.333389043808,
- "z": "e441b8db.02f6b8",
+ "x": 1491.3648834228516,
+ "y": 361.364639043808,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "62d2a561.8055cc"
+ "bfa446d7.0384a8"
]
]
},
{
- "id": "62d2a561.8055cc",
+ "id": "bfa446d7.0384a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1679.3335418701172,
- "y": 363.33335852622986,
- "z": "e441b8db.02f6b8",
+ "x": 1738.3647918701172,
+ "y": 359.36460852622986,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "bb31f713.0d193",
- "c9b81c0f.b35a2",
- "972db21e.7bfc",
- "d4313d46.0ad918",
- "4fee8f3d.149ad",
- "5a1f2e0e.d48708",
- "c19cf751.1eed5",
- "132409b3.4b71ee",
- "cd65a796.961288"
+ "2241976d.6a72e8",
+ "923aebd8.9492b8",
+ "2f701681.5a3f2a",
+ "7ed4d1f2.e0fb2",
+ "c165c87.d2de838",
+ "9f9caa1e.b9ba18",
+ "fd1390eb.db4fe",
+ "dc38e2a3.7cbf5",
+ "6fbbb836.ada618"
]
]
},
{
- "id": "bb31f713.0d193",
+ "id": "2241976d.6a72e8",
"type": "switchNode",
"name": "switch id",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2166.33390045166,
- "y": 239.33347511291504,
- "z": "e441b8db.02f6b8",
+ "x": 2225.36515045166,
+ "y": 235.36472511291504,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "a76462ff.b835d8"
+ "78ea1224.bc5bac"
]
]
},
{
- "id": "c9b81c0f.b35a2",
+ "id": "923aebd8.9492b8",
"type": "switchNode",
"name": "switch description",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_description'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2194.33390045166,
- "y": 293.3334608078003,
- "z": "e441b8db.02f6b8",
+ "x": 2253.36515045166,
+ "y": 289.3647108078003,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "57a46fca.b19958"
+ "3eb5f34b.fabb6c"
]
]
},
{
- "id": "972db21e.7bfc",
+ "id": "2f701681.5a3f2a",
"type": "switchNode",
"name": "switch routerId",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_routerId'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2183.3336868286133,
- "y": 424.333420753479,
- "z": "e441b8db.02f6b8",
+ "x": 2242.3649368286133,
+ "y": 420.364670753479,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "30ca3831.cb43e8"
+ "db1938c9.795a18"
]
]
},
{
- "id": "d4313d46.0ad918",
+ "id": "7ed4d1f2.e0fb2",
"type": "switchNode",
"name": "switch importRT1",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_importRT1'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2191.6194229125977,
- "y": 485.6191740036011,
- "z": "e441b8db.02f6b8",
+ "x": 2250.6506729125977,
+ "y": 481.6504240036011,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "b3e5d4ae.a3dda"
+ "666446e9.c89ea8"
]
]
},
{
- "id": "4fee8f3d.149ad",
+ "id": "c165c87.d2de838",
"type": "switchNode",
"name": "switch exportRT1",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_exportRT1'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2192.619483947754,
- "y": 549.6191447973251,
- "z": "e441b8db.02f6b8",
+ "x": 2251.650733947754,
+ "y": 545.6503947973251,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "8c2ed6a8.d98208"
+ "16c5b91c.f31b17"
]
]
},
{
- "id": "5a1f2e0e.d48708",
+ "id": "9f9caa1e.b9ba18",
"type": "switchNode",
"name": "switch vni",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_vni'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2163.619453430176,
- "y": 612.619176864624,
- "z": "e441b8db.02f6b8",
+ "x": 2222.650703430176,
+ "y": 608.650426864624,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "b1cfec26.3ec6b"
+ "918dfdc3.aa336"
]
]
},
{
- "id": "a76462ff.b835d8",
+ "id": "78ea1224.bc5bac",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2381.33390045166,
- "y": 238.33347511291504,
- "z": "e441b8db.02f6b8",
+ "x": 2440.36515045166,
+ "y": 234.36472511291504,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "c92e65bb.5b6848"
+ "4bf931c1.dd806"
]
]
},
{
- "id": "57a46fca.b19958",
+ "id": "3eb5f34b.fabb6c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2392.33390045166,
- "y": 293.3334608078003,
- "z": "e441b8db.02f6b8",
+ "x": 2451.36515045166,
+ "y": 289.3647108078003,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "f358b487.1305d8"
+ "55b0ea54.6a4d14"
]
]
},
{
- "id": "30ca3831.cb43e8",
+ "id": "db1938c9.795a18",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2388.3336868286133,
- "y": 423.333420753479,
- "z": "e441b8db.02f6b8",
+ "x": 2447.3649368286133,
+ "y": 419.364670753479,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "508f3269.7b7274"
+ "874dab5.61e2258"
]
]
},
{
- "id": "b3e5d4ae.a3dda",
+ "id": "666446e9.c89ea8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2393.6194229125977,
- "y": 484.6191740036011,
- "z": "e441b8db.02f6b8",
+ "x": 2452.6506729125977,
+ "y": 480.6504240036011,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "b0552f88.544ae8"
+ "3adcbd29.e08a92"
]
]
},
{
- "id": "8c2ed6a8.d98208",
+ "id": "16c5b91c.f31b17",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2388.619483947754,
- "y": 546.6191447973251,
- "z": "e441b8db.02f6b8",
+ "x": 2447.650733947754,
+ "y": 542.6503947973251,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "caf135a5.75dfb"
+ "4c2a55f8.8427bc"
]
]
},
{
- "id": "b1cfec26.3ec6b",
+ "id": "918dfdc3.aa336",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2369.619453430176,
- "y": 612.619176864624,
- "z": "e441b8db.02f6b8",
+ "x": 2428.650703430176,
+ "y": 608.650426864624,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "9fed6f8d.3cc17"
+ "18742d4d.86f243"
]
]
},
{
- "id": "f358b487.1305d8",
+ "id": "55b0ea54.6a4d14",
"type": "set",
"name": "set description",
"xml": "<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2574.33390045166,
- "y": 286.3334608078003,
- "z": "e441b8db.02f6b8",
+ "x": 2633.36515045166,
+ "y": 282.3647108078003,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "508f3269.7b7274",
+ "id": "874dab5.61e2258",
"type": "set",
"name": "set router_id",
"xml": "<set>\n<parameter name='prop.dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2579.3339080810547,
- "y": 416.3335075378418,
- "z": "e441b8db.02f6b8",
+ "x": 2638.3651580810547,
+ "y": 412.3647575378418,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "9fed6f8d.3cc17",
+ "id": "18742d4d.86f243",
"type": "set",
"name": "set vni",
"xml": "<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2539.619453430176,
- "y": 604.619176864624,
- "z": "e441b8db.02f6b8",
+ "x": 2598.650703430176,
+ "y": 600.650426864624,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "9c5e659e.5a8468",
+ "id": "66ae34bb.465bdc",
"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": 747.6191711425781,
- "y": 1190.0477294921875,
- "z": "e441b8db.02f6b8",
+ "x": 806.6504211425781,
+ "y": 1186.0789794921875,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "c19cf751.1eed5",
+ "id": "fd1390eb.db4fe",
"type": "switchNode",
"name": "switch name",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2177.5004348754883,
- "y": 180.50010681152344,
- "z": "e441b8db.02f6b8",
+ "x": 2236.5316848754883,
+ "y": 176.53135681152344,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "d75f53ba.27ad98"
+ "c0671fb5.a1596"
]
]
},
{
- "id": "d75f53ba.27ad98",
+ "id": "c0671fb5.a1596",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2375.5004348754883,
- "y": 180.50010681152344,
- "z": "e441b8db.02f6b8",
+ "x": 2434.5316848754883,
+ "y": 176.53135681152344,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "be2d314a.29948"
+ "4df90ce2.99e144"
]
]
},
{
- "id": "be2d314a.29948",
+ "id": "4df90ce2.99e144",
"type": "set",
"name": "set name",
"xml": "<set>\n<parameter name='prop.dci-connects.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2557.5004348754883,
- "y": 173.50010681152344,
- "z": "e441b8db.02f6b8",
+ "x": 2616.5316848754883,
+ "y": 169.53135681152344,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "132409b3.4b71ee",
+ "id": "dc38e2a3.7cbf5",
"type": "switchNode",
"name": "switch networkName",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_networkName'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2201.0002212524414,
- "y": 359.5000467300415,
- "z": "e441b8db.02f6b8",
+ "x": 2260.0314712524414,
+ "y": 355.5312967300415,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "b22fe3e2.4a61a"
+ "b00f6243.0a48"
]
]
},
{
- "id": "b22fe3e2.4a61a",
+ "id": "b00f6243.0a48",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2399.0002212524414,
- "y": 359.5000467300415,
- "z": "e441b8db.02f6b8",
+ "x": 2458.0314712524414,
+ "y": 355.5312967300415,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "6eecda19.439af4"
+ "2e41bbcc.a6d6e4"
]
]
},
{
- "id": "e96c5239.cc3f4",
+ "id": "9338de7d.f59b5",
"type": "block",
"name": "block : execute",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 747.9999313354492,
- "y": 600.5000457763672,
- "z": "e441b8db.02f6b8",
+ "x": 807.0311813354492,
+ "y": 596.5312957763672,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "284e1b18.dbac04",
- "550986c4.f40138",
- "861b73d2.7c3dc"
+ "c6f41a63.9856e8",
+ "e91af8d8.1aa348",
+ "d35fd906.7c7fe8"
]
]
},
{
- "id": "284e1b18.dbac04",
+ "id": "c6f41a63.9856e8",
"type": "block",
"name": "block : executeSite1",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1040.4999923706055,
- "y": 425.0000219345093,
- "z": "e441b8db.02f6b8",
+ "x": 1099.5312423706055,
+ "y": 421.0312719345093,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "11728db1.0b1f22",
- "82851975.f9c43"
+ "605eaf8f.084d",
+ "5df4287.26506d8"
]
]
},
{
- "id": "550986c4.f40138",
+ "id": "e91af8d8.1aa348",
"type": "block",
"name": "block : executeSite2",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1057.5000381469727,
- "y": 941.0000047683716,
- "z": "e441b8db.02f6b8",
+ "x": 1116.5312881469727,
+ "y": 937.0312547683716,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "ef1d071a.3ba078",
- "82851975.f9c43"
+ "ba12a388.ca536",
+ "5df4287.26506d8"
]
]
},
{
- "id": "d7d72f5f.7a7ce",
+ "id": "4ba9c3e9.e8390c",
"type": "switchNode",
"name": "switch id",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2152.000244140625,
- "y": 759.9999389648438,
- "z": "e441b8db.02f6b8",
+ "x": 2211.031494140625,
+ "y": 756.0311889648438,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "d63e1652.f569d"
+ "4d059d56.ac7354"
]
]
},
{
- "id": "dec2ce36.a7d0b8",
+ "id": "a5aeb648.cbf968",
"type": "switchNode",
"name": "switch description",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_description'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2176.0005950927734,
- "y": 818.999945640564,
- "z": "e441b8db.02f6b8",
+ "x": 2235.0318450927734,
+ "y": 815.031195640564,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "1dec5f83.486278",
- "2b5e6af5.fa1be6"
+ "44b5c7cb.6c0ad8",
+ "f5c82290.f1663"
]
]
},
{
- "id": "98740756.5a0698",
+ "id": "1b41b68d.54ece9",
"type": "switchNode",
"name": "switch routerId",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_routerId'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2184.999984741211,
- "y": 1014.9999113082886,
- "z": "e441b8db.02f6b8",
+ "x": 2244.031234741211,
+ "y": 1011.0311613082886,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "526a88c5.c1e6f"
+ "126609cf.3fa496"
]
]
},
{
- "id": "cf346f91.adf2b8",
+ "id": "1ea9ba64.03cfe6",
"type": "switchNode",
"name": "switch importRT1",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_importRT1'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2193.2857208251953,
- "y": 1076.2856645584106,
- "z": "e441b8db.02f6b8",
+ "x": 2252.3169708251953,
+ "y": 1072.3169145584106,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "fa93b7e1.ca525"
+ "f302ebc3.5b2b08"
]
]
},
{
- "id": "ef96aea9.bb52b8",
+ "id": "f446799d.52ab98",
"type": "switchNode",
"name": "switch exportRT1",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_exportRT1'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2194.2857818603516,
- "y": 1140.2856353521347,
- "z": "e441b8db.02f6b8",
+ "x": 2253.3170318603516,
+ "y": 1136.3168853521347,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "3dfa7241.2277c6"
+ "760fe723.f862b8"
]
]
},
{
- "id": "38b0bb00.7d39e6",
+ "id": "12876faf.c9b22",
"type": "switchNode",
"name": "switch vni",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_vni'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2165.2857513427734,
- "y": 1203.2856674194336,
- "z": "e441b8db.02f6b8",
+ "x": 2224.3170013427734,
+ "y": 1199.3169174194336,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "4f915472.693e64"
+ "9ec06044.5ffa5"
]
]
},
{
- "id": "d63e1652.f569d",
+ "id": "4d059d56.ac7354",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2367.000244140625,
- "y": 758.9999389648438,
- "z": "e441b8db.02f6b8",
+ "x": 2426.031494140625,
+ "y": 755.0311889648438,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "fa875aed.c34ac"
+ "59ffa97c.5c0fc8"
]
]
},
{
- "id": "1dec5f83.486278",
+ "id": "44b5c7cb.6c0ad8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2374.0005950927734,
- "y": 818.999945640564,
- "z": "e441b8db.02f6b8",
+ "x": 2433.0318450927734,
+ "y": 815.031195640564,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "33fd7326.698864"
+ "bc8f84e7.1a2c38"
]
]
},
{
- "id": "526a88c5.c1e6f",
+ "id": "126609cf.3fa496",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2389.999984741211,
- "y": 1013.9999113082886,
- "z": "e441b8db.02f6b8",
+ "x": 2449.031234741211,
+ "y": 1010.0311613082886,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "d17959a.97f2aa8"
+ "9984a813.340fe8"
]
]
},
{
- "id": "fa93b7e1.ca525",
+ "id": "f302ebc3.5b2b08",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2395.2857208251953,
- "y": 1075.2856645584106,
- "z": "e441b8db.02f6b8",
+ "x": 2454.3169708251953,
+ "y": 1071.3169145584106,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "5dc95384.4ed664"
+ "76d6f69c.e0f7a8"
]
]
},
{
- "id": "3dfa7241.2277c6",
+ "id": "760fe723.f862b8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2390.2857818603516,
- "y": 1137.2856353521347,
- "z": "e441b8db.02f6b8",
+ "x": 2449.3170318603516,
+ "y": 1133.3168853521347,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "c2766476.fb709"
+ "fe22f97a.e156b8"
]
]
},
{
- "id": "4f915472.693e64",
+ "id": "9ec06044.5ffa5",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2371.2857513427734,
- "y": 1203.2856674194336,
- "z": "e441b8db.02f6b8",
+ "x": 2430.3170013427734,
+ "y": 1199.3169174194336,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "6837898c.7c5d88"
+ "cab29ddd.d3511"
]
]
},
{
- "id": "33fd7326.698864",
+ "id": "bc8f84e7.1a2c38",
"type": "set",
"name": "set description",
"xml": "<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2556.0005950927734,
- "y": 811.999945640564,
- "z": "e441b8db.02f6b8",
+ "x": 2615.0318450927734,
+ "y": 808.031195640564,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "d17959a.97f2aa8",
+ "id": "9984a813.340fe8",
"type": "set",
"name": "set router_id",
"xml": "<set>\n<parameter name='prop.dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2581.0002059936523,
- "y": 1006.9999980926514,
- "z": "e441b8db.02f6b8",
+ "x": 2640.0314559936523,
+ "y": 1003.0312480926514,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "6837898c.7c5d88",
+ "id": "cab29ddd.d3511",
"type": "set",
"name": "set vni",
"xml": "<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2541.2857513427734,
- "y": 1195.2856674194336,
- "z": "e441b8db.02f6b8",
+ "x": 2600.3170013427734,
+ "y": 1191.3169174194336,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "70524c4e.0bccac",
+ "id": "da831bc2.b61118",
"type": "switchNode",
"name": "switch networkName",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_networkName'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2202.666519165039,
- "y": 950.1665372848511,
- "z": "e441b8db.02f6b8",
+ "x": 2261.697769165039,
+ "y": 946.1977872848511,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "4079fe10.73712"
+ "1a29ba09.a33016"
]
]
},
{
- "id": "4079fe10.73712",
+ "id": "1a29ba09.a33016",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2400.666519165039,
- "y": 950.1665372848511,
- "z": "e441b8db.02f6b8",
+ "x": 2459.697769165039,
+ "y": 946.1977872848511,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "b289aa17.d6ea6"
+ "38aff846.dc0b98"
]
]
},
{
- "id": "280833fe.9bdbb4",
+ "id": "f9349a4.bd78768",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1670.9996948242188,
- "y": 881.9998967647552,
- "z": "e441b8db.02f6b8",
+ "x": 1730.0309448242188,
+ "y": 878.0311467647552,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "d7d72f5f.7a7ce",
- "dec2ce36.a7d0b8",
- "98740756.5a0698",
- "cf346f91.adf2b8",
- "ef96aea9.bb52b8",
- "38b0bb00.7d39e6",
- "70524c4e.0bccac"
+ "4ba9c3e9.e8390c",
+ "a5aeb648.cbf968",
+ "1b41b68d.54ece9",
+ "1ea9ba64.03cfe6",
+ "f446799d.52ab98",
+ "12876faf.c9b22",
+ "da831bc2.b61118"
]
]
},
{
- "id": "ef1d071a.3ba078",
+ "id": "ba12a388.ca536",
"type": "for",
"name": "for each network-input-parameters",
"xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 1423.9997863769531,
- "y": 883.9999272823334,
- "z": "e441b8db.02f6b8",
+ "x": 1483.0310363769531,
+ "y": 880.0311772823334,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "280833fe.9bdbb4"
+ "f9349a4.bd78768"
]
]
},
{
- "id": "c92e65bb.5b6848",
+ "id": "4bf931c1.dd806",
"type": "set",
"name": "set id",
"xml": "<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2563.0002822875977,
- "y": 232.00002479553223,
- "z": "e441b8db.02f6b8",
+ "x": 2622.0315322875977,
+ "y": 228.03127479553223,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "cd65a796.961288",
+ "id": "6fbbb836.ada618",
"type": "switchNode",
"name": "switch tunnelType",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tunnelType'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2182.5,
- "y": 681.9999389648438,
- "z": "e441b8db.02f6b8",
+ "x": 2241.53125,
+ "y": 678.0311889648438,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "1fce8229.b61736"
+ "c5018b38.b82348"
]
]
},
{
- "id": "1fce8229.b61736",
+ "id": "c5018b38.b82348",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2388.5,
- "y": 681.9999389648438,
- "z": "e441b8db.02f6b8",
+ "x": 2447.53125,
+ "y": 678.0311889648438,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "868e249c.157cd8"
+ "85645a4.a9bb1a8"
]
]
},
{
- "id": "868e249c.157cd8",
+ "id": "85645a4.a9bb1a8",
"type": "set",
"name": "set tunnelType",
"xml": "<set>\n<parameter name='prop.dci-connects.tunnelType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2558.5,
- "y": 673.9999389648438,
- "z": "e441b8db.02f6b8",
+ "x": 2617.53125,
+ "y": 670.0311889648438,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "82851975.f9c43",
+ "id": "5df4287.26506d8",
"type": "block",
"name": "block : sendRequest",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1336.5000190734863,
- "y": 1441.4999446868896,
- "z": "e441b8db.02f6b8",
+ "x": 1395.5312690734863,
+ "y": 1437.5311946868896,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "2e5b4bbb.d3f49c",
- "cc5ac5d8.cd6108",
- "fdf840a9.0444e8"
+ "1dccb94.bd57b47",
+ "5d6b118.552a3f",
+ "2eb443d1.da3d7c",
+ "6c39ea0c.ba0e9c",
+ "1fbe5a07.98eb36"
]
]
},
{
- "id": "a91c0c9d.68d8d8",
+ "id": "37fa897c.a998d6",
"type": "execute",
"name": "execute RestApiCallNode Activate Vxlan Tunnel",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.sdncRestApi.templateDir +'/l3-dci-connects-template.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l3-dci-connects'`\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/l3-dci-connects-template.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l3-dci-connects'`\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2144.5002937316895,
- "y": 1504.4998998641968,
- "z": "e441b8db.02f6b8",
+ "x": 2203.5315437316895,
+ "y": 1500.5311498641968,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[]
]
},
{
- "id": "dc2e27d2.f3149",
+ "id": "a2886d1e.1475a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1822.9999771118164,
- "y": 1212.499531507492,
- "z": "e441b8db.02f6b8",
+ "x": 1882.0312271118164,
+ "y": 1208.530781507492,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "7ff9492b.841e"
+ "59fbb9bc.1fe2b8"
]
]
},
{
- "id": "ac70e961.9619e8",
+ "id": "4cc401c7.12563",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1829.9999771118164,
- "y": 1250.499531507492,
- "z": "e441b8db.02f6b8",
+ "x": 1889.0312271118164,
+ "y": 1246.530781507492,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "eb823b4e.91d25"
+ "fa41b944.ad53d8"
]
]
},
{
- "id": "ca05e8cb.5f4ec",
+ "id": "499333c.6e6f8cc",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1821.9999771118164,
- "y": 1292.499531507492,
- "z": "e441b8db.02f6b8",
+ "x": 1881.0312271118164,
+ "y": 1288.530781507492,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "85a36612.a37bb8"
+ "30de8b8b.248734"
]
]
},
{
- "id": "eb823b4e.91d25",
+ "id": "fa41b944.ad53d8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1986.9999771118164,
- "y": 1254.499531507492,
- "z": "e441b8db.02f6b8",
+ "x": 2046.0312271118164,
+ "y": 1250.530781507492,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "85a36612.a37bb8",
+ "id": "30de8b8b.248734",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1979.9999771118164,
- "y": 1301.499531507492,
- "z": "e441b8db.02f6b8",
+ "x": 2039.0312271118164,
+ "y": 1297.530781507492,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "fdf840a9.0444e8",
+ "id": "2eb443d1.da3d7c",
"type": "get-resource",
"name": "get-resource 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 = $prop.dci-connects.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n",
"comments": "",
"outputs": 1,
- "x": 1604.230857849121,
- "y": 1251.8072967529297,
- "z": "e441b8db.02f6b8",
+ "x": 1663.262107849121,
+ "y": 1247.8385467529297,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "dc2e27d2.f3149",
- "ac70e961.9619e8",
- "ca05e8cb.5f4ec"
+ "a2886d1e.1475a",
+ "4cc401c7.12563",
+ "499333c.6e6f8cc"
]
]
},
{
- "id": "7ff9492b.841e",
+ "id": "59fbb9bc.1fe2b8",
"type": "set",
"name": "set controller data",
- "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n",
"comments": "",
- "x": 1997.4999084472656,
- "y": 1208.99951171875,
- "z": "e441b8db.02f6b8",
+ "x": 2056.5311584472656,
+ "y": 1205.03076171875,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "2e5b4bbb.d3f49c",
+ "id": "1dccb94.bd57b47",
"type": "switchNode",
"name": "switch tunnelType",
"xml": "<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
"comments": "",
"outputs": 1,
- "x": 1607.4997520446777,
- "y": 1528.9994106292725,
- "z": "e441b8db.02f6b8",
+ "x": 1666.5310020446777,
+ "y": 1525.0306606292725,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "3befe90d.b29476",
- "aa631529.b7acf8"
+ "71cfd469.6c1bec",
+ "86e8360c.b36588"
]
]
},
{
- "id": "3befe90d.b29476",
+ "id": "71cfd469.6c1bec",
"type": "outcomeTrue",
"name": "L3-DCI",
"xml": "<outcome value='L3-DCI'>\n",
"comments": "",
"outputs": 1,
- "x": 1820.4998817443848,
- "y": 1508.9994106292725,
- "z": "e441b8db.02f6b8",
+ "x": 1879.5311317443848,
+ "y": 1505.0306606292725,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "a91c0c9d.68d8d8"
+ "37fa897c.a998d6"
]
]
},
{
- "id": "aa631529.b7acf8",
+ "id": "86e8360c.b36588",
"type": "outcomeTrue",
"name": "L2-DCI",
"xml": "<outcome value='L2-DCI'>\n",
"comments": "",
"outputs": 1,
- "x": 1818.4997024536133,
- "y": 1580.9994106292725,
- "z": "e441b8db.02f6b8",
+ "x": 1877.5309524536133,
+ "y": 1577.0306606292725,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "acdaaf2d.3fa418"
+ "888b7367.eced7"
]
]
},
{
- "id": "fa875aed.c34ac",
+ "id": "59ffa97c.5c0fc8",
"type": "set",
"name": "set id",
"xml": "<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2541.000217437744,
- "y": 753.9999914169312,
- "z": "e441b8db.02f6b8",
+ "x": 2600.031467437744,
+ "y": 750.0312414169312,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "acdaaf2d.3fa418",
+ "id": "888b7367.eced7",
"type": "execute",
"name": "execute RestApiCallNode Activate Vxlan Tunnel",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.sdncRestApi.templateDir +'/l2-dci-connects-template.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l2-dci-connects'`\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/l2-dci-connects-template.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l2-dci-connects'`\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2138.5002479553223,
- "y": 1581.4998359680176,
- "z": "e441b8db.02f6b8",
+ "x": 2197.5314979553223,
+ "y": 1577.5310859680176,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[]
]
},
{
- "id": "2b5e6af5.fa1be6",
+ "id": "f5c82290.f1663",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2372.500175476074,
- "y": 877.9999752044678,
- "z": "e441b8db.02f6b8",
+ "x": 2431.531425476074,
+ "y": 874.0312252044678,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "57bbffac.8097a"
+ "cbfd35c2.bfcb88"
]
]
},
{
- "id": "57bbffac.8097a",
+ "id": "cbfd35c2.bfcb88",
"type": "set",
"name": "set description",
"xml": "<set>\n<parameter name='prop.dci-connects.description' value='' />\n",
"comments": "",
- "x": 2553.500244140625,
- "y": 872.9999160766602,
- "z": "e441b8db.02f6b8",
+ "x": 2612.531494140625,
+ "y": 869.0311660766602,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "b0552f88.544ae8",
+ "id": "3adcbd29.e08a92",
"type": "block",
"name": "block setEvpnIrts",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2575.499755859375,
- "y": 486.5155963897705,
- "z": "e441b8db.02f6b8",
+ "x": 2634.531005859375,
+ "y": 482.5468463897705,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "a0835968.abab58",
- "29e92f82.7e48a"
+ "ee0c28f8.e4d418",
+ "e8a5d988.95c218"
]
]
},
{
- "id": "a0835968.abab58",
+ "id": "ee0c28f8.e4d418",
"type": "set",
"name": "set evpn_irts",
"xml": "<set>\n<parameter name='tmp.dci-connects.evpn_irts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2821.499755859375,
- "y": 437.5155963897705,
- "z": "e441b8db.02f6b8",
+ "x": 2880.531005859375,
+ "y": 433.5468463897705,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "29e92f82.7e48a",
+ "id": "e8a5d988.95c218",
"type": "execute",
"name": "split evpn_irts",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_irts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_irts\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2850.499755859375,
- "y": 489.5155963897705,
- "z": "e441b8db.02f6b8",
+ "x": 2909.531005859375,
+ "y": 485.5468463897705,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "8e45a14f.6987e8",
- "7d8c23d3.29c044"
+ "d28f896c.05d5c8",
+ "14de53a9.69951c"
]
]
},
{
- "id": "7d8c23d3.29c044",
+ "id": "14de53a9.69951c",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3067.499755859375,
- "y": 415.5155963897705,
- "z": "e441b8db.02f6b8",
+ "x": 3126.531005859375,
+ "y": 411.5468463897705,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "c173e280.2c1e9"
+ "2beb253e.7afdaa"
]
]
},
{
- "id": "8e45a14f.6987e8",
+ "id": "d28f896c.05d5c8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3068.499755859375,
- "y": 481.5155963897705,
- "z": "e441b8db.02f6b8",
+ "x": 3127.531005859375,
+ "y": 477.5468463897705,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "3e58258.775a2da"
+ "75111897.c6e698"
]
]
},
{
- "id": "3e58258.775a2da",
+ "id": "75111897.c6e698",
"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": 3249.499755859375,
- "y": 479.5155963897705,
- "z": "e441b8db.02f6b8",
+ "x": 3308.531005859375,
+ "y": 475.5468463897705,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "beca6511.f65ce8",
+ "id": "cc14d3d6.a8bb8",
"type": "set",
"name": "set evpn_erts",
"xml": "<set>\n<parameter name='tmp.dci-connects.evpn_erts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2817.999755859375,
- "y": 580.0156269073486,
- "z": "e441b8db.02f6b8",
+ "x": 2877.031005859375,
+ "y": 576.0468769073486,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "5c8c8ec.d68a17",
+ "id": "456385de.3c8bcc",
"type": "execute",
"name": "split evpn_erts",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_erts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_erts\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2846.999755859375,
- "y": 632.0156269073486,
- "z": "e441b8db.02f6b8",
+ "x": 2906.031005859375,
+ "y": 628.0468769073486,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "f785906c.f11148",
- "cf6bfe81.a42eb"
+ "7302b848.08c648",
+ "5fdfc909.24b298"
]
]
},
{
- "id": "cf6bfe81.a42eb",
+ "id": "5fdfc909.24b298",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3063.999755859375,
- "y": 558.0156269073486,
- "z": "e441b8db.02f6b8",
+ "x": 3123.031005859375,
+ "y": 554.0468769073486,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "22c92a4e.65d95e"
+ "a89b655a.a9acf8"
]
]
},
{
- "id": "f785906c.f11148",
+ "id": "7302b848.08c648",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3064.999755859375,
- "y": 624.0156269073486,
- "z": "e441b8db.02f6b8",
+ "x": 3124.031005859375,
+ "y": 620.0468769073486,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "e7b8be46.c3f6f8"
+ "c1a75157.1fffe"
]
]
},
{
- "id": "e7b8be46.c3f6f8",
+ "id": "c1a75157.1fffe",
"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": 3245.999755859375,
- "y": 622.0156269073486,
- "z": "e441b8db.02f6b8",
+ "x": 3305.031005859375,
+ "y": 618.0468769073486,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "caf135a5.75dfb",
+ "id": "4c2a55f8.8427bc",
"type": "block",
"name": "block setEvpnErts",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2568.9996490478516,
- "y": 542.0156841278076,
- "z": "e441b8db.02f6b8",
+ "x": 2628.0308990478516,
+ "y": 538.0469341278076,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "beca6511.f65ce8",
- "5c8c8ec.d68a17"
+ "cc14d3d6.a8bb8",
+ "456385de.3c8bcc"
]
]
},
{
- "id": "c173e280.2c1e9",
+ "id": "2beb253e.7afdaa",
"type": "for",
"name": "for each evpn_irts",
"xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 3269.9999198913574,
- "y": 415.0156364440918,
- "z": "e441b8db.02f6b8",
+ "x": 3329.0311698913574,
+ "y": 411.0468864440918,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "a51d665a.022ac"
+ "7f5427c6.ab6078"
]
]
},
{
- "id": "a51d665a.022ac",
+ "id": "7f5427c6.ab6078",
"type": "set",
"name": "set evpn_irt",
"xml": "<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
"comments": "",
- "x": 3482.0004119873047,
- "y": 415.0157890319824,
- "z": "e441b8db.02f6b8",
+ "x": 3541.0316619873047,
+ "y": 411.0470390319824,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "22c92a4e.65d95e",
+ "id": "a89b655a.a9acf8",
"type": "for",
"name": "for each evpn_erts",
"xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 3263.499755859375,
- "y": 554.0156269073486,
- "z": "e441b8db.02f6b8",
+ "x": 3322.531005859375,
+ "y": 550.0468769073486,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "aa48125e.46af68"
+ "26d12fff.9c7b4"
]
]
},
{
- "id": "aa48125e.46af68",
+ "id": "26d12fff.9c7b4",
"type": "set",
"name": "set evpn_ert",
"xml": "<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
"comments": "",
- "x": 3475.5002479553223,
- "y": 554.0157794952393,
- "z": "e441b8db.02f6b8",
+ "x": 3534.5314979553223,
+ "y": 550.0470294952393,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "df48b455.f78358",
+ "id": "232c8152.10922e",
"type": "set",
"name": "set evpn_irts",
"xml": "<set>\n<parameter name='tmp.dci-connects.evpn_irts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2834.499755859375,
- "y": 1020.5155658721924,
- "z": "e441b8db.02f6b8",
+ "x": 2893.531005859375,
+ "y": 1016.5468158721924,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "4671089c.4065d",
+ "id": "60735ad6.75f224",
"type": "execute",
"name": "split evpn_irts",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_irts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_irts\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2863.499755859375,
- "y": 1072.5155658721924,
- "z": "e441b8db.02f6b8",
+ "x": 2922.531005859375,
+ "y": 1068.5468158721924,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "c07a8fe4.eee06",
- "b25e01c2.b4c498"
+ "9de0af26.c612a",
+ "f23e522f.721f"
]
]
},
{
- "id": "b25e01c2.b4c498",
+ "id": "f23e522f.721f",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3080.499755859375,
- "y": 998.5155658721924,
- "z": "e441b8db.02f6b8",
+ "x": 3139.531005859375,
+ "y": 994.5468158721924,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "fd6137f0.99036"
+ "3e0e3570.15512a"
]
]
},
{
- "id": "c07a8fe4.eee06",
+ "id": "9de0af26.c612a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3081.499755859375,
- "y": 1064.5155658721924,
- "z": "e441b8db.02f6b8",
+ "x": 3140.531005859375,
+ "y": 1060.5468158721924,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "ae803047.be9f4"
+ "7bec3155.0aa5"
]
]
},
{
- "id": "ae803047.be9f4",
+ "id": "7bec3155.0aa5",
"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": 3262.499755859375,
- "y": 1062.5155658721924,
- "z": "e441b8db.02f6b8",
+ "x": 3321.531005859375,
+ "y": 1058.5468158721924,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "dca9a5fc.c2dd7",
+ "id": "2d50095d.e93056",
"type": "set",
"name": "set evpn_erts",
"xml": "<set>\n<parameter name='tmp.dci-connects.evpn_erts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2830.999755859375,
- "y": 1163.0155963897705,
- "z": "e441b8db.02f6b8",
+ "x": 2890.031005859375,
+ "y": 1159.0468463897705,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "d09c4d61.8c28a8",
+ "id": "5512a241.93c69c",
"type": "execute",
"name": "split evpn_erts",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_erts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_erts\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2859.999755859375,
- "y": 1215.0155963897705,
- "z": "e441b8db.02f6b8",
+ "x": 2919.031005859375,
+ "y": 1211.0468463897705,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "16d5f80f.face6",
- "d6e6a1c9.8aba28"
+ "2406f85.66f9d08",
+ "5ea7c0a.461a54"
]
]
},
{
- "id": "d6e6a1c9.8aba28",
+ "id": "5ea7c0a.461a54",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3076.999755859375,
- "y": 1141.0155963897705,
- "z": "e441b8db.02f6b8",
+ "x": 3136.031005859375,
+ "y": 1137.0468463897705,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "1e8c72ef.2dadbd"
+ "29bb0627.190dea"
]
]
},
{
- "id": "16d5f80f.face6",
+ "id": "2406f85.66f9d08",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3077.999755859375,
- "y": 1207.0155963897705,
- "z": "e441b8db.02f6b8",
+ "x": 3137.031005859375,
+ "y": 1203.0468463897705,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "a59e780.8734808"
+ "f9b95a01.7c2878"
]
]
},
{
- "id": "a59e780.8734808",
+ "id": "f9b95a01.7c2878",
"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": 3258.999755859375,
- "y": 1205.0155963897705,
- "z": "e441b8db.02f6b8",
+ "x": 3318.031005859375,
+ "y": 1201.0468463897705,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "fd6137f0.99036",
+ "id": "3e0e3570.15512a",
"type": "for",
"name": "for each evpn_irts",
"xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 3282.9999198913574,
- "y": 998.0156059265137,
- "z": "e441b8db.02f6b8",
+ "x": 3342.0311698913574,
+ "y": 994.0468559265137,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "3366154b.09f69a"
+ "9a59b84a.ecec98"
]
]
},
{
- "id": "3366154b.09f69a",
+ "id": "9a59b84a.ecec98",
"type": "set",
"name": "set evpn_irt",
"xml": "<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
"comments": "",
- "x": 3495.0004119873047,
- "y": 998.0157585144043,
- "z": "e441b8db.02f6b8",
+ "x": 3554.0316619873047,
+ "y": 994.0470085144043,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "1e8c72ef.2dadbd",
+ "id": "29bb0627.190dea",
"type": "for",
"name": "for each evpn_erts",
"xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 3276.499755859375,
- "y": 1137.0155963897705,
- "z": "e441b8db.02f6b8",
+ "x": 3335.531005859375,
+ "y": 1133.0468463897705,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "83278032.925b58"
+ "d32d9c80.701b4"
]
]
},
{
- "id": "83278032.925b58",
+ "id": "d32d9c80.701b4",
"type": "set",
"name": "set evpn_ert",
"xml": "<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
"comments": "",
- "x": 3488.5002479553223,
- "y": 1137.0157489776611,
- "z": "e441b8db.02f6b8",
+ "x": 3547.5314979553223,
+ "y": 1133.0469989776611,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "5dc95384.4ed664",
+ "id": "76d6f69c.e0f7a8",
"type": "block",
"name": "block setEvpnIrts",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2588.499755859375,
- "y": 1069.5155658721924,
- "z": "e441b8db.02f6b8",
+ "x": 2647.531005859375,
+ "y": 1065.5468158721924,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "df48b455.f78358",
- "4671089c.4065d"
+ "232c8152.10922e",
+ "60735ad6.75f224"
]
]
},
{
- "id": "c2766476.fb709",
+ "id": "fe22f97a.e156b8",
"type": "block",
"name": "block setEvpnErts",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2581.9996490478516,
- "y": 1125.0156536102295,
- "z": "e441b8db.02f6b8",
+ "x": 2641.0308990478516,
+ "y": 1121.0469036102295,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "dca9a5fc.c2dd7",
- "d09c4d61.8c28a8"
+ "2d50095d.e93056",
+ "5512a241.93c69c"
]
]
},
{
- "id": "a8dbfcec.d67fe8",
+ "id": "cb8f4f81.03f6",
"type": "execute",
"name": "execute generate-overlay-network-id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.dci.network-id\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1393.6667098999023,
- "y": 1605.3334283828735,
- "z": "e441b8db.02f6b8",
+ "x": 1452.6979598999023,
+ "y": 1601.3646783828735,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[]
]
},
{
- "id": "c861a6a.2bad4d8",
+ "id": "b671a31f.ca73a",
"type": "switchNode",
"name": "switch service-data.networks_length",
"xml": "<switch test='`$service-data.networks.network_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1385.6667251586914,
- "y": 1675.3334347009659,
- "z": "e441b8db.02f6b8",
+ "x": 1444.6979751586914,
+ "y": 1671.3646847009659,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "ec47d113.88981",
- "a4b7938c.8397d8"
+ "ac48e882.8e5458",
+ "bc7b8c68.e23fc"
]
]
},
{
- "id": "ec47d113.88981",
+ "id": "ac48e882.8e5458",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1659.4762954711914,
- "y": 1644.2858272790909,
- "z": "e441b8db.02f6b8",
+ "x": 1718.5075454711914,
+ "y": 1640.3170772790909,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "1ffb3be3.659b34"
+ "e844e350.99df9"
]
]
},
{
- "id": "a4b7938c.8397d8",
+ "id": "bc7b8c68.e23fc",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1654.3334732055664,
- "y": 1690.0001217126846,
- "z": "e441b8db.02f6b8",
+ "x": 1713.3647232055664,
+ "y": 1686.0313717126846,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "b8b2072e.0d1078"
+ "1eb190aa.78173f"
]
]
},
{
- "id": "1ffb3be3.659b34",
+ "id": "e844e350.99df9",
"type": "set",
"name": "set nidx",
"xml": "<set>\n<parameter name='nidx' value='0' />\n",
"comments": "",
- "x": 1812.4762954711914,
- "y": 1643.8572384119034,
- "z": "e441b8db.02f6b8",
+ "x": 1871.5075454711914,
+ "y": 1639.8884884119034,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "b8b2072e.0d1078",
+ "id": "1eb190aa.78173f",
"type": "set",
"name": "set nidx",
"xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
"comments": "",
- "x": 1813.904884338379,
- "y": 1688.8572994470596,
- "z": "e441b8db.02f6b8",
+ "x": 1872.936134338379,
+ "y": 1684.8885494470596,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "a90e8a48.4fa9a8",
+ "id": "55222dc2.e57ec4",
"type": "set",
"name": "set network in service-data",
"xml": "<set>\n<parameter name=\"service-data.networks.network[$nidx].network-id\" value='`$prop.dci.network-id`' />\n<parameter name='service-data.networks.network[$nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.service-information.' value='`$network-topology-operation-input.service-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-information.' value='`$network-topology-operation-input.network-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.' value='`$network-topology-operation-input.network-request-input.`' />\n<parameter name=\"service-data.networks.network_length\" value='`$nidx+1`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n\n\n",
"comments": "",
- "x": 1357.6667098999023,
- "y": 1747.3334369659424,
- "z": "e441b8db.02f6b8",
+ "x": 1416.6979598999023,
+ "y": 1743.3646869659424,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "861b73d2.7c3dc",
+ "id": "d35fd906.7c7fe8",
"type": "block",
"name": "block : saveNetworkData",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1053.9999618530273,
- "y": 1586.6666278839111,
- "z": "e441b8db.02f6b8",
+ "x": 1113.0312118530273,
+ "y": 1582.6978778839111,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "a8dbfcec.d67fe8",
- "c861a6a.2bad4d8",
- "a90e8a48.4fa9a8",
- "b943b7ea.3454d"
+ "cb8f4f81.03f6",
+ "b671a31f.ca73a",
+ "55222dc2.e57ec4",
+ "a89a8da5.fdcdb"
]
]
},
{
- "id": "b943b7ea.3454d",
+ "id": "a89a8da5.fdcdb",
"type": "set",
"name": "set networkId and network-object-path",
"xml": "<set>\n<parameter name='networkId' value='`$prop.dci.network-id`' />\n<parameter name=\"network-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.dci.network-id + '/network-data/'` \" />",
"comments": "",
- "x": 1389.9999618530273,
- "y": 1817.0000019073486,
- "z": "e441b8db.02f6b8",
+ "x": 1449.0312118530273,
+ "y": 1813.0312519073486,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "cc5ac5d8.cd6108",
+ "id": "5d6b118.552a3f",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"dci-network-topology-operation-activate\"/>\n<parameter name=\"field3\" value=\"dci-connects.name\"/>\n<parameter name=\"field4\" value=\"`$prop.dci-connects.name`\" />\n<parameter name=\"field5\" value=\"dci-connects.id\"/>\n<parameter name=\"field6\" value=\"`$prop.dci-connects.id`\"/>\n<parameter name=\"field7\" value=\"dci-connects.tunnelType\" />\n<parameter name=\"field8\" value=\"`$prop.dci-connects.tunnelType`\"/>\n<parameter name=\"field9\" value=\"sdncRestApi.thirdpartySdnc.url\"/>\n<parameter name=\"field10\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 1572.333755493164,
- "y": 1445.6667127609253,
- "z": "e441b8db.02f6b8",
+ "x": 1622.364990234375,
+ "y": 1392.697998046875,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[]
]
},
{
- "id": "7460e970.19e46",
+ "id": "228b648e.7d106c",
"type": "comment",
"name": "TODO",
"info": "Currently activate is done without assignment, later divide in two phases.",
"comments": "",
- "x": 1348.9999618530273,
- "y": 79.66666603088379,
- "z": "e441b8db.02f6b8",
+ "x": 1408.0312118530273,
+ "y": 75.69791603088379,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "b289aa17.d6ea6",
+ "id": "38aff846.dc0b98",
"type": "block",
"name": "block setLocalNetworks",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2571.500030517578,
- "y": 949,
- "z": "e441b8db.02f6b8",
+ "x": 2630.531280517578,
+ "y": 945.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "f627cda3.14a76",
- "25c7d846.4b2ee8"
+ "d37b497d.93d8f8",
+ "d298e6ac.258b68"
]
]
},
{
- "id": "f627cda3.14a76",
+ "id": "d37b497d.93d8f8",
"type": "set",
"name": "set local_networks",
"xml": "<set>\n<parameter name='tmp.dci-connects.local_networks.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2774.500030517578,
- "y": 884,
- "z": "e441b8db.02f6b8",
+ "x": 2833.531280517578,
+ "y": 880.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "25c7d846.4b2ee8",
+ "id": "d298e6ac.258b68",
"type": "execute",
"name": "split local_networks",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.local_networks.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.local_networks\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2803.500030517578,
- "y": 936,
- "z": "e441b8db.02f6b8",
+ "x": 2862.531280517578,
+ "y": 932.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "fc4b2239.ad95e",
- "b78d8584.51d7a"
+ "eff34a17.4d5f68",
+ "a2b7dcb4.f7dfe"
]
]
},
{
- "id": "fc4b2239.ad95e",
+ "id": "eff34a17.4d5f68",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3000.500030517578,
- "y": 871,
- "z": "e441b8db.02f6b8",
+ "x": 3059.531280517578,
+ "y": 867.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "967e5828.2a4"
+ "f3612128.8fa1"
]
]
},
{
- "id": "b78d8584.51d7a",
+ "id": "a2b7dcb4.f7dfe",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3001.500030517578,
- "y": 937,
- "z": "e441b8db.02f6b8",
+ "x": 3060.531280517578,
+ "y": 933.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "daabf19.5290e1"
+ "8c6ffd32.2208f"
]
]
},
{
- "id": "daabf19.5290e1",
+ "id": "8c6ffd32.2208f",
"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": 3182.500030517578,
- "y": 935,
- "z": "e441b8db.02f6b8",
+ "x": 3241.531280517578,
+ "y": 931.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "967e5828.2a4",
+ "id": "f3612128.8fa1",
"type": "for",
"name": "for each local_networks",
"xml": "<for index='idx' start='0' end='`$tmp.dci-connects.local_networks_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 3203.0001945495605,
- "y": 870.5000400543213,
- "z": "e441b8db.02f6b8",
+ "x": 3262.0314445495605,
+ "y": 866.5312900543213,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "fc475635.0ecc7"
+ "654fc20b.a1919c"
]
]
},
{
- "id": "fc475635.0ecc7",
+ "id": "654fc20b.a1919c",
"type": "get-resource",
"name": "get-resource l3-network",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $tmp.dci-connects.local_networks[$idx] AND \n\t\t depth = '0'\"\n pfx='tmp.aai.l3-network' local-only='false' >\n",
"comments": "",
"outputs": 1,
- "x": 3475.500030517578,
- "y": 869,
- "z": "e441b8db.02f6b8",
+ "x": 3534.531280517578,
+ "y": 865.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "3713fed6.e8a612",
- "948581dc.359b18",
- "a5fff0f8.ef0de"
+ "e570a32e.5f1c",
+ "bdb2f778.6e3618",
+ "bc031e42.eeb7c"
]
]
},
{
- "id": "3713fed6.e8a612",
+ "id": "e570a32e.5f1c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3694.2691497802734,
- "y": 829.6922347545624,
- "z": "e441b8db.02f6b8",
+ "x": 3753.3003997802734,
+ "y": 825.7234847545624,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "74fe93ab.32caec"
+ "c951297e.06f838"
]
]
},
{
- "id": "948581dc.359b18",
+ "id": "bdb2f778.6e3618",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3701.2691497802734,
- "y": 867.6922347545624,
- "z": "e441b8db.02f6b8",
+ "x": 3760.3003997802734,
+ "y": 863.7234847545624,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "3de46cb6.4664a4"
+ "37619.408049e7c"
]
]
},
{
- "id": "a5fff0f8.ef0de",
+ "id": "bc031e42.eeb7c",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3693.2691497802734,
- "y": 909.6922347545624,
- "z": "e441b8db.02f6b8",
+ "x": 3752.3003997802734,
+ "y": 905.7234847545624,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "16b5935a.976ded"
+ "8357d17d.030af"
]
]
},
{
- "id": "3de46cb6.4664a4",
+ "id": "37619.408049e7c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3858.2691497802734,
- "y": 871.6922347545624,
- "z": "e441b8db.02f6b8",
+ "x": 3917.3003997802734,
+ "y": 867.7234847545624,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "16b5935a.976ded",
+ "id": "8357d17d.030af",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3851.2691497802734,
- "y": 918.6922347545624,
- "z": "e441b8db.02f6b8",
+ "x": 3910.3003997802734,
+ "y": 914.7234847545624,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "74fe93ab.32caec",
+ "id": "c951297e.06f838",
"type": "set",
"name": "set network-id",
"xml": "<set>\n<parameter name='prop.dci-connects.local_networks[$idx]' value=\"`$tmp.aai.l3-network.network-id`\" />\n",
"comments": "",
- "x": 3868.7690811157227,
- "y": 826.1922149658203,
- "z": "e441b8db.02f6b8",
+ "x": 3927.8003311157227,
+ "y": 822.2234649658203,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "edee7e9.f5684",
+ "id": "80e65684.a81798",
"type": "save",
"name": "save overlay configuration in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='configuration' \n key='configuration.configuration-id = $prop.dci.network-id' >\n<parameter name='configuration-id' value='`$prop.dci.network-id`' />\n<parameter name='configuration-type' value='overlay' />\n<parameter name='orchestration-status' value='Created' />\n<parameter name='configuration-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.dci.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 853.5,
- "y": 1023,
- "z": "e441b8db.02f6b8",
+ "x": 912.53125,
+ "y": 1019.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[]
]
},
{
- "id": "c1d82a9d.7debd",
+ "id": "44b13ee0.f42ab",
"type": "save",
"name": "save service relationship in AAI",
"xml": "<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-id' >\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"configuration\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"/network/configurations/configuration\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"configuration.configuration-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.dci.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"configuration.configuration-type\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value=\"overlay\" />",
"comments": "",
"outputs": 1,
- "x": 811.5000305175781,
- "y": 1102,
- "z": "e441b8db.02f6b8",
+ "x": 870.5312805175781,
+ "y": 1098.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[]
]
},
{
- "id": "6eecda19.439af4",
+ "id": "2e41bbcc.a6d6e4",
"type": "block",
"name": "block setLocalNetworks",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2602,
- "y": 356,
- "z": "e441b8db.02f6b8",
+ "x": 2661.03125,
+ "y": 352.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "bdc08c35.1283",
- "394dfa49.7d183e"
+ "636f0708.977f58",
+ "af56db03.32d938"
]
]
},
{
- "id": "bdc08c35.1283",
+ "id": "636f0708.977f58",
"type": "set",
"name": "set local_networks",
"xml": "<set>\n<parameter name='tmp.dci-connects.local_networks.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2805,
- "y": 291,
- "z": "e441b8db.02f6b8",
+ "x": 2864.03125,
+ "y": 287.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "394dfa49.7d183e",
+ "id": "af56db03.32d938",
"type": "execute",
"name": "split local_networks",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.local_networks.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.local_networks\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2834,
- "y": 343,
- "z": "e441b8db.02f6b8",
+ "x": 2893.03125,
+ "y": 339.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "60eb5396.78be9c",
- "4332c294.3fe73c"
+ "39e07dec.1621b2",
+ "91074007.ecd89"
]
]
},
{
- "id": "60eb5396.78be9c",
+ "id": "39e07dec.1621b2",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3031,
- "y": 278,
- "z": "e441b8db.02f6b8",
+ "x": 3090.03125,
+ "y": 274.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "1db92507.15d47b"
+ "cb051330.3cb5b"
]
]
},
{
- "id": "4332c294.3fe73c",
+ "id": "91074007.ecd89",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3032,
- "y": 344,
- "z": "e441b8db.02f6b8",
+ "x": 3091.03125,
+ "y": 340.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "8c77dee5.f45208"
+ "573f8606.d6b8a8"
]
]
},
{
- "id": "8c77dee5.f45208",
+ "id": "573f8606.d6b8a8",
"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": 3213,
- "y": 342,
- "z": "e441b8db.02f6b8",
+ "x": 3272.03125,
+ "y": 338.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "1db92507.15d47b",
+ "id": "cb051330.3cb5b",
"type": "for",
"name": "for each local_networks",
"xml": "<for index='idx' start='0' end='`$tmp.dci-connects.local_networks_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 3233.5001640319824,
- "y": 277.5000400543213,
- "z": "e441b8db.02f6b8",
+ "x": 3292.5314140319824,
+ "y": 273.5312900543213,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "5d5e8ee8.e594e8"
+ "99742942.c53d08"
]
]
},
{
- "id": "5d5e8ee8.e594e8",
+ "id": "99742942.c53d08",
"type": "get-resource",
"name": "get-resource l3-network",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $tmp.dci-connects.local_networks[$idx] AND \n\t\t depth = '0'\"\n pfx='tmp.aai.l3-network' local-only='false' >\n",
"comments": "",
"outputs": 1,
- "x": 3506,
- "y": 276,
- "z": "e441b8db.02f6b8",
+ "x": 3565.03125,
+ "y": 272.03125,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "9eecd85b.9e0378",
- "f0b90daa.70ba48",
- "c26d74dd.826c88"
+ "ce35f358.6f76e",
+ "8d00520d.551d5",
+ "2e5108cc.272428"
]
]
},
{
- "id": "c26d74dd.826c88",
+ "id": "2e5108cc.272428",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3723.7691192626953,
- "y": 316.6922347545624,
- "z": "e441b8db.02f6b8",
+ "x": 3782.8003692626953,
+ "y": 312.7234847545624,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "19ff7603.327b32"
+ "dcf88a18.567f48"
]
]
},
{
- "id": "f0b90daa.70ba48",
+ "id": "8d00520d.551d5",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3731.7691192626953,
- "y": 274.6922347545624,
- "z": "e441b8db.02f6b8",
+ "x": 3790.8003692626953,
+ "y": 270.7234847545624,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "283dc5a8.944bea"
+ "2d45b755.c2efb8"
]
]
},
{
- "id": "9eecd85b.9e0378",
+ "id": "ce35f358.6f76e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3724.7691192626953,
- "y": 236.69223475456238,
- "z": "e441b8db.02f6b8",
+ "x": 3783.8003692626953,
+ "y": 232.72348475456238,
+ "z": "1d7d5b1a.5d6895",
"wires": [
[
- "974d7763.cd52a8"
+ "5eecb2c5.b15a1c"
]
]
},
{
- "id": "974d7763.cd52a8",
+ "id": "5eecb2c5.b15a1c",
"type": "set",
"name": "set network-id",
"xml": "<set>\n<parameter name='prop.dci-connects.local_networks[$idx]' value=\"`$tmp.aai.l3-network.network-id`\" />\n",
"comments": "",
- "x": 3899.2690505981445,
- "y": 233.1922149658203,
- "z": "e441b8db.02f6b8",
+ "x": 3958.3003005981445,
+ "y": 229.2234649658203,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "283dc5a8.944bea",
+ "id": "2d45b755.c2efb8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3888.7691192626953,
- "y": 278.6922347545624,
- "z": "e441b8db.02f6b8",
+ "x": 3947.8003692626953,
+ "y": 274.7234847545624,
+ "z": "1d7d5b1a.5d6895",
"wires": []
},
{
- "id": "19ff7603.327b32",
+ "id": "dcf88a18.567f48",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3881.7691192626953,
- "y": 325.6922347545624,
- "z": "e441b8db.02f6b8",
+ "x": 3940.8003692626953,
+ "y": 321.7234847545624,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "6c39ea0c.ba0e9c",
+ "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' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1646,
+ "y": 1323,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1fbe5a07.98eb36",
+ "type": "execute",
+ "name": "execute RestApiCallNode Get token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1910,
+ "y": 1421,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "ecc5245d.ffca28",
+ "6e7f216c.19692"
+ ]
+ ]
+ },
+ {
+ "id": "ecc5245d.ffca28",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2150,
+ "y": 1384,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "952d3488.c107a8"
+ ]
+ ]
+ },
+ {
+ "id": "6e7f216c.19692",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2157.25,
+ "y": 1450.6428833007812,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "323acdac.d34ffa"
+ ]
+ ]
+ },
+ {
+ "id": "323acdac.d34ffa",
+ "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 get token rest api\" />\n",
+ "comments": "",
+ "x": 2338,
+ "y": 1449.3929443359375,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "952d3488.c107a8",
+ "type": "set",
+ "name": "set token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='$token-result.token_id' />\n",
+ "comments": "",
+ "x": 2335,
+ "y": 1381,
+ "z": "1d7d5b1a.5d6895",
"wires": []
}
]