aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-create.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-create.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-create.json429
1 files changed, 230 insertions, 199 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-create.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-create.json
index 3414cb9e..cd538413 100644
--- a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-create.json
+++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-create.json
@@ -1,36 +1,36 @@
[
{
- "id": "aeae6125.a8d28",
+ "id": "e09dc00b.609ab",
"type": "method",
"name": "method vnf-topology-operation-vpn-site-resource-create",
"xml": "<method rpc='vnf-topology-operation-vpn-site-resource-create' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 265,
- "y": 223.9999925820157,
- "z": "3deddfaf.57c2f",
+ "x": 291.00390625,
+ "y": 217.99999130051583,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "10f15a6d.ba1d76"
+ "a001279f.7137b8"
]
]
},
{
- "id": "3eb5635c.ae734c",
+ "id": "78874136.c3f8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 141.57138061523438,
- "y": 76,
- "z": "3deddfaf.57c2f",
+ "x": 167.57528686523438,
+ "y": 69.99999871850014,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "1821ad11.5dad23"
+ "170ecd1f.10f193"
]
]
},
{
- "id": "1821ad11.5dad23",
+ "id": "170ecd1f.10f193",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -38,434 +38,465 @@
"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": 243.85708618164062,
- "y": 134.23810407798737,
- "z": "3deddfaf.57c2f",
+ "x": 269.8609924316406,
+ "y": 128.2381027964875,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "aeae6125.a8d28"
+ "e09dc00b.609ab"
]
]
},
{
- "id": "10f15a6d.ba1d76",
+ "id": "a001279f.7137b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 245.23804473876953,
- "y": 395.6666643349454,
- "z": "3deddfaf.57c2f",
+ "x": 271.24195098876953,
+ "y": 389.6666630534455,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "175dc57.fde8c3b",
- "3afb3c65.1ca3a4",
- "fadde341.82f5a",
- "9885c8cf.ded0d8",
- "a5e91b3d.29e478",
- "6e79157a.cf280c",
- "fff46357.6f3ad",
- "5da9f931.70bc48",
- "df8e278a.898b28",
- "3a3acb9a.529fc4",
- "ff8a3cb6.2dc93",
- "1bd26429.61c74c"
+ "35fdba67.5f3b96",
+ "a6b60223.ccb01",
+ "ac671607.c309e8",
+ "a4915ef5.39d4c",
+ "bd07125c.dcc05",
+ "316ae104.544bae",
+ "82137890.04e3b8",
+ "ce749c5a.befe5",
+ "f4ba80c2.8e31",
+ "12d7eb35.4736c5",
+ "59546928.265f38",
+ "e172576e.f62ef8",
+ "69faa522.fdf42c"
]
]
},
{
- "id": "3afb3c65.1ca3a4",
+ "id": "a6b60223.ccb01",
"type": "set",
"name": "set vnf-level-oper-status to Created",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
"comments": "",
- "x": 667.3848571777344,
- "y": 759.670597076416,
- "z": "3deddfaf.57c2f",
+ "x": 693.3887634277344,
+ "y": 753.6705957949162,
+ "z": "304cf6f.a47ab0a",
"wires": []
},
{
- "id": "175dc57.fde8c3b",
+ "id": "35fdba67.5f3b96",
"type": "set",
"name": "copy input data to service data",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id' value='`$prop.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' value='$vnf-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.' value='$vnf-topology-operation-input.vnf-request-input.' />\n\n",
"comments": "",
- "x": 659.2380447387695,
- "y": 654.6668491363525,
- "z": "3deddfaf.57c2f",
+ "x": 685.2419509887695,
+ "y": 648.6668478548527,
+ "z": "304cf6f.a47ab0a",
"wires": []
},
{
- "id": "a5e91b3d.29e478",
+ "id": "bd07125c.dcc05",
"type": "execute",
"name": "execute generate-vnf-index",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vnf-id\"/>\n",
"comments": "",
"outputs": 1,
- "x": 647.5715484619141,
- "y": 604.3334331512451,
- "z": "3deddfaf.57c2f",
+ "x": 673.5754547119141,
+ "y": 598.3334318697453,
+ "z": "304cf6f.a47ab0a",
"wires": [
[]
]
},
{
- "id": "ff8a3cb6.2dc93",
+ "id": "12d7eb35.4736c5",
"type": "set",
"name": "set vnf-index to service data",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id' value='`$prop.vnf-id`' />\n",
"comments": "",
- "x": 658.5716247558594,
- "y": 711.3334369659424,
- "z": "3deddfaf.57c2f",
+ "x": 684.5755310058594,
+ "y": 705.3334356844425,
+ "z": "304cf6f.a47ab0a",
"wires": []
},
{
- "id": "fadde341.82f5a",
+ "id": "ac671607.c309e8",
"type": "switchNode",
"name": "switch service-data.vnfs.vnf_length",
"xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 674.5713653564453,
- "y": 274.3333559036255,
- "z": "3deddfaf.57c2f",
+ "x": 700.5752716064453,
+ "y": 268.3333546221256,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "fe0779f6.a341a8",
- "9f0ded05.d925c"
+ "1edc6f41.babd91",
+ "aca7f913.f18ff8"
]
]
},
{
- "id": "fe0779f6.a341a8",
+ "id": "1edc6f41.babd91",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 909.2857513427734,
- "y": 269.47617626190186,
- "z": "3deddfaf.57c2f",
+ "x": 935.2896575927734,
+ "y": 263.476174980402,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "e3b683ce.f47fd"
+ "3bb49f12.e3c97"
]
]
},
{
- "id": "e3b683ce.f47fd",
+ "id": "3bb49f12.e3c97",
"type": "set",
"name": "set vnf-index=0",
"xml": "<set>\n<parameter name='vnf-index' value='0' />\n",
"comments": "",
- "x": 1069.5714569091797,
- "y": 269.47626781463623,
- "z": "3deddfaf.57c2f",
+ "x": 1095.5753631591797,
+ "y": 263.47626653313637,
+ "z": "304cf6f.a47ab0a",
"wires": []
},
{
- "id": "9f0ded05.d925c",
+ "id": "aca7f913.f18ff8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 905.7142906188965,
- "y": 302.76200771331787,
- "z": "3deddfaf.57c2f",
+ "x": 931.7181968688965,
+ "y": 296.762006431818,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "411ddf99.4fbb3"
+ "58fe99a5.580988"
]
]
},
{
- "id": "b6024395.bc24",
+ "id": "ca5c1eba.d40a1",
"type": "set",
"name": "set vnf-index = vnf_length",
"xml": "<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",
"comments": "",
- "x": 1298.571533203125,
- "y": 281.04773330688477,
- "z": "3deddfaf.57c2f",
+ "x": 1324.575439453125,
+ "y": 275.0477320253849,
+ "z": "304cf6f.a47ab0a",
"wires": []
},
{
- "id": "3b57b625.74c07a",
+ "id": "40fa464c.c22b08",
"type": "for",
"name": "for each existing VNF",
"xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1287.0001525878906,
- "y": 316.04770517349243,
- "z": "3deddfaf.57c2f",
+ "x": 1313.0040588378906,
+ "y": 310.04770389199257,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "a7076dba.f36af"
+ "bd02694a.5072f8"
]
]
},
{
- "id": "411ddf99.4fbb3",
+ "id": "58fe99a5.580988",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1040.4285736083984,
- "y": 304.76197719573975,
- "z": "3deddfaf.57c2f",
+ "x": 1066.4324798583984,
+ "y": 298.7619759142399,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "b6024395.bc24",
- "3b57b625.74c07a"
+ "ca5c1eba.d40a1",
+ "40fa464c.c22b08"
]
]
},
{
- "id": "a7076dba.f36af",
+ "id": "bd02694a.5072f8",
"type": "switchNode",
"name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id",
"xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 1680.285888671875,
- "y": 316.61918926239014,
- "z": "3deddfaf.57c2f",
+ "x": 1706.289794921875,
+ "y": 310.6191879808903,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "b4dc78a5.d896c8"
+ "cac73e5e.acb18"
]
]
},
{
- "id": "b4dc78a5.d896c8",
+ "id": "cac73e5e.acb18",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1961.571590423584,
- "y": 315.19059467315674,
- "z": "3deddfaf.57c2f",
+ "x": 1987.575496673584,
+ "y": 309.1905933916569,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "51ac74f.88fd58c"
+ "61212c2f.b0bcf4"
]
]
},
{
- "id": "4be264b1.270e6c",
+ "id": "14393cc8.e466c3",
"type": "comment",
"name": "make sure this vnf-id doesn't exist already",
"info": "",
"comments": "",
- "x": 1649.4285049438477,
- "y": 280.1905813217163,
- "z": "3deddfaf.57c2f",
+ "x": 1675.4324111938477,
+ "y": 274.19058004021645,
+ "z": "304cf6f.a47ab0a",
"wires": []
},
{
- "id": "9885c8cf.ded0d8",
+ "id": "a4915ef5.39d4c",
"type": "set",
"name": "set new vnf_length",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n",
"comments": "",
- "x": 619.5715484619141,
- "y": 552.333429813385,
- "z": "3deddfaf.57c2f",
+ "x": 645.5754547119141,
+ "y": 546.3334285318851,
+ "z": "304cf6f.a47ab0a",
"wires": []
},
{
- "id": "6e79157a.cf280c",
+ "id": "316ae104.544bae",
"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": 606.5715103149414,
- "y": 1022.5969486236572,
- "z": "3deddfaf.57c2f",
+ "x": 632.5754165649414,
+ "y": 1016.5969473421574,
+ "z": "304cf6f.a47ab0a",
"wires": []
},
{
- "id": "3a3acb9a.529fc4",
+ "id": "f4ba80c2.8e31",
"type": "save",
"name": "save service relationship in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id \n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/generic-vnfs/generic-vnf/' + $prop.vnf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vnf-id`\" />\n\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id\n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/generic-vnfs/generic-vnf/' + $prop.vnf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vnf-id`\" />\n\n\n<!--key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--key='service-instance.service-instance-id = $service-data.service-instance-id -->\n",
"comments": "",
"outputs": 1,
- "x": 669.23828125,
- "y": 969.5968418121338,
- "z": "3deddfaf.57c2f",
+ "x": 695.2421875,
+ "y": 963.5968405306339,
+ "z": "304cf6f.a47ab0a",
"wires": [
[]
]
},
{
- "id": "fff46357.6f3ad",
+ "id": "82137890.04e3b8",
"type": "set",
"name": "set vnf-index and vnf-object-path",
"xml": "<set>\n<parameter name='vnfId' value='`$prop.vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $prop.vnf-id + '/vnf-data/'` \" />",
"comments": "",
- "x": 660.5715408325195,
- "y": 800.5968675613403,
- "z": "3deddfaf.57c2f",
+ "x": 686.5754470825195,
+ "y": 794.5968662798405,
+ "z": "304cf6f.a47ab0a",
"wires": []
},
{
- "id": "5da9f931.70bc48",
- "type": "set",
- "name": "set vnf-request-input.",
- "xml": "<set>\n<parameter name='vnf-request-input.' value='`$vnf-topology-operation-input.vnf-request-input.`' />\n",
- "comments": "",
- "x": 625.5711822509766,
- "y": 503.32480239868164,
- "z": "3deddfaf.57c2f",
- "wires": []
- },
- {
- "id": "51ac74f.88fd58c",
+ "id": "61212c2f.b0bcf4",
"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 ' + $service-data.vnfs.vnf[$idx].vnf-id\n + ' already exists, and has order status ' + $service-data.vnfs.vnf[$idx].vnf-data.vnf-level-oper-status.order-status`\" />\n",
"comments": "",
- "x": 2090.1429595947266,
- "y": 366.1906089782715,
- "z": "3deddfaf.57c2f",
+ "x": 2116.1468658447266,
+ "y": 360.1906076967716,
+ "z": "304cf6f.a47ab0a",
"wires": []
},
{
- "id": "df8e278a.898b28",
+ "id": "ce749c5a.befe5",
"type": "save",
"name": "save AnAI - vnf-instance.orchestration-status",
- "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $prop.vnf-id\" >\n<parameter name=\"orchestration-status\" value=\"create\" />\n<parameter name=\"vnf-type\" value=\"some vnf-type\" />",
+ "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey='generic-vnf.vnf-id = $prop.vnf-id' >\n<parameter name=\"orchestration-status\" value=\"Created\" />\n<parameter name=\"in-maint\" value = \"true\" />\n<parameter name=\"vnf-type\" value='`$prop.vnfName`' />\n<parameter name=\"vnf-name\" value = \"`$prop.vnfName`\"/>\n<parameter name=\"model-invariant-id\" value = \"`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`\"/>\n<parameter name=\"model-version-id\" value = \"`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`\"/>\n<parameter name=\"model-customization-id\" value = \"`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\"/>",
"comments": "",
"outputs": 1,
- "x": 715.5458450317383,
- "y": 910.2470846176147,
- "z": "3deddfaf.57c2f",
+ "x": 741.5497512817383,
+ "y": 904.2470833361149,
+ "z": "304cf6f.a47ab0a",
"wires": [
[]
]
},
{
- "id": "6f579a3f.d15af4",
+ "id": "34539936.d8aa16",
"type": "comment",
"name": "TODO: change AAI models",
"info": "",
"comments": "",
- "x": 649.1821060180664,
- "y": 869.9743003845215,
- "z": "3deddfaf.57c2f",
+ "x": 675.1860122680664,
+ "y": 863.9742991030216,
+ "z": "304cf6f.a47ab0a",
"wires": []
},
{
- "id": "1bd26429.61c74c",
- "type": "switchNode",
- "name": "switch service-data.vnf-request-input.vnf-name",
- "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-name`'>\n",
+ "id": "c5a6107f.3d2a",
+ "type": "execute",
+ "name": "execute split parameterName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$vnf-topology-operation-input.vnf-request-input.vnf-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": 693.0000152587891,
- "y": 393.0000114440918,
- "z": "3deddfaf.57c2f",
+ "x": 1101.7434997558594,
+ "y": 357.7499989569187,
+ "z": "304cf6f.a47ab0a",
"wires": [
- [
- "33ff6eed.504462",
- "e2af6995.223f28",
- "cc14ee3a.bceeb"
- ]
+ []
]
},
{
- "id": "33ff6eed.504462",
- "type": "outcomeTrue",
- "name": "SDWAN-vpn",
- "xml": "<outcome value='SDWAN-vpn'>",
+ "id": "f4dc5fe.611b2a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 990.6667137145996,
- "y": 378.0000114440918,
- "z": "3deddfaf.57c2f",
+ "x": 905.4872970581055,
+ "y": 362.00187197327614,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "55868aa1.2254e4"
+ "c5a6107f.3d2a",
+ "19bb7944.207ac7"
]
]
},
{
- "id": "e2af6995.223f28",
- "type": "outcomeTrue",
- "name": "SDWAN-site",
- "xml": "<outcome value='SDWAN-site'>",
+ "id": "59546928.265f38",
+ "type": "for",
+ "name": "for loop idx - VNF input parameters",
+ "xml": "<for index=\"idx\" start=\"0\" end=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`\">\n",
"comments": "",
"outputs": 1,
- "x": 983.6666870117188,
- "y": 428,
- "z": "3deddfaf.57c2f",
+ "x": 690.7089538574219,
+ "y": 364.4462880194187,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "496e33ab.398b4c"
+ "f4dc5fe.611b2a"
]
]
},
{
- "id": "cc14ee3a.bceeb",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
+ "id": "e172576e.f62ef8",
+ "type": "set",
+ "name": "set vnf-request-input.",
+ "xml": "<set>\n<parameter name='vnf-request-input.' value='`$vnf-topology-operation-input.vnf-request-input.`' />\n",
+ "comments": "",
+ "x": 647.7085876464844,
+ "y": 434.7709950506687,
+ "z": "304cf6f.a47ab0a",
+ "wires": []
+ },
+ {
+ "id": "19bb7944.207ac7",
+ "type": "set",
+ "name": "set parameterName",
+ "xml": "<set>\n<parameter name=\"`vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name`\" value='`$param-prefix[$param-prefix_length -1]`'/>\n",
+ "comments": "",
+ "x": 1078.7434997558594,
+ "y": 403.7499989569187,
+ "z": "304cf6f.a47ab0a",
+ "wires": []
+ },
+ {
+ "id": "69faa522.fdf42c",
+ "type": "for",
+ "name": "for each sdwan-get-request-input-param",
+ "xml": "<for index=\"idx\" start=\"0\" end=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`\">\n",
"comments": "",
"outputs": 1,
- "x": 966.6666870117188,
- "y": 478,
- "z": "3deddfaf.57c2f",
+ "x": 703.7434997558594,
+ "y": 486.7499989569187,
+ "z": "304cf6f.a47ab0a",
"wires": [
[
- "c9a98bce.5a8c88"
+ "53fd8a48.24dea4"
]
]
},
{
- "id": "c9a98bce.5a8c88",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error: vnf-name should be either SDWAN-vpn or SDWAN-site.\" />\n",
+ "id": "53fd8a48.24dea4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
"comments": "",
- "x": 1137.333366394043,
- "y": 476.00001335144043,
- "z": "3deddfaf.57c2f",
- "wires": []
+ "outputs": 1,
+ "x": 929.9761657714844,
+ "y": 485.0937489569187,
+ "z": "304cf6f.a47ab0a",
+ "wires": [
+ [
+ "509306d5.d7d638"
+ ]
+ ]
},
{
- "id": "55868aa1.2254e4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
+ "id": "509306d5.d7d638",
+ "type": "switchNode",
+ "name": "switch vnf name",
+ "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n",
+ "comments": "",
"outputs": 1,
- "x": 1172,
- "y": 379,
- "z": "3deddfaf.57c2f",
+ "x": 1086.4761657714844,
+ "y": 483.09380999207497,
+ "z": "304cf6f.a47ab0a",
"wires": [
- []
+ [
+ "8d04bb1d.476798"
+ ]
]
},
{
- "id": "496e33ab.398b4c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
+ "id": "8d04bb1d.476798",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
"outputs": 1,
- "x": 1163,
- "y": 427,
- "z": "3deddfaf.57c2f",
+ "x": 1247.4765319824219,
+ "y": 483.0938710272312,
+ "z": "304cf6f.a47ab0a",
"wires": [
- []
+ [
+ "933c4e9d.c3ff2"
+ ]
]
+ },
+ {
+ "id": "933c4e9d.c3ff2",
+ "type": "set",
+ "name": "set vnf name",
+ "xml": "<set>\n<parameter name='prop.vnfName' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1405.4766540527344,
+ "y": 481.69390764832497,
+ "z": "304cf6f.a47ab0a",
+ "wires": []
}
] \ No newline at end of file