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:
authorHesam Rahimi <hesam.rahimi@huawei.com>2020-05-07 18:16:58 +0000
committerDan Timoney <dtimoney@att.com>2020-05-07 19:00:22 +0000
commitbb560f77ea1ebfc01ecd907ed5e2e61521da596e (patch)
tree9e6690ff5ff5cf61f40e63814d0eda00c42d8f08 /platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json
parent81045e243e0249556719835252d59c7128bd6ed9 (diff)
NNI-based Service creation DG bug fixes (uni, l2vpn, and underlay resources).
- This is needed for F release Issue-ID: SDNC-1184 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: Ib35d7a70e862c6068d9e3edc10f7d80ba5764e6a (cherry picked from commit ccf839a4815dc7e26deaf36627d04c0a4587780b [formerly f515a8831e0036414d69d73030e871dec88180f8]) Former-commit-id: fe1e29bd322bdb230b2bcf69fd3823567f11f7f2
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.json440
1 files changed, 224 insertions, 216 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 191456bd..0a95efc3 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": "41bcd68b.3b187",
+ "id": "bdabd9df.2798c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 117,
- "y": 66,
- "z": "c1f3ee3d.7e867",
+ "x": 134,
+ "y": 76,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "68ff8d75.08d6bc"
+ "37325ab3.a584e6"
]
]
},
{
- "id": "68ff8d75.08d6bc",
+ "id": "37325ab3.a584e6",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,600 +22,608 @@
"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": 248.2856903076172,
- "y": 115.23810863494873,
- "z": "c1f3ee3d.7e867",
+ "x": 265.2856903076172,
+ "y": 125.23810863494873,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "e9c8e7da.08db58"
+ "89aa288e.14e82"
]
]
},
{
- "id": "e9c8e7da.08db58",
+ "id": "89aa288e.14e82",
"type": "method",
"name": "method sotn-vf-operation-uni-create",
"xml": "<method rpc='sotn-vf-operation-uni-create' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 251.42861938476562,
- "y": 200.00003242492676,
- "z": "c1f3ee3d.7e867",
+ "x": 268.4286193847656,
+ "y": 210.00003242492676,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "9b876278.69aec"
+ "6a0993ac.72dd54"
]
]
},
{
- "id": "b6719136.d1d408",
+ "id": "a9a04009.84cea",
"type": "switchNode",
"name": "switch vnf_length",
"xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 625.5273399353027,
- "y": 85,
- "z": "c1f3ee3d.7e867",
+ "x": 642.5273399353027,
+ "y": 95,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "de455676.bfc4b8"
+ "61b0d7e5.2d7618"
]
]
},
{
- "id": "de455676.bfc4b8",
+ "id": "61b0d7e5.2d7618",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 812.194019317627,
- "y": 84.33329772949219,
- "z": "c1f3ee3d.7e867",
+ "x": 829.194019317627,
+ "y": 94.33329772949219,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "caff06c1.7f0ea8"
+ "bd3df9dd.cbfcb"
]
]
},
{
- "id": "caff06c1.7f0ea8",
+ "id": "bd3df9dd.cbfcb",
"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": 993.8606452941895,
- "y": 84.33329772949219,
- "z": "c1f3ee3d.7e867",
+ "x": 1010.8606452941895,
+ "y": 94.33329772949219,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "2806a3d2.9200ac",
+ "id": "4ccd346e.b2fa8c",
"type": "for",
"name": "for each vnf",
"xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 615.1067600250244,
- "y": 139.50003504753113,
- "z": "c1f3ee3d.7e867",
+ "x": 632.1067600250244,
+ "y": 149.50003504753113,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "baaa4638.c65"
+ "a043ea5a.d72c3"
]
]
},
{
- "id": "baaa4638.c65",
+ "id": "a043ea5a.d72c3",
"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": 866.106855392456,
- "y": 135.1666555404663,
- "z": "c1f3ee3d.7e867",
+ "x": 883.106855392456,
+ "y": 145.1666555404663,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "ac6af028.e56f6"
+ "1c9dfc9b.785bf3"
]
]
},
{
- "id": "ac6af028.e56f6",
+ "id": "1c9dfc9b.785bf3",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1084.4401721954346,
- "y": 137.1666374206543,
- "z": "c1f3ee3d.7e867",
+ "x": 1101.4401721954346,
+ "y": 147.1666374206543,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "8e9b59f5.9fbff8"
+ "969f295d.058158"
]
]
},
{
- "id": "8e9b59f5.9fbff8",
+ "id": "969f295d.058158",
"type": "set",
"name": "set vnf-index",
"xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
"comments": "",
- "x": 1237.773344039917,
- "y": 137.16665840148926,
- "z": "c1f3ee3d.7e867",
+ "x": 1254.773344039917,
+ "y": 147.16665840148926,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "e32594d8.14f33",
+ "id": "40f51cac.5aaffc",
"type": "switchNode",
"name": "switch vnf-index",
"xml": "<switch test='`$vnf-index`'>\n",
"comments": "",
"outputs": 1,
- "x": 629.1067790985107,
- "y": 200.5000331401825,
- "z": "c1f3ee3d.7e867",
+ "x": 646.1067790985107,
+ "y": 210.5000331401825,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "5097b64f.8e649"
+ "7872a8f4.e17f28"
]
]
},
{
- "id": "5097b64f.8e649",
+ "id": "7872a8f4.e17f28",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 791.1068248748779,
- "y": 199.50003218650818,
- "z": "c1f3ee3d.7e867",
+ "x": 808.1068248748779,
+ "y": 209.50003218650818,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "f8a1475e.8d7dc8"
+ "ecf654ed.ac8c08"
]
]
},
{
- "id": "f8a1475e.8d7dc8",
+ "id": "ecf654ed.ac8c08",
"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": 940.3569164276123,
- "y": 197.27790999412537,
- "z": "c1f3ee3d.7e867",
+ "x": 957.3569164276123,
+ "y": 207.27790999412537,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "7c723171.97826",
+ "id": "1bbfcdc4.cfc1ea",
"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": 663.777361869812,
- "y": 261.9999940395355,
- "z": "c1f3ee3d.7e867",
+ "x": 680.777361869812,
+ "y": 271.9999940395355,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "d3dcde48.41f3",
- "9c9a7796.629b6"
+ "76a0bc4c.3ecaac",
+ "7c11fc12.2ce60c"
]
]
},
{
- "id": "d3dcde48.41f3",
+ "id": "76a0bc4c.3ecaac",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 894.7773723602295,
- "y": 237.99999117851257,
- "z": "c1f3ee3d.7e867",
+ "x": 911.7773723602295,
+ "y": 247.99999117851257,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "eb2b3da4.ac3bf"
+ "dcfece83.e40b18"
]
]
},
{
- "id": "9c9a7796.629b6",
+ "id": "7c11fc12.2ce60c",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 894.7773723602295,
- "y": 277.9999911785126,
- "z": "c1f3ee3d.7e867",
+ "x": 911.7773723602295,
+ "y": 287.9999911785126,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "9e326ce7.36ba2"
+ "5a1242b8.d2d7dc"
]
]
},
{
- "id": "eb2b3da4.ac3bf",
+ "id": "dcfece83.e40b18",
"type": "set",
"name": "set vf-index",
"xml": "<set>\n<parameter name='vf-index' value='0' />\n",
"comments": "",
- "x": 1037.2773723602295,
- "y": 237.99999117851257,
- "z": "c1f3ee3d.7e867",
+ "x": 1054.2773723602295,
+ "y": 247.99999117851257,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "9e326ce7.36ba2",
+ "id": "5a1242b8.d2d7dc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1039.1344165802002,
- "y": 277.9365031719208,
- "z": "c1f3ee3d.7e867",
+ "x": 1056.1344165802002,
+ "y": 287.9365031719208,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "bb4f26d0.2b52f8",
- "c6144a09.68351"
+ "fc192c7c.c666c",
+ "3d110b04.3f7cfc"
]
]
},
{
- "id": "c6144a09.68351",
+ "id": "3d110b04.3f7cfc",
"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": 1191.8328914642334,
- "y": 247.55560186458752,
- "z": "c1f3ee3d.7e867",
+ "x": 1208.8328914642334,
+ "y": 257.5556018645875,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "bb4f26d0.2b52f8",
+ "id": "fc192c7c.c666c",
"type": "for",
"name": "for each existing vf-index",
"xml": "<for index='idx' start='0' end='`$vf-index`' >\n",
"comments": "",
"outputs": 1,
- "x": 1248.261396408081,
- "y": 300.7777316570282,
- "z": "c1f3ee3d.7e867",
+ "x": 1265.261396408081,
+ "y": 310.7777316570282,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "cadc9be5.e759e"
+ "88b73d6e.6d468"
]
]
},
{
- "id": "fcf618d7.ce2b98",
+ "id": "442e188e.f803c",
"type": "comment",
"name": "make sure this network doesn't exist already",
"info": "",
"comments": "",
- "x": 1471.9121265411377,
- "y": 259.03178906440735,
- "z": "c1f3ee3d.7e867",
+ "x": 1488.9121265411377,
+ "y": 269.03178906440735,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "cadc9be5.e759e",
+ "id": "88b73d6e.6d468",
"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": 1523.5471172332764,
- "y": 300.3492343425751,
- "z": "c1f3ee3d.7e867",
+ "x": 1540.5471172332764,
+ "y": 310.3492343425751,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "c1e99eff.0e5d48"
+ "ea98d10d.89934"
]
]
},
{
- "id": "c1e99eff.0e5d48",
+ "id": "ea98d10d.89934",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1424.2773151397705,
- "y": 358.9206655025482,
- "z": "c1f3ee3d.7e867",
+ "x": 1441.2773151397705,
+ "y": 368.9206655025482,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "840dd033.d02e68"
+ "acd8ea2b.eae8b8"
]
]
},
{
- "id": "840dd033.d02e68",
+ "id": "acd8ea2b.eae8b8",
"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": 1572.0274181365967,
- "y": 358.7778575713746,
- "z": "c1f3ee3d.7e867",
+ "x": 1589.0274181365967,
+ "y": 368.7778575713746,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "425e7a20.0b25dc",
+ "id": "59edc1a3.014a68",
"type": "comment",
"name": "Take the parameter names by removing prefix",
"info": "",
"comments": "",
- "x": 708.3571338653564,
- "y": 334.8294517993927,
- "z": "c1f3ee3d.7e867",
+ "x": 725.3571338653564,
+ "y": 344.8294517993927,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "26fdcf88.d41188",
+ "id": "848c6001.e3ca1",
"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": 670.3569316864014,
- "y": 378.16278433799744,
- "z": "c1f3ee3d.7e867",
+ "x": 687.3569316864014,
+ "y": 388.16278433799744,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "d2a88646.f84f6"
+ "502abba1.49866c"
]
]
},
{
- "id": "d2a88646.f84f6",
+ "id": "502abba1.49866c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 885.135274887085,
- "y": 375.71836829185486,
- "z": "c1f3ee3d.7e867",
+ "x": 902.135274887085,
+ "y": 385.71836829185486,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "6ee856f3.a6b1a",
- "7919b72e.9e665"
+ "e8577fea.dc9eb",
+ "c88b6740.086e48"
]
]
},
{
- "id": "6ee856f3.a6b1a",
+ "id": "e8577fea.dc9eb",
"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": 1081.3914775848389,
- "y": 353.46650671958923,
- "z": "c1f3ee3d.7e867",
+ "x": 1098.3914775848389,
+ "y": 363.46650671958923,
+ "z": "d9929d00.bfba4",
"wires": [
[]
]
},
{
- "id": "7919b72e.9e665",
+ "id": "c88b6740.086e48",
"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": 1050.8359050750732,
- "y": 390.46662306785583,
- "z": "c1f3ee3d.7e867",
+ "x": 1067.8359050750732,
+ "y": 400.46662306785583,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "9b876278.69aec",
+ "id": "6a0993ac.72dd54",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 324.1067714691162,
- "y": 395.4961154460907,
- "z": "c1f3ee3d.7e867",
+ "x": 341.1067714691162,
+ "y": 405.4961154460907,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "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"
+ "848c6001.e3ca1",
+ "1bbfcdc4.cfc1ea",
+ "53255108.3aa87",
+ "eb87c476.701828",
+ "60cc5c3c.7af384",
+ "6cc42136.9a456",
+ "18de011.772867f",
+ "56659886.9d87b",
+ "46813925.b275b",
+ "4dcd3e86.6f4288",
+ "1e2320ca.16ae1f",
+ "922a3600.fd199",
+ "d21f4a10.58364"
]
]
},
{
- "id": "8c309fdb.0398f",
+ "id": "18de011.772867f",
"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": 611.3292503356934,
- "y": 933.00732421875,
- "z": "c1f3ee3d.7e867",
+ "x": 628.3292503356934,
+ "y": 943.00732421875,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "abc1f25f.e43c08",
+ "id": "6cc42136.9a456",
"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",
+ "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\n<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=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $prop.vf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vf-id`\" />",
"comments": "",
"outputs": 1,
- "x": 666.606746673584,
- "y": 891.83349609375,
- "z": "c1f3ee3d.7e867",
+ "x": 683.606746673584,
+ "y": 901.83349609375,
+ "z": "d9929d00.bfba4",
"wires": [
[]
]
},
{
- "id": "bf7bb77.41be8c8",
+ "id": "60cc5c3c.7af384",
"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",
+ "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=\"tp-id\" value='`$prop.uni.tp-id`' />\n<parameter name='cVLAN' value='`$prop.uni.cVLAN`' />\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": 648.6068077087402,
- "y": 787.83349609375,
- "z": "c1f3ee3d.7e867",
+ "x": 665.6068077087402,
+ "y": 797.83349609375,
+ "z": "d9929d00.bfba4",
"wires": [
[]
]
},
{
- "id": "91a89d7a.a0f178",
+ "id": "56659886.9d87b",
"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": 666.1067790985107,
- "y": 738.5000331401825,
- "z": "c1f3ee3d.7e867",
+ "x": 683.1067790985107,
+ "y": 748.5000331401825,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "49bfdced.7c2bbc",
+ "id": "eb87c476.701828",
"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",
+ "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 + $prop.vf-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\n\n <!--+ $vf-module-topology-operation-input.vf-module-information.vf-module-id-->\n",
"comments": "",
- "x": 649.6068153381348,
- "y": 696.3335154056549,
- "z": "c1f3ee3d.7e867",
+ "x": 666.6068153381348,
+ "y": 706.3335154056549,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "6c8900d6.0d8e58",
+ "id": "53255108.3aa87",
"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\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id' value='`$vf-module-topology-operation-input.vnf-information.vnf-id`' />\n",
"comments": "",
- "x": 661.4598903656006,
- "y": 644.8296692371368,
- "z": "c1f3ee3d.7e867",
+ "x": 678.4598903656006,
+ "y": 654.8296692371368,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "abd09dc6.c02b78",
+ "id": "1e2320ca.16ae1f",
"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": 641.5273399353027,
- "y": 537,
- "z": "c1f3ee3d.7e867",
+ "x": 658.5273399353027,
+ "y": 547,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "2b448345.aa142c",
+ "id": "46813925.b275b",
"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": 648.526927947998,
- "y": 431.9912657737732,
- "z": "c1f3ee3d.7e867",
+ "x": 665.526927947998,
+ "y": 441.9912657737732,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "d1e54672.f82058",
+ "id": "4dcd3e86.6f4288",
"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": 687.3406028747559,
- "y": 484.83709144592285,
- "z": "c1f3ee3d.7e867",
+ "x": 704.3406028747559,
+ "y": 494.83709144592285,
+ "z": "d9929d00.bfba4",
"wires": [
[]
]
},
{
- "id": "4b4cd818.a8df08",
+ "id": "922a3600.fd199",
"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": 640.3406181335449,
- "y": 593.3409690856934,
- "z": "c1f3ee3d.7e867",
+ "x": 657.3406181335449,
+ "y": 603.3409690856934,
+ "z": "d9929d00.bfba4",
"wires": [
[]
]
},
{
- "id": "a0154eab.2fbc7",
+ "id": "f8f11492.e98458",
"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": 638.5273399353027,
- "y": 843,
- "z": "c1f3ee3d.7e867",
+ "x": 655.5273399353027,
+ "y": 853,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "288ce8e3.088cd"
+ "3535eafb.6a02f6"
]
]
},
{
- "id": "42b83e22.53c9",
+ "id": "670e04c7.7b4c04",
"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",
+ "x": 1171.52734375,
+ "y": 811,
+ "z": "d9929d00.bfba4",
"wires": []
},
{
- "id": "288ce8e3.088cd",
+ "id": "3535eafb.6a02f6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 868,
- "y": 821,
- "z": "c1f3ee3d.7e867",
+ "x": 885,
+ "y": 831,
+ "z": "d9929d00.bfba4",
"wires": [
[
- "42b83e22.53c9"
+ "670e04c7.7b4c04"
]
]
+ },
+ {
+ "id": "d21f4a10.58364",
+ "type": "set",
+ "name": "set vnf-index",
+ "xml": "<set>\n<parameter name='vnf-index' value='0' />\n\n\n",
+ "comments": "",
+ "x": 626,
+ "y": 33,
+ "z": "d9929d00.bfba4",
+ "wires": []
}
] \ No newline at end of file