aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json616
1 files changed, 580 insertions, 36 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json
index e137522c..f2598166 100644
--- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json
+++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json
@@ -1,37 +1,20 @@
[
{
- "id": "5567fb41.3853ac",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 442.02733993530273,
- "y": 433.74087047576904,
- "z": "6cf3d2be.22379c",
- "wires": [
- [
- "a47debf4.9031c"
- ]
- ]
- },
- {
- "id": "67dcf0d.95d1c1",
+ "id": "e9f5d8f7.e285a8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 166.5,
- "y": 82.66665649414062,
- "z": "6cf3d2be.22379c",
+ "x": 83.47266006469727,
+ "y": 26,
+ "z": "8abb02c9.ea909",
"wires": [
[
- "13cbcd0e.cde623"
+ "f361420f.d2dd5"
]
]
},
{
- "id": "13cbcd0e.cde623",
+ "id": "f361420f.d2dd5",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -39,40 +22,601 @@
"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": 297.7856903076172,
- "y": 131.90476512908936,
- "z": "6cf3d2be.22379c",
+ "x": 214.75835037231445,
+ "y": 75.23810863494873,
+ "z": "8abb02c9.ea909",
"wires": [
[
- "90d8ef48.9bbbb8"
+ "83b54aea.5a2e08"
]
]
},
{
- "id": "90d8ef48.9bbbb8",
+ "id": "83b54aea.5a2e08",
"type": "method",
"name": "method sotn-vf-operation-uni-create",
"xml": "<method rpc='sotn-vf-operation-uni-create' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 300.9286193847656,
- "y": 216.66668891906738,
- "z": "6cf3d2be.22379c",
+ "x": 217.9012794494629,
+ "y": 160.00003242492676,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "d23ea373.2facb"
+ ]
+ ]
+ },
+ {
+ "id": "129ae0d2.67909f",
+ "type": "switchNode",
+ "name": "switch vnf_length",
+ "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 592,
+ "y": 45,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "4518c55e.2af6cc"
+ ]
+ ]
+ },
+ {
+ "id": "4518c55e.2af6cc",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 778.6666793823242,
+ "y": 44.33329772949219,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "49f6673c.896c38"
+ ]
+ ]
+ },
+ {
+ "id": "49f6673c.896c38",
+ "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": 960.3333053588867,
+ "y": 44.33329772949219,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "344a6d66.006ae2",
+ "type": "for",
+ "name": "for each vnf",
+ "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 581.5794200897217,
+ "y": 99.50003504753113,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "b740b835.934dd8"
+ ]
+ ]
+ },
+ {
+ "id": "b740b835.934dd8",
+ "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": 832.5795154571533,
+ "y": 95.16665554046631,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "7d8c54e9.05fcdc"
+ ]
+ ]
+ },
+ {
+ "id": "7d8c54e9.05fcdc",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1050.9128322601318,
+ "y": 97.1666374206543,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "4090d448.987d9c"
+ ]
+ ]
+ },
+ {
+ "id": "4090d448.987d9c",
+ "type": "set",
+ "name": "set vnf-index",
+ "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
+ "comments": "",
+ "x": 1204.2460041046143,
+ "y": 97.16665840148926,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "d6f734d6.542738",
+ "type": "switchNode",
+ "name": "switch vnf-index",
+ "xml": "<switch test='`$vnf-index`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 595.579439163208,
+ "y": 160.5000331401825,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "cc5e7b73.313338"
+ ]
+ ]
+ },
+ {
+ "id": "cc5e7b73.313338",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 757.5794849395752,
+ "y": 159.50003218650818,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "d5e799c5.aa66e8"
+ ]
+ ]
+ },
+ {
+ "id": "d5e799c5.aa66e8",
+ "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": 906.8295764923096,
+ "y": 157.27790999412537,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "2e3b155c.1acdba",
+ "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": 630.2500219345093,
+ "y": 221.99999403953552,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "d6b8c302.00cb5",
+ "74fd2b9a.39bbc4"
+ ]
+ ]
+ },
+ {
+ "id": "d6b8c302.00cb5",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 861.2500324249268,
+ "y": 197.99999117851257,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "b130c62a.6d5b28"
+ ]
+ ]
+ },
+ {
+ "id": "74fd2b9a.39bbc4",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 861.2500324249268,
+ "y": 237.99999117851257,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "aa20e5dd.34f068"
+ ]
+ ]
+ },
+ {
+ "id": "b130c62a.6d5b28",
+ "type": "set",
+ "name": "set vf-index",
+ "xml": "<set>\n<parameter name='vf-index' value='0' />\n",
+ "comments": "",
+ "x": 1003.7500324249268,
+ "y": 197.99999117851257,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "aa20e5dd.34f068",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1005.6070766448975,
+ "y": 237.93650317192078,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "290ec3b5.b78dec",
+ "ba0b306b.1384c"
+ ]
+ ]
+ },
+ {
+ "id": "ba0b306b.1384c",
+ "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": 1158.3055515289307,
+ "y": 207.55560186458752,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "290ec3b5.b78dec",
+ "type": "for",
+ "name": "for each existing vf-index",
+ "xml": "<for index='idx' start='0' end='`$vf-index`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1214.7340564727783,
+ "y": 260.7777316570282,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "f5468be4.2d7768"
+ ]
+ ]
+ },
+ {
+ "id": "55b24f6b.1c68",
+ "type": "comment",
+ "name": "make sure this network doesn't exist already",
+ "info": "",
+ "comments": "",
+ "x": 1438.384786605835,
+ "y": 219.03178906440735,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "f5468be4.2d7768",
+ "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": 1490.0197772979736,
+ "y": 260.3492343425751,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "416b188c.9635e8"
+ ]
+ ]
+ },
+ {
+ "id": "416b188c.9635e8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1390.7499752044678,
+ "y": 318.9206655025482,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "5ff9d421.bc0c2c"
+ ]
+ ]
+ },
+ {
+ "id": "5ff9d421.bc0c2c",
+ "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": 1538.500078201294,
+ "y": 318.7778575713746,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "a3005c7c.22f1c",
+ "type": "comment",
+ "name": "Take the parameter names by removing prefix",
+ "info": "",
+ "comments": "",
+ "x": 674.8297939300537,
+ "y": 294.8294517993927,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "c2f9b109.0e45",
+ "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": 636.8295917510986,
+ "y": 338.16278433799744,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "c2930fc2.e5909"
+ ]
+ ]
+ },
+ {
+ "id": "c2930fc2.e5909",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 851.6079349517822,
+ "y": 335.71836829185486,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "d1ed645d.aa3a78",
+ "6dcf8b92.c77424"
+ ]
+ ]
+ },
+ {
+ "id": "d1ed645d.aa3a78",
+ "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": 1047.8641376495361,
+ "y": 313.46650671958923,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6dcf8b92.c77424",
+ "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": 1017.3085651397705,
+ "y": 350.46662306785583,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "d23ea373.2facb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 290.5794315338135,
+ "y": 355.4961154460907,
+ "z": "8abb02c9.ea909",
"wires": [
[
- "5567fb41.3853ac"
+ "c2f9b109.0e45",
+ "129ae0d2.67909f",
+ "2e3b155c.1acdba",
+ "a11f77d.859bf88",
+ "7c53c20f.68b9dc",
+ "42215efb.1d8e4",
+ "91211121.8f53",
+ "d001c737.a47218",
+ "b74ff3ee.b1d98",
+ "344a6d66.006ae2",
+ "d6f734d6.542738",
+ "3cca5aeb.576896",
+ "6ba0a91d.74fdb8",
+ "c0fe8566.aad758",
+ "3368b1eb.e464fe",
+ "29fa2ed2.416422"
]
]
},
{
- "id": "a47debf4.9031c",
+ "id": "d001c737.a47218",
"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": 709.9444580078125,
- "y": 516.2777709960938,
- "z": "6cf3d2be.22379c",
+ "x": 577.8019104003906,
+ "y": 893.00732421875,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "91211121.8f53",
+ "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[$tmp.relationship_length].related-to`\" value=\"uni\" />\n<parameter name=\"`relationship-list.relationship[$tmp.relationship_length].related-link`\" value=\"`'/network/unis/uni/' + $prop.vf-id`\" />\n<parameter name=\"`relationship-list.relationship[$tmp.relationship_length].relationship-data[0].relationship-key`\" value=\"id\" />\n<parameter name=\"`relationship-list.relationship[$tmp.relationship_length].relationship-data[0].relationship-value`\" value=\"`$prop.vf-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 633.0794067382812,
+ "y": 851.83349609375,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "42215efb.1d8e4",
+ "type": "save",
+ "name": "save uni resource in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $prop.vf-id' >\n<parameter name=\"id\" value=\"`$prop.vf-id`\" />\n<parameter name=\"tpId\" value='`$prop.uni.tpId`' />\n<parameter name='cVLAN' value='`$prop.uni.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-uuid`' />\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": 615.0794677734375,
+ "y": 747.83349609375,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b74ff3ee.b1d98",
+ "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": 632.579439163208,
+ "y": 698.5000331401825,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "7c53c20f.68b9dc",
+ "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": 616.079475402832,
+ "y": 656.3335154056549,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "a11f77d.859bf88",
+ "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",
+ "comments": "",
+ "x": 627.9325504302979,
+ "y": 604.8296692371368,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "c0fe8566.aad758",
+ "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": 608,
+ "y": 497,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "3cca5aeb.576896",
+ "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": 614.9995880126953,
+ "y": 391.9912657737732,
+ "z": "8abb02c9.ea909",
+ "wires": []
+ },
+ {
+ "id": "6ba0a91d.74fdb8",
+ "type": "call",
+ "name": "call sotn-get-vf-module-uni-param",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-vf-module-uni-param' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 653.8132629394531,
+ "y": 444.83709144592285,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3368b1eb.e464fe",
+ "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": 606.8132781982422,
+ "y": 553.3409690856934,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "29fa2ed2.416422",
+ "type": "get-resource",
+ "name": "get-resource generic-vnf",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"generic-vnf\" \n\t\tkey=\"'generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' \n\t\tAND depth = '0'\"\n pfx='tmp.aai.generic-vnf' local-only='false' >\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 605,
+ "y": 803,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "5c744e64.d3743"
+ ]
+ ]
+ },
+ {
+ "id": "5c744e64.d3743",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 808,
+ "y": 798,
+ "z": "8abb02c9.ea909",
+ "wires": [
+ [
+ "79532ac9.38abe4"
+ ]
+ ]
+ },
+ {
+ "id": "79532ac9.38abe4",
+ "type": "set",
+ "name": "set tmp.relationship_length",
+ "xml": "<set>\n<parameter name=\"tmp.relationship_length\" value='`$tmp.aai.generic-vnf.relationship-list.relation_length`'/>\n",
+ "comments": "",
+ "x": 991,
+ "y": 795,
+ "z": "8abb02c9.ea909",
"wires": []
}
] \ No newline at end of file