GRAPI DG enhancement
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vf-module-topology-operation-assign.json
index 94b28d6..ab68531 100755 (executable)
@@ -1 +1,7172 @@
-[{"id":"26435c0d.fc79a4","type":"dgstart","name":"DGSTART","outputs":1,"x":120,"y":77.02430057525635,"z":"656aafb.8a6395","wires":[["e2d1700f.ddcd"]]},{"id":"e2d1700f.ddcd","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>","outputs":1,"x":233.85713577270508,"y":116.83383846282959,"z":"656aafb.8a6395","wires":[["7041aa61.644a04"]]},{"id":"7041aa61.644a04","type":"method","name":"method vf-module-topology-operation-assign","xml":"<method rpc='vf-module-topology-operation-assign' mode='sync'>\n","comments":"","outputs":1,"x":233.42862701416016,"y":157.02430057525635,"z":"656aafb.8a6395","wires":[["65acec70.9c56c4"]]},{"id":"c730118a.e21ce","type":"comment","name":"vf-module-topology-operation-assign","info":"","comments":"","x":525.3210983276367,"y":20,"z":"656aafb.8a6395","wires":[]},{"id":"6fb1dec4.0529f","type":"switchNode","name":"switch request-action","xml":"<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":525.1905097961426,"y":332.548122882843,"z":"656aafb.8a6395","wires":[["108c83b4.cef43c","ad04160f.641278"]]},{"id":"108c83b4.cef43c","type":"outcome","name":"CreateVfModuleInstance","xml":"<outcome value='CreateVfModuleInstance'>\n","comments":"","outputs":1,"x":787.2381248474121,"y":309.6910090446472,"z":"656aafb.8a6395","wires":[["1ba480fd.d952ef"]]},{"id":"ad04160f.641278","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":730.9047698974609,"y":355.07199811935425,"z":"656aafb.8a6395","wires":[["f06e1d11.aac0f"]]},{"id":"1ba480fd.d952ef","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":977.0952892303467,"y":309.69104051589966,"z":"656aafb.8a6395","wires":[[]]},{"id":"f06e1d11.aac0f","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":995.9047775268555,"y":355.40531063079834,"z":"656aafb.8a6395","wires":[]},{"id":"62441125.66a0b","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":572.5237770080566,"y":423.6910729408264,"z":"656aafb.8a6395","wires":[["107fd326.9ba41d","ca0f147f.907428"]]},{"id":"4ea2965.8808268","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":1013.9521980285645,"y":448.1195454597473,"z":"656aafb.8a6395","wires":[]},{"id":"107fd326.9ba41d","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":838.3094673156738,"y":404.0719037055969,"z":"656aafb.8a6395","wires":[["4f40032c.c4bacc"]]},{"id":"ca0f147f.907428","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":846.8808975219727,"y":448.3576169013977,"z":"656aafb.8a6395","wires":[["4ea2965.8808268"]]},{"id":"4f40032c.c4bacc","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":1013.309398651123,"y":403.21480417251587,"z":"656aafb.8a6395","wires":[]},{"id":"488e702.2bac09","type":"switchNode","name":"switch service-data.vnfs.vnf_length","xml":"<switch test='`$service-data.vnfs.vnf_length`'>\n","comments":"","outputs":1,"x":567.6190414428711,"y":632.2624082565308,"z":"656aafb.8a6395","wires":[["24f9c122.2250be","d25bd1ae.c2c51"]]},{"id":"24f9c122.2250be","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":808.3333129882812,"y":609.4051485061646,"z":"656aafb.8a6395","wires":[["505fc81a.807868"]]},{"id":"d25bd1ae.c2c51","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":808.0951538085938,"y":650.3576669692993,"z":"656aafb.8a6395","wires":[["9ec01ab9.e2ba98"]]},{"id":"110bcecd.ba7661","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":154.5238037109375,"y":2918.929323196411,"z":"656aafb.8a6395","wires":[["e1906aa5.79edf8","4579baea.4e1ce4","99398bc4.52b678","deb3a0da.1b837","ec603470.f9c408","64628347.fcadac","24ff0c47.3546a4","bbb0684c.92c108","73ee4632.723818","6b10e668.07ccf8","ef4d2a4.c7047d8","93254957.8f37d8","d4ff85a5.3e2f38","fb3addee.0067e","74b7384e.7dc558","eb5208b9.6edea8","8fbc261.8df31d8","f9c64c2d.c2c64","c027e91b.5ae848","5866abdc.5ae8b4","5cfaa9c0.9d8738","a9429c24.2435a","dd018545.07e8e8","74133334.aced1c","bf94cb16.e2d428","f2c3fa39.f42268","df5aea18.782d88","3fd43ef9.658b62"]]},{"id":"505fc81a.807868","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":974.999927520752,"y":608.6909036636353,"z":"656aafb.8a6395","wires":[]},{"id":"9ec01ab9.e2ba98","type":"for","name":"for each vnf","xml":"<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n","comments":"","outputs":1,"x":970.3332977294922,"y":650.0242853164673,"z":"656aafb.8a6395","wires":[["25b275ee.8e053a"]]},{"id":"25b275ee.8e053a","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":1221.6665954589844,"y":649.6910133361816,"z":"656aafb.8a6395","wires":[["d30b08f1.d32668"]]},{"id":"d30b08f1.d32668","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1451.6666069030762,"y":649.0243263244629,"z":"656aafb.8a6395","wires":[["68c36e5e.1e03f"]]},{"id":"e2b3c75a.fbe358","type":"set","name":"set vnf-index to -1","xml":"<set>\n<parameter name='vnf-index' value='-1' />\n","comments":"","x":516.6666641235352,"y":563.6909074783325,"z":"656aafb.8a6395","wires":[]},{"id":"dd7dd66d.514b18","type":"set","name":"set vnf-index to idx","xml":"<set>\n<parameter name='vnf-index' value='`$idx`' />\n","comments":"","x":1773.3332443237305,"y":620.024284362793,"z":"656aafb.8a6395","wires":[]},{"id":"a941c95a.005118","type":"switchNode","name":"switch vnf-index","xml":"<switch test='`$vnf-index`'>\n","comments":"","outputs":1,"x":506.6666717529297,"y":700.3576040267944,"z":"656aafb.8a6395","wires":[["d2524204.b0f77"]]},{"id":"d2524204.b0f77","type":"outcome","name":"-1","xml":"<outcome value='-1'>\n","comments":"","outputs":1,"x":685.000057220459,"y":699.6909799575806,"z":"656aafb.8a6395","wires":[["4e3ba237.282e2c"]]},{"id":"4e3ba237.282e2c","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":844.9999656677246,"y":699.0242834091187,"z":"656aafb.8a6395","wires":[]},{"id":"e1906aa5.79edf8","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":536.6667633056641,"y":1673.6910963058472,"z":"656aafb.8a6395","wires":[["69dd7fc2.bfa07","e3821c4a.5365d"]]},{"id":"69dd7fc2.bfa07","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":794.0477180480957,"y":1640.833869934082,"z":"656aafb.8a6395","wires":[["12e01545.41510b"]]},{"id":"12e01545.41510b","type":"set","name":"set vf-module-index=0","xml":"<set>\n<parameter name='vf-module-index' value='0' />\n","comments":"","x":981.6667556762695,"y":1641.500644683838,"z":"656aafb.8a6395","wires":[]},{"id":"e3821c4a.5365d","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":794.476261138916,"y":1705.119728088379,"z":"656aafb.8a6395","wires":[["3625b8e4.8a6ed8"]]},{"id":"431edeca.30bd2","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":1179.6668014526367,"y":1685.3101234436035,"z":"656aafb.8a6395","wires":[]},{"id":"261c711c.8a8afe","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":1138.7618942260742,"y":1729.4053535461426,"z":"656aafb.8a6395","wires":[["ffc7b05f.851d6"]]},{"id":"3625b8e4.8a6ed8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":931.1905403137207,"y":1705.1196537017822,"z":"656aafb.8a6395","wires":[["431edeca.30bd2","261c711c.8a8afe"]]},{"id":"ffc7b05f.851d6","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":1642.3809967041016,"y":1728.976764678955,"z":"656aafb.8a6395","wires":[["9819f262.00a9b"]]},{"id":"9819f262.00a9b","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2085.000045776367,"y":1728.5482158660889,"z":"656aafb.8a6395","wires":[["fa80d8c4.eff008"]]},{"id":"fa80d8c4.eff008","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":2236.904926300049,"y":1728.5482025146484,"z":"656aafb.8a6395","wires":[]},{"id":"c7fe0b36.b32f28","type":"comment","name":"make sure this VF module doesn't exist already","info":"","comments":"","x":1668.8333435058594,"y":1683.6042566299438,"z":"656aafb.8a6395","wires":[]},{"id":"4579baea.4e1ce4","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":547.3333435058594,"y":1784.690951347351,"z":"656aafb.8a6395","wires":[]},{"id":"99398bc4.52b678","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":553.8333625793457,"y":1897.1910581588745,"z":"656aafb.8a6395","wires":[]},{"id":"873da3a5.72cd5","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":1314.7856216430664,"y":2056.428984642029,"z":"656aafb.8a6395","wires":[]},{"id":"deb3a0da.1b837","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":513.8332824707031,"y":2170.3813247680664,"z":"656aafb.8a6395","wires":[["7cf3e2b0.e4015c"]]},{"id":"7cf3e2b0.e4015c","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":659.1189727783203,"y":2170.381393432617,"z":"656aafb.8a6395","wires":[["20446503.96b8aa"]]},{"id":"20446503.96b8aa","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":806.261833190918,"y":2169.9528274536133,"z":"656aafb.8a6395","wires":[]},{"id":"ec603470.f9c408","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 = $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","comments":"","outputs":1,"x":552.6904983520508,"y":1970.5245962142944,"z":"656aafb.8a6395","wires":[["b56be644.999f38","db27dd5b.ccee4"]]},{"id":"db27dd5b.ccee4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":766.9366912841797,"y":1988.6754522323608,"z":"656aafb.8a6395","wires":[["aea5f281.3febe"]]},{"id":"aea5f281.3febe","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":941.9366645812988,"y":1988.6754884719849,"z":"656aafb.8a6395","wires":[]},{"id":"b56be644.999f38","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":775.8652877807617,"y":1946.9611854553223,"z":"656aafb.8a6395","wires":[["3fc25aad.735066"]]},{"id":"3fc25aad.735066","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":942.2145652770996,"y":1946.2667627334595,"z":"656aafb.8a6395","wires":[]},{"id":"64628347.fcadac","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":546.3095703125,"y":2654.2869262695312,"z":"656aafb.8a6395","wires":[]},{"id":"68c36e5e.1e03f","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1600.0000686645508,"y":647.9440250396729,"z":"656aafb.8a6395","wires":[["dd7dd66d.514b18","d5f2edac.9d2be"]]},{"id":"d5f2edac.9d2be","type":"break","name":"break","xml":"<break>\n","comments":"","x":1735.0000343322754,"y":669.6106109619141,"z":"656aafb.8a6395","wires":[]},{"id":"ba680463.606c28","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":928.1666221618652,"y":2211.7773180007935,"z":"656aafb.8a6395","wires":[]},{"id":"24ff0c47.3546a4","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":572.0236968994141,"y":2234.601761817932,"z":"656aafb.8a6395","wires":[["dea644df.085118","73169093.cd052"]]},{"id":"dea644df.085118","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":777.6903686523438,"y":2211.744725227356,"z":"656aafb.8a6395","wires":[["ba680463.606c28"]]},{"id":"73169093.cd052","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":779.1189651489258,"y":2256.0303163528442,"z":"656aafb.8a6395","wires":[["79238a6c.919764"]]},{"id":"79238a6c.919764","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":933.4047012329102,"y":2255.458888530731,"z":"656aafb.8a6395","wires":[]},{"id":"1f14efed.62082","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":929.1188926696777,"y":2300.3159942626953,"z":"656aafb.8a6395","wires":[]},{"id":"bbb0684c.92c108","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":544.6427154541016,"y":2323.1404991149902,"z":"656aafb.8a6395","wires":[["88d9b82d.799bb8","a27f6a.0dcca098"]]},{"id":"88d9b82d.799bb8","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":778.6426887512207,"y":2300.2834310531616,"z":"656aafb.8a6395","wires":[["1f14efed.62082"]]},{"id":"a27f6a.0dcca098","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":780.0712852478027,"y":2344.56902217865,"z":"656aafb.8a6395","wires":[["c2e02ca.0b685d"]]},{"id":"c2e02ca.0b685d","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":934.3570213317871,"y":2343.997594356537,"z":"656aafb.8a6395","wires":[]},{"id":"62153199.201c2","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":926.2618255615234,"y":2389.173201560974,"z":"656aafb.8a6395","wires":[]},{"id":"73ee4632.723818","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":552.785587310791,"y":2411.997646331787,"z":"656aafb.8a6395","wires":[["26a8f04b.475c8","476c4b25.1c1b84"]]},{"id":"26a8f04b.475c8","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":775.785572052002,"y":2389.1406087875366,"z":"656aafb.8a6395","wires":[["62153199.201c2"]]},{"id":"476c4b25.1c1b84","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":777.214168548584,"y":2433.426199913025,"z":"656aafb.8a6395","wires":[["c4b078c0.a8ed28"]]},{"id":"c4b078c0.a8ed28","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":931.4999046325684,"y":2432.854772090912,"z":"656aafb.8a6395","wires":[]},{"id":"e657442c.ead3c8","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":926.2618255615234,"y":2476.316023826599,"z":"656aafb.8a6395","wires":[]},{"id":"6b10e668.07ccf8","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":547.785587310791,"y":2499.140468597412,"z":"656aafb.8a6395","wires":[["f168f0ce.54b45","33cec373.42738c"]]},{"id":"f168f0ce.54b45","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":775.785572052002,"y":2476.2834310531616,"z":"656aafb.8a6395","wires":[["e657442c.ead3c8"]]},{"id":"33cec373.42738c","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":777.214168548584,"y":2520.56902217865,"z":"656aafb.8a6395","wires":[["ea01df66.59c76"]]},{"id":"ea01df66.59c76","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":931.4999046325684,"y":2519.997594356537,"z":"656aafb.8a6395","wires":[]},{"id":"ef4d2a4.c7047d8","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":562.237922668457,"y":2571.6494579315186,"z":"656aafb.8a6395","wires":[]},{"id":"93254957.8f37d8","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":515.4285697937012,"y":1840.372633934021,"z":"656aafb.8a6395","wires":[]},{"id":"d4ff85a5.3e2f38","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":574.9443130493164,"y":2059.031279563904,"z":"656aafb.8a6395","wires":[["82c8e882.337268"]]},{"id":"82c8e882.337268","type":"switchNode","name":"switch related-to","xml":"<switch test='`$aai.cloud-region.relationship-list.relationship[$idx].related-to`'>\n","comments":"","outputs":1,"x":822.6228561401367,"y":2058.7812089920044,"z":"656aafb.8a6395","wires":[["78be2657.4761c8"]]},{"id":"78be2657.4761c8","type":"outcome","name":"complex","xml":"<outcome value='complex'>\n","comments":"","outputs":1,"x":992.0871772766113,"y":2058.1740312576294,"z":"656aafb.8a6395","wires":[["292c6898.f5d278"]]},{"id":"f6d1d3fe.3f36b","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":1332.1823348999023,"y":2012.6026067733765,"z":"656aafb.8a6395","wires":[[]]},{"id":"292c6898.f5d278","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1151.8490371704102,"y":2059.2693948745728,"z":"656aafb.8a6395","wires":[["f6d1d3fe.3f36b","fd0333a4.b3c89","873da3a5.72cd5"]]},{"id":"fd0333a4.b3c89","type":"break","name":"break","xml":"<break>\n","comments":"","x":1301.8489990234375,"y":2102.6026916503906,"z":"656aafb.8a6395","wires":[]},{"id":"c622ee1f.60898","type":"execute","name":"execute PropertiesNode","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","comments":"","outputs":1,"x":530.7142791748047,"y":259.88143253326416,"z":"656aafb.8a6395","wires":[[]]},{"id":"5866abdc.5ae8b4","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":560.5953598022461,"y":5992.23706048727,"z":"656aafb.8a6395","wires":[]},{"id":"a9429c24.2435a","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":497.16666412353516,"y":6084.855390489101,"z":"656aafb.8a6395","wires":[]},{"id":"c027e91b.5ae848","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":501.4523696899414,"y":5944.5853652358055,"z":"656aafb.8a6395","wires":[]},{"id":"f9c64c2d.c2c64","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":546.3333740234375,"y":5896.3708772063255,"z":"656aafb.8a6395","wires":[]},{"id":"5cfaa9c0.9d8738","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":492.04761505126953,"y":6037.085206925869,"z":"656aafb.8a6395","wires":[[]]},{"id":"74b7384e.7dc558","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<parameter name=\"automated-assignment\" value=\"`$automated-assignment`\" />","comments":"","outputs":1,"x":540.4762268066406,"y":4220.039322853088,"z":"656aafb.8a6395","wires":[["652740cb.83ab2","4329d4e9.833ffc"]]},{"id":"93ef82f6.77bf8","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":1045.5239028930664,"y":4254.80075353384,"z":"656aafb.8a6395","wires":[]},{"id":"652740cb.83ab2","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":715.5478668212891,"y":4188.419944763184,"z":"656aafb.8a6395","wires":[["ed63435e.aa384"]]},{"id":"4329d4e9.833ffc","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":724.1192398071289,"y":4257.03903478384,"z":"656aafb.8a6395","wires":[["abbcc2f3.09db4"]]},{"id":"bc498ebb.62e89","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":1050.5478210449219,"y":4206.563501358032,"z":"656aafb.8a6395","wires":[]},{"id":"fb3addee.0067e","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":562.1428718566895,"y":4012.89657497406,"z":"656aafb.8a6395","wires":[]},{"id":"35075c06.3ff5b4","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].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","comments":"","outputs":1,"x":1330.8332557678223,"y":5011.524610519409,"z":"656aafb.8a6395","wires":[["eebf0c8d.02687","17cb2186.384fde"]]},{"id":"eebf0c8d.02687","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1550.6665992736816,"y":4982.396354675293,"z":"656aafb.8a6395","wires":[["9626c0d4.cffb4"]]},{"id":"17cb2186.384fde","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1559.2381324768066,"y":5035.01549911499,"z":"656aafb.8a6395","wires":[["d7b5caa2.dbe748"]]},{"id":"a5942506.20edd8","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":1885.666732788086,"y":5002.206251144409,"z":"656aafb.8a6395","wires":[]},{"id":"eb5208b9.6edea8","type":"for","name":"for each vm-type","xml":"<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n","comments":"","outputs":1,"x":524.1667404174805,"y":4826.191459655762,"z":"656aafb.8a6395","wires":[["2895f74a.780eb8"]]},{"id":"c51b1efc.3f796","type":"for","name":"for each vm-network","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","comments":"","outputs":1,"x":907.4999923706055,"y":5195.524995565414,"z":"656aafb.8a6395","wires":[["19879c24.7f2f24"]]},{"id":"2c0c296.d55dad6","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 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","comments":"","x":1887.5001068115234,"y":5052.19079208374,"z":"656aafb.8a6395","wires":[]},{"id":"8fbc261.8df31d8","type":"for","name":"for each vm-type","xml":"<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n","comments":"","outputs":1,"x":509.9285430908203,"y":5817.237373292446,"z":"656aafb.8a6395","wires":[["64726337.9e62cc"]]},{"id":"64726337.9e62cc","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":704.9285736083984,"y":5816.570381104946,"z":"656aafb.8a6395","wires":[["6bfd6084.d709f"]]},{"id":"ad3cf09c.9226f","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 , $prop.cloud-region.cloud-owner )\" >","comments":"","outputs":1,"x":1096.5952758789062,"y":5839.2380313277245,"z":"656aafb.8a6395","wires":[["5e616199.78de3"]]},{"id":"b9d57fe1.533e5","type":"comment","name":"Not a failure","info":"","comments":"","x":1616.5951766967773,"y":5839.238036096096,"z":"656aafb.8a6395","wires":[]},{"id":"5e616199.78de3","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1306.5952606201172,"y":5839.238181054592,"z":"656aafb.8a6395","wires":[["26b1e0ff.8c0e"]]},{"id":"26b1e0ff.8c0e","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":1449.9287033081055,"y":5839.238018929958,"z":"656aafb.8a6395","wires":[[]]},{"id":"5588e4f4.192e3c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1479.928825378418,"y":5790.569732606411,"z":"656aafb.8a6395","wires":[["6ef1b6fa.74d458"]]},{"id":"47184014.145f","type":"comment","name":"Not a failure","info":"","comments":"","x":1803.2618789672852,"y":5788.903554856777,"z":"656aafb.8a6395","wires":[]},{"id":"6ef1b6fa.74d458","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":1625.9287605285645,"y":5790.570365846157,"z":"656aafb.8a6395","wires":[[]]},{"id":"6bfd6084.d709f","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":873.2619667053223,"y":5815.570225656033,"z":"656aafb.8a6395","wires":[["a8168d5b.f3523","ad3cf09c.9226f"]]},{"id":"a8168d5b.f3523","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":1186.5952911376953,"y":5790.904365479946,"z":"656aafb.8a6395","wires":[["5588e4f4.192e3c"]]},{"id":"ed63435e.aa384","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":873.8334350585938,"y":4188.190615653992,"z":"656aafb.8a6395","wires":[["bc498ebb.62e89","78341ff5.2c4ba"]]},{"id":"abbcc2f3.09db4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":874.8333511352539,"y":4254.85690587759,"z":"656aafb.8a6395","wires":[["93ef82f6.77bf8","78341ff5.2c4ba"]]},{"id":"9626c0d4.cffb4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1719.166603088379,"y":4982.190624237061,"z":"656aafb.8a6395","wires":[["a5942506.20edd8","b9195698.e1ca38"]]},{"id":"d7b5caa2.dbe748","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1714.166603088379,"y":5035.190466880798,"z":"656aafb.8a6395","wires":[["2c0c296.d55dad6","b9195698.e1ca38"]]},{"id":"dd018545.07e8e8","type":"execute","name":"execute RestApiCallNode - get preload-list","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","comments":"","outputs":1,"x":601.6666946411133,"y":2737.024694442749,"z":"656aafb.8a6395","wires":[["38fd8c9e.bc06d4","31fd432b.0f5fac"]]},{"id":"38fd8c9e.bc06d4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":865.0000101725259,"y":2700.3579107920323,"z":"656aafb.8a6395","wires":[["4a068e1a.966a4"]]},{"id":"31fd432b.0f5fac","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":868.3332977294922,"y":2775.3579063415527,"z":"656aafb.8a6395","wires":[["f560d3ad.ba84f"]]},{"id":"4a068e1a.966a4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1026.6666984558105,"y":2698.691195487976,"z":"656aafb.8a6395","wires":[["2f57bab0.882396"]]},{"id":"f560d3ad.ba84f","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1023.3333053588867,"y":2775.357748031616,"z":"656aafb.8a6395","wires":[["c91133f9.d9e49"]]},{"id":"2f57bab0.882396","type":"switchNode","name":"switch mdsal-preload.response-code","xml":"<switch test='`$mdsal-preload.response-code`'>\n","comments":"","outputs":1,"x":1255,"y":2698.6912364959717,"z":"656aafb.8a6395","wires":[["29f6cde1.82aa82","c5e747b2.1f3448"]]},{"id":"29f6cde1.82aa82","type":"outcome","name":"404 (not found)","xml":"<outcome value='404'>\n","comments":"","outputs":1,"x":1506.6667366027832,"y":2662.024610519409,"z":"656aafb.8a6395","wires":[["57da7d13.9d23e4"]]},{"id":"57da7d13.9d23e4","type":"call","name":"call GENERIC-RESOURCE-API:vf-module-topology-operation-assign-no-preload","xml":"<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign-no-preload' mode='sync' >\n","comments":"","outputs":1,"x":1903.3332061767578,"y":2660.357738494873,"z":"656aafb.8a6395","wires":[["176979e3.8dfcd6"]]},{"id":"176979e3.8dfcd6","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2273.333354949951,"y":2658.6912746429443,"z":"656aafb.8a6395","wires":[["21d1dcd4.4f6544"]]},{"id":"21d1dcd4.4f6544","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2429.9999465942383,"y":2657.0245685577393,"z":"656aafb.8a6395","wires":[]},{"id":"c5e747b2.1f3448","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1481.6667747497559,"y":2718.691237449646,"z":"656aafb.8a6395","wires":[["95f3102e.43dbf"]]},{"id":"95f3102e.43dbf","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 preload-information\" />\n","comments":"","x":1646.6665840148926,"y":2717.0244903564453,"z":"656aafb.8a6395","wires":[]},{"id":"c91133f9.d9e49","type":"call","name":"call GENERIC-RESOURCE-API:vf-module-topology-operation-assign-preload","xml":"<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign-preload' mode='sync' >\n","comments":"","outputs":1,"x":1386.6665954589844,"y":2777.024496078491,"z":"656aafb.8a6395","wires":[["91af88ba.737b58"]]},{"id":"91af88ba.737b58","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1742.3334579467773,"y":2775.3581142425537,"z":"656aafb.8a6395","wires":[["76f92896.248a58"]]},{"id":"76f92896.248a58","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1897.333381652832,"y":2775.3581943511963,"z":"656aafb.8a6395","wires":[]},{"id":"2895f74a.780eb8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":714.6668090820312,"y":4827.024694442749,"z":"656aafb.8a6395","wires":[["c51b1efc.3f796","df1e2be4.7bff88"]]},{"id":"df1e2be4.7bff88","type":"for","name":"for each vnfc","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","comments":"","outputs":1,"x":901.3335113525391,"y":4483.691401481628,"z":"656aafb.8a6395","wires":[["36bfaf08.699ea"]]},{"id":"93dc27d7.d2e7f8","type":"save","name":"save vnfc to A&AI","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.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-naming-code`\" />\n<parameter name=\"nfc-function\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].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=\"orchestration-status\" value=\"`PendingCreate`\" />\n<parameter name=\"prov-status\" value=\"`PREPROV`\" />\n","comments":"","outputs":1,"x":1264.6667137145996,"y":4310.691418647766,"z":"656aafb.8a6395","wires":[["d084a25f.130fa","f5b7c328.fea4e"]]},{"id":"36bfaf08.699ea","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1069.6668128967285,"y":4484.358228683472,"z":"656aafb.8a6395","wires":[["93dc27d7.d2e7f8","716e53c6.f8971c","5e637da9.e8c6f4","397a51e2.a9811e"]]},{"id":"d084a25f.130fa","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1453.6666946411133,"y":4286.358032166958,"z":"656aafb.8a6395","wires":[["9256f0a5.e0827"]]},{"id":"8809f864.0b9208","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 saving vnfc to AAI\" />\n","comments":"","x":1794.6669082641602,"y":4322.167888045311,"z":"656aafb.8a6395","wires":[]},{"id":"9256f0a5.e0827","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1620.8334426879883,"y":4302.152465760708,"z":"656aafb.8a6395","wires":[["8809f864.0b9208","6dd31c8a.306554"]]},{"id":"397a51e2.a9811e","type":"save","name":"save vnfc relationships","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","comments":"","outputs":1,"x":1276.3333778381348,"y":4408.691504478455,"z":"656aafb.8a6395","wires":[["b73184ef.8eab58","47b09b6b.b72904"]]},{"id":"43675438.e22aec","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 vnfc relationships in AAI\" />\n","comments":"","x":1786.3333129882812,"y":4400.358340263367,"z":"656aafb.8a6395","wires":[]},{"id":"ea558d44.ab434","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=\"Not-found error updating vnfc relationships\" />\n","comments":"","x":1781.5002212524414,"y":4452.0095472335815,"z":"656aafb.8a6395","wires":[]},{"id":"1450e757.7e8919","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1608.1665687561035,"y":4382.009128570557,"z":"656aafb.8a6395","wires":[["43675438.e22aec","6dd31c8a.306554"]]},{"id":"43b26d4f.2168a4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1608.1666450500488,"y":4435.008887290955,"z":"656aafb.8a6395","wires":[["ea558d44.ab434","6dd31c8a.306554"]]},{"id":"b73184ef.8eab58","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1451.33345413208,"y":4382.0247983932495,"z":"656aafb.8a6395","wires":[["1450e757.7e8919"]]},{"id":"47b09b6b.b72904","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1459.904987335205,"y":4434.643942832947,"z":"656aafb.8a6395","wires":[["43b26d4f.2168a4"]]},{"id":"716e53c6.f8971c","type":"for","name":"for each vnfc-network-role","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","comments":"","outputs":1,"x":1283.0000038146973,"y":4670.357853889465,"z":"656aafb.8a6395","wires":[["5174a4c6.f867ec"]]},{"id":"74133334.aced1c","type":"for","name":"for each vm-type","xml":"<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n","comments":"","outputs":1,"x":532.6667251586914,"y":3303.024682998657,"z":"656aafb.8a6395","wires":[["4fef35f2.d4b31c"]]},{"id":"da513051.0c80f","type":"for","name":"for each vnfc","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","comments":"","outputs":1,"x":909.3334655761719,"y":3006.6916103363037,"z":"656aafb.8a6395","wires":[["39475bd5.415024"]]},{"id":"39475bd5.415024","type":"for","name":"for each vnfc-network-role","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","comments":"","outputs":1,"x":1122.1667785644531,"y":3006.5246181488037,"z":"656aafb.8a6395","wires":[["39bd0525.e9673a"]]},{"id":"39bd0525.e9673a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1315.5003280639648,"y":3005.8581142425537,"z":"656aafb.8a6395","wires":[["211a45be.e73e6a","3d73ced8.240982","9348f910.7316b8","dc00b3e.1e7765","1a36dc6b.f54da4","66e2bf1b.b4a97"]]},{"id":"211a45be.e73e6a","type":"set","name":"set found-network-role to false","xml":"<set>\n<parameter name='found-network-role' value='false' />\n","comments":"","x":1549.1669311523438,"y":2909.191512107849,"z":"656aafb.8a6395","wires":[]},{"id":"3d73ced8.240982","type":"for","name":"for each vnf-network","xml":"<for index='vnf-network-index' start='0'\n  end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n","comments":"","outputs":1,"x":1517.5001831054688,"y":2957.5246047973633,"z":"656aafb.8a6395","wires":[["c4db9112.14214"]]},{"id":"9348f910.7316b8","type":"set","name":"set tmp.network-role","xml":"<set>\n<parameter name='tmp.network-role' 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-network-role`' />\n","comments":"","x":1520.8335189819336,"y":2862.5247631073,"z":"656aafb.8a6395","wires":[]},{"id":"c4db9112.14214","type":"switchNode","name":"network-roles match?","xml":"<switch test='`$tmp.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","comments":"","outputs":1,"x":1730.8334426879883,"y":2955.857936859131,"z":"656aafb.8a6395","wires":[["43a60930.0fb2c8"]]},{"id":"43a60930.0fb2c8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1910.8336563110352,"y":2954.1915950775146,"z":"656aafb.8a6395","wires":[["a2149f57.02558"]]},{"id":"a2149f57.02558","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2040.8334197998047,"y":2954.1913528442383,"z":"656aafb.8a6395","wires":[["8953ca67.9978f8","7d1c2cc.f6fa6d4"]]},{"id":"8953ca67.9978f8","type":"set","name":"set found-network-role to true","xml":"<set>\n<parameter name='found-network-role' value='true' />\n","comments":"","x":2237.500255584717,"y":2922.5246028900146,"z":"656aafb.8a6395","wires":[]},{"id":"7d1c2cc.f6fa6d4","type":"break","name":"break","xml":"<break>\n","comments":"","x":2167.500171661377,"y":2972.524850845337,"z":"656aafb.8a6395","wires":[]},{"id":"dc00b3e.1e7765","type":"switchNode","name":"switch found-network-role","xml":"<switch test='`$found-network-role`'>\n","comments":"","outputs":1,"x":1532.5001792907715,"y":3005.857961654663,"z":"656aafb.8a6395","wires":[["9701b094.853bb"]]},{"id":"9701b094.853bb","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1722.5002365112305,"y":3005.858205795288,"z":"656aafb.8a6395","wires":[["1a02e5e2.37764a"]]},{"id":"ffec08a5.88c838","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\"\n      value=\"`'Cannot find VNF network role ' + $tmp.network-role`\" />\n","comments":"","x":2032.500099182129,"y":3004.5251054763794,"z":"656aafb.8a6395","wires":[]},{"id":"6787e7f7.3e3718","type":"comment","name":"Loop through and determine network and subnet ids, and store them in context memory","info":"","comments":"","x":984.1667251586914,"y":2901.191452026367,"z":"656aafb.8a6395","wires":[]},{"id":"1a36dc6b.f54da4","type":"set","name":"store network-id","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].network-id'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-id`' />\n","comments":"","x":1500.8334312438965,"y":3052.857961654663,"z":"656aafb.8a6395","wires":[]},{"id":"66e2bf1b.b4a97","type":"for","name":"for each vnfc-subnet-role","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[$network-role-index].vnfc-subnet_length`' >\n","comments":"","outputs":1,"x":1525.833366394043,"y":3206.1914081573486,"z":"656aafb.8a6395","wires":[["4b5ec7f4.4e5d08"]]},{"id":"4b5ec7f4.4e5d08","type":"for","name":"for each vnfc-address-family","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[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments_length`' >\n","comments":"","outputs":1,"x":1770.8333587646484,"y":3206.1912994384766,"z":"656aafb.8a6395","wires":[["7266ee36.9fc2e"]]},{"id":"89d10c7.03b9cf","type":"set","name":"set found-subnet to false","xml":"<set>\n<parameter name='found-subnet' value='false' />\n","comments":"","x":2190.833366394043,"y":3152.8580465316772,"z":"656aafb.8a6395","wires":[]},{"id":"3b7448f8.d9ff38","type":"for","name":"for each vnf address family","xml":"<for silentFailure='true' index='vnf-address-family-index' start='0'\n  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","comments":"","outputs":1,"x":2195.833251953125,"y":3199.524227142334,"z":"656aafb.8a6395","wires":[["fec50717.207ed8"]]},{"id":"b1a77703.c09158","type":"set","name":"set tmp.address-family and tmp.subnet-role","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<parameter name='tmp.subnet-role'\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-subnet-role`' />\n","comments":"","x":2247.4999923706055,"y":3106.1912155151367,"z":"656aafb.8a6395","wires":[]},{"id":"fec50717.207ed8","type":"switchNode","name":"address-families match?","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[$vnf-address-family-index].ip-version`'>\n","comments":"","outputs":1,"x":2442.499931335449,"y":3197.857805252075,"z":"656aafb.8a6395","wires":[["d38a96f4.39fe88"]]},{"id":"d38a96f4.39fe88","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2622.499897003174,"y":3197.858211517334,"z":"656aafb.8a6395","wires":[["cca1b8aa.7bfbf8"]]},{"id":"ee552abf.ebd808","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":3089.1663818359375,"y":3194.5246362686157,"z":"656aafb.8a6395","wires":[["fb5002c1.eb703","7ece3f26.2fecd"]]},{"id":"fb5002c1.eb703","type":"set","name":"set found-subnet to true","xml":"<set>\n<parameter name='found-subnet' value='true' />\n","comments":"","x":3269.166664123535,"y":3164.524552345276,"z":"656aafb.8a6395","wires":[]},{"id":"7ece3f26.2fecd","type":"break","name":"break","xml":"<break>\n","comments":"","x":3215.8331336975098,"y":3212.8581342697144,"z":"656aafb.8a6395","wires":[]},{"id":"293030b5.eb0f5","type":"switchNode","name":"switch found-subnet","xml":"<switch test='`$found-subnet`'>\n","comments":"","outputs":1,"x":2172.499954223633,"y":3244.5243101119995,"z":"656aafb.8a6395","wires":[["6c505583.2996fc"]]},{"id":"6c505583.2996fc","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2350.833293914795,"y":3244.5245542526245,"z":"656aafb.8a6395","wires":[["35168b08.f767a4"]]},{"id":"a7c172c7.b1211","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=\"`'Cannot find VNF address family '\n      + $tmp.address-family\n      + ' for subnet role '\n      + $tmp.subnet-role`\" />\n","comments":"","x":2667.499782562256,"y":3241.524631500244,"z":"656aafb.8a6395","wires":[]},{"id":"d0c8a716.7b7cf8","type":"set","name":"store subnet-id (from sdnc-subnet-id)","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].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id'\n  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[$vnf-address-family-index].sdnc-subnet-id`' />\n","comments":"","x":2220.833122253418,"y":3289.8576459884644,"z":"656aafb.8a6395","wires":[]},{"id":"bf94cb16.e2d428","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmoduleb.log' />\n","comments":"","outputs":1,"x":523.3333129882812,"y":3966.071620941162,"z":"656aafb.8a6395","wires":[[]]},{"id":"5174a4c6.f867ec","type":"for","name":"for each vnfc-subnetwork-role","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","comments":"","outputs":1,"x":1541.6667671203613,"y":4669.691248893738,"z":"656aafb.8a6395","wires":[["2c378b11.4bddb4"]]},{"id":"2c378b11.4bddb4","type":"for","name":"for each vnfc-address-family","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","comments":"","outputs":1,"x":1805.6667518615723,"y":4668.691336631775,"z":"656aafb.8a6395","wires":[["12b644ea.1cc82b"]]},{"id":"bcbaadbf.dbba4","type":"for","name":"for each vnfc-ip-address","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","comments":"","outputs":1,"x":2219.333179473877,"y":4730.357754707336,"z":"656aafb.8a6395","wires":[["76052f92.1b8d1"]]},{"id":"12b644ea.1cc82b","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2018.3333778381348,"y":4668.691336631775,"z":"656aafb.8a6395","wires":[["84e0a123.150f7","bcbaadbf.dbba4"]]},{"id":"84e0a123.150f7","type":"set","name":"set tmp.address-family","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","comments":"","x":2218.333667755127,"y":4583.691409111023,"z":"656aafb.8a6395","wires":[]},{"id":"76052f92.1b8d1","type":"switchNode","name":"switch address family","xml":"<switch test='`$tmp.address-family`'>\n","comments":"","outputs":1,"x":2458.3332710266113,"y":4728.691576957703,"z":"656aafb.8a6395","wires":[["98314889.e73bb8","42639bc.b7f5764"]]},{"id":"98314889.e73bb8","type":"outcome","name":"ipv4","xml":"<outcome value='ipv4'>\n","comments":"","outputs":1,"x":2655.476276397705,"y":4632.262837409973,"z":"656aafb.8a6395","wires":[["39883e35.d1bea2"]]},{"id":"42639bc.b7f5764","type":"outcome","name":"ipv6","xml":"<outcome value='ipv6'>\n","comments":"","outputs":1,"x":2653.0953483581543,"y":4812.024868965149,"z":"656aafb.8a6395","wires":[["bfd7e037.4b715"]]},{"id":"d15e1933.103cb8","type":"comment","name":"Fixed IPs","info":"","comments":"","x":1390.0001665751133,"y":4610.35808467865,"z":"656aafb.8a6395","wires":[]},{"id":"265ee3cd.79724c","type":"save","name":"save l3-interface-ipv4-address-list object to A&AI","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 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","comments":"","outputs":1,"x":3098.8094062805176,"y":4580.595917383831,"z":"656aafb.8a6395","wires":[["d3e44cdf.4ddf"]]},{"id":"39883e35.d1bea2","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2805.476276397705,"y":4632.262756029766,"z":"656aafb.8a6395","wires":[["265ee3cd.79724c","c6039477.bd3778"]]},{"id":"28b581c.b31507e","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 creating l3-interface-ipv4-address-list object in AAI\" />\n","comments":"","x":3682.142925262451,"y":4598.929576555889,"z":"656aafb.8a6395","wires":[]},{"id":"45328b00.36e7d4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":3512.309280395508,"y":4580.580409685772,"z":"656aafb.8a6395","wires":[["28b581c.b31507e","a3fa30dc.ae097"]]},{"id":"d3e44cdf.4ddf","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3355.4761657714844,"y":4580.596079508465,"z":"656aafb.8a6395","wires":[["45328b00.36e7d4"]]},{"id":"c6039477.bd3778","type":"save","name":"save l3-interface-ipv4-address-list relationships","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 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","comments":"","outputs":1,"x":3093.8096504211426,"y":4678.929336229961,"z":"656aafb.8a6395","wires":[["3cecedfa.c612b2","93e79eb8.b37ea"]]},{"id":"6212c320.740dac","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 l3-interface-ipv4-address-list relationships in AAI\" />\n","comments":"","x":3680.47603225708,"y":4670.596007982891,"z":"656aafb.8a6395","wires":[]},{"id":"8bf9ee91.86e21","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=\"Not-found error updating l3-interface-ipv4-address-list relationships\" />\n","comments":"","x":3680.642894744873,"y":4720.580465952557,"z":"656aafb.8a6395","wires":[]},{"id":"34a6760c.cb568a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":3513.975902557373,"y":4650.580381075542,"z":"656aafb.8a6395","wires":[["6212c320.740dac","a3fa30dc.ae097"]]},{"id":"6650bc97.17d3c4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":3513.9759788513184,"y":4703.58013979594,"z":"656aafb.8a6395","wires":[["8bf9ee91.86e21","a3fa30dc.ae097"]]},{"id":"3cecedfa.c612b2","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3357.1427879333496,"y":4650.596050898235,"z":"656aafb.8a6395","wires":[["34a6760c.cb568a"]]},{"id":"93e79eb8.b37ea","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":3365.7143211364746,"y":4703.2151953379325,"z":"656aafb.8a6395","wires":[["6650bc97.17d3c4"]]},{"id":"bc227347.5fb69","type":"save","name":"save l3-interface-ipv6-address-list object to A&AI","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 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","comments":"","outputs":1,"x":3097.6191444396973,"y":4759.643973350525,"z":"656aafb.8a6395","wires":[["1fb322aa.72fa5d"]]},{"id":"bfd7e037.4b715","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2804.2860145568848,"y":4811.31081199646,"z":"656aafb.8a6395","wires":[["bc227347.5fb69","f572b571.7d6058"]]},{"id":"1839ffe6.a2c79","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 creating l3-interface-ipv6-address-list object in AAI\" />\n","comments":"","x":3680.952663421631,"y":4777.977632522583,"z":"656aafb.8a6395","wires":[]},{"id":"ee8a14f4.c59418","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":3511.1190185546875,"y":4759.628465652466,"z":"656aafb.8a6395","wires":[["1839ffe6.a2c79","a3fa30dc.ae097"]]},{"id":"1fb322aa.72fa5d","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3354.285903930664,"y":4759.644135475159,"z":"656aafb.8a6395","wires":[["ee8a14f4.c59418"]]},{"id":"f572b571.7d6058","type":"save","name":"save l3-interface-ipv6-address-list relationships","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 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","comments":"","outputs":1,"x":3092.6193885803223,"y":4857.977392196655,"z":"656aafb.8a6395","wires":[["383116c9.6e3b7a","7fb50e74.bb6da"]]},{"id":"2666fdb.a988302","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 l3-interface-ipv6-address-list relationships in AAI\" />\n","comments":"","x":3679.2857704162598,"y":4849.644063949585,"z":"656aafb.8a6395","wires":[]},{"id":"4c4c7b91.8f9554","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=\"Not-found error updating l3-interface-ipv6-address-list relationships\" />\n","comments":"","x":3679.4526329040527,"y":4899.6285219192505,"z":"656aafb.8a6395","wires":[]},{"id":"724dddd1.2bc264","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":3512.7856407165527,"y":4829.628437042236,"z":"656aafb.8a6395","wires":[["2666fdb.a988302","a3fa30dc.ae097"]]},{"id":"12599dec.9c3eb2","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":3512.785717010498,"y":4882.628195762634,"z":"656aafb.8a6395","wires":[["4c4c7b91.8f9554","a3fa30dc.ae097"]]},{"id":"383116c9.6e3b7a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3355.9525260925293,"y":4829.644106864929,"z":"656aafb.8a6395","wires":[["724dddd1.2bc264"]]},{"id":"7fb50e74.bb6da","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":3364.5240592956543,"y":4882.2632513046265,"z":"656aafb.8a6395","wires":[["12599dec.9c3eb2"]]},{"id":"4fef35f2.d4b31c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":734.0000610351562,"y":3301.691195487976,"z":"656aafb.8a6395","wires":[["da513051.0c80f","a8f24b00.6e6ea8"]]},{"id":"19879c24.7f2f24","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1097.3333129882812,"y":5195.024434804916,"z":"656aafb.8a6395","wires":[["f58bd68b.96d2d8","35075c06.3ff5b4","1beb085d.4f4938","a9d5066.8dca3f8"]]},{"id":"b881adbd.34b62","type":"for","name":"for each vnfc","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","comments":"","outputs":1,"x":1743.6668319702148,"y":5280.691266775131,"z":"656aafb.8a6395","wires":[["50e1c37e.6412bc"]]},{"id":"abdac62e.d1e218","type":"save","name":"save vip-ipv4-address-list object to A&AI","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","comments":"","outputs":1,"x":1828.3333435058594,"y":5148.691194295883,"z":"656aafb.8a6395","wires":[["e508c954.f3e1a8","77e92049.e845e"]]},{"id":"1beb085d.4f4938","type":"for","name":"for each floating ipv4 address","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","comments":"","outputs":1,"x":1336.3333358764648,"y":5206.691266775131,"z":"656aafb.8a6395","wires":[["84ebc3a1.1bd9a"]]},{"id":"84ebc3a1.1bd9a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1562.3333358764648,"y":5204.691266775131,"z":"656aafb.8a6395","wires":[["abdac62e.d1e218","e39d949a.8de478","b881adbd.34b62"]]},{"id":"6fb5a1ed.fdbd3","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 saving vip-ipv4-address-list in AAI\" />\n","comments":"","x":2390.3333435058594,"y":5138.691194295883,"z":"656aafb.8a6395","wires":[]},{"id":"146ffdae.698b32","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=\"Not-found error saving vip-ipv4-address-list\" />\n","comments":"","x":2390.5002059936523,"y":5188.675652265549,"z":"656aafb.8a6395","wires":[]},{"id":"5b85e928.efe4b8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2223.8332138061523,"y":5118.675567388535,"z":"656aafb.8a6395","wires":[["6fb5a1ed.fdbd3","15f1245b.88e65c"]]},{"id":"92d5910a.67fa2","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2223.8332901000977,"y":5171.6753261089325,"z":"656aafb.8a6395","wires":[["146ffdae.698b32","15f1245b.88e65c"]]},{"id":"e508c954.f3e1a8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2067.000099182129,"y":5118.691237211227,"z":"656aafb.8a6395","wires":[["5b85e928.efe4b8"]]},{"id":"77e92049.e845e","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2075.571632385254,"y":5171.310381650925,"z":"656aafb.8a6395","wires":[["92d5910a.67fa2"]]},{"id":"50e1c37e.6412bc","type":"save","name":"save vip-ipv4-address-list relationships","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","comments":"","outputs":1,"x":1990.666618347168,"y":5279.691755056381,"z":"656aafb.8a6395","wires":[["de4986c8.89d8c8","144fc410.ec0dac"]]},{"id":"49dd0458.91528c","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 vip-ipv4-address-list relationships in AAI\" />\n","comments":"","x":2560.3330268859863,"y":5271.691724598408,"z":"656aafb.8a6395","wires":[]},{"id":"d62e9338.a68f3","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=\"Not-found error updating vip-ipv4-address-list relationships\" />\n","comments":"","x":2560.4998893737793,"y":5321.676182568073,"z":"656aafb.8a6395","wires":[]},{"id":"6b0665c4.4b3d9c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2393.8328971862793,"y":5251.676097691059,"z":"656aafb.8a6395","wires":[["49dd0458.91528c","15f1245b.88e65c"]]},{"id":"c2b853df.f2b9a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2393.8329734802246,"y":5304.675856411457,"z":"656aafb.8a6395","wires":[["d62e9338.a68f3","15f1245b.88e65c"]]},{"id":"de4986c8.89d8c8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2236.999782562256,"y":5251.691767513752,"z":"656aafb.8a6395","wires":[["6b0665c4.4b3d9c"]]},{"id":"144fc410.ec0dac","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2245.571315765381,"y":5304.310911953449,"z":"656aafb.8a6395","wires":[["c2b853df.f2b9a"]]},{"id":"cdcc9317.be9ce","type":"save","name":"save vip-ipv6-address-list object to A&AI","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","comments":"","outputs":1,"x":1828.3333358764648,"y":5382.024274587631,"z":"656aafb.8a6395","wires":[["230dacf3.4a16a4","54ad1405.aa30cc"]]},{"id":"a9d5066.8dca3f8","type":"for","name":"for each floating ipv6 address","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","comments":"","outputs":1,"x":1336.3333282470703,"y":5440.024347066879,"z":"656aafb.8a6395","wires":[["5199f1df.36f62"]]},{"id":"5199f1df.36f62","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1562.3333282470703,"y":5438.024347066879,"z":"656aafb.8a6395","wires":[["cdcc9317.be9ce","26b0e418.f619fc","a070538.5dbd6b"]]},{"id":"3318552.b80aeaa","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 saving vip-ipv6-address-list in AAI\" />\n","comments":"","x":2390.333335876465,"y":5372.024274587631,"z":"656aafb.8a6395","wires":[]},{"id":"1b255130.bd94cf","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=\"Not-found error saving vip-ipv6-address-list\" />\n","comments":"","x":2390.500198364258,"y":5422.008732557297,"z":"656aafb.8a6395","wires":[]},{"id":"3381b5ad.78767a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2223.833206176758,"y":5352.008647680283,"z":"656aafb.8a6395","wires":[["3318552.b80aeaa","15f1245b.88e65c"]]},{"id":"ce31be4d.d70b5","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2223.833282470703,"y":5405.0084064006805,"z":"656aafb.8a6395","wires":[["1b255130.bd94cf","15f1245b.88e65c"]]},{"id":"230dacf3.4a16a4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2067.0000915527344,"y":5352.0243175029755,"z":"656aafb.8a6395","wires":[["3381b5ad.78767a"]]},{"id":"54ad1405.aa30cc","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2075.5716247558594,"y":5404.643461942673,"z":"656aafb.8a6395","wires":[["ce31be4d.d70b5"]]},{"id":"793d4d94.714a34","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 vip-ipv6-address-list relationships in AAI\" />\n","comments":"","x":2555.3332176208496,"y":5498.357821285725,"z":"656aafb.8a6395","wires":[]},{"id":"6a436f8e.78398","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=\"Not-found error updating vip-ipv6-address-list relationships\" />\n","comments":"","x":2555.5000801086426,"y":5548.34227925539,"z":"656aafb.8a6395","wires":[]},{"id":"1c470c9d.ff22d3","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2388.8330879211426,"y":5478.342194378376,"z":"656aafb.8a6395","wires":[["793d4d94.714a34","15f1245b.88e65c"]]},{"id":"e202479d.1d6968","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2388.833164215088,"y":5531.341953098774,"z":"656aafb.8a6395","wires":[["6a436f8e.78398","15f1245b.88e65c"]]},{"id":"765444d8.0caaac","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2231.999973297119,"y":5478.357864201069,"z":"656aafb.8a6395","wires":[["1c470c9d.ff22d3"]]},{"id":"a0f773e5.64822","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2240.571506500244,"y":5530.977008640766,"z":"656aafb.8a6395","wires":[["e202479d.1d6968"]]},{"id":"a8f24b00.6e6ea8","type":"for","name":"for each vm-network","xml":"<for silentFailure='true' index='vm-network-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":935.9999923706055,"y":3582.3578214645386,"z":"656aafb.8a6395","wires":[["8dd3a0d0.b72fe"]]},{"id":"8dd3a0d0.b72fe","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1121.3333129882812,"y":3582.357699394226,"z":"656aafb.8a6395","wires":[["1b999958.1d4637","db6bf02.1b7f81","9dee4850.38f7f8","5aefc0c6.72b57"]]},{"id":"1b999958.1d4637","type":"for","name":"for each vnf network","xml":"<for index='vnf-network-index' start='0'\n  end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n","comments":"","outputs":1,"x":1311.9999313354492,"y":3413.6908388137817,"z":"656aafb.8a6395","wires":[["af319386.d8bea"]]},{"id":"db6bf02.1b7f81","type":"set","name":"set tmp.network-role","xml":"<set>\n<parameter name='tmp.network-role' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].network-role`' />\n","comments":"","x":1313.6665649414062,"y":3372.024193763733,"z":"656aafb.8a6395","wires":[]},{"id":"af319386.d8bea","type":"switchNode","name":"network-roles match?","xml":"<switch test='`$tmp.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","comments":"","outputs":1,"x":1525.3331909179688,"y":3412.0241708755493,"z":"656aafb.8a6395","wires":[["83fc8e4a.66111"]]},{"id":"83fc8e4a.66111","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1705.3334045410156,"y":3410.357829093933,"z":"656aafb.8a6395","wires":[["f89f6fb1.ce177"]]},{"id":"f89f6fb1.ce177","type":"break","name":"break","xml":"<break>\n","comments":"","x":1831.9999160766602,"y":3410.3576650619507,"z":"656aafb.8a6395","wires":[]},{"id":"535bda3e.da5a64","type":"set","name":"set found-address-family to false","xml":"<set>\n<parameter name='found-address-family' value='false' />\n","comments":"","x":1960.3329772949219,"y":3504.023684501648,"z":"656aafb.8a6395","wires":[]},{"id":"c35fd68c.b1f3f8","type":"for","name":"for each vnf address family","xml":"<for silentFailure='true' index='vnf-address-family-index' start='0'\n  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","comments":"","outputs":1,"x":1943.6662292480469,"y":3550.6900272369385,"z":"656aafb.8a6395","wires":[["5f1beee8.dced4"]]},{"id":"9dad225a.a23d2","type":"set","name":"set tmp.address-family to ipv4","xml":"<set>\n<parameter name='tmp.address-family' value='ipv4' />\n","comments":"","x":1953.6664199829102,"y":3459.0239267349243,"z":"656aafb.8a6395","wires":[]},{"id":"5f1beee8.dced4","type":"switchNode","name":"address-families match?","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[$vnf-address-family-index].ip-version`'>\n","comments":"","outputs":1,"x":2190.332908630371,"y":3549.0236053466797,"z":"656aafb.8a6395","wires":[["81938e82.28d5b"]]},{"id":"81938e82.28d5b","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2370.333122253418,"y":3547.3572635650635,"z":"656aafb.8a6395","wires":[["63835f8b.ef06d"]]},{"id":"63835f8b.ef06d","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2500.3328857421875,"y":3547.357021331787,"z":"656aafb.8a6395","wires":[["1b769099.d3d3cf","6af0f6a6.18c998"]]},{"id":"1b769099.d3d3cf","type":"set","name":"set found-address-family to true","xml":"<set>\n<parameter name='found-address-family' value='true' />\n","comments":"","x":2708.66650390625,"y":3517.356855392456,"z":"656aafb.8a6395","wires":[]},{"id":"6af0f6a6.18c998","type":"break","name":"break","xml":"<break>\n","comments":"","x":2626.9996376037598,"y":3565.6905193328857,"z":"656aafb.8a6395","wires":[]},{"id":"f0c850c3.1ce61","type":"switchNode","name":"switch found-address-family","xml":"<switch test='`$found-address-family`'>\n","comments":"","outputs":1,"x":1943.6662826538086,"y":3599.02344417572,"z":"656aafb.8a6395","wires":[["ca5d557e.a14708"]]},{"id":"ca5d557e.a14708","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2128.666290283203,"y":3599.0236825942993,"z":"656aafb.8a6395","wires":[["69400aa4.fada84"]]},{"id":"86734b97.d60128","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=\"`'Cannot find VNF address family '\n      + $tmp.address-family\n      + ' for network role '\n      + $tmp.network-role`\" />\n","comments":"","x":2431.9995460510254,"y":3597.690411567688,"z":"656aafb.8a6395","wires":[]},{"id":"299ccd1c.a70782","type":"set","name":"store ipv4-subnet-id","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.ipv4-subnet-id'\n  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[$vnf-address-family-index].sdnc-subnet-id`' />\n","comments":"","x":1920.3330459594727,"y":3644.356943130493,"z":"656aafb.8a6395","wires":[]},{"id":"9dee4850.38f7f8","type":"switchNode","name":"switch floating-ip-v4_length > 0","xml":"<switch test='`$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 &gt; 0`'>\n","comments":"","outputs":1,"x":1350.0001907348633,"y":3557.0246391296387,"z":"656aafb.8a6395","wires":[["7ae4ebf5.7539e4"]]},{"id":"7ae4ebf5.7539e4","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1570.0000648498535,"y":3558.6911668777466,"z":"656aafb.8a6395","wires":[["159a0743.b26849"]]},{"id":"7266ee36.9fc2e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1979.9999618530273,"y":3205.3578701019287,"z":"656aafb.8a6395","wires":[["b1a77703.c09158","89d10c7.03b9cf","3b7448f8.d9ff38","293030b5.eb0f5","d0c8a716.7b7cf8"]]},{"id":"159a0743.b26849","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1719.9999618530273,"y":3557.0243740081787,"z":"656aafb.8a6395","wires":[["9dad225a.a23d2","299ccd1c.a70782","535bda3e.da5a64","c35fd68c.b1f3f8","f0c850c3.1ce61"]]},{"id":"561a591b.9b4f18","type":"set","name":"set found-address-family to false","xml":"<set>\n<parameter name='found-address-family' value='false' />\n","comments":"","x":1958.3333358764648,"y":3733.6911220550537,"z":"656aafb.8a6395","wires":[]},{"id":"5c5af123.1a7de","type":"for","name":"for each vnf address family","xml":"<for silentFailure='true' index='vnf-address-family-index' start='0'\n  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","comments":"","outputs":1,"x":1941.6665878295898,"y":3780.3574647903442,"z":"656aafb.8a6395","wires":[["88be915b.ce341"]]},{"id":"1a268d2e.ae5ee3","type":"set","name":"set tmp.address-family to ipv6","xml":"<set>\n<parameter name='tmp.address-family' value='ipv6' />\n","comments":"","x":1951.6667785644531,"y":3688.69136428833,"z":"656aafb.8a6395","wires":[]},{"id":"88be915b.ce341","type":"switchNode","name":"address-families match?","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[$vnf-address-family-index].ip-version`'>\n","comments":"","outputs":1,"x":2188.333267211914,"y":3778.6910429000854,"z":"656aafb.8a6395","wires":[["10eb00c5.61646f"]]},{"id":"10eb00c5.61646f","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2368.333480834961,"y":3777.0247011184692,"z":"656aafb.8a6395","wires":[["6480aa39.47ab24"]]},{"id":"6480aa39.47ab24","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2498.3332443237305,"y":3777.024458885193,"z":"656aafb.8a6395","wires":[["c8d1871.7e52978","b1b263f6.757c7"]]},{"id":"c8d1871.7e52978","type":"set","name":"set found-address-family to true","xml":"<set>\n<parameter name='found-address-family' value='true' />\n","comments":"","x":2706.666862487793,"y":3747.024292945862,"z":"656aafb.8a6395","wires":[]},{"id":"b1b263f6.757c7","type":"break","name":"break","xml":"<break>\n","comments":"","x":2624.9999961853027,"y":3795.3579568862915,"z":"656aafb.8a6395","wires":[]},{"id":"55422769.94a368","type":"switchNode","name":"switch found-address-family","xml":"<switch test='`$found-address-family`'>\n","comments":"","outputs":1,"x":1941.6666412353516,"y":3828.690881729126,"z":"656aafb.8a6395","wires":[["a368ce0f.2d2c9"]]},{"id":"a368ce0f.2d2c9","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2126.666648864746,"y":3828.691120147705,"z":"656aafb.8a6395","wires":[["bfa736d9.400938"]]},{"id":"a301e98.5098518","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=\"`'Cannot find VNF address family '\n      + $tmp.address-family\n      + ' for network role '\n      + $tmp.network-role`\" />\n","comments":"","x":2444.999954223633,"y":3827.357901573181,"z":"656aafb.8a6395","wires":[]},{"id":"b8e23b5c.5e7058","type":"set","name":"store ipv6-subnet-id","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.ipv6-subnet-id'\n  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[$vnf-address-family-index].sdnc-subnet-id`' />\n","comments":"","x":1918.3334045410156,"y":3874.024380683899,"z":"656aafb.8a6395","wires":[]},{"id":"5aefc0c6.72b57","type":"switchNode","name":"switch floating-ip-v6_length > 0","xml":"<switch test='`$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 &gt; 0`'>\n","comments":"","outputs":1,"x":1348.000602722168,"y":3788.3587951660156,"z":"656aafb.8a6395","wires":[["18819685.2ef3c9"]]},{"id":"18819685.2ef3c9","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1568.0004234313965,"y":3788.3586044311523,"z":"656aafb.8a6395","wires":[["3f110736.222aa8"]]},{"id":"3f110736.222aa8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1718.0003204345703,"y":3786.6918115615845,"z":"656aafb.8a6395","wires":[["1a268d2e.ae5ee3","b8e23b5c.5e7058","561a591b.9b4f18","5c5af123.1a7de","55422769.94a368"]]},{"id":"cb68aeb2.207c1","type":"save","name":"save vip-ipv6-address-list relationships","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","comments":"","outputs":1,"x":1987.6668167114258,"y":5507.0242831707,"z":"656aafb.8a6395","wires":[["765444d8.0caaac","a0f773e5.64822"]]},{"id":"78341ff5.2c4ba","type":"call","name":"call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback","xml":"<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n","comments":"","outputs":1,"x":1218.6667251586914,"y":4158.69089025259,"z":"656aafb.8a6395","wires":[[]]},{"id":"6dd31c8a.306554","type":"call","name":"call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback","xml":"<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n","comments":"","outputs":1,"x":1966.6666946411133,"y":4275.02439725399,"z":"656aafb.8a6395","wires":[[]]},{"id":"b9195698.e1ca38","type":"call","name":"call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback","xml":"<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n","comments":"","outputs":1,"x":2088.6667251586914,"y":4947.024355828762,"z":"656aafb.8a6395","wires":[[]]},{"id":"15f1245b.88e65c","type":"call","name":"call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback","xml":"<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n","comments":"","outputs":1,"x":3112.6667251586914,"y":5101.024355828762,"z":"656aafb.8a6395","wires":[[]]},{"id":"a3fa30dc.ae097","type":"call","name":"call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback","xml":"<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n","comments":"","outputs":1,"x":4078.6667251586914,"y":4507.024355828762,"z":"656aafb.8a6395","wires":[[]]},{"id":"5e637da9.e8c6f4","type":"set","name":"set created_flag","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","comments":"","x":1258.6667251586914,"y":4361.024355828762,"z":"656aafb.8a6395","wires":[]},{"id":"f58bd68b.96d2d8","type":"set","name":"set created-flag","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","comments":"","x":1292.6667251586914,"y":5079.024355828762,"z":"656aafb.8a6395","wires":[]},{"id":"e39d949a.8de478","type":"set","name":"set created-ipv4-flag","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","comments":"","x":1765.666690826416,"y":5207.024435698986,"z":"656aafb.8a6395","wires":[]},{"id":"26b0e418.f619fc","type":"set","name":"set created-ipv6-flag","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","comments":"","x":1767.666690826416,"y":5443.024435698986,"z":"656aafb.8a6395","wires":[]},{"id":"f5b7c328.fea4e","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1458.6666946411133,"y":4336.024291932583,"z":"656aafb.8a6395","wires":[["9256f0a5.e0827"]]},{"id":"f2c3fa39.f42268","type":"call","name":"call GENERIC-RESOURCE-API:vf-module-topology-vlan-tagging-assign","xml":"<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-vlan-tagging-assign' mode='sync' >\n","comments":"","outputs":1,"x":685.6665420532227,"y":5704.357654511929,"z":"656aafb.8a6395","wires":[["71fbe8c7.acb798"]]},{"id":"71fbe8c7.acb798","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1029.99995803833,"y":5703.691149652004,"z":"656aafb.8a6395","wires":[["cdb7e69d.10a6f8"]]},{"id":"cdb7e69d.10a6f8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1184.9998321533203,"y":5703.6909455657005,"z":"656aafb.8a6395","wires":[["32eeeb9b.d1bbb4","8d1d7626.5fce58","e19306eb.5c38b8"]]},{"id":"32eeeb9b.d1bbb4","type":"call","name":"call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback","xml":"<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n","comments":"","outputs":1,"x":1529.9997634887695,"y":5652.024806916714,"z":"656aafb.8a6395","wires":[[]]},{"id":"8d1d7626.5fce58","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1356.6665573120117,"y":5747.024484574795,"z":"656aafb.8a6395","wires":[]},{"id":"723699b0.0c1668","type":"call","name":"call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback","xml":"<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n","comments":"","outputs":1,"x":2933.333297729492,"y":2838.6909141540527,"z":"656aafb.8a6395","wires":[[]]},{"id":"1a02e5e2.37764a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1869.9999389648438,"y":3005.357699394226,"z":"656aafb.8a6395","wires":[["ffec08a5.88c838","723699b0.0c1668"]]},{"id":"35168b08.f767a4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2498.3331718444824,"y":3243.6911191940308,"z":"656aafb.8a6395","wires":[["a7c172c7.b1211","723699b0.0c1668"]]},{"id":"69400aa4.fada84","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2271.6666870117188,"y":3598.690951347351,"z":"656aafb.8a6395","wires":[["86734b97.d60128","723699b0.0c1668"]]},{"id":"bfa736d9.400938","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2274.9999389648438,"y":3828.690951347351,"z":"656aafb.8a6395","wires":[["a301e98.5098518","723699b0.0c1668"]]},{"id":"e19306eb.5c38b8","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vlantaggingfailure.log' />\n","comments":"","outputs":1,"x":1356.6664581298828,"y":5700.3574494719505,"z":"656aafb.8a6395","wires":[[]]},{"id":"65acec70.9c56c4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":220.8928680419922,"y":508.5714416503906,"z":"656aafb.8a6395","wires":[["c622ee1f.60898","6fb1dec4.0529f","62441125.66a0b","e2b3c75a.fbe358","488e702.2bac09","a941c95a.005118","680a67ac.f6fd08","c61bcc80.d7888"]]},{"id":"62f0c3ca.57e7dc","type":"switchNode","name":"switch: param[].name","xml":"<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$p].name`\">\n","comments":"","outputs":1,"x":1114.4643325805664,"y":862.6906051635742,"z":"656aafb.8a6395","wires":[["61bc2ca2.ad18a4","2b6eed19.318972"]]},{"id":"aa0fa7ab.8025e8","type":"for","name":"for p in vf-module-input-parameters.param[]","xml":"<for silentFailure='true' index='p' start='0' end='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`' >\n","comments":"","outputs":1,"x":820.5714797973633,"y":863.190637588501,"z":"656aafb.8a6395","wires":[["62f0c3ca.57e7dc"]]},{"id":"150dc5a2.bf963a","type":"set","name":"set tmp.exist.vf_module_label = true","xml":"<set>\n<parameter name='tmp.exist.vf_module_label' value='true' />","comments":"","x":1656.3572616577148,"y":911.5477752685547,"z":"656aafb.8a6395","wires":[]},{"id":"a6cc427b.66186","type":"set","name":"set tmp.exist.sdnc-model-name = true","xml":"<set>\n<parameter name='tmp.exist.sdnc-model-name' value='true' />\n","comments":"","x":1659.0713691711426,"y":862.5477905273438,"z":"656aafb.8a6395","wires":[]},{"id":"680a67ac.f6fd08","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":499.8810043334961,"y":757.5001182556152,"z":"656aafb.8a6395","wires":[["aa0fa7ab.8025e8","aaa89921.844e38","49f206e1.beafa8"]]},{"id":"64580434.533b0c","type":"comment","name":"SELF-SERVE FORK","info":"","comments":"","x":484.1666946411133,"y":896.309648513794,"z":"656aafb.8a6395","wires":[]},{"id":"61bc2ca2.ad18a4","type":"outcome","name":"sdnc_model_name","xml":"<outcome value='sdnc_model_name'>\n","comments":"","outputs":1,"x":1370.6429083687917,"y":862.5953995840889,"z":"656aafb.8a6395","wires":[["a6cc427b.66186"]]},{"id":"2b6eed19.318972","type":"outcome","name":"vf_module_label","xml":"<outcome value='vf_module_label'>\n","comments":"","outputs":1,"x":1373.5000305175781,"y":912.0239715576172,"z":"656aafb.8a6395","wires":[["150dc5a2.bf963a"]]},{"id":"df5aea18.782d88","type":"switchNode","name":"switch from-preload","xml":"<switch test='`$from-preload`'>\n","comments":"","outputs":1,"x":543.5714416503906,"y":4080.8338327407837,"z":"656aafb.8a6395","wires":[["9e3a4c7.20f7cb","3eb1842b.07b66c"]]},{"id":"9e3a4c7.20f7cb","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":715.4761734008789,"y":4058.214853286743,"z":"656aafb.8a6395","wires":[["23f55617.a6809a"]]},{"id":"3eb1842b.07b66c","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":717.1428260803223,"y":4103.214692115784,"z":"656aafb.8a6395","wires":[["44b086bf.0581a8"]]},{"id":"23f55617.a6809a","type":"set","name":"set automated-assignment to true","xml":"<set>\n<parameter name='automated-assignment' value='true' />\n","comments":"","x":930.4761581420898,"y":4056.5480241775513,"z":"656aafb.8a6395","wires":[]},{"id":"44b086bf.0581a8","type":"set","name":"set automated-assignment to false","xml":"<set>\n<parameter name='automated-assignment' value='false' />\n","comments":"","x":928.8094787597656,"y":4101.547944068909,"z":"656aafb.8a6395","wires":[]},{"id":"cca1b8aa.7bfbf8","type":"switchNode","name":"subnet-roles match?","xml":"<switch test='`$tmp.subnet-role\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[$vnf-address-family-index].subnet-role`'>\n","comments":"","outputs":1,"x":2792.1427154541016,"y":3197.214653968811,"z":"656aafb.8a6395","wires":[["2548701.3a0df9"]]},{"id":"2548701.3a0df9","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2958.809356689453,"y":3195.8811960220337,"z":"656aafb.8a6395","wires":[["ee552abf.ebd808"]]},{"id":"dfd45ccd.c4422","type":"get-resource","name":"get VF_MODEL.sdnc_model_name","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT sdnc_model_name from VF_MODEL \n  \tWHERE customization_uuid = $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.onap-model-information.model-customization-uuid \n  \tAND sdnc_model_name is not null'\n  pfx='db.vf-model-name'>\n\n","comments":"","outputs":1,"x":1287.5953979492188,"y":1306.6665954589844,"z":"656aafb.8a6395","wires":[["fd95d92.7e94c28","26b9ca0e.2c89c6","823653d0.65ac9"]]},{"id":"fd95d92.7e94c28","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1537.952522277832,"y":1217.0475358963013,"z":"656aafb.8a6395","wires":[["8fba96ee.8fee48"]]},{"id":"26b9ca0e.2c89c6","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1543.6667709350586,"y":1404.190447807312,"z":"656aafb.8a6395","wires":[["349a24c6.0478dc"]]},{"id":"8fba96ee.8fee48","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_MODEL table\" />\n","comments":"","x":1718.9525032043457,"y":1217.1904430389404,"z":"656aafb.8a6395","wires":[]},{"id":"89c4448.1656bb8","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1039.440788269043,"y":1306.8568725585938,"z":"656aafb.8a6395","wires":[["dfd45ccd.c4422"]]},{"id":"5ca1b441.87f4cc","type":"call","name":"call self-serve-vf-module-assign","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-assign' mode='sync' >\n","comments":"","outputs":1,"x":2360.6305236816406,"y":946.6550559997559,"z":"656aafb.8a6395","wires":[["f1df99cb.fe0ae8"]]},{"id":"e3880e9a.6b928","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=\"`'Failed to create self-serve assignment for vf-module with vf-module-id=' + $vf-module-topology-operation-input.vf-module-information.vf-module-id`\" />\n","comments":"","x":2744.7019004821777,"y":946.6550064086914,"z":"656aafb.8a6395","wires":[]},{"id":"c61bcc80.d7888","type":"switchNode","name":"switch: tmp.exist.sdnc-model-name && tmp.exist.vf_module_label == true","xml":"<switch test=\"`$tmp.exist.sdnc-model-name == 'true' and $tmp.exist.vf_module_label == 'true'`\">\n","comments":"","outputs":1,"x":676.9404449462891,"y":1020.2619457244873,"z":"656aafb.8a6395","wires":[["89c4448.1656bb8","e054a7ea.0bc638"]]},{"id":"e054a7ea.0bc638","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1043.5478515625,"y":947.6190376281738,"z":"656aafb.8a6395","wires":[["3cc0bc38.f6e114"]]},{"id":"f1df99cb.fe0ae8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2580.9281044006348,"y":946.143087387085,"z":"656aafb.8a6395","wires":[["e3880e9a.6b928"]]},{"id":"621aeca7.9d6ba4","type":"get-resource","name":"get VF_MODULE_MODEL.vf-module-label","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT vf_module_label from VF_MODULE_MODEL \n  \tWHERE vf_customization_uuid = $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid\n  \tAND vf_module_label is not null '\n  pfx='db.vf-module-label'>\n\n","comments":"","outputs":1,"x":1815.8335647583008,"y":1306.9048557281494,"z":"656aafb.8a6395","wires":[["defe2da.a8aefd","184bb121.e6155f","4cfef7ff.e18338"]]},{"id":"defe2da.a8aefd","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2091.190788269043,"y":1306.9999866485596,"z":"656aafb.8a6395","wires":[["e88f142c.6a2668"]]},{"id":"184bb121.e6155f","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2101.7621459960938,"y":1354.7142524719238,"z":"656aafb.8a6395","wires":[["349a24c6.0478dc"]]},{"id":"e88f142c.6a2668","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":2265.333297729492,"y":1307.5714321136475,"z":"656aafb.8a6395","wires":[]},{"id":"349a24c6.0478dc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2275.167350769043,"y":1403.761962890625,"z":"656aafb.8a6395","wires":[["110bcecd.ba7661"]]},{"id":"4cfef7ff.e18338","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2095.5478591918945,"y":1257.9049110412598,"z":"656aafb.8a6395","wires":[["3cc0bc38.f6e114"]]},{"id":"823653d0.65ac9","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1541.6072845458984,"y":1306.666660308838,"z":"656aafb.8a6395","wires":[["621aeca7.9d6ba4"]]},{"id":"aaa89921.844e38","type":"set","name":"initialize tmp.exist.sdnc-model-name && tmp.exist.vf_module_label = false","xml":"<set>\n<parameter name='tmp.exist.sdnc-model-name' value='false' />\n<parameter name='tmp.exist.vf_module_label' value='false' />\n","comments":"","x":912.4643096923828,"y":757.7737798690796,"z":"656aafb.8a6395","wires":[]},{"id":"9d399f15.80c96","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":2307.499767303467,"y":1096.4999752044678,"z":"656aafb.8a6395","wires":[]},{"id":"e82c3ee8.852e5","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vnfend.log' />\n","comments":"","outputs":1,"x":2299.5473098754883,"y":1050.9915189743042,"z":"656aafb.8a6395","wires":[[]]},{"id":"c5cea72e.a0e218","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":2370.2378273010254,"y":999.95241355896,"z":"656aafb.8a6395","wires":[]},{"id":"3cc0bc38.f6e114","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2081.3332557678223,"y":946.3332176208496,"z":"656aafb.8a6395","wires":[["5ca1b441.87f4cc","c5cea72e.a0e218","e82c3ee8.852e5","9d399f15.80c96"]]},{"id":"a070538.5dbd6b","type":"for","name":"for each vnfc","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","comments":"","outputs":1,"x":1743.0951919555664,"y":5508.571428060532,"z":"656aafb.8a6395","wires":[["cb68aeb2.207c1"]]},{"id":"49f206e1.beafa8","type":"switchNode","name":"switch: vf-module-input-parameters.param_length","xml":"<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`\">\n","comments":"","outputs":1,"x":840.3214874267578,"y":806.2500638961792,"z":"656aafb.8a6395","wires":[["9757e46f.a990d8"]]},{"id":"9757e46f.a990d8","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":1103.8929061889648,"y":806.5358037948608,"z":"656aafb.8a6395","wires":[["4b5c3601.c8dfa8"]]},{"id":"4b5c3601.c8dfa8","type":"set","name":"set vf-module-input-parameters.param_length = 0","xml":"<set>\n<parameter name='vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length' value='0' />\n","comments":"","x":1377.6071472167969,"y":806.3929653167725,"z":"656aafb.8a6395","wires":[]},{"id":"3fd43ef9.658b62","type":"switchNode","name":"switch vf-module-name","xml":"<switch test='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`'>\n","comments":"","outputs":1,"x":538.5714263916016,"y":1565.7143383026123,"z":"656aafb.8a6395","wires":[["281f6295.d9b7ee"]]},{"id":"281f6295.d9b7ee","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":764.5714263916016,"y":1565.7143211364746,"z":"656aafb.8a6395","wires":[["82f1413d.5dc9d"]]},{"id":"82f1413d.5dc9d","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-information.vf-module-request-input.vf-module-name is a required input\" />\n","comments":"","x":915.9999923706055,"y":1565.714319229126,"z":"656aafb.8a6395","wires":[]},{"id":"cb63cf1e.5203","type":"comment","name":"MOVED vf-module-name validation from validate-vf-module-input","info":"","comments":"","x":538.5713958740234,"y":1531.428554534912,"z":"656aafb.8a6395","wires":[]}]
\ No newline at end of file
+[\r
+    {\r
+        "id": "b9191fa3.7ca61",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 156.2630157470703,\r
+        "y": 88.76301574707031,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "dd8ef904.2a0718"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd8ef904.2a0718",\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": 270.1201515197754,\r
+        "y": 128.57255363464355,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "79e996c5.93c4a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "79e996c5.93c4a8",\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": 269.69164276123047,\r
+        "y": 168.7630157470703,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "fb67aa4b.8284f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f89d4b47.20f5c8",\r
+        "type": "comment",\r
+        "name": "vf-module-topology-operation-assign",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 561.584114074707,\r
+        "y": 31.738715171813965,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5d7e2c45.4ebe34",\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": 562.7035369873047,\r
+        "y": 365.53680992126465,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d3c6b720.c14d58",\r
+                "9bb35c39.b1fef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3c6b720.c14d58",\r
+        "type": "outcome",\r
+        "name": "CreateVfModuleInstance",\r
+        "xml": "<outcome value='CreateVfModuleInstance'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 833.5011749267578,\r
+        "y": 333.92968559265137,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "a73a78b9.a830b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9bb35c39.b1fef",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 768.417797088623,\r
+        "y": 398.06068897247314,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "3e5eb577.046eda"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a73a78b9.a830b8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1023.3583393096924,\r
+        "y": 333.9297170639038,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "48e25fc2.52f7",\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": 610.0368041992188,\r
+        "y": 466.6797637939453,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "c0e16531.bf13d8",\r
+                "3ed7b745.5102d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c0e16531.bf13d8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 875.8224945068359,\r
+        "y": 447.0605945587158,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "2172bacb.fd1c86"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3ed7b745.5102d8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 884.3939247131348,\r
+        "y": 491.3463077545166,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "c639de59.ae251"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d5245b6.abb4e8",\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": 603.8820571899414,\r
+        "y": 644.0011234283447,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "128f7183.82d7ae",\r
+                "6a25eddf.15bb44"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "128f7183.82d7ae",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 844.5963287353516,\r
+        "y": 620.1438636779785,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "dbfaf511.5478b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a25eddf.15bb44",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 844.3581695556641,\r
+        "y": 662.0963821411133,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "7ef59497.ea72ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "94a28d82.4f01d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 182.45345306396484,\r
+        "y": 3125.668021798134,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1c68463e.c02a4a",\r
+                "135adbdd.c9ef24",\r
+                "86ef2c44.55f05",\r
+                "e4caf1eb.a8b9f",\r
+                "7c9996aa.a5c0f8",\r
+                "e1558384.bfa8e",\r
+                "b08a4dbf.cf985",\r
+                "f888462e.a53c78",\r
+                "7293e3b2.a19a7c",\r
+                "2a3992a0.134e1e",\r
+                "2162f1f4.5f96fe",\r
+                "ff74ebeb.c5ffd8",\r
+                "489025cd.dbd3ac",\r
+                "59bf9724.469638",\r
+                "474227b8.b83ae8",\r
+                "1d003263.e8205e",\r
+                "75a8181a.0cae18",\r
+                "35a859e5.3e7c46",\r
+                "24109bc2.4c9eb4",\r
+                "c7aef34d.6997b",\r
+                "7ffbcb4d.5fb274",\r
+                "779079fc.7d1618",\r
+                "494a4418.4600ec",\r
+                "88b43b76.6a75d8",\r
+                "bb67c127.33c7c",\r
+                "67fa2696.640ed8",\r
+                "fcaf9b9.f1d4568",\r
+                "9926c7ad.248aa8",\r
+                "7b6a70b.67d389",\r
+                "42e09bf7.400e44",\r
+                "d9542f83.7d0bb",\r
+                "e283e90a.9eb6c8",\r
+                "50d368a6.9adce8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ef59497.ea72ec",\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": 1006.5963134765625,\r
+        "y": 661.7630004882812,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "988df689.061cb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "988df689.061cb8",\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": 1257.9296112060547,\r
+        "y": 661.4297285079956,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "c657ad4a.55c47"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c657ad4a.55c47",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1487.9296226501465,\r
+        "y": 660.7630414962769,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "ae39954d.b28168"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9974cb16.902fe8",\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": 552.9296798706055,\r
+        "y": 575.4296226501465,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "57723ef9.ea31c",\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": 1809.5962600708008,\r
+        "y": 631.7629995346069,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "540a131f.3d7bec",\r
+        "type": "switchNode",\r
+        "name": "switch vnf-index",\r
+        "xml": "<switch test='`$vnf-index`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 541.6797027587891,\r
+        "y": 727.5963125228882,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "ca6ccba1.61a798"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca6ccba1.61a798",\r
+        "type": "outcome",\r
+        "name": "-1",\r
+        "xml": "<outcome value='-1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 720.0130882263184,\r
+        "y": 726.9296884536743,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "792ace51.b15ed"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1c68463e.c02a4a",\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": 559.5964088439941,\r
+        "y": 1342.0965156555176,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "7203a6bd.008058",\r
+                "1ce0b519.1ca75b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7203a6bd.008058",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 816.9773635864258,\r
+        "y": 1309.2392892837524,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1d2df677.49743a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d2df677.49743a",\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": 1004.5964012145996,\r
+        "y": 1309.9060640335083,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1ce0b519.1ca75b",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 817.4059066772461,\r
+        "y": 1373.5251474380493,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "7b5c967b.5645e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d0e8775.38d2b8",\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": 1202.5964469909668,\r
+        "y": 1353.715542793274,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f4745546.3c76c8",\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": 1161.6915397644043,\r
+        "y": 1397.810772895813,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "38be826c.5042de"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b5c967b.5645e8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 954.1201858520508,\r
+        "y": 1373.5250730514526,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "3d0e8775.38d2b8",\r
+                "f4745546.3c76c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38be826c.5042de",\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": 1665.3106422424316,\r
+        "y": 1397.3821840286255,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "5b65413c.247c9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5b65413c.247c9",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2107.9296913146973,\r
+        "y": 1396.9536352157593,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "cdf91b0.174e5e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2eae9b0c.edb3d4",\r
+        "type": "comment",\r
+        "name": "make sure this VF module doesn't exist already",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1691.7629890441895,\r
+        "y": 1352.0096759796143,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "135adbdd.c9ef24",\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": 570.2629890441895,\r
+        "y": 1453.0963706970215,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "86ef2c44.55f05",\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": 576.7630081176758,\r
+        "y": 1565.596477508545,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "77cfe613.fc65c8",\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": 1337.7152671813965,\r
+        "y": 1724.8344039916992,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e4caf1eb.a8b9f",\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": 536.7629280090332,\r
+        "y": 1838.7867441177368,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "81ee85e4.dedbf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "81ee85e4.dedbf8",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 682.0486183166504,\r
+        "y": 1838.7868127822876,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "ec2aeced.650af"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c9996aa.a5c0f8",\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": 575.6201438903809,\r
+        "y": 1638.9300155639648,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "6f3a4d5a.8ebfd4",\r
+                "9660a46b.1c9ce8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9660a46b.1c9ce8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 789.8663368225098,\r
+        "y": 1657.0808715820312,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "7adbe623.7575f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f3a4d5a.8ebfd4",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 798.7949333190918,\r
+        "y": 1614.3666048049927,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "799eaa32.6fe824"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae39954d.b28168",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1636.263084411621,\r
+        "y": 659.6827402114868,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "57723ef9.ea31c",\r
+                "c07cd07d.0c75a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c07cd07d.0c75a",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 1771.2630500793457,\r
+        "y": 681.349326133728,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "952256ff.21f9a8",\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": 951.0962677001953,\r
+        "y": 1880.1827373504639,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e1558384.bfa8e",\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": 594.9533424377441,\r
+        "y": 1903.0071811676025,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "cd2324fc.034808",\r
+                "38df22f.16dd4de"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cd2324fc.034808",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 800.6200141906738,\r
+        "y": 1880.1501445770264,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "952256ff.21f9a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38df22f.16dd4de",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 802.0486106872559,\r
+        "y": 1924.4357357025146,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "cb5b92dd.63cc2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb5b92dd.63cc2",\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": 956.3343467712402,\r
+        "y": 1923.8643078804016,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9d20a066.9a052",\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": 952.0485382080078,\r
+        "y": 1968.7214136123657,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b08a4dbf.cf985",\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": 567.5723609924316,\r
+        "y": 1991.5459184646606,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "c7ed7b53.7dd0f8",\r
+                "778bc2b7.d82bbc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c7ed7b53.7dd0f8",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 801.5723342895508,\r
+        "y": 1968.688850402832,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9d20a066.9a052"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "778bc2b7.d82bbc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 803.0009307861328,\r
+        "y": 2012.9744415283203,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f7d52f4a.cdff6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7d52f4a.cdff6",\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": 957.2866668701172,\r
+        "y": 2012.4030137062073,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dac6c331.68c42",\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": 949.1914710998535,\r
+        "y": 2057.5786209106445,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f888462e.a53c78",\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": 575.7152328491211,\r
+        "y": 2080.4030656814575,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9c31df03.57fb6",\r
+                "9f5a3e1a.3ae01"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c31df03.57fb6",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 798.715217590332,\r
+        "y": 2057.546028137207,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "dac6c331.68c42"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f5a3e1a.3ae01",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 800.1438140869141,\r
+        "y": 2101.8316192626953,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "886a096e.cd9ed8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "886a096e.cd9ed8",\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": 954.4295501708984,\r
+        "y": 2101.2601914405823,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f162ec13.2ea9e",\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": 949.1914710998535,\r
+        "y": 2144.7214431762695,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7293e3b2.a19a7c",\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": 570.7152328491211,\r
+        "y": 2167.5458879470825,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "fec48afa.f578f8",\r
+                "84aba209.b7386"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fec48afa.f578f8",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 798.715217590332,\r
+        "y": 2144.688850402832,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f162ec13.2ea9e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84aba209.b7386",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 800.1438140869141,\r
+        "y": 2188.9744415283203,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "fef7c2e3.5fc15"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fef7c2e3.5fc15",\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": 954.4295501708984,\r
+        "y": 2188.4030137062073,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2a3992a0.134e1e",\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": 585.1675682067871,\r
+        "y": 2240.054877281189,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2162f1f4.5f96fe",\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": 538.3582153320312,\r
+        "y": 1508.7780532836914,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ff74ebeb.c5ffd8",\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": 597.8739585876465,\r
+        "y": 1727.4366989135742,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "6dfb70e4.99bce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6dfb70e4.99bce",\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": 845.5525016784668,\r
+        "y": 1727.1866283416748,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "8d3e1649.827698"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d3e1649.827698",\r
+        "type": "outcome",\r
+        "name": "complex",\r
+        "xml": "<outcome value='complex'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1015.0168228149414,\r
+        "y": 1726.5794506072998,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "89cc33ca.87336"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7308857.ab0638",\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": 1355.1119804382324,\r
+        "y": 1681.0080261230469,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "89cc33ca.87336",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1174.7786827087402,\r
+        "y": 1727.6748142242432,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f7308857.ab0638",\r
+                "f22bbebf.cf96a",\r
+                "77cfe613.fc65c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f22bbebf.cf96a",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 1324.7786445617676,\r
+        "y": 1771.008111000061,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f4d050b1.8b4c3",\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": 575.3106384277344,\r
+        "y": 198.28682327270508,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "24109bc2.4c9eb4",\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": 480.52525329589844,\r
+        "y": 7336.643012046814,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c7aef34d.6997b",\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": 421.52514266967773,\r
+        "y": 7741.690473556519,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "35a859e5.3e7c46",\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": 436.38226318359375,\r
+        "y": 7192.991468846798,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "75a8181a.0cae18",\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": 481.26326751708984,\r
+        "y": 7144.776980817318,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "59bf9724.469638",\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": 500.4059944152832,\r
+        "y": 4346.778634667397,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d74196bc.6b97c8",\r
+                "6e6f18d0.9bdfe8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d74196bc.6b97c8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 675.4776344299316,\r
+        "y": 4315.159256577492,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "7f9d44fc.3db7bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e6f18d0.9bdfe8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 684.0490074157715,\r
+        "y": 4383.778346598148,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "94bb0c2d.81fb6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "489025cd.dbd3ac",\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": 524.0728034973145,\r
+        "y": 4222.302863717079,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fb74751e.022f18",\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": 1294.096549987793,\r
+        "y": 5904.931029081345,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "6418f89e.efde28",\r
+                "3c5f7fe1.c5c95"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6418f89e.efde28",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1513.9298934936523,\r
+        "y": 5875.802773237228,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "b4477865.f6c3d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3c5f7fe1.c5c95",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1522.5014266967773,\r
+        "y": 5928.421917676926,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "a8844fc9.d802f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "474227b8.b83ae8",\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": 473.7632751464844,\r
+        "y": 5670.264581918716,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "3890cbf7.238894"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "28b6a2fd.61312e",\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": 870.7632865905762,\r
+        "y": 6088.93141412735,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "4bd4ba04.8daa14"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d003263.e8205e",\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": 448.19181060791016,\r
+        "y": 7037.310637414455,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "c9fac662.7812b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9fac662.7812b8",\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": 643.1918411254883,\r
+        "y": 7036.643645226955,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "207acffa.3abd1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "138fc2c6.5fd4fd",\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": 1034.858543395996,\r
+        "y": 7059.311295449734,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "ad9e155d.1028f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "71743690.584d78",\r
+        "type": "comment",\r
+        "name": "Not a failure",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1554.8584442138672,\r
+        "y": 7059.311300218105,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ad9e155d.1028f8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1244.858528137207,\r
+        "y": 7059.311445176601,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "2b130462.23f28c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b130462.23f28c",\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": 1388.1919708251953,\r
+        "y": 7059.311283051968,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "da21eac5.eb6e48",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1418.1920928955078,\r
+        "y": 7010.64299672842,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "4475a7ad.750578"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "248ddcf1.40e1a4",\r
+        "type": "comment",\r
+        "name": "Not a failure",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1741.525146484375,\r
+        "y": 7008.9768189787865,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4475a7ad.750578",\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": 1564.1920280456543,\r
+        "y": 7010.643629968166,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "207acffa.3abd1",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 811.5252342224121,\r
+        "y": 7035.643489778042,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "23b5f46a.84a14c",\r
+                "138fc2c6.5fd4fd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "23b5f46a.84a14c",\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": 1124.8585586547852,\r
+        "y": 7010.977629601955,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "da21eac5.eb6e48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7f9d44fc.3db7bc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 833.7632026672363,\r
+        "y": 4314.9299274683,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "18d43b0c.816ff5",\r
+                "1254304a.7d8a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "94bb0c2d.81fb6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 834.7631187438965,\r
+        "y": 4381.596217691898,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d3b91e2a.6658a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4477865.f6c3d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1682.4298973083496,\r
+        "y": 5875.597042798996,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "a1d9fe5d.0f695",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8844fc9.d802f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1677.4298973083496,\r
+        "y": 5928.596885442734,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "e64793d7.bf627",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "755e8713.bcc1c8",\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": 1043.3463745117188,\r
+        "y": 2452.429780960083,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "68e62acd.729e34",\r
+                "a47c9360.b9478"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "68e62acd.729e34",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1311.6796073913574,\r
+        "y": 2410.763111114502,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "7b583f75.7c5be"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a47c9360.b9478",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1310.0129623413086,\r
+        "y": 2485.7632598876953,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "acc728a8.eedfa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b583f75.7c5be",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1468.346363067627,\r
+        "y": 2409.0965490341187,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "cec2f13d.67a37"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "acc728a8.eedfa8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1465.0129699707031,\r
+        "y": 2485.763101577759,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "3983f41d.db452c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cec2f13d.67a37",\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": 1696.6796646118164,\r
+        "y": 2409.0965900421143,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "e8950979.22bb18",\r
+                "b6c25b1e.892808"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e8950979.22bb18",\r
+        "type": "outcome",\r
+        "name": "404 (not found)",\r
+        "xml": "<outcome value='404'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1979.5963668823242,\r
+        "y": 2363.6796340942383,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1c4c53fe.44b0dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1c4c53fe.44b0dc",\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": 2382.512939453125,\r
+        "y": 2277.013102531433,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "cc34b72d.383738"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc34b72d.383738",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2771.2629013061523,\r
+        "y": 2277.846981048584,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "c1b24090.d49b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6c25b1e.892808",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1945.8463287353516,\r
+        "y": 2427.8464183807373,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d759206d.14388"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3983f41d.db452c",\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": 1828.3462600708008,\r
+        "y": 2487.429849624634,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "90d09a92.2d1cc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90d09a92.2d1cc8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2184.0131225585938,\r
+        "y": 2485.7634677886963,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "76721fa9.6f7a7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3890cbf7.238894",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 664.2633438110352,\r
+        "y": 5671.097816705704,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "28b6a2fd.61312e",\r
+                "eeca3ef7.08f31"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eeca3ef7.08f31",\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": 915.2633934020996,\r
+        "y": 4875.763907909393,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "59778d60.c86b24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9b23e63c.8ba5d8",\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": 1641.2634620666504,\r
+        "y": 4684.097838401794,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "8c17d99f.3ce5f8",\r
+                "b50cee13.b9a08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "59778d60.c86b24",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1083.596694946289,\r
+        "y": 4876.430735111237,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "2ee1ddb7.3ce5a2",\r
+                "63a7631.9e7f99c",\r
+                "e77ee371.ca79f",\r
+                "a45139cd.c06788",\r
+                "d5639dcc.50d87",\r
+                "3291e6ae.85f8ba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8c17d99f.3ce5f8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1832.263500213623,\r
+        "y": 4636.431172370911,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "fc84df82.5bc09"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fc84df82.5bc09",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1997.4301872253418,\r
+        "y": 4650.5590056777,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "30bee8c0.434ad8",\r
+                "1254304a.7d8a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e77ee371.ca79f",\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": 1308.1679801940918,\r
+        "y": 4784.717070102692,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "b41f1fa4.6a16e",\r
+                "c5bf9d82.77072"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "36f8149b.0100dc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1640.0011711120605,\r
+        "y": 4758.034694194794,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "17b97fa6.0b332",\r
+                "1254304a.7d8a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "138ca4b2.cb534b",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1640.0012474060059,\r
+        "y": 4811.034452915192,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "43b53fc.f18d2c",\r
+                "1254304a.7d8a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b41f1fa4.6a16e",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1483.168056488037,\r
+        "y": 4758.050364017487,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "36f8149b.0100dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c5bf9d82.77072",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1491.739589691162,\r
+        "y": 4810.669508457184,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "138ca4b2.cb534b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ee1ddb7.3ce5a2",\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": 1305.644100189209,\r
+        "y": 5201.573478221893,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "52bb6b86.aae8d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ffbcb4d.5fb274",\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": 526.2630043029785,\r
+        "y": 2509.4773001670837,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3ff39820.94ba88",\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": 1761.59663772583,\r
+        "y": 5164.763911724091,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "bae62f0f.f599"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bae62f0f.f599",\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": 2028.9299812316895,\r
+        "y": 5163.764400005341,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "83b71d8.34202e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9893ef44.5c929",\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": 2460.9295921325684,\r
+        "y": 5230.430099487305,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "4955053a.cc8cec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83b71d8.34202e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2239.9297523498535,\r
+        "y": 5163.76385641098,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "bd1ac39a.c86f3",\r
+                "9893ef44.5c929"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd1ac39a.c86f3",\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": 2459.9300804138184,\r
+        "y": 5083.763753890991,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4955053a.cc8cec",\r
+        "type": "switchNode",\r
+        "name": "switch address family",\r
+        "xml": "<switch test='`$tmp.address-family`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2699.9296836853027,\r
+        "y": 5228.763921737671,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "df6d826a.602a2",\r
+                "b4544053.188e9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df6d826a.602a2",\r
+        "type": "outcome",\r
+        "name": "ipv4",\r
+        "xml": "<outcome value='ipv4'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2897.0726890563965,\r
+        "y": 5132.335182189941,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "78841d68.5129e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4544053.188e9",\r
+        "type": "outcome",\r
+        "name": "ipv6",\r
+        "xml": "<outcome value='ipv6'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2894.6917610168457,\r
+        "y": 5312.097213745117,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "133e1aca.140a05"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "82d4dce2.8069",\r
+        "type": "comment",\r
+        "name": "Fixed IPs",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1778.5966529846191,\r
+        "y": 5126.431288719177,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ae224e40.c6874",\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": 3340.405818939209,\r
+        "y": 5080.668262163799,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "929637d6.457068"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78841d68.5129e4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3047.0726890563965,\r
+        "y": 5132.335100809734,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "ae224e40.c6874",\r
+                "8bea43e3.8116"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "36922023.99beb",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3753.905693054199,\r
+        "y": 5080.65275446574,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "cc682bd5.2eb5c8",\r
+                "11d81f8a.7859d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "929637d6.457068",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3597.072578430176,\r
+        "y": 5080.668424288433,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "36922023.99beb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8bea43e3.8116",\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": 3335.406063079834,\r
+        "y": 5179.00168100993,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "2e1bef20.bf0fd",\r
+                "5d3ca55b.b0a96c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa9b6876.841938",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3755.5723152160645,\r
+        "y": 5150.652725855511,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1499e507.42f6db",\r
+                "11d81f8a.7859d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "670834a7.3d263c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3755.5723915100098,\r
+        "y": 5203.652484575909,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "dac8db15.74e098",\r
+                "11d81f8a.7859d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e1bef20.bf0fd",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3598.739200592041,\r
+        "y": 5150.6683956782035,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "aa9b6876.841938"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d3ca55b.b0a96c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3607.310733795166,\r
+        "y": 5203.287540117901,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "670834a7.3d263c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5cbef76.ec89e",\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": 3339.2155570983887,\r
+        "y": 5259.716318130493,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f2553d5e.abe0f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "133e1aca.140a05",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3045.882427215576,\r
+        "y": 5311.383156776428,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f5cbef76.ec89e",\r
+                "81cd3242.fe0b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51b65599.0e89cc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3752.715431213379,\r
+        "y": 5259.700810432434,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "97323f99.6212d",\r
+                "11d81f8a.7859d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2553d5e.abe0f",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3595.8823165893555,\r
+        "y": 5259.716480255127,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "51b65599.0e89cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "81cd3242.fe0b",\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": 3334.2158012390137,\r
+        "y": 5358.0497369766235,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "cd0e04b7.a88538",\r
+                "2202ffa2.d2838"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "973eecbd.3a12f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3754.382053375244,\r
+        "y": 5329.700781822205,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "2f312957.2b15e6",\r
+                "11d81f8a.7859d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41ca4b49.e89434",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3754.3821296691895,\r
+        "y": 5382.7005405426025,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9f878bec.0f8958",\r
+                "11d81f8a.7859d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cd0e04b7.a88538",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3597.5489387512207,\r
+        "y": 5329.7164516448975,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "973eecbd.3a12f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2202ffa2.d2838",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3606.1204719543457,\r
+        "y": 5382.335596084595,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "41ca4b49.e89434"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4bd4ba04.8daa14",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1060.596607208252,\r
+        "y": 6088.430853366852,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "39f74881.371fb8",\r
+                "fb74751e.022f18",\r
+                "12eb0afe.678335",\r
+                "43f00c8e.4c60b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2a87a71.553fc8",\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": 1708.5967826843262,\r
+        "y": 6210.764601230621,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "316d52f.75519ae"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9dd5477e.b61ec8",\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": 1791.59663772583,\r
+        "y": 6042.097612857819,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "5a0f98fa.d60308",\r
+                "17b6d486.2926eb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "12eb0afe.678335",\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": 1299.5966300964355,\r
+        "y": 6100.097685337067,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "686b5e11.422ff"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "686b5e11.422ff",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1525.5966300964355,\r
+        "y": 6098.097685337067,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9dd5477e.b61ec8",\r
+                "9094ce2c.0f237",\r
+                "d2a87a71.553fc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aefdf6d5.094438",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2187.096508026123,\r
+        "y": 6012.08198595047,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d7673076.3ac06",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8aa6fe69.46205",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2187.0965843200684,\r
+        "y": 6065.081744670868,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "34a07ec7.5c1d72",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a0f98fa.d60308",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2030.2633934020996,\r
+        "y": 6012.097655773163,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "aefdf6d5.094438"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17b6d486.2926eb",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2038.8349266052246,\r
+        "y": 6064.71680021286,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "8aa6fe69.46205"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c0647bff.dcfb98",\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": 2127.2632331848145,\r
+        "y": 6154.764276027679,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f0cfd83.86b5328",\r
+                "f315ed94.7bfc9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fd3e62f.a29bea",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2530.429512023926,\r
+        "y": 6126.748618662357,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "38cb90b2.4e39c",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5997fd18.c16ad4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2530.429588317871,\r
+        "y": 6179.748377382755,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "8d6accf1.493c8",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0cfd83.86b5328",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2373.5963973999023,\r
+        "y": 6126.76428848505,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "fd3e62f.a29bea"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f315ed94.7bfc9",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2382.1679306030273,\r
+        "y": 6179.3834329247475,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "5997fd18.c16ad4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "783e4357.c986ec",\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": 1794.9299659729004,\r
+        "y": 6365.430296421051,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1d38b1dd.61e89e",\r
+                "6176025c.2ad73c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "43f00c8e.4c60b4",\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": 1302.9299583435059,\r
+        "y": 6422.430368900299,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "299ac4c9.b765dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "299ac4c9.b765dc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1528.9299583435059,\r
+        "y": 6421.430368900299,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "783e4357.c986ec",\r
+                "3d0b5fc0.1aec4",\r
+                "1976134f.84b09d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9dec848e.b51528",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2190.4298362731934,\r
+        "y": 6335.414669513702,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "ec585839.cf03a8",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc9a9082.df9ad",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2190.4299125671387,\r
+        "y": 6388.4144282341,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "dc08e935.aa2128",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d38b1dd.61e89e",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2033.59672164917,\r
+        "y": 6335.430339336395,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9dec848e.b51528"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6176025c.2ad73c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2042.168254852295,\r
+        "y": 6388.0494837760925,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "cc9a9082.df9ad"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "82969649.e96bb8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2523.7630920410156,\r
+        "y": 6448.414720118046,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9303413c.a15fb",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a4127791.07e268",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2523.763168334961,\r
+        "y": 6501.414478838444,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "41362899.a075b8",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "79c39cc4.e386e4",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2366.929977416992,\r
+        "y": 6448.430389940739,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "82969649.e96bb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a282925a.d9e0c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2375.501510620117,\r
+        "y": 6501.049534380436,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "a4127791.07e268"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bdb5121f.d0648",\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": 2122.596820831299,\r
+        "y": 6477.09680891037,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "79c39cc4.e386e4",\r
+                "a282925a.d9e0c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63a7631.9e7f99c",\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": 1285.2632637023926,\r
+        "y": 4724.430592954159,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "39f74881.371fb8",\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": 1255.930019378662,\r
+        "y": 5972.4307743906975,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9094ce2c.0f237",\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": 1728.9299850463867,\r
+        "y": 6100.4308542609215,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3d0b5fc0.1aec4",\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": 1734.2633209228516,\r
+        "y": 6426.430457532406,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b50cee13.b9a08",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1835.2634391784668,\r
+        "y": 4684.430831849575,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "fc84df82.5bc09"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "779079fc.7d1618",\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": 618.9297981262207,\r
+        "y": 6764.430634975433,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9bf7c5a4.dd9598"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9bf7c5a4.dd9598",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 963.2632141113281,\r
+        "y": 6763.764130115509,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "471e8c34.437354"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "471e8c34.437354",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1118.2630882263184,\r
+        "y": 6763.763926029205,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "3ca8387c.2993a8",\r
+                "ddd8fcd8.b0fa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3ca8387c.2993a8",\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": 1299.0367050170898,\r
+        "y": 6736.501932144165,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb67aa4b.8284f8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 257.1558837890625,\r
+        "y": 520.3101568222046,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f4d050b1.8b4c3",\r
+                "5d7e2c45.4ebe34",\r
+                "48e25fc2.52f7",\r
+                "9974cb16.902fe8",\r
+                "9d5245b6.abb4e8",\r
+                "540a131f.3d7bec",\r
+                "d0321bc2.4f6358",\r
+                "348782c.04c017e",\r
+                "bceb88ad.260758"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9926c7ad.248aa8",\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": 548.1677284240723,\r
+        "y": 2575.9059200286865,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9e164e02.d239",\r
+                "44723a81.45b694"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e164e02.d239",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 720.0724601745605,\r
+        "y": 2553.286940574646,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "3590eb8.88aec14"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "44723a81.45b694",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 721.7391128540039,\r
+        "y": 2598.2867794036865,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9742bfa8.39e3a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3590eb8.88aec14",\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": 935.0724449157715,\r
+        "y": 2551.620111465454,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9742bfa8.39e3a",\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": 933.4057655334473,\r
+        "y": 2596.6200313568115,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1976134f.84b09d",\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": 1709.69185256958,\r
+        "y": 6525.310881137848,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "24db1747.589188"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "494a4418.4600ec",\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": 526.9298248291016,\r
+        "y": 3936.096802711487,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "edc660aa.aae32"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "edc660aa.aae32",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 717.4298934936523,\r
+        "y": 3936.930037498474,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "8a22c1f6.1af97"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a22c1f6.1af97",\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": 918.9298248291016,\r
+        "y": 3936.096802711487,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "a190fe2f.d886f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a190fe2f.d886f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1108.7631454467773,\r
+        "y": 3935.5962419509888,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "e0f0f785.dc0f38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0f0f785.dc0f38",\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": 1398.2631187438965,\r
+        "y": 3934.096884727478,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "fd7f5581.6d4528",\r
+                "b45e71b2.bc101"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fd7f5581.6d4528",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1669.2630577087402,\r
+        "y": 3838.763586997986,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d6d5d78c.a73e18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6d5d78c.a73e18",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1816.4535751342773,\r
+        "y": 3837.311601638794,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "6c1ed4b9.5ecf9c",\r
+                "f394576a.e4e1d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b45e71b2.bc101",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1670.0962677001953,\r
+        "y": 4083.4304666519165,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "952ac2a9.fea88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3ac03af.ef15c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2088.4295196533203,\r
+        "y": 4085.4302225112915,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "b5a4eea6.72594",\r
+                "ce6a381b.978038",\r
+                "1364d6f3.245769",\r
+                "f6d3df5a.7d52a",\r
+                "66f94089.96de5",\r
+                "a6a60ea4.9fb45",\r
+                "e617263a.f37478",\r
+                "5c5c0e0.7b249f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce6a381b.978038",\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": 2270.929698944092,\r
+        "y": 3927.7634706497192,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "3f61199.ed2ade6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5a4eea6.72594",\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": 2310.929775238037,\r
+        "y": 3869.4302473068237,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "86eb7e36.9d7f7",\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": 2669.929660797119,\r
+        "y": 3904.4297342300415,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "69287c55.352c84"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f61199.ed2ade6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2458.929698944092,\r
+        "y": 3927.7634706497192,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "86eb7e36.9d7f7",\r
+                "456cf44d.c85fac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "69287c55.352c84",\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": 2921.9295768737793,\r
+        "y": 3904.429810523987,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "875934e4.a63818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "952ac2a9.fea88",\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": 1874.4296417236328,\r
+        "y": 4084.0972146987915,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "b3ac03af.ef15c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "875934e4.a63818",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3121.9295768737793,\r
+        "y": 3902.429810523987,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "5d83fcee.a618a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d83fcee.a618a4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3275.9295768737793,\r
+        "y": 3900.429810523987,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "4df768f6.bb1e68",\r
+                "f4645e05.09dbf",\r
+                "29f5561c.96eb2a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4df768f6.bb1e68",\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": 3507.9297370910645,\r
+        "y": 3860.0963945388794,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f4645e05.09dbf",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 3431.262912750244,\r
+        "y": 3946.763144493103,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1364d6f3.245769",\r
+        "type": "switchNode",\r
+        "name": "switch found-related-network",\r
+        "xml": "<switch test='`$found-related-network`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2306.429588317871,\r
+        "y": 4028.430356025696,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "19517216.b897fe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "19517216.b897fe",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2500.429588317871,\r
+        "y": 4026.430356025696,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f7f125ed.69c228"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7f125ed.69c228",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2630.429588317871,\r
+        "y": 4026.430356025696,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "4102f097.0a51",\r
+                "f394576a.e4e1d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f6d3df5a.7d52a",\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": 2368.429588317871,\r
+        "y": 4076.430356025696,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a6a60ea4.9fb45",\r
+        "type": "switchNode",\r
+        "name": "switch rn-index",\r
+        "xml": "<switch test='`$rn-index`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2256.429588317871,\r
+        "y": 4184.430356025696,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "6c6e5ed6.1638b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "66f94089.96de5",\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": 2328.429588317871,\r
+        "y": 4128.430356025696,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6c6e5ed6.1638b",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2420.429588317871,\r
+        "y": 4184.430356025696,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "4cbc1f39.6eef5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4cbc1f39.6eef5",\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": 2580.429588317871,\r
+        "y": 4184.430356025696,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e617263a.f37478",\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": 2280.429588317871,\r
+        "y": 4236.430356025696,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5c5c0e0.7b249f4",\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": 2298.429588317871,\r
+        "y": 4288.430356025696,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "456cf44d.c85fac",\r
+        "type": "switchNode",\r
+        "name": "switch found-related-network",\r
+        "xml": "<switch test='`$found-related-network`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2682.9296836853027,\r
+        "y": 3952.096594810486,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "65005548.e9ca8c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "65005548.e9ca8c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2879.5965461730957,\r
+        "y": 3952.0969667434692,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "a15ee876.ab6228"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a15ee876.ab6228",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 3009.5964317321777,\r
+        "y": 3950.430090904236,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "29f5561c.96eb2a",\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": 3449.5966453552246,\r
+        "y": 3902.0969648361206,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9a10ba16.3aa6a8",\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": 1738.5011367797852,\r
+        "y": 4931.621017932892,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "878cd74b.b859a8",\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": 1720.1677589416504,\r
+        "y": 4998.2875237464905,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "38156f19.d3b92",\r
+                "6b679924.dbe638"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38156f19.d3b92",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1909.167739868164,\r
+        "y": 4973.954137265682,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "115e423c.501c8e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "115e423c.501c8e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2076.334487915039,\r
+        "y": 4989.748570859432,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "b0761ca.5d4cce",\r
+                "1254304a.7d8a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b679924.dbe638",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1914.167739868164,\r
+        "y": 5023.620397031307,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "115e423c.501c8e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "52bb6b86.aae8d4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1514.9774589538574,\r
+        "y": 5200.905811786652,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1faae59a.ef7cea",\r
+                "3ff39820.94ba88",\r
+                "9a10ba16.3aa6a8",\r
+                "878cd74b.b859a8",\r
+                "eebcfd35.55fb9",\r
+                "82ba34b3.fa1f48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1faae59a.ef7cea",\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": 1750.5013008117676,\r
+        "y": 5076.1450934410095,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "933839f3.7f2e78",\r
+        "type": "comment",\r
+        "name": "Floating IPs",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1311.2631187438965,\r
+        "y": 6058.430211722851,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "eebcfd35.55fb9",\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": 1734.5963020324707,\r
+        "y": 5472.4305872917175,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "cc35a2e9.bcb07"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "62b74236.aad4fc",\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": 2372.9297828674316,\r
+        "y": 5472.097095012665,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d2f01f95.109f6",\r
+                "4a44bec7.49b2a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6441b421.db195c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2744.7628211975098,\r
+        "y": 5445.415043354034,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "64e7c13b.82899",\r
+                "1254304a.7d8a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21487f6.95f1f8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2744.762897491455,\r
+        "y": 5498.414802074432,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f4e9414e.c0a39",\r
+                "1254304a.7d8a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2f01f95.109f6",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2587.9297065734863,\r
+        "y": 5445.430713176727,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "6441b421.db195c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a44bec7.49b2a",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2596.5012397766113,\r
+        "y": 5498.049857616425,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "21487f6.95f1f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "82ba34b3.fa1f48",\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": 1734.5964546203613,\r
+        "y": 5633.096942424774,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1f595d1a.8ff293"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b629e1fe.afa3d",\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": 2654.2634620666504,\r
+        "y": 5631.096937656403,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "6dc366c6.1b2608",\r
+                "a704ca3.36a4b38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "12c7943c.a55a2c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3061.096508026123,\r
+        "y": 5604.414236545564,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "94072bfe.632c28",\r
+                "1254304a.7d8a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b88635f.5a533c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3061.0965843200684,\r
+        "y": 5657.413995265962,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "4462ce4a.8f7a5",\r
+                "1254304a.7d8a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6dc366c6.1b2608",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2904.2633934020996,\r
+        "y": 5604.4299063682565,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "12c7943c.a55a2c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a704ca3.36a4b38",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2912.8349266052246,\r
+        "y": 5657.049050807954,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "2b88635f.5a533c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1de94581.c488da",\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": 2350.2632942199707,\r
+        "y": 5631.096938610077,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "b629e1fe.afa3d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "88b43b76.6a75d8",\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": 608.5965881347656,\r
+        "y": 6874.097199082375,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb67c127.33c7c",\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": 429.92991638183594,\r
+        "y": 6922.097302079201,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "67fa2696.640ed8",\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": 581.2630195617676,\r
+        "y": 2357.929759979248,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "de18afec.e1079",\r
+                "49fb0ac8.04b604"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "de18afec.e1079",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 803.7629852294922,\r
+        "y": 2280.4297199249268,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1c4c53fe.44b0dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "49fb0ac8.04b604",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 805.4415855407715,\r
+        "y": 2453.0483045578003,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "755e8713.bcc1c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a421948e.7e12b8",\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": 1338.7631187438965,\r
+        "y": 3152.929436683655,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "ebf9c337.4e138"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ebf9c337.4e138",\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": 1587.096378326416,\r
+        "y": 3152.929436683655,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "a86ece19.ececb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fcaf9b9.f1d4568",\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": 544.5962944030762,\r
+        "y": 2871.262773513794,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f8bef45b.8c1d38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f8bef45b.8c1d38",\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": 726.2630729675293,\r
+        "y": 2869.929922103882,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "97b3bca9.21b53"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "97b3bca9.21b53",\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": 927.4296455383301,\r
+        "y": 2869.76261138916,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "a3d88602.8525e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a3d88602.8525e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1139.5963172912598,\r
+        "y": 2868.7629718780518,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d5a5aef3.81764",\r
+                "37a20e05.126042",\r
+                "f86420d0.f8cb4",\r
+                "a421948e.7e12b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d5a5aef3.81764",\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": 1351.2630348205566,\r
+        "y": 2822.096185684204,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "37a20e05.126042",\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": 1332.9298248291016,\r
+        "y": 2868.7629375457764,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1cb49556.32692b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1cb49556.32692b",\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": 1574.5962944030762,\r
+        "y": 2867.096432685852,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d1c77ddb.a0354"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d1c77ddb.a0354",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1771.2629737854004,\r
+        "y": 2867.096351623535,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1428ec99.f2d413"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1428ec99.f2d413",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1924.5961952209473,\r
+        "y": 2867.0962238311768,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "fcce8154.9685e",\r
+                "cbd9fa48.bee5b8",\r
+                "491c8e10.8347"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fcce8154.9685e",\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": 2131.263027191162,\r
+        "y": 2815.4296016693115,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cbd9fa48.bee5b8",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 2086.2629432678223,\r
+        "y": 2905.4295225143433,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f86420d0.f8cb4",\r
+        "type": "switchNode",\r
+        "name": "switch vnf-network-index",\r
+        "xml": "<switch test='`$vnf-network-index`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1344.596363067627,\r
+        "y": 2928.762939453125,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "79b99590.d3fcac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "79b99590.d3fcac",\r
+        "type": "outcome",\r
+        "name": "-1",\r
+        "xml": "<outcome value='-1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1536.2630043029785,\r
+        "y": 2928.76318359375,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "917a6c27.9bf3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "917a6c27.9bf3",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1684.5961952209473,\r
+        "y": 2927.0962238311768,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "a6ff636a.1da36",\r
+                "f394576a.e4e1d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "95349f39.6e5a9",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2376.262912750244,\r
+        "y": 3337.0960750579834,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9e396ac0.1c0cd8",\r
+                "f53353ba.f6cea",\r
+                "35326a6f.8ce8b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e396ac0.1c0cd8",\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": 2572.9296646118164,\r
+        "y": 3292.0959939956665,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d3c7828c.9a35d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3c7828c.9a35d",\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": 2799.596290588379,\r
+        "y": 3292.0959939956665,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "c4cd4a9c.110088"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c4cd4a9c.110088",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2979.5962562561035,\r
+        "y": 3292.0964002609253,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d297a29d.32368"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "801d0ec7.9db1b",\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": 2404.596248626709,\r
+        "y": 3155.429488182068,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a86ece19.ececb",\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": 1849.596591949463,\r
+        "y": 3152.096523284912,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "b8041b24.2b66c8",\r
+                "9c9140dc.f2e33",\r
+                "489d3614.0f27f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b8041b24.2b66c8",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2051.2631034851074,\r
+        "y": 3052.0960664749146,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "8bb4c617.110b48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c9140dc.f2e33",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2047.6917343139648,\r
+        "y": 3238.048357963562,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "b0bfddfb.72eba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8bb4c617.110b48",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2182.9296531677246,\r
+        "y": 3074.7628135681152,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "38e8e50c.e85dda",\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": 3072.9301719665527,\r
+        "y": 3453.7634801864624,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b0bfddfb.72eba",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2201.2631492614746,\r
+        "y": 3237.0959901809692,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "801d0ec7.9db1b",\r
+                "95349f39.6e5a9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d34b6157.8f35a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4332.929769515991,\r
+        "y": 3625.429957151413,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "88064ec.10dddb",\r
+                "52c4ad67.8cbd34"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "52c4ad67.8cbd34",\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": 4547.92977142334,\r
+        "y": 3675.4296309947968,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "995a749b.8f5f58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "88064ec.10dddb",\r
+        "type": "switchNode",\r
+        "name": "switch tmp.address-family",\r
+        "xml": "<switch test='`$tmp.address-family`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4549.596927642822,\r
+        "y": 3582.096617460251,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "431902e1.65a18c",\r
+                "a1d0494d.a8bd18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "431902e1.65a18c",\r
+        "type": "outcome",\r
+        "name": "ipv4",\r
+        "xml": "<outcome value='ipv4'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4752.930189768473,\r
+        "y": 3555.4298477967577,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "bb7bc2b4.6ce51"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1d0494d.a8bd18",\r
+        "type": "outcome",\r
+        "name": "ipv6",\r
+        "xml": "<outcome value='ipv6'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4752.929862976074,\r
+        "y": 3602.0963752269745,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "e7f8c0a.86c664"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb7bc2b4.6ce51",\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": 4949.596675872803,\r
+        "y": 3553.7633216381073,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e7f8c0a.86c664",\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": 4954.59655380249,\r
+        "y": 3602.096394300461,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7fcd1d62.d76cb4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4887.929801940918,\r
+        "y": 3675.096394300461,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "5e631020.53cce",\r
+                "df991002.c407"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5e631020.53cce",\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": 5066.263122558594,\r
+        "y": 3651.762881040573,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "df991002.c407",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 5051.263126373291,\r
+        "y": 3698.4298751354218,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4e4fca65.cbf754",\r
+        "type": "switchNode",\r
+        "name": "switch subnet-id",\r
+        "xml": "<switch test='`$subnet-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3064.596046447754,\r
+        "y": 3615.430214881897,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "5fc3b8b.62e4a48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5fc3b8b.62e4a48",\r
+        "type": "outcome",\r
+        "name": "-1",\r
+        "xml": "<outcome value='-1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3221.26261138916,\r
+        "y": 3615.4301500320435,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1fa6c512.92b1cb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1fa6c512.92b1cb",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3369.595802307129,\r
+        "y": 3613.76319026947,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "fec2cbd9.e930a8",\r
+                "f394576a.e4e1d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10262cd6.950543",\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": 3176.2626914978027,\r
+        "y": 3692.0969858169556,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7b6a70b.67d389",\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": 529.5962867736816,\r
+        "y": 3287.0962238311768,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "995a749b.8f5f58",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4734.596374511719,\r
+        "y": 3675.4301192760468,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "7fcd1d62.d76cb4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "491c8e10.8347",\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": 2107.929531097412,\r
+        "y": 2860.429684638977,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a45139cd.c06788",\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": 1306.262996673584,\r
+        "y": 4475.42941236496,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "7364ca38.2e5154",\r
+                "58d89920.1583e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7364ca38.2e5154",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1491.2629432678223,\r
+        "y": 4450.42923116684,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "8158813c.66973"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "58d89920.1583e8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1489.3582153320312,\r
+        "y": 4497.215058803558,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "3d2f5ba8.c13584"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8158813c.66973",\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": 1722.9297142028809,\r
+        "y": 4448.762581348419,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3d2f5ba8.c13584",\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": 1679.5962257385254,\r
+        "y": 4497.096079349518,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d5639dcc.50d87",\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": 1294.5963287353516,\r
+        "y": 4573.762586116791,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "b1314442.1e8e58",\r
+                "4e90e22a.aab6cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1314442.1e8e58",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1491.2629356384277,\r
+        "y": 4548.762383937836,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "c5c1ae87.86af"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e90e22a.aab6cc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1489.3582077026367,\r
+        "y": 4595.548211574554,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "ba48d68e.f81aa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c5c1ae87.86af",\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": 1702.9297180175781,\r
+        "y": 4547.0955929756165,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ba48d68e.f81aa8",\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": 1661.2628479003906,\r
+        "y": 4595.429254055023,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cc35a2e9.bcb07",\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": 1967.92964553833,\r
+        "y": 5472.4296135902405,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "7bf7e0e4.c2092"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7bf7e0e4.c2092",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2166.263114929199,\r
+        "y": 5472.096768856049,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "62b74236.aad4fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f595d1a.8ff293",\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": 1971.2629890441895,\r
+        "y": 5632.096061229706,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "47d7d211.80a5ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "47d7d211.80a5ec",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2169.5964584350586,\r
+        "y": 5631.763216495514,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1de94581.c488da"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "316d52f.75519ae",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1874.5962715148926,\r
+        "y": 6210.4294810295105,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "c0647bff.dcfb98",\r
+                "5911a368.70726c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "24db1747.589188",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1876.2630195617676,\r
+        "y": 6525.429492473602,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "bdb5121f.d0648",\r
+                "9dacd2cd.93ab"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5911a368.70726c",\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": 2091.2632179260254,\r
+        "y": 6268.762651920319,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f138f006.e2934"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "14599bc4.dfcff4",\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": 2766.26314163208,\r
+        "y": 6268.762490749359,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "34dd5b17.9e06c4",\r
+                "c966a91b.7c68b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "52867741.452a08",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3158.09623336792,\r
+        "y": 6242.080272197723,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1a54f803.3243e8",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fbf6e33e.69daa",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3158.0963096618652,\r
+        "y": 6295.080030918121,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9ebbd632.ef43d8",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "34dd5b17.9e06c4",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3001.2631187438965,\r
+        "y": 6242.095942020416,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "52867741.452a08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c966a91b.7c68b8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3009.8346519470215,\r
+        "y": 6294.7150864601135,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "fbf6e33e.69daa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9dacd2cd.93ab",\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": 2092.929615020752,\r
+        "y": 6592.096061229706,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "2dbd930d.06759c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6321a56a.de355c",\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": 2762.9295692443848,\r
+        "y": 6590.428843975067,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "7666db3f.f47e74",\r
+                "639b285f.08d4e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0c87b03.93a6b8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3154.7626609802246,\r
+        "y": 6563.746625423431,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "82534f84.1802c",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "301d4b1.d1d96b4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3154.76273727417,\r
+        "y": 6616.746384143829,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "bec2c422.16f948",\r
+                "fc515f97.dc4ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7666db3f.f47e74",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2997.929546356201,\r
+        "y": 6563.762295246124,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f0c87b03.93a6b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "639b285f.08d4e8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3006.501079559326,\r
+        "y": 6616.3814396858215,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "301d4b1.d1d96b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f138f006.e2934",\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": 2344.5962867736816,\r
+        "y": 6268.762328624725,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "96bf85f6.f873f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "96bf85f6.f873f8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2531.2631301879883,\r
+        "y": 6268.762815952301,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "14599bc4.dfcff4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2dbd930d.06759c",\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": 2341.262866973877,\r
+        "y": 6590.429069042206,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "75bae1b8.8d5a7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75bae1b8.8d5a7",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2527.9297103881836,\r
+        "y": 6590.4295563697815,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "6321a56a.de355c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "14b5c458.f3a9ec",\r
+        "type": "comment",\r
+        "name": "SELF-SERVE FORK",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 710.9773101806641,\r
+        "y": 878.7863397598267,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b4ce17c3.fa50b8",\r
+        "type": "comment",\r
+        "name": "First, count the subnets for this address family",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2706.2634239196777,\r
+        "y": 3201.7384843826294,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "12c26bf4.a2a7c4",\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": 3079.5961112976074,\r
+        "y": 3496.7389879226685,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "6a0e881b.4ba548"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a0e881b.4ba548",\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": 3306.26273727417,\r
+        "y": 3496.7389879226685,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "78272436.cd36bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78272436.cd36bc",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3486.2627029418945,\r
+        "y": 3496.7393941879272,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "8571ff4f.7368d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f53353ba.f6cea",\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": 2561.262996673584,\r
+        "y": 3243.4052362442017,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "774c4dcf.519194",\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": 3309.596363067627,\r
+        "y": 3310.0719861984253,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d297a29d.32368",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3126.26273727417,\r
+        "y": 3291.7386713027954,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "774c4dcf.519194",\r
+                "93d44f0.e06a8b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93d44f0.e06a8b",\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": 3291.262783050537,\r
+        "y": 3265.0719842910767,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "35326a6f.8ce8b6",\r
+        "type": "switchNode",\r
+        "name": "switch af-count",\r
+        "xml": "<switch test='`$af-count`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2551.2634086608887,\r
+        "y": 3480.0721530914307,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d300c477.7f84e8",\r
+                "8e745db4.433a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d300c477.7f84e8",\r
+        "type": "outcome",\r
+        "name": "1",\r
+        "xml": "<outcome value='1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2711.262928009033,\r
+        "y": 3378.40532207489,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "700167b.43daf98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "700167b.43daf98",\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": 2984.59623336792,\r
+        "y": 3376.7386713027954,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8e745db4.433a4",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2711.2628440856934,\r
+        "y": 3580.072241783142,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "49b5ae7f.1ecb1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "49b5ae7f.1ecb1",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2867.929485321045,\r
+        "y": 3580.0719232559204,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "38e8e50c.e85dda",\r
+                "12c26bf4.a2a7c4",\r
+                "4e4fca65.cbf754",\r
+                "10262cd6.950543"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8571ff4f.7368d",\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": 3681.262882232666,\r
+        "y": 3495.072237968445,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "dcdbaac8.71fac8",\r
+                "9a1f2d8c.38269"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dcdbaac8.71fac8",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3877.92972946167,\r
+        "y": 3430.071848630905,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "ff48f3fc.6ff7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9a1f2d8c.38269",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3871.0251274108887,\r
+        "y": 3564.3577601909637,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f43b3822.b1c158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f43b3822.b1c158",\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": 4026.2629203796387,\r
+        "y": 3563.404967069626,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "4eb745de.4f4aec",\r
+                "898134a0.ae5d18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4eb745de.4f4aec",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4181.262996673584,\r
+        "y": 3493.405266523361,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "8dbb144d.370578"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "898134a0.ae5d18",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4184.358793258667,\r
+        "y": 3626.0243537425995,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d34b6157.8f35a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "489d3614.0f27f8",\r
+        "type": "outcome",\r
+        "name": "0",\r
+        "xml": "<outcome value='0'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2052.9296073913574,\r
+        "y": 3100.0719232559204,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "8bb4c617.110b48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff48f3fc.6ff7e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4022.929656982422,\r
+        "y": 3430.071615934372,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1b07cf87.9b6fe",\r
+                "f394576a.e4e1d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8dbb144d.370578",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4327.929512023926,\r
+        "y": 3491.7384831905365,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "319df706.15f388",\r
+                "f394576a.e4e1d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "55e003a5.fca06c",\r
+        "type": "comment",\r
+        "name": "Ignore address families with no addresses",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2327.262981414795,\r
+        "y": 3030.4054193496704,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3291e6ae.85f8ba",\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": 1297.9298210144043,\r
+        "y": 4660.071797370911,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "6a6eb8f1.9f62d8",\r
+                "f080e271.42c9b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a6eb8f1.9f62d8",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1479.59623336792,\r
+        "y": 4636.73842716217,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "db88ee95.a44c3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f080e271.42c9b",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1477.691505432129,\r
+        "y": 4683.524254798889,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9b23e63c.8ba5d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "db88ee95.a44c3",\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": 1641.2628593444824,\r
+        "y": 4638.40541934967,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "8c17d99f.3ce5f8",\r
+                "b50cee13.b9a08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d0321bc2.4f6358",\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": 576.9772109985352,\r
+        "y": 268.6434488296509,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "da47b7e7.f3d848",\r
+                "23870b6f.901aa4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da47b7e7.f3d848",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 760.3105850219727,\r
+        "y": 238.64343738555908,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "4f66f95.7b33f08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "23870b6f.901aa4",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 760.0724906921387,\r
+        "y": 279.5959310531616,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "dee18ffa.a6fe6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f66f95.7b33f08",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 895.3105392456055,\r
+        "y": 236.9767770767212,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dee18ffa.a6fe6",\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": 976.9771957397461,\r
+        "y": 278.64345836639404,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "348782c.04c017e",\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": 608.564582824707,\r
+        "y": 820.0367794036865,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bceb88ad.260758",\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": 566.7073211669922,\r
+        "y": 1047.0368480682373,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "7c55f766.ae1538",\r
+                "c5c4e1ec.02a4b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c55f766.ae1538",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 787.4215202331543,\r
+        "y": 1164.607747077942,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "94a28d82.4f01d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c5c4e1ec.02a4b",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 787.9929733276367,\r
+        "y": 923.4653844833374,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "3d2fe671.10512a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "42e09bf7.400e44",\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": 517.2630157470703,\r
+        "y": 7248.738715171814,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e5eb577.046eda",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 942.5129776000977,\r
+        "y": 397.6189908981323,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "6514e137.563f3",\r
+                "37049c8a.e3e5e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37049c8a.e3e5e4",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"If svc-action is 'assign' then request-action must be 'CreateVfModuleInstance'\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1130.4296607971191,\r
+        "y": 381.2499690055847,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2172bacb.fd1c86",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1044.7152824401855,\r
+        "y": 446.10708475112915,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "b1597171.3ee09",\r
+                "6514e137.563f3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1597171.3ee09",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VF_MODULE_MODEL table\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1242.0366859436035,\r
+        "y": 424.64278411865234,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c639de59.ae251",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1059.0009880065918,\r
+        "y": 491.2499375343323,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "e497f95d.3eb3c8",\r
+                "6514e137.563f3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e497f95d.3eb3c8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\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
+        "outputs": 1,\r
+        "x": 1253.6438751220703,\r
+        "y": 468.21422386169434,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dbfaf511.5478b8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1020.6082458496094,\r
+        "y": 619.321418762207,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "2e3d6663.deaf6a",\r
+                "6514e137.563f3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e3d6663.deaf6a",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"There are no VNFs defined in MD-SAL\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1227.5725021362305,\r
+        "y": 590.3571434020996,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "792ace51.b15ed",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 884.8939514160156,\r
+        "y": 727.321418762207,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "63dc2a33.a12634",\r
+                "6514e137.563f3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63dc2a33.a12634",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\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
+        "outputs": 1,\r
+        "x": 1086.8582458496094,\r
+        "y": 702.6785879135132,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "11136e46.5af982",\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": 1209.845615386963,\r
+        "y": 836.09494972229,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "cab143b7.d90eb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cab143b7.d90eb",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1430.143196105957,\r
+        "y": 835.5829811096191,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "dbc9bb02.023fe8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a1554d7.38e2ec",\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": 1160.0483016967773,\r
+        "y": 1022.6065921783447,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "763275a1.1cfcbc",\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": 1148.7624969482422,\r
+        "y": 927.0981254577637,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7a9afeeb.bcc87",\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.request-information.request-action`' />\n",\r
+        "comments": "",\r
+        "x": 1217.7862586975098,\r
+        "y": 881.0589790344238,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3d2fe671.10512a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 958.8817291259766,\r
+        "y": 922.5588111877441,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "11136e46.5af982",\r
+                "7a9afeeb.bcc87",\r
+                "763275a1.1cfcbc",\r
+                "6a1554d7.38e2ec",\r
+                "b7b50f72.60d66"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "47186afb.be4274",\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-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1858.6439666748047,\r
+        "y": 1109.7859296798706,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d4a9c0d.ac6c54",\r
+        "type": "configure",\r
+        "name": "send error to MSO",\r
+        "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1878.0030136108398,\r
+        "y": 1061.5854063034058,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6514e137.563f3",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1665.3107528686523,\r
+        "y": 1082.6432723999023,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d4a9c0d.ac6c54",\r
+                "47186afb.be4274"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dbc9bb02.023fe8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1576.1439208984375,\r
+        "y": 834.9643363952637,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "1b79c9d4.553d96",\r
+                "6514e137.563f3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b79c9d4.553d96",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\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
+        "outputs": 1,\r
+        "x": 1773.8226776123047,\r
+        "y": 814.2500457763672,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b7b50f72.60d66",\r
+        "type": "configure",\r
+        "name": "send success to MSO",\r
+        "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"200\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1183.524787902832,\r
+        "y": 973.2976303100586,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "88ef43cf.4353c",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\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
+        "outputs": 1,\r
+        "x": 2461.263038635254,\r
+        "y": 1377.207555770874,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cdf91b0.174e5e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2267.334129333496,\r
+        "y": 1396.6718444824219,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "88ef43cf.4353c",\r
+                "80b5ab3d.6f3ef8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "799eaa32.6fe824",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 972.334358215332,\r
+        "y": 1614.3384866714478,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9ddd96ce.6586c8",\r
+                "80b5ab3d.6f3ef8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7adbe623.7575f8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 974.0010452270508,\r
+        "y": 1657.6718606948853,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "22247b5.eb10384",\r
+                "80b5ab3d.6f3ef8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ddd96ce.6586c8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Cloud region not found in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1176.2630233764648,\r
+        "y": 1591.1242628097534,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "22247b5.eb10384",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving cloud region from AAI.  Is AAI down?\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1171.6797637939453,\r
+        "y": 1639.4575996398926,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec2aeced.650af",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 856.9175720214844,\r
+        "y": 1838.3385391235352,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "9bc214de.5d73d8",\r
+                "80b5ab3d.6f3ef8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9bc214de.5d73d8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\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
+        "outputs": 1,\r
+        "x": 1049.5962295532227,\r
+        "y": 1811.1242694854736,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "52d1a63d.f33e98",\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-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1823.1676559448242,\r
+        "y": 2106.4220657348633,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "373b7d02.755bd2",\r
+        "type": "configure",\r
+        "name": "send error to MSO",\r
+        "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1842.5267028808594,\r
+        "y": 2058.2215423583984,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "80b5ab3d.6f3ef8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1669.8344421386719,\r
+        "y": 2079.279408454895,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "373b7d02.755bd2",\r
+                "52d1a63d.f33e98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8c6eb005.385ba",\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": 2766.262939453125,\r
+        "y": 2577.512939453125,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "836cff6b.d0abc",\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-message`\" />\n",\r
+        "comments": "",\r
+        "x": 2592.6909942626953,\r
+        "y": 2664.6557807922363,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "49c9b767.f94008",\r
+        "type": "configure",\r
+        "name": "send error to MSO",\r
+        "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2612.050117492676,\r
+        "y": 2621.4552307128906,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "76721fa9.6f7a7",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2376.0244140625,\r
+        "y": 2622.9297399520874,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "49c9b767.f94008",\r
+                "836cff6b.d0abc",\r
+                "8c6eb005.385ba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c1b24090.d49b8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2944.59623336792,\r
+        "y": 2278.2630882263184,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "ecc636c8.71fe78",\r
+                "76721fa9.6f7a7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ecc636c8.71fe78",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'from-preload flag is true but could not find preload information for VF module name ' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-name`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3144.179473876953,\r
+        "y": 2244.906032562256,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d759206d.14388",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2116.5007858276367,\r
+        "y": 2425.8463954925537,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "64958d02.cd8064",\r
+                "76721fa9.6f7a7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "64958d02.cd8064",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving preload-information\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2322.512893676758,\r
+        "y": 2400.4891319274902,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8af4f32.673261",\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": 4188.346412658691,\r
+        "y": 4429.735001564026,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "693bee93.63734",\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-message`\" />\n",\r
+        "comments": "",\r
+        "x": 4014.7744674682617,\r
+        "y": 4516.877842903137,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e9b2b1c.191285",\r
+        "type": "configure",\r
+        "name": "send error to MSO",\r
+        "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4034.133590698242,\r
+        "y": 4473.6772928237915,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f394576a.e4e1d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3798.1078872680664,\r
+        "y": 4475.151802062988,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "e9b2b1c.191285",\r
+                "693bee93.63734",\r
+                "8af4f32.673261"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a6ff636a.1da36",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1884.5963439941406,\r
+        "y": 2909.4576473236084,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b07cf87.9b6fe",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4214.179832458496,\r
+        "y": 3385.15172457695,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "319df706.15f388",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4529.17985534668,\r
+        "y": 3462.651731491089,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fec2cbd9.e930a8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\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      `\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3576.6798095703125,\r
+        "y": 3582.6517486572266,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c1ed4b9.5ecf9c",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VFC_RELATED_NETWORK_ROLE table\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2017.3740615844727,\r
+        "y": 3819.1801166534424,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4102f097.0a51",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\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
+        "outputs": 1,\r
+        "x": 2824.874122619629,\r
+        "y": 4004.179864883423,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "30bee8c0.434ad8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error saving vnfc to AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2201.262969970703,\r
+        "y": 4626.819506645203,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "52bc7cef.ddfa64",\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": 3674.318702697754,\r
+        "y": 5786.819993019104,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "69731c78.07bf64",\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-message`\" />\n",\r
+        "comments": "",\r
+        "x": 3500.746757507324,\r
+        "y": 5873.962834358215,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d37e8680.20ae98",\r
+        "type": "configure",\r
+        "name": "send error to MSO",\r
+        "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3520.1058807373047,\r
+        "y": 5830.76228427887,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1254304a.7d8a4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3284.080177307129,\r
+        "y": 5832.236793518066,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d37e8680.20ae98",\r
+                "69731c78.07bf64",\r
+                "52bc7cef.ddfa64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17b97fa6.0b332",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating vnfc relationships in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1838.6043319702148,\r
+        "y": 4740.568719863892,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "43b53fc.f18d2c",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Not-found error updating vnfc relationships\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1838.0686531066895,\r
+        "y": 4797.5332860946655,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b0761ca.5d4cce",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error saving cp object to AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2280.5686626434326,\r
+        "y": 4966.8189868927,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "64e7c13b.82899",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating cp relationship to l3-network in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2935.5687255859375,\r
+        "y": 5419.041241645813,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f4e9414e.c0a39",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating cp relationship to l3-network\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2938.0687255859375,\r
+        "y": 5481.541244506836,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "94072bfe.632c28",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating cp relationship to l3-network and vlan-tag in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3266.6403274536133,\r
+        "y": 5579.041257858276,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4462ce4a.8f7a5",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating cp relationship to l3-network and vlan-tag\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3269.140426635742,\r
+        "y": 5641.541258811951,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc682bd5.2eb5c8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error creating l3-interface-ipv4-address-list object in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3958.4860305786133,\r
+        "y": 5050.291213989258,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1499e507.42f6db",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating l3-interface-ipv4-address-list relationships in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3955.9860305786133,\r
+        "y": 5129.041219711304,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dac8db15.74e098",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating l3-interface-ipv4-address-list relationships\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3958.4857635498047,\r
+        "y": 5189.041226387024,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "97323f99.6212d",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error creating l3-interface-ipv6-address-list object in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3962.235771179199,\r
+        "y": 5239.0412311553955,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f312957.2b15e6",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating l3-interface-ipv6-address-list relationships in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3960.9855041503906,\r
+        "y": 5300.2912340164185,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f878bec.0f8958",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating l3-interface-ipv6-address-list relationships\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3962.2355041503906,\r
+        "y": 5360.291234970093,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f60ef6eb.870138",\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": 4378.4853515625,\r
+        "y": 5441.541015625,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5def6410.67b11c",\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-message`\" />\n",\r
+        "comments": "",\r
+        "x": 4204.91340637207,\r
+        "y": 5528.683856964111,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bbbbfcd1.e0cbe",\r
+        "type": "configure",\r
+        "name": "send error to MSO",\r
+        "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4224.272529602051,\r
+        "y": 5485.483306884766,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "11d81f8a.7859d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3988.246826171875,\r
+        "y": 5486.957816123962,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "bbbbfcd1.e0cbe",\r
+                "5def6410.67b11c",\r
+                "f60ef6eb.870138"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dccafd0f.1af91",\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": 3795.707374572754,\r
+        "y": 6904.735330581665,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb57099e.c08198",\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-message`\" />\n",\r
+        "comments": "",\r
+        "x": 3622.135429382324,\r
+        "y": 6991.878171920776,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2f2cede4.19f362",\r
+        "type": "configure",\r
+        "name": "send error to MSO",\r
+        "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3641.4945526123047,\r
+        "y": 6948.677621841431,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fc515f97.dc4ef",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3405.468849182129,\r
+        "y": 6950.152131080627,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "2f2cede4.19f362",\r
+                "fb57099e.c08198",\r
+                "dccafd0f.1af91"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bec2c422.16f948",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv4-address-list relationship to cp\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3345.7076454162598,\r
+        "y": 6589.735626220703,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "82534f84.1802c",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating vip-ipv4-address-list relationship to cp in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3339.4579162597656,\r
+        "y": 6525.98616027832,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ebbd632.ef43d8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv4-address-list relationship to cp\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3350.707649230957,\r
+        "y": 6277.235605239868,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a54f803.3243e8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating vip-ipv4-address-list relationship to cp in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3350.7079162597656,\r
+        "y": 6215.986141204834,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "41362899.a075b8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv6-address-list relationships\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2718.2076110839844,\r
+        "y": 6477.23561668396,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9303413c.a15fb",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating vip-ipv6-address-list relationships in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2716.95760345459,\r
+        "y": 6419.736152648926,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc08e935.aa2128",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error saving vip-ipv6-address-list\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2380.707588195801,\r
+        "y": 6363.485609054565,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec585839.cf03a8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error saving vip-ipv6-address-list in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2380.707588195801,\r
+        "y": 6309.7356061935425,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d6accf1.493c8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv4-address-list relationships\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2726.957607269287,\r
+        "y": 6152.235597610474,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "38cb90b2.4e39c",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating vip-ipv4-address-list relationships in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2728.2076110839844,\r
+        "y": 6094.735593795776,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "34a07ec7.5c1d72",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error saving vip-ipv4-address-list\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2384.457588195801,\r
+        "y": 6050.985589981079,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d7673076.3ac06",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error saving vip-ipv4-address-list in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2380.707588195801,\r
+        "y": 5983.485586166382,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e64793d7.bf627",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\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\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1878.2075538635254,\r
+        "y": 5908.485583305359,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1d9fe5d.0f695",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating vf-module relationships in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1879.4575500488281,\r
+        "y": 5849.735575199127,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "18d43b0c.816ff5",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating vf-module in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1031.2630081176758,\r
+        "y": 4280.569283485413,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3b91e2a.6658a",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\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
+        "outputs": 1,\r
+        "x": 1035.0130081176758,\r
+        "y": 4356.819286346436,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e283e90a.9eb6c8",\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": 408.58638763427734,\r
+        "y": 7559.698265075684,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d9542f83.7d0bb",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode - PUT vf-module",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + 'vf-module-assign.json'`\" />\n    <parameter name='restapiUrl' value=\"`$prop.controller.url + $tmp.vf-module.url`\" />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"vf-module-assign\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 510.91951751708984,\r
+        "y": 7418.897064208984,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "f3d88006.1d825",\r
+                "a685bcd2.6458d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3d88006.1d825",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 786.7036972045898,\r
+        "y": 7439.593224525452,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "193e6953.109c97"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a685bcd2.6458d",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 779.1323318481445,\r
+        "y": 7398.093244552612,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "193e6953.109c97"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "193e6953.109c97",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 988.062442779541,\r
+        "y": 7418.262205123901,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "d6c7309a.4a629",\r
+                "ddd8fcd8.b0fa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f53e7be.5b9088",\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": 1738.5627899169922,\r
+        "y": 7537.930374145508,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe573c32.97a3b",\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-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1564.9908447265625,\r
+        "y": 7625.073215484619,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3787f4fd.d2be6c",\r
+        "type": "configure",\r
+        "name": "send error to MSO",\r
+        "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1584.349967956543,\r
+        "y": 7581.872665405273,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ddd8fcd8.b0fa8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1367.6099700927734,\r
+        "y": 7582.454313278198,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            [\r
+                "3787f4fd.d2be6c",\r
+                "fe573c32.97a3b",\r
+                "4f53e7be.5b9088"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6c7309a.4a629",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error doing PUT of vf-module\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1192.562858581543,\r
+        "y": 7390.787219047546,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "50d368a6.9adce8",\r
+        "type": "configure",\r
+        "name": "send success to MSO",\r
+        "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"200\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 439.32460021972656,\r
+        "y": 7604.850353240967,\r
+        "z": "565447bf.1f1598",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file