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.json445
1 files changed, 222 insertions, 223 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 f2598166..191456bd 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,20 +1,20 @@
[
{
- "id": "e9f5d8f7.e285a8",
+ "id": "41bcd68b.3b187",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 83.47266006469727,
- "y": 26,
- "z": "8abb02c9.ea909",
+ "x": 117,
+ "y": 66,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "f361420f.d2dd5"
+ "68ff8d75.08d6bc"
]
]
},
{
- "id": "f361420f.d2dd5",
+ "id": "68ff8d75.08d6bc",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,601 +22,600 @@
"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": 214.75835037231445,
- "y": 75.23810863494873,
- "z": "8abb02c9.ea909",
+ "x": 248.2856903076172,
+ "y": 115.23810863494873,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "83b54aea.5a2e08"
+ "e9c8e7da.08db58"
]
]
},
{
- "id": "83b54aea.5a2e08",
+ "id": "e9c8e7da.08db58",
"type": "method",
"name": "method sotn-vf-operation-uni-create",
"xml": "<method rpc='sotn-vf-operation-uni-create' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 217.9012794494629,
- "y": 160.00003242492676,
- "z": "8abb02c9.ea909",
+ "x": 251.42861938476562,
+ "y": 200.00003242492676,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "d23ea373.2facb"
+ "9b876278.69aec"
]
]
},
{
- "id": "129ae0d2.67909f",
+ "id": "b6719136.d1d408",
"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",
+ "x": 625.5273399353027,
+ "y": 85,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "4518c55e.2af6cc"
+ "de455676.bfc4b8"
]
]
},
{
- "id": "4518c55e.2af6cc",
+ "id": "de455676.bfc4b8",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 778.6666793823242,
- "y": 44.33329772949219,
- "z": "8abb02c9.ea909",
+ "x": 812.194019317627,
+ "y": 84.33329772949219,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "49f6673c.896c38"
+ "caff06c1.7f0ea8"
]
]
},
{
- "id": "49f6673c.896c38",
+ "id": "caff06c1.7f0ea8",
"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",
+ "x": 993.8606452941895,
+ "y": 84.33329772949219,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "344a6d66.006ae2",
+ "id": "2806a3d2.9200ac",
"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",
+ "x": 615.1067600250244,
+ "y": 139.50003504753113,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "b740b835.934dd8"
+ "baaa4638.c65"
]
]
},
{
- "id": "b740b835.934dd8",
+ "id": "baaa4638.c65",
"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",
+ "x": 866.106855392456,
+ "y": 135.1666555404663,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "7d8c54e9.05fcdc"
+ "ac6af028.e56f6"
]
]
},
{
- "id": "7d8c54e9.05fcdc",
+ "id": "ac6af028.e56f6",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1050.9128322601318,
- "y": 97.1666374206543,
- "z": "8abb02c9.ea909",
+ "x": 1084.4401721954346,
+ "y": 137.1666374206543,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "4090d448.987d9c"
+ "8e9b59f5.9fbff8"
]
]
},
{
- "id": "4090d448.987d9c",
+ "id": "8e9b59f5.9fbff8",
"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",
+ "x": 1237.773344039917,
+ "y": 137.16665840148926,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "d6f734d6.542738",
+ "id": "e32594d8.14f33",
"type": "switchNode",
"name": "switch vnf-index",
"xml": "<switch test='`$vnf-index`'>\n",
"comments": "",
"outputs": 1,
- "x": 595.579439163208,
- "y": 160.5000331401825,
- "z": "8abb02c9.ea909",
+ "x": 629.1067790985107,
+ "y": 200.5000331401825,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "cc5e7b73.313338"
+ "5097b64f.8e649"
]
]
},
{
- "id": "cc5e7b73.313338",
+ "id": "5097b64f.8e649",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 757.5794849395752,
- "y": 159.50003218650818,
- "z": "8abb02c9.ea909",
+ "x": 791.1068248748779,
+ "y": 199.50003218650818,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "d5e799c5.aa66e8"
+ "f8a1475e.8d7dc8"
]
]
},
{
- "id": "d5e799c5.aa66e8",
+ "id": "f8a1475e.8d7dc8",
"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",
+ "x": 940.3569164276123,
+ "y": 197.27790999412537,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "2e3b155c.1acdba",
+ "id": "7c723171.97826",
"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",
+ "x": 663.777361869812,
+ "y": 261.9999940395355,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "d6b8c302.00cb5",
- "74fd2b9a.39bbc4"
+ "d3dcde48.41f3",
+ "9c9a7796.629b6"
]
]
},
{
- "id": "d6b8c302.00cb5",
+ "id": "d3dcde48.41f3",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 861.2500324249268,
- "y": 197.99999117851257,
- "z": "8abb02c9.ea909",
+ "x": 894.7773723602295,
+ "y": 237.99999117851257,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "b130c62a.6d5b28"
+ "eb2b3da4.ac3bf"
]
]
},
{
- "id": "74fd2b9a.39bbc4",
+ "id": "9c9a7796.629b6",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 861.2500324249268,
- "y": 237.99999117851257,
- "z": "8abb02c9.ea909",
+ "x": 894.7773723602295,
+ "y": 277.9999911785126,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "aa20e5dd.34f068"
+ "9e326ce7.36ba2"
]
]
},
{
- "id": "b130c62a.6d5b28",
+ "id": "eb2b3da4.ac3bf",
"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",
+ "x": 1037.2773723602295,
+ "y": 237.99999117851257,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "aa20e5dd.34f068",
+ "id": "9e326ce7.36ba2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1005.6070766448975,
- "y": 237.93650317192078,
- "z": "8abb02c9.ea909",
+ "x": 1039.1344165802002,
+ "y": 277.9365031719208,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "290ec3b5.b78dec",
- "ba0b306b.1384c"
+ "bb4f26d0.2b52f8",
+ "c6144a09.68351"
]
]
},
{
- "id": "ba0b306b.1384c",
+ "id": "c6144a09.68351",
"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",
+ "x": 1191.8328914642334,
+ "y": 247.55560186458752,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "290ec3b5.b78dec",
+ "id": "bb4f26d0.2b52f8",
"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",
+ "x": 1248.261396408081,
+ "y": 300.7777316570282,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "f5468be4.2d7768"
+ "cadc9be5.e759e"
]
]
},
{
- "id": "55b24f6b.1c68",
+ "id": "fcf618d7.ce2b98",
"type": "comment",
"name": "make sure this network doesn't exist already",
"info": "",
"comments": "",
- "x": 1438.384786605835,
- "y": 219.03178906440735,
- "z": "8abb02c9.ea909",
+ "x": 1471.9121265411377,
+ "y": 259.03178906440735,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "f5468be4.2d7768",
+ "id": "cadc9be5.e759e",
"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",
+ "x": 1523.5471172332764,
+ "y": 300.3492343425751,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "416b188c.9635e8"
+ "c1e99eff.0e5d48"
]
]
},
{
- "id": "416b188c.9635e8",
+ "id": "c1e99eff.0e5d48",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1390.7499752044678,
- "y": 318.9206655025482,
- "z": "8abb02c9.ea909",
+ "x": 1424.2773151397705,
+ "y": 358.9206655025482,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "5ff9d421.bc0c2c"
+ "840dd033.d02e68"
]
]
},
{
- "id": "5ff9d421.bc0c2c",
+ "id": "840dd033.d02e68",
"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",
+ "x": 1572.0274181365967,
+ "y": 358.7778575713746,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "a3005c7c.22f1c",
+ "id": "425e7a20.0b25dc",
"type": "comment",
"name": "Take the parameter names by removing prefix",
"info": "",
"comments": "",
- "x": 674.8297939300537,
- "y": 294.8294517993927,
- "z": "8abb02c9.ea909",
+ "x": 708.3571338653564,
+ "y": 334.8294517993927,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "c2f9b109.0e45",
+ "id": "26fdcf88.d41188",
"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",
+ "x": 670.3569316864014,
+ "y": 378.16278433799744,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "c2930fc2.e5909"
+ "d2a88646.f84f6"
]
]
},
{
- "id": "c2930fc2.e5909",
+ "id": "d2a88646.f84f6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 851.6079349517822,
- "y": 335.71836829185486,
- "z": "8abb02c9.ea909",
+ "x": 885.135274887085,
+ "y": 375.71836829185486,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "d1ed645d.aa3a78",
- "6dcf8b92.c77424"
+ "6ee856f3.a6b1a",
+ "7919b72e.9e665"
]
]
},
{
- "id": "d1ed645d.aa3a78",
+ "id": "6ee856f3.a6b1a",
"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",
+ "x": 1081.3914775848389,
+ "y": 353.46650671958923,
+ "z": "c1f3ee3d.7e867",
"wires": [
[]
]
},
{
- "id": "6dcf8b92.c77424",
+ "id": "7919b72e.9e665",
"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",
+ "x": 1050.8359050750732,
+ "y": 390.46662306785583,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "d23ea373.2facb",
+ "id": "9b876278.69aec",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 290.5794315338135,
- "y": 355.4961154460907,
- "z": "8abb02c9.ea909",
+ "x": 324.1067714691162,
+ "y": 395.4961154460907,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "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"
+ "26fdcf88.d41188",
+ "b6719136.d1d408",
+ "7c723171.97826",
+ "6c8900d6.0d8e58",
+ "49bfdced.7c2bbc",
+ "bf7bb77.41be8c8",
+ "abc1f25f.e43c08",
+ "8c309fdb.0398f",
+ "91a89d7a.a0f178",
+ "2806a3d2.9200ac",
+ "e32594d8.14f33",
+ "2b448345.aa142c",
+ "d1e54672.f82058",
+ "abd09dc6.c02b78",
+ "4b4cd818.a8df08",
+ "a0154eab.2fbc7"
]
]
},
{
- "id": "d001c737.a47218",
+ "id": "8c309fdb.0398f",
"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": 577.8019104003906,
- "y": 893.00732421875,
- "z": "8abb02c9.ea909",
+ "x": 611.3292503356934,
+ "y": 933.00732421875,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "91211121.8f53",
+ "id": "abc1f25f.e43c08",
"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",
+ "x": 666.606746673584,
+ "y": 891.83349609375,
+ "z": "c1f3ee3d.7e867",
"wires": [
[]
]
},
{
- "id": "42215efb.1d8e4",
+ "id": "bf7bb77.41be8c8",
"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",
+ "x": 648.6068077087402,
+ "y": 787.83349609375,
+ "z": "c1f3ee3d.7e867",
"wires": [
[]
]
},
{
- "id": "b74ff3ee.b1d98",
+ "id": "91a89d7a.a0f178",
"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",
+ "x": 666.1067790985107,
+ "y": 738.5000331401825,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "7c53c20f.68b9dc",
+ "id": "49bfdced.7c2bbc",
"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",
+ "x": 649.6068153381348,
+ "y": 696.3335154056549,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "a11f77d.859bf88",
+ "id": "6c8900d6.0d8e58",
"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",
+ "x": 661.4598903656006,
+ "y": 644.8296692371368,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "c0fe8566.aad758",
+ "id": "abd09dc6.c02b78",
"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",
+ "x": 641.5273399353027,
+ "y": 537,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "3cca5aeb.576896",
+ "id": "2b448345.aa142c",
"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",
+ "x": 648.526927947998,
+ "y": 431.9912657737732,
+ "z": "c1f3ee3d.7e867",
"wires": []
},
{
- "id": "6ba0a91d.74fdb8",
+ "id": "d1e54672.f82058",
"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",
+ "x": 687.3406028747559,
+ "y": 484.83709144592285,
+ "z": "c1f3ee3d.7e867",
"wires": [
[]
]
},
{
- "id": "3368b1eb.e464fe",
+ "id": "4b4cd818.a8df08",
"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",
+ "x": 640.3406181335449,
+ "y": 593.3409690856934,
+ "z": "c1f3ee3d.7e867",
"wires": [
[]
]
},
{
- "id": "29fa2ed2.416422",
+ "id": "a0154eab.2fbc7",
"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",
+ "x": 638.5273399353027,
+ "y": 843,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "5c744e64.d3743"
+ "288ce8e3.088cd"
]
]
},
{
- "id": "5c744e64.d3743",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "id": "42b83e22.53c9",
+ "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": 1154.52734375,
+ "y": 801,
+ "z": "c1f3ee3d.7e867",
+ "wires": []
+ },
+ {
+ "id": "288ce8e3.088cd",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 808,
- "y": 798,
- "z": "8abb02c9.ea909",
+ "x": 868,
+ "y": 821,
+ "z": "c1f3ee3d.7e867",
"wires": [
[
- "79532ac9.38abe4"
+ "42b83e22.53c9"
]
]
- },
- {
- "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