aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json399
1 files changed, 199 insertions, 200 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json
index 3ce166ee..b09a059b 100644
--- a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json
+++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json
@@ -1,431 +1,431 @@
[
{
- "id": "3ecdadeb.18aa62",
+ "id": "f782e37.109032",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 432.00389862060547,
- "y": 378.9999885559082,
- "z": "dfb806d8.8899e8",
+ "x": 583,
+ "y": 401.1628177165985,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "b1de8da9.db8a2",
- "d704787.9944088",
- "c4e200e6.2e02b",
- "5f812e79.2be7e",
- "2b234f37.76666",
- "7dbca450.42794c",
- "7e93696e.840218",
- "676ec3b1.844d3c",
- "e3e05047.2e5b8",
- "91a71daa.ef5c2",
- "b3c3b183.55c72",
- "d01634bb.bb46b8",
- "43cde2b5.87e1ac",
- "c6fbc47.00d1938",
- "98c6c3b2.42b6b"
+ "3a0d40d2.1b88f",
+ "fdf59618.623758",
+ "d535f520.a2b4c8",
+ "5957a088.cf332",
+ "9afb8db9.2b0d5",
+ "1b22ffce.90ac5",
+ "9c073f69.f288d",
+ "8cc9cbda.e9db18",
+ "1db1621b.e18c6e",
+ "33fd1f45.d7ff5",
+ "2ebef402.b67dec",
+ "a78628f7.4e9428",
+ "9f1428de.0587b8",
+ "69722b7c.abba54",
+ "86d99a3f.07f208"
]
]
},
{
- "id": "b1de8da9.db8a2",
+ "id": "3a0d40d2.1b88f",
"type": "for",
"name": "for loop idx - VF input parameters",
"xml": "<for index=\"idx\" start=\"0\" end=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 778.2540588378906,
- "y": 361.66665744781494,
- "z": "dfb806d8.8899e8",
+ "x": 929.2501602172852,
+ "y": 383.82948660850525,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "d245ffbf.59c6c"
+ "edd147b1.5a9678"
]
]
},
{
- "id": "d245ffbf.59c6c",
+ "id": "edd147b1.5a9678",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 993.0324020385742,
- "y": 359.22224140167236,
- "z": "dfb806d8.8899e8",
+ "x": 1144.0285034179688,
+ "y": 381.38507056236267,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "82c635c3.382618",
- "bcda53d8.f6893"
+ "239191e9.78691e",
+ "1a76d1a9.524ade"
]
]
},
{
- "id": "82c635c3.382618",
+ "id": "239191e9.78691e",
"type": "execute",
"name": "execute split parameterName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1189.2886047363281,
- "y": 336.97037982940674,
- "z": "dfb806d8.8899e8",
+ "x": 1340.2847061157227,
+ "y": 359.13320899009705,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[]
]
},
{
- "id": "bcda53d8.f6893",
+ "id": "1a76d1a9.524ade",
"type": "set",
"name": "set parameterName",
"xml": "<set>\n<parameter name=\"`vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name`\" value='`$param-prefix[$param-prefix_length -1]`'/>\n",
"comments": "",
- "x": 1158.7330322265625,
- "y": 373.97049617767334,
- "z": "dfb806d8.8899e8",
+ "x": 1309.729133605957,
+ "y": 396.13332533836365,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "ac17a6a.af45258",
+ "id": "24f00d92.239812",
"type": "comment",
"name": "Take the parameter names by removing prefix",
"info": "",
"comments": "",
- "x": 816.2542610168457,
- "y": 318.3333249092102,
- "z": "dfb806d8.8899e8",
+ "x": 967.2503623962402,
+ "y": 340.4961540699005,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "c4e200e6.2e02b",
+ "id": "d535f520.a2b4c8",
"type": "set",
"name": "set new vf-module_length",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index + 1`' />",
"comments": "",
- "x": 757.190673828125,
- "y": 520.1629304885864,
- "z": "dfb806d8.8899e8",
+ "x": 908.1867752075195,
+ "y": 542.3257596492767,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "d704787.9944088",
+ "id": "fdf59618.623758",
"type": "set",
"name": "set vf-module-request-input.",
"xml": "<set>\n<parameter name='vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n",
"comments": "",
- "x": 764.1902618408203,
- "y": 415.1541962623596,
- "z": "dfb806d8.8899e8",
+ "x": 915.1863632202148,
+ "y": 437.3170254230499,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "7e93696e.840218",
+ "id": "9c073f69.f288d",
"type": "set",
"name": "copy input data to service data",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-id' value='`$prop.vf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vnf-information.' value='`$vf-module-topology-operation-input.vnf-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n\n<!--parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-topology.' value='`$tmp.vf-module-topology.`' /-->\n<!--parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index+1`' /-->\n",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-id' value='`$prop.vf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vnf-information.' value='`$vf-module-topology-operation-input.vnf-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-topology.' value='`$tmp.vf-module-topology.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index+1`' />\n",
"comments": "",
- "x": 769.3570175170898,
- "y": 628.3335423469543,
- "z": "dfb806d8.8899e8",
+ "x": 920.3531188964844,
+ "y": 650.4963715076447,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "676ec3b1.844d3c",
+ "id": "8cc9cbda.e9db18",
"type": "set",
"name": "set vf-module-object-path",
"xml": "<set>\n<parameter name='vf-module-id' value='`$prop.vf-id`'/> \n<parameter name='vf-module-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $vf-module-topology-operation-input.vf-module-information.vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",
"comments": "",
- "x": 757.503942489624,
- "y": 679.8373885154724,
- "z": "dfb806d8.8899e8",
+ "x": 908.5000438690186,
+ "y": 702.0002176761627,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "e3e05047.2e5b8",
+ "id": "1db1621b.e18c6e",
"type": "save",
"name": "save sdwan lan-port-config resource in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='lan-port-config' \n key='lan-port-config.lan-port-config-id = $prop.vf-id' >\n<parameter name=\"lan-port-config-id\" value=\"`$prop.vf-id`\" />\n<parameter name=\"device-id\" value='`$prop.lan.deviceName`' />\n<parameter name=\"port-switch\" value='`$prop.lan.portSwitch`' />\n<parameter name=\"port-type\" value='`$prop.lan.portType`' />\n<parameter name=\"port-number\" value='`$prop.lan.portnumber`' />\n<parameter name=\"ipv4-address\" value='`$prop.lan.ipAddress`' />\n<parameter name='vlan-tag' value='`$prop.lan.vlanId`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vf-module-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $service-data.vnfs.vnf[$vnf-index].vnf-id + '/vnf-data/vf-modules/vf-module/' + $prop.vf-id + '/vf-module-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 812.5039215087891,
- "y": 772.3373708724976,
- "z": "dfb806d8.8899e8",
+ "x": 963.5000228881836,
+ "y": 794.5002000331879,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[]
]
},
{
- "id": "91a71daa.ef5c2",
+ "id": "33fd1f45.d7ff5",
"type": "save",
"name": "save service relationship in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf:relationship-list' \n key='generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"lan-port-config\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/lan-port-configs/lan-port-config/' + $prop.vf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"lan-port-config-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vf-id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 772.5038375854492,
- "y": 819.3373589515686,
- "z": "dfb806d8.8899e8",
+ "x": 923.4999389648438,
+ "y": 841.5001881122589,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[]
]
},
{
- "id": "b3c3b183.55c72",
+ "id": "2ebef402.b67dec",
"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": 723.2263832092285,
- "y": 866.5112180709839,
- "z": "dfb806d8.8899e8",
+ "x": 874.222484588623,
+ "y": 888.6740472316742,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "5f812e79.2be7e",
+ "id": "5957a088.cf332",
"type": "switchNode",
"name": "switch vnf_length",
"xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 733.424467086792,
- "y": 68.5038731098175,
- "z": "dfb806d8.8899e8",
+ "x": 884.4205684661865,
+ "y": 90.66670227050781,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "ecb5481e.49db98"
+ "26211aa4.6aca76"
]
]
},
{
- "id": "ecb5481e.49db98",
+ "id": "26211aa4.6aca76",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 920.0911464691162,
- "y": 67.83717083930969,
- "z": "dfb806d8.8899e8",
+ "x": 1071.0872478485107,
+ "y": 90,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "5cc69be0.888194"
+ "60b9b040.3db19"
]
]
},
{
- "id": "5cc69be0.888194",
+ "id": "60b9b040.3db19",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"There are no VNFs in MD-SAL\" />\n",
"comments": "",
- "x": 1101.7577724456787,
- "y": 67.83717083930969,
- "z": "dfb806d8.8899e8",
+ "x": 1252.7538738250732,
+ "y": 90,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "2b234f37.76666",
+ "id": "9afb8db9.2b0d5",
"type": "switchNode",
"name": "switch vf-modules.vf-module_length",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 771.6744890213013,
- "y": 245.50386714935303,
- "z": "dfb806d8.8899e8",
+ "x": 922.6705904006958,
+ "y": 267.66669631004333,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "43b76269.61638c",
- "80f9fdd1.5acfa"
+ "925220d0.8e6e8",
+ "8d034f0b.c8c8d"
]
]
},
{
- "id": "43b76269.61638c",
+ "id": "925220d0.8e6e8",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1002.6744995117188,
- "y": 221.50386428833008,
- "z": "dfb806d8.8899e8",
+ "x": 1153.6706008911133,
+ "y": 243.66669344902039,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "30daa7e7.f7d908"
+ "f6929bd3.916468"
]
]
},
{
- "id": "80f9fdd1.5acfa",
+ "id": "8d034f0b.c8c8d",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1002.6744995117188,
- "y": 261.5038642883301,
- "z": "dfb806d8.8899e8",
+ "x": 1153.6706008911133,
+ "y": 283.6666934490204,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "15ffa14c.a3471f"
+ "28516ca8.58b9a4"
]
]
},
{
- "id": "30daa7e7.f7d908",
+ "id": "f6929bd3.916468",
"type": "set",
"name": "set vf-index",
"xml": "<set>\n<parameter name='vf-index' value='0' />\n",
"comments": "",
- "x": 1145.1744995117188,
- "y": 221.50386428833008,
- "z": "dfb806d8.8899e8",
+ "x": 1296.1706008911133,
+ "y": 243.66669344902039,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "15ffa14c.a3471f",
+ "id": "28516ca8.58b9a4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1147.0315437316895,
- "y": 261.4403762817383,
- "z": "dfb806d8.8899e8",
+ "x": 1298.027645111084,
+ "y": 283.6032054424286,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "81c65311.3e7fa",
- "1c59d473.dd26bc"
+ "fe45ce64.2ccb7",
+ "e4014c75.a1a78"
]
]
},
{
- "id": "1c59d473.dd26bc",
+ "id": "e4014c75.a1a78",
"type": "set",
"name": "set vf-index",
"xml": "<set>\n<parameter name='vf-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n\n",
"comments": "",
- "x": 1299.7300186157227,
- "y": 231.05947497440502,
- "z": "dfb806d8.8899e8",
+ "x": 1450.7261199951172,
+ "y": 253.22230413509533,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "81c65311.3e7fa",
+ "id": "fe45ce64.2ccb7",
"type": "for",
"name": "for each existing vf-index",
"xml": "<for index='idx' start='0' end='`$vf-index`' >\n",
"comments": "",
"outputs": 1,
- "x": 1356.1585235595703,
- "y": 284.2816047668457,
- "z": "dfb806d8.8899e8",
+ "x": 1507.1546249389648,
+ "y": 306.444433927536,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "aaf0ab5e.460008"
+ "c9dd9d48.363c4"
]
]
},
{
- "id": "85ce8231.1cc8f",
+ "id": "93986914.2633c8",
"type": "comment",
"name": "make sure this network doesn't exist already",
"info": "",
"comments": "",
- "x": 1579.809253692627,
- "y": 242.53566217422485,
- "z": "dfb806d8.8899e8",
+ "x": 1730.8053550720215,
+ "y": 264.69849133491516,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "aaf0ab5e.460008",
+ "id": "c9dd9d48.363c4",
"type": "switchNode",
"name": "switch vf-module-id found",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id == $vf-module-topology-operation-input.vf-module-information.vf-module-id`\">\n",
"comments": "",
"outputs": 1,
- "x": 1631.4442443847656,
- "y": 283.8531074523926,
- "z": "dfb806d8.8899e8",
+ "x": 1782.4403457641602,
+ "y": 306.0159366130829,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "1a7eae6b.66a2b2"
+ "3a28d2c1.9fee3e"
]
]
},
{
- "id": "1a7eae6b.66a2b2",
+ "id": "3a28d2c1.9fee3e",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1532.1744422912598,
- "y": 342.4245386123657,
- "z": "dfb806d8.8899e8",
+ "x": 1683.1705436706543,
+ "y": 364.58736777305603,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "40223de2.189ee4"
+ "c7dfb468.8d2468"
]
]
},
{
- "id": "40223de2.189ee4",
+ "id": "c7dfb468.8d2468",
"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=\"service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id already found in service-data\" />\n",
"comments": "",
- "x": 1679.924545288086,
- "y": 342.28173068119213,
- "z": "dfb806d8.8899e8",
+ "x": 1830.9206466674805,
+ "y": 364.44455984188244,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "7dbca450.42794c",
+ "id": "1b22ffce.90ac5",
"type": "call",
"name": "call sdwan-get-vf-module-lanport-param",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-lanport-param' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 803.0039367675781,
- "y": 468.0000219345093,
- "z": "dfb806d8.8899e8",
+ "x": 954.0000381469727,
+ "y": 490.1628510951996,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[]
]
},
{
- "id": "d01634bb.bb46b8",
+ "id": "a78628f7.4e9428",
"type": "set",
"name": "set vf-module-level-oper-status",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-rpc-action' value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-action' value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",
"comments": "",
- "x": 774.00390625,
- "y": 722.00390625,
- "z": "dfb806d8.8899e8",
+ "x": 925.0000076293945,
+ "y": 744.1667354106903,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "80c0749d.c5b758",
+ "id": "ceaeb6e4.45d088",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 101.00390625,
- "y": 95.00390625,
- "z": "dfb806d8.8899e8",
+ "x": 252.00000762939453,
+ "y": 117.16673541069031,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "1e8e9be2.f38a84"
+ "b9aae3a1.4ae74"
]
]
},
{
- "id": "1e8e9be2.f38a84",
+ "id": "b9aae3a1.4ae74",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -433,146 +433,145 @@
"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": 215.50390434265137,
- "y": 202.00389766693115,
- "z": "dfb806d8.8899e8",
+ "x": 366.5000057220459,
+ "y": 224.16672682762146,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "441193b5.7a563c"
+ "486cfe7f.88b42"
]
]
},
{
- "id": "441193b5.7a563c",
+ "id": "486cfe7f.88b42",
"type": "method",
"name": "sdwan-vf-operation-lanport-create",
"xml": "<method rpc='sdwan-vf-operation-lanport-create' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 214.50390434265137,
- "y": 302.00389766693115,
- "z": "dfb806d8.8899e8",
+ "x": 365.5000057220459,
+ "y": 324.16672682762146,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "3ecdadeb.18aa62"
+ "f782e37.109032"
]
]
},
{
- "id": "43cde2b5.87e1ac",
+ "id": "9f1428de.0587b8",
"type": "execute",
"name": "execute generate-vf-id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vf-id\"/>\n",
"comments": "",
"outputs": 1,
- "x": 756.0039520263672,
- "y": 576.5038995742798,
- "z": "dfb806d8.8899e8",
+ "x": 907.0000534057617,
+ "y": 598.6667287349701,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[]
]
},
{
- "id": "c6fbc47.00d1938",
+ "id": "69722b7c.abba54",
"type": "for",
"name": "for each vnf",
"xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 723.0038871765137,
- "y": 123.00390815734863,
- "z": "dfb806d8.8899e8",
+ "x": 873.9999885559082,
+ "y": 145.16673731803894,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "a2640a51.5d0d78"
+ "c4314464.ea4888"
]
]
},
{
- "id": "a2640a51.5d0d78",
+ "id": "c4314464.ea4888",
"type": "switchNode",
"name": "switch this vnf-id == input vnf-id",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\"> \n",
"comments": "",
"outputs": 1,
- "x": 974.0039825439453,
- "y": 118.67052865028381,
- "z": "dfb806d8.8899e8",
+ "x": 1125.0000839233398,
+ "y": 140.83335781097412,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "d22976f8.730608"
+ "7e2619a7.4c1a38"
]
]
},
{
- "id": "d22976f8.730608",
+ "id": "7e2619a7.4c1a38",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1192.3372993469238,
- "y": 120.6705105304718,
- "z": "dfb806d8.8899e8",
+ "x": 1343.3334007263184,
+ "y": 142.8333396911621,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "92022bc5.0cdcc8"
+ "e7b8aabb.779c28"
]
]
},
{
- "id": "92022bc5.0cdcc8",
+ "id": "e7b8aabb.779c28",
"type": "set",
"name": "set vnf-index",
"xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
"comments": "",
- "x": 1345.6704711914062,
- "y": 120.67053151130676,
- "z": "dfb806d8.8899e8",
+ "x": 1496.6665725708008,
+ "y": 142.83336067199707,
+ "z": "5ddf8caa.1b92e4",
"wires": []
},
{
- "id": "98c6c3b2.42b6b",
+ "id": "86d99a3f.07f208",
"type": "switchNode",
"name": "switch vnf-index",
"xml": "<switch test='`$vnf-index`'>\n",
"comments": "",
"outputs": 1,
- "x": 737.00390625,
- "y": 184.00390625,
- "z": "dfb806d8.8899e8",
+ "x": 888.0000076293945,
+ "y": 206.1667354106903,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "681068c6.40fb78"
+ "885839d2.ea1b48"
]
]
},
{
- "id": "681068c6.40fb78",
+ "id": "885839d2.ea1b48",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 899.0039520263672,
- "y": 183.00390529632568,
- "z": "dfb806d8.8899e8",
+ "x": 1050.0000534057617,
+ "y": 205.166734457016,
+ "z": "5ddf8caa.1b92e4",
"wires": [
[
- "f9b4e412.cab938"
+ "1a2b1c2a.3b4624"
]
]
},
{
- "id": "f9b4e412.cab938",
+ "id": "1a2b1c2a.3b4624",
"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=\"vnf id not found in service-data\" />\n",
"comments": "",
- "x": 1048.2540435791016,
- "y": 180.78178310394287,
- "z": "dfb806d8.8899e8",
+ "x": 1199.250144958496,
+ "y": 202.94461226463318,
+ "z": "5ddf8caa.1b92e4",
"wires": []
}
-]
-
+] \ No newline at end of file