aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-10-09 13:57:21 -0400
committerAlexis de Talhouët <adetalhouet89@gmail.com>2018-10-15 11:21:55 -0400
commit00a4dd594c5fce63ab9961ed668c3c4bd2cbeaf9 (patch)
treebd405dc1361863c5c27770d994d4697ac0af37f5 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json
parentfdc16e1a2c45c034aaa29974c469a0e690693750 (diff)
Multiple self-serve fixes
fix ss-generate-name to not set SUCCESS status randomly. fix vf-module ss dg to populate correctly the order-status data. add support for vnf level assignemnet for ss netbox fix parsing resolved ip to remove prefix info (/32) Change-Id: I1f0b5c2046dddddee1f0fa674b440d604871aa9b Issue-ID: SDNC-444 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: 1adbc091ff99771a16599d7459296dea77e69380
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json2534
1 files changed, 1267 insertions, 1267 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json
index 53818a46..45efe1a3 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json
@@ -1,1268 +1,1268 @@
[
- {
- "id": "79cac42d.82a4dc",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 140,
- "y": 84.99999749660492,
- "z": "79df67f4.514258",
- "wires": [
- [
- "f47fc6b0.f6a1d8"
- ]
- ]
- },
- {
- "id": "629c9f43.786f9",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 163.19049072265625,
- "y": 199.84921395778656,
- "z": "79df67f4.514258",
- "wires": [
- [
- "6aad54ac.f3caac",
- "3ec605f9.8838da",
- "23449213.b3818e",
- "840f76a2.614648",
- "decf4ed7.49434",
- "448e6879.87f338",
- "d9639a54.037b48",
- "ee1bc60b.f75e88"
- ]
- ]
- },
- {
- "id": "b7b42bd3.4f3918",
- "type": "method",
- "name": "method self-serve-vf-module-assign",
- "xml": "<method rpc='self-serve-vf-module-assign' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 243.76190948486328,
- "y": 139.7063525915146,
- "z": "79df67f4.514258",
- "wires": [
- [
- "629c9f43.786f9"
- ]
- ]
- },
- {
- "id": "f47fc6b0.f6a1d8",
- "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": 402.23819732666016,
- "y": 85.1904901266098,
- "z": "79df67f4.514258",
- "wires": [
- [
- "b7b42bd3.4f3918"
- ]
- ]
- },
- {
- "id": "3ec605f9.8838da",
- "type": "switchNode",
- "name": "switch vf-module-parameters.param_length",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 478.2500305175781,
- "y": 1402.3691610097885,
- "z": "79df67f4.514258",
- "wires": [
- [
- "1a9c3c61.643984"
- ]
- ]
- },
- {
- "id": "1a9c3c61.643984",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 738.2500610351562,
- "y": 1402.3691610097885,
- "z": "79df67f4.514258",
- "wires": [
- [
- "9d73c04f.a8004"
- ]
- ]
- },
- {
- "id": "beaa39ce.b3ffc8",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:self-serve-vfmodule-ra-assignment",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vfmodule-ra-assignment' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1279.9643096923828,
- "y": 1449.6549113988876,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3b98ee66.3d30a2"
- ]
- ]
- },
- {
- "id": "3228d8db.9bd078",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n",
- "comments": "",
- "x": 1760.6785507202148,
- "y": 1449.2263149023056,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "4c4fa3b4.ff618c",
- "type": "for",
- "name": "foreach vf-module-parameters.param[]",
- "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 763.5359954833984,
- "y": 1712.5477479696274,
- "z": "79df67f4.514258",
- "wires": [
- [
- "4e0d4948.3d6618",
- "b58f94e5.3a5748"
- ]
- ]
- },
- {
- "id": "6aad54ac.f3caac",
- "type": "set",
- "name": "set ss.capability.execution-order[]",
- "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='generate-name' />\n<parameter name='ss.capability.execution-order[1]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[2]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[3]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[4]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[7]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[8]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[11]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[12]' value='aai-vf-module-put' />\n<parameter name='ss.capability.execution-order_length' value='13' />\n",
- "comments": "",
- "x": 450.41666412353516,
- "y": 1264.4286407232285,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "23449213.b3818e",
- "type": "for",
- "name": "foreach capability-order[]",
- "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 419.1786193847656,
- "y": 1568.3690408468246,
- "z": "79df67f4.514258",
- "wires": [
- [
- "79b45fed.9e95a",
- "6e6f02a3.6e1a8c",
- "4c4fa3b4.ff618c",
- "6825ba6.a6c7b44"
- ]
- ]
- },
- {
- "id": "4e0d4948.3d6618",
- "type": "switchNode",
- "name": "switch capability-name param vs. execution",
- "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1129.9288177490234,
- "y": 1758.1905406713486,
- "z": "79df67f4.514258",
- "wires": [
- [
- "b70e352c.4630e8"
- ]
- ]
- },
- {
- "id": "b70e352c.4630e8",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1393.4288177490234,
- "y": 1758.4405406713486,
- "z": "79df67f4.514258",
- "wires": [
- [
- "39d72ba9.0f9c94"
- ]
- ]
- },
- {
- "id": "3b98ee66.3d30a2",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1606.5356559753418,
- "y": 1449.0835050344467,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3228d8db.9bd078"
- ]
- ]
- },
- {
- "id": "79b45fed.9e95a",
- "type": "set",
- "name": "set ss.capability-name",
- "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n\n<!--\nss.capability.execution-order\n-->",
- "comments": "",
- "x": 710.5356750488281,
- "y": 1568.3214925527573,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "b58f94e5.3a5748",
- "type": "set",
- "name": "tmp.param.capability-name",
- "xml": "<set>\n<parameter name='tmp.param.capability-name' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.capability-name`' />\n",
- "comments": "",
- "x": 1079.2858428955078,
- "y": 1712.7977508306503,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "6e6f02a3.6e1a8c",
- "type": "set",
- "name": "set ss.capability-action = assign",
- "xml": "<set>\n<parameter name='ss.capability-action' value='assign' />\n",
- "comments": "",
- "x": 741.2498168945312,
- "y": 1615.2380765676498,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "6825ba6.a6c7b44",
- "type": "set",
- "name": "set capability-dg with 'self-serve-' + capability-name",
- "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",
- "comments": "",
- "x": 803.5832824707031,
- "y": 1663.8929475545883,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "efb9f733.4243e8",
- "type": "set",
- "name": "set sdnc-generated-cloud-resources = true",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.sdnc-generated-cloud-resources' \n\tvalue='true' />\n",
- "comments": "",
- "x": 1065.952392578125,
- "y": 1150.8573163747787,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "39d72ba9.0f9c94",
- "type": "switchNode",
- "name": "switch resource-resolution-data.status",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 509.5121765136719,
- "y": 2286.9723123311996,
- "z": "79df67f4.514258",
- "wires": [
- [
- "c3a7253a.e36418",
- "8f6e910.95aa57"
- ]
- ]
- },
- {
- "id": "c3a7253a.e36418",
- "type": "other",
- "name": "PENDING",
- "xml": "<outcome value='PENDING'>\n",
- "comments": "",
- "outputs": 1,
- "x": 778.8693923950195,
- "y": 2286.972268462181,
- "z": "79df67f4.514258",
- "wires": [
- [
- "5345ddf0.1150f4"
- ]
- ]
- },
- {
- "id": "8f6e910.95aa57",
- "type": "other",
- "name": "FAILED",
- "xml": "<outcome value='FAILED'>\n",
- "comments": "",
- "outputs": 1,
- "x": 772.4052085876465,
- "y": 2337.936599135399,
- "z": "79df67f4.514258",
- "wires": [
- [
- "5345ddf0.1150f4"
- ]
- ]
- },
- {
- "id": "5345ddf0.1150f4",
- "type": "call",
- "name": "call ss.capability-dg",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 987.5239410400391,
- "y": 2338.698450446129,
- "z": "79df67f4.514258",
- "wires": [
- [
- "f18bef24.d1ba1"
- ]
- ]
- },
- {
- "id": "9fad02a1.51c23",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`\" />\n",
- "comments": "",
- "x": 1562.2142753601074,
- "y": 2692.3893016576767,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "f18bef24.d1ba1",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1180.5592918395996,
- "y": 2338.412728667259,
- "z": "79df67f4.514258",
- "wires": [
- [
- "dff817e.b93aee8"
- ]
- ]
- },
- {
- "id": "dff817e.b93aee8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1343.833408355713,
- "y": 2337.7222694158554,
- "z": "79df67f4.514258",
- "wires": [
- [
- "9fad02a1.51c23",
- "e3eb24ad.1f9df8",
- "f1f25f48.ce065",
- "dbccdeae.36726",
- "deeeb223.3247f",
- "5998fcd6.dc3424"
- ]
- ]
- },
- {
- "id": "e3eb24ad.1f9df8",
- "type": "execute",
- "name": "execute RestApiCallNode - PUT vf-module",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ss-vfmodule\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1659.3808479309082,
- "y": 2594.096228957176,
- "z": "79df67f4.514258",
- "wires": [
- [
- "67fa2519.b6797c",
- "ed4a64cf.4b1be8"
- ]
- ]
- },
- {
- "id": "67fa2519.b6797c",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1933.9745140075684,
- "y": 2648.0943826436996,
- "z": "79df67f4.514258",
- "wires": [
- [
- "67b02263.04705c"
- ]
- ]
- },
- {
- "id": "ed4a64cf.4b1be8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1926.403148651123,
- "y": 2594.5944026708603,
- "z": "79df67f4.514258",
- "wires": [
- [
- "67b02263.04705c"
- ]
- ]
- },
- {
- "id": "448e6879.87f338",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vf-assign.log' />\n",
- "comments": "",
- "outputs": 1,
- "x": 361.75794219970703,
- "y": 2839.123444914818,
- "z": "79df67f4.514258",
- "wires": [
- []
- ]
- },
- {
- "id": "840f76a2.614648",
- "type": "switchNode",
- "name": "switch vf-module_length",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 416.2022895812988,
- "y": 319.2619956731796,
- "z": "79df67f4.514258",
- "wires": [
- [
- "5f673fc1.968f5",
- "fbe20ca5.38fa1",
- "30e274b0.d8c48c"
- ]
- ]
- },
- {
- "id": "5f673fc1.968f5",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 628.8332595825195,
- "y": 248.65478646755219,
- "z": "79df67f4.514258",
- "wires": [
- [
- "37c2dea1.9a4e82"
- ]
- ]
- },
- {
- "id": "d2367a6.32d0b88",
- "type": "set",
- "name": "set vf-module-index=0",
- "xml": "<set>\n<parameter name='vf-module-index' value='0' />\n",
- "comments": "",
- "x": 967.9522895812988,
- "y": 259.5715717077255,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "fbe20ca5.38fa1",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 628.0118522644043,
- "y": 387.4406465291977,
- "z": "79df67f4.514258",
- "wires": [
- [
- "6a7324ac.7b0bcc"
- ]
- ]
- },
- {
- "id": "bc8a226e.61ad3",
- "type": "set",
- "name": "set vf-module-id",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id'\n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n",
- "comments": "",
- "x": 984.2379302978516,
- "y": 541.6816152334213,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "6fbf85af.00b1fc",
- "type": "set",
- "name": "set vf-module-parameters",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.'\n value='vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.' />\n",
- "comments": "",
- "x": 1148.9285278320312,
- "y": 1401.5244034528732,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "bab133f3.77f18",
- "type": "set",
- "name": "set order-status to PendingCreate",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.order-status'\n value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n 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-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",
- "comments": "",
- "x": 1038.5121002197266,
- "y": 1103.5448144674301,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "f1f25f48.ce065",
- "type": "set",
- "name": "set vf data for restapi-call-node",
- "xml": "<set>\n<parameter name='vf.vf-module-id'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />\n<parameter name='vf.vf-module-data.sdnc-request-header.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />\n<parameter name='vf.vf-module-data.request-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />\n<parameter name='vf.vf-module-data.service-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />\n<parameter name='vf.vf-module-data.vnf-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />\n<parameter name='vf.vf-module-data.vf-module-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />\n<parameter name='vf.vf-module-data.vf-module-topology.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />\n<parameter name='vf.vf-module-data.vf-module-level-oper-status.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.request-version'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.tenant'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />",
- "comments": "",
- "x": 1620.8928718566895,
- "y": 2338.2142461538315,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "dbccdeae.36726",
- "type": "execute",
- "name": "generate ss-vfmodule url replace service-instance-id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.ss-vfmodule-assignments`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1687.1428184509277,
- "y": 2386.2142909765244,
- "z": "79df67f4.514258",
- "wires": [
- []
- ]
- },
- {
- "id": "deeeb223.3247f",
- "type": "execute",
- "name": "generate ss-vfmodule url - replace vnf-id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{vnf-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1651.4285163879395,
- "y": 2434.2732080221176,
- "z": "79df67f4.514258",
- "wires": [
- []
- ]
- },
- {
- "id": "5998fcd6.dc3424",
- "type": "execute",
- "name": "generate ss-vfmodule url - replace vf-module-id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{vf-module-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1673.3691902160645,
- "y": 2484.1897081136703,
- "z": "79df67f4.514258",
- "wires": [
- []
- ]
- },
- {
- "id": "decf4ed7.49434",
- "type": "set",
- "name": "set ss.capability-type = vf-module",
- "xml": "<set>\n<parameter name='ss.capability-type' value='vf-module' />\n",
- "comments": "",
- "x": 451.3214569091797,
- "y": 1221.4285987615585,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "9d73c04f.a8004",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 913.607153756278,
- "y": 1402.249972973551,
- "z": "79df67f4.514258",
- "wires": [
- [
- "6fbf85af.00b1fc",
- "beaa39ce.b3ffc8"
- ]
- ]
- },
- {
- "id": "d9639a54.037b48",
- "type": "set",
- "name": "set is-new-vfmodule = true",
- "xml": "<set>\n<parameter name='is-new-vfmodule' value='true' />\n",
- "comments": "",
- "x": 423.0239715576172,
- "y": 199.67871797084808,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "e87b2ba2.633fe8",
- "type": "for",
- "name": "for each existing VF module",
- "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 986.8452301025391,
- "y": 387.1309846639633,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3ba9afdd.0665c"
- ]
- ]
- },
- {
- "id": "3ba9afdd.0665c",
- "type": "switchNode",
- "name": "switch vf-module-id: input vs service-data",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1297.9643630981445,
- "y": 387.7023996114731,
- "z": "79df67f4.514258",
- "wires": [
- [
- "6ce227d9.fecd58"
- ]
- ]
- },
- {
- "id": "6ce227d9.fecd58",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1551.8333930969238,
- "y": 387.52385652065277,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3ad721db.a51a9e"
- ]
- ]
- },
- {
- "id": "24be89e2.e6aa36",
- "type": "set",
- "name": "set is-new-vfmodule = false",
- "xml": "<set>\n<parameter name='is-new-vfmodule' value='false' />\n",
- "comments": "",
- "x": 1924.0001335144043,
- "y": 386.7857450246811,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "3ad721db.a51a9e",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1693.2501373291016,
- "y": 387.0357412099838,
- "z": "79df67f4.514258",
- "wires": [
- [
- "24be89e2.e6aa36",
- "1e447c14.cce5b4",
- "3f5ccfb0.8d0e9"
- ]
- ]
- },
- {
- "id": "1e447c14.cce5b4",
- "type": "break",
- "name": "break",
- "xml": "<break>\n",
- "comments": "",
- "x": 1861.1429252624512,
- "y": 473.03571927547455,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "3f5ccfb0.8d0e9",
- "type": "set",
- "name": "set vf-module-index = idx",
- "xml": "<set>\n<parameter name='vf-module-index' value='`$idx`' />\n",
- "comments": "",
- "x": 1916.9644470214844,
- "y": 430.0714000463486,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "98a1c4.7cd14e4",
- "type": "set",
- "name": "set new vf-module_length = vf-module-index + 1",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-module-index + 1`' />\n",
- "comments": "",
- "x": 1049.3097114562988,
- "y": 300.8930000066757,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "6a7324ac.7b0bcc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 765.1667671203613,
- "y": 387.82150876522064,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3c04529f.56f7be",
- "e87b2ba2.633fe8"
- ]
- ]
- },
- {
- "id": "d693bb2e.413388",
- "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' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length + 1`' />\n",
- "comments": "",
- "x": 1534.416790008545,
- "y": 499.5715135335922,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "3c04529f.56f7be",
- "type": "switchNode",
- "name": "switch is-new-vfmodule",
- "xml": "<switch test='`$is-new-vfmodule`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 972.6667633056641,
- "y": 457.3928884267807,
- "z": "79df67f4.514258",
- "wires": [
- [
- "4309a437.97210c"
- ]
- ]
- },
- {
- "id": "4309a437.97210c",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1170.5239181518555,
- "y": 456.9643357992172,
- "z": "79df67f4.514258",
- "wires": [
- [
- "96be78ac.86f8b8"
- ]
- ]
- },
- {
- "id": "37c2dea1.9a4e82",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 771.6667633056641,
- "y": 280.32150304317474,
- "z": "79df67f4.514258",
- "wires": [
- [
- "98a1c4.7cd14e4",
- "d2367a6.32d0b88"
- ]
- ]
- },
- {
- "id": "30e274b0.d8c48c",
- "type": "other",
- "name": "0",
- "xml": "<outcome value='0'>\n",
- "comments": "",
- "outputs": 1,
- "x": 630,
- "y": 318.7499974966049,
- "z": "79df67f4.514258",
- "wires": [
- [
- "37c2dea1.9a4e82"
- ]
- ]
- },
- {
- "id": "ee1bc60b.f75e88",
- "type": "switchNode",
- "name": "switch is-new-vfmodule",
- "xml": "<switch test='`$is-new-vfmodule`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 415.75,
- "y": 542.4999974966049,
- "z": "79df67f4.514258",
- "wires": [
- [
- "13983552.193d8b"
- ]
- ]
- },
- {
- "id": "13983552.193d8b",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 613.6071548461914,
- "y": 542.0714448690414,
- "z": "79df67f4.514258",
- "wires": [
- [
- "cc2f6623.a91fa8"
- ]
- ]
- },
- {
- "id": "6d104f94.64904",
- "type": "set",
- "name": "Copy vf-module-topology data",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-id' \n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-name' \n value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-type' \n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.tenant' \n value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-cloud-region' \n value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli'\n value='`$vf-module-topology-operation-input.vf-module-request-input.aic-clli`' />",
- "comments": "",
- "x": 1029.500015258789,
- "y": 587.50006711483,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "20ce23b1.a03bcc",
- "type": "set",
- "name": "set from DB",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-invariant-uuid'\n value='`$db.vf-module-model.invariant-uuid`' />\n",
- "comments": "",
- "x": 1394.511775970459,
- "y": 639.9435075521469,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "f594ed84.91226",
- "type": "switchNode",
- "name": "switch input model-invariant-uuid",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1038.3688507080078,
- "y": 662.7679513692856,
- "z": "79df67f4.514258",
- "wires": [
- [
- "19819d73.7f6253",
- "20ac1beb.2d92a4"
- ]
- ]
- },
- {
- "id": "19819d73.7f6253",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1244.0355224609375,
- "y": 639.9109147787094,
- "z": "79df67f4.514258",
- "wires": [
- [
- "20ce23b1.a03bcc"
- ]
- ]
- },
- {
- "id": "20ac1beb.2d92a4",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1245.4641189575195,
- "y": 684.1965059041977,
- "z": "79df67f4.514258",
- "wires": [
- [
- "6cb882c0.21104c"
- ]
- ]
- },
- {
- "id": "6cb882c0.21104c",
- "type": "set",
- "name": "set from input",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-invariant-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n",
- "comments": "",
- "x": 1399.749855041504,
- "y": 683.6250780820847,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "c1338cf1.49d55",
- "type": "set",
- "name": "set from DB",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-uuid'\n value='`$db.vf-module-model.uuid`' />\n",
- "comments": "",
- "x": 1395.4640464782715,
- "y": 728.4821838140488,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "da9fd0ff.5b11d",
- "type": "switchNode",
- "name": "switch input model-uuid",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1010.9878692626953,
- "y": 751.3066886663437,
- "z": "79df67f4.514258",
- "wires": [
- [
- "efa13db1.f31b3",
- "dc586e76.0fe1f"
- ]
- ]
- },
- {
- "id": "efa13db1.f31b3",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1244.9878425598145,
- "y": 728.4496206045151,
- "z": "79df67f4.514258",
- "wires": [
- [
- "c1338cf1.49d55"
- ]
- ]
- },
- {
- "id": "dc586e76.0fe1f",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1246.4164390563965,
- "y": 772.7352117300034,
- "z": "79df67f4.514258",
- "wires": [
- [
- "37b9776c.f277f8"
- ]
- ]
- },
- {
- "id": "37b9776c.f277f8",
- "type": "set",
- "name": "set from input",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n",
- "comments": "",
- "x": 1400.7021751403809,
- "y": 772.1637839078903,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "5083e9e9.b5d418",
- "type": "set",
- "name": "set from DB",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-version'\n value='`$db.vf-module-model.version`' />\n",
- "comments": "",
- "x": 1386.6069793701172,
- "y": 817.3393911123276,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "c4880faa.a34e6",
- "type": "switchNode",
- "name": "switch input model-version",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1013.1307411193848,
- "y": 840.1638358831406,
- "z": "79df67f4.514258",
- "wires": [
- [
- "2928758b.07188a",
- "92292a26.871f08"
- ]
- ]
- },
- {
- "id": "2928758b.07188a",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1236.1307258605957,
- "y": 817.3067983388901,
- "z": "79df67f4.514258",
- "wires": [
- [
- "5083e9e9.b5d418"
- ]
- ]
- },
- {
- "id": "92292a26.871f08",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1237.5593223571777,
- "y": 861.5923894643784,
- "z": "79df67f4.514258",
- "wires": [
- [
- "9d1f9d6a.be14d"
- ]
- ]
- },
- {
- "id": "9d1f9d6a.be14d",
- "type": "set",
- "name": "set from input",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-version'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n",
- "comments": "",
- "x": 1391.845058441162,
- "y": 861.0209616422653,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "3b78e526.52c88a",
- "type": "set",
- "name": "set from DB",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-name'\n value='`$db.vf-module-model.name`' />\n",
- "comments": "",
- "x": 1386.6069793701172,
- "y": 904.4822133779526,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "63f6df8b.ac388",
- "type": "switchNode",
- "name": "switch input model-name",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1010.1307411193848,
- "y": 927.3066581487656,
- "z": "79df67f4.514258",
- "wires": [
- [
- "1a910821.50f078",
- "8103d79c.7a9d38"
- ]
- ]
- },
- {
- "id": "1a910821.50f078",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1236.1307258605957,
- "y": 904.4496206045151,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3b78e526.52c88a"
- ]
- ]
- },
- {
- "id": "8103d79c.7a9d38",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1237.5593223571777,
- "y": 948.7352117300034,
- "z": "79df67f4.514258",
- "wires": [
- [
- "9a8105a2.ce7958"
- ]
- ]
- },
- {
- "id": "9a8105a2.ce7958",
- "type": "set",
- "name": "set from input",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-name'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`' />\n",
- "comments": "",
- "x": 1391.845058441162,
- "y": 948.1637839078903,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "c363e16.a6e012",
- "type": "set",
- "name": "set model-customization-uuid",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-customization-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n",
- "comments": "",
- "x": 1023.5830993652344,
- "y": 1001.2441428899765,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "c5d1dbac.64b258",
- "type": "set",
- "name": "copy input data",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.'\n 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-module-index].vf-module-data.request-information.'\n value='$vf-module-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.'\n value='$vf-module-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.'\n value='$vf-module-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.'\n 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-module-index].vf-module-data.vf-module-request-input.' \n value='$vf-module-topology-operation-input.vf-module-request-input.' />",
- "comments": "",
- "x": 980.2381744384766,
- "y": 1055.9288457632065,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "cc2f6623.a91fa8",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 769.7024154663086,
- "y": 541.8491891622543,
- "z": "79df67f4.514258",
- "wires": [
- [
- "f594ed84.91226",
- "da9fd0ff.5b11d",
- "c4880faa.a34e6",
- "63f6df8b.ac388",
- "c363e16.a6e012",
- "c5d1dbac.64b258",
- "6d104f94.64904",
- "bc8a226e.61ad3",
- "bab133f3.77f18",
- "efb9f733.4243e8"
- ]
- ]
- },
- {
- "id": "3c2bf88f.0c3cd8",
- "type": "set",
- "name": "set vf-module-index = vf-module_length",
- "xml": "<set>\n<parameter name='vf-module-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n",
- "comments": "",
- "x": 1567.0000190734863,
- "y": 455.75000512599945,
- "z": "79df67f4.514258",
- "wires": []
- },
- {
- "id": "96be78ac.86f8b8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1313.5000190734863,
- "y": 456.50000512599945,
- "z": "79df67f4.514258",
- "wires": [
- [
- "3c2bf88f.0c3cd8",
- "d693bb2e.413388"
- ]
- ]
- },
- {
- "id": "67b02263.04705c",
- "type": "set",
- "name": "set error-message",
- "xml": "<set>\n<parameter name=\"error-message\" value=\"Failed to persist self-serve vf-module assignments during assign in MD-SAL\" />",
- "comments": "",
- "x": 2145.714286804199,
- "y": 2594.4284204244614,
- "z": "79df67f4.514258",
- "wires": []
- }
-]
+ {
+ "id": "12bc7aeb.43dcad",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 122.5,
+ "y": 76.25,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "1e5e184f.28bd88"
+ ]
+ ]
+ },
+ {
+ "id": "42b706d6.4e564",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 145.69049072265625,
+ "y": 191.09921646118164,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "3c32570b.4419e8",
+ "e77c3de3.2b2008",
+ "a2418fcd.7da918",
+ "d51ac9f8.4a305",
+ "9228bdc2.01422",
+ "7163cb8f.b962f4",
+ "462e6ed1.1f6e98",
+ "ef66a16f.622d48"
+ ]
+ ]
+ },
+ {
+ "id": "c48beb19.71a678",
+ "type": "method",
+ "name": "method self-serve-vf-module-assign",
+ "xml": "<method rpc='self-serve-vf-module-assign' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 226.26190948486328,
+ "y": 130.95635509490967,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "42b706d6.4e564"
+ ]
+ ]
+ },
+ {
+ "id": "1e5e184f.28bd88",
+ "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": 384.73819732666016,
+ "y": 76.44049263000488,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "c48beb19.71a678"
+ ]
+ ]
+ },
+ {
+ "id": "e77c3de3.2b2008",
+ "type": "switchNode",
+ "name": "switch vf-module-parameters.param_length",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 460.7500305175781,
+ "y": 1393.6191635131836,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "ed16c85f.fc48c8"
+ ]
+ ]
+ },
+ {
+ "id": "ed16c85f.fc48c8",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 720.7500610351562,
+ "y": 1393.6191635131836,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "b82561ca.f02328"
+ ]
+ ]
+ },
+ {
+ "id": "167f28dd.0f7caf",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:self-serve-vfmodule-ra-assignment",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vfmodule-ra-assignment' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1262.4643096923828,
+ "y": 1440.9049139022827,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "11acae54.f95aba"
+ ]
+ ]
+ },
+ {
+ "id": "db17de85.c633b8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n",
+ "comments": "",
+ "x": 1743.1785507202148,
+ "y": 1440.4763174057007,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "550f157b.22aeb4",
+ "type": "for",
+ "name": "foreach vf-module-parameters.param[]",
+ "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 746.0359954833984,
+ "y": 1703.7977504730225,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "8bfdae81.64bc",
+ "44193b49.81625c"
+ ]
+ ]
+ },
+ {
+ "id": "3c32570b.4419e8",
+ "type": "set",
+ "name": "set ss.capability.execution-order[]",
+ "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='generate-name' />\n<parameter name='ss.capability.execution-order[1]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[2]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[3]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[4]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[7]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[8]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[11]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[12]' value='aai-vf-module-put' />\n<parameter name='ss.capability.execution-order_length' value='13' />\n",
+ "comments": "",
+ "x": 432.91666412353516,
+ "y": 1255.6786432266235,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "a2418fcd.7da918",
+ "type": "for",
+ "name": "foreach capability-order[]",
+ "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 401.6786193847656,
+ "y": 1559.6190433502197,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "81a43bcc.00994",
+ "5aa98964.70baf8",
+ "550f157b.22aeb4",
+ "b8e43d56.b9536"
+ ]
+ ]
+ },
+ {
+ "id": "8bfdae81.64bc",
+ "type": "switchNode",
+ "name": "switch capability-name param vs. execution",
+ "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1112.4288177490234,
+ "y": 1749.4405431747437,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "e0d41e9c.3cc358"
+ ]
+ ]
+ },
+ {
+ "id": "e0d41e9c.3cc358",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1375.9288177490234,
+ "y": 1749.6905431747437,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "69b89942.138258"
+ ]
+ ]
+ },
+ {
+ "id": "11acae54.f95aba",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1589.0356559753418,
+ "y": 1440.3335075378418,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "db17de85.c633b8"
+ ]
+ ]
+ },
+ {
+ "id": "81a43bcc.00994",
+ "type": "set",
+ "name": "set ss.capability-name",
+ "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n\n<!--\nss.capability.execution-order\n-->",
+ "comments": "",
+ "x": 693.0356750488281,
+ "y": 1559.5714950561523,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "44193b49.81625c",
+ "type": "set",
+ "name": "tmp.param.capability-name",
+ "xml": "<set>\n<parameter name='tmp.param.capability-name' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.capability-name`' />\n",
+ "comments": "",
+ "x": 1061.7858428955078,
+ "y": 1704.0477533340454,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "5aa98964.70baf8",
+ "type": "set",
+ "name": "set ss.capability-action = assign",
+ "xml": "<set>\n<parameter name='ss.capability-action' value='assign' />\n",
+ "comments": "",
+ "x": 723.7498168945312,
+ "y": 1606.488079071045,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "b8e43d56.b9536",
+ "type": "set",
+ "name": "set capability-dg with 'self-serve-' + capability-name",
+ "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",
+ "comments": "",
+ "x": 786.0832824707031,
+ "y": 1655.1429500579834,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "af4cde5d.9f669",
+ "type": "set",
+ "name": "set sdnc-generated-cloud-resources = true",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.sdnc-generated-cloud-resources' \n\tvalue='true' />\n",
+ "comments": "",
+ "x": 1048.452392578125,
+ "y": 1142.1073188781738,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "69b89942.138258",
+ "type": "switchNode",
+ "name": "switch resource-resolution-data.status",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 492.0121765136719,
+ "y": 2278.2223148345947,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "c7c5dfa8.472188",
+ "c0428c78.ef2de8"
+ ]
+ ]
+ },
+ {
+ "id": "c7c5dfa8.472188",
+ "type": "other",
+ "name": "PENDING",
+ "xml": "<outcome value='PENDING'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 761.3693923950195,
+ "y": 2278.222270965576,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "a532ff1e.50cc18"
+ ]
+ ]
+ },
+ {
+ "id": "c0428c78.ef2de8",
+ "type": "other",
+ "name": "FAILED",
+ "xml": "<outcome value='FAILED'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 754.9052085876465,
+ "y": 2329.186601638794,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "a532ff1e.50cc18"
+ ]
+ ]
+ },
+ {
+ "id": "a532ff1e.50cc18",
+ "type": "call",
+ "name": "call ss.capability-dg",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 970.0239410400391,
+ "y": 2329.948452949524,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "2b08bc93.66d5e4"
+ ]
+ ]
+ },
+ {
+ "id": "2021ce71.5107f2",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`\" />\n",
+ "comments": "",
+ "x": 1544.7142753601074,
+ "y": 2683.639304161072,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "2b08bc93.66d5e4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1163.0592918395996,
+ "y": 2329.6627311706543,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "53e06cef.741024"
+ ]
+ ]
+ },
+ {
+ "id": "53e06cef.741024",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1326.333408355713,
+ "y": 2328.9722719192505,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "2021ce71.5107f2",
+ "71459a99.6f533c",
+ "66f8d8e5.abbdb",
+ "778431fc.00f0d8",
+ "c5d6ddf6.bd51a8",
+ "50d59713.d539c"
+ ]
+ ]
+ },
+ {
+ "id": "71459a99.6f533c",
+ "type": "execute",
+ "name": "execute RestApiCallNode - PUT vf-module",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ss-vfmodule\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1641.8808479309082,
+ "y": 2585.3462314605713,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "a46ae298.db94c",
+ "21f8b8f5.93aeb8"
+ ]
+ ]
+ },
+ {
+ "id": "a46ae298.db94c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1916.4745140075684,
+ "y": 2639.3443851470947,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "e270de80.3b03b"
+ ]
+ ]
+ },
+ {
+ "id": "21f8b8f5.93aeb8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1908.903148651123,
+ "y": 2585.8444051742554,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "e270de80.3b03b"
+ ]
+ ]
+ },
+ {
+ "id": "7163cb8f.b962f4",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vf-assign.log' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 344.25794219970703,
+ "y": 2830.373447418213,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d51ac9f8.4a305",
+ "type": "switchNode",
+ "name": "switch vf-module_length",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 398.7022895812988,
+ "y": 310.5119981765747,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "1ccbbcde.8d428b",
+ "dab73429.9634c8",
+ "b8b7c396.4422e8"
+ ]
+ ]
+ },
+ {
+ "id": "1ccbbcde.8d428b",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 611.3332595825195,
+ "y": 239.90478897094727,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "47daeaf3.14676c"
+ ]
+ ]
+ },
+ {
+ "id": "644c1a28.31d2ac",
+ "type": "set",
+ "name": "set vf-module-index=0",
+ "xml": "<set>\n<parameter name='vf-module-index' value='0' />\n",
+ "comments": "",
+ "x": 950.4522895812988,
+ "y": 250.8215742111206,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "dab73429.9634c8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 610.5118522644043,
+ "y": 378.6906490325928,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "1d0ff476.0237d4"
+ ]
+ ]
+ },
+ {
+ "id": "537df250.c3aa4c",
+ "type": "set",
+ "name": "set vf-module-id",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id'\n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n",
+ "comments": "",
+ "x": 966.7379302978516,
+ "y": 532.9316177368164,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "657f87b6.cbfdd8",
+ "type": "set",
+ "name": "set vf-module-parameters",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.'\n value='vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.' />\n",
+ "comments": "",
+ "x": 1131.4285278320312,
+ "y": 1392.7744059562683,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "ecfbe016.6cb8a8",
+ "type": "set",
+ "name": "set order-status to PendingCreate",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.order-status'\n value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n 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-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n value='`$vf-module-topology-operation-input.request-information.request-action`' />\n",
+ "comments": "",
+ "x": 1021.0121002197266,
+ "y": 1094.7948169708252,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "66f8d8e5.abbdb",
+ "type": "set",
+ "name": "set vf data for restapi-call-node",
+ "xml": "<set>\n<parameter name='vf.vf-module-id'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />\n<parameter name='vf.vf-module-data.sdnc-request-header.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />\n<parameter name='vf.vf-module-data.request-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />\n<parameter name='vf.vf-module-data.service-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />\n<parameter name='vf.vf-module-data.vnf-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />\n<parameter name='vf.vf-module-data.vf-module-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />\n<parameter name='vf.vf-module-data.vf-module-topology.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />\n<parameter name='vf.vf-module-data.vf-module-level-oper-status.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.request-version'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.tenant'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />",
+ "comments": "",
+ "x": 1603.3928718566895,
+ "y": 2329.4642486572266,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "778431fc.00f0d8",
+ "type": "execute",
+ "name": "generate ss-vfmodule url replace service-instance-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.ss-vfmodule-assignments`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1669.6428184509277,
+ "y": 2377.4642934799194,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c5d6ddf6.bd51a8",
+ "type": "execute",
+ "name": "generate ss-vfmodule url - replace vnf-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{vnf-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1633.9285163879395,
+ "y": 2425.5232105255127,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "50d59713.d539c",
+ "type": "execute",
+ "name": "generate ss-vfmodule url - replace vf-module-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{vf-module-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1655.8691902160645,
+ "y": 2475.4397106170654,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9228bdc2.01422",
+ "type": "set",
+ "name": "set ss.capability-type = vf-module",
+ "xml": "<set>\n<parameter name='ss.capability-type' value='vf-module' />\n",
+ "comments": "",
+ "x": 433.8214569091797,
+ "y": 1212.6786012649536,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "b82561ca.f02328",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 896.107153756278,
+ "y": 1393.499975476946,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "657f87b6.cbfdd8",
+ "167f28dd.0f7caf"
+ ]
+ ]
+ },
+ {
+ "id": "462e6ed1.1f6e98",
+ "type": "set",
+ "name": "set is-new-vfmodule = true",
+ "xml": "<set>\n<parameter name='is-new-vfmodule' value='true' />\n",
+ "comments": "",
+ "x": 405.5239715576172,
+ "y": 190.92872047424316,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "7b834bf8.2ecde4",
+ "type": "for",
+ "name": "for each existing VF module",
+ "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 969.3452301025391,
+ "y": 378.3809871673584,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "bddb9f56.b540e"
+ ]
+ ]
+ },
+ {
+ "id": "bddb9f56.b540e",
+ "type": "switchNode",
+ "name": "switch vf-module-id: input vs service-data",
+ "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1280.4643630981445,
+ "y": 378.95240211486816,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "3c84c1f4.0d55ee"
+ ]
+ ]
+ },
+ {
+ "id": "3c84c1f4.0d55ee",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1534.3333930969238,
+ "y": 378.77385902404785,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "b961c23.6df454"
+ ]
+ ]
+ },
+ {
+ "id": "4a7f42d7.016684",
+ "type": "set",
+ "name": "set is-new-vfmodule = false",
+ "xml": "<set>\n<parameter name='is-new-vfmodule' value='false' />\n",
+ "comments": "",
+ "x": 1906.5001335144043,
+ "y": 378.0357475280762,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "b961c23.6df454",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1675.7501373291016,
+ "y": 378.2857437133789,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "4a7f42d7.016684",
+ "6b00168d.69aa58",
+ "6d8b036e.192174"
+ ]
+ ]
+ },
+ {
+ "id": "6b00168d.69aa58",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 1843.6429252624512,
+ "y": 464.28572177886963,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "6d8b036e.192174",
+ "type": "set",
+ "name": "set vf-module-index = idx",
+ "xml": "<set>\n<parameter name='vf-module-index' value='`$idx`' />\n",
+ "comments": "",
+ "x": 1899.4644470214844,
+ "y": 421.32140254974365,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "c04fc421.1fa08",
+ "type": "set",
+ "name": "set new vf-module_length = vf-module-index + 1",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-module-index + 1`' />\n",
+ "comments": "",
+ "x": 1031.8097114562988,
+ "y": 292.1430025100708,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "1d0ff476.0237d4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 747.6667671203613,
+ "y": 379.0715112686157,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "aba5ad0b.d08a6",
+ "7b834bf8.2ecde4"
+ ]
+ ]
+ },
+ {
+ "id": "9970993.9b5e368",
+ "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' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length + 1`' />\n",
+ "comments": "",
+ "x": 1516.916790008545,
+ "y": 490.8215160369873,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "aba5ad0b.d08a6",
+ "type": "switchNode",
+ "name": "switch is-new-vfmodule",
+ "xml": "<switch test='`$is-new-vfmodule`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 955.1667633056641,
+ "y": 448.6428909301758,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "6a98da26.1c8fec"
+ ]
+ ]
+ },
+ {
+ "id": "6a98da26.1c8fec",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1153.0239181518555,
+ "y": 448.2143383026123,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "569ebbe2.83090c"
+ ]
+ ]
+ },
+ {
+ "id": "47daeaf3.14676c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 754.1667633056641,
+ "y": 271.5715055465698,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "c04fc421.1fa08",
+ "644c1a28.31d2ac"
+ ]
+ ]
+ },
+ {
+ "id": "b8b7c396.4422e8",
+ "type": "other",
+ "name": "0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 612.5,
+ "y": 310,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "47daeaf3.14676c"
+ ]
+ ]
+ },
+ {
+ "id": "ef66a16f.622d48",
+ "type": "switchNode",
+ "name": "switch is-new-vfmodule",
+ "xml": "<switch test='`$is-new-vfmodule`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 398.25,
+ "y": 533.75,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "8797ff7f.0ab87"
+ ]
+ ]
+ },
+ {
+ "id": "8797ff7f.0ab87",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 596.1071548461914,
+ "y": 533.3214473724365,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "43f1864.5d3a0f8"
+ ]
+ ]
+ },
+ {
+ "id": "cdadece8.6ad91",
+ "type": "set",
+ "name": "Copy vf-module-topology data",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-id' \n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-name' \n value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-type' \n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.tenant' \n value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-cloud-region' \n value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli'\n value='`$vf-module-topology-operation-input.vf-module-request-input.aic-clli`' />",
+ "comments": "",
+ "x": 1012.0000152587891,
+ "y": 578.7500696182251,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "8d9a316.a485fd",
+ "type": "set",
+ "name": "set from DB",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-invariant-uuid'\n value='`$db.vf-module-model.invariant-uuid`' />\n",
+ "comments": "",
+ "x": 1377.011775970459,
+ "y": 631.193510055542,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "f413ec38.7eb0d8",
+ "type": "switchNode",
+ "name": "switch input model-invariant-uuid",
+ "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1020.8688507080078,
+ "y": 654.0179538726807,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "75cbae54.704e8",
+ "25839834.a62618"
+ ]
+ ]
+ },
+ {
+ "id": "75cbae54.704e8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1226.5355224609375,
+ "y": 631.1609172821045,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "8d9a316.a485fd"
+ ]
+ ]
+ },
+ {
+ "id": "25839834.a62618",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1227.9641189575195,
+ "y": 675.4465084075928,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "d5553901.d524c"
+ ]
+ ]
+ },
+ {
+ "id": "d5553901.d524c",
+ "type": "set",
+ "name": "set from input",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-invariant-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n",
+ "comments": "",
+ "x": 1382.249855041504,
+ "y": 674.8750805854797,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "c794a142.21cde",
+ "type": "set",
+ "name": "set from DB",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-uuid'\n value='`$db.vf-module-model.uuid`' />\n",
+ "comments": "",
+ "x": 1377.9640464782715,
+ "y": 719.7321863174438,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "6edcc0fe.2ad32",
+ "type": "switchNode",
+ "name": "switch input model-uuid",
+ "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 993.4878692626953,
+ "y": 742.5566911697388,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "48396253.c942dc",
+ "5fadd2d0.095abc"
+ ]
+ ]
+ },
+ {
+ "id": "48396253.c942dc",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1227.4878425598145,
+ "y": 719.6996231079102,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "c794a142.21cde"
+ ]
+ ]
+ },
+ {
+ "id": "5fadd2d0.095abc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1228.9164390563965,
+ "y": 763.9852142333984,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "dfd24e14.2a853"
+ ]
+ ]
+ },
+ {
+ "id": "dfd24e14.2a853",
+ "type": "set",
+ "name": "set from input",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n",
+ "comments": "",
+ "x": 1383.2021751403809,
+ "y": 763.4137864112854,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "9a10da1.265cb28",
+ "type": "set",
+ "name": "set from DB",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-version'\n value='`$db.vf-module-model.version`' />\n",
+ "comments": "",
+ "x": 1369.1069793701172,
+ "y": 808.5893936157227,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "16ab5c0.0baaca4",
+ "type": "switchNode",
+ "name": "switch input model-version",
+ "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 995.6307411193848,
+ "y": 831.4138383865356,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "2b66c81d.1e7bc",
+ "a5f530d.fa7e45"
+ ]
+ ]
+ },
+ {
+ "id": "2b66c81d.1e7bc",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1218.6307258605957,
+ "y": 808.5568008422852,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "9a10da1.265cb28"
+ ]
+ ]
+ },
+ {
+ "id": "a5f530d.fa7e45",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1220.0593223571777,
+ "y": 852.8423919677734,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "cf885c5a.c0588"
+ ]
+ ]
+ },
+ {
+ "id": "cf885c5a.c0588",
+ "type": "set",
+ "name": "set from input",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-version'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n",
+ "comments": "",
+ "x": 1374.345058441162,
+ "y": 852.2709641456604,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "6078d5ec.339204",
+ "type": "set",
+ "name": "set from DB",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-name'\n value='`$db.vf-module-model.name`' />\n",
+ "comments": "",
+ "x": 1369.1069793701172,
+ "y": 895.7322158813477,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "a2e575a9.65814",
+ "type": "switchNode",
+ "name": "switch input model-name",
+ "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 992.6307411193848,
+ "y": 918.5566606521606,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "89386a5a.8b7548",
+ "4234f708.5c303"
+ ]
+ ]
+ },
+ {
+ "id": "89386a5a.8b7548",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1218.6307258605957,
+ "y": 895.6996231079102,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "6078d5ec.339204"
+ ]
+ ]
+ },
+ {
+ "id": "4234f708.5c303",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1220.0593223571777,
+ "y": 939.9852142333984,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "4ae2b1d.2090e5"
+ ]
+ ]
+ },
+ {
+ "id": "4ae2b1d.2090e5",
+ "type": "set",
+ "name": "set from input",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-name'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`' />\n",
+ "comments": "",
+ "x": 1374.345058441162,
+ "y": 939.4137864112854,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "2db84f30.cebb7",
+ "type": "set",
+ "name": "set model-customization-uuid",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-customization-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n",
+ "comments": "",
+ "x": 1006.0830993652344,
+ "y": 992.4941453933716,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "bc2d0f7c.869738",
+ "type": "set",
+ "name": "copy input data",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.'\n 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-module-index].vf-module-data.request-information.'\n value='$vf-module-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.'\n value='$vf-module-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.'\n value='$vf-module-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.'\n 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-module-index].vf-module-data.vf-module-request-input.' \n value='$vf-module-topology-operation-input.vf-module-request-input.' />",
+ "comments": "",
+ "x": 962.7381744384766,
+ "y": 1047.1788482666016,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "43f1864.5d3a0f8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 752.2024154663086,
+ "y": 533.0991916656494,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "f413ec38.7eb0d8",
+ "6edcc0fe.2ad32",
+ "16ab5c0.0baaca4",
+ "a2e575a9.65814",
+ "2db84f30.cebb7",
+ "bc2d0f7c.869738",
+ "cdadece8.6ad91",
+ "537df250.c3aa4c",
+ "ecfbe016.6cb8a8",
+ "af4cde5d.9f669"
+ ]
+ ]
+ },
+ {
+ "id": "896850ac.e5c6d8",
+ "type": "set",
+ "name": "set vf-module-index = vf-module_length",
+ "xml": "<set>\n<parameter name='vf-module-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n",
+ "comments": "",
+ "x": 1549.5000190734863,
+ "y": 447.00000762939453,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ },
+ {
+ "id": "569ebbe2.83090c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1296.0000190734863,
+ "y": 447.75000762939453,
+ "z": "2ac4dd98.962cc2",
+ "wires": [
+ [
+ "896850ac.e5c6d8",
+ "9970993.9b5e368"
+ ]
+ ]
+ },
+ {
+ "id": "e270de80.3b03b",
+ "type": "set",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"Failed to persist self-serve vf-module assignments during assign in MD-SAL\" />",
+ "comments": "",
+ "x": 2128.214286804199,
+ "y": 2585.6784229278564,
+ "z": "2ac4dd98.962cc2",
+ "wires": []
+ }
+] \ No newline at end of file