aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.json
diff options
context:
space:
mode:
authorprakash.e <prakash.e@huawei.com>2019-03-27 09:25:28 +0530
committerprakash.e <prakash.e@huawei.com>2019-03-28 10:23:09 +0530
commit6bae57f12b29d9227decc4101ee0d971f29090d8 (patch)
treeebabc93021c40770bb628ee9060b123618a64f60 /platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.json
parentb47edc477e8604a8f5e53c403bffdf8ce248f779 (diff)
CCVPN extension site resource DGs
DEVICE and SITE VF-topology-operation DGs Change-Id: Ieb9fdfed7918489ce56d10e848663f81e56445e7 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 11f5aef76dcff7ceadaa240c068c727793c7d64a
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.json654
1 files changed, 654 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.json
new file mode 100644
index 00000000..e8db0bf8
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.json
@@ -0,0 +1,654 @@
+[
+ {
+ "id": "5892697a.9c21d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 482.03125,
+ "y": 382.00000220537186,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "3419ca3e.28a196",
+ "18fb5a27.0012c6",
+ "987ea69b.4f3758",
+ "6b48247.18bfcdc",
+ "12914a5f.e6b036",
+ "5fd7b0fa.16e31",
+ "623a4487.e99e9c",
+ "4156b8b2.c36818",
+ "9723e968.8650b8",
+ "7be42a51.991f94",
+ "4a04380d.9f4fa8",
+ "ea1ae816.a77cc8",
+ "43b512b5.67ddbc",
+ "64fa1f85.6660d",
+ "37949d89.629082"
+ ]
+ ]
+ },
+ {
+ "id": "309bc096.5fac7",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "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": 324.03126525878906,
+ "y": 165.999993622303,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "1f3522ef.5a48ed"
+ ]
+ ]
+ },
+ {
+ "id": "1f3522ef.5a48ed",
+ "type": "method",
+ "name": "sdwan-vf-operation-vpn-create",
+ "xml": "<method rpc='sdwan-vf-operation-vpn-create' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 323.03126525878906,
+ "y": 265.999993622303,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "5892697a.9c21d8"
+ ]
+ ]
+ },
+ {
+ "id": "3582a035.23289",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 153.53126525878906,
+ "y": 77.00000125169754,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "309bc096.5fac7"
+ ]
+ ]
+ },
+ {
+ "id": "3419ca3e.28a196",
+ "type": "for",
+ "name": "for each vnf",
+ "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 782.3606719970703,
+ "y": 273.49612647295,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "e71de9cd.25e818"
+ ]
+ ]
+ },
+ {
+ "id": "e71de9cd.25e818",
+ "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": 1034.3607635498047,
+ "y": 272.1627896428108,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "637c1185.e9ab2"
+ ]
+ ]
+ },
+ {
+ "id": "46c73b2c.401b84",
+ "type": "set",
+ "name": "set vnf-index",
+ "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n\n",
+ "comments": "",
+ "x": 1406.0272521972656,
+ "y": 274.16279250383377,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "637c1185.e9ab2",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1252.6940803527832,
+ "y": 274.1627715229988,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "46c73b2c.401b84"
+ ]
+ ]
+ },
+ {
+ "id": "6b48247.18bfcdc",
+ "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": 856.2814559936523,
+ "y": 495.6666596531868,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "de525177.578e5"
+ ]
+ ]
+ },
+ {
+ "id": "de525177.578e5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1071.059799194336,
+ "y": 493.2222436070442,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "f754a25f.6ce5b",
+ "a4e3fb1c.255518"
+ ]
+ ]
+ },
+ {
+ "id": "f754a25f.6ce5b",
+ "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": 1267.3160018920898,
+ "y": 470.9703820347786,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4e3fb1c.255518",
+ "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": 1236.7604293823242,
+ "y": 507.9704983830452,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "af1423f9.97927",
+ "type": "comment",
+ "name": "Take the parameter names by removing prefix",
+ "info": "",
+ "comments": "",
+ "x": 1240.2816581726074,
+ "y": 430.3333280682564,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "18fb5a27.0012c6",
+ "type": "switchNode",
+ "name": "switch vnf_length",
+ "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 796.7812652587891,
+ "y": 228.99999552965164,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "f110968e.0e58a8"
+ ]
+ ]
+ },
+ {
+ "id": "f110968e.0e58a8",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 983.4479446411133,
+ "y": 228.33329325914383,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "241d819c.c8566e"
+ ]
+ ]
+ },
+ {
+ "id": "241d819c.c8566e",
+ "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": 1165.1145706176758,
+ "y": 228.33329325914383,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "987ea69b.4f3758",
+ "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": 838.0312547683716,
+ "y": 348.99999648332596,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "f6ea0a95.1bfcf8",
+ "7969b2ec.a074ec"
+ ]
+ ]
+ },
+ {
+ "id": "f6ea0a95.1bfcf8",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1069.031265258789,
+ "y": 324.999993622303,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "95e71927.be46c8"
+ ]
+ ]
+ },
+ {
+ "id": "7969b2ec.a074ec",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1069.031265258789,
+ "y": 364.999993622303,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "53dfed7f.4e81b4"
+ ]
+ ]
+ },
+ {
+ "id": "95e71927.be46c8",
+ "type": "set",
+ "name": "set vf-index",
+ "xml": "<set>\n<parameter name='vf-index' value='0' />\n",
+ "comments": "",
+ "x": 1211.531265258789,
+ "y": 324.999993622303,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "53dfed7f.4e81b4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1213.3883094787598,
+ "y": 364.9365056157112,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "bd7a9ede.140ae",
+ "804dd88d.6a51d8"
+ ]
+ ]
+ },
+ {
+ "id": "804dd88d.6a51d8",
+ "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": 1366.086784362793,
+ "y": 334.55560430837795,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "bd7a9ede.140ae",
+ "type": "for",
+ "name": "for each existing vf-index",
+ "xml": "<for index='idx' start='0' end='`$vf-index`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1422.5152893066406,
+ "y": 387.77773410081863,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "549e64ff.4f02fc"
+ ]
+ ]
+ },
+ {
+ "id": "96b53f57.6e1a2",
+ "type": "comment",
+ "name": "make sure this network doesn't exist already",
+ "info": "",
+ "comments": "",
+ "x": 1646.1660194396973,
+ "y": 346.0317915081978,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "549e64ff.4f02fc",
+ "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": 1697.801010131836,
+ "y": 387.3492367863655,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "789deb75.f505c4"
+ ]
+ ]
+ },
+ {
+ "id": "789deb75.f505c4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1598.53120803833,
+ "y": 445.92066794633865,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "60c9009a.34691"
+ ]
+ ]
+ },
+ {
+ "id": "60c9009a.34691",
+ "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": 1746.2813110351562,
+ "y": 445.77786001516506,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "4156b8b2.c36818",
+ "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.vpn-vf-index`' />\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\n",
+ "comments": "",
+ "x": 851.8844451904297,
+ "y": 798.4962475895882,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "623a4487.e99e9c",
+ "type": "execute",
+ "name": "execute generate-vf-module-index",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-vf-index\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 863.218017578125,
+ "y": 751.162949860096,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5fd7b0fa.16e31",
+ "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": 835.2180786132812,
+ "y": 702.162949860096,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "12914a5f.e6b036",
+ "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": 835.2176055908203,
+ "y": 648.1542380452156,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "9723e968.8650b8",
+ "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`' />",
+ "comments": "",
+ "x": 845.5314331054688,
+ "y": 896.0000686645508,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "64fa1f85.6660d",
+ "type": "save",
+ "name": "save sdwan vpn resource in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='sdwan-vpn' \n key='sdwan-vpn.sdwan-vpn-id = $prop.vpn-vf-index' >\n<parameter name='sdwan-vpn-id' value='`$prop.vpn-vf-index`' />\n<parameter name='sdwan-vpn-name' value='`$prop.name`' />\n<parameter name='topology' value='`$prop.topology`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vf-module-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $service-data.vnfs.vnf[$vnf-index].vnf-id + '/vnf-data/vf-modules/vf-module/' + $prop.vpn-vf-index + '/vf-module-data/'` \" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 852.0312938690186,
+ "y": 941.5000165104866,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "37949d89.629082",
+ "type": "save",
+ "name": "save service relationship in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf:relationship-list' \n key='generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"sdwan-vpn\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/sdwan-vpns/sdwan-vpn/' + $prop.vpn-vf-index`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"sdwan-vpn.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vpn-vf-index`\" />\n\n\n<!--save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='site-resource:relationship-list' \n key='site-resource.site-resource-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=\"sdwan-site\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/sdwan-sites/sdwan-site/' + $prop.site-vf-index`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"sdwan-vpn.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.site-vf-index`\" /-->\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 849.0312213897705,
+ "y": 987.500047981739,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7be42a51.991f94",
+ "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": 799.7537670135498,
+ "y": 1034.6739071011543,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "4a04380d.9f4fa8",
+ "type": "for",
+ "name": "for loop i - Network 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",
+ "comments": "",
+ "outputs": 1,
+ "x": 863.2851715087891,
+ "y": 584.5039075016975,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "b830a75.ba7e858"
+ ]
+ ]
+ },
+ {
+ "id": "b830a75.ba7e858",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1150.5080490112305,
+ "y": 584.726221382618,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "e85749e.f646cb8",
+ "44026e82.c4236"
+ ]
+ ]
+ },
+ {
+ "id": "e85749e.f646cb8",
+ "type": "switchNode",
+ "name": "switch name",
+ "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'name'`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1338.729892730713,
+ "y": 567.0595255494118,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "b01f15f5.803658"
+ ]
+ ]
+ },
+ {
+ "id": "44026e82.c4236",
+ "type": "switchNode",
+ "name": "switch topology",
+ "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'topology'`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1349.5695533752441,
+ "y": 607.0595236420631,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "9f894ed7.8915b"
+ ]
+ ]
+ },
+ {
+ "id": "b01f15f5.803658",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1525.729892730713,
+ "y": 563.0595255494118,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "e28f739a.4fef3"
+ ]
+ ]
+ },
+ {
+ "id": "9f894ed7.8915b",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1519.5695533752441,
+ "y": 603.0595236420631,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ [
+ "3dd20fe.b268ef"
+ ]
+ ]
+ },
+ {
+ "id": "e28f739a.4fef3",
+ "type": "set",
+ "name": "set name",
+ "xml": "<set>\n<parameter name='prop.name' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n\n",
+ "comments": "",
+ "x": 1675.73002243042,
+ "y": 561.6595321297646,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "3dd20fe.b268ef",
+ "type": "set",
+ "name": "set topology",
+ "xml": "<set>\n<parameter name='prop.topology' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1706.9029941558838,
+ "y": 601.5206804871559,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ },
+ {
+ "id": "ea1ae816.a77cc8",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:validate-sdwan-vf-vpn-input-parameters",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sdwan-vf-vpn-input-parameters' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 964.5351715087891,
+ "y": 174.00390750169754,
+ "z": "c6a9f1ad.d0abe",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "43b512b5.67ddbc",
+ "type": "set",
+ "name": "set vf-module-object-path",
+ "xml": "<set>\n<parameter name='vf-module-id' value='`$prop.site-vf-index`' />\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.vpn-vf-index\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": 837.5313110351562,
+ "y": 847.0312881469727,
+ "z": "c6a9f1ad.d0abe",
+ "wires": []
+ }
+] \ No newline at end of file