Revert "GRAPI DG enhancement"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vf-module-topology-operation-assign.json
index 883ee40..9740439 100755 (executable)
-[
-  {
-    "id":"2e8304f2.d1333c",
-    "type":"dgstart",
-    "name":"DGSTART",
-    "outputs":1,
-    "x":140,
-    "y":102,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "30732ff9.e0c76"
-      ]
-    ]
-  },
-  {
-    "id":"30732ff9.e0c76",
-    "type":"service-logic",
-    "name":"GENERIC-RESOURCE-API 1.2.0-SNAPSHOT-INT110901",
-    "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='1.2.0-SNAPSHOT-INT110901'>",
-    "outputs":1,
-    "x":253.85713577270508,
-    "y":141.80953788757324,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "9c4b6ed9.61ebe"
-      ]
-    ]
-  },
-  {
-    "id":"9c4b6ed9.61ebe",
-    "type":"method",
-    "name":"method vf-module-topology-operation-assign",
-    "xml":"<method rpc='vf-module-topology-operation-assign' mode='sync'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":253.42862701416016,
-    "y":182,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "4a26d4a8.22be7c"
-      ]
-    ]
-  },
-  {
-    "id":"5527c1d7.da9d7",
-    "type":"comment",
-    "name":"vf-module-topology-operation-assign",
-    "info":"",
-    "comments":"",
-    "x":545.3210983276367,
-    "y":44.97569942474365,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"2e530cdc.f4ef94",
-    "type":"switchNode",
-    "name":"switch request-action",
-    "xml":"<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":545.1905097961426,
-    "y":357.52382230758667,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "bfda8f90.6e24d",
-        "77f2de42.6ba9a"
-      ]
-    ]
-  },
-  {
-    "id":"bfda8f90.6e24d",
-    "type":"outcome",
-    "name":"CreateVfModuleInstance",
-    "xml":"<outcome value='CreateVfModuleInstance'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":807.2381248474121,
-    "y":334.66670846939087,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "40654d05.71fd14"
-      ]
-    ]
-  },
-  {
-    "id":"77f2de42.6ba9a",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":750.9047698974609,
-    "y":380.0476975440979,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "8b7d596e.984638"
-      ]
-    ]
-  },
-  {
-    "id":"40654d05.71fd14",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":997.0952892303467,
-    "y":334.6667399406433,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"8b7d596e.984638",
-    "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 'assign' then request-action must be 'CreateVfModuleInstance'\" />\n",
-    "comments":"",
-    "x":1015.9047775268555,
-    "y":380.381010055542,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"aea9b344.20b1b",
-    "type":"get-resource",
-    "name":"get-resource VF_MODULE_MODEL",
-    "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODULE_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid'\n  pfx='db.vf-module-model'>\n\n",
-    "comments":"",
-    "outputs":1,
-    "x":592.5237770080566,
-    "y":448.66677236557007,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "4b7c3e12.248ee",
-        "6ee12611.a15fe8"
-      ]
-    ]
-  },
-  {
-    "id":"f817dd96.2592f",
-    "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 model found for VF module customization UUID ' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`\" />\n",
-    "comments":"",
-    "x":1033.9521980285645,
-    "y":473.09524488449097,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"4b7c3e12.248ee",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":858.3094673156738,
-    "y":429.0476031303406,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "d8b6dd53.baf73"
-      ]
-    ]
-  },
-  {
-    "id":"6ee12611.a15fe8",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":866.8808975219727,
-    "y":473.33331632614136,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "f817dd96.2592f"
-      ]
-    ]
-  },
-  {
-    "id":"d8b6dd53.baf73",
-    "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 reading VF_MODULE_MODEL table\" />\n",
-    "comments":"",
-    "x":1033.309398651123,
-    "y":428.1905035972595,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"a8ff9e79.0b468",
-    "type":"switchNode",
-    "name":"switch service-data.vnfs.vnf_length",
-    "xml":"<switch test='`$service-data.vnfs.vnf_length`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":587.6190414428711,
-    "y":657.2381076812744,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "45e1ae95.939d1",
-        "5930857d.90f94c"
-      ]
-    ]
-  },
-  {
-    "id":"45e1ae95.939d1",
-    "type":"other",
-    "name":"NULL",
-    "xml":"<outcome value=''>\n",
-    "comments":"",
-    "outputs":1,
-    "x":828.3333129882812,
-    "y":634.3808479309082,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "1632f046.4d998"
-      ]
-    ]
-  },
-  {
-    "id":"5930857d.90f94c",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":828.0951538085938,
-    "y":675.333366394043,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "223ba3cb.be09fc"
-      ]
-    ]
-  },
-  {
-    "id":"4a26d4a8.22be7c",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":194.99999237060547,
-    "y":2351.9999599456787,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "2e530cdc.f4ef94",
-        "aea9b344.20b1b",
-        "a8ff9e79.0b468",
-        "358800b1.81ab1",
-        "88b7c37.4ed0e4",
-        "eac7ee4b.07efc",
-        "e57448b6.7f55b8",
-        "aaaa0574.80d838",
-        "9a073bb9.44d298",
-        "e811de1a.3c14a",
-        "ad1485f5.221e88",
-        "98b04124.336cf",
-        "cfad5308.b616e",
-        "7923367d.eb91d8",
-        "809c73eb.2a71c",
-        "a3e0954f.9194f8",
-        "a65c32d0.f1f0d",
-        "fa12b719.f97378",
-        "1f990c33.cacfc4",
-        "714310a.b7326f",
-        "69ed6361.64762c",
-        "e47d3411.0e7818",
-        "582721c4.126f6",
-        "b0ef8497.4ea668",
-        "3ab291c1.7ed19e",
-        "8923d8d0.f4b338",
-        "4f613c00.2b7644",
-        "39e9e85.a687718",
-        "dfa4db2.9778928",
-        "14f4699d.ce7016",
-        "7ae88bfe.f72b94",
-        "aa1a950e.7071b8",
-        "1f69056.fe181fb",
-        "19070089.9bb2ff",
-        "a2e18bff.138e78",
-        "454e063f.718d08",
-        "aedcd126.656c8",
-        "c314b843.e5cd58"
-      ]
-    ]
-  },
-  {
-    "id":"1632f046.4d998",
-    "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":994.999927520752,
-    "y":633.6666030883789,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"223ba3cb.be09fc",
-    "type":"for",
-    "name":"for each vnf",
-    "xml":"<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":990.3332977294922,
-    "y":674.9999847412109,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "220abc57.c6caa4"
-      ]
-    ]
-  },
-  {
-    "id":"220abc57.c6caa4",
-    "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":1241.6665153503418,
-    "y":674.6666717529297,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "8fa71765.ff25a8"
-      ]
-    ]
-  },
-  {
-    "id":"8fa71765.ff25a8",
-    "type":"outcomeTrue",
-    "name":"true",
-    "xml":"<outcome value='true'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1471.6666069030762,
-    "y":674.0000257492065,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "99e80d15.cd3ff"
-      ]
-    ]
-  },
-  {
-    "id":"358800b1.81ab1",
-    "type":"set",
-    "name":"set vnf-index to -1",
-    "xml":"<set>\n<parameter name='vnf-index' value='-1' />\n",
-    "comments":"",
-    "x":536.6666641235352,
-    "y":588.6666069030762,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"2b9d4cfa.693254",
-    "type":"set",
-    "name":"set vnf-index to idx",
-    "xml":"<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
-    "comments":"",
-    "x":1793.3332443237305,
-    "y":644.9999837875366,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"88b7c37.4ed0e4",
-    "type":"switchNode",
-    "name":"switch vnf-index",
-    "xml":"<switch test='`$vnf-index`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":526.6666717529297,
-    "y":725.3333034515381,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "12b4f972.baaff7"
-      ]
-    ]
-  },
-  {
-    "id":"12b4f972.baaff7",
-    "type":"outcome",
-    "name":"-1",
-    "xml":"<outcome value='-1'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":705.000057220459,
-    "y":724.6666793823242,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "a416b02e.8e4f1"
-      ]
-    ]
-  },
-  {
-    "id":"a416b02e.8e4f1",
-    "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":864.9999656677246,
-    "y":723.9999828338623,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"eac7ee4b.07efc",
-    "type":"switchNode",
-    "name":"switch vnf order status",
-    "xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":549.6666946411133,
-    "y":796.6667003631592,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "2fc04200.260dfe",
-        "bef7e5a8.884d58"
-      ]
-    ]
-  },
-  {
-    "id":"2fc04200.260dfe",
-    "type":"outcome",
-    "name":"Created",
-    "xml":"<outcome value='Created'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":749.9999961853027,
-    "y":770.3332843780518,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "3cba4216.c1fc4e"
-      ]
-    ]
-  },
-  {
-    "id":"3cba4216.c1fc4e",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":890.0000076293945,
-    "y":770.3333263397217,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"bef7e5a8.884d58",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":746.666633605957,
-    "y":811.9999618530273,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "fc26f30c.6bb1c"
-      ]
-    ]
-  },
-  {
-    "id":"fc26f30c.6bb1c",
-    "type":"returnFailure",
-    "name":"return failure",
-    "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'VNF order status is ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status + ' but should be Created'`\" />\n",
-    "comments":"",
-    "x":906.666633605957,
-    "y":811.6666488647461,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"e57448b6.7f55b8",
-    "type":"switchNode",
-    "name":"switch vf-module_length",
-    "xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":553.333381652832,
-    "y":888.6666212081909,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "9b350576.68ef18",
-        "22c3a3f5.72d6ac"
-      ]
-    ]
-  },
-  {
-    "id":"9b350576.68ef18",
-    "type":"other",
-    "name":"NULL",
-    "xml":"<outcome value=''>\n",
-    "comments":"",
-    "outputs":1,
-    "x":810.7143363952637,
-    "y":855.8093948364258,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "c6416be8.6fa798"
-      ]
-    ]
-  },
-  {
-    "id":"c6416be8.6fa798",
-    "type":"set",
-    "name":"set vf-module-index=0",
-    "xml":"<set>\n<parameter name='vf-module-index' value='0' />\n",
-    "comments":"",
-    "x":998.3333740234375,
-    "y":856.4761695861816,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"22c3a3f5.72d6ac",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":811.142879486084,
-    "y":920.0952529907227,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "19a7ad8a.4f2812"
-      ]
-    ]
-  },
-  {
-    "id":"421fd6a0.579bd8",
-    "type":"set",
-    "name":"set vf-module-index = vf-module_length",
-    "xml":"<set>\n<parameter name='vf-module-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n",
-    "comments":"",
-    "x":1196.3334197998047,
-    "y":900.2856483459473,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"1d996969.d26e67",
-    "type":"for",
-    "name":"for each existing VF module",
-    "xml":"<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":1155.4285125732422,
-    "y":944.3808784484863,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "a0040550.7bc5d8"
-      ]
-    ]
-  },
-  {
-    "id":"19a7ad8a.4f2812",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":947.8571586608887,
-    "y":920.095178604126,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "421fd6a0.579bd8",
-        "1d996969.d26e67"
-      ]
-    ]
-  },
-  {
-    "id":"a0040550.7bc5d8",
-    "type":"switchNode",
-    "name":"switch vf-module-information.vf-module-id == service-data.vnfs.vnf[].vf-modules.vf-module[].vf-module-id",
-    "xml":"<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1659.0476150512695,
-    "y":943.9522895812988,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "6ba70fe.734c0f"
-      ]
-    ]
-  },
-  {
-    "id":"6ba70fe.734c0f",
-    "type":"outcomeTrue",
-    "name":"true",
-    "xml":"<outcome value='true'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":2101.666664123535,
-    "y":943.5237407684326,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "93b8e785.9fee48"
-      ]
-    ]
-  },
-  {
-    "id":"93b8e785.9fee48",
-    "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=\"`'VF module id ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id\n       + ' already exists, and status is ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.vf-module-level-oper-status.order-status`\" />\n",
-    "comments":"",
-    "x":2253.571544647217,
-    "y":943.5237274169922,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"f56d52b4.a8261",
-    "type":"comment",
-    "name":"make sure this VF module doesn't exist already",
-    "info":"",
-    "comments":"",
-    "x":1685.4999618530273,
-    "y":898.5797815322876,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"aaaa0574.80d838",
-    "type":"set",
-    "name":"set new vf-module_length",
-    "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-module-index + 1`' />\n",
-    "comments":"",
-    "x":558.3333206176758,
-    "y":983.6665554046631,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"9a073bb9.44d298",
-    "type":"set",
-    "name":"set vf-module-topology data",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-topology-identifier.vf-module-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-topology-identifier.vf-module-name' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\n<parameter name='tmp.vf-module-topology.vf-module-topology-identifier.vf-module-type' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='tmp.vf-module-topology.tenant' value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='tmp.vf-module-topology.aic-cloud-region' value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n",
-    "comments":"",
-    "x":564.8333396911621,
-    "y":1096.1666622161865,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"71021cf9.d2ce64",
-    "type":"set",
-    "name":"set aic-clli",
-    "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.aic-clli'\n   value='`$aai-uid-split[$aai-uid-split_length - 1]`' />\n",
-    "comments":"",
-    "x":1325.7855987548828,
-    "y":1255.4045886993408,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"e811de1a.3c14a",
-    "type":"switchNode",
-    "name":"switch aic-clli",
-    "xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":524.8332595825195,
-    "y":1369.3569288253784,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "c686f39d.72ab2"
-      ]
-    ]
-  },
-  {
-    "id":"c686f39d.72ab2",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":670.1189498901367,
-    "y":1369.3569974899292,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "6f7dc11c.49e2c"
-      ]
-    ]
-  },
-  {
-    "id":"6f7dc11c.49e2c",
-    "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 aic-clli in AAI for aic-cloud-region ' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`\" />\n",
-    "comments":"",
-    "x":817.2618103027344,
-    "y":1368.9284315109253,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"ad1485f5.221e88",
-    "type":"get-resource",
-    "name":"get-resource cloud region",
-    "xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"cloud-region\" \n\t\tkey=\"cloud-region.cloud-owner = 'CloudOwner' AND \n\t\t     cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\"\n        pfx='aai.cloud-region' local-only='false' >\n\n",
-    "comments":"",
-    "outputs":1,
-    "x":563.6904754638672,
-    "y":1169.5002002716064,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "8097c203.a4e64",
-        "ef1c3461.dc92d8"
-      ]
-    ]
-  },
-  {
-    "id":"ef1c3461.dc92d8",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":777.9366683959961,
-    "y":1187.6510562896729,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "6dfc15a7.72a2bc"
-      ]
-    ]
-  },
-  {
-    "id":"6dfc15a7.72a2bc",
-    "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 retrieving cloud region from AAI\" />\n",
-    "comments":"",
-    "x":952.9366416931152,
-    "y":1187.6510925292969,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"8097c203.a4e64",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":786.8652648925781,
-    "y":1145.9367895126343,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "4786ef92.946f8"
-      ]
-    ]
-  },
-  {
-    "id":"4786ef92.946f8",
-    "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=\"Cloud region not found in AAI\" />\n",
-    "comments":"",
-    "x":953.214542388916,
-    "y":1145.2423667907715,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"98b04124.336cf",
-    "type":"set",
-    "name":"set vf-module-parameters",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-parameters.'\n  value='vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.' />\n",
-    "comments":"",
-    "x":560.595287322998,
-    "y":1818.7860202789307,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"cfad5308.b616e",
-    "type":"set",
-    "name":"set order-status to PendingCreate",
-    "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.order-status'\n  value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",
-    "comments":"",
-    "x":576.2262573242188,
-    "y":5020.3927001953125,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"7923367d.eb91d8",
-    "type":"get-resource",
-    "name":"get-resource VF_MODULE_TO_VFC_MAPPING",
-    "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODULE_TO_VFC_MAPPING WHERE vf_module_customization_uuid = $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid'\n  pfx='db.vf-module-to-vfc-mapping[]'>\n\n",
-    "comments":"",
-    "outputs":1,
-    "x":633.9286880493164,
-    "y":1872.642807006836,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "61dd146a.6f14fc",
-        "cfdcc8b2.a45fb8"
-      ]
-    ]
-  },
-  {
-    "id":"61dd146a.6f14fc",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":899.7143783569336,
-    "y":1853.0236377716064,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "3ca0362b.6e2f9a"
-      ]
-    ]
-  },
-  {
-    "id":"cfdcc8b2.a45fb8",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":908.2858085632324,
-    "y":1897.3093509674072,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "f2ed6314.ee329"
-      ]
-    ]
-  },
-  {
-    "id":"3ca0362b.6e2f9a",
-    "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 reading VF_MODULE_TO_VFC_MAPPING table\" />\n",
-    "comments":"",
-    "x":1074.7143096923828,
-    "y":1852.1665382385254,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"809c73eb.2a71c",
-    "type":"for",
-    "name":"for each vm-type",
-    "xml":"<for index='vm-type-index' start='0' end='`$db.vf-module-to-vfc-mapping_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":534.0476989746094,
-    "y":2501.6430587768555,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "1f699ee5.b89dd1"
-      ]
-    ]
-  },
-  {
-    "id":"ae4ef538.4223c8",
-    "type":"get-resource",
-    "name":"get-resource VFC_MODEL",
-    "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VFC_MODEL WHERE customization_uuid = $db.vf-module-to-vfc-mapping[$vm-type-index].vfc-customization-uuid'\n  pfx='db.vfc-model'>\n\n",
-    "comments":"",
-    "outputs":1,
-    "x":975.9524993896484,
-    "y":1993.5477199554443,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "c1a94592.ef7dc8",
-        "36c932eb.81f9ae"
-      ]
-    ]
-  },
-  {
-    "id":"2749f807.59cbd8",
-    "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 entries found in VFC_MODEL table for customization UUID ' + $db.vf-module-to-vfc-mapping[$db-vm-index].vfc_customization_uuid`\" />\n",
-    "comments":"",
-    "x":1346.3808479309082,
-    "y":2017.9761123657227,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"c1a94592.ef7dc8",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1171.7381172180176,
-    "y":1973.9284706115723,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "480721a9.59fc5"
-      ]
-    ]
-  },
-  {
-    "id":"36c932eb.81f9ae",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1180.3095474243164,
-    "y":2018.214183807373,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "2749f807.59cbd8"
-      ]
-    ]
-  },
-  {
-    "id":"480721a9.59fc5",
-    "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 reading VFC_MODEL table\" />\n",
-    "comments":"",
-    "x":1346.7380485534668,
-    "y":1973.0713710784912,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"1f699ee5.b89dd1",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":725.9524917602539,
-    "y":2500.214427947998,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "ae4ef538.4223c8",
-        "96edef9a.d3b33",
-        "dc43de7f.70791",
-        "c2deb4af.5c58c8",
-        "8101c46.e2ef238",
-        "f5bdc66c.11bd78",
-        "4f18de56.831f8",
-        "18e532bb.94aa6d"
-      ]
-    ]
-  },
-  {
-    "id":"69ed6361.64762c",
-    "type":"set",
-    "name":"set vm_length",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm_length'\n  value='`$db.vf-module-to-vfc-mapping_length`' />\n",
-    "comments":"",
-    "x":525.833366394043,
-    "y":1932.8334846496582,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"96edef9a.d3b33",
-    "type":"set",
-    "name":"set vm data",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type'\n   value='`$db.vf-module-to-vfc-mapping[$vm-type-index].vm-type`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-naming-code'\n   value='`$db.vfc-model.nfc-naming-code`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type-tag'\n   value='`$db.vfc-model.vm-type-tag`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-count'\n   value='`$db.vf-module-to-vfc-mapping[$vm-type-index].vm-count`' />\n",
-    "comments":"",
-    "x":926.6667518615723,
-    "y":2119.5001974105835,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"99e80d15.cd3ff",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":1620.0000686645508,
-    "y":672.9197244644165,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "2b9d4cfa.693254",
-        "e08ffaca.0297f8"
-      ]
-    ]
-  },
-  {
-    "id":"e08ffaca.0297f8",
-    "type":"break",
-    "name":"break",
-    "xml":"<break>",
-    "comments":"",
-    "x":1755.0000343322754,
-    "y":694.5863103866577,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"d743beeb.1dbe5",
-    "type":"set",
-    "name":"set from DB",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-invariant-uuid'\n  value='`$db.vf-module-model.invariant-uuid`' />\n",
-    "comments":"",
-    "x":939.1665992736816,
-    "y":1410.7529220581055,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"a3e0954f.9194f8",
-    "type":"switchNode",
-    "name":"switch input model-invariant-uuid",
-    "xml":"<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":583.0236740112305,
-    "y":1433.5773658752441,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "2c1d02c0.78dd0e",
-        "a95a3eca.03f4"
-      ]
-    ]
-  },
-  {
-    "id":"2c1d02c0.78dd0e",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":788.6903457641602,
-    "y":1410.720329284668,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "d743beeb.1dbe5"
-      ]
-    ]
-  },
-  {
-    "id":"a95a3eca.03f4",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":790.1189422607422,
-    "y":1455.0059204101562,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "25dab957.580636"
-      ]
-    ]
-  },
-  {
-    "id":"25dab957.580636",
-    "type":"set",
-    "name":"set from input",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-invariant-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n",
-    "comments":"",
-    "x":944.4046783447266,
-    "y":1454.4344925880432,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"638901d0.ce1ec",
-    "type":"set",
-    "name":"set from DB",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-uuid'\n  value='`$db.vf-module-model.uuid`' />\n",
-    "comments":"",
-    "x":940.1188697814941,
-    "y":1499.2915983200073,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"a65c32d0.f1f0d",
-    "type":"switchNode",
-    "name":"switch input model-uuid",
-    "xml":"<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":555.642692565918,
-    "y":1522.1161031723022,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "ed142f55.1f70c",
-        "75273d61.353b14"
-      ]
-    ]
-  },
-  {
-    "id":"ed142f55.1f70c",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":789.6426658630371,
-    "y":1499.2590351104736,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "638901d0.ce1ec"
-      ]
-    ]
-  },
-  {
-    "id":"75273d61.353b14",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":791.0712623596191,
-    "y":1543.544626235962,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "da1cfb23.9a25e8"
-      ]
-    ]
-  },
-  {
-    "id":"da1cfb23.9a25e8",
-    "type":"set",
-    "name":"set from input",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n",
-    "comments":"",
-    "x":945.3569984436035,
-    "y":1542.9731984138489,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"65429406.6c6b9c",
-    "type":"set",
-    "name":"set from DB",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-version'\n  value='`$db.vf-module-model.version`' />\n",
-    "comments":"",
-    "x":937.2618026733398,
-    "y":1588.1488056182861,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"fa12b719.f97378",
-    "type":"switchNode",
-    "name":"switch input model-version",
-    "xml":"<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":563.7855644226074,
-    "y":1610.9732503890991,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "1200d2f5.494f9d",
-        "f5147fc0.bfa5e"
-      ]
-    ]
-  },
-  {
-    "id":"1200d2f5.494f9d",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":786.7855491638184,
-    "y":1588.1162128448486,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "65429406.6c6b9c"
-      ]
-    ]
-  },
-  {
-    "id":"f5147fc0.bfa5e",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":788.2141456604004,
-    "y":1632.401803970337,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "d74f65ed.78d448"
-      ]
-    ]
-  },
-  {
-    "id":"d74f65ed.78d448",
-    "type":"set",
-    "name":"set from input",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-version'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n",
-    "comments":"",
-    "x":942.4998817443848,
-    "y":1631.8303761482239,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"da71a3e1.3185a",
-    "type":"set",
-    "name":"set from DB",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-name'\n  value='`$db.vf-module-model.name`' />\n",
-    "comments":"",
-    "x":937.2618026733398,
-    "y":1675.2916278839111,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"1f990c33.cacfc4",
-    "type":"switchNode",
-    "name":"switch input model-name",
-    "xml":"<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":558.7855644226074,
-    "y":1698.1160726547241,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "647b0438.ab102c",
-        "663c8c44.ce20c4"
-      ]
-    ]
-  },
-  {
-    "id":"647b0438.ab102c",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":786.7855491638184,
-    "y":1675.2590351104736,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "da71a3e1.3185a"
-      ]
-    ]
-  },
-  {
-    "id":"663c8c44.ce20c4",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":788.2141456604004,
-    "y":1719.544626235962,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "e84c9dce.744b8"
-      ]
-    ]
-  },
-  {
-    "id":"e84c9dce.744b8",
-    "type":"set",
-    "name":"set from input",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-name'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`' />\n",
-    "comments":"",
-    "x":942.4998817443848,
-    "y":1718.9731984138489,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"714310a.b7326f",
-    "type":"set",
-    "name":"set model-customization-uuid",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-customization-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n",
-    "comments":"",
-    "x":573.2378997802734,
-    "y":1770.6250619888306,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"dc43de7f.70791",
-    "type":"for",
-    "name":"for each vm",
-    "xml":"<for index='vm-index' start='0' end='`$db.vf-module-to-vfc-mapping[$vm-type-index].vm-count`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":928.3332405090332,
-    "y":2228.7531156539917,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "7505754.7087a8c"
-      ]
-    ]
-  },
-  {
-    "id":"c2deb4af.5c58c8",
-    "type":"set",
-    "name":"set vm-name-length",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name_length'\n  value='`$db.vf-module-to-vfc-mapping[$vm-type-index].vm-count`' />\n",
-    "comments":"",
-    "x":951.6666946411133,
-    "y":2163.753373146057,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"2f06bc6e.cdf504",
-    "type":"call",
-    "name":"call GENERIC-RESOURCE-API:generate-unique-name",
-    "xml":"<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":1394.761863708496,
-    "y":2251.3722620010376,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "6c48629.77e939c",
-        "a3fd6e6d.5788b"
-      ]
-    ]
-  },
-  {
-    "id":"6c48629.77e939c",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1690.4761517842617,
-    "y":2224.2295246124268,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "8b35adee.43478"
-      ]
-    ]
-  },
-  {
-    "id":"a3fd6e6d.5788b",
-    "type":"success",
-    "name":"success",
-    "xml":"<outcome value='success'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1693.8095016479492,
-    "y":2275.896167755127,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "a8057f80.cfbdb"
-      ]
-    ]
-  },
-  {
-    "id":"18ce2f16.816031",
-    "type":"set",
-    "name":"set variables for generating unique name",
-    "xml":"<set>\n<parameter name='generate-unique-name-input.index-table-name' value='VM_NAME_INDEX' />\n<parameter name='generate-unique-name-input.index-table-prefix-column' value='vm_name_prefix' />\n<parameter name='generate-unique-name-input.name-table-type' value='VM_INSTANCE' />\n<parameter name='generate-unique-name-input.prefix' value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-name + $db.vfc-model.nfc-naming-code`\" />\n<parameter name='generate-unique-name-input.index-length' value='3' />\n",
-    "comments":"",
-    "x":1351.4285774230957,
-    "y":2199.7055883407593,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"a8057f80.cfbdb",
-    "type":"set",
-    "name":"set generated name",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-index]' value='`$generate-unique-name-output.generated-name`' />\n",
-    "comments":"",
-    "x":1878.3332176208496,
-    "y":2275.3721857070923,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"8b35adee.43478",
-    "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=\"`$generate-unique-name-output.error-message`\" />\n",
-    "comments":"",
-    "x":1858.3332646687832,
-    "y":2223.6580362319946,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"e47d3411.0e7818",
-    "type":"set",
-    "name":"set vf-module-id",
-    "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id'\n   value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n",
-    "comments":"",
-    "x":526.4285469055176,
-    "y":1039.348237991333,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"7505754.7087a8c",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1092.738182067871,
-    "y":2228.396019935608,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "18ce2f16.816031",
-        "2f06bc6e.cdf504"
-      ]
-    ]
-  },
-  {
-    "id":"8101c46.e2ef238",
-    "type":"get-resource",
-    "name":"get-resource VFC_TO_NETWORK_ROLE_MAPPING",
-    "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VFC_TO_NETWORK_ROLE_MAPPING WHERE vfc_customization_uuid = $db.vf-module-to-vfc-mapping[$vm-type-index].vfc-customization-uuid'\n  pfx='db.vfc-to-network-role-mapping[]'>\n\n",
-    "comments":"",
-    "outputs":1,
-    "x":1055.595329284668,
-    "y":2351.253088951111,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "61785549.e0849c",
-        "5224b8ad.063668"
-      ]
-    ]
-  },
-  {
-    "id":"61785549.e0849c",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1342.8095321655273,
-    "y":2331.6339359283447,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "58d75d53.d15634"
-      ]
-    ]
-  },
-  {
-    "id":"5224b8ad.063668",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1351.3809623718262,
-    "y":2375.9196491241455,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "16f89ad6.193655"
-      ]
-    ]
-  },
-  {
-    "id":"58d75d53.d15634",
-    "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 reading VFC_TO_NETWORK_ROLE_MAPPING table\" />\n",
-    "comments":"",
-    "x":1517.8094635009766,
-    "y":2330.7768363952637,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"f5bdc66c.11bd78",
-    "type":"for",
-    "name":"for each network-role",
-    "xml":"<for index='network-role-index' start='0' end='`$db.vfc-to-network-role-mapping_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":948.6906204223633,
-    "y":2662.4439306259155,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "f495fb98.6c0a18"
-      ]
-    ]
-  },
-  {
-    "id":"f495fb98.6c0a18",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1155.1190719604492,
-    "y":2659.11043548584,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "8d2e0b.55c471f8",
-        "b8d6dab7.8f19b8",
-        "46e547.478a3ab8",
-        "1da90578.6d8f2b",
-        "415ccc2d.a04f44",
-        "5a0fce27.0cc5",
-        "2cebaf.8e65f452",
-        "c8e0f30f.8d5d8"
-      ]
-    ]
-  },
-  {
-    "id":"8d2e0b.55c471f8",
-    "type":"for",
-    "name":"for each network",
-    "xml":"<for silentFailure='true' index='idx' start='0' end='`$service-data.networks.network_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":1364.166633605957,
-    "y":2491.253191947937,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "e2ef30d6.1b483"
-      ]
-    ]
-  },
-  {
-    "id":"b8d6dab7.8f19b8",
-    "type":"set",
-    "name":"set network-index to -1",
-    "xml":"<set>\n<parameter name='network-index' value='-1' />\n",
-    "comments":"",
-    "x":1384.1667022705078,
-    "y":2448.396188735962,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"e2ef30d6.1b483",
-    "type":"switchNode",
-    "name":"switch network-role matches",
-    "xml":"<switch test='`$service-data.networks.network[$idx].network-data.network-topology.network-topology-identifier-structure.network-role == $db.vfc-to-network-role-mapping[$network-role-index].network-role`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1592.737907409668,
-    "y":2489.824381828308,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "79eba1ee.46b8"
-      ]
-    ]
-  },
-  {
-    "id":"79eba1ee.46b8",
-    "type":"outcomeTrue",
-    "name":"true",
-    "xml":"<outcome value='true'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1791.3095741271973,
-    "y":2489.824585914612,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "52d952.2163c6b"
-      ]
-    ]
-  },
-  {
-    "id":"52d952.2163c6b",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":1932.7381420135498,
-    "y":2488.396014213562,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "19d3b2d3.0314cd",
-        "b934653f.8e9748"
-      ]
-    ]
-  },
-  {
-    "id":"19d3b2d3.0314cd",
-    "type":"set",
-    "name":"set network-index to idx",
-    "xml":"<set>\n<parameter name='network-index' value='`$idx`' />\n",
-    "comments":"",
-    "x":2111.30965423584,
-    "y":2465.5390100479126,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"b934653f.8e9748",
-    "type":"break",
-    "name":"break",
-    "xml":"<break>",
-    "comments":"",
-    "x":2059.8808937072754,
-    "y":2511.2531900405884,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"46e547.478a3ab8",
-    "type":"switchNode",
-    "name":"switch network-index",
-    "xml":"<switch test='`$network-index`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1376.0714721679688,
-    "y":2540.062829017639,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "d2ba67f.cc23298"
-      ]
-    ]
-  },
-  {
-    "id":"d2ba67f.cc23298",
-    "type":"outcomeTrue",
-    "name":"-1",
-    "xml":"<outcome value='-1'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1570.3571968078613,
-    "y":2540.062726020813,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "78f92d17.cec774"
-      ]
-    ]
-  },
-  {
-    "id":"78f92d17.cec774",
-    "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 network found in MD-SAL with network-role ' + $db.vfc-to-network-role-mapping[$network-role-index].network-role`\" />\n",
-    "comments":"",
-    "x":1727.5000457763672,
-    "y":2538.634196281433,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"582721c4.126f6",
-    "type":"for",
-    "name":"for each cloud-region relationship",
-    "xml":"<for index='idx' start='0' end='`$aai.cloud-region.relationship-list.relationship_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":585.9442901611328,
-    "y":1258.0068836212158,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "f632bc1b.960e"
-      ]
-    ]
-  },
-  {
-    "id":"f632bc1b.960e",
-    "type":"switchNode",
-    "name":"switch related-to",
-    "xml":"<switch test='`$aai.cloud-region.relationship-list.relationship[$idx].related-to`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":833.6228332519531,
-    "y":1257.7568130493164,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "c5ce5df.fba4ea"
-      ]
-    ]
-  },
-  {
-    "id":"c5ce5df.fba4ea",
-    "type":"outcome",
-    "name":"complex",
-    "xml":"<outcome value='complex'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1003.0871543884277,
-    "y":1257.1496353149414,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "36cd2be.f10ccd4"
-      ]
-    ]
-  },
-  {
-    "id":"af57b732.5de4d8",
-    "type":"execute",
-    "name":"split related-link",
-    "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='aai-uid-split' />\n   <parameter name='original_string' value='`$aai.cloud-region.relationship-list.relationship[$idx].related-link`' />\n   <parameter name='regex' value='/' />\n",
-    "comments":"",
-    "outputs":1,
-    "x":1343.1823120117188,
-    "y":1211.5782108306885,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"36cd2be.f10ccd4",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1162.8490142822266,
-    "y":1258.2449989318848,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "af57b732.5de4d8",
-        "e276c8d3.3ab668",
-        "71021cf9.d2ce64"
-      ]
-    ]
-  },
-  {
-    "id":"e276c8d3.3ab668",
-    "type":"break",
-    "name":"break",
-    "xml":"<break>",
-    "comments":"",
-    "x":1312.848976135254,
-    "y":1301.5782957077026,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"1da90578.6d8f2b",
-    "type":"set",
-    "name":"set network-role and tag",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role'\n   value='`$db.vfc-to-network-role-mapping[$network-role-index].network-role`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role-tag'\n   value='`$db.vfc-to-network-role-mapping[$network-role-index].network-role-tag`' />\n",
-    "comments":"",
-    "x":1385.8333549499512,
-    "y":2636.2530155181885,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"4f18de56.831f8",
-    "type":"set",
-    "name":"set vm-network-length",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length'\n  value='`$db.vfc-to-network-role-mapping_length`' />\n",
-    "comments":"",
-    "x":942.4999465942383,
-    "y":3051.2532806396484,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"415ccc2d.a04f44",
-    "type":"switchNode",
-    "name":"switch ipv4-ip-version",
-    "xml":"<switch test='`$db.vfc-to-network-role-mapping[$network-role-index].ipv4-ip-version`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1378.452407836914,
-    "y":2719.5863428115845,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "eff505c0.4d80a8",
-        "7ba4a75.88aab58"
-      ]
-    ]
-  },
-  {
-    "id":"15f50ec8.ae15e1",
-    "type":"set",
-    "name":"set network-information-index to -1",
-    "xml":"<set>\n<parameter name='network-information-index' value='-1' />\n\n",
-    "comments":"",
-    "x":1787.97603225708,
-    "y":2684.5864477157593,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"eff505c0.4d80a8",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":1555.1189270019531,
-    "y":2684.586483001709,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "15f50ec8.ae15e1"
-      ]
-    ]
-  },
-  {
-    "id":"7ba4a75.88aab58",
-    "type":"other",
-    "name":"4",
-    "xml":"<outcome value='4'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1553.8808784484863,
-    "y":2750.538625717163,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "77d24f8f.dfe93"
-      ]
-    ]
-  },
-  {
-    "id":"9db64306.b784b",
-    "type":"set",
-    "name":"set network-information-index to 0",
-    "xml":"<set>\n<parameter name='network-information-index' value='0' />\n",
-    "comments":"",
-    "x":1958.4521408081055,
-    "y":2725.0624866485596,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"77d24f8f.dfe93",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1721.0713539123535,
-    "y":2749.872091293335,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "9db64306.b784b",
-        "ae06599.ab8ada8"
-      ]
-    ]
-  },
-  {
-    "id":"ae06599.ab8ada8",
-    "type":"set",
-    "name":"set ip-version 4, use-dhcp, and ip-count",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$network-information-index].ip-version'\n   value='4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$network-information-index].use-dhcp'\n   value='`$db.vfc-to-network-role-mapping[$network-role-index].ipv4-use-dhcp`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$network-information-index].ip-count'\n   value='`$db.vfc-to-network-role-mapping[$network-role-index].ipv4-count`' />\n",
-    "comments":"",
-    "x":1975.4047241210938,
-    "y":2771.7294425964355,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"5a0fce27.0cc5",
-    "type":"switchNode",
-    "name":"switch ipv6-ip-version",
-    "xml":"<switch test='`$db.vfc-to-network-role-mapping[$network-role-index].ipv6-ip-version`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1378.9286041259766,
-    "y":2846.4911251068115,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "c42cc110.b1b6c",
-        "3f79e3b9.76574c"
-      ]
-    ]
-  },
-  {
-    "id":"c42cc110.b1b6c",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":1557.7380981445312,
-    "y":2816.728937149048,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "804f081a.ae1078"
-      ]
-    ]
-  },
-  {
-    "id":"3f79e3b9.76574c",
-    "type":"other",
-    "name":"6",
-    "xml":"<outcome value='6'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1559.1666526794434,
-    "y":2881.0144939422607,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "a9db339d.d7ff6"
-      ]
-    ]
-  },
-  {
-    "id":"dae18443.96dc88",
-    "type":"set",
-    "name":"increment network-information-index",
-    "xml":"<set>\n<parameter name='network-information-index' value='`$network-information-index + 1`' />\n",
-    "comments":"",
-    "x":1964.880744934082,
-    "y":2855.5385236740112,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"a9db339d.d7ff6",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1714.4048118591309,
-    "y":2880.0622329711914,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "dae18443.96dc88",
-        "d1e2a302.f2a79"
-      ]
-    ]
-  },
-  {
-    "id":"804f081a.ae1078",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":1700.404727935791,
-    "y":2816.0625553131104,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"2cebaf.8e65f452",
-    "type":"switchNode",
-    "name":"switch network-information-index",
-    "xml":"<switch test='`$network-information-index`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1414.166618347168,
-    "y":2982.919370651245,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "65a0822f.ef5c1c",
-        "83f08e39.d6a15"
-      ]
-    ]
-  },
-  {
-    "id":"65a0822f.ef5c1c",
-    "type":"outcome",
-    "name":"-1",
-    "xml":"<outcome value='-1'>",
-    "comments":"",
-    "outputs":1,
-    "x":1632.4999752044678,
-    "y":2959.5861167907715,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "19418e05.1e8042"
-      ]
-    ]
-  },
-  {
-    "id":"83f08e39.d6a15",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1632.2619380950928,
-    "y":3005.5384311676025,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "5955caa.70cc334"
-      ]
-    ]
-  },
-  {
-    "id":"19418e05.1e8042",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":1769.166690826416,
-    "y":2957.919776916504,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"5955caa.70cc334",
-    "type":"set",
-    "name":"set network-information-item_length",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item_length'\n   value='`$network-information-index + 1`' />\n",
-    "comments":"",
-    "x":1860.8333053588867,
-    "y":3002.919569015503,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"b0ef8497.4ea668",
-    "type":"for",
-    "name":"for each vm-type",
-    "xml":"<for index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":541,
-    "y":3149.9194660186768,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "fe06fed9.aff3e"
-      ]
-    ]
-  },
-  {
-    "id":"fe06fed9.aff3e",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":744.5715255737305,
-    "y":3150.1576709747314,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "d04bd80b.387cf8"
-      ]
-    ]
-  },
-  {
-    "id":"c8e0f30f.8d5d8",
-    "type":"set",
-    "name":"save network-id",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id'\n  value='`$service-data.networks.network[$idx].network-data.network-topology.network-topology-identifier-structure.network-id`' />\n",
-    "comments":"This isn't a node in MD-SAL, but we need to save this for later when we are doing EIPAM processing",
-    "x":1357.9761810302734,
-    "y":2586.253023147583,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"d04bd80b.387cf8",
-    "type":"for",
-    "name":"for each network-role",
-    "xml":"<for index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":945.999885559082,
-    "y":3149.252721786499,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "5ff438d4.980868"
-      ]
-    ]
-  },
-  {
-    "id":"5ff438d4.980868",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1147.9047012329102,
-    "y":3148.490758895874,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "5c7949ed.12f198"
-      ]
-    ]
-  },
-  {
-    "id":"5c7949ed.12f198",
-    "type":"for",
-    "name":"for each network-information-item",
-    "xml":"<for index='ip-version-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":1392.6665725708008,
-    "y":3148.0151510238647,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "3c49e4a4.13796c"
-      ]
-    ]
-  },
-  {
-    "id":"97b8ba37.35fdb8",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":637.666633605957,
-    "y":3353.9195766448975,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "c20748cc.14a758",
-        "f73ba212.a9db1",
-        "eccb2ab1.4ecf58",
-        "6c51c35e.c8107c",
-        "373238a0.60e488"
-      ]
-    ]
-  },
-  {
-    "id":"c20748cc.14a758",
-    "type":"get-resource",
-    "name":"get-resource EIPAM_IP_SUBNETS",
-    "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from EIPAM_IP_SUBNETS WHERE network_id = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id\n    AND address_family = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$ip-version-index].ip-version'\n  pfx='db.eipam-ip-subnets[]'>\n\n",
-    "comments":"",
-    "outputs":1,
-    "x":1017.6666564941406,
-    "y":3315.586072921753,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "e7cc33.f38f63d",
-        "6e4ec0e0.26982"
-      ]
-    ]
-  },
-  {
-    "id":"1c2857df.d8b0a8",
-    "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 entries found in EIPAM_IP_SUBNETS table for network ID '\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id\n        + ' and address family ' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$ip-version-index].ip-version`\" />\n",
-    "comments":"",
-    "x":1407.6665954589844,
-    "y":3337.2528343200684,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"e7cc33.f38f63d",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1233.0238647460938,
-    "y":3293.205192565918,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "6c1c41f9.cb5ac"
-      ]
-    ]
-  },
-  {
-    "id":"6e4ec0e0.26982",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1241.5952949523926,
-    "y":3337.4909057617188,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "1c2857df.d8b0a8"
-      ]
-    ]
-  },
-  {
-    "id":"6c1c41f9.cb5ac",
-    "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 reading EIPAM_IP_SUBNETS table\" />\n",
-    "comments":"",
-    "x":1408.023796081543,
-    "y":3292.348093032837,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"f73ba212.a9db1",
-    "type":"for",
-    "name":"for each record in EIPAM_IP_SUBNETS",
-    "xml":"<for index='subnets-index' start='0' end='`$db.eipam-ip-subnets_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":1036.9524688720703,
-    "y":3620.82426071167,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "48786485.afdfcc"
-      ]
-    ]
-  },
-  {
-    "id":"48786485.afdfcc",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1293.3810195922852,
-    "y":3621.77654838562,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "76f82048.a92cb",
-        "564032f0.dfbc3c",
-        "a8b83f38.2b35f",
-        "802baf6d.dddb5",
-        "d69aacbb.b1933"
-      ]
-    ]
-  },
-  {
-    "id":"76f82048.a92cb",
-    "type":"get-resource",
-    "name":"get-resource EIPAM_IP_SUBNET_KEYS",
-    "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from EIPAM_IP_SUBNET_KEYS WHERE entity_id = $db.eipam-ip-subnets[$subnets-index].entity-id'\n  pfx='db.eipam-ip-subnet-keys[]'>\n\n",
-    "comments":"",
-    "outputs":1,
-    "x":1604.809585571289,
-    "y":3458.205156326294,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "5c773ab4.c1c354",
-        "76282e7d.401a9"
-      ]
-    ]
-  },
-  {
-    "id":"ea3f166e.9742f8",
-    "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 entries found in EIPAM_IP_SUBNET_KEYS table for entity ID '\n        + $db.eipam-ip-subnets[$subnets-index].entity-id`\" />",
-    "comments":"",
-    "x":2019.809585571289,
-    "y":3478.205156326294,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"5c773ab4.c1c354",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1845.1668548583984,
-    "y":3434.1575145721436,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "a89d01a.87957"
-      ]
-    ]
-  },
-  {
-    "id":"76282e7d.401a9",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1853.7382850646973,
-    "y":3478.4432277679443,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "ea3f166e.9742f8"
-      ]
-    ]
-  },
-  {
-    "id":"a89d01a.87957",
-    "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 reading EIPAM_IP_SUBNET_KEYS table\" />\n",
-    "comments":"",
-    "x":2020.1667861938477,
-    "y":3433.3004150390625,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"eccb2ab1.4ecf58",
-    "type":"set",
-    "name":"set max-level to -1",
-    "xml":"<set>\n<parameter name='max-level' value='-1' />\n",
-    "comments":"",
-    "x":965.7619323730469,
-    "y":3381.538688659668,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"564032f0.dfbc3c",
-    "type":"for",
-    "name":"for each record in EIPAM_IP_SUBNET_KEYS",
-    "xml":"<for index='keys-index' start='0' end='`$db.eipam-ip-subnet-keys_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":1619.3334045410156,
-    "y":3527.2529106140137,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "96321389.4c73f"
-      ]
-    ]
-  },
-  {
-    "id":"96321389.4c73f",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1906.0000534057617,
-    "y":3525.586248397827,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "2d3eea0b.50e1e6"
-      ]
-    ]
-  },
-  {
-    "id":"2d3eea0b.50e1e6",
-    "type":"switchNode",
-    "name":"switch level > max-level?",
-    "xml":"<switch test='`$db.eipam-ip-subnet-keys[$keys-index].level &gt; $max-level`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":2122.6666717529297,
-    "y":3525.586166381836,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "c87a6e6.e044e9"
-      ]
-    ]
-  },
-  {
-    "id":"c87a6e6.e044e9",
-    "type":"outcomeTrue",
-    "name":"true",
-    "xml":"<outcome value='true'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":2314.333599090576,
-    "y":3525.58616065979,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "f7e5553.b6c1fa8"
-      ]
-    ]
-  },
-  {
-    "id":"f7e5553.b6c1fa8",
-    "type":"set",
-    "name":"set max-level, selected-entity-id, selected-plan-name",
-    "xml":"<set>\n<parameter name='max-level' value='`$db.eipam-ip-subnet-keys[$keys-index].level`' />\n<parameter name='selected-entity-id' value='`$db.eipam-ip-subnet-keys[$keys-index].entity-id`' />\n<parameter name='selected-plan-name' value='`$db.eipam-ip-subnets[$subnets-index].plan-name`' />\n",
-    "comments":"",
-    "x":2606.0001068115234,
-    "y":3523.9194173812866,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"a8b83f38.2b35f",
-    "type":"get-resource",
-    "name":"get-resource EIPAM_IP_SUBNET_KEYS",
-    "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from EIPAM_IP_SUBNET_KEYS WHERE entity_id = $selected-entity-id order by level'\n  pfx='db.eipam-ip-subnet-keys[]'>\n\n",
-    "comments":"",
-    "outputs":1,
-    "x":1606.000015258789,
-    "y":3599.157615661621,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "d369bc07.5b51d",
-        "ce7c7e60.3e34b"
-      ]
-    ]
-  },
-  {
-    "id":"7b19e8c7.72e078",
-    "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 entries found in EIPAM_IP_SUBNET_KEYS table for entity ID '\n        + $selected-entity-id`\" />",
-    "comments":"",
-    "x":2021.000015258789,
-    "y":3619.157615661621,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"d369bc07.5b51d",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1846.3572845458984,
-    "y":3575.1099739074707,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "404aa28f.128f4c"
-      ]
-    ]
-  },
-  {
-    "id":"ce7c7e60.3e34b",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1854.9287147521973,
-    "y":3619.3956871032715,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "7b19e8c7.72e078"
-      ]
-    ]
-  },
-  {
-    "id":"404aa28f.128f4c",
-    "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 reading EIPAM_IP_SUBNET_KEYS table\" />\n",
-    "comments":"",
-    "x":2021.3572158813477,
-    "y":3574.2528743743896,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"f31caaf8.dddbb8",
-    "type":"for",
-    "name":"for each record in EIPAM_IP_SUBNET_KEYS",
-    "xml":"<for index='level-index' start='0' end='`$db.eipam-ip-subnet-keys_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":2051.952362060547,
-    "y":3667.729072570801,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "b8b8da21.b44008"
-      ]
-    ]
-  },
-  {
-    "id":"b21661ec.87447",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1744.8093643188477,
-    "y":3751.5385093688965,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "f31caaf8.dddbb8",
-        "18077655.54097a",
-        "b9fd5f75.b5e8a",
-        "df5529a.8c63fd8",
-        "863bfcf2.a453f"
-      ]
-    ]
-  },
-  {
-    "id":"802baf6d.dddb5",
-    "type":"for",
-    "name":"for each ip in ip-count",
-    "xml":"<for index='request-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$ip-version-index].ip-count`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":1543.142807006836,
-    "y":3751.5401363372803,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "b21661ec.87447"
-      ]
-    ]
-  },
-  {
-    "id":"b8b8da21.b44008",
-    "type":"set",
-    "name":"set eipam data for level",
-    "xml":"<set>\n<parameter name='eipam-ip-block.plans[$plans-index].requests[$request-index].pools[$level-index].key-name'\n   value='`$db.eipam-ip-subnet-keys[$level-index].key-name`' />\n<parameter name='eipam-ip-block.plans[$plans-index].requests[$request-index].pools[$level-index].key-value'\n   value='`$db.eipam-ip-subnet-keys[$level-index].key-value`' />\n",
-    "comments":"",
-    "x":2358.8571243286133,
-    "y":3667.4918384552,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"18077655.54097a",
-    "type":"set",
-    "name":"set eipam data pools_length",
-    "xml":"<set>\n<parameter name='eipam-ip-block.plans[$plans-index].requests[$request-index].pools_length'\n   value='`$db.eipam-ip-subnet-keys_length`' />\n",
-    "comments":"",
-    "x":1998.142677307129,
-    "y":3713.2054557800293,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"3ab291c1.7ed19e",
-    "type":"set",
-    "name":"set plans-index to 0",
-    "xml":"<set>\n<parameter name='plans-index' value='0' />\n",
-    "comments":"",
-    "x":549.7619171142578,
-    "y":3093.8717365264893,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"6c51c35e.c8107c",
-    "type":"set",
-    "name":"increment plans-index",
-    "xml":"<set>\n<parameter name='plans-index' value='`$plans-index + 1`' />\n",
-    "comments":"",
-    "x":981.0952224731445,
-    "y":4012.871983528137,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"d69aacbb.b1933",
-    "type":"set",
-    "name":"set eipam requests_length",
-    "xml":"<set>\n<parameter name='eipam-ip-block.plans[$plans-index].requests_length'\n   value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$ip-version-index].ip-count`' />\n",
-    "comments":"",
-    "x":1553.6191711425781,
-    "y":3893.2055082321167,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"373238a0.60e488",
-    "type":"set",
-    "name":"set eipam plan-name, address-family",
-    "xml":"<set>\n<parameter name='eipam-ip-block.plans[$plans-index].plan-name' value='`$selected-plan-name`' />\n<parameter name='eipam-ip-block.plans[$plans-index].address-family'\n   value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$ip-version-index].ip-version`' />\n",
-    "comments":"",
-    "x":1029.6666564941406,
-    "y":3965.7284650802612,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"8923d8d0.f4b338",
-    "type":"set",
-    "name":"set eipam plans_length",
-    "xml":"<set>\n<parameter name='eipam-ip-block.plans_length' value='`$plans-index`' />\n",
-    "comments":"",
-    "x":553.4285697937012,
-    "y":4037.919857978821,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"4f613c00.2b7644",
-    "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":512.7975616455078,
-    "y":5113.011030197144,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"39e9e85.a687718",
-    "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":524.5832290649414,
-    "y":4888.990794181824,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"dfa4db2.9778928",
-    "type":"set",
-    "name":"copy vf-module-topology data",
-    "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.' value='$tmp.vf-module-topology.' />\n",
-    "comments":"",
-    "x":569.4642333984375,
-    "y":4840.776306152344,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"ff59520e.ec557",
-    "type":"execute",
-    "name":"printContext",
-    "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmodule.log' />\n",
-    "comments":"",
-    "outputs":1,
-    "x":507.6785125732422,
-    "y":5065.240846633911,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"26166f96.2f2dc",
-    "type":"execute",
-    "name":"call EIPAM assignIPAddress",
-    "xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"assignIPAddress\">",
-    "comments":"",
-    "outputs":1,
-    "x":933.5952911376953,
-    "y":4126.880926132202,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "3cca0436.97a71c"
-      ]
-    ]
-  },
-  {
-    "id":"3cca0436.97a71c",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>",
-    "outputs":1,
-    "x":1147.5952911376953,
-    "y":4126.880926132202,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "3c2970af.d2cab"
-      ]
-    ]
-  },
-  {
-    "id":"3c2970af.d2cab",
-    "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\t<parameter name=\"error-message\" value=\"An error occured while obtaining new address blocks from EIPAM.\" />\n",
-    "comments":"",
-    "x":1286.5952911376953,
-    "y":4126.880926132202,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"b9fd5f75.b5e8a",
-    "type":"set",
-    "name":"set eipam client-key, mask",
-    "xml":"<set>\n<parameter name='eipam-ip-block.plans[$plans-index].requests[$request-index].client-key'\n   value='`$generate-unique-name-output.generated-name`' />\n<parameter name='eipam-ip-block.plans[$plans-index].requests[$request-index].info'\n   value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />\n<parameter name='eipam-ip-block.plans[$plans-index].requests[$request-index].mask'\n   value='32' />\n",
-    "comments":"",
-    "x":1995.2857284545898,
-    "y":3847.015483856201,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"7ae88bfe.f72b94",
-    "type":"for",
-    "name":"for each vm-type",
-    "xml":"<for index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":533,
-    "y":4236.252558708191,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "42f93af5.a0fff4"
-      ]
-    ]
-  },
-  {
-    "id":"42f93af5.a0fff4",
-    "type":"for",
-    "name":"for each vm-network",
-    "xml":"<for index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":741.6666831970215,
-    "y":4236.252884864807,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "75df27a.fd89ad8"
-      ]
-    ]
-  },
-  {
-    "id":"75df27a.fd89ad8",
-    "type":"for",
-    "name":"for each network-information-item",
-    "xml":"<for index='ip-version-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":1006.6666717529297,
-    "y":4237.919226646423,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "fd735d1.2d1f0a"
-      ]
-    ]
-  },
-  {
-    "id":"14f4699d.ce7016",
-    "type":"set",
-    "name":"set plans-index = 0",
-    "xml":"<set>\n<parameter name='plans-index' value='0' />\n",
-    "comments":"",
-    "x":539.9999923706055,
-    "y":4181.252646446228,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"2d342044.e7473",
-    "type":"for",
-    "name":"for each eipam request",
-    "xml":"<for index='ip-index' start='0' end='`$eipam-ip-block.plans[$plans-index].requests_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":1776.6666259765625,
-    "y":4209.586531639099,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "c211fc94.3e7ba"
-      ]
-    ]
-  },
-  {
-    "id":"c211fc94.3e7ba",
-    "type":"set",
-    "name":"set ip address",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$ip-version-index].network-ips.network-ip[$ip-index]'\n  value='`$eipam-ip-block.plans[$plans-index].requests[$ip-index].ip-prefix`' />\n",
-    "comments":"",
-    "x":1988.3332633972168,
-    "y":4207.919702529907,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"bffc2bb7.1135f8",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1576.6664581298828,
-    "y":4234.586045265198,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "2d342044.e7473",
-        "2cedc5a4.ab6bba"
-      ]
-    ]
-  },
-  {
-    "id":"2cedc5a4.ab6bba",
-    "type":"set",
-    "name":"increment plans-index",
-    "xml":"<set>\n<parameter name='plans-index' value='`$plans-index + 1`' />\n",
-    "comments":"",
-    "x":1771.66650390625,
-    "y":4256.252387046814,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"1f69056.fe181fb",
-    "type":"save",
-    "name":"update vf-module",
-    "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=\"vf-module-name\" value=\"`$tmp.vf-module-topology.vf-module-topology-identifier.vf-module-name`\" />\n<parameter name=\"model-invariant-id\" value=\"`$tmp.vf-module-topology.onap-model-information.model-invariant-uuid`\" />\n<parameter name=\"model-version-id\" value=\"`$tmp.vf-module-topology.onap-model-information.model-uuid`\" />\n<parameter name=\"model-customization-id\" value=\"`$tmp.vf-module-topology.onap-model-information.model-customization-uuid`\" />\n<parameter name=\"selflink\" value=\"`$vf-module-object-path`\" />\n",
-    "comments":"",
-    "outputs":1,
-    "x":534.9999694824219,
-    "y":4381.252729415894,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "80694bdc.1daa28",
-        "7fffbd12.aef484"
-      ]
-    ]
-  },
-  {
-    "id":"753f20c5.bbede",
-    "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":1028.333396911621,
-    "y":4434.585899353027,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"80694bdc.1daa28",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":704.3573303222656,
-    "y":4348.204874038696,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "1dc4fe5.fac6902"
-      ]
-    ]
-  },
-  {
-    "id":"7fffbd12.aef484",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":712.9286842346191,
-    "y":4410.823854446411,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "34139b45.2d0504"
-      ]
-    ]
-  },
-  {
-    "id":"8f30d2e9.eb03c",
-    "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":1039.3572845458984,
-    "y":4366.348430633545,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"aa1a950e.7071b8",
-    "type":"set",
-    "name":"set vf-module-object-path",
-    "xml":"<set>\n<parameter name='vf-module-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $service-data.service-topology.service-topology-identifier.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n\n",
-    "comments":"",
-    "x":561.666633605957,
-    "y":4306.252715110779,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"df808ad1.2e9658",
-    "type":"save",
-    "name":"save vf-module relationships",
-    "xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vf-module:relationship-list\"\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=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"l3-network.network-id\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`\" />\n",
-    "comments":"",
-    "outputs":1,
-    "x":994.3094787597656,
-    "y":4509.975717544556,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "64c1b4ac.c2087c",
-        "f9da1963.2589e8"
-      ]
-    ]
-  },
-  {
-    "id":"64c1b4ac.c2087c",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1219.1428108215332,
-    "y":4470.847640037537,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "e705dca.d8b482"
-      ]
-    ]
-  },
-  {
-    "id":"f9da1963.2589e8",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1227.7142639160156,
-    "y":4548.466782569885,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "76421cc4.4bff94"
-      ]
-    ]
-  },
-  {
-    "id":"8b99afe7.e214",
-    "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 relationships in AAI\" />\n",
-    "comments":"",
-    "x":1554.1429443359375,
-    "y":4490.657536506653,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"19070089.9bb2ff",
-    "type":"for",
-    "name":"for each vm-type",
-    "xml":"<for index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":535.3095092773438,
-    "y":4511.642220497131,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "4fc0dd78.6aaf84"
-      ]
-    ]
-  },
-  {
-    "id":"4fc0dd78.6aaf84",
-    "type":"for",
-    "name":"for each vm-network",
-    "xml":"<for index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":745.9761867523193,
-    "y":4509.976043701172,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "df808ad1.2e9658"
-      ]
-    ]
-  },
-  {
-    "id":"a464ded4.4fcf4",
-    "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":1555.9762382507324,
-    "y":4565.642075538635,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"d1e2a302.f2a79",
-    "type":"set",
-    "name":"set ip-version 6, use-dhcp, and ip-count",
-    "xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$network-information-index].ip-version'\n   value='6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$network-information-index].use-dhcp'\n   value='`$db.vfc-to-network-role-mapping[$network-role-index].ipv6-use-dhcp`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$network-information-index].ip-count'\n   value='`$db.vfc-to-network-role-mapping[$network-role-index].ipv6-count`' />\n",
-    "comments":"",
-    "x":1974.7857208251953,
-    "y":2900.213849067688,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"3c49e4a4.13796c",
-    "type":"switchNode",
-    "name":"switch use-dhcp",
-    "xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$ip-version-index].use-dhcp`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1640.500114440918,
-    "y":3147.356598854065,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "2413eb81.677464"
-      ]
-    ]
-  },
-  {
-    "id":"2413eb81.677464",
-    "type":"outcome",
-    "name":"N",
-    "xml":"<outcome value='N'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1810.5000267028809,
-    "y":3145.928201675415,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "97b8ba37.35fdb8"
-      ]
-    ]
-  },
-  {
-    "id":"fd735d1.2d1f0a",
-    "type":"switchNode",
-    "name":"switch use-dhcp",
-    "xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$ip-version-index].use-dhcp`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1247.642837524414,
-    "y":4236.642521858215,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "b5446bac.ef4728"
-      ]
-    ]
-  },
-  {
-    "id":"b5446bac.ef4728",
-    "type":"outcome",
-    "name":"N",
-    "xml":"<outcome value='N'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1417.642749786377,
-    "y":4235.214124679565,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "bffc2bb7.1135f8"
-      ]
-    ]
-  },
-  {
-    "id":"a2e18bff.138e78",
-    "type":"for",
-    "name":"for each vm-type",
-    "xml":"<for index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":534.309455871582,
-    "y":4641.642714500427,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "2e24847f.54fa9c"
-      ]
-    ]
-  },
-  {
-    "id":"2e24847f.54fa9c",
-    "type":"for",
-    "name":"for each vm",
-    "xml":"<for index='vm-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-count`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":729.3094863891602,
-    "y":4640.975722312927,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "2284873e.c8dbc8"
-      ]
-    ]
-  },
-  {
-    "id":"cae20484.4fdb28",
-    "type":"save",
-    "name":"save VIPR_CONFIGURATION",
-    "xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\"\nkey=\"INSERT INTO VIPR_CONFIGURATION (vnf_id, vnf_name, ecomp_service_instance_id, vm_name, cloud_region_id, cloud_owner) VALUES ( $service-data.vnfs.vnf[$vnf-index].vnf-id , $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name , $service-data.service-information.service-instance-id , $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-index] , $tmp.vf-module-topology.aic-cloud-region , 'CloudOwner')\" >",
-    "comments":"",
-    "outputs":1,
-    "x":1120.976188659668,
-    "y":4663.643372535706,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "4d4ebb0a.8e16a4"
-      ]
-    ]
-  },
-  {
-    "id":"317d3d10.b08102",
-    "type":"comment",
-    "name":"Not a failure",
-    "info":"",
-    "comments":"",
-    "x":1640.976089477539,
-    "y":4663.643377304077,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"4d4ebb0a.8e16a4",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1330.976173400879,
-    "y":4663.643522262573,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "6df75797.6cb868"
-      ]
-    ]
-  },
-  {
-    "id":"6df75797.6cb868",
-    "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=\"GENERIC-RESOURCE-API.vf-module-topology-operation-assign:REQID\"/>\n<parameter name=\"field3\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Failed to insert VIPR_CONFIGURATION record\"/>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1474.3096160888672,
-    "y":4663.643360137939,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"863bfcf2.a453f",
-    "type":"call",
-    "name":"call GENERIC-RESOURCE-API:generate-unique-name",
-    "xml":"<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":2084.3094940185547,
-    "y":3801.641947746277,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "41e4565d.44f878"
-      ]
-    ]
-  },
-  {
-    "id":"41e4565d.44f878",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":2371.6905364990234,
-    "y":3799.4993686676025,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "892fb77a.70d198"
-      ]
-    ]
-  },
-  {
-    "id":"df5529a.8c63fd8",
-    "type":"set",
-    "name":"set variables for generating unique name",
-    "xml":"<set>\n<parameter name='generate-unique-name-input.index-table-name' value='EIPAM_CLIENT_KEY_INDEX' />\n<parameter name='generate-unique-name-input.index-table-prefix-column' value='vnf_name_prefix' />\n<parameter name='generate-unique-name-input.name-table-type' value='CLIENT_KEY' />\n<parameter name='generate-unique-name-input.prefix' value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-naming-code + ':' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id + ':' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$ip-version-index].ip-version + ':'`\" />\n<parameter name='generate-unique-name-input.index-length' value='' />\n",
-    "comments":"",
-    "x":2037.6428260803223,
-    "y":3756.6421089172363,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"892fb77a.70d198",
-    "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=\"`$generate-unique-name-output.error-message`\" />\n",
-    "comments":"",
-    "x":2539.547649383545,
-    "y":3798.9278802871704,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"18e532bb.94aa6d",
-    "type":"switchNode",
-    "name":"switch ecomp-generated-naming == 'Y'",
-    "xml":"<switch test=\"$db.vfc-model.ecomp-generated-naming == 'Y'\">\n",
-    "comments":"",
-    "outputs":1,
-    "x":1014.3095626831055,
-    "y":2063.309280395508,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "87402ff0.1c134"
-      ]
-    ]
-  },
-  {
-    "id":"87402ff0.1c134",
-    "type":"outcomeFalse",
-    "name":"false",
-    "xml":"<outcome value='false'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1245.976173400879,
-    "y":2062.3089113235474,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "92edfbd1.110d28"
-      ]
-    ]
-  },
-  {
-    "id":"92edfbd1.110d28",
-    "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=\"`'ECOMP generated naming is not Y for VFC customization UUID ' + $db.vf-module-to-vfc-mapping[$db-vm-index].vfc_customization_uuid`\" />\n",
-    "comments":"",
-    "x":1392.6429138183594,
-    "y":2061.6423664093018,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"127d9e0e.3be312",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1504.3097381591797,
-    "y":4614.975073814392,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "d222b70d.a58a58"
-      ]
-    ]
-  },
-  {
-    "id":"4cc71899.b3ae38",
-    "type":"comment",
-    "name":"Not a failure",
-    "info":"",
-    "comments":"",
-    "x":1827.6427917480469,
-    "y":4613.308896064758,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"d222b70d.a58a58",
-    "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=\"GENERIC-RESOURCE-API.vf-module-topology-operation-assign:REQID\"/>\n<parameter name=\"field3\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Failed to insert VIPR_CONFIGURATION record\"/>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1650.3096733093262,
-    "y":4614.975707054138,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"2284873e.c8dbc8",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":897.642879486084,
-    "y":4639.975566864014,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "a73701c2.3e09c",
-        "cae20484.4fdb28"
-      ]
-    ]
-  },
-  {
-    "id":"a73701c2.3e09c",
-    "type":"delete",
-    "name":"delete any pre-existing records in VIPR_CONFIGURATION",
-    "xml":"<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='DELETE from VIPR_CONFIGURATION WHERE vnf_id = $service-data.vnfs.vnf[$vnf-index].vnf-id\n     AND ecomp_service_instance_id = $service-data.service-information.service-instance-id\n     AND vm_name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-index]' >",
-    "comments":"",
-    "outputs":1,
-    "x":1210.976203918457,
-    "y":4615.309706687927,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "127d9e0e.3be312"
-      ]
-    ]
-  },
-  {
-    "id":"68800eba.46188",
-    "type":"update",
-    "name":"update EIPAM_IP_ASSIGNMENTS to PENDING_DELETE...",
-    "xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\"\nkey=\"UPDATE EIPAM_IP_ASSIGNMENTS set status = $tmp.status WHERE info = $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-id\" >",
-    "comments":"",
-    "outputs":1,
-    "x":2917.6429481506348,
-    "y":4251.64261007309,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "7301d98d.3c90a8"
-      ]
-    ]
-  },
-  {
-    "id":"b6002bec.a5ed88",
-    "type":"set",
-    "name":"set status variable",
-    "xml":"<set>\n<parameter name='tmp.status' value=\"`'PENDING_DELETE_' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-id`\" />\n",
-    "comments":"",
-    "x":2787.642910003662,
-    "y":4204.9759821891785,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"7301d98d.3c90a8",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":3222.6428565979004,
-    "y":4249.97590970993,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "4d39b53.eeb304c"
-      ]
-    ]
-  },
-  {
-    "id":"4d39b53.eeb304c",
-    "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 on rollback\" />\n",
-    "comments":"",
-    "x":3412.6428833007812,
-    "y":4249.785645008087,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"72df2a3e.4251b4",
-    "type":"execute",
-    "name":"execute EIPAM unassign IP addresses",
-    "xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"unassignIPAddress\">\n<parameter name=\"deleteEIPAM_status\" value=\"`$tmp.status`\" />\n",
-    "comments":"",
-    "outputs":1,
-    "x":2852.6429176330566,
-    "y":4296.642653942108,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "77b8e820.4a3988"
-      ]
-    ]
-  },
-  {
-    "id":"77b8e820.4a3988",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":3089.309543609619,
-    "y":4296.642596721649,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "89dbd50f.fd7c38"
-      ]
-    ]
-  },
-  {
-    "id":"89dbd50f.fd7c38",
-    "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 in EIPAM unassign IP address on rollback\" />\n",
-    "comments":"",
-    "x":3279.3095703125,
-    "y":4296.452332019806,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"54652b75.46fe04",
-    "type":"comment",
-    "name":"roll back EIPAM",
-    "info":"",
-    "comments":"",
-    "x":2762.6429481506348,
-    "y":4151.642935593923,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"2bdf3ccf.849b44",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":2594.3095741271973,
-    "y":4254.97610616684,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "b6002bec.a5ed88",
-        "68800eba.46188",
-        "72df2a3e.4251b4"
-      ]
-    ]
-  },
-  {
-    "id":"1dc4fe5.fac6902",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":862.6428985595703,
-    "y":4347.975544929504,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "8f30d2e9.eb03c",
-        "b9241d04.9c139"
-      ]
-    ]
-  },
-  {
-    "id":"34139b45.2d0504",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":867.6428375244141,
-    "y":4410.641888618469,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "753f20c5.bbede",
-        "b9241d04.9c139"
-      ]
-    ]
-  },
-  {
-    "id":"e705dca.d8b482",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1387.6428146362305,
-    "y":4470.641909599304,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "8b99afe7.e214",
-        "b9241d04.9c139"
-      ]
-    ]
-  },
-  {
-    "id":"76421cc4.4bff94",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1382.642734527588,
-    "y":4548.641750335693,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "a464ded4.4fcf4",
-        "b9241d04.9c139"
-      ]
-    ]
-  },
-  {
-    "id":"f2ed6314.ee329",
-    "type":"set",
-    "name":"set vf-module-to-vfc-mapping length to 0",
-    "xml":"<set>\n<parameter name='db.vf-module-to-vfc-mapping_length' value='0' />\n",
-    "comments":"",
-    "x":1161.500099182129,
-    "y":1896.9280138015747,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"16f89ad6.193655",
-    "type":"set",
-    "name":"set vfc-to-network-role-mapping length to 0",
-    "xml":"<set>\n<parameter name='db.vfc-to-network-role-mapping_length' value='0' />\n",
-    "comments":"",
-    "x":1614.7857818603516,
-    "y":2375.9280395507812,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"454e063f.718d08",
-    "type":"switchNode",
-    "name":"switch plans-index > 0",
-    "xml":"<switch test='`$plans-index &gt; 0`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":550.5000762939453,
-    "y":4127.356512069702,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "7b0f806f.b0b31"
-      ]
-    ]
-  },
-  {
-    "id":"7b0f806f.b0b31",
-    "type":"outcomeTrue",
-    "name":"true",
-    "xml":"<outcome value='true'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":733.3572158813477,
-    "y":4127.356721878052,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "26166f96.2f2dc"
-      ]
-    ]
-  },
-  {
-    "id":"b9241d04.9c139",
-    "type":"switchNode",
-    "name":"switch plans-index > 0",
-    "xml":"<switch test='`$plans-index &gt; 0`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":2241.6665000915527,
-    "y":4254.261742115021,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "d4e55b39.4088b8"
-      ]
-    ]
-  },
-  {
-    "id":"d4e55b39.4088b8",
-    "type":"outcomeTrue",
-    "name":"true",
-    "xml":"<outcome value='true'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":2424.523639678955,
-    "y":4254.26195192337,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-        "2bdf3ccf.849b44"
-      ]
-    ]
-  },
-  {
-    "id":"aedcd126.656c8",
-    "type":"set",
-    "name":"set service-type",
-    "xml":"<set>\n<parameter name='service-data.service-information.service-type' value='`$service-data.service-information.subscription-service-type`' />\n",
-    "comments":"EIPAM plug-in needs this attribute set with this name",
-    "x":530.6666145324707,
-    "y":4080.92791557312,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"47f3a0dd.9d94b",
-    "type":"returnFailure",
-    "name":"return failure",
-    "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
-    "comments":"",
-    "x":269,
-    "y":4838.749938964844,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"eba5daaf.aa8698",
-    "type":"comment",
-    "name":"Fix $ in value",
-    "info":"",
-    "comments":"",
-    "x":774.7499465942383,
-    "y":4844.000087738037,
-    "z":"e6090836.aef008",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"c314b843.e5cd58",
-    "type":"call",
-    "name":"call check for VNF-API-preload and copy",
-    "xml":"<call module='GENERIC-RESOURCE-API' rpc='gw-vfmodule-update' mode='sync' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":604.1668701171875,
-    "y":4950.9169921875,
-    "z":"e6090836.aef008",
-    "wires":[
-      [
-
-      ]
-    ]
-  }
-]
\ No newline at end of file
+[\r
+    {\r
+        "id": "3c926793.88f8e8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 112,\r
+        "y": 77.02430057525635,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8e22c419.c359c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e22c419.c359c8",\r
+        "type": "service-logic",\r
+        "name": "GENERIC-RESOURCE-API ${project.version}",\r
+        "module": "GENERIC-RESOURCE-API",\r
+        "version": "${project.version}",\r
+        "comments": "",\r
+        "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='1-4-2-20181108R1'>",\r
+        "outputs": 1,\r
+        "x": 225.85713577270508,\r
+        "y": 116.83383846282959,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "5f18dcaf.1733e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f18dcaf.1733e4",\r
+        "type": "method",\r
+        "name": "method vf-module-topology-operation-assign",\r
+        "xml": "<method rpc='vf-module-topology-operation-assign' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 225.42862701416016,\r
+        "y": 157.02430057525635,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "bfee1c79.25f4d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fd852c3d.9d104",\r
+        "type": "comment",\r
+        "name": "vf-module-topology-operation-assign",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 517.3210983276367,\r
+        "y": 20,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5621ecb6.141394",\r
+        "type": "switchNode",\r
+        "name": "switch request-action",\r
+        "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 517.1905097961426,\r
+        "y": 332.548122882843,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "27ea8761.a38d7",\r
+                "39338a50.ba0c9e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "27ea8761.a38d7",\r
+        "type": "outcome",\r
+        "name": "CreateVfModuleInstance",\r
+        "xml": "<outcome value='CreateVfModuleInstance'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 779.2381248474121,\r
+        "y": 309.6910090446472,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "e24ff94b.792af8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "39338a50.ba0c9e",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 722.9047698974609,\r
+        "y": 355.07199811935425,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d1fcb1c9.df0ba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e24ff94b.792af8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 969.0952892303467,\r
+        "y": 309.69104051589966,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d1fcb1c9.df0ba",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 'assign' then request-action must be 'CreateVfModuleInstance'\" />\n",\r
+        "comments": "",\r
+        "x": 987.9047775268555,\r
+        "y": 355.40531063079834,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b13c4350.370938",\r
+        "type": "get-resource",\r
+        "name": "get-resource VF_MODULE_MODEL",\r
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODULE_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid'\n  pfx='db.vf-module-model'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 564.5237770080566,\r
+        "y": 423.6910729408264,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "571b8345.3afedc",\r
+                "dee1e46d.9ae7c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0e2e8ab.4a9f9",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 model found for VF module customization UUID ' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`\" />\n",\r
+        "comments": "",\r
+        "x": 1005.9521980285645,\r
+        "y": 448.1195454597473,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "571b8345.3afedc",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 830.3094673156738,\r
+        "y": 404.0719037055969,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "a50bc128.476618"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dee1e46d.9ae7c8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 838.8808975219727,\r
+        "y": 448.3576169013977,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "e0e2e8ab.4a9f9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a50bc128.476618",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 reading VF_MODULE_MODEL table\" />\n",\r
+        "comments": "",\r
+        "x": 1005.309398651123,\r
+        "y": 403.21480417251587,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fe2663d3.ad286",\r
+        "type": "switchNode",\r
+        "name": "switch service-data.vnfs.vnf_length",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 559.6190414428711,\r
+        "y": 632.2624082565308,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "c2c56698.b84c38",\r
+                "69d3fcd2.10cc54"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2c56698.b84c38",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 800.3333129882812,\r
+        "y": 609.4051485061646,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "71fe3c04.e95c14"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "69d3fcd2.10cc54",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 800.0951538085938,\r
+        "y": 650.3576669692993,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "f260a284.46dcc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "72f655d6.4f3d74",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 138.19043731689453,\r
+        "y": 3113.92930662632,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "32d3cb49.a3ac2c",\r
+                "bd2a2adb.54955",\r
+                "47c04218.47c91c",\r
+                "5d68b4f6.9bd994",\r
+                "4cbe79da.e231f8",\r
+                "2b324bfd.26e0fc",\r
+                "ed77dce7.269d88",\r
+                "62ca20ce.f4db7",\r
+                "cd265369.c8e4",\r
+                "4772b1e6.c27368",\r
+                "533af805.057888",\r
+                "acb49220.447a5",\r
+                "7f55025b.b643ec",\r
+                "87463151.06bbf8",\r
+                "5dbea689.bf65d8",\r
+                "b96e4724.95afc",\r
+                "9aa91724.bae38",\r
+                "1a40ee60.b28b3a",\r
+                "beb8db1.da0a8a8",\r
+                "d321cb9d.153fd8",\r
+                "ed92ecd.0ad519",\r
+                "1d19c87b.60a2d",\r
+                "e7b2dbd5.bd9e",\r
+                "facd6ff7.1eed9",\r
+                "f10f9580.1e0308",\r
+                "e7fac88.832d038",\r
+                "def45b38.4bd55",\r
+                "7f309670.a38298",\r
+                "b80a89b3.da4648",\r
+                "1781a3e7.247ed4",\r
+                "69eb61e5.2ebc48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "71fe3c04.e95c14",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 966.999927520752,\r
+        "y": 608.6909036636353,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f260a284.46dcc",\r
+        "type": "for",\r
+        "name": "for each vnf",\r
+        "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 962.3332977294922,\r
+        "y": 650.0242853164673,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "7deaebc4.ac7614"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7deaebc4.ac7614",\r
+        "type": "switchNode",\r
+        "name": "switch service data vnf == input vnf",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1213.6665954589844,\r
+        "y": 649.6910133361816,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "51d14b17.854d7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51d14b17.854d7c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1443.6666069030762,\r
+        "y": 649.0243263244629,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "77c2e270.ed179c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b064f8ff.c2b5c",\r
+        "type": "set",\r
+        "name": "set vnf-index to -1",\r
+        "xml": "<set>\n<parameter name='vnf-index' value='-1' />\n",\r
+        "comments": "",\r
+        "x": 508.66666412353516,\r
+        "y": 563.6909074783325,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d54d91d7.8b3e78",\r
+        "type": "set",\r
+        "name": "set vnf-index to idx",\r
+        "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
+        "comments": "",\r
+        "x": 1765.3332443237305,\r
+        "y": 620.024284362793,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a5f7f097.af8f7",\r
+        "type": "switchNode",\r
+        "name": "switch vnf-index",\r
+        "xml": "<switch test='`$vnf-index`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 498.6666717529297,\r
+        "y": 700.3576040267944,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "be112994.00d4d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be112994.00d4d8",\r
+        "type": "outcome",\r
+        "name": "-1",\r
+        "xml": "<outcome value='-1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 677.000057220459,\r
+        "y": 699.6909799575806,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "470db32f.b4b60c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "470db32f.b4b60c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 836.9999656677246,\r
+        "y": 699.0242834091187,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "32d3cb49.a3ac2c",\r
+        "type": "switchNode",\r
+        "name": "switch vf-module_length",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 515.3333930969238,\r
+        "y": 1330.3578004837036,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "7ab560e4.1a6d38",\r
+                "5f6aa735.a00798"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ab560e4.1a6d38",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 772.7143478393555,\r
+        "y": 1297.5005741119385,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "a613543c.e2cc28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a613543c.e2cc28",\r
+        "type": "set",\r
+        "name": "set vf-module-index=0",\r
+        "xml": "<set>\n<parameter name='vf-module-index' value='0' />\n",\r
+        "comments": "",\r
+        "x": 960.3333854675293,\r
+        "y": 1298.1673488616943,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5f6aa735.a00798",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 773.1428909301758,\r
+        "y": 1361.7864322662354,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "b60fe042.ca106"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da90dded.536778",\r
+        "type": "set",\r
+        "name": "set vf-module-index = vf-module_length",\r
+        "xml": "<set>\n<parameter name='vf-module-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n",\r
+        "comments": "",\r
+        "x": 1158.3334312438965,\r
+        "y": 1341.97682762146,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d9bea081.a8647",\r
+        "type": "for",\r
+        "name": "for each existing VF module",\r
+        "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1117.428524017334,\r
+        "y": 1386.072057723999,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "1df57378.738945"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b60fe042.ca106",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 909.8571701049805,\r
+        "y": 1361.7863578796387,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "da90dded.536778",\r
+                "d9bea081.a8647"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1df57378.738945",\r
+        "type": "switchNode",\r
+        "name": "switch vf-module-information.vf-module-id == service-data.vnfs.vnf[].vf-modules.vf-module[].vf-module-id",\r
+        "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1621.0476264953613,\r
+        "y": 1385.6434688568115,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "885ce266.411c5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "885ce266.411c5",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2063.666675567627,\r
+        "y": 1385.2149200439453,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "1d1cc66f.ea78a2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d1cc66f.ea78a2",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"`'VF module id ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id\n       + ' already exists, and status is ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.vf-module-level-oper-status.order-status`\" />\n",\r
+        "comments": "",\r
+        "x": 2215.5715560913086,\r
+        "y": 1385.2149066925049,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a40536a4.046de8",\r
+        "type": "comment",\r
+        "name": "make sure this VF module doesn't exist already",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1647.4999732971191,\r
+        "y": 1340.2709608078003,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bd2a2adb.54955",\r
+        "type": "set",\r
+        "name": "set new vf-module_length",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-module-index + 1`' />\n",\r
+        "comments": "",\r
+        "x": 525.9999732971191,\r
+        "y": 1441.3576555252075,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "47c04218.47c91c",\r
+        "type": "set",\r
+        "name": "set vf-module-topology data",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-topology-identifier.vf-module-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-topology-identifier.vf-module-name' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\n<parameter name='tmp.vf-module-topology.vf-module-topology-identifier.vf-module-type' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='tmp.vf-module-topology.tenant' value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='tmp.vf-module-topology.aic-cloud-region' value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n",\r
+        "comments": "",\r
+        "x": 532.4999923706055,\r
+        "y": 1553.857762336731,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b167e5bd.dfc368",\r
+        "type": "set",\r
+        "name": "set aic-clli",\r
+        "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.aic-clli'\n   value='`$aai-uid-split[$aai-uid-split_length - 1]`' />\n",\r
+        "comments": "",\r
+        "x": 1293.4522514343262,\r
+        "y": 1713.0956888198853,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5d68b4f6.9bd994",\r
+        "type": "switchNode",\r
+        "name": "switch aic-clli",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 492.4999122619629,\r
+        "y": 1827.0480289459229,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8b438660.c4b018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b438660.c4b018",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 637.7856025695801,\r
+        "y": 1827.0480976104736,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "a98150bd.2afc08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a98150bd.2afc08",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 aic-clli in AAI for aic-cloud-region ' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`\" />\n",\r
+        "comments": "",\r
+        "x": 784.9284629821777,\r
+        "y": 1826.6195316314697,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4cbe79da.e231f8",\r
+        "type": "get-resource",\r
+        "name": "get-resource cloud region",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"cloud-region\" \n\t\tkey=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner AND \n\t\t     cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\"\n        pfx='aai.cloud-region' local-only='false' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 531.3571281433105,\r
+        "y": 1627.1913003921509,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "a77893f2.866208",\r
+                "54a4425.3eaf1bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54a4425.3eaf1bc",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 745.6033210754395,\r
+        "y": 1645.3421564102173,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "ba04d0eb.3dae9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba04d0eb.3dae9",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 retrieving cloud region from AAI\" />\n",\r
+        "comments": "",\r
+        "x": 920.6032943725586,\r
+        "y": 1645.3421926498413,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a77893f2.866208",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 754.5319175720215,\r
+        "y": 1603.6278896331787,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "234062c6.8fefc6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "234062c6.8fefc6",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Cloud region not found in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 920.8811950683594,\r
+        "y": 1602.933466911316,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "77c2e270.ed179c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1592.0000686645508,\r
+        "y": 647.9440250396729,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d54d91d7.8b3e78",\r
+                "bfe3038c.a182"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bfe3038c.a182",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 1727.0000343322754,\r
+        "y": 669.6106109619141,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "904b2f3e.415788",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-invariant-uuid'\n  value='`$db.vf-module-model.invariant-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 906.833251953125,\r
+        "y": 1868.44402217865,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2b324bfd.26e0fc",\r
+        "type": "switchNode",\r
+        "name": "switch input model-invariant-uuid",\r
+        "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 550.6903266906738,\r
+        "y": 1891.2684659957886,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "385357de.ea8398",\r
+                "299c303.4cf2ad"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "385357de.ea8398",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 756.3569984436035,\r
+        "y": 1868.4114294052124,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "904b2f3e.415788"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "299c303.4cf2ad",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 757.7855949401855,\r
+        "y": 1912.6970205307007,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "f7953ce0.dfc7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7953ce0.dfc7c",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-invariant-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 912.0713310241699,\r
+        "y": 1912.1255927085876,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "733eafb4.30c8d",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-uuid'\n  value='`$db.vf-module-model.uuid`' />\n",\r
+        "comments": "",\r
+        "x": 907.7855224609375,\r
+        "y": 1956.9826984405518,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ed77dce7.269d88",\r
+        "type": "switchNode",\r
+        "name": "switch input model-uuid",\r
+        "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 523.3093452453613,\r
+        "y": 1979.8072032928467,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "9008b525.6a4788",\r
+                "f3c2a46.0aaa8d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9008b525.6a4788",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 757.3093185424805,\r
+        "y": 1956.950135231018,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "733eafb4.30c8d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3c2a46.0aaa8d8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 758.7379150390625,\r
+        "y": 2001.2357263565063,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "c4a21df.1175a6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c4a21df.1175a6",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 913.0236511230469,\r
+        "y": 2000.6642985343933,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1f38b7fe.ab1b8",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-version'\n  value='`$db.vf-module-model.version`' />\n",\r
+        "comments": "",\r
+        "x": 904.9284553527832,\r
+        "y": 2045.8399057388306,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "62ca20ce.f4db7",\r
+        "type": "switchNode",\r
+        "name": "switch input model-version",\r
+        "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 531.4522171020508,\r
+        "y": 2068.6643505096436,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "41183df5.95a124",\r
+                "87e93be5.4c098"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41183df5.95a124",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 754.4522018432617,\r
+        "y": 2045.807312965393,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "1f38b7fe.ab1b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "87e93be5.4c098",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 755.8807983398438,\r
+        "y": 2090.0929040908813,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "5cce1634.662ce8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5cce1634.662ce8",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-version'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n",\r
+        "comments": "",\r
+        "x": 910.1665344238281,\r
+        "y": 2089.5214762687683,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c2177442.81abc",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-name'\n  value='`$db.vf-module-model.name`' />\n",\r
+        "comments": "",\r
+        "x": 904.9284553527832,\r
+        "y": 2132.9827280044556,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cd265369.c8e4",\r
+        "type": "switchNode",\r
+        "name": "switch input model-name",\r
+        "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 526.4522171020508,\r
+        "y": 2155.8071727752686,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "68b6f8a8.a68c3",\r
+                "4f8262ee.1ebcac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "68b6f8a8.a68c3",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 754.4522018432617,\r
+        "y": 2132.950135231018,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "c2177442.81abc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f8262ee.1ebcac",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 755.8807983398438,\r
+        "y": 2177.2357263565063,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "2f3b60e4.144198"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f3b60e4.144198",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-name'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`' />\n",\r
+        "comments": "",\r
+        "x": 910.1665344238281,\r
+        "y": 2176.6642985343933,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4772b1e6.c27368",\r
+        "type": "set",\r
+        "name": "set model-customization-uuid",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-customization-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 540.9045524597168,\r
+        "y": 2228.316162109375,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "533af805.057888",\r
+        "type": "set",\r
+        "name": "set vf-module-id",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id'\n   value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n",\r
+        "comments": "",\r
+        "x": 494.09519958496094,\r
+        "y": 1497.0393381118774,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "acb49220.447a5",\r
+        "type": "for",\r
+        "name": "for each cloud-region relationship",\r
+        "xml": "<for index='idx' start='0' end='`$aai.cloud-region.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 553.6109428405762,\r
+        "y": 1715.6979837417603,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "59afb518.40828c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "59afb518.40828c",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$aai.cloud-region.relationship-list.relationship[$idx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 801.2894859313965,\r
+        "y": 1715.4479131698608,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "5978af5d.b1d4a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5978af5d.b1d4a",\r
+        "type": "outcome",\r
+        "name": "complex",\r
+        "xml": "<outcome value='complex'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 970.7538070678711,\r
+        "y": 1714.8407354354858,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "7b948c9e.d27a6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a23b2e8.9b4796",\r
+        "type": "execute",\r
+        "name": "split related-link",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='aai-uid-split' />\n   <parameter name='original_string' value='`$aai.cloud-region.relationship-list.relationship[$idx].related-link`' />\n   <parameter name='regex' value='/' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1310.848964691162,\r
+        "y": 1669.269310951233,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b948c9e.d27a6c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1130.51566696167,\r
+        "y": 1715.9360990524292,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "2a23b2e8.9b4796",\r
+                "d28b8bb2.cca418",\r
+                "b167e5bd.dfc368"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d28b8bb2.cca418",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 1280.5156288146973,\r
+        "y": 1759.269395828247,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c4f07890.7e2328",\r
+        "type": "execute",\r
+        "name": "execute PropertiesNode",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 531.0476226806641,\r
+        "y": 186.5481081008911,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "beb8db1.da0a8a8",\r
+        "type": "set",\r
+        "name": "set order-status to PendingCreate",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.order-status'\n  value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",\r
+        "comments": "",\r
+        "x": 436.2622375488281,\r
+        "y": 7324.904296875,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ed92ecd.0ad519",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "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",\r
+        "comments": "",\r
+        "x": 375.8335418701172,\r
+        "y": 7438.522626876831,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1a40ee60.b28b3a",\r
+        "type": "set",\r
+        "name": "copy input data",\r
+        "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",\r
+        "comments": "",\r
+        "x": 392.11924743652344,\r
+        "y": 7181.252753674984,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9aa91724.bae38",\r
+        "type": "set",\r
+        "name": "copy vf-module-topology data",\r
+        "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.' value='tmp.vf-module-topology.' />\n",\r
+        "comments": "",\r
+        "x": 437.00025177001953,\r
+        "y": 7133.038265645504,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d321cb9d.153fd8",\r
+        "type": "execute",\r
+        "name": "printContext",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmodule.log' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 370.71449279785156,\r
+        "y": 7390.752443313599,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "87463151.06bbf8",\r
+        "type": "save",\r
+        "name": "update vf-module",\r
+        "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=\"vf-module-name\" value=\"`$tmp.vf-module-topology.vf-module-topology-identifier.vf-module-name`\" />\n<parameter name=\"model-invariant-id\" value=\"`$tmp.vf-module-topology.onap-model-information.model-invariant-uuid`\" />\n<parameter name=\"model-version-id\" value=\"`$tmp.vf-module-topology.onap-model-information.model-uuid`\" />\n<parameter name=\"model-customization-id\" value=\"`$tmp.vf-module-topology.onap-model-information.model-customization-uuid`\" />\n<parameter name=\"selflink\" value=\"`$vf-module-object-path`\" />\n<parameter name=\"automated-assignment\" value=\"`$automated-assignment`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 456.1429786682129,\r
+        "y": 4335.039919495583,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "87a0c83.d4f18b8",\r
+                "2196c18e.80b246"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5deac0d.5b71f8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 961.1906547546387,\r
+        "y": 4369.801350176334,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "87a0c83.d4f18b8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 631.2146186828613,\r
+        "y": 4303.420541405678,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "c70cad3e.594bf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2196c18e.80b246",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 639.7859916687012,\r
+        "y": 4372.039631426334,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "1eb8d0e0.ac8f6f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d82a525d.d6db7",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 966.2145729064941,\r
+        "y": 4321.564098000526,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7f55025b.b643ec",\r
+        "type": "set",\r
+        "name": "set vf-module-object-path",\r
+        "xml": "<set>\n<parameter name='vf-module-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $vf-module-topology-operation-input.vf-module-information.vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",\r
+        "comments": "",\r
+        "x": 479.80978775024414,\r
+        "y": 4210.564148545265,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "79853c6f.4b0794",\r
+        "type": "save",\r
+        "name": "save vf-module relationships",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vf-module:relationship-list\"\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=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1249.8335342407227,\r
+        "y": 5893.192313909531,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "ac4bfc2f.5cef8",\r
+                "85becea2.445cd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac4bfc2f.5cef8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1469.666877746582,\r
+        "y": 5864.064058065414,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "f57dfbe7.74b008"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "85becea2.445cd8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1478.238410949707,\r
+        "y": 5916.683202505112,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "85b716e7.f0d18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d4f9dca3.c75278",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 relationships in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 1804.6670112609863,\r
+        "y": 5883.873954534531,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5dbea689.bf65d8",\r
+        "type": "for",\r
+        "name": "for each vm-type",\r
+        "xml": "<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 429.50025939941406,\r
+        "y": 5658.5258667469025,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "f3590468.ca37a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7375d6bd.7dd03",\r
+        "type": "for",\r
+        "name": "for each vm-network",\r
+        "xml": "<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 826.5002708435059,\r
+        "y": 6077.192698955536,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "9c50ae11.ecd5d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da118248.b8eea8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 l3-network found in AAI for network ID '\n      + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`\" />\n",\r
+        "comments": "",\r
+        "x": 1806.5003852844238,\r
+        "y": 5933.858495473862,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b96e4724.95afc",\r
+        "type": "for",\r
+        "name": "for each vm-type",\r
+        "xml": "<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 403.92879486083984,\r
+        "y": 7025.571922242641,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "3aa89432.ca7a1c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3aa89432.ca7a1c",\r
+        "type": "for",\r
+        "name": "for each vm",\r
+        "xml": "<for index='vm-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-count`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 598.928825378418,\r
+        "y": 7024.904930055141,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8a1e25bc.ee0138"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7264697.889458",\r
+        "type": "save",\r
+        "name": "save VIPR_CONFIGURATION",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\"\nkey=\"INSERT INTO VIPR_CONFIGURATION (vnf_id, vnf_name, ecomp_service_instance_id, vm_name, cloud_region_id, cloud_owner) VALUES ( $service-data.vnfs.vnf[$vnf-index].vnf-id , $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name , $service-data.service-information.service-instance-id , $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-index] , $tmp.vf-module-topology.aic-cloud-region , $prop.cloud-region.cloud-owner )\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 990.5955276489258,\r
+        "y": 7047.57258027792,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "ebadf32a.3c0bf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "903c2202.9792d",\r
+        "type": "comment",\r
+        "name": "Not a failure",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1510.5954284667969,\r
+        "y": 7047.572585046291,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ebadf32a.3c0bf",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1200.5955123901367,\r
+        "y": 7047.572730004787,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "5ca4a5a3.8a7004"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5ca4a5a3.8a7004",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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=\"GENERIC-RESOURCE-API.vf-module-topology-operation-assign:REQID\"/>\n<parameter name=\"field3\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Failed to insert VIPR_CONFIGURATION record\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1343.928955078125,\r
+        "y": 7047.572567880154,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3f1c108.98d52",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1373.9290771484375,\r
+        "y": 6998.904281556606,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "cf4b2a0c.51aca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2661f5f7.f49d62",\r
+        "type": "comment",\r
+        "name": "Not a failure",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1697.2621307373047,\r
+        "y": 6997.2381038069725,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cf4b2a0c.51aca",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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=\"GENERIC-RESOURCE-API.vf-module-topology-operation-assign:REQID\"/>\n<parameter name=\"field3\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Failed to insert VIPR_CONFIGURATION record\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1519.929012298584,\r
+        "y": 6998.904914796352,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a1e25bc.ee0138",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 767.2622184753418,\r
+        "y": 7023.904774606228,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "b143aaa7.b261e",\r
+                "f7264697.889458"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b143aaa7.b261e",\r
+        "type": "delete",\r
+        "name": "delete any pre-existing records in VIPR_CONFIGURATION",\r
+        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='DELETE from VIPR_CONFIGURATION WHERE vnf_id = $service-data.vnfs.vnf[$vnf-index].vnf-id\n     AND ecomp_service_instance_id = $service-data.service-information.service-instance-id\n     AND vm_name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-index]' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1080.5955429077148,\r
+        "y": 6999.238914430141,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d3f1c108.98d52"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c70cad3e.594bf8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 789.500186920166,\r
+        "y": 4303.191212296486,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d82a525d.d6db7",\r
+                "8a1998a9.fb5c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1eb8d0e0.ac8f6f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 790.5001029968262,\r
+        "y": 4369.857502520084,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "e5deac0d.5b71f8",\r
+                "8a1998a9.fb5c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f57dfbe7.74b008",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1638.1668815612793,\r
+        "y": 5863.858327627182,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d4f9dca3.c75278",\r
+                "751caeb9.f5faf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "85b716e7.f0d18",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1633.1668815612793,\r
+        "y": 5916.85817027092,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "da118248.b8eea8",\r
+                "751caeb9.f5faf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c7304a7.47b438",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode - get preload-list",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value=\"`$prop.controller.url + $prop.restapi.preloadinformation + $vf-module-topology-operation-input.vf-module-request-input.vf-module-name + '/vf-module'`\" />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-preload\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 975.3333778381348,\r
+        "y": 2373.1915349960327,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "688ed38d.1404a4",\r
+                "97bc7502.9be918"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "688ed38d.1404a4",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1238.6666933695474,\r
+        "y": 2336.524751345316,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "5a744c0f.0a917c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "97bc7502.9be918",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1241.9999809265137,\r
+        "y": 2411.5247468948364,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "432a7e86.1cf1f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a744c0f.0a917c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1400.333381652832,\r
+        "y": 2334.8580360412598,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "e468489c.39809"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "432a7e86.1cf1f",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1396.9999885559082,\r
+        "y": 2411.5245885849,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "3588e36f.27b7f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e468489c.39809",\r
+        "type": "switchNode",\r
+        "name": "switch mdsal-preload.response-code",\r
+        "xml": "<switch test='`$mdsal-preload.response-code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1628.6666831970215,\r
+        "y": 2334.8580770492554,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "62edebed.7913a4",\r
+                "37d8f344.138aec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "62edebed.7913a4",\r
+        "type": "outcome",\r
+        "name": "404 (not found)",\r
+        "xml": "<outcome value='404'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1880.3334197998047,\r
+        "y": 2298.191451072693,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "eae1dfc6.c9a018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eae1dfc6.c9a018",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign-no-preload",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign-no-preload' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2276.9998893737793,\r
+        "y": 2296.5245790481567,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8901225d.847b7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8901225d.847b7",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2647.0000381469727,\r
+        "y": 2294.858115196228,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "aa023fe5.47b5f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d0aa2f4d.891c28",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 2955.3334159851074,\r
+        "y": 2326.5248517990112,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "37d8f344.138aec",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1855.3334999084473,\r
+        "y": 2354.8579416275024,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "e944765.ab28a88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bcf4c56.2e632b8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 retrieving preload-information\" />\n",\r
+        "comments": "",\r
+        "x": 2168.666404724121,\r
+        "y": 2371.52436542511,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3588e36f.27b7f4",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign-preload",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign-preload' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1760.3332786560059,\r
+        "y": 2413.191336631775,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "20ee04ba.8175bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20ee04ba.8175bc",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2116.000141143799,\r
+        "y": 2411.5249547958374,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "589f1683.8c95c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1df2727.b9c3d",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 2424.333393096924,\r
+        "y": 2433.191849708557,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f3590468.ca37a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 620.0003280639648,\r
+        "y": 5659.35910153389,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "7375d6bd.7dd03",\r
+                "d5512709.6a25b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d5512709.6a25b8",\r
+        "type": "for",\r
+        "name": "for each vnfc",\r
+        "xml": "<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 871.0003776550293,\r
+        "y": 4864.025192737579,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "753035d1.1e8274"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce29a815.f5683",\r
+        "type": "save",\r
+        "name": "save vnfc to A&AI",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vnfc\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\" >\n<parameter name=\"vnfc-name\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`\" />\n<parameter name=\"nfc-naming-code\" value=\"`$tmp.nfc-naming-code`\" />\n<parameter name=\"nfc-function\" value=\"`$tmp.nfc-function`\" />\n<parameter name=\"model-invariant-id\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].invariant-uuid`\" />\n<parameter name=\"model-version-id\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].uuid`\" />\n<parameter name=\"model-customization-id\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].model-customization-uuid`\" />\n<parameter name=\"orchestration-status\" value=\"`PendingCreate`\" />\n<parameter name=\"in-maint\" value=\"true\" />\n<parameter name=\"prov-status\" value=\"`PREPROV`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1597.00044631958,\r
+        "y": 4672.3591232299805,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "b05fd296.8c44d8",\r
+                "9ce78c9c.21d2e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "753035d1.1e8274",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1039.3336791992188,\r
+        "y": 4864.692019939423,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "2b20b1ce.c729ce",\r
+                "d7c01db4.00c9a",\r
+                "2fb493e6.57a1c4",\r
+                "8ca3ab85.032598",\r
+                "805bb33d.dc18f",\r
+                "57662986.d12c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b05fd296.8c44d8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1788.0004844665527,\r
+        "y": 4624.692457199097,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "f1e503ea.34a2d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d42c0b98.75f36",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 saving vnfc to AAI\" />\n",\r
+        "comments": "",\r
+        "x": 2127.0006370544434,\r
+        "y": 4658.835712790489,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f1e503ea.34a2d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1953.1671714782715,\r
+        "y": 4638.820290505886,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d42c0b98.75f36",\r
+                "6cb8c914.ed3b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2fb493e6.57a1c4",\r
+        "type": "save",\r
+        "name": "save vnfc relationships",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vnfc:relationship-list\"\n   key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/generic-vnfs/generic-vnf/' +\n        $vf-module-topology-operation-input.vnf-information.vnf-id`\" />\n    <parameter name=\"relationship-list.relationship[1].related-to\" value=\"vf-module\" />\n    <parameter name=\"relationship-list.relationship[1].related-link\"\n      value=\"`'/aai/v$/network/generic-vnfs/generic-vnf/' +\n        $vf-module-topology-operation-input.vnf-information.vnf-id +\n        '/vf-modules/vf-module/' +\n        $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1263.9049644470215,\r
+        "y": 4772.978354930878,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "90db0abc.901b8",\r
+                "5dbb78a0.db6928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "29cef8c8.08702",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 vnfc relationships in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 1773.904899597168,\r
+        "y": 4764.64519071579,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ee073caa.2c8978",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Not-found error updating vnfc relationships\" />\n",\r
+        "comments": "",\r
+        "x": 1769.0718078613281,\r
+        "y": 4816.296397686005,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "60b5b7f4.1931b",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1595.7381553649902,\r
+        "y": 4746.29597902298,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "29cef8c8.08702",\r
+                "6cb8c914.ed3b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1c2653f1.974004",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1595.7382316589355,\r
+        "y": 4799.295737743378,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "ee073caa.2c8978",\r
+                "6cb8c914.ed3b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90db0abc.901b8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1438.9050407409668,\r
+        "y": 4746.311648845673,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "60b5b7f4.1931b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5dbb78a0.db6928",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1447.4765739440918,\r
+        "y": 4798.93079328537,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "1c2653f1.974004"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b20b1ce.c729ce",\r
+        "type": "for",\r
+        "name": "for each vnfc-network-role",\r
+        "xml": "<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1261.3810844421387,\r
+        "y": 5189.834763050079,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8ef35028.d3c7d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d19c87b.60a2d",\r
+        "type": "execute",\r
+        "name": "printContext",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmoduleb.log' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 481.9999885559082,\r
+        "y": 2497.73858499527,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c587555a.9764c8",\r
+        "type": "for",\r
+        "name": "for each vnfc-subnetwork-role",\r
+        "xml": "<for silentFailure='true' index='subnet-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1717.3336219787598,\r
+        "y": 5153.025196552277,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "646ce656.488b28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "646ce656.488b28",\r
+        "type": "for",\r
+        "name": "for each vnfc-address-family",\r
+        "xml": "<for silentFailure='true' index='address-family-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1984.6669654846191,\r
+        "y": 5152.025684833527,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "830c0220.91b9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cdc035b3.67e6e8",\r
+        "type": "for",\r
+        "name": "for each vnfc-ip-address",\r
+        "xml": "<for silentFailure='true' index='address-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2416.666576385498,\r
+        "y": 5218.691384315491,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "4ac2f856.4d21a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "830c0220.91b9c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2195.666736602783,\r
+        "y": 5152.025141239166,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "dcce10c4.7be118",\r
+                "cdc035b3.67e6e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dcce10c4.7be118",\r
+        "type": "set",\r
+        "name": "set tmp.address-family",\r
+        "xml": "<set>\n<parameter name='tmp.address-family'\n  value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-address-family`' />\n",\r
+        "comments": "",\r
+        "x": 2415.667064666748,\r
+        "y": 5072.025038719177,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4ac2f856.4d21a",\r
+        "type": "switchNode",\r
+        "name": "switch address family",\r
+        "xml": "<switch test='`$tmp.address-family`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2655.6666679382324,\r
+        "y": 5217.025206565857,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d2b5d9a8.4fd5e8",\r
+                "24a90faa.98e37"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2b5d9a8.4fd5e8",\r
+        "type": "outcome",\r
+        "name": "ipv4",\r
+        "xml": "<outcome value='ipv4'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2852.809673309326,\r
+        "y": 5120.596467018127,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "422e7141.76707"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "24a90faa.98e37",\r
+        "type": "outcome",\r
+        "name": "ipv6",\r
+        "xml": "<outcome value='ipv6'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2850.4287452697754,\r
+        "y": 5300.358498573303,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "644b913f.522e68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63f4b67.4ec08c8",\r
+        "type": "comment",\r
+        "name": "Fixed IPs",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1734.3336372375488,\r
+        "y": 5114.692573547363,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1637640f.3b1ca4",\r
+        "type": "save",\r
+        "name": "save l3-interface-ipv4-address-list object to A&AI",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"l3-interface-ipv4-address-list\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t  AND cp.cp-instance-id = $cp-instance-id\n\t  AND l3-interface-ipv4-address-list.l3-interface-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address\" >\n<parameter name=\"l3-interface-ipv4-address\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address`\" />\n<parameter name=\"l3-interface-ipv4-prefix-length\" value=\"32\" />\n<parameter name=\"is-floating\" value=\"false\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3296.1428031921387,\r
+        "y": 5068.929546991985,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "516f7849.a1f358"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "422e7141.76707",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3002.809673309326,\r
+        "y": 5120.59638563792,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "1637640f.3b1ca4",\r
+                "d964b923.e557d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "29157e1f.b307d2",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 creating l3-interface-ipv4-address-list object in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 3879.4763221740723,\r
+        "y": 5087.263206164043,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8892b8a2.cfbe48",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3709.642677307129,\r
+        "y": 5068.914039293926,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "29157e1f.b307d2",\r
+                "ab19f58c.bd384"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "516f7849.a1f358",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3552.8095626831055,\r
+        "y": 5068.929709116619,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8892b8a2.cfbe48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d964b923.e557d",\r
+        "type": "save",\r
+        "name": "save l3-interface-ipv4-address-list relationships",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"l3-interface-ipv4-address-list:relationship-list\"\n   key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t  AND cp.cp-instance-id = $cp-instance-id\n\t  AND l3-interface-ipv4-address-list.l3-interface-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].network-id`\" />\n    <parameter name=\"relationship-list.relationship[1].related-to\" value=\"subnet\" />\n    <parameter name=\"relationship-list.relationship[1].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].network-id +\n        '/subnets/subnet/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3291.1430473327637,\r
+        "y": 5167.262965838116,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8ae58a30.bea5e",\r
+                "c00d26fd.0b7fa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a4c2dc75.a86138",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 l3-interface-ipv4-address-list relationships in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 3877.809429168701,\r
+        "y": 5158.929637591045,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "623384cf.019e64",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Not-found error updating l3-interface-ipv4-address-list relationships\" />\n",\r
+        "comments": "",\r
+        "x": 3877.976291656494,\r
+        "y": 5208.914095560711,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c225d55b.e00f4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3711.309299468994,\r
+        "y": 5138.914010683697,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "a4c2dc75.a86138",\r
+                "ab19f58c.bd384"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fa08395c.d3bfd",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3711.3093757629395,\r
+        "y": 5191.913769404095,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "623384cf.019e64",\r
+                "ab19f58c.bd384"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ae58a30.bea5e",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3554.4761848449707,\r
+        "y": 5138.92968050639,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "c225d55b.e00f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c00d26fd.0b7fa8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3563.0477180480957,\r
+        "y": 5191.548824946087,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "fa08395c.d3bfd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f97d2b1.490b88",\r
+        "type": "save",\r
+        "name": "save l3-interface-ipv6-address-list object to A&AI",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"l3-interface-ipv6-address-list\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t  AND cp.cp-instance-id = $cp-instance-id\n\t  AND l3-interface-ipv6-address-list.l3-interface-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address\" >\n<parameter name=\"l3-interface-ipv6-address\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address`\" />\n<parameter name=\"l3-interface-ipv6-prefix-length\" value=\"128\" />\n<parameter name=\"is-floating\" value=\"false\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3294.9525413513184,\r
+        "y": 5247.977602958679,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "575beeb7.db0eb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "644b913f.522e68",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3001.619411468506,\r
+        "y": 5299.644441604614,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "9f97d2b1.490b88",\r
+                "1c9488a1.dbf7bf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b3c364b.f4083a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 creating l3-interface-ipv6-address-list object in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 3878.286060333252,\r
+        "y": 5266.311262130737,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "55bcda47.670024",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3708.4524154663086,\r
+        "y": 5247.96209526062,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "1b3c364b.f4083a",\r
+                "ab19f58c.bd384"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "575beeb7.db0eb8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3551.619300842285,\r
+        "y": 5247.977765083313,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "55bcda47.670024"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1c9488a1.dbf7bf",\r
+        "type": "save",\r
+        "name": "save l3-interface-ipv6-address-list relationships",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"l3-interface-ipv6-address-list:relationship-list\"\n   key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t  AND cp.cp-instance-id = $cp-instance-id\n\t  AND l3-interface-ipv6-address-list.l3-interface-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].network-id`\" />\n    <parameter name=\"relationship-list.relationship[1].related-to\" value=\"subnet\" />\n    <parameter name=\"relationship-list.relationship[1].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].network-id +\n        '/subnets/subnet/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3289.9527854919434,\r
+        "y": 5346.31102180481,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "3f5a76d4.d0b6ca",\r
+                "a74ee1d6.e4ad68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b0e3be9c.c1618",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 l3-interface-ipv6-address-list relationships in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 3876.619167327881,\r
+        "y": 5337.977693557739,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "66075d54.cd658c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Not-found error updating l3-interface-ipv6-address-list relationships\" />\n",\r
+        "comments": "",\r
+        "x": 3880.1193885803223,\r
+        "y": 5384.628710031509,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "24ecf111.9044a6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3710.119037628174,\r
+        "y": 5317.962066650391,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "b0e3be9c.c1618",\r
+                "ab19f58c.bd384"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1cf894fa.a3757b",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3710.119113922119,\r
+        "y": 5370.961825370789,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "66075d54.cd658c",\r
+                "ab19f58c.bd384"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f5a76d4.d0b6ca",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3553.2859230041504,\r
+        "y": 5317.9777364730835,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "24ecf111.9044a6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a74ee1d6.e4ad68",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3561.8574562072754,\r
+        "y": 5370.596880912781,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "1cf894fa.a3757b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c50ae11.ecd5d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1016.3335914611816,\r
+        "y": 6076.692138195038,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "f765dfab.5a8ab8",\r
+                "79853c6f.4b0794",\r
+                "7d3563ad.bafe6c",\r
+                "eb32fc41.713248"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be8fcb49.a0ce6",\r
+        "type": "for",\r
+        "name": "for each vnfc",\r
+        "xml": "<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1664.3337669372559,\r
+        "y": 6199.025886058807,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "bc8c9230.4f5cf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "18f68602.60a112",\r
+        "type": "save",\r
+        "name": "save vip-ipv4-address-list object to A&AI",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vip-ipv4-address-list\" \n\tkey=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv4-address-list.vip-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]\" >\n<parameter name=\"vip-ipv4-address\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]`\" />\n<parameter name=\"vip-ipv4-prefix-length\" value=\"32\" />\n<parameter name=\"is-floating\" value=\"false\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1747.3336219787598,\r
+        "y": 6030.358897686005,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "15b4c37c.7ee625",\r
+                "f6385911.c3478"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d3563ad.bafe6c",\r
+        "type": "for",\r
+        "name": "for each floating ipv4 address",\r
+        "xml": "<for silentFailure='true' index='ipv4-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1255.3336143493652,\r
+        "y": 6088.358970165253,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "643639b2.a807b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "643639b2.a807b8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1481.3336143493652,\r
+        "y": 6086.358970165253,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "18f68602.60a112",\r
+                "79481073.dabf6",\r
+                "be8fcb49.a0ce6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f4eea49.69364c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 saving vip-ipv4-address-list in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 2309.3336219787598,\r
+        "y": 6020.358897686005,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "87cb782b.0a68b8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Not-found error saving vip-ipv4-address-list\" />\n",\r
+        "comments": "",\r
+        "x": 2309.5004844665527,\r
+        "y": 6070.34335565567,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1002735d.48782d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2142.8334922790527,\r
+        "y": 6000.343270778656,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "4f4eea49.69364c",\r
+                "7d8d801d.5aba58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9394e2e6.c9ed4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2142.833568572998,\r
+        "y": 6053.343029499054,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "87cb782b.0a68b8",\r
+                "7d8d801d.5aba58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15b4c37c.7ee625",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1986.0003776550293,\r
+        "y": 6000.358940601349,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "1002735d.48782d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f6385911.c3478",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1994.5719108581543,\r
+        "y": 6052.978085041046,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "9394e2e6.c9ed4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f81499d.5e5af6",\r
+        "type": "save",\r
+        "name": "save vip-ipv4-address-list relationships",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vip-ipv4-address-list:relationship-list\"\n   key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv4-address-list.vip-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"subnet\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].network-id\n        + '/subnets/subnet/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.ipv4-subnet-id`\" />\n    <parameter name=\"relationship-list.relationship[1].related-to\" value=\"vnfc\" />\n    <parameter name=\"relationship-list.relationship[1].related-link\"\n      value=\"`'/aai/v$/network/vnfcs/vnfc/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2083.000217437744,\r
+        "y": 6143.0255608558655,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "9402f7a2.c004f8",\r
+                "43ffb8db.dfd838"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a145395d.8e9c88",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 vip-ipv4-address-list relationships in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 2652.6666259765625,\r
+        "y": 6135.025530397892,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f29625da.c7a2a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Not-found error updating vip-ipv4-address-list relationships\" />\n",\r
+        "comments": "",\r
+        "x": 2652.833595275879,\r
+        "y": 6185.009704113007,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3507458.c6c0fba",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2486.1664962768555,\r
+        "y": 6115.009903490543,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "a145395d.8e9c88",\r
+                "7d8d801d.5aba58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2bfcdbd8.b2861c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2486.166572570801,\r
+        "y": 6168.009662210941,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "f29625da.c7a2a",\r
+                "7d8d801d.5aba58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9402f7a2.c004f8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2329.333381652832,\r
+        "y": 6115.025573313236,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "3507458.c6c0fba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "43ffb8db.dfd838",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2337.904914855957,\r
+        "y": 6167.6447177529335,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "2bfcdbd8.b2861c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f93b476.1dc79c",\r
+        "type": "save",\r
+        "name": "save vip-ipv6-address-list object to A&AI",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vip-ipv6-address-list\" \n\tkey=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv6-address-list.vip-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]\" >\n<parameter name=\"vip-ipv6-address\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]`\" />\n<parameter name=\"vip-ipv6-prefix-length\" value=\"128\" />\n<parameter name=\"is-floating\" value=\"false\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1750.66695022583,\r
+        "y": 6353.691581249237,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "67236f18.227f98",\r
+                "c2a53df.84d114"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb32fc41.713248",\r
+        "type": "for",\r
+        "name": "for each floating ipv6 address",\r
+        "xml": "<for silentFailure='true' index='ipv6-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1258.6669425964355,\r
+        "y": 6410.691653728485,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "78198d85.1f46bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78198d85.1f46bc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1484.6669425964355,\r
+        "y": 6409.691653728485,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "5f93b476.1dc79c",\r
+                "cde033d4.f6fd",\r
+                "b51d7c07.17b7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6d658b88.2e8a3c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 saving vip-ipv6-address-list in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 2312.66695022583,\r
+        "y": 6343.691581249237,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3a7db074.96feb8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Not-found error saving vip-ipv6-address-list\" />\n",\r
+        "comments": "",\r
+        "x": 2312.833812713623,\r
+        "y": 6393.676039218903,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7b77c41a.48512c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2146.166820526123,\r
+        "y": 6323.675954341888,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "6d658b88.2e8a3c",\r
+                "7d8d801d.5aba58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb34c0be.1fb228",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2146.1668968200684,\r
+        "y": 6376.675713062286,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "3a7db074.96feb8",\r
+                "7d8d801d.5aba58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "67236f18.227f98",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1989.3337059020996,\r
+        "y": 6323.691624164581,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "7b77c41a.48512c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2a53df.84d114",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1997.9052391052246,\r
+        "y": 6376.310768604279,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "fb34c0be.1fb228"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "31f35206.0f932e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 vip-ipv6-address-list relationships in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 2646.0002059936523,\r
+        "y": 6456.6916318535805,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "132ba90c.08b887",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Not-found error updating vip-ipv6-address-list relationships\" />\n",\r
+        "comments": "",\r
+        "x": 2646.1670684814453,\r
+        "y": 6506.676089823246,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "de40c9e6.508858",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2479.5000762939453,\r
+        "y": 6436.676004946232,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "31f35206.0f932e",\r
+                "7d8d801d.5aba58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "44d321f1.eca488",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2479.5001525878906,\r
+        "y": 6489.67576366663,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "132ba90c.08b887",\r
+                "7d8d801d.5aba58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "535c2132.4b5b3",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2322.666961669922,\r
+        "y": 6436.691674768925,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "de40c9e6.508858"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8380291.86ec7d8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2331.238494873047,\r
+        "y": 6489.310819208622,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "44d321f1.eca488"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "47c03850.21f5a",\r
+        "type": "save",\r
+        "name": "save vip-ipv6-address-list relationships",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vip-ipv6-address-list:relationship-list\"\n   key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv6-address-list.vip-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"subnet\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].network-id\n        + '/subnets/subnet/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.ipv6-subnet-id`\" />\n    <parameter name=\"relationship-list.relationship[1].related-to\" value=\"vnfc\" />\n    <parameter name=\"relationship-list.relationship[1].related-link\"\n      value=\"`'/aai/v$/network/vnfcs/vnfc/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2078.3338050842285,\r
+        "y": 6465.358093738556,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "535c2132.4b5b3",\r
+                "8380291.86ec7d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a1998a9.fb5c4",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1134.3334770202637,\r
+        "y": 4273.691486895084,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6cb8c914.ed3b6",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2299.0004234313965,\r
+        "y": 4611.692221999168,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "751caeb9.f5faf",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2007.6670036315918,\r
+        "y": 5828.6920592188835,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d8d801d.5aba58",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2956.667133331299,\r
+        "y": 5947.691905498505,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ab19f58c.bd384",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4276.0001220703125,\r
+        "y": 4995.357985436916,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d7c01db4.00c9a",\r
+        "type": "set",\r
+        "name": "set created_flag",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].created_flag' value='true' />\n",\r
+        "comments": "",\r
+        "x": 1241.0002479553223,\r
+        "y": 4712.691877782345,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f765dfab.5a8ab8",\r
+        "type": "set",\r
+        "name": "set created-flag",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].created-flag' value='true' />\n",\r
+        "comments": "",\r
+        "x": 1211.6670036315918,\r
+        "y": 5960.6920592188835,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "79481073.dabf6",\r
+        "type": "set",\r
+        "name": "set created-ipv4-flag",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.created-ipv4-flag' value='true' />\n",\r
+        "comments": "",\r
+        "x": 1684.6669692993164,\r
+        "y": 6088.6921390891075,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cde033d4.f6fd",\r
+        "type": "set",\r
+        "name": "set created-ipv6-flag",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.created-ipv6-flag' value='true' />\n",\r
+        "comments": "",\r
+        "x": 1690.0003051757812,\r
+        "y": 6414.691742360592,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9ce78c9c.21d2e",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1791.0004234313965,\r
+        "y": 4672.692116677761,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "f1e503ea.34a2d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7b2dbd5.bd9e",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-vlan-tagging-assign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-vlan-tagging-assign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 574.6667823791504,\r
+        "y": 6752.691919803619,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "acea42fa.fe209"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "acea42fa.fe209",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 919.0001983642578,\r
+        "y": 6752.025414943695,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "bb8b3ecf.0d4b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb8b3ecf.0d4b8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1074.000072479248,\r
+        "y": 6752.025210857391,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8d4ed162.86b8b8",\r
+                "277ec139.1f8766",\r
+                "4bc02c78.2ff744"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d4ed162.86b8b8",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1422.3333625793457,\r
+        "y": 6697.025630712509,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "277ec139.1f8766",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1250.6668014526367,\r
+        "y": 6795.358858704567,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4bc02c78.2ff744",\r
+        "type": "execute",\r
+        "name": "printContext",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vlantaggingfailure.log' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1245.6666984558105,\r
+        "y": 6748.691714763641,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bfee1c79.25f4d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 212.8928680419922,\r
+        "y": 508.5714416503906,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "c4f07890.7e2328",\r
+                "5621ecb6.141394",\r
+                "b13c4350.370938",\r
+                "b064f8ff.c2b5c",\r
+                "fe2663d3.ad286",\r
+                "a5f7f097.af8f7",\r
+                "498f5a29.9e1ca4",\r
+                "f0c546c1.be6dc",\r
+                "40af7b28.67ea64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b80a89b3.da4648",\r
+        "type": "switchNode",\r
+        "name": "switch from-preload",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.from-preload`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 503.90471267700195,\r
+        "y": 2564.1672048568726,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "3b57b841.e4ee",\r
+                "5c063e0d.485f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3b57b841.e4ee",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 675.8094444274902,\r
+        "y": 2541.548225402832,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "2b41d2.bfd34e2e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5c063e0d.485f8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 677.4760971069336,\r
+        "y": 2586.5480642318726,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "9acd2d4c.7f4f58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b41d2.bfd34e2e",\r
+        "type": "set",\r
+        "name": "set automated-assignment to true",\r
+        "xml": "<set>\n<parameter name='automated-assignment' value='true' />\n",\r
+        "comments": "",\r
+        "x": 890.8094291687012,\r
+        "y": 2539.88139629364,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9acd2d4c.7f4f58",\r
+        "type": "set",\r
+        "name": "set automated-assignment to false",\r
+        "xml": "<set>\n<parameter name='automated-assignment' value='false' />\n",\r
+        "comments": "",\r
+        "x": 889.142749786377,\r
+        "y": 2584.8813161849976,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b51d7c07.17b7c",\r
+        "type": "for",\r
+        "name": "for each vnfc",\r
+        "xml": "<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1665.4288368225098,\r
+        "y": 6513.572165966034,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "5f97f00c.f2f7a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bc7a6a83.8ca178",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Test return\" />\n",\r
+        "comments": "",\r
+        "x": 130.00014877319336,\r
+        "y": 6993.359684050083,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "facd6ff7.1eed9",\r
+        "type": "for",\r
+        "name": "for each vm-type",\r
+        "xml": "<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 482.66680908203125,\r
+        "y": 3924.358087539673,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "f42a02f0.2fdc5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f42a02f0.2fdc5",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 673.166877746582,\r
+        "y": 3925.19132232666,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "f2b8f79a.47d0c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2b8f79a.47d0c8",\r
+        "type": "for",\r
+        "name": "for each vm-network",\r
+        "xml": "<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 874.6668090820312,\r
+        "y": 3924.358087539673,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "74a58a99.78bf9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "74a58a99.78bf9c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1064.500129699707,\r
+        "y": 3923.857526779175,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d3a7ff95.69fdf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3a7ff95.69fdf",\r
+        "type": "get-resource",\r
+        "name": "get-resource VFC_RELATED_NETWORK_ROLE",\r
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VFC_RELATED_NETWORK_ROLE where vfc_customization_uuid = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].model-customization-uuid\n    and network_role = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role'\n  pfx='db.vnf-related-network-role[]'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1354.0001029968262,\r
+        "y": 3922.358169555664,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "ac281675.6e9ef8",\r
+                "441cde65.25a5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac281675.6e9ef8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1625.00004196167,\r
+        "y": 3827.024871826172,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "21c357a6.90267"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21c357a6.90267",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1772.190559387207,\r
+        "y": 3825.57288646698,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "3f8cbef4.25bb0a",\r
+                "77e726f5.a576b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "441cde65.25a5c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1613.333293914795,\r
+        "y": 4046.691343307495,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "e7e940b7.17edf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54eeb4ef.84d784",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2031.66654586792,\r
+        "y": 4048.69109916687,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d075ed57.96e16",\r
+                "7659ed81.4f2dfc",\r
+                "c5babea5.d9aba",\r
+                "e02da5bb.106d78",\r
+                "33b270a2.44aa78",\r
+                "f0d8d701.a9fbc8",\r
+                "1ad9651a.f1635b",\r
+                "d7d72478.3bd0f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f8cbef4.25bb0a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 reading VFC_RELATED_NETWORK_ROLE table\" />\n",\r
+        "comments": "",\r
+        "x": 1924.3334159851074,\r
+        "y": 3822.358123779297,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7659ed81.4f2dfc",\r
+        "type": "for",\r
+        "name": "for each vnf network",\r
+        "xml": "<for silentFailure='true' index='vnf-network-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2226.6666831970215,\r
+        "y": 3916.0247554779053,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "b92d9cbc.21841"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d075ed57.96e16",\r
+        "type": "set",\r
+        "name": "set found-related-network to false",\r
+        "xml": "<set>\n<parameter name='found-related-network' value='false' />\n",\r
+        "comments": "",\r
+        "x": 2266.666759490967,\r
+        "y": 3857.6915321350098,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "18560cbf.0eb0f3",\r
+        "type": "for",\r
+        "name": "for each related network",\r
+        "xml": "<for silentFailure='true' index='related-network-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].related-networks.related-network_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2625.666645050049,\r
+        "y": 3892.6910190582275,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "2c6cef8.3fa721"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b92d9cbc.21841",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2414.6666831970215,\r
+        "y": 3916.0247554779053,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "18560cbf.0eb0f3",\r
+                "ff4fdb5d.de766"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c6cef8.3fa721",\r
+        "type": "switchNode",\r
+        "name": "switch network-role matches",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].related-networks.related-network[$related-network-index].network-role\n  == $db.vnf-related-network-role[$db-related-network-index].related-network-role`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2877.666561126709,\r
+        "y": 3892.691095352173,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "16df1c3d.121c74"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7e940b7.17edf",\r
+        "type": "for",\r
+        "name": "for each db related-network",\r
+        "xml": "<for index='db-related-network-index' start='0' end='`$db.vnf-related-network-role_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1817.6666679382324,\r
+        "y": 4047.35809135437,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "54eeb4ef.84d784"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "678d4c53.0bb2dc",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 298.6669120788574,\r
+        "y": 6953.359684050083,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "16df1c3d.121c74",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3077.666561126709,\r
+        "y": 3890.691095352173,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "b6af3325.d14fe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6af3325.d14fe",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3231.666561126709,\r
+        "y": 3888.691095352173,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "7ea20a1d.7dcac4",\r
+                "34e3568a.1d1aca",\r
+                "3d29969a.2c72ea"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ea20a1d.7dcac4",\r
+        "type": "set",\r
+        "name": "set found-related-network to true",\r
+        "xml": "<set>\n<parameter name='found-related-network' value='true' />\n",\r
+        "comments": "",\r
+        "x": 3463.666721343994,\r
+        "y": 3848.3576793670654,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "34e3568a.1d1aca",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 3386.999897003174,\r
+        "y": 3935.024429321289,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c5babea5.d9aba",\r
+        "type": "switchNode",\r
+        "name": "switch found-related-network",\r
+        "xml": "<switch test='`$found-related-network`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2249.6666145324707,\r
+        "y": 3991.6912326812744,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d92d1f7b.311be"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d92d1f7b.311be",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2443.6666145324707,\r
+        "y": 3989.6912326812744,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "4c319279.354754"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5fe8d8f9.449b28",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 related network '\n      + $db.vnf-related-network-role[$db-related-network-index].related-network-role + ' in vnf-networks'`\" />\n",\r
+        "comments": "",\r
+        "x": 2721.6666145324707,\r
+        "y": 3987.6912326812744,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4c319279.354754",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2573.6666145324707,\r
+        "y": 3989.6912326812744,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "5fe8d8f9.449b28",\r
+                "77e726f5.a576b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "77e726f5.a576b8",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2666.3334159851074,\r
+        "y": 3752.358123779297,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e02da5bb.106d78",\r
+        "type": "set",\r
+        "name": "set is-trunked and segmentation-id in vm-network",\r
+        "xml": "<set>\n<parameter name='$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].is-trunked'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].is-trunked`' />\n<parameter name='$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].segmentation-id'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].segmentation-id`' />\n",\r
+        "comments": "",\r
+        "x": 2311.6666145324707,\r
+        "y": 4039.6912326812744,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f0d8d701.a9fbc8",\r
+        "type": "switchNode",\r
+        "name": "switch rn-index",\r
+        "xml": "<switch test='`$rn-index`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2199.6666145324707,\r
+        "y": 4147.691232681274,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "c4302cc3.3c659"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "33b270a2.44aa78",\r
+        "type": "set",\r
+        "name": "set rn-index to related network length",\r
+        "xml": "<set>\n<parameter name='rn-index' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length`' />\n",\r
+        "comments": "",\r
+        "x": 2271.6666145324707,\r
+        "y": 4091.6912326812744,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c4302cc3.3c659",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2363.6666145324707,\r
+        "y": 4147.691232681274,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "be01e09d.5f1a68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be01e09d.5f1a68",\r
+        "type": "set",\r
+        "name": "set rn-index to 0",\r
+        "xml": "<set>\n<parameter name='rn-index' value='0' />\n",\r
+        "comments": "",\r
+        "x": 2523.6666145324707,\r
+        "y": 4147.691232681274,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1ad9651a.f1635b",\r
+        "type": "set",\r
+        "name": "set related-network data",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].network-id'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].network-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].network-role'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].network-role`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].vlan-tags.vlan-interface'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].vlan-tags.vlan-interface`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].vlan-tags.lower-tag-id'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].vlan-tags.lower-tag-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].vlan-tags.upper-tag-id'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].vlan-tags.upper-tag-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].vlan-tags.is-private'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].vlan-tags.is-private`' />\n",\r
+        "comments": "",\r
+        "x": 2223.6666145324707,\r
+        "y": 4199.691232681274,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d7d72478.3bd0f",\r
+        "type": "set",\r
+        "name": "set new related network length",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length'\n  value='`$rn-index + 1`' />\n",\r
+        "comments": "",\r
+        "x": 2241.6666145324707,\r
+        "y": 4251.691232681274,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ff4fdb5d.de766",\r
+        "type": "switchNode",\r
+        "name": "switch found-related-network",\r
+        "xml": "<switch test='`$found-related-network`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2638.6666679382324,\r
+        "y": 3940.357879638672,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "eba867d8.f5c258"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eba867d8.f5c258",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2835.3335304260254,\r
+        "y": 3940.3582515716553,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "5c631904.ed64f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5c631904.ed64f8",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 2965.3334159851074,\r
+        "y": 3938.691375732422,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3d29969a.2c72ea",\r
+        "type": "set",\r
+        "name": "save indexes",\r
+        "xml": "<set>\n<parameter name='saved-vnf-network-index' value='`$vnf-network-index`' />\n<parameter name='saved-related-network-index' value='`$related-network-index`' />\n",\r
+        "comments": "",\r
+        "x": 3405.3336296081543,\r
+        "y": 3890.3582496643066,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6004d50b.b6d2f4",\r
+        "type": "execute",\r
+        "name": "generate cp-instance-id",\r
+        "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" >\n<parameter name=\"ctx-destination\" value=\"cp-instance-id\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1694.2381210327148,\r
+        "y": 4919.882302761078,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d7ac8cb2.6c2d6",\r
+        "type": "save",\r
+        "name": "save cp to A&AI",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"cp\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t  AND cp.cp-instance-id = $cp-instance-id\" >\n<parameter name=\"cp-instance-id\" value=\"`$cp-instance-id`\" />\n<parameter name=\"port-id\" value=\"0\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1675.90474319458,\r
+        "y": 4986.5488085746765,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "f5dd2f0d.45402",\r
+                "29186d18.403c52"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5dd2f0d.45402",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1864.9047241210938,\r
+        "y": 4962.215422093868,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "b5157fa2.e880a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5157fa2.e880a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2032.0714721679688,\r
+        "y": 4978.009855687618,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "436800e9.7b6c18",\r
+                "6cb8c914.ed3b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "29186d18.403c52",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1869.9047241210938,\r
+        "y": 5011.881681859493,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "b5157fa2.e880a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "436800e9.7b6c18",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 creating cp object in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 2197.5714836120605,\r
+        "y": 4989.8820605278015,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8ef35028.d3c7d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1470.714443206787,\r
+        "y": 5189.167096614838,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "bf8a8114.e4c588",\r
+                "c587555a.9764c8",\r
+                "6004d50b.b6d2f4",\r
+                "d7ac8cb2.6c2d6",\r
+                "d458e80b.85d49",\r
+                "c756041f.7b47"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf8a8114.e4c588",\r
+        "type": "set",\r
+        "name": "set connection point data",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].connection-point.connection-point-id'\n  value='`$cp-instance-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].connection-point.port-id'\n  value='0' />\n",\r
+        "comments": "",\r
+        "x": 1706.2382850646973,\r
+        "y": 5064.406378269196,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1c962043.9ade4",\r
+        "type": "comment",\r
+        "name": "Floating IPs",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1267.0001029968262,\r
+        "y": 6046.691496551037,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d458e80b.85d49",\r
+        "type": "for",\r
+        "name": "for each vnf-network",\r
+        "xml": "<for index='vnf-network-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1690.3332862854004,\r
+        "y": 5460.691872119904,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "581b2add.f9572c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54717650.92e9c8",\r
+        "type": "save",\r
+        "name": "save cp relationship to l3-network",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"cp:relationship-list\"\n   key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n     AND cp.cp-instance-id = $cp-instance-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2328.6667671203613,\r
+        "y": 5460.358379840851,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "be199432.2a2058",\r
+                "5e67f7b6.3d5b98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7aece173.4d8018",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2700.4998054504395,\r
+        "y": 5433.6763281822205,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "e9b2c07c.a44a5",\r
+                "c9a07f93.c346a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fde9d8b6.adb198",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2700.4998817443848,\r
+        "y": 5486.676086902618,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "e9b2c07c.a44a5",\r
+                "7f2c6758.f68da8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be199432.2a2058",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2543.666690826416,\r
+        "y": 5433.691998004913,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "7aece173.4d8018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5e67f7b6.3d5b98",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2552.238224029541,\r
+        "y": 5486.311142444611,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "fde9d8b6.adb198"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9a07f93.c346a8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 cp relationship to l3-network in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 2872.6666145324707,\r
+        "y": 5456.3587040901175,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7f2c6758.f68da8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Not-found error updating cp relationship to l3-network\" />\n",\r
+        "comments": "",\r
+        "x": 2867.833522796631,\r
+        "y": 5508.009911060332,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e9b2c07c.a44a5",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3074.3333778381348,\r
+        "y": 5406.35870218277,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c756041f.7b47",\r
+        "type": "for",\r
+        "name": "for each vm-network",\r
+        "xml": "<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1690.333438873291,\r
+        "y": 5621.35822725296,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "f305688b.5fd87"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f7eb5ab.e0a03",\r
+        "type": "save",\r
+        "name": "save cp relationship to l3-network and vlan-tag",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"cp:relationship-list\"\n   key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n     AND cp.cp-instance-id = $cp-instance-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].network-id`\" />\n    <parameter name=\"relationship-list.relationship[1].related-to\" value=\"vlan-tag\" />\n    <parameter name=\"relationship-list.relationship[1].related-link\"\n      value=\"`'/aai/v$/network/vlan-tags/vlan-tag/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.vlan-interface`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2610.00044631958,\r
+        "y": 5619.358222484589,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "9128c14c.d846d",\r
+                "7ee1490a.c8b148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d67f366c.178058",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3016.8334922790527,\r
+        "y": 5592.67552137375,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "4bf8ece5.760084",\r
+                "e9b2c07c.a44a5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "203e49a1.25bf26",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3016.833568572998,\r
+        "y": 5645.675280094148,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "5212701d.e9f5d8",\r
+                "e9b2c07c.a44a5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9128c14c.d846d",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2860.0003776550293,\r
+        "y": 5592.691191196443,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d67f366c.178058"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ee1490a.c8b148",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2868.5719108581543,\r
+        "y": 5645.31033563614,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "203e49a1.25bf26"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4bf8ece5.760084",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 cp relationship to l3-network and vlan-tag in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 3189.000301361084,\r
+        "y": 5615.357897281647,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5212701d.e9f5d8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Not-found error updating cp relationship to l3-network and vlan-tag\" />\n",\r
+        "comments": "",\r
+        "x": 3184.167209625244,\r
+        "y": 5667.009104251862,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "76067898.ad5ad8",\r
+        "type": "for",\r
+        "name": "for each related-network",\r
+        "xml": "<for silentFailure='true' index='related-network-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2306.0002784729004,\r
+        "y": 5619.358223438263,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8f7eb5ab.e0a03"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f10f9580.1e0308",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-generate-heat-parameters",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-generate-heat-parameters' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 564.3335723876953,\r
+        "y": 6862.358483910561,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7fac88.832d038",\r
+        "type": "execute",\r
+        "name": "printContext",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmoduleheat.log' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 385.6669006347656,\r
+        "y": 6910.358586907387,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "def45b38.4bd55",\r
+        "type": "switchNode",\r
+        "name": "switch input vf-module-name",\r
+        "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 537.0000038146973,\r
+        "y": 2346.191044807434,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8db4c205.376b",\r
+                "1b446cec.4500eb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8db4c205.376b",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 736.9999961853027,\r
+        "y": 2323.690947532654,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "eae1dfc6.c9a018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b446cec.4500eb",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 737.4285888671875,\r
+        "y": 2373.81005859375,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "9c7304a7.47b438"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8bfe9202.c720d",\r
+        "type": "for",\r
+        "name": "for each vnfc-subnet-role",\r
+        "xml": "<for index='subnet-role-index' start='0'\n  end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1294.5001029968262,\r
+        "y": 3141.190721511841,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8622c4a.ef650b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8622c4a.ef650b8",\r
+        "type": "for",\r
+        "name": "for each vnfc-address-family",\r
+        "xml": "<for index='address-family-index' start='0'\n  end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1542.8333625793457,\r
+        "y": 3141.190721511841,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "4a1dd17d.5b9948"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7f309670.a38298",\r
+        "type": "for",\r
+        "name": "for each vm-type",\r
+        "xml": "<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 500.33327865600586,\r
+        "y": 2859.52405834198,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "5a24cbf3.c8832c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a24cbf3.c8832c",\r
+        "type": "for",\r
+        "name": "for each vnfc",\r
+        "xml": "<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 682.000057220459,\r
+        "y": 2858.191206932068,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "34b1dbe0.125be4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "34b1dbe0.125be4",\r
+        "type": "for",\r
+        "name": "for each vnfc-network",\r
+        "xml": "<for silentFailure='true' index='vnfc-network-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 883.1666297912598,\r
+        "y": 2858.023896217346,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "c2b28bb1.c543b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2b28bb1.c543b8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1095.3333015441895,\r
+        "y": 2857.024256706238,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "a041d6a5.1eaa48",\r
+                "c20a57e8.44ed5",\r
+                "765a4edc.cbc36",\r
+                "8bfe9202.c720d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a041d6a5.1eaa48",\r
+        "type": "set",\r
+        "name": "set vnf-network-index to -1",\r
+        "xml": "<set>\n<parameter name='vnf-network-index' value='-1' />\n",\r
+        "comments": "",\r
+        "x": 1307.0000190734863,\r
+        "y": 2810.35747051239,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c20a57e8.44ed5",\r
+        "type": "for",\r
+        "name": "for each vnf-network",\r
+        "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1288.6668090820312,\r
+        "y": 2857.0242223739624,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "4e0e361c.f4c848"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e0e361c.f4c848",\r
+        "type": "switchNode",\r
+        "name": "switch network-roles match?",\r
+        "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-network-role\n  == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$idx].network-role`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1530.3332786560059,\r
+        "y": 2855.357717514038,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "807f0004.8adbb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "807f0004.8adbb8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1726.99995803833,\r
+        "y": 2855.357636451721,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "253c224a.85d896"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "253c224a.85d896",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1880.333179473877,\r
+        "y": 2855.357508659363,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "a6f5eb0a.e707c8",\r
+                "9ce5336a.719328",\r
+                "ca1a48c3.b1baa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a6f5eb0a.e707c8",\r
+        "type": "set",\r
+        "name": "set vnf-network-index",\r
+        "xml": "<set>\n<parameter name='vnf-network-index' value='`$idx`' />\n",\r
+        "comments": "",\r
+        "x": 2087.000011444092,\r
+        "y": 2803.6908864974976,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9ce5336a.719328",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 2041.999927520752,\r
+        "y": 2893.6908073425293,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "765a4edc.cbc36",\r
+        "type": "switchNode",\r
+        "name": "switch vnf-network-index",\r
+        "xml": "<switch test='`$vnf-network-index`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1300.3333473205566,\r
+        "y": 2917.024224281311,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "244dfb68.71e964"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "244dfb68.71e964",\r
+        "type": "outcome",\r
+        "name": "-1",\r
+        "xml": "<outcome value='-1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1491.9999885559082,\r
+        "y": 2917.024468421936,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "10ed32c9.c47a65"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10ed32c9.c47a65",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1640.333179473877,\r
+        "y": 2915.357508659363,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "404dfa80.b1344c",\r
+                "c6cafcd7.27543"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "404dfa80.b1344c",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3168.6668128967285,\r
+        "y": 2767.024085998535,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c6cafcd7.27543",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"`'VNFC network role '\n      + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-network-role\n      + ' is not found in VNF network list'\n      `\" />\n\n\n\n",\r
+        "comments": "",\r
+        "x": 1808.6665534973145,\r
+        "y": 2933.690760612488,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c35abd31.4d97c8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2331.999897003174,\r
+        "y": 3325.3573598861694,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "96ccd849.43cf7",\r
+                "ff243880.f35278",\r
+                "6cdf3e0.84820c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "96ccd849.43cf7",\r
+        "type": "for",\r
+        "name": "for each subnet-data",\r
+        "xml": "<for index='subnet-data-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2528.666648864746,\r
+        "y": 3280.3572788238525,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "2cef54b4.065124"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2cef54b4.065124",\r
+        "type": "switchNode",\r
+        "name": "address-families match?",\r
+        "xml": "<switch test='`$tmp.address-family\n  == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].ip-version`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2755.3332748413086,\r
+        "y": 3280.3572788238525,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "37df0574.9a5ed2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37df0574.9a5ed2",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2935.333240509033,\r
+        "y": 3280.3576850891113,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "788f6a84.68199c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c57c0c21.024ab8",\r
+        "type": "set",\r
+        "name": "set tmp.address-family",\r
+        "xml": "<set>\n<parameter name='tmp.address-family'\n  value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-address-family`' />\n",\r
+        "comments": "",\r
+        "x": 2360.3332328796387,\r
+        "y": 3143.690773010254,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4a1dd17d.5b9948",\r
+        "type": "switchNode",\r
+        "name": "switch vnfc-subnet-ip_length",\r
+        "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1805.3335762023926,\r
+        "y": 3140.357808113098,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "5f09d3a6.026514",\r
+                "56c1febc.7db6b",\r
+                "14889e9b.6b5371"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f09d3a6.026514",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2007.000087738037,\r
+        "y": 3040.3573513031006,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "22b591c4.2e4326"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "56c1febc.7db6b",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2003.4287185668945,\r
+        "y": 3226.309642791748,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "ded80477.617b2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "22b591c4.2e4326",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2138.6666374206543,\r
+        "y": 3063.0240983963013,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ebf41120.205ed",\r
+        "type": "set",\r
+        "name": "set subnet-id to -1",\r
+        "xml": "<set>\n<parameter name='subnet-id' value='-1' />\n",\r
+        "comments": "",\r
+        "x": 3028.6671562194824,\r
+        "y": 3442.0247650146484,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ded80477.617b2",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2157.0001335144043,\r
+        "y": 3225.3572750091553,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "c57c0c21.024ab8",\r
+                "c35abd31.4d97c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "62a4f148.c202c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4288.666753768921,\r
+        "y": 3613.691241979599,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "afef3972.79782",\r
+                "4862bc5a.5fb3f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4862bc5a.5fb3f4",\r
+        "type": "execute",\r
+        "name": "execute isInSameSubnet",\r
+        "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.ipAddressTools.IpAddressTool\" method=\"isInSameSubnet\">\n\t<parameter name=\"firstIPAddr\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].network-start-address`\" />\n\t<parameter name=\"secondIPAddr\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[0].vnfc-ip-address`\" />\n\t<parameter name=\"subnet\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].cidr-mask`\" />\n\t<parameter name=\"ipType\" value=\"`$ip-type`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4503.6667556762695,\r
+        "y": 3663.690915822983,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "4c2388df.70ec08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "afef3972.79782",\r
+        "type": "switchNode",\r
+        "name": "switch tmp.address-family",\r
+        "xml": "<switch test='`$tmp.address-family`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4505.333911895752,\r
+        "y": 3570.357902288437,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "191fd488.fd1f6b",\r
+                "be67cd12.641768"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "191fd488.fd1f6b",\r
+        "type": "outcome",\r
+        "name": "ipv4",\r
+        "xml": "<outcome value='ipv4'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4708.667174021402,\r
+        "y": 3543.6911326249437,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "eaddc3bb.251ec8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be67cd12.641768",\r
+        "type": "outcome",\r
+        "name": "ipv6",\r
+        "xml": "<outcome value='ipv6'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4708.666847229004,\r
+        "y": 3590.3576600551605,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "95abff5b.e35a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eaddc3bb.251ec8",\r
+        "type": "set",\r
+        "name": "set ip-type parameter to IPv4",\r
+        "xml": "<set>\n<parameter name='ip-type' value='IPv4' />\n",\r
+        "comments": "",\r
+        "x": 4905.333660125732,\r
+        "y": 3542.0246064662933,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "95abff5b.e35a8",\r
+        "type": "set",\r
+        "name": "set ip-type parameter to IPv6",\r
+        "xml": "<set>\n<parameter name='ip-type' value='IPv6' />\n",\r
+        "comments": "",\r
+        "x": 4910.33353805542,\r
+        "y": 3590.357679128647,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8df6c942.a715e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4843.666786193848,\r
+        "y": 3663.357679128647,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "a8addf18.4e3a2",\r
+                "7cc78bb8.388714"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8addf18.4e3a2",\r
+        "type": "set",\r
+        "name": "set subnet-id",\r
+        "xml": "<set>\n<parameter name='subnet-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id`' />\n",\r
+        "comments": "",\r
+        "x": 5022.000106811523,\r
+        "y": 3640.024165868759,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7cc78bb8.388714",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 5007.000110626221,\r
+        "y": 3686.691159963608,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5250a99a.907d1",\r
+        "type": "switchNode",\r
+        "name": "switch subnet-id",\r
+        "xml": "<switch test='`$subnet-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3020.3330307006836,\r
+        "y": 3603.691499710083,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d823fb40.54f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d823fb40.54f4",\r
+        "type": "outcome",\r
+        "name": "-1",\r
+        "xml": "<outcome value='-1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3176.99959564209,\r
+        "y": 3603.6914348602295,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "4bb7b0dc.89ed5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4bb7b0dc.89ed5",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3325.3327865600586,\r
+        "y": 3602.0244750976562,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "12c0eff5.7b1ef",\r
+                "404dfa80.b1344c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "12c0eff5.7b1ef",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"`'Not able to find VNF network subnet that contains address '\n      + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[0].vnfc-ip-address\n      `\" />\n\n\n\n",\r
+        "comments": "",\r
+        "x": 3493.666118621826,\r
+        "y": 3618.6909503936768,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "324552d3.28633e",\r
+        "type": "set",\r
+        "name": "set subnet-id in vnfc-ip-assignments (temp variable)",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id' value='`$subnet-id`' />\n",\r
+        "comments": "",\r
+        "x": 3131.9996757507324,\r
+        "y": 3680.3582706451416,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1781a3e7.247ed4",\r
+        "type": "execute",\r
+        "name": "printContext",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmodulec.log' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 485.3332710266113,\r
+        "y": 3275.357508659363,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c2388df.70ec08",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4690.333358764648,\r
+        "y": 3663.691404104233,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8df6c942.a715e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca1a48c3.b1baa8",\r
+        "type": "set",\r
+        "name": "set network-id",\r
+        "xml": "<set>\n<parameter name='$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].network-id'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$idx].network-id`' />\n",\r
+        "comments": "",\r
+        "x": 2063.666515350342,\r
+        "y": 2848.690969467163,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8ca3ab85.032598",\r
+        "type": "switchNode",\r
+        "name": "switch nfc-naming-code",\r
+        "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-naming-code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1261.9999809265137,\r
+        "y": 4463.690697193146,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "23c8931f.52f9cc",\r
+                "57df7e5d.984c2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "23c8931f.52f9cc",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1446.999927520752,\r
+        "y": 4438.690515995026,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "a1c6b38e.a41d3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "57df7e5d.984c2",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1445.095199584961,\r
+        "y": 4485.476343631744,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "59f2b757.a63258"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1c6b38e.a41d3",\r
+        "type": "set",\r
+        "name": "set tmp.nfc-naming-code to DEFAULT",\r
+        "xml": "<set>\n<parameter name='tmp.nfc-naming-code' value='DEFAULT' />\n",\r
+        "comments": "",\r
+        "x": 1678.6666984558105,\r
+        "y": 4437.023866176605,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "59f2b757.a63258",\r
+        "type": "set",\r
+        "name": "set tmp.nfc-naming-code",\r
+        "xml": "<set>\n<parameter name='tmp.nfc-naming-code' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-naming-code`' />\n",\r
+        "comments": "",\r
+        "x": 1635.333209991455,\r
+        "y": 4485.357364177704,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "805bb33d.dc18f",\r
+        "type": "switchNode",\r
+        "name": "switch nfc-function",\r
+        "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-function`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1250.3333129882812,\r
+        "y": 4562.023870944977,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "7a1bcd20.0ffb04",\r
+                "58313c0d.8e25dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7a1bcd20.0ffb04",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1446.9999198913574,\r
+        "y": 4537.023668766022,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8f8878a3.b40b28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "58313c0d.8e25dc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1445.0951919555664,\r
+        "y": 4583.8094964027405,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "33d0dbb1.211884"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f8878a3.b40b28",\r
+        "type": "set",\r
+        "name": "set tmp.nfc-function to DEFAULT",\r
+        "xml": "<set>\n<parameter name='tmp.nfc-function' value='DEFAULT' />\n",\r
+        "comments": "",\r
+        "x": 1658.6667022705078,\r
+        "y": 4535.3568778038025,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "33d0dbb1.211884",\r
+        "type": "set",\r
+        "name": "set tmp.nfc-function",\r
+        "xml": "<set>\n<parameter name='tmp.nfc-function' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-function`' />\n",\r
+        "comments": "",\r
+        "x": 1616.9998321533203,\r
+        "y": 4583.690538883209,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f47ab8ac.f1f838",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2890.3333015441895,\r
+        "y": 2218.691004753113,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa023fe5.47b5f8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2796.9998054504395,\r
+        "y": 2293.691004753113,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d0aa2f4d.891c28",\r
+                "f47ab8ac.f1f838"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e944765.ab28a88",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2001.9998588562012,\r
+        "y": 2353.6908683776855,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "bcf4c56.2e632b8",\r
+                "f47ab8ac.f1f838"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "589f1683.8c95c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2263.666723251343,\r
+        "y": 2408.691035270691,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "b1df2727.b9c3d",\r
+                "f47ab8ac.f1f838"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "581b2add.f9572c",\r
+        "type": "switchNode",\r
+        "name": "switch network-roles match?",\r
+        "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-network-role\n  == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-role`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1923.6666297912598,\r
+        "y": 5460.6908984184265,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "bcbba18a.60b55"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bcbba18a.60b55",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2122.000099182129,\r
+        "y": 5460.358053684235,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "54717650.92e9c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f305688b.5fd87",\r
+        "type": "switchNode",\r
+        "name": "switch network-roles match?",\r
+        "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role\n  == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-role`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1926.9999732971191,\r
+        "y": 5620.357346057892,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "fcdfc8c4.1ea6e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fcdfc8c4.1ea6e8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2125.3334426879883,\r
+        "y": 5620.0245013237,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "76067898.ad5ad8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bc8c9230.4f5cf8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1830.3332557678223,\r
+        "y": 6198.6907658576965,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "1f81499d.5e5af6",\r
+                "8e120f2d.e1456"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f97f00c.f2f7a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1832.0000038146973,\r
+        "y": 6513.690777301788,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "47c03850.21f5a",\r
+                "7256be96.3662d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e120f2d.e1456",\r
+        "type": "for",\r
+        "name": "for each vnfc-network-role",\r
+        "xml": "<for silentFailure='true' index='vnfc-network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2047.000202178955,\r
+        "y": 6257.023936748505,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "2ff95408.117534"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "35f11c05.060024",\r
+        "type": "save",\r
+        "name": "save vip-ipv4-address-list relationship to cp",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vip-ipv4-address-list:relationship-list\"\n   key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv4-address-list.vip-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"cp\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/vnfcs/vnfc/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n        + '/cps/cp/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].connection-point.connection-point-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2722.0001258850098,\r
+        "y": 6257.023775577545,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "6fc56971.00a6d8",\r
+                "5cf11136.58121"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f85c684.0cc928",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 vip-ipv4-address-list relationship to cp in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 3280.3333473205566,\r
+        "y": 6250.357183933258,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "383b2271.606576",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Not-found error updating vip-ipv4-address-list relationship to cp\" />\n",\r
+        "comments": "",\r
+        "x": 3280.500316619873,\r
+        "y": 6300.341357648373,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1646f205.fdcaa6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3113.8332176208496,\r
+        "y": 6230.341557025909,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "6f85c684.0cc928",\r
+                "7d8d801d.5aba58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8458375f.c06d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3113.833293914795,\r
+        "y": 6283.341315746307,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "383b2271.606576",\r
+                "7d8d801d.5aba58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6fc56971.00a6d8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2957.000102996826,\r
+        "y": 6230.357226848602,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "1646f205.fdcaa6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5cf11136.58121",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2965.571636199951,\r
+        "y": 6282.9763712883,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8458375f.c06d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7256be96.3662d",\r
+        "type": "for",\r
+        "name": "for each vnfc-network-role",\r
+        "xml": "<for silentFailure='true' index='vnfc-network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2048.6665992736816,\r
+        "y": 6580.357346057892,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "6947a958.cfef3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8da01247.1c11d8",\r
+        "type": "save",\r
+        "name": "save vip-ipv6-address-list relationship to cp",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vip-ipv6-address-list:relationship-list\"\n   key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv6-address-list.vip-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"cp\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/vnfcs/vnfc/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n        + '/cps/cp/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].connection-point.connection-point-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2718.6665534973145,\r
+        "y": 6578.690128803253,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "d83f3f7b.caadf",\r
+                "cc62185e.d573c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "540af8f6.c0c8e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 vip-ipv4-address-list relationship to cp in AAI\" />\n",\r
+        "comments": "",\r
+        "x": 3276.9997749328613,\r
+        "y": 6572.023537158966,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "64f21f33.6807a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"Not-found error updating vip-ipv4-address-list relationship to cp\" />\n",\r
+        "comments": "",\r
+        "x": 3277.1667442321777,\r
+        "y": 6622.007710874081,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "998fc046.d68f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3110.4996452331543,\r
+        "y": 6552.007910251617,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "540af8f6.c0c8e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8dc96b01.474dd",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3110.4997215270996,\r
+        "y": 6605.007668972015,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "64f21f33.6807a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d83f3f7b.caadf",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2953.666530609131,\r
+        "y": 6552.02358007431,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "998fc046.d68f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc62185e.d573c8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2962.238063812256,\r
+        "y": 6604.642724514008,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8dc96b01.474dd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ff95408.117534",\r
+        "type": "switchNode",\r
+        "name": "switch network-roles match?",\r
+        "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role\n  == $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].vnfc-network-role`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2300.3332710266113,\r
+        "y": 6257.023613452911,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "9475b87c.2a043"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9475b87c.2a043",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2487.000114440918,\r
+        "y": 6257.024100780487,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "35f11c05.060024"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6947a958.cfef3",\r
+        "type": "switchNode",\r
+        "name": "switch network-roles match?",\r
+        "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role\n  == $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].vnfc-network-role`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2296.9998512268066,\r
+        "y": 6578.690353870392,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "e7b53b25.79cf28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7b53b25.79cf28",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2483.6666946411133,\r
+        "y": 6578.6908411979675,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "8da01247.1c11d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2376b6f4.a8ed0a",\r
+        "type": "comment",\r
+        "name": "SELF-SERVE FORK",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 666.7142944335938,\r
+        "y": 867.0476245880127,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "efcbebcc.14464",\r
+        "type": "call",\r
+        "name": "call self-serve-vf-module-assign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-assign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1199.749439239502,\r
+        "y": 911.964430809021,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "971d6518.2083a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f6ca91d.20b5c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"`'Failed to create self-serve assignment for vf-module with vf-module-id=' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + ' with error: ' + $error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1583.820816040039,\r
+        "y": 911.9643812179565,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "971d6518.2083a",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1420.047019958496,\r
+        "y": 911.4524621963501,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "4f6ca91d.20b5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d92c2968.bb747",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1146.6186828613281,\r
+        "y": 1061.809350013733,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c5876c75.baaed",\r
+        "type": "execute",\r
+        "name": "printContext",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vnfend.log' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1138.6662254333496,\r
+        "y": 1016.3008937835693,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "be93c800.e962c8",\r
+        "type": "set",\r
+        "name": "set order-status to PendingCreate",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.order-status'\n  value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",\r
+        "comments": "",\r
+        "x": 1209.3567428588867,\r
+        "y": 965.2617883682251,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3eddc68c.a493ea",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 920.4521713256836,\r
+        "y": 911.6425924301147,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "efcbebcc.14464",\r
+                "be93c800.e962c8",\r
+                "c5876c75.baaed",\r
+                "d92c2968.bb747"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8086d3c6.2981",\r
+        "type": "comment",\r
+        "name": "First, count the subnets for this address family",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2662.0004081726074,\r
+        "y": 3189.9997692108154,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fd0458e9.351b28",\r
+        "type": "for",\r
+        "name": "for each subnet-data",\r
+        "xml": "<for index='subnet-data-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3035.333095550537,\r
+        "y": 3485.0002727508545,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "9c5ef8eb.9a7678"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c5ef8eb.9a7678",\r
+        "type": "switchNode",\r
+        "name": "address-families match?",\r
+        "xml": "<switch test='`$tmp.address-family\n  == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].ip-version`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3261.9997215270996,\r
+        "y": 3485.0002727508545,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "33f6db20.0ff7f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "33f6db20.0ff7f4",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3441.999687194824,\r
+        "y": 3485.0006790161133,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "54c3098c.899198"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff243880.f35278",\r
+        "type": "set",\r
+        "name": "set af-count to 0",\r
+        "xml": "<set>\n<parameter name='af-count' value='0' />\n",\r
+        "comments": "",\r
+        "x": 2516.9999809265137,\r
+        "y": 3231.6665210723877,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "38b83402.0da80c",\r
+        "type": "set",\r
+        "name": "increment af-count",\r
+        "xml": "<set>\n<parameter name='af-count' value='`$af-count + 1`' />\n",\r
+        "comments": "",\r
+        "x": 3265.3333473205566,\r
+        "y": 3298.3332710266113,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "788f6a84.68199c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3081.9997215270996,\r
+        "y": 3279.9999561309814,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "38b83402.0da80c",\r
+                "3fbd6c40.04a2bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3fbd6c40.04a2bc",\r
+        "type": "set",\r
+        "name": "set subnet-id",\r
+        "xml": "<set>\n<parameter name='subnet-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id`' />\n",\r
+        "comments": "",\r
+        "x": 3246.999767303467,\r
+        "y": 3253.3332691192627,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6cdf3e0.84820c4",\r
+        "type": "switchNode",\r
+        "name": "switch af-count",\r
+        "xml": "<switch test='`$af-count`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2507.0003929138184,\r
+        "y": 3468.3334379196167,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "a4b2346f.f87cb",\r
+                "33300284.96a34e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a4b2346f.f87cb",\r
+        "type": "outcome",\r
+        "name": "1",\r
+        "xml": "<outcome value='1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2666.999912261963,\r
+        "y": 3366.666606903076,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "ad8dd57b.16b9d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ad8dd57b.16b9d",\r
+        "type": "set",\r
+        "name": "set subnet-id in vnfc-ip-assignments (temp variable)",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id'\n  value='`$subnet-id`' />\n",\r
+        "comments": "",\r
+        "x": 2940.3332176208496,\r
+        "y": 3364.9999561309814,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "33300284.96a34e",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2666.999828338623,\r
+        "y": 3568.333526611328,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "459f9c7c.facbf4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "459f9c7c.facbf4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2823.6664695739746,\r
+        "y": 3568.3332080841064,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "ebf41120.205ed",\r
+                "fd0458e9.351b28",\r
+                "5250a99a.907d1",\r
+                "324552d3.28633e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54c3098c.899198",\r
+        "type": "switchNode",\r
+        "name": "switch network-start-address",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].network-start-address`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3636.9998664855957,\r
+        "y": 3483.333522796631,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "50f46a5d.151964",\r
+                "b4045616.46c1e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "50f46a5d.151964",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3833.6667137145996,\r
+        "y": 3418.333133459091,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "fa79e796.718bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4045616.46c1e",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3826.7621116638184,\r
+        "y": 3552.61904501915,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "91359939.322c88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "91359939.322c88",\r
+        "type": "switchNode",\r
+        "name": "switch cidr-mask",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].cidr-mask`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3981.9999046325684,\r
+        "y": 3551.666251897812,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "fa078de2.dc1ae",\r
+                "21622a4.a2fe356"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fa078de2.dc1ae",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4136.999980926514,\r
+        "y": 3481.6665513515472,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "4d5413f9.62c7c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21622a4.a2fe356",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4140.095777511597,\r
+        "y": 3614.2856385707855,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "62a4f148.c202c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "14889e9b.6b5371",\r
+        "type": "outcome",\r
+        "name": "0",\r
+        "xml": "<outcome value='0'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2008.666591644287,\r
+        "y": 3088.3332080841064,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "22b591c4.2e4326"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "82e555ca.39e4b",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"`'SDNC subnet id '\n      + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id\n      + ' does not have network-start-address populated'`\" />\n\n\n\n",\r
+        "comments": "",\r
+        "x": 4142.000217437744,\r
+        "y": 3433.332970380783,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fa79e796.718bc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3978.6666412353516,\r
+        "y": 3418.332900762558,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "82e555ca.39e4b",\r
+                "404dfa80.b1344c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "926e57f0.46dc88",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"`'SDNC subnet id '\n      + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id\n      + ' does not have cidr-mask populated'`\" />\n\n\n\n",\r
+        "comments": "",\r
+        "x": 4447.000072479248,\r
+        "y": 3494.9998376369476,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4d5413f9.62c7c4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4283.6664962768555,\r
+        "y": 3479.9997680187225,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "926e57f0.46dc88",\r
+                "404dfa80.b1344c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a6a5fc58.d573a",\r
+        "type": "comment",\r
+        "name": "Ignore address families with no addresses",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2282.9999656677246,\r
+        "y": 3018.6667041778564,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "57662986.d12c8",\r
+        "type": "switchNode",\r
+        "name": "switch invariant-uuid",\r
+        "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].invariant-uuid`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1253.666805267334,\r
+        "y": 4648.333082199097,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "bca552ea.8dcc08",\r
+                "1bc6e4fe.e7fc03"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bca552ea.8dcc08",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1435.3332176208496,\r
+        "y": 4624.999711990356,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "e71566e3.c745c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1bc6e4fe.e7fc03",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1433.4284896850586,\r
+        "y": 4671.785539627075,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "ce29a815.f5683"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e71566e3.c745c8",\r
+        "type": "save",\r
+        "name": "save vnfc to A&AI",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vnfc\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\" >\n<parameter name=\"vnfc-name\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`\" />\n<parameter name=\"nfc-naming-code\" value=\"`$tmp.nfc-naming-code`\" />\n<parameter name=\"nfc-function\" value=\"`$tmp.nfc-function`\" />\n<parameter name=\"orchestration-status\" value=\"`PendingCreate`\" />\n<parameter name=\"in-maint\" value=\"true\" />\n<parameter name=\"prov-status\" value=\"`PREPROV`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1596.999843597412,\r
+        "y": 4626.666704177856,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "b05fd296.8c44d8",\r
+                "9ce78c9c.21d2e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "498f5a29.9e1ca4",\r
+        "type": "switchNode",\r
+        "name": "switch input cloud-owner",\r
+        "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.cloud-owner`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 532.7141952514648,\r
+        "y": 256.9047336578369,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "93f5de2c.13776",\r
+                "5d086485.c917c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93f5de2c.13776",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 716.0475692749023,\r
+        "y": 226.90472221374512,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "201ec95d.e95dfe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d086485.c917c4",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 715.8094749450684,\r
+        "y": 267.85721588134766,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "404d471f.ff2ab"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "201ec95d.e95dfe",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 851.0475234985352,\r
+        "y": 225.23806190490723,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "404d471f.ff2ab",\r
+        "type": "set",\r
+        "name": "set prop.cloud-region.cloud-owner",\r
+        "xml": "<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$vf-module-topology-operation-input.vf-module-request-input.cloud-owner`' />\n",\r
+        "comments": "",\r
+        "x": 932.7141799926758,\r
+        "y": 266.9047431945801,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f0c546c1.be6dc",\r
+        "type": "call",\r
+        "name": "call self-serve-vf-module-forking-logic",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-forking-logic' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 564.3015670776367,\r
+        "y": 808.2980642318726,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "40af7b28.67ea64",\r
+        "type": "switchNode",\r
+        "name": "switch ss.self-serve-flag",\r
+        "xml": "<switch test=\"`$ss.self-serve-flag`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 522.4443054199219,\r
+        "y": 1035.2981328964233,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "6edbe4f3.864dc4",\r
+                "bb5f378d.ec1c2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6edbe4f3.864dc4",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 743.158504486084,\r
+        "y": 1152.869031906128,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "72f655d6.4f3d74"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb5f378d.ec1c2",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 743.7299575805664,\r
+        "y": 911.7266693115234,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            [\r
+                "3eddc68c.a493ea"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "69eb61e5.2ebc48",\r
+        "type": "call",\r
+        "name": "call check for VNF-API-preload and copy",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='gw-vfmodule-update' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 473,\r
+        "y": 7237,\r
+        "z": "112fab3d.a10d2d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]\r