aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-create-vpe-pool.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-create-vpe-pool.json')
-rwxr-xr-xplatform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-create-vpe-pool.json2328
1 files changed, 2328 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-create-vpe-pool.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-create-vpe-pool.json
new file mode 100755
index 00000000..7520400e
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-create-vpe-pool.json
@@ -0,0 +1,2328 @@
+[
+ {
+ "id": "4534b62a.0033c8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 113,
+ "y": 45,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "7a05ead5.ce637c"
+ ]
+ ]
+ },
+ {
+ "id": "7a05ead5.ce637c",
+ "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": 371.9403991699219,
+ "y": 45.32145690917969,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "2647e8ec.6a14c"
+ ]
+ ]
+ },
+ {
+ "id": "2647e8ec.6a14c",
+ "type": "method",
+ "name": "method self-serve-create-vpe-pool",
+ "xml": "<method rpc='self-serve-create-vpe-pool' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 719,
+ "y": 46,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "503cee83.8176f8"
+ ]
+ ]
+ },
+ {
+ "id": "503cee83.8176f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 113,
+ "y": 100,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "de9c8b6c.c3b64",
+ "99fdb9f2.2f945",
+ "c13ead81.c0e778",
+ "eaf68797.b01bc",
+ "27117daa.dba1e2",
+ "13ecc592.3b82d2",
+ "546765f8.01c9d4",
+ "eb7cce81.86bd1",
+ "c8df7eb8.019278",
+ "f9bd328a.55cf5"
+ ]
+ ]
+ },
+ {
+ "id": "5dbeb8a.df29948",
+ "type": "comment",
+ "name": "Validate inputs",
+ "info": "ss.capability-action should be \"ASSIGN\" or \"\"UNASSIGN\"",
+ "comments": "",
+ "x": 174,
+ "y": 144,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "92bd17b7.0c46a8",
+ "type": "comment",
+ "name": "Call self-service-capability-param-resolution DG to resolve all resource-keys",
+ "info": "",
+ "comments": "",
+ "x": 357,
+ "y": 507,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "de9c8b6c.c3b64",
+ "type": "switchNode",
+ "name": "switch ss.capability-name",
+ "xml": "<switch test=\"`$ss.capability-name`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 211,
+ "y": 187,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "3491d387.547e6c",
+ "890817a5.8f931",
+ "8e36d7b3.d9984",
+ "239e4d46.dfcafa"
+ ]
+ ]
+ },
+ {
+ "id": "3491d387.547e6c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 485,
+ "y": 160,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "9008977d.b80888"
+ ]
+ ]
+ },
+ {
+ "id": "890817a5.8f931",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value='null'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 475,
+ "y": 200,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8e36d7b3.d9984",
+ "type": "other",
+ "name": "create-vpe-pool",
+ "xml": "<outcome value='create-vpe-pool'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 504,
+ "y": 241,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "7cbc5e7f.dcaa08"
+ ]
+ ]
+ },
+ {
+ "id": "d27f0dd0.d782b8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='ss.capability-name is not set' />\n",
+ "comments": "",
+ "x": 778,
+ "y": 198,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "7cbc5e7f.dcaa08",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"com.att.sdnctl.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: ss.capability-name is create-vpe-pool\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 686,
+ "y": 241,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c13ead81.c0e778",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 169,
+ "y": 553,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "46e56c5.9035194",
+ "85646572.de6908",
+ "c7b75a78.cb6188"
+ ]
+ ]
+ },
+ {
+ "id": "85646572.de6908",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: call self-service-capability-param-resolution DG\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 196,
+ "y": 612,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "46e56c5.9035194",
+ "type": "set",
+ "name": "set variables for calling capability-param-resolution",
+ "xml": "<set>\n<!--<parameter name='generate-unique-name-input.index-table-name' value='VM_NAME_INDEX' />-->",
+ "comments": "",
+ "x": 332.6904296875,
+ "y": 656.3095703125,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "c7b75a78.cb6188",
+ "type": "call",
+ "name": "call GR-API:self-serve-capability-param-resolution",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 329.023681640625,
+ "y": 702.976318359375,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "630eb235.4fcc04",
+ "d749593f.703798"
+ ]
+ ]
+ },
+ {
+ "id": "630eb235.4fcc04",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 643.7379760742188,
+ "y": 679.83349609375,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "963fb7d6.2c2aa8"
+ ]
+ ]
+ },
+ {
+ "id": "d749593f.703798",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 647.0713259379067,
+ "y": 731.5001392364502,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "867349fd.5443f8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='402' />\n<parameter name='error-message' value='Failure calling self-service-capability-param-resolution' />\n",
+ "comments": "",
+ "x": 933,
+ "y": 702,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "4e6b2cfc.9d7fb4",
+ "type": "comment",
+ "name": "Loop thru vf-module-params for first match with ss.capability-name",
+ "info": "Loop thru service-data.vnfs.vnf[].vnf-data.vf-modules.vf-module[].vf-module-data.vf-module-topology.vf-module-parameters.param_length \nto find the FIRST occurrence of resource-resolution-data.capability-name=$ss.capability-name",
+ "comments": "",
+ "x": 329,
+ "y": 827,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "cdb056c2.bd8168",
+ "type": "for",
+ "name": "for each vf-module-parameters",
+ "xml": "<for index='vf-module-param-index' start='0' end='`$tmp.vf-module-parameters-length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 298,
+ "y": 969,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "d3289bd.0ace4e8",
+ "f99cdaa9.49bcf"
+ ]
+ ]
+ },
+ {
+ "id": "f99cdaa9.49bcf",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: vf-module-param-index\"/>\n<parameter name=\"field3\" value='`$vf-module-param-index`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 511,
+ "y": 969,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3289bd.0ace4e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 280,
+ "y": 1018,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "ff56c1ad.2c3698",
+ "78e47ce9.18fdd4"
+ ]
+ ]
+ },
+ {
+ "id": "eaf68797.b01bc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 168,
+ "y": 873,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "bc4daf9c.37fce8",
+ "cdb056c2.bd8168"
+ ]
+ ]
+ },
+ {
+ "id": "bc4daf9c.37fce8",
+ "type": "set",
+ "name": "set vf-module-parameters-length",
+ "xml": "<set>\n<parameter name='tmp.vf-module-parameters-length' 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_length`' />\n",
+ "comments": "",
+ "x": 305,
+ "y": 925,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "ff56c1ad.2c3698",
+ "type": "set",
+ "name": "set vfModuleParamsCapabilityName",
+ "xml": "<set>\n<parameter name='vfModuleParamsCapabilityName' 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[$vf-module-param-index].resource-resolution-data.capability-name`' />\n",
+ "comments": "",
+ "x": 392,
+ "y": 1061,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "78e47ce9.18fdd4",
+ "type": "switchNode",
+ "name": "switch compare vfModuleParamsCapabilityName and ss.capability-name",
+ "xml": "<switch test=\"`$ss.capability-name == $vfModuleParamsCapabilityName`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 500,
+ "y": 1107,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "5e15f413.886734",
+ "54889e93.08cfd"
+ ]
+ ]
+ },
+ {
+ "id": "4f851f72.ef71",
+ "type": "comment",
+ "name": "Loop thru vf-module-params for first match with ss.capability-name",
+ "info": "Loop thru service-data.vnfs.vnf[].vnf-data.vf-modules.vf-module[].vf-module-data.vf-module-topology.vf-module-parameters.param_length \nto find the FIRST occurrence of resource-resolution-data.capability-name=$ss.capability-name",
+ "comments": "",
+ "x": 795,
+ "y": 1062,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "5e15f413.886734",
+ "type": "outcome",
+ "name": "outcome:ss.capability-name match",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 402,
+ "y": 1155,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "6251def8.2a4a3"
+ ]
+ ]
+ },
+ {
+ "id": "54889e93.08cfd",
+ "type": "other",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 312,
+ "y": 1196,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3af8c92.ef95d36",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: Found ss.capability-name MATCH\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 748,
+ "y": 1155,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6251def8.2a4a3",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 616,
+ "y": 1155,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "3af8c92.ef95d36",
+ "ae5a5639.5744d8",
+ "5ed86630.38f02"
+ ]
+ ]
+ },
+ {
+ "id": "935133ca.0f9a08",
+ "type": "comment",
+ "name": "Break the loop",
+ "info": "",
+ "comments": "",
+ "x": 638,
+ "y": 1249,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "ae5a5639.5744d8",
+ "type": "set",
+ "name": "set resource-resolution-data",
+ "xml": "<set>\n<parameter name='tmp.resource-resolution-data.' 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[$vf-module-param-index].resource-resolution-data.`' />\n",
+ "comments": "",
+ "x": 684,
+ "y": 1203,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "37bb96ea.400b92",
+ "type": "set",
+ "name": "set mac-address-assign test 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-parameters.param_length' value='5' />\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.param[0].name' value='vmxvpfe_sriov41_0_port_mac' />\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.param[0].value' value='somevalue' />\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.param[0].resource-resolution-data.status' value='PENDING' />\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.param[0].resource-resolution-data.capability-name' value='mac-address-assign' />\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.param[0].resource-resolution-data.resource-key_length' value='1' />\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.param[0].resource-resolution-data.resource-key[0].name' value='vnf-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-parameters.param[0].resource-resolution-data.resource-key[0].value' value='vnfname' />\n\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.param[1].name' value='vmxvpfe_sriov41_1_port_mac' />\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.param[1].value' value='somevalue' />\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.param[1].resource-resolution-data.status' value='PENDING' />\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.param[1].resource-resolution-data.capability-name' value='mac-address-assign' />\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.param[1].resource-resolution-data.resource-key_length' value='1' />\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.param[1].resource-resolution-data.resource-key[0].name' value='vnf-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-parameters.param[1].resource-resolution-data.resource-key[0].value' value='vnfname' />\n\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.param[2].name' value='vmxvpfe_sriov41_3_port_mac' />\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.param[2].value' value='somevalue' />\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.param[2].resource-resolution-data.status' value='PENDING' />\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.param[2].resource-resolution-data.capability-name' value='mac-address-assign' />\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.param[2].resource-resolution-data.resource-key_length' value='1' />\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.param[2].resource-resolution-data.resource-key[0].name' value='vnf-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-parameters.param[2].resource-resolution-data.resource-key[0].value' value='vnfname' />\n\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.param[3].name' value='vmxvpfe_sriov41_4_port_mac' />\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.param[3].value' value='somevalue' />\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.param[3].resource-resolution-data.status' value='PENDING' />\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.param[3].resource-resolution-data.capability-name' value='mac-address-assign' />\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.param[3].resource-resolution-data.resource-key_length' value='1' />\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.param[3].resource-resolution-data.resource-key[0].name' value='vnf-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-parameters.param[3].resource-resolution-data.resource-key[0].value' value='vnfname' />",
+ "comments": "",
+ "x": 725,
+ "y": 590,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "ed958c35.488fe8",
+ "type": "comment",
+ "name": "Set temporary test data * TEST-ONLY *",
+ "info": "",
+ "comments": "",
+ "x": 740,
+ "y": 549,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "28edf8b5.2c3db",
+ "type": "set",
+ "name": "set create-vpe-pool test 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-parameters.param[4].name' value='create-vpe-pool' />\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.param[4].value' value='somestatus' />\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.param[4].resource-resolution-data.status' value='PENDING' />\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.param[4].resource-resolution-data.capability-name' value='create-vpe-pool' />\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.param[4].resource-resolution-data.resource-key_length' value='19' />\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.param[4].resource-resolution-data.resource-key[0].name' value='vpe_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-parameters.param[4].resource-resolution-data.resource-key[0].value' value='test-vpe_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-parameters.param[4].resource-resolution-data.resource-key[1].name' value='ipv4_oam_address' />\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.param[4].resource-resolution-data.resource-key[1].value' value='tst-ipv4_oam_address' />\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.param[4].resource-resolution-data.resource-key[2].name' value='loopback0' />\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.param[4].resource-resolution-data.resource-key[2].value' value='test-loopback0' />\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.param[4].resource-resolution-data.resource-key[3].name' value='provisioning_status' />\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.param[4].resource-resolution-data.resource-key[3].value' value='tst-provst' />\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.param[4].resource-resolution-data.resource-key[4].name' value='aic_site_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-parameters.param[4].resource-resolution-data.resource-key[4].value' value='test-aic_site_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-parameters.param[4].resource-resolution-data.resource-key[5].name' value='avaiablity_zone' />\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.param[4].resource-resolution-data.resource-key[5].value' value='test-avaiablity_zone' />\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.param[4].resource-resolution-data.resource-key[6].name' value='vlan_id_outer' />\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.param[4].resource-resolution-data.resource-key[6].value' value='test-vlan_id_outer' />\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.param[4].resource-resolution-data.resource-key[7].name' value='vendor' />\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.param[4].resource-resolution-data.resource-key[7].value' value='test-vendor' />\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.param[4].resource-resolution-data.resource-key[8].name' value='physical_intf_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-parameters.param[4].resource-resolution-data.resource-key[8].value' value='test-physical_intf_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-parameters.param[4].resource-resolution-data.resource-key[9].name' value='phyiscal_intf_speed' />\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.param[4].resource-resolution-data.resource-key[9].value' value='tst-phyiscal_intf_sp' />\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.param[4].resource-resolution-data.resource-key[10].name' value='phyiscal_intf_units' />\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.param[4].resource-resolution-data.resource-key[10].value' value='tst-phyiscal_intf_un' />\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.param[4].resource-resolution-data.resource-key[11].name' value='vpe_uuid' />\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.param[4].resource-resolution-data.resource-key[11].value' value='test-vpe_uuid' />\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.param[4].resource-resolution-data.resource-key[12].name' value='vpe_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-parameters.param[4].resource-resolution-data.resource-key[12].value' value='test-vpe_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-parameters.param[4].resource-resolution-data.resource-key[13].name' value='image_filename' />\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.param[4].resource-resolution-data.resource-key[13].value' value='test-image_filename' />\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.param[4].resource-resolution-data.resource-key[14].name' value='as_number' />\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.param[4].resource-resolution-data.resource-key[14].value' value='test-as_number' />\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.param[4].resource-resolution-data.resource-key[15].name' value='loopback5000' />\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.param[4].resource-resolution-data.resource-key[15].value' value='tst-loopback5000' />\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.param[4].resource-resolution-data.resource-key[16].name' value='loopback10' />\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.param[4].resource-resolution-data.resource-key[16].value' value='test-loopback10' />\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.param[4].resource-resolution-data.resource-key[17].name' value='aic_version' />\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.param[4].resource-resolution-data.resource-key[17].value' value='test-aic_version' />\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.param[4].resource-resolution-data.resource-key[18].name' value='vpe_capacity' />\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.param[4].resource-resolution-data.resource-key[18].value' value='100' />\n",
+ "comments": "",
+ "x": 712,
+ "y": 631,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "5ed86630.38f02",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 617,
+ "y": 1291,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "99fdb9f2.2f945",
+ "type": "switchNode",
+ "name": "switch ss.capability-action",
+ "xml": "<switch test=\"`$ss.capability-action`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 208,
+ "y": 306,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "51a6f3d9.ba4064",
+ "bf226ecf.177898",
+ "804143e4.a2a6d",
+ "57a6057b.72faf4",
+ "4d204a31.38d4cc"
+ ]
+ ]
+ },
+ {
+ "id": "51a6f3d9.ba4064",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 474,
+ "y": 289,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bf226ecf.177898",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 481,
+ "y": 329,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "6e4e60bf.f142d8"
+ ]
+ ]
+ },
+ {
+ "id": "804143e4.a2a6d",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value='null'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 471,
+ "y": 369,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "57a6057b.72faf4",
+ "type": "other",
+ "name": "ASSIGN ",
+ "xml": "<outcome value='ASSIGN'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 477,
+ "y": 410,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "b6205956.40afb"
+ ]
+ ]
+ },
+ {
+ "id": "e432c299.0f0f28",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='ss.capability-action is not set' />\n",
+ "comments": "",
+ "x": 789,
+ "y": 364,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "4d204a31.38d4cc",
+ "type": "other",
+ "name": "UNASSIGN ",
+ "xml": "<outcome value='UNASSIGN'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 485,
+ "y": 453,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "8351b502.234138"
+ ]
+ ]
+ },
+ {
+ "id": "b6205956.40afb",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: ss.capability-action is ASSIGN\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 685,
+ "y": 410,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8351b502.234138",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: ss.capability-action is UNASSIGN\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 686,
+ "y": 453,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "239e4d46.dfcafa",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 478,
+ "y": 120,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91e411ed.601ec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 254,
+ "y": 2710,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "20069b21.adf8ac",
+ "34555459.6b4624",
+ "ffb1fa3.6af7988"
+ ]
+ ]
+ },
+ {
+ "id": "b8a23aae.17bdd8",
+ "type": "comment",
+ "name": "Resolve VPE Pool values",
+ "info": "",
+ "comments": "",
+ "x": 284,
+ "y": 2667,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "20069b21.adf8ac",
+ "type": "set",
+ "name": "set resource-key-length and resource-names",
+ "xml": "<set>\n<parameter name='tmp.resource-key-length' value='`$tmp.resource-resolution-data.resource-key_length`' />\n<!-- String to build VPE_POOL table SQL insert statement -->\n<parameter name='tmp.resource-insert-columns' value='' />\n<parameter name='tmp.resource-insert-values' value='' />\n\n<!-- These are the resources to insert into VPE_POOL -->\n<parameter name='tmp.resource-names-length' value='19' />\n<parameter name='tmp.resource-names[0]' value='vpe_name' />\n<parameter name='tmp.resource-names[1]' value='ipv4_oam_address' />\n<parameter name='tmp.resource-names[2]' value='loopback0' />\n<parameter name='tmp.resource-names[3]' value='provisioning_status' />\n<parameter name='tmp.resource-names[4]' value='aic_site_id' />\n<parameter name='tmp.resource-names[5]' value='avaiablity_zone' />\n<parameter name='tmp.resource-names[6]' value='vlan_id_outer' />\n<parameter name='tmp.resource-names[7]' value='vendor' />\n<parameter name='tmp.resource-names[8]' value='physical_intf_name' />\n<parameter name='tmp.resource-names[9]' value='phyiscal_intf_speed' />\n<parameter name='tmp.resource-names[10]' value='phyiscal_intf_units' />\n<parameter name='tmp.resource-names[11]' value='vpe_uuid' />\n<parameter name='tmp.resource-names[12]' value='vpe_id' />\n<parameter name='tmp.resource-names[13]' value='image_filename' />\n<parameter name='tmp.resource-names[14]' value='as_number' />\n<parameter name='tmp.resource-names[15]' value='loopback5000' />\n<parameter name='tmp.resource-names[16]' value='loopback10' />\n<parameter name='tmp.resource-names[17]' value='aic_version' />\n<parameter name='tmp.resource-names[18]' value='vpe_capacity' />",
+ "comments": "",
+ "x": 418,
+ "y": 2756,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "d02fec38.4a3bd8",
+ "type": "for",
+ "name": "for each resource-resolution-data.resource-key",
+ "xml": "<for index='key-index' start='0' end='`$tmp.resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 488,
+ "y": 2890,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "3e860650.abc54a",
+ "39809c07.8a4b44"
+ ]
+ ]
+ },
+ {
+ "id": "3e860650.abc54a",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: key-index, resource-key.name, resource-names\"/>\n<parameter name=\"field3\" value='`$key-index`'/>\n<parameter name=\"field4\" value='`$tmp.resource-resolution-data.resource-key[$key-index].name`'/>\n<parameter name=\"field5\" value='`$tmp.resource-names[$names-index]`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 755,
+ "y": 2890,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "39809c07.8a4b44",
+ "type": "switchNode",
+ "name": "switch compare resource-key.name and resource-names",
+ "xml": "<switch test=\"`$tmp.resource-resolution-data.resource-key[$key-index].name == $tmp.resource-names[$names-index]`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 568,
+ "y": 2937,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "43368a98.e5b24c"
+ ]
+ ]
+ },
+ {
+ "id": "e18888c7.6778b",
+ "type": "comment",
+ "name": "Build columns and values strings",
+ "info": "",
+ "comments": "",
+ "x": 397,
+ "y": 2847,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "34555459.6b4624",
+ "type": "for",
+ "name": "for each resource-names",
+ "xml": "<for index='names-index' start='0' end='`$tmp.resource-names-length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 354,
+ "y": 2799,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "d02fec38.4a3bd8"
+ ]
+ ]
+ },
+ {
+ "id": "1089c774.03e0b1",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 569,
+ "y": 2985,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "b37957ef.f9d81",
+ "4078f5a8.f4aaa4",
+ "edf7fcc4.ef8d2",
+ "2cd22eed.f6755a"
+ ]
+ ]
+ },
+ {
+ "id": "b37957ef.f9d81",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: resource-name MATCH: \"/>\n<parameter name=\"field3\" value='`$tmp.resource-names[$names-index]`'/>\n<parameter name=\"field4\" value='`$tmp.resource-resolution-data.resource-key[$key-index].value`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 701,
+ "y": 2985,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "27117daa.dba1e2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 160,
+ "y": 1643,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "74720eac.e8091",
+ "1cce86c8.2baf29",
+ "7f26f3a2.7b72b4"
+ ]
+ ]
+ },
+ {
+ "id": "84f2d99e.bebab",
+ "type": "comment",
+ "name": "Resolve vpe-name",
+ "info": "service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters[$vf-module-params-index].param.resource-resolution-data.resource-key[$key-index].value \nwhere its corresponding resource-key[$key-index].name=vnf-name",
+ "comments": "",
+ "x": 167,
+ "y": 1598,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "74720eac.e8091",
+ "type": "set",
+ "name": "set resource-key-length",
+ "xml": "<set>\n<parameter name='tmp.resource-key-length' value='`$tmp.resource-resolution-data.resource-key_length`' />\n",
+ "comments": "",
+ "x": 248,
+ "y": 1688,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "1cce86c8.2baf29",
+ "type": "for",
+ "name": "for each resource-resolution-data.resource-key",
+ "xml": "<for index='key-index' start='0' end='`$tmp.resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 321,
+ "y": 1733,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "99568978.f411d8",
+ "17d7d5e9.8d97ca"
+ ]
+ ]
+ },
+ {
+ "id": "17d7d5e9.8d97ca",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: key-index\"/>\n<parameter name=\"field3\" value='`$key-index`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 588,
+ "y": 1733,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "99568978.f411d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 251,
+ "y": 1782,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "bbf5f08d.176578"
+ ]
+ ]
+ },
+ {
+ "id": "bbf5f08d.176578",
+ "type": "switchNode",
+ "name": "switch compare resource-key.name and \"vpe_name\"",
+ "xml": "<switch test=\"`$tmp.resource-resolution-data.resource-key[$key-index].name == 'vpe_name'`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 420,
+ "y": 1829,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "de8dbfd6.ba15f8",
+ "9d54b52e.f1d638"
+ ]
+ ]
+ },
+ {
+ "id": "de8dbfd6.ba15f8",
+ "type": "outcome",
+ "name": "outcome:found vpe_name resource key",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 397,
+ "y": 1876,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "d44085fb.76d7b8"
+ ]
+ ]
+ },
+ {
+ "id": "9d54b52e.f1d638",
+ "type": "other",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 297,
+ "y": 1917,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d44085fb.76d7b8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 617,
+ "y": 1876,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "7c52e694.0f96f8",
+ "c1b2f560.f3bbb8",
+ "483e4765.4f9ea8",
+ "5d97585d.b7677"
+ ]
+ ]
+ },
+ {
+ "id": "7c52e694.0f96f8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: Found resource-resolution-data.name = vpe_name\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 745,
+ "y": 1876,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c1b2f560.f3bbb8",
+ "type": "set",
+ "name": "set vpe_name",
+ "xml": "<set>\n<parameter name='tmp.vpe_name' value='`$tmp.resource-resolution-data.resource-key[$key-index].value`' />\n",
+ "comments": "",
+ "x": 639,
+ "y": 1924,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "7f26f3a2.7b72b4",
+ "type": "switchNode",
+ "name": "switch validate resolved vpe_name",
+ "xml": "<switch test=\"`$tmp.vpe_name`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 287,
+ "y": 2078,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "cc6e440.5c4294",
+ "5ca35655.03c278"
+ ]
+ ]
+ },
+ {
+ "id": "cc6e440.5c4294",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value='null'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 520,
+ "y": 2058,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "57d33721.74c88"
+ ]
+ ]
+ },
+ {
+ "id": "5ca35655.03c278",
+ "type": "other",
+ "name": "blank",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 522,
+ "y": 2098,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "57d33721.74c88"
+ ]
+ ]
+ },
+ {
+ "id": "f026ea2a.ffec9",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='403' />\n<parameter name='error-message' value='vpe_name is not valid' />\n",
+ "comments": "",
+ "x": 804,
+ "y": 2116,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "483e4765.4f9ea8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-mac-address-assign: resolved vpe_name: \"/>\n<parameter name=\"field3\" value='`$tmp.vpe_name`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 617,
+ "y": 1970,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "43368a98.e5b24c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 444,
+ "y": 2985,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "1089c774.03e0b1"
+ ]
+ ]
+ },
+ {
+ "id": "cbc54dd3.c3792",
+ "type": "set",
+ "name": "set columns and values",
+ "xml": "<set>\n<parameter name='tmp.insert-columns' value=\"`$tmp.insert-columns + ', ' + $tmp.resource-resolution-data.resource-key[$key-index].name`\" />\n<parameter name='tmp.insert-values' value=\"`$tmp.insert-values + ', ' + $tmp.resource-resolution-data.resource-key[$key-index].value`\" />",
+ "comments": "",
+ "x": 946,
+ "y": 3118,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "13ecc592.3b82d2",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/self-serve-create-vpe-pool.log' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 130,
+ "y": 3902,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "546765f8.01c9d4",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\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.param[$vf-module-parameters-index].resource-resolution-data.status`\" value='SUCCESS' />",
+ "comments": "",
+ "x": 138,
+ "y": 3955,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "69595241.f29c74",
+ "type": "comment",
+ "name": "Check for existing data in VPE_POOL for vpe_name",
+ "info": "",
+ "comments": "",
+ "x": 275,
+ "y": 2142,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "294d3284.6857ee",
+ "type": "get-resource",
+ "name": "get data from VPE_POOL for vpe_name",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' \nkey=\"select * FROM VPE_POOL WHERE vpe_name= $tmp.vpe_name\" pfx='tmp.vpe_pool_data'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 280,
+ "y": 2244,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "1da4e742.717111"
+ ]
+ ]
+ },
+ {
+ "id": "1da4e742.717111",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 529,
+ "y": 2244,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "cfb10318.efa7a8"
+ ]
+ ]
+ },
+ {
+ "id": "b3d7a743.ee6ad",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='405' />\n<parameter name='error-message' value='Unable to access VPE_POOL' />\n",
+ "comments": "",
+ "x": 847.5,
+ "y": 2283,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "2098d78a.a044f",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 537.5,
+ "y": 2283,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "bde979aa.39f228"
+ ]
+ ]
+ },
+ {
+ "id": "f94b6f4b.d2e2d8",
+ "type": "outcome",
+ "name": "outcome Null",
+ "xml": "<outcome value='null'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 548.5,
+ "y": 2323,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "bde979aa.39f228"
+ ]
+ ]
+ },
+ {
+ "id": "14105a75.20b366",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 528.5,
+ "y": 2363,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "2b9fef4a.a1e4e"
+ ]
+ ]
+ },
+ {
+ "id": "bde979aa.39f228",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-mac-address-assign: data not found in VPE_POOL for vpe_name: \"/>\n<parameter name=\"field3\" value='`$tmp.vpe_name`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 696,
+ "y": 2298,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f1ea0821.6855a8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-mac-address-assign: data already found in VPE_POOL for vpe_name: \"/>\n<parameter name=\"field3\" value='`$tmp.vpe_name`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 700,
+ "y": 2414,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d97585d.b7677",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 613,
+ "y": 2016,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "7b98ca0c.853304",
+ "type": "switchNode",
+ "name": "switch vpe_name exists",
+ "xml": "<switch test=\"`$tmp.vpe_pool_data.vpe-name`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 226,
+ "y": 2295,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "2098d78a.a044f",
+ "f94b6f4b.d2e2d8",
+ "14105a75.20b366"
+ ]
+ ]
+ },
+ {
+ "id": "eb7cce81.86bd1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 159,
+ "y": 2185,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "294d3284.6857ee",
+ "7b98ca0c.853304"
+ ]
+ ]
+ },
+ {
+ "id": "c8df7eb8.019278",
+ "type": "switchNode",
+ "name": "switch ss.capability-action (ASSIGN | UNASSIGN)",
+ "xml": "<switch test='`$ss.capability-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 270,
+ "y": 2572,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "99ac43a3.c1fae",
+ "359e81ed.5a47fe"
+ ]
+ ]
+ },
+ {
+ "id": "99ac43a3.c1fae",
+ "type": "outcome",
+ "name": "ASSIGN",
+ "xml": "<outcome value='ASSIGN'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 207.25006103515625,
+ "y": 2622.75,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "91e411ed.601ec"
+ ]
+ ]
+ },
+ {
+ "id": "359e81ed.5a47fe",
+ "type": "outcome",
+ "name": "UNASSIGN",
+ "xml": "<outcome value='UNASSIGN'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 209,
+ "y": 3498,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "45cf3e66.241778"
+ ]
+ ]
+ },
+ {
+ "id": "2b9fef4a.a1e4e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 657,
+ "y": 2363,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "f1ea0821.6855a8",
+ "ea2c03c3.b2fef8"
+ ]
+ ]
+ },
+ {
+ "id": "ea2c03c3.b2fef8",
+ "type": "switchNode",
+ "name": "switch ss.capability-action ASSIGN",
+ "xml": "<switch test=\"`$ss.capability-action == 'ASSIGN'`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 829,
+ "y": 2458,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "1c52eb95.b0c844"
+ ]
+ ]
+ },
+ {
+ "id": "22a167de.0964a8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='405' />\n<parameter name='error-message' value='Unable to create vpe-pool, data already exists in VPE_POOL for vpe_name' />\n",
+ "comments": "",
+ "x": 1099,
+ "y": 2540,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "1c52eb95.b0c844",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 792,
+ "y": 2498,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "374c7d51.1a40c2"
+ ]
+ ]
+ },
+ {
+ "id": "4078f5a8.f4aaa4",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 705,
+ "y": 3246,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "edf7fcc4.ef8d2",
+ "type": "switchNode",
+ "name": "switch tmp.insert-columns",
+ "xml": "<switch test=\"`$tmp.insert-columns`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 763,
+ "y": 3032,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "3ebba126.b9806e",
+ "ed0efd94.fd06d8"
+ ]
+ ]
+ },
+ {
+ "id": "3ebba126.b9806e",
+ "type": "other",
+ "name": "blank",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 764,
+ "y": 3074,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "3b572857.69d0c"
+ ]
+ ]
+ },
+ {
+ "id": "ed0efd94.fd06d8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 765,
+ "y": 3118,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "cbc54dd3.c3792"
+ ]
+ ]
+ },
+ {
+ "id": "3b572857.69d0c",
+ "type": "set",
+ "name": "set first columns and values",
+ "xml": "<set>\n<parameter name='tmp.insert-columns' value=\"`$tmp.resource-resolution-data.resource-key[$key-index].name`\" />\n<parameter name='tmp.insert-values' value=\"$tmp.resource-resolution-data.resource-key[$key-index].value`\" />",
+ "comments": "",
+ "x": 960,
+ "y": 3074,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "89f81f53.517388",
+ "type": "comment",
+ "name": "Insert resolved values into VPE_POOL",
+ "info": "",
+ "comments": "",
+ "x": 371,
+ "y": 3329,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "ffb1fa3.6af7988",
+ "type": "save",
+ "name": "save",
+ "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" \nresource=\"SQL\" \nkey=\"INSERT INTO VPE_POOL ( vpe_name, ipv4_oam_address, loopback0_ipv4_address, provisioning_status, aic_site_id, availability_zone, vlan_id_outer, vendor, physical_intf_name, physical_intf_speed, physical_intf_units, vpe_uuid, vpe_id, image_filename, as_number, loopback5000, loopback10, aic_version, vpe_capacity ) \nVALUES ( $tmp.forInsert.vpe_name , $tmp.forInsert.ipv4_oam_address , $tmp.forInsert.loopback0_ipv4_address , $tmp.forInsert.provisioning_status , $tmp.forInsert.aic_site_id , $tmp.forInsert.availability_zone , $tmp.forInsert.vlan_id_outer , $tmp.forInsert.vendor , $tmp.forInsert.physical_intf_name , $tmp.forInsert.physical_intf_speed , $tmp.forInsert.physical_intf_units , $tmp.forInsert.vpe_uuid , $tmp.forInsert.vpe_id , $tmp.forInsert.image_filename , $tmp.forInsert.as_number , $tmp.forInsert.loopback5000 , $tmp.forInsert.loopback10 , $tmp.forInsert.aic_version , $tmp.forInsert.vpe_capacity )\" \nforce='true' pfx='save_val'>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 278,
+ "y": 3381,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "b95bb1f3.324a48"
+ ]
+ ]
+ },
+ {
+ "id": "b95bb1f3.324a48",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 412,
+ "y": 3381,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "d28ef98d.b2a44"
+ ]
+ ]
+ },
+ {
+ "id": "de7ed095.f4a8f8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='406' />\n<parameter name='error-message' value='Unable to create VPE Pool in VPE_POOL' />\n",
+ "comments": "",
+ "x": 691,
+ "y": 3421,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "9f8ca216.d79298",
+ "type": "save",
+ "name": "save",
+ "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" \nresource=\"SQL\" \nkey=\"INSERT INTO VPE_POOL ( $tmp.insert-columns ) VALUES ( $tmp.insert-values )\" \nforce='true' pfx='save_val'>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 278,
+ "y": 3430,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2cd22eed.f6755a",
+ "type": "set",
+ "name": "set tmp.resource-key.name",
+ "xml": "<set>\n<parameter name=\"`'tmp.forInsert.' + $tmp.resource-resolution-data.resource-key[$key-index].name`\" value=\"`$tmp.resource-resolution-data.resource-key[$key-index].value`\" />",
+ "comments": "",
+ "x": 769,
+ "y": 3188,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "50e7ff75.38e8e",
+ "type": "delete",
+ "name": "delete",
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' \nkey='DELETE from VPE_POOL WHERE vpe_name = $tmp.vpe_name'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 711,
+ "y": 3797,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "8805f26.95ae01",
+ "361cc9e5.7908be"
+ ]
+ ]
+ },
+ {
+ "id": "45cf3e66.241778",
+ "type": "block",
+ "name": "block:atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 267,
+ "y": 3589,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "a7b7a82e.0ddd5",
+ "30f5b9b8.788d4e"
+ ]
+ ]
+ },
+ {
+ "id": "bdbd06b6.1319d",
+ "type": "comment",
+ "name": "DELETE from VPE_POOL",
+ "info": "",
+ "comments": "",
+ "x": 306.5,
+ "y": 3549,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "a7b7a82e.0ddd5",
+ "type": "get-resource",
+ "name": "get vpe_name from pool table",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' \nkey=\"select * FROM VPE_POOL WHERE vpe_name= $tmp.vpe_name\" pfx='tmp.pool'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 355,
+ "y": 3632,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "4fe3bd5f.f807ec"
+ ]
+ ]
+ },
+ {
+ "id": "4fe3bd5f.f807ec",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 555,
+ "y": 3632,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "a011ef73.5c281"
+ ]
+ ]
+ },
+ {
+ "id": "30f5b9b8.788d4e",
+ "type": "switchNode",
+ "name": "switch vpe_name exists",
+ "xml": "<switch test=\"`$tmp.pool.vpe-name`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 339,
+ "y": 3737,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "3b6ead82.52270a",
+ "5ef97d56.ec95c4",
+ "e3a81c03.b5c238",
+ "b82ac555.c7005"
+ ]
+ ]
+ },
+ {
+ "id": "b82ac555.c7005",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 557.5,
+ "y": 3677,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "a011ef73.5c281"
+ ]
+ ]
+ },
+ {
+ "id": "3b6ead82.52270a",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 566.5,
+ "y": 3717,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "a011ef73.5c281"
+ ]
+ ]
+ },
+ {
+ "id": "5ef97d56.ec95c4",
+ "type": "outcome",
+ "name": "outcome Null",
+ "xml": "<outcome value='null'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 577.5,
+ "y": 3757,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "a011ef73.5c281"
+ ]
+ ]
+ },
+ {
+ "id": "e3a81c03.b5c238",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 557.5,
+ "y": 3797,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "50e7ff75.38e8e"
+ ]
+ ]
+ },
+ {
+ "id": "1af82fe3.29d68",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='405' />\n<parameter name='error-message' value='vpe_name not found in VPE_POOL on UNASSIGN operation' />\n",
+ "comments": "",
+ "x": 858,
+ "y": 3714,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "361cc9e5.7908be",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 840,
+ "y": 3820,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "2ab614f1.660744"
+ ]
+ ]
+ },
+ {
+ "id": "8805f26.95ae01",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 841,
+ "y": 3760,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "c4913f09.63c2d"
+ ]
+ ]
+ },
+ {
+ "id": "c258faf4.dff23",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='405' />\n<parameter name='error-message' value='Failure deleting from VPE_POOL on UNASSIGN operation' />\n",
+ "comments": "",
+ "x": 1131,
+ "y": 3802,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "9008977d.b80888",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 622,
+ "y": 160,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "9d1d3472.daf75",
+ "d27f0dd0.d782b8"
+ ]
+ ]
+ },
+ {
+ "id": "9d1d3472.daf75",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: ss.capability-name is not set\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 762,
+ "y": 119,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ccfd8640.725448",
+ "type": "set",
+ "name": "set status to FAILED",
+ "xml": "<set>\n<parameter name='resource-resolution-data.status' value='FAILED' />",
+ "comments": "",
+ "x": 803,
+ "y": 157,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "6e4e60bf.f142d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 627,
+ "y": 329,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "bed57743.8cbc28",
+ "e432c299.0f0f28"
+ ]
+ ]
+ },
+ {
+ "id": "bed57743.8cbc28",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: ss.capability-action is not set\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 771,
+ "y": 287,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f42dc9c0.9c12d",
+ "type": "set",
+ "name": "set status to FAILED",
+ "xml": "<set>\n<parameter name='resource-resolution-data.status' value='FAILED' />",
+ "comments": "",
+ "x": 812,
+ "y": 325,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "963fb7d6.2c2aa8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 770,
+ "y": 680,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "867349fd.5443f8",
+ "1077b388.6815bc"
+ ]
+ ]
+ },
+ {
+ "id": "1077b388.6815bc",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: Failure calling self-service-capability-param-resolution\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 921,
+ "y": 660,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4bc9e9ef.c448b8",
+ "type": "comment",
+ "name": "Check that resource-resolution-data.status is PENDING",
+ "info": "",
+ "comments": "",
+ "x": 279,
+ "y": 1375,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "f9bd328a.55cf5",
+ "type": "switchNode",
+ "name": "switch tmp.resource-resolution-data = PENDING",
+ "xml": "<switch test=\"`$tmp.resource-resolution-data.status == 'PENDING'`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 271,
+ "y": 1433,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "cedd9352.77b15"
+ ]
+ ]
+ },
+ {
+ "id": "b4753dc3.c135a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 739,
+ "y": 1433,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "fd3f2609.5162a8",
+ "57a3bfbb.33e0a",
+ "5b1bbbb2.7d9f7c"
+ ]
+ ]
+ },
+ {
+ "id": "fd3f2609.5162a8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-create-vpe-pool: reseouce-resolution-data.status is not PENDING\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 879,
+ "y": 1393,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b1bbbb2.7d9f7c",
+ "type": "set",
+ "name": "set status to FAILED",
+ "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.param[$vf-module-param-index].resource-resolution-data.status' value='FAILED' />",
+ "comments": "",
+ "x": 920,
+ "y": 1432,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "57a3bfbb.33e0a",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='reseouce-resolution-data.status is not PENDING' />\n",
+ "comments": "",
+ "x": 896,
+ "y": 1471,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "cedd9352.77b15",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 575,
+ "y": 1433,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "b4753dc3.c135a"
+ ]
+ ]
+ },
+ {
+ "id": "57d33721.74c88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 650,
+ "y": 2076,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "9eeec8b6.872078",
+ "b6aebe10.5b93c8",
+ "f026ea2a.ffec9"
+ ]
+ ]
+ },
+ {
+ "id": "9eeec8b6.872078",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-mac-address-assign: hostname is not set\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 786,
+ "y": 2037,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b6aebe10.5b93c8",
+ "type": "set",
+ "name": "set status to FAILED",
+ "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.param[$vf-module-param-index].resource-resolution-data.status' value='FAILED' />",
+ "comments": "",
+ "x": 828,
+ "y": 2076,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "cfb10318.efa7a8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 694,
+ "y": 2244,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "44af3fd2.4cc85",
+ "625ab694.effa98",
+ "b3d7a743.ee6ad"
+ ]
+ ]
+ },
+ {
+ "id": "44af3fd2.4cc85",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-mac-address-assign: Unable to access VPE_POOL\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 830,
+ "y": 2205,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "625ab694.effa98",
+ "type": "set",
+ "name": "set status to FAILED",
+ "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.param[$vf-module-param-index].resource-resolution-data.status' value='FAILED' />",
+ "comments": "",
+ "x": 872,
+ "y": 2244,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "374c7d51.1a40c2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 945,
+ "y": 2498,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "af4cc180.28d64",
+ "c0442851.32aa2",
+ "22a167de.0964a8"
+ ]
+ ]
+ },
+ {
+ "id": "af4cc180.28d64",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-mac-address-assign: Unable to create vpe-pool, data already exists in VPE_POOL for vpe_name\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1081,
+ "y": 2459,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c0442851.32aa2",
+ "type": "set",
+ "name": "set status to FAILED",
+ "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.param[$vf-module-param-index].resource-resolution-data.status' value='FAILED' />",
+ "comments": "",
+ "x": 1123,
+ "y": 2498,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "d28ef98d.b2a44",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 538,
+ "y": 3381,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "3d595e87.2866c2",
+ "223ac79b.e692c8",
+ "de7ed095.f4a8f8"
+ ]
+ ]
+ },
+ {
+ "id": "3d595e87.2866c2",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-mac-address-assign: Unable to create VPE Pool in VPE_POOL\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 674,
+ "y": 3343,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "223ac79b.e692c8",
+ "type": "set",
+ "name": "set status to FAILED",
+ "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.param[$vf-module-param-index].resource-resolution-data.status' value='FAILED' />",
+ "comments": "",
+ "x": 716,
+ "y": 3382,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "a011ef73.5c281",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 706,
+ "y": 3675,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "f50e6005.530ab8",
+ "dd9f0de.8b146f",
+ "1af82fe3.29d68"
+ ]
+ ]
+ },
+ {
+ "id": "f50e6005.530ab8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-mac-address-assign: vpe_name not found in VPE_POOL on UNASSIGN operation\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 842,
+ "y": 3637,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dd9f0de.8b146f",
+ "type": "set",
+ "name": "set status to FAILED",
+ "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.param[$vf-module-param-index].resource-resolution-data.status' value='FAILED' />",
+ "comments": "",
+ "x": 884,
+ "y": 3676,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "2ab614f1.660744",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 877,
+ "y": 3863,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "8f32cb91.5f4af8"
+ ]
+ ]
+ },
+ {
+ "id": "8f32cb91.5f4af8",
+ "type": "for",
+ "name": "for each resource-resolution-data.resource-key",
+ "xml": "<for index='key-index' start='0' end='`$tmp.resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1034,
+ "y": 3910,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "b671c06.3447f4"
+ ]
+ ]
+ },
+ {
+ "id": "b671c06.3447f4",
+ "type": "set",
+ "name": "set vf-module-parameters.param.value to assigned mac address",
+ "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.param[$vf-module-parameters-index].resource-resolution-data.status`\" value=\"DELETED\" />\n",
+ "comments": "",
+ "x": 1121,
+ "y": 3955,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ },
+ {
+ "id": "c4913f09.63c2d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 974,
+ "y": 3760,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ [
+ "102f419a.0ee6d6",
+ "e4417126.1af178",
+ "c258faf4.dff23"
+ ]
+ ]
+ },
+ {
+ "id": "102f419a.0ee6d6",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"self-serve-mac-address-assign: Failure deleting from VPE_POOL on UNASSIGN operation\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1110,
+ "y": 3722,
+ "z": "9e5ae839.eee8f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e4417126.1af178",
+ "type": "set",
+ "name": "set status to FAILED",
+ "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.param[$vf-module-param-index].resource-resolution-data.status' value='FAILED' />",
+ "comments": "",
+ "x": 1152,
+ "y": 3761,
+ "z": "9e5ae839.eee8f",
+ "wires": []
+ }
+] \ No newline at end of file