aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json1436
1 files changed, 750 insertions, 686 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json
index 9fb1c8eb..b83f7f5e 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json
@@ -1,57 +1,57 @@
[
{
- "id": "77c2b18.8d31ed",
+ "id": "39b306a6.ed3522",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 112,
- "y": 53.57143306732178,
- "z": "9db1531d.07a1a",
+ "x": 100,
+ "y": 63.57143306732178,
+ "z": "1e0169fe.460196",
"wires": [
[
- "9dcfa1bf.c57ff"
+ "79f0b111.72d778"
]
]
},
{
- "id": "f8a5c87f.00d498",
+ "id": "1b629c80.7881d4",
"type": "method",
"name": "method self-serve-netbox-ip-assign",
"xml": "<method rpc='self-serve-netbox-ip-assign' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 247.7857208251953,
- "y": 110.69842147827148,
- "z": "9db1531d.07a1a",
+ "x": 235.7857208251953,
+ "y": 120.69842147827148,
+ "z": "1e0169fe.460196",
"wires": [
[
- "547eae19.add57"
+ "56a052c7.058c9c"
]
]
},
{
- "id": "547eae19.add57",
+ "id": "56a052c7.058c9c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 141.32144165039062,
- "y": 197.0000400543213,
- "z": "9db1531d.07a1a",
+ "x": 129.32144165039062,
+ "y": 207.0000400543213,
+ "z": "1e0169fe.460196",
"wires": [
[
- "74f4f85d.362368",
- "511e7db4.d38c5c",
- "1c580da3.ca9442",
- "9b5b9dd.e182f6",
- "727a4c78.25da9c"
+ "90086e75.cd6fc",
+ "3efa365b.993a9a",
+ "7e104793.732a5",
+ "f91de1d4.ae1798",
+ "2734c8ea.c23828"
]
]
},
{
- "id": "9dcfa1bf.c57ff",
+ "id": "79f0b111.72d778",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -59,1727 +59,1791 @@
"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": 384.8571472167969,
- "y": 53,
- "z": "9db1531d.07a1a",
+ "x": 372.8571472167969,
+ "y": 63,
+ "z": "1e0169fe.460196",
"wires": [
[
- "f8a5c87f.00d498"
+ "1b629c80.7881d4"
]
]
},
{
- "id": "74f4f85d.362368",
+ "id": "90086e75.cd6fc",
"type": "switchNode",
"name": "switch: ss.capability-name",
"xml": "<switch test='`$ss.capability-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 399.4999694824219,
- "y": 200.82144165039062,
- "z": "9db1531d.07a1a",
+ "x": 387.4999694824219,
+ "y": 210.82144165039062,
+ "z": "1e0169fe.460196",
"wires": [
[
- "b9e21b14.67ef6"
+ "b10180d1.330c9"
]
]
},
{
- "id": "b9e21b14.67ef6",
+ "id": "b10180d1.330c9",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"outputs": 1,
- "x": 624.4999923706055,
- "y": 201.32144021987915,
- "z": "9db1531d.07a1a",
+ "x": 612.4999923706055,
+ "y": 211.32144021987915,
+ "z": "1e0169fe.460196",
"wires": [
[
- "73fe504e.4705c"
+ "66f17fa3.bde278"
]
]
},
{
- "id": "73fe504e.4705c",
+ "id": "66f17fa3.bde278",
"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\t<parameter name=\"error-message\" value=\"ss.capability-name is null\" />\n",
"comments": "",
- "x": 784.4166641235352,
- "y": 201.43253898620605,
- "z": "9db1531d.07a1a",
+ "x": 772.4166641235352,
+ "y": 211.43253898620605,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "511e7db4.d38c5c",
+ "id": "3efa365b.993a9a",
"type": "switchNode",
"name": "switch: ss.capability-action",
"xml": "<switch test='`$ss.capability-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 402.74996185302734,
- "y": 276.82143688201904,
- "z": "9db1531d.07a1a",
+ "x": 390.74996185302734,
+ "y": 286.82143688201904,
+ "z": "1e0169fe.460196",
"wires": [
[
- "44dc8d7e.430a74"
+ "8acb2cf7.4ff328"
]
]
},
{
- "id": "44dc8d7e.430a74",
+ "id": "8acb2cf7.4ff328",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 626.2499618530273,
- "y": 277.07143688201904,
- "z": "9db1531d.07a1a",
+ "x": 614.2499618530273,
+ "y": 287.07143688201904,
+ "z": "1e0169fe.460196",
"wires": [
[
- "1a43de2d.0a450a"
+ "307ed0c1.fb7998"
]
]
},
{
- "id": "1a43de2d.0a450a",
+ "id": "307ed0c1.fb7998",
"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\t<parameter name=\"error-message\" value=\"ss.capability-action is null\" />\n",
"comments": "",
- "x": 786.166633605957,
- "y": 277.18253564834595,
- "z": "9db1531d.07a1a",
+ "x": 774.166633605957,
+ "y": 287.18253564834595,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "19870db6.43192a",
- "type": "outcome",
- "name": "unassign",
- "xml": "<outcome value='unassign'>",
- "comments": "",
- "outputs": 1,
- "x": 1251.8930969238281,
- "y": 3041.6666650772095,
- "z": "9db1531d.07a1a",
- "wires": [
- [
- "d275ec9.837569"
- ]
- ]
- },
- {
- "id": "1c580da3.ca9442",
+ "id": "7e104793.732a5",
"type": "call",
- "name": "call self-service-capability-param-resolution",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-service-capability-param-resolution' mode='sync' >\n",
+ "name": "call self-serve-capability-param-resolution",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 453.41680908203125,
- "y": 351.82147216796875,
- "z": "9db1531d.07a1a",
+ "x": 441.41680908203125,
+ "y": 361.82147216796875,
+ "z": "1e0169fe.460196",
"wires": [
[
- "5d40b27c.221a9c"
+ "47c181e5.fedda"
]
]
},
{
- "id": "5d40b27c.221a9c",
+ "id": "47c181e5.fedda",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 757.6667060852051,
- "y": 353.821475982666,
- "z": "9db1531d.07a1a",
+ "x": 745.6667060852051,
+ "y": 363.821475982666,
+ "z": "1e0169fe.460196",
"wires": [
[
- "edcc63af.4dd9d8"
+ "fe0e4241.5b80e8"
]
]
},
{
- "id": "edcc63af.4dd9d8",
+ "id": "fe0e4241.5b80e8",
"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\t<parameter name=\"error-message\" value=\"`'Not all assignments are resolved' + $error-message`\" />\n",
"comments": "",
- "x": 916.4166870117188,
- "y": 353.82147216796875,
- "z": "9db1531d.07a1a",
+ "x": 904.4166870117188,
+ "y": 363.82147216796875,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "4f9c6ac7.4bbeac",
+ "id": "a92c49b1.faf6c",
"type": "set",
"name": "set tmp.ss.param.capability-name",
"xml": "<set>\n<parameter name='tmp.ss.param.capability-name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.capability-name`' />\n",
"comments": "",
- "x": 1199.0635833740234,
- "y": 1963.7697825431824,
- "z": "9db1531d.07a1a",
+ "x": 1187.0635833740234,
+ "y": 1973.7697825431824,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "c92d4312.5079b8",
+ "id": "ca92a840.cb9a5",
"type": "for",
"name": "for pidx in param_length",
"xml": "<for index=\"pidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`\">",
"comments": "",
"outputs": 1,
- "x": 909.2778091430664,
- "y": 1963.8412528038025,
- "z": "9db1531d.07a1a",
+ "x": 897.2778091430664,
+ "y": 1973.8412528038025,
+ "z": "1e0169fe.460196",
"wires": [
[
- "f2a77014.d729d8",
- "864fa674.d2c07",
- "4f9c6ac7.4bbeac"
+ "864a8266.73cc7",
+ "b15a003.31b4b",
+ "a92c49b1.faf6c"
]
]
},
{
- "id": "864fa674.d2c07",
+ "id": "b15a003.31b4b",
"type": "switchNode",
"name": "switch: capability-name - ss vs param",
"xml": "<switch test='`$tmp.ss.param.capability-name == $ss.capability-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 1212.139045715332,
- "y": 2045.119035243988,
- "z": "9db1531d.07a1a",
+ "x": 1200.139045715332,
+ "y": 2055.119035243988,
+ "z": "1e0169fe.460196",
"wires": [
[
- "27ca1b50.7b7b94"
+ "5f27f686.c72e78"
]
]
},
{
- "id": "27ca1b50.7b7b94",
+ "id": "5f27f686.c72e78",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1450.8890533447266,
- "y": 2044.869035243988,
- "z": "9db1531d.07a1a",
+ "x": 1438.8890533447266,
+ "y": 2054.869035243988,
+ "z": "1e0169fe.460196",
"wires": [
[
- "8094ff69.1f8708"
+ "b6e45a86.008848"
]
]
},
{
- "id": "e4dea9e2.e240e8",
+ "id": "52a3fa95.c6446c",
"type": "switchNode",
"name": "switch: resource-key[].name",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].name`'>\n",
"comments": "",
"outputs": 1,
- "x": 1700.7783126831055,
- "y": 2295.1630301475525,
- "z": "9db1531d.07a1a",
+ "x": 1688.7783126831055,
+ "y": 2305.1630301475525,
+ "z": "1e0169fe.460196",
"wires": [
[
- "33db91f0.e9f01e",
- "e6bd6a68.08413",
- "5e2abf9b.b85b4",
- "a20a3dc.5fc3fc",
- "82eaeb00.f8a53"
+ "12d1fbad.020824",
+ "31df3307.8fd214",
+ "8556b639.07cc4",
+ "32ab7f7f.33dea",
+ "28ed7d99.2fd922"
]
]
},
{
- "id": "e6bd6a68.08413",
+ "id": "31df3307.8fd214",
"type": "outcome",
"name": "service-instance-id",
"xml": "<outcome value='service-instance-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1972.167221069336,
- "y": 2294.6352486610413,
- "z": "9db1531d.07a1a",
+ "x": 1960.167221069336,
+ "y": 2304.6352486610413,
+ "z": "1e0169fe.460196",
"wires": [
[
- "ef960f90.e62e4"
+ "15e0f6f3.464d99"
]
]
},
{
- "id": "ef960f90.e62e4",
+ "id": "15e0f6f3.464d99",
"type": "set",
"name": "set tmp.ss.service-instance-id",
"xml": "<set>\n<parameter name='tmp.ss.service-instance-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 2238.417221069336,
- "y": 2294.3852486610413,
- "z": "9db1531d.07a1a",
+ "x": 2226.417221069336,
+ "y": 2304.3852486610413,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "b434a262.2a412",
+ "id": "702f24b8.ab2b14",
"type": "set",
"name": "set service-data...param[].value = ip-address",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].value' \n\tvalue='`$ip[0]`' />\n",
"comments": "",
- "x": 2534.960205078125,
- "y": 2879.62744140625,
- "z": "9db1531d.07a1a",
+ "x": 3014.388885498047,
+ "y": 2875.3416357040405,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "7e13641e.d9c954",
+ "id": "daef3d9b.976aa",
"type": "update",
"name": "get-resource IPAM_IP_ASSIGNEMENT",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n\tkey='SELECT * from IPAM_IP_ASSIGNEMENT \n\t\tWHERE external_key = $tmp.ss.external-key\n\t\tAND service_instance_id = $tmp.ss.service-instance-id' >",
"comments": "",
"outputs": 1,
- "x": 1727.3771667480469,
- "y": 3040.488076210022,
- "z": "9db1531d.07a1a",
+ "x": 2188.472640991211,
+ "y": 2976.2020263671875,
+ "z": "1e0169fe.460196",
"wires": [
[
- "986620e4.a7ba3",
- "95406bea.6b1b6"
+ "c57f67d2.fa9d8",
+ "b7a6dad5.6dc8c"
]
]
},
{
- "id": "986620e4.a7ba3",
+ "id": "c57f67d2.fa9d8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2021.9645042419434,
- "y": 3041.4881093502045,
- "z": "9db1531d.07a1a",
+ "x": 2483.0599784851074,
+ "y": 2977.20205950737,
+ "z": "1e0169fe.460196",
"wires": [
[
- "d043ccbb.6e195"
+ "e5ae09f3.4e9b7"
]
]
},
{
- "id": "d275ec9.837569",
+ "id": "9e365126.584608",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1421.2144622802734,
- "y": 3042.1310205459595,
- "z": "9db1531d.07a1a",
+ "x": 1882.3099365234375,
+ "y": 2977.844970703125,
+ "z": "1e0169fe.460196",
"wires": [
[
- "7e13641e.d9c954"
+ "daef3d9b.976aa"
]
]
},
{
- "id": "eabe3654.2861f",
+ "id": "b0815fb0.6c8c58",
"type": "for",
"name": "for kidx in resource-key_length",
"xml": "<for index=\"kidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key_length`\">",
"comments": "",
"outputs": 1,
- "x": 1417.6393966674805,
- "y": 2293.0241141319275,
- "z": "9db1531d.07a1a",
+ "x": 1405.6393966674805,
+ "y": 2303.0241141319275,
+ "z": "1e0169fe.460196",
"wires": [
[
- "e4dea9e2.e240e8"
+ "52a3fa95.c6446c"
]
]
},
{
- "id": "3a044c4d.1e750c",
+ "id": "9d646260.b0f88",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 625.5358581542969,
- "y": 1961.9642333984375,
- "z": "9db1531d.07a1a",
+ "x": 613.5358581542969,
+ "y": 1971.9642333984375,
+ "z": "1e0169fe.460196",
"wires": [
[
- "c92d4312.5079b8",
- "4ffc883e.37e15"
+ "ca92a840.cb9a5",
+ "dddd3293.e9766"
]
]
},
{
- "id": "776bc197.c4cea8",
+ "id": "12508de3.d24ce2",
"type": "update",
"name": "update IPAM_IP_ASSIGNEMENT to PENDING_DELETE...",
"xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\"\n\tkey=\"UPDATE IPAM_IP_ASSIGNEMENT set ip_status = $tmp.status \n\t\tWHERE external_key = $tmp.ss.external-key\n\t\tAND service_instance_id = $tmp.ss.service-instance-id\" >",
"comments": "",
"outputs": 1,
- "x": 2550.274139404297,
- "y": 3132.166787147522,
- "z": "9db1531d.07a1a",
+ "x": 3011.369613647461,
+ "y": 3067.8807373046875,
+ "z": "1e0169fe.460196",
"wires": [
[
- "b463a755.296e38"
+ "e08179b3.30edc"
]
]
},
{
- "id": "e61cd52d.9b53c8",
+ "id": "86f22edb.c1e37",
"type": "set",
"name": "set status = PENDING_DELETE",
"xml": "<set>\n<parameter name='tmp.status' value=\"PENDING_DELETE\" />\n",
"comments": "",
- "x": 2460.190643310547,
- "y": 3090.500039100647,
- "z": "9db1531d.07a1a",
+ "x": 2921.286117553711,
+ "y": 3026.2139892578125,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "b463a755.296e38",
+ "id": "e08179b3.30edc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2857.9405975341797,
- "y": 3132.7501106262207,
- "z": "9db1531d.07a1a",
+ "x": 3319.0360717773438,
+ "y": 3068.4640607833862,
+ "z": "1e0169fe.460196",
"wires": [
[
- "623c3038.c77a88"
+ "a80cdb69.81f35"
]
]
},
{
- "id": "623c3038.c77a88",
+ "id": "a80cdb69.81f35",
"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 updating NETBOX_IP_ASSIGNMENTS table to unassign ip with external_key=' + $tmp.ss.external-key + ' and service_instance_id=' + $tmp.ss.service-instance-id`\" />\n",
"comments": "",
- "x": 3036.940887451172,
- "y": 3132.5597314834595,
- "z": "9db1531d.07a1a",
+ "x": 3498.036361694336,
+ "y": 3068.273681640625,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "46730243.5a19d4",
+ "id": "2ba87204.72c89e",
"type": "execute",
"name": "execute Netbox unassign IP addresses",
"xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"unassignIpAddress\">\n<parameter name=\"service_instance_id\" value=\"`$tmp.ss.service-instance-id`\" />\n<parameter name=\"external_key\" value=\"`$tmp.ss.external-key`\" />",
"comments": "",
"outputs": 1,
- "x": 2480.2740173339844,
- "y": 3178.416848182678,
- "z": "9db1531d.07a1a",
+ "x": 2941.3694915771484,
+ "y": 3114.1307983398438,
+ "z": "1e0169fe.460196",
"wires": [
[
- "41c93106.7eb858",
- "7f8823ca.cd3dd4"
+ "d761dd7d.5daac",
+ "70a92bf3.d01214"
]
]
},
{
- "id": "41c93106.7eb858",
+ "id": "d761dd7d.5daac",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2723.6072845458984,
- "y": 3178.4167976379395,
- "z": "9db1531d.07a1a",
+ "x": 3184.7027587890625,
+ "y": 3114.130747795105,
+ "z": "1e0169fe.460196",
"wires": [
[
- "572457e6.ddb978"
+ "ac3185a3.0297d8"
]
]
},
{
- "id": "572457e6.ddb978",
+ "id": "ac3185a3.0297d8",
"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 in NetboxClient#unassignIPAddress with external-key='+ $tmp.ss.external-key`\" />\n",
"comments": "",
- "x": 2885.6073112487793,
- "y": 3178.226532936096,
- "z": "9db1531d.07a1a",
+ "x": 3346.7027854919434,
+ "y": 3113.9404830932617,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "a33aa0af.bd279",
+ "id": "9487046d.9fad68",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2200.893051147461,
- "y": 3089.916666984558,
- "z": "9db1531d.07a1a",
+ "x": 2661.988525390625,
+ "y": 3025.6306171417236,
+ "z": "1e0169fe.460196",
"wires": [
[
- "e61cd52d.9b53c8",
- "776bc197.c4cea8",
- "46730243.5a19d4"
+ "86f22edb.c1e37",
+ "12508de3.d24ce2",
+ "2ba87204.72c89e"
]
]
},
{
- "id": "4ffc883e.37e15",
+ "id": "dddd3293.e9766",
"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=\"`'SS: pidx: ' + $pidx`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 861.3414611816406,
- "y": 2018.9087219238281,
- "z": "9db1531d.07a1a",
+ "x": 849.3414611816406,
+ "y": 2028.9087219238281,
+ "z": "1e0169fe.460196",
"wires": [
[]
]
},
{
- "id": "33db91f0.e9f01e",
+ "id": "12d1fbad.020824",
"type": "outcome",
"name": "vf-module-id",
"xml": "<outcome value='vf-module-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1954.000228881836,
- "y": 2340.885187625885,
- "z": "9db1531d.07a1a",
+ "x": 1942.000228881836,
+ "y": 2350.885187625885,
+ "z": "1e0169fe.460196",
"wires": [
[
- "6181952e.31b6cc"
+ "e91a4a82.52be28"
]
]
},
{
- "id": "6181952e.31b6cc",
+ "id": "e91a4a82.52be28",
"type": "set",
"name": "set tmp.ss.vf-module-id",
"xml": "<set>\n<parameter name='tmp.ss.vf-module-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 2220.0003509521484,
- "y": 2340.885187625885,
- "z": "9db1531d.07a1a",
+ "x": 2208.0003509521484,
+ "y": 2350.885187625885,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "369a3888.44684",
+ "id": "ae56d16c.edce5",
"type": "set",
"name": "set resource-resolution-data.status = DELETED",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status' \n\tvalue='DELETED' />\n",
"comments": "",
- "x": 2990.499969482422,
- "y": 3233.737548828125,
- "z": "9db1531d.07a1a",
+ "x": 3451.595443725586,
+ "y": 3169.4514989852905,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "5e2abf9b.b85b4",
+ "id": "8556b639.07cc4",
"type": "outcome",
"name": "prefix-id",
"xml": "<outcome value='prefix-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1943.055892944336,
- "y": 2385.135218143463,
- "z": "9db1531d.07a1a",
+ "x": 1931.055892944336,
+ "y": 2395.135218143463,
+ "z": "1e0169fe.460196",
"wires": [
[
- "6a64ea7a.aa0bac"
+ "246a1d6a.080fa2"
]
]
},
{
- "id": "6a64ea7a.aa0bac",
+ "id": "246a1d6a.080fa2",
"type": "set",
"name": "set prefix-id",
"xml": "<set>\n<parameter name='tmp.ss.prefix-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 2189.555892944336,
- "y": 2385.385187625885,
- "z": "9db1531d.07a1a",
+ "x": 2177.555892944336,
+ "y": 2395.385187625885,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "5ddc29c0.4ba838",
+ "id": "d994622b.100b98",
"type": "execute",
"name": "execute NetboxClient assignIpAddress",
"xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"assignIpAddress\">\n<parameter name=\"service_instance_id\" value=\"`$tmp.ss.service-instance-id`\" />\n<parameter name=\"vf_module_id\" value=\"`$tmp.ss.vf-module-id`\" />\n<parameter name=\"prefix_id\" value=\"`$tmp.ss.prefix-id`\" />\n<parameter name=\"resource_name\" value=\"`$tmp.ss.param.name`\" />\n<parameter name=\"external_key\" value=\"`$tmp.ss.external-key`\" />",
"comments": "",
"outputs": 1,
- "x": 1724.9526672363281,
- "y": 2699.655068397522,
- "z": "9db1531d.07a1a",
+ "x": 2204.38134765625,
+ "y": 2695.3692626953125,
+ "z": "1e0169fe.460196",
"wires": [
[
- "b4f4fccf.d98da",
- "69e14266.f416c4"
+ "5fcd5073.23e8c8",
+ "1a67a440.ccf65c"
]
]
},
{
- "id": "b4f4fccf.d98da",
+ "id": "5fcd5073.23e8c8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2041.9526672363281,
- "y": 2701.6550073623657,
- "z": "9db1531d.07a1a",
+ "x": 2521.38134765625,
+ "y": 2697.3692016601562,
+ "z": "1e0169fe.460196",
"wires": [
[
- "3690386c.790168"
+ "b53fc0c4.6e6db"
]
]
},
{
- "id": "3690386c.790168",
+ "id": "b53fc0c4.6e6db",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2249.952667236328,
- "y": 2705.6550073623657,
- "z": "9db1531d.07a1a",
+ "x": 2729.38134765625,
+ "y": 2701.3692016601562,
+ "z": "1e0169fe.460196",
"wires": [
[
- "e87ee382.86daa8",
- "8cda7799.2cc048"
+ "aefd9233.639b38",
+ "5924f9f1.b07eb"
]
]
},
{
- "id": "e87ee382.86daa8",
+ "id": "aefd9233.639b38",
"type": "set",
"name": "set resource-resolution-data.status = FAILED",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status' value='FAILED' />\n",
"comments": "",
- "x": 2566.9527282714844,
- "y": 2709.6549768447876,
- "z": "9db1531d.07a1a",
+ "x": 3046.3814086914062,
+ "y": 2705.369171142578,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "8cda7799.2cc048",
+ "id": "5924f9f1.b07eb",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2464.3335876464844,
- "y": 2759.2582397460938,
- "z": "9db1531d.07a1a",
+ "x": 2943.7622680664062,
+ "y": 2754.9724340438843,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "e9502efd.cfacb8",
+ "id": "8459943a.0741",
"type": "set",
"name": "set resource-resolution-data.status = SUCCESS",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status' \n\tvalue='SUCCESS' />\n",
"comments": "",
- "x": 2552.0357666015625,
- "y": 2930.3457641601562,
- "z": "9db1531d.07a1a",
+ "x": 3031.4644470214844,
+ "y": 2926.059958457947,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "a20a3dc.5fc3fc",
+ "id": "32ab7f7f.33dea",
"type": "outcome",
"name": "ip-address-id",
"xml": "<outcome value='ip-address-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1956.9370422363281,
- "y": 2429.9922919273376,
- "z": "9db1531d.07a1a",
+ "x": 1944.9370422363281,
+ "y": 2439.9922919273376,
+ "z": "1e0169fe.460196",
"wires": [
[
- "a24b6a2f.50759"
+ "1be9a0f0.cb1137"
]
]
},
{
- "id": "a24b6a2f.50759",
+ "id": "1be9a0f0.cb1137",
"type": "set",
"name": "ip-address-id",
"xml": "<set>\n<parameter name='tmp.ss.ip-address-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 2191.9369201660156,
- "y": 2429.992352962494,
- "z": "9db1531d.07a1a",
+ "x": 2179.9369201660156,
+ "y": 2439.992352962494,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "82eaeb00.f8a53",
+ "id": "28ed7d99.2fd922",
"type": "outcome",
"name": "external_key",
"xml": "<outcome value='external_key'>\n",
"comments": "",
"outputs": 1,
- "x": 1944.5560607910156,
- "y": 2475.7065863609314,
- "z": "9db1531d.07a1a",
+ "x": 1932.5560607910156,
+ "y": 2485.7065863609314,
+ "z": "1e0169fe.460196",
"wires": [
[
- "f64e7f28.5f1c28"
+ "e3062b19.33e69"
]
]
},
{
- "id": "f64e7f28.5f1c28",
+ "id": "e3062b19.33e69",
"type": "set",
"name": "set external-key",
"xml": "<set>\n<parameter name='tmp.ss.external-key' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 2193.127471923828,
- "y": 2475.7066473960876,
- "z": "9db1531d.07a1a",
+ "x": 2181.127471923828,
+ "y": 2485.7066473960876,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "f2a77014.d729d8",
+ "id": "864a8266.73cc7",
"type": "set",
"name": "set tmp.ss.param.name",
"xml": "<set>\n<parameter name='tmp.ss.param.name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].name`' />\n",
"comments": "",
- "x": 1170.8495254516602,
- "y": 2003.9602675437927,
- "z": "9db1531d.07a1a",
+ "x": 1158.8495254516602,
+ "y": 2013.9602675437927,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "8094ff69.1f8708",
- "type": "switchNode",
- "name": "switch: resource-resolution-data.status",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 773.2856140136719,
- "y": 2269.9287109375,
- "z": "9db1531d.07a1a",
- "wires": [
- [
- "8231bfda.4aa0f8",
- "4c0fccb3.f454ac"
- ]
- ]
- },
- {
- "id": "8231bfda.4aa0f8",
- "type": "not-found",
- "name": "FAILED",
- "xml": "<outcome value='FAILED'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1004.7144165039062,
- "y": 2265.928756713867,
- "z": "9db1531d.07a1a",
- "wires": [
- [
- "575caaa7.2470a4"
- ]
- ]
- },
- {
- "id": "4c0fccb3.f454ac",
- "type": "success",
- "name": "PENDING",
- "xml": "<outcome value='PENDING'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1011.4285926818848,
- "y": 2317.6430847644806,
- "z": "9db1531d.07a1a",
- "wires": [
- [
- "575caaa7.2470a4"
- ]
- ]
- },
- {
- "id": "575caaa7.2470a4",
+ "id": "b6e45a86.008848",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1166.1429138183594,
- "y": 2289.9287719726562,
- "z": "9db1531d.07a1a",
- "wires": [
- [
- "eabe3654.2861f",
- "423ab3ab.c683cc"
- ]
- ]
- },
- {
- "id": "e4db42f9.ac9b4",
- "type": "outcome",
- "name": "assign",
- "xml": "<outcome value='assign'>",
- "comments": "",
- "outputs": 1,
- "x": 1224.0000305175781,
- "y": 2697.738320350647,
- "z": "9db1531d.07a1a",
+ "x": 1154.1429138183594,
+ "y": 2299.9287719726562,
+ "z": "1e0169fe.460196",
"wires": [
[
- "de47a062.0e7368"
+ "b0815fb0.6c8c58",
+ "ea11f211.eef478"
]
]
},
{
- "id": "423ab3ab.c683cc",
+ "id": "ea11f211.eef478",
"type": "switchNode",
"name": "switch: ss.capability-action",
"xml": "<switch test='`$ss.capability-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 988.0000305175781,
- "y": 2695.738320350647,
- "z": "9db1531d.07a1a",
+ "x": 976.0000305175781,
+ "y": 2705.738320350647,
+ "z": "1e0169fe.460196",
"wires": [
[
- "e4db42f9.ac9b4",
- "19870db6.43192a"
+ "398f1da9.7fc262",
+ "c615cc08.6cc77"
]
]
},
{
- "id": "de47a062.0e7368",
+ "id": "b4174ab1.8632e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1399.4286804199219,
- "y": 2698.595559120178,
- "z": "9db1531d.07a1a",
+ "x": 1878.8573608398438,
+ "y": 2694.3097534179688,
+ "z": "1e0169fe.460196",
"wires": [
[
- "5ddc29c0.4ba838"
+ "d994622b.100b98"
]
]
},
{
- "id": "95406bea.6b1b6",
+ "id": "b7a6dad5.6dc8c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2018.6786499023438,
- "y": 3089.202422142029,
- "z": "9db1531d.07a1a",
+ "x": 2479.774124145508,
+ "y": 3024.9163722991943,
+ "z": "1e0169fe.460196",
"wires": [
[
- "a33aa0af.bd279"
+ "9487046d.9fad68"
]
]
},
{
- "id": "69e14266.f416c4",
+ "id": "1a67a440.ccf65c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2050.0000915527344,
- "y": 2765.1666259765625,
- "z": "9db1531d.07a1a",
+ "x": 2529.4287719726562,
+ "y": 2760.880820274353,
+ "z": "1e0169fe.460196",
"wires": [
[
- "3337d755.bc6f9"
+ "6b7d48cd.fe82"
]
]
},
{
- "id": "d043ccbb.6e195",
+ "id": "e5ae09f3.4e9b7",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2192.1073128836497,
- "y": 3041.916687147958,
- "z": "9db1531d.07a1a",
+ "x": 2653.2027871268137,
+ "y": 2977.6306373051234,
+ "z": "1e0169fe.460196",
"wires": [
[]
]
},
{
- "id": "3337d755.bc6f9",
+ "id": "6b7d48cd.fe82",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2244.2857360839844,
- "y": 2845.166748046875,
- "z": "9db1531d.07a1a",
+ "x": 2723.7144165039062,
+ "y": 2840.8809423446655,
+ "z": "1e0169fe.460196",
"wires": [
[
- "e9502efd.cfacb8",
- "b434a262.2a412",
- "fd2e7345.c27e6"
+ "8459943a.0741",
+ "702f24b8.ab2b14",
+ "722fee02.ac2218"
]
]
},
{
- "id": "7f8823ca.cd3dd4",
+ "id": "70a92bf3.d01214",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2728.571990966797,
- "y": 3232.3094482421875,
- "z": "9db1531d.07a1a",
+ "x": 3189.667465209961,
+ "y": 3168.023398399353,
+ "z": "1e0169fe.460196",
"wires": [
[
- "369a3888.44684"
+ "ae56d16c.edce5"
]
]
},
{
- "id": "a51df821.acc4",
+ "id": "612ded0b.7aa5c4",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 600.4285583496094,
- "y": 441.4284896850586,
- "z": "9db1531d.07a1a",
+ "x": 588.4285583496094,
+ "y": 451.4284896850586,
+ "z": "1e0169fe.460196",
"wires": [
[
- "a0639b3c.7eba9"
+ "c436ca39.dad55"
]
]
},
{
- "id": "9b5b9dd.e182f6",
+ "id": "f91de1d4.ae1798",
"type": "switchNode",
"name": "switch capability-type. vnf",
"xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n",
"comments": "",
"outputs": 1,
- "x": 397,
- "y": 442.14276123046875,
- "z": "9db1531d.07a1a",
+ "x": 385,
+ "y": 452.14276123046875,
+ "z": "1e0169fe.460196",
"wires": [
[
- "a51df821.acc4"
+ "612ded0b.7aa5c4"
]
]
},
{
- "id": "727a4c78.25da9c",
+ "id": "2734c8ea.c23828",
"type": "switchNode",
"name": "switch capability-type vf-module",
"xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n",
"comments": "",
"outputs": 1,
- "x": 419.28582763671875,
- "y": 1827.6666259765625,
- "z": "9db1531d.07a1a",
+ "x": 407.28582763671875,
+ "y": 1837.6666259765625,
+ "z": "1e0169fe.460196",
"wires": [
[
- "5b0a7046.83e3"
+ "76727ba.3b8bb04"
]
]
},
{
- "id": "5b0a7046.83e3",
+ "id": "76727ba.3b8bb04",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 638.2858276367188,
- "y": 1828.6666870117188,
- "z": "9db1531d.07a1a",
+ "x": 626.2858276367188,
+ "y": 1838.6666870117188,
+ "z": "1e0169fe.460196",
"wires": [
[
- "3a044c4d.1e750c"
+ "9d646260.b0f88"
]
]
},
{
- "id": "25965467.621de4",
+ "id": "74139423.e17614",
"type": "outcome",
"name": "unassign",
"xml": "<outcome value='unassign'>",
"comments": "",
"outputs": 1,
- "x": 1213.3333129882812,
- "y": 1557.3690576553345,
- "z": "9db1531d.07a1a",
+ "x": 1177.5833129882812,
+ "y": 1389.8692016601562,
+ "z": "1e0169fe.460196",
"wires": [
[
- "f0b88a86.aebb68"
+ "e51b7888.989928"
]
]
},
{
- "id": "e7afaccf.d0036",
+ "id": "b8362705.36557",
"type": "set",
"name": "set tmp.ss.param.capability-name",
"xml": "<set>\n<parameter name='tmp.ss.param.capability-name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.capability-name`' />\n",
"comments": "",
- "x": 1222.1705474853516,
- "y": 537.4722971916199,
- "z": "9db1531d.07a1a",
+ "x": 1210.1705474853516,
+ "y": 547.4722971916199,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "bfedad8c.b95118",
+ "id": "37af35ce.c8f9aa",
"type": "for",
"name": "for pidx in param_length",
"xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 932.3847732543945,
- "y": 537.54376745224,
- "z": "9db1531d.07a1a",
+ "x": 920.3847732543945,
+ "y": 547.54376745224,
+ "z": "1e0169fe.460196",
"wires": [
[
- "eadf5468.9c709",
- "f0ad10ad.1e953",
- "e7afaccf.d0036"
+ "f4266bba.68463",
+ "ea3f1334.a266f8",
+ "b8362705.36557"
]
]
},
{
- "id": "f0ad10ad.1e953",
+ "id": "ea3f1334.a266f8",
"type": "switchNode",
"name": "switch: capability-name - ss vs param",
"xml": "<switch test='`$tmp.ss.param.capability-name == $ss.capability-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 1235.2460098266602,
- "y": 618.8215498924255,
- "z": "9db1531d.07a1a",
+ "x": 1223.2460098266602,
+ "y": 628.8215498924255,
+ "z": "1e0169fe.460196",
"wires": [
[
- "6a7d5101.40aa8"
+ "d7993c29.a6c5f8"
]
]
},
{
- "id": "6a7d5101.40aa8",
+ "id": "d7993c29.a6c5f8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1473.9960174560547,
- "y": 618.5715498924255,
- "z": "9db1531d.07a1a",
+ "x": 1461.9960174560547,
+ "y": 628.5715498924255,
+ "z": "1e0169fe.460196",
"wires": [
[
- "b4530e81.fa1df"
+ "35313136.60f71e"
]
]
},
{
- "id": "e13f79d4.74035",
+ "id": "85af5a4b.a2187",
"type": "switchNode",
"name": "switch: resource-key[].name",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].name`'>\n",
"comments": "",
"outputs": 1,
- "x": 1662.2185287475586,
- "y": 810.8654227256775,
- "z": "9db1531d.07a1a",
+ "x": 1650.2185287475586,
+ "y": 820.8654227256775,
+ "z": "1e0169fe.460196",
"wires": [
[
- "2eeaa08a.1d2c78",
- "9af0367b.dbd1f8",
- "f747f187.002e28",
- "81e1796a.cad958"
+ "6c06e68b.da7eb8",
+ "8b40c4df.047c2",
+ "5bcfaea0.c0c0f8",
+ "714a9ad3.25a814"
]
]
},
{
- "id": "9af0367b.dbd1f8",
+ "id": "8b40c4df.047c2",
"type": "outcome",
"name": "service-instance-id",
"xml": "<outcome value='service-instance-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1933.607437133789,
- "y": 810.3376412391663,
- "z": "9db1531d.07a1a",
+ "x": 1921.607437133789,
+ "y": 820.3376412391663,
+ "z": "1e0169fe.460196",
"wires": [
[
- "c656a145.06dbc"
+ "ee744de2.8b10f8"
]
]
},
{
- "id": "c656a145.06dbc",
+ "id": "ee744de2.8b10f8",
"type": "set",
"name": "set tmp.ss.service-instance-id",
"xml": "<set>\n<parameter name='tmp.ss.service-instance-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 2199.857437133789,
- "y": 810.0876412391663,
- "z": "9db1531d.07a1a",
+ "x": 2187.857437133789,
+ "y": 820.0876412391663,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "41f4db04.700f14",
+ "id": "53877355.ae41ac",
"type": "update",
"name": "get-resource IPAM_IP_ASSIGNEMENT",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n\tkey='SELECT * from IPAM_IP_ASSIGNEMENT \n\t\tWHERE external_key = $tmp.ss.external-key\n\t\tAND service_instance_id = $tmp.ss.service-instance-id' >",
"comments": "",
"outputs": 1,
- "x": 1688.8173828125,
- "y": 1556.190468788147,
- "z": "9db1531d.07a1a",
+ "x": 2175.3888549804688,
+ "y": 1491.9048852920532,
+ "z": "1e0169fe.460196",
"wires": [
[
- "b267b2b4.23a3e8",
- "9b01dbab.a7a7a8"
+ "1455e2db.491d8d",
+ "f61d39ca.54246"
]
]
},
{
- "id": "b267b2b4.23a3e8",
+ "id": "1455e2db.491d8d",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1983.4047203063965,
- "y": 1557.1905019283295,
- "z": "9db1531d.07a1a",
+ "x": 2469.9761924743652,
+ "y": 1492.9049184322357,
+ "z": "1e0169fe.460196",
"wires": [
[
- "c67fc199.97dec"
+ "4d3d930a.c74edc"
]
]
},
{
- "id": "f0b88a86.aebb68",
+ "id": "2e96e14a.d8a666",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1382.6546783447266,
- "y": 1557.8334131240845,
- "z": "9db1531d.07a1a",
+ "x": 1872.9761352539062,
+ "y": 1408.5477905273438,
+ "z": "1e0169fe.460196",
"wires": [
[
- "41f4db04.700f14"
+ "53877355.ae41ac"
]
]
},
{
- "id": "e6246ef9.3e7788",
+ "id": "8b797c86.449c88",
"type": "for",
"name": "for kidx in resource-key_length",
"xml": "<for index=\"kidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key_length`\">",
"comments": "",
"outputs": 1,
- "x": 1379.0796127319336,
- "y": 808.7265067100525,
- "z": "9db1531d.07a1a",
+ "x": 1367.0796127319336,
+ "y": 818.7265067100525,
+ "z": "1e0169fe.460196",
"wires": [
[
- "e13f79d4.74035"
+ "85af5a4b.a2187"
]
]
},
{
- "id": "a0639b3c.7eba9",
+ "id": "c436ca39.dad55",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 648.642822265625,
- "y": 535.666748046875,
- "z": "9db1531d.07a1a",
+ "x": 636.642822265625,
+ "y": 545.666748046875,
+ "z": "1e0169fe.460196",
"wires": [
[
- "bfedad8c.b95118",
- "dd52194f.db49b8"
+ "37af35ce.c8f9aa",
+ "419443bc.89754c"
]
]
},
{
- "id": "37aec3a4.7d6aa4",
+ "id": "7d36e25f.6ea3f4",
"type": "update",
"name": "update IPAM_IP_ASSIGNEMENT to PENDING_DELETE...",
"xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\"\n\tkey=\"UPDATE IPAM_IP_ASSIGNEMENT set ip_status = $tmp.status \n\t\tWHERE external_key = $tmp.ss.external-key\n\t\tAND service_instance_id = $tmp.ss.service-instance-id\" >",
"comments": "",
"outputs": 1,
- "x": 2511.71435546875,
- "y": 1647.869179725647,
- "z": "9db1531d.07a1a",
+ "x": 2998.2858276367188,
+ "y": 1583.5835962295532,
+ "z": "1e0169fe.460196",
"wires": [
[
- "f17fba04.5953f8"
+ "ca94a980.5b06e"
]
]
},
{
- "id": "f7bb8b39.bef09",
+ "id": "954b1950.33da8",
"type": "set",
"name": "set status = PENDING_DELETE",
"xml": "<set>\n<parameter name='tmp.status' value=\"PENDING_DELETE\" />\n",
"comments": "",
- "x": 2421.630859375,
- "y": 1606.202431678772,
- "z": "9db1531d.07a1a",
+ "x": 2908.2023315429688,
+ "y": 1541.9168481826782,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "f17fba04.5953f8",
+ "id": "ca94a980.5b06e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2819.380813598633,
- "y": 1648.4525032043457,
- "z": "9db1531d.07a1a",
+ "x": 3305.9522857666016,
+ "y": 1584.166919708252,
+ "z": "1e0169fe.460196",
"wires": [
[
- "7d1f077f.575248"
+ "ddd93d50.c85558"
]
]
},
{
- "id": "7d1f077f.575248",
+ "id": "ddd93d50.c85558",
"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 updating NETBOX_IP_ASSIGNMENTS table to unassign ip with external_key=' + $tmp.ss.external-key + ' and service_instance_id=' + $tmp.ss.service-instance-id`\" />\n",
"comments": "",
- "x": 2998.381103515625,
- "y": 1648.2621240615845,
- "z": "9db1531d.07a1a",
+ "x": 3484.9525756835938,
+ "y": 1583.9765405654907,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "91f6c6fc.2974a8",
+ "id": "d3428a19.b74a38",
"type": "execute",
"name": "execute Netbox unassign IP addresses",
"xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"unassignIpAddress\">\n<parameter name=\"service_instance_id\" value=\"`$tmp.ss.service-instance-id`\" />\n<parameter name=\"external_key\" value=\"`$tmp.ss.external-key`\" />",
"comments": "",
"outputs": 1,
- "x": 2441.7142333984375,
- "y": 1694.1192407608032,
- "z": "9db1531d.07a1a",
+ "x": 2928.2857055664062,
+ "y": 1629.8336572647095,
+ "z": "1e0169fe.460196",
"wires": [
[
- "54af54c4.b3a344",
- "286269c8.56b2fe"
+ "a11ee488.c69c1",
+ "bacc37f5.251158"
]
]
},
{
- "id": "54af54c4.b3a344",
+ "id": "a11ee488.c69c1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2685.0475006103516,
- "y": 1694.1191902160645,
- "z": "9db1531d.07a1a",
+ "x": 3171.6189727783203,
+ "y": 1629.8336067199707,
+ "z": "1e0169fe.460196",
"wires": [
[
- "3d527d1f.8bda2a"
+ "727fae.421bc054"
]
]
},
{
- "id": "3d527d1f.8bda2a",
+ "id": "727fae.421bc054",
"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 in NetboxClient#unassignIPAddress with external-key='+ $tmp.ss.external-key`\" />\n",
"comments": "",
- "x": 2847.0475273132324,
- "y": 1693.9289255142212,
- "z": "9db1531d.07a1a",
+ "x": 3333.618999481201,
+ "y": 1629.6433420181274,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "8bad1bbc.e7a648",
+ "id": "199cb084.41994f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2162.333267211914,
- "y": 1605.619059562683,
- "z": "9db1531d.07a1a",
+ "x": 2648.904739379883,
+ "y": 1541.3334760665894,
+ "z": "1e0169fe.460196",
"wires": [
[
- "f7bb8b39.bef09",
- "37aec3a4.7d6aa4",
- "91f6c6fc.2974a8"
+ "954b1950.33da8",
+ "7d36e25f.6ea3f4",
+ "d3428a19.b74a38"
]
]
},
{
- "id": "dd52194f.db49b8",
+ "id": "419443bc.89754c",
"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=\"`'SS: pidx: ' + $pidx`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 884.4484252929688,
- "y": 592.6112365722656,
- "z": "9db1531d.07a1a",
+ "x": 872.4484252929688,
+ "y": 602.6112365722656,
+ "z": "1e0169fe.460196",
"wires": [
[]
]
},
{
- "id": "2eeaa08a.1d2c78",
+ "id": "6c06e68b.da7eb8",
"type": "outcome",
"name": "vnf-id",
"xml": "<outcome value='vnf-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1915.440444946289,
- "y": 856.58758020401,
- "z": "9db1531d.07a1a",
+ "x": 1903.440444946289,
+ "y": 866.58758020401,
+ "z": "1e0169fe.460196",
"wires": [
[
- "e99c4040.fdfb6"
+ "48b45ebc.19189"
]
]
},
{
- "id": "e99c4040.fdfb6",
+ "id": "48b45ebc.19189",
"type": "set",
"name": "set tmp.ss.vnf-id",
"xml": "<set>\n<parameter name='tmp.ss.vnf-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 2181.4405670166016,
- "y": 856.58758020401,
- "z": "9db1531d.07a1a",
+ "x": 2169.4405670166016,
+ "y": 866.58758020401,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "8b1d70.bdf8029",
+ "id": "4c0830f.966f55",
"type": "set",
"name": "set resource-resolution-data.status = DELETED",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status' \n\tvalue='DELETED' />\n",
"comments": "",
- "x": 2951.940185546875,
- "y": 1749.43994140625,
- "z": "9db1531d.07a1a",
+ "x": 3438.5116577148438,
+ "y": 1685.1543579101562,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "f747f187.002e28",
+ "id": "5bcfaea0.c0c0f8",
"type": "outcome",
"name": "prefix-id",
"xml": "<outcome value='prefix-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1904.496109008789,
- "y": 900.8376107215881,
- "z": "9db1531d.07a1a",
+ "x": 1892.496109008789,
+ "y": 910.8376107215881,
+ "z": "1e0169fe.460196",
"wires": [
[
- "2ed5a6cf.2a2e6a"
+ "dd169952.c2ddc8"
]
]
},
{
- "id": "2ed5a6cf.2a2e6a",
+ "id": "dd169952.c2ddc8",
"type": "set",
"name": "set prefix-id",
"xml": "<set>\n<parameter name='tmp.ss.prefix-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 2150.996109008789,
- "y": 901.08758020401,
- "z": "9db1531d.07a1a",
+ "x": 2138.996109008789,
+ "y": 911.08758020401,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "cb98d7d9.b5a08",
+ "id": "3246d2cf.e446ce",
"type": "execute",
"name": "execute NetboxClient assignIpAddress",
"xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"assignIpAddress\">\n<parameter name=\"service_instance_id\" value=\"`$tmp.ss.service-instance-id`\" />\n<parameter name=\"vf_module_id\" value=\"`$tmp.ss.vnf-id`\" />\n<parameter name=\"prefix_id\" value=\"`$tmp.ss.prefix-id`\" />\n<parameter name=\"resource_name\" value=\"`$tmp.ss.param.name`\" />\n<parameter name=\"external_key\" value=\"`$tmp.ss.external-key`\" />",
"comments": "",
"outputs": 1,
- "x": 1686.3928833007812,
- "y": 1215.357460975647,
- "z": "9db1531d.07a1a",
+ "x": 2200.1068725585938,
+ "y": 1209.6432886123657,
+ "z": "1e0169fe.460196",
"wires": [
[
- "158c4088.3cd6c7",
- "2aec43bd.80530c"
+ "bc02f9c5.d3009",
+ "5a42ccdf.863d7c"
]
]
},
{
- "id": "158c4088.3cd6c7",
+ "id": "bc02f9c5.d3009",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2003.3928833007812,
- "y": 1217.3573999404907,
- "z": "9db1531d.07a1a",
+ "x": 2517.1068725585938,
+ "y": 1211.6432275772095,
+ "z": "1e0169fe.460196",
"wires": [
[
- "2e7a036b.bc0adc"
+ "9be2285f.3688f8"
]
]
},
{
- "id": "2e7a036b.bc0adc",
+ "id": "9be2285f.3688f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2211.3928833007812,
- "y": 1221.3573999404907,
- "z": "9db1531d.07a1a",
+ "x": 2725.1068725585938,
+ "y": 1215.6432275772095,
+ "z": "1e0169fe.460196",
"wires": [
[
- "51bf773d.df62b",
- "bc6879f4.baae4"
+ "be8fa4c5.70a7a",
+ "742a806a.1c8b48"
]
]
},
{
- "id": "51bf773d.df62b",
+ "id": "be8fa4c5.70a7a",
"type": "set",
"name": "set resource-resolution-data.status = FAILED",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status' value='FAILED' />\n",
"comments": "",
- "x": 2528.3929443359375,
- "y": 1225.3573694229126,
- "z": "9db1531d.07a1a",
+ "x": 3042.10693359375,
+ "y": 1219.6431970596313,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "bc6879f4.baae4",
+ "id": "742a806a.1c8b48",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2425.7738037109375,
- "y": 1274.9606323242188,
- "z": "9db1531d.07a1a",
+ "x": 2939.48779296875,
+ "y": 1269.2464599609375,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "49b2f547.09aa04",
+ "id": "291a0f5b.065428",
"type": "set",
"name": "set resource-resolution-data.status = SUCCESS",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status' \n\tvalue='SUCCESS' />\n",
"comments": "",
- "x": 2505.47607421875,
- "y": 1420.0482177734375,
- "z": "9db1531d.07a1a",
+ "x": 3019.1900634765625,
+ "y": 1414.3340454101562,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "81e1796a.cad958",
+ "id": "714a9ad3.25a814",
"type": "outcome",
"name": "external_key",
"xml": "<outcome value='external_key'>\n",
"comments": "",
"outputs": 1,
- "x": 1927.246337890625,
- "y": 951.4089965820312,
- "z": "9db1531d.07a1a",
+ "x": 1915.246337890625,
+ "y": 961.4089965820312,
+ "z": "1e0169fe.460196",
"wires": [
[
- "96f2e2c3.446d68"
+ "bc0a0828.40d9d8"
]
]
},
{
- "id": "96f2e2c3.446d68",
+ "id": "bc0a0828.40d9d8",
"type": "set",
"name": "set external-key",
"xml": "<set>\n<parameter name='tmp.ss.external-key' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 2175.8177490234375,
- "y": 951.4090576171875,
- "z": "9db1531d.07a1a",
+ "x": 2163.8177490234375,
+ "y": 961.4090576171875,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "eadf5468.9c709",
+ "id": "f4266bba.68463",
"type": "set",
"name": "set tmp.ss.param.name",
"xml": "<set>\n<parameter name='tmp.ss.param.name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].name`' />\n",
"comments": "",
- "x": 1193.9564895629883,
- "y": 577.6627821922302,
- "z": "9db1531d.07a1a",
+ "x": 1181.9564895629883,
+ "y": 587.6627821922302,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "b4530e81.fa1df",
- "type": "switchNode",
- "name": "switch: resource-resolution-data.status",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 734.725830078125,
- "y": 785.631103515625,
- "z": "9db1531d.07a1a",
- "wires": [
- [
- "ef20c0ae.2f0268",
- "fe2c0013.43141"
- ]
- ]
- },
- {
- "id": "ef20c0ae.2f0268",
- "type": "not-found",
- "name": "FAILED",
- "xml": "<outcome value='FAILED'>\n",
- "comments": "",
- "outputs": 1,
- "x": 966.1546325683594,
- "y": 781.6311492919922,
- "z": "9db1531d.07a1a",
- "wires": [
- [
- "b3e8cd71.0d271"
- ]
- ]
- },
- {
- "id": "fe2c0013.43141",
- "type": "success",
- "name": "PENDING",
- "xml": "<outcome value='PENDING'>\n",
- "comments": "",
- "outputs": 1,
- "x": 972.8688087463379,
- "y": 833.3454773426056,
- "z": "9db1531d.07a1a",
- "wires": [
- [
- "b3e8cd71.0d271"
- ]
- ]
- },
- {
- "id": "b3e8cd71.0d271",
+ "id": "35313136.60f71e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1127.5831298828125,
- "y": 805.6311645507812,
- "z": "9db1531d.07a1a",
+ "x": 1115.5831298828125,
+ "y": 815.6311645507812,
+ "z": "1e0169fe.460196",
"wires": [
[
- "e6246ef9.3e7788",
- "e6294bd0.41d4c8"
+ "8b797c86.449c88",
+ "f17ee439.871ec"
]
]
},
{
- "id": "c1c70c33.d44a98",
+ "id": "3ab742ab.07506e",
"type": "outcome",
"name": "assign",
"xml": "<outcome value='assign'>",
"comments": "",
"outputs": 1,
- "x": 1185.4402465820312,
- "y": 1213.440712928772,
- "z": "9db1531d.07a1a",
+ "x": 1172.190185546875,
+ "y": 1227.190673828125,
+ "z": "1e0169fe.460196",
"wires": [
[
- "1bb6495a.fa8da7"
+ "ac9eaafc.1d31a"
]
]
},
{
- "id": "e6294bd0.41d4c8",
+ "id": "f17ee439.871ec",
"type": "switchNode",
"name": "switch: ss.capability-action",
"xml": "<switch test='`$ss.capability-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 949.4402465820312,
- "y": 1211.440712928772,
- "z": "9db1531d.07a1a",
+ "x": 934.9402770996094,
+ "y": 1232.690673828125,
+ "z": "1e0169fe.460196",
"wires": [
[
- "c1c70c33.d44a98",
- "25965467.621de4"
+ "3ab742ab.07506e",
+ "74139423.e17614"
]
]
},
{
- "id": "1bb6495a.fa8da7",
+ "id": "26e5147.b2e3b6c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1360.868896484375,
- "y": 1214.2979516983032,
- "z": "9db1531d.07a1a",
+ "x": 1920.8328857421875,
+ "y": 1214.8339233398438,
+ "z": "1e0169fe.460196",
"wires": [
[
- "cb98d7d9.b5a08"
+ "3246d2cf.e446ce"
]
]
},
{
- "id": "9b01dbab.a7a7a8",
+ "id": "f61d39ca.54246",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1980.1188659667969,
- "y": 1604.9048147201538,
- "z": "9db1531d.07a1a",
+ "x": 2466.6903381347656,
+ "y": 1540.61923122406,
+ "z": "1e0169fe.460196",
"wires": [
[
- "8bad1bbc.e7a648"
+ "199cb084.41994f"
]
]
},
{
- "id": "2aec43bd.80530c",
+ "id": "5a42ccdf.863d7c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2011.4403076171875,
- "y": 1280.8690185546873,
- "z": "9db1531d.07a1a",
+ "x": 2525.154296875,
+ "y": 1275.154846191406,
+ "z": "1e0169fe.460196",
"wires": [
[
- "b964039a.43a1a"
+ "82bf193e.1c3e9"
]
]
},
{
- "id": "c67fc199.97dec",
+ "id": "4d3d930a.c74edc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2153.547528948103,
- "y": 1557.6190797260829,
- "z": "9db1531d.07a1a",
+ "x": 2640.1190011160716,
+ "y": 1493.3334962299891,
+ "z": "1e0169fe.460196",
"wires": [
[]
]
},
{
- "id": "b964039a.43a1a",
+ "id": "82bf193e.1c3e9",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2205.7259521484375,
- "y": 1360.869140625,
- "z": "9db1531d.07a1a",
+ "x": 2719.43994140625,
+ "y": 1355.1549682617188,
+ "z": "1e0169fe.460196",
"wires": [
[
- "49b2f547.09aa04",
- "3bdfdc4f.b39f24",
- "4628865b.a3d7d"
+ "291a0f5b.065428",
+ "ddc0044e.197a88",
+ "96318d27.c30ac8"
]
]
},
{
- "id": "286269c8.56b2fe",
+ "id": "bacc37f5.251158",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2690.01220703125,
- "y": 1748.0118408203125,
- "z": "9db1531d.07a1a",
+ "x": 3176.5836791992188,
+ "y": 1683.7262573242188,
+ "z": "1e0169fe.460196",
"wires": [
[
- "8b1d70.bdf8029"
+ "4c0830f.966f55"
]
]
},
{
- "id": "4628865b.a3d7d",
+ "id": "96318d27.c30ac8",
"type": "set",
"name": "set service-data...param[].value = ip-address",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].value' \n\tvalue='`$ip[0]`' />\n",
"comments": "",
- "x": 2495,
- "y": 1380,
- "z": "9db1531d.07a1a",
+ "x": 3008.7139892578125,
+ "y": 1374.2858276367188,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "3bdfdc4f.b39f24",
+ "id": "ddc0044e.197a88",
"type": "execute",
"name": "SliStringUtils - split subnet",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n <parameter name=\"original_string\" value=\"`$self_serve_netbox_ip_assignement.ip-address`\" />\n <parameter name=\"regex\" value=\"/\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"ip\" />\n \n",
"comments": "",
"outputs": 1,
- "x": 2439,
- "y": 1340,
- "z": "9db1531d.07a1a",
+ "x": 2952.7139892578125,
+ "y": 1334.2858276367188,
+ "z": "1e0169fe.460196",
"wires": [
[]
]
},
{
- "id": "fd2e7345.c27e6",
+ "id": "722fee02.ac2218",
"type": "execute",
"name": "SliStringUtils - split subnet",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n <parameter name=\"original_string\" value=\"`$self_serve_netbox_ip_assignement.ip-address`\" />\n <parameter name=\"regex\" value=\"/\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"ip\" />\n \n",
"comments": "",
"outputs": 1,
- "x": 2481,
- "y": 2829,
- "z": "9db1531d.07a1a",
+ "x": 2960.428680419922,
+ "y": 2824.7141942977905,
+ "z": "1e0169fe.460196",
"wires": [
[]
]
+ },
+ {
+ "id": "ac9eaafc.1d31a",
+ "type": "switchNode",
+ "name": "switch: resource-resolution-data.status",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1408.392822265625,
+ "y": 1221.9642944335938,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "e91661da.3b8608",
+ "bf37d131.8b2478"
+ ]
+ ]
+ },
+ {
+ "id": "e91661da.3b8608",
+ "type": "not-found",
+ "name": "FAILED",
+ "xml": "<outcome value='FAILED'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1694.643310546875,
+ "y": 1191.53564453125,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "26e5147.b2e3b6c"
+ ]
+ ]
+ },
+ {
+ "id": "bf37d131.8b2478",
+ "type": "success",
+ "name": "PENDING",
+ "xml": "<outcome value='PENDING'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1693.678466796875,
+ "y": 1235.3931274414062,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "26e5147.b2e3b6c"
+ ]
+ ]
+ },
+ {
+ "id": "e51b7888.989928",
+ "type": "switchNode",
+ "name": "switch: resource-resolution-data.status",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1431.249755859375,
+ "y": 1393.750244140625,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "26889fb2.5ce19"
+ ]
+ ]
+ },
+ {
+ "id": "26889fb2.5ce19",
+ "type": "success",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1688.678466796875,
+ "y": 1393.9644775390625,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "2e96e14a.d8a666"
+ ]
+ ]
+ },
+ {
+ "id": "c615cc08.6cc77",
+ "type": "outcome",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1181.428466796875,
+ "y": 2975.71435546875,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "5bd2efc8.0cc53"
+ ]
+ ]
+ },
+ {
+ "id": "398f1da9.7fc262",
+ "type": "outcome",
+ "name": "assign",
+ "xml": "<outcome value='assign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1181.749755859375,
+ "y": 2705.8930053710938,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "71585e8c.8a959"
+ ]
+ ]
+ },
+ {
+ "id": "71585e8c.8a959",
+ "type": "switchNode",
+ "name": "switch: resource-resolution-data.status",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1417.952392578125,
+ "y": 2700.6666259765625,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "83c2a9a4.58aa98",
+ "bd2c6000.241588"
+ ]
+ ]
+ },
+ {
+ "id": "83c2a9a4.58aa98",
+ "type": "not-found",
+ "name": "FAILED",
+ "xml": "<outcome value='FAILED'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1704.202880859375,
+ "y": 2670.2379760742188,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "b4174ab1.8632e"
+ ]
+ ]
+ },
+ {
+ "id": "bd2c6000.241588",
+ "type": "success",
+ "name": "PENDING",
+ "xml": "<outcome value='PENDING'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1703.238037109375,
+ "y": 2714.095458984375,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "b4174ab1.8632e"
+ ]
+ ]
+ },
+ {
+ "id": "5bd2efc8.0cc53",
+ "type": "switchNode",
+ "name": "switch: resource-resolution-data.status",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1435.0949096679688,
+ "y": 2979.5953979492188,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "9c7404ad.aa898"
+ ]
+ ]
+ },
+ {
+ "id": "9c7404ad.aa898",
+ "type": "success",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1692.5236206054688,
+ "y": 2979.8096313476562,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "9e365126.584608"
+ ]
+ ]
}
] \ No newline at end of file