aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-activate.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-activate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-activate.json790
1 files changed, 790 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-activate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-activate.json
new file mode 100644
index 00000000..4362290d
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-activate.json
@@ -0,0 +1,790 @@
+[
+ {
+ "id": "b3e2f5b2.d1ec88",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 108.33332824707031,
+ "y": 85,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "dab5982.c2d8368"
+ ]
+ ]
+ },
+ {
+ "id": "dab5982.c2d8368",
+ "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": 183.61903381347656,
+ "y": 125.23811149597168,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "c935cee3.ef7d4"
+ ]
+ ]
+ },
+ {
+ "id": "c935cee3.ef7d4",
+ "type": "method",
+ "name": "method vf-module-topology-operation-activate",
+ "xml": "<method rpc='vf-module-topology-operation-activate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 221.76195526123047,
+ "y": 165,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "c8f7adca.75964"
+ ]
+ ]
+ },
+ {
+ "id": "5cec4e55.d222e",
+ "type": "comment",
+ "name": "vf-module-topology-operation-activate",
+ "info": "",
+ "comments": "",
+ "x": 502.67818450927734,
+ "y": 32.58634376525879,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "f55136c4.7d1fa8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 511.85713958740234,
+ "y": 263.8571376800537,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "a5be9328.059ac",
+ "268e67a.bb73198"
+ ]
+ ]
+ },
+ {
+ "id": "a5be9328.059ac",
+ "type": "outcome",
+ "name": "CreateVfModuleInstance",
+ "xml": "<outcome value='CreateVfModuleInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 762.9047546386719,
+ "y": 241.0000238418579,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "e97fb6eb.1f8fb8"
+ ]
+ ]
+ },
+ {
+ "id": "268e67a.bb73198",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 706.5713996887207,
+ "y": 286.38101291656494,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "9d82fd59.8a632"
+ ]
+ ]
+ },
+ {
+ "id": "e97fb6eb.1f8fb8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 952.7619190216064,
+ "y": 241.00005531311035,
+ "z": "836e826a.3ec22",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9d82fd59.8a632",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"If svc-action is 'activate' then request-action must be 'CreateVfModuleInstance'\" />\n",
+ "comments": "",
+ "x": 971.5714073181152,
+ "y": 286.71432542800903,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "c8f7adca.75964",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 153.3333282470703,
+ "y": 493.3332939147949,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "f55136c4.7d1fa8",
+ "33462c4c.518eb4",
+ "2c1ab3ca.482e0c",
+ "979e92c5.d53fe",
+ "ea5f4c6f.d1309",
+ "aae32e5.23f3cd",
+ "98ce7a09.d3e438",
+ "41d0df4e.5c136",
+ "65dc8315.181b9c",
+ "cb036b0b.8b11c8",
+ "78ecfd34.349dc4",
+ "e0f8a4a9.becc18",
+ "c3cab201.2d1ef"
+ ]
+ ]
+ },
+ {
+ "id": "2c1ab3ca.482e0c",
+ "type": "switchNode",
+ "name": "switch service-data.vnfs.vnf_length",
+ "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 556.6666564941406,
+ "y": 394.9999647140503,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "d78e72e2.ad098",
+ "224b172.962d2e8"
+ ]
+ ]
+ },
+ {
+ "id": "d78e72e2.ad098",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 797.3809280395508,
+ "y": 372.1427049636841,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "d7ea4aa1.bfcb38"
+ ]
+ ]
+ },
+ {
+ "id": "224b172.962d2e8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 797.1427688598633,
+ "y": 413.09522342681885,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "42ba44cf.9db11c"
+ ]
+ ]
+ },
+ {
+ "id": "d7ea4aa1.bfcb38",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"There are no VNFs defined in MD-SAL\" />\n",
+ "comments": "",
+ "x": 964.0475425720215,
+ "y": 371.4284601211548,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "42ba44cf.9db11c",
+ "type": "for",
+ "name": "for each vnf",
+ "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 959.3809127807617,
+ "y": 412.7618417739868,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "7209f5e7.76dcfc"
+ ]
+ ]
+ },
+ {
+ "id": "7209f5e7.76dcfc",
+ "type": "switchNode",
+ "name": "switch service data vnf == input vnf",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1210.7141304016113,
+ "y": 412.42852878570557,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "42a9a01e.4621d"
+ ]
+ ]
+ },
+ {
+ "id": "42a9a01e.4621d",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1440.7142219543457,
+ "y": 411.7618827819824,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "cdb3bc66.5a0d1"
+ ]
+ ]
+ },
+ {
+ "id": "33462c4c.518eb4",
+ "type": "set",
+ "name": "set vnf-index to -1",
+ "xml": "<set>\n<parameter name='vnf-index' value='-1' />\n",
+ "comments": "",
+ "x": 500.7142562866211,
+ "y": 333.09513664245605,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "717cff05.1de83",
+ "type": "set",
+ "name": "set vnf-index to idx",
+ "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
+ "comments": "",
+ "x": 1762.380859375,
+ "y": 382.7618408203125,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "979e92c5.d53fe",
+ "type": "switchNode",
+ "name": "switch vnf-index",
+ "xml": "<switch test='`$vnf-index`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 492.3809394836426,
+ "y": 459.76183891296387,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "4d87c876.5adff8"
+ ]
+ ]
+ },
+ {
+ "id": "4d87c876.5adff8",
+ "type": "outcome",
+ "name": "-1",
+ "xml": "<outcome value='-1'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 670.7143249511719,
+ "y": 459.09521484375,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "f087e977.afc1b8"
+ ]
+ ]
+ },
+ {
+ "id": "f087e977.afc1b8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unable to find VNF ID ' + $vf-module-topology-operation-input.vnf-information.vnf-id + ' in MD-SAL'`\" />\n",
+ "comments": "",
+ "x": 830.7142333984375,
+ "y": 458.4285182952881,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "cdb3bc66.5a0d1",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1589.0476837158203,
+ "y": 410.6815814971924,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "717cff05.1de83",
+ "ee458420.1b46d8"
+ ]
+ ]
+ },
+ {
+ "id": "ee458420.1b46d8",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 1724.047649383545,
+ "y": 432.3481674194336,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "aae32e5.23f3cd",
+ "type": "switchNode",
+ "name": "switch service-data...vf-module_length",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 564.9999694824219,
+ "y": 558.3333358764648,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "9b945904.62b6c8",
+ "9b02b5f9.8a49d8"
+ ]
+ ]
+ },
+ {
+ "id": "9b945904.62b6c8",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 815.7142791748047,
+ "y": 537.1427392959595,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "67892bd4.9c5464"
+ ]
+ ]
+ },
+ {
+ "id": "9b02b5f9.8a49d8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 815.4761199951172,
+ "y": 578.0952577590942,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "526cbef0.bed3f"
+ ]
+ ]
+ },
+ {
+ "id": "67892bd4.9c5464",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'There are no VF modules defined in MD-SAL for VNF ' + $vf-module-topology-operation-input.vnf-information.vnf-id`\" />\n",
+ "comments": "",
+ "x": 982.3808937072754,
+ "y": 536.4284944534302,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "526cbef0.bed3f",
+ "type": "for",
+ "name": "for each 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": 977.7142639160156,
+ "y": 577.7618761062622,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "4f0d7647.56b958"
+ ]
+ ]
+ },
+ {
+ "id": "4f0d7647.56b958",
+ "type": "switchNode",
+ "name": "switch service data vf-module == input vf-module",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id == $vf-module-topology-operation-input.vf-module-information.vf-module-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1284.0474243164062,
+ "y": 577.4286117553711,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "44af7ab9.eed234"
+ ]
+ ]
+ },
+ {
+ "id": "44af7ab9.eed234",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1554.047477722168,
+ "y": 575.0952167510986,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "b035b372.13799"
+ ]
+ ]
+ },
+ {
+ "id": "ea5f4c6f.d1309",
+ "type": "set",
+ "name": "set vf-module-index to -1",
+ "xml": "<set>\n<parameter name='vf-module-index' value='-1' />\n",
+ "comments": "",
+ "x": 520.714241027832,
+ "y": 508.0951747894287,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "89c9c4bd.a873a8",
+ "type": "set",
+ "name": "set vf-module-index to idx",
+ "xml": "<set>\n<parameter name='vf-module-index' value='`$idx`' />\n",
+ "comments": "",
+ "x": 1884.0475692749023,
+ "y": 546.0951957702637,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "98ce7a09.d3e438",
+ "type": "switchNode",
+ "name": "switch vf-module-index",
+ "xml": "<switch test='`$vf-module-index`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 517.3809432983398,
+ "y": 626.4285945892334,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "b9c45c6b.a9187"
+ ]
+ ]
+ },
+ {
+ "id": "b9c45c6b.a9187",
+ "type": "outcome",
+ "name": "-1",
+ "xml": "<outcome value='-1'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 695.7143287658691,
+ "y": 625.7619705200195,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "d59bf3a9.b26b2"
+ ]
+ ]
+ },
+ {
+ "id": "d59bf3a9.b26b2",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unable to find VF module ID ' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + ' in MD-SAL'`\" />\n",
+ "comments": "",
+ "x": 855.7142372131348,
+ "y": 625.0952739715576,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "b035b372.13799",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1687.3810195922852,
+ "y": 574.0149564743042,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "89c9c4bd.a873a8",
+ "520e0d13.8fb9c4"
+ ]
+ ]
+ },
+ {
+ "id": "520e0d13.8fb9c4",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 1822.3809852600098,
+ "y": 595.6815423965454,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "41d0df4e.5c136",
+ "type": "set",
+ "name": "set order-status to Created",
+ "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='Created' />\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": 535.0000610351562,
+ "y": 945.0000171661377,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "65dc8315.181b9c",
+ "type": "switchNode",
+ "name": "switch order-status",
+ "xml": "<switch test='`$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",
+ "comments": "",
+ "outputs": 1,
+ "x": 508.33329010009766,
+ "y": 695.6666564941406,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "6bec43cd.c6ce2c",
+ "a5ffb8bd.544748"
+ ]
+ ]
+ },
+ {
+ "id": "6bec43cd.c6ce2c",
+ "type": "outcome",
+ "name": "PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 720.0000343322754,
+ "y": 673.9999809265137,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "b627f4fa.590738"
+ ]
+ ]
+ },
+ {
+ "id": "a5ffb8bd.544748",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 697.0000228881836,
+ "y": 719.380952835083,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "69bb9844.70fda8"
+ ]
+ ]
+ },
+ {
+ "id": "b627f4fa.590738",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 874.8571701049805,
+ "y": 673.3333835601807,
+ "z": "836e826a.3ec22",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "69bb9844.70fda8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Order status is ' + $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 + ' instead of PendingCreate'`\" />\n",
+ "comments": "",
+ "x": 894.3333206176758,
+ "y": 719.3810129165649,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "cb036b0b.8b11c8",
+ "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.' />\n\n",
+ "comments": "",
+ "x": 500,
+ "y": 896.6666622161865,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "78ecfd34.349dc4",
+ "type": "save",
+ "name": "update vf-module to Active",
+ "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"vf-module\"\n key=\"vf-module.vf-module-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id\n AND generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"orchestration-status\" value=\"Active\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 533.3332672119141,
+ "y": 783.3332824707031,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "c27006c0.c436d8",
+ "912d9db6.973d9"
+ ]
+ ]
+ },
+ {
+ "id": "e2726395.5642b",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'No vf-module found in AAI for vf module ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\" />\n",
+ "comments": "",
+ "x": 930.0000267028809,
+ "y": 806.666651725769,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "c27006c0.c436d8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 742.6905937194824,
+ "y": 763.6191215515137,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "463820fb.52f55"
+ ]
+ ]
+ },
+ {
+ "id": "912d9db6.973d9",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 751.2620239257812,
+ "y": 807.9048347473145,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "e2726395.5642b"
+ ]
+ ]
+ },
+ {
+ "id": "463820fb.52f55",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error updating vf-module in AAI\" />\n",
+ "comments": "",
+ "x": 932.6906204223633,
+ "y": 763.4288568496704,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "e0f8a4a9.becc18",
+ "type": "update",
+ "name": "Update EIPAM_IP_ASSIGNMENTS to ACTIVE",
+ "xml": "<update resource='SQL' force='true' plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource' \n key='UPDATE EIPAM_IP_ASSIGNMENTS SET status = \"ACTIVE\" WHERE info = $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 596.6666564941406,
+ "y": 853.333306312561,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "d47fe482.1f7428"
+ ]
+ ]
+ },
+ {
+ "id": "d47fe482.1f7428",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 863.3333282470703,
+ "y": 851.6666460037231,
+ "z": "836e826a.3ec22",
+ "wires": [
+ [
+ "3aa8408e.a33f6"
+ ]
+ ]
+ },
+ {
+ "id": "3aa8408e.a33f6",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error updating EIPAM_IP_ASSIGNMENTS table\" />\n",
+ "comments": "",
+ "x": 1013.3333282470703,
+ "y": 849.9999589920044,
+ "z": "836e826a.3ec22",
+ "wires": []
+ },
+ {
+ "id": "c3cab201.2d1ef",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 494.9999694824219,
+ "y": 993.3333129882812,
+ "z": "836e826a.3ec22",
+ "wires": []
+ }
+]