GRAPI DG enhancement 51/94151/1
authorCheung, Pat (kc1472) <kc1472@att.com>
Thu, 22 Aug 2019 18:42:29 +0000 (18:42 +0000)
committerCheung, Pat (kc1472) <kc1472@att.com>
Thu, 22 Aug 2019 18:42:29 +0000 (18:42 +0000)
Adding async and concurrency enhancement to GRAPI

Issue-ID: SDNC-854
Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com>
Change-Id: Ia6d2db17dbc85bed4e91cfeb345877baa1494c4b

Former-commit-id: 8d5a350ab0128e46a81042341f2024a88631d35a

21 files changed:
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-mdsal-put.json [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-assign.json
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-mdsal-put.json [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.json
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-async.json [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation.json
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-assign.json
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-async.json [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json
platform-logic/generic-resource-api/src/main/resources/graph.versions
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-assign.xml
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-mdsal-put.xml [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-assign.xml
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-mdsal-put.xml [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.xml
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-async.xml [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation.xml
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-assign.xml
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-async.xml [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation.xml

index 5dcd7e8..e9f6907 100644 (file)
@@ -1 +1,1314 @@
-[{"id":"6868b8a8.dbf5a8","type":"dgstart","name":"DGSTART","outputs":1,"x":112.85714721679688,"y":47.14285659790039,"z":"91b54cc.abe6fb","wires":[["7a4d3ba3.61bc54"]]},{"id":"926ca261.62938","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":136.04763793945312,"y":161.99207305908203,"z":"91b54cc.abe6fb","wires":[["7653f459.a9c4ac","64f19720.d90278","7cbb6ca3.ac8b74","a1d640d8.5970b","50070dff.5a6824","2c716907.879226","99b30318.a25b8","f6ea2e74.036bf","334378e9.992958"]]},{"id":"a0448fa2.008b4","type":"method","name":"method self-serve-vf-module-assign","xml":"<method rpc='self-serve-vf-module-assign' mode='sync'>\n","comments":"","outputs":1,"x":216.61905670166016,"y":101.84921169281006,"z":"91b54cc.abe6fb","wires":[["926ca261.62938"]]},{"id":"7a4d3ba3.61bc54","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":375.09534454345703,"y":47.33334922790527,"z":"91b54cc.abe6fb","wires":[["a0448fa2.008b4"]]},{"id":"64f19720.d90278","type":"switchNode","name":"switch vf-module-parameters.param_length","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`'>\n","comments":"","outputs":1,"x":451.107177734375,"y":1364.512020111084,"z":"91b54cc.abe6fb","wires":[["85b4cef0.b1825"]]},{"id":"85b4cef0.b1825","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":711.1072082519531,"y":1364.512020111084,"z":"91b54cc.abe6fb","wires":[["748e831a.d0c23c"]]},{"id":"1d58f607.87766a","type":"call","name":"call GENERIC-RESOURCE-API:self-serve-vfmodule-ra-assignment","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-vfmodule-ra-assignment' mode='sync' >\n","comments":"","outputs":1,"x":1252.8214569091797,"y":1411.797770500183,"z":"91b54cc.abe6fb","wires":[["26ee1e68.97de82"]]},{"id":"56f2b98b.164b28","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n","comments":"","x":1733.5356979370117,"y":1411.369174003601,"z":"91b54cc.abe6fb","wires":[]},{"id":"aba85aab.9a0a08","type":"for","name":"foreach vf-module-parameters.param[]","xml":"<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n","comments":"","outputs":1,"x":736.3931427001953,"y":1674.6906070709229,"z":"91b54cc.abe6fb","wires":[["c9efa47e.335348","8aa3fdb3.22f8c"]]},{"id":"7653f459.a9c4ac","type":"set","name":"set ss.capability.execution-order[]","xml":"<set>\n<parameter name='ss.capability.execution-order[0]' value='generate-name' />\n<parameter name='ss.capability.execution-order[1]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[2]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[3]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[4]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[7]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[8]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[11]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[12]' value='aai-vf-module-put' />\n<parameter name='ss.capability.execution-order_length' value='13' />\n","comments":"","x":423.27381134033203,"y":1226.571499824524,"z":"91b54cc.abe6fb","wires":[]},{"id":"7cbb6ca3.ac8b74","type":"for","name":"foreach capability-order[]","xml":"<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n","comments":"","outputs":1,"x":392.0357666015625,"y":1530.5118999481201,"z":"91b54cc.abe6fb","wires":[["92dcc6b8.e62178","f9d0cff9.6c71b","aba85aab.9a0a08","e3f5351e.f5ae18"]]},{"id":"c9efa47e.335348","type":"switchNode","name":"switch capability-name param vs. execution","xml":"<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n","comments":"","outputs":1,"x":1102.7859649658203,"y":1720.333399772644,"z":"91b54cc.abe6fb","wires":[["f81a6799.d54bc8"]]},{"id":"f81a6799.d54bc8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1366.2859649658203,"y":1720.583399772644,"z":"91b54cc.abe6fb","wires":[["ea51742f.770a78"]]},{"id":"26ee1e68.97de82","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1579.3928031921387,"y":1411.2263641357422,"z":"91b54cc.abe6fb","wires":[["56f2b98b.164b28"]]},{"id":"92dcc6b8.e62178","type":"set","name":"set ss.capability-name","xml":"<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n\n<!--\nss.capability.execution-order\n-->","comments":"","x":683.392822265625,"y":1530.4643516540527,"z":"91b54cc.abe6fb","wires":[]},{"id":"8aa3fdb3.22f8c","type":"set","name":"tmp.param.capability-name","xml":"<set>\n<parameter name='tmp.param.capability-name' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.capability-name`' />\n","comments":"","x":1052.1429901123047,"y":1674.9406099319458,"z":"91b54cc.abe6fb","wires":[]},{"id":"f9d0cff9.6c71b","type":"set","name":"set ss.capability-action = assign","xml":"<set>\n<parameter name='ss.capability-action' value='assign' />\n","comments":"","x":714.1069641113281,"y":1577.3809356689453,"z":"91b54cc.abe6fb","wires":[]},{"id":"e3f5351e.f5ae18","type":"set","name":"set capability-dg with 'self-serve-' + capability-name","xml":"<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n","comments":"","x":776.4404296875,"y":1626.0358066558838,"z":"91b54cc.abe6fb","wires":[]},{"id":"fd294fda.d3f2","type":"set","name":"set sdnc-generated-cloud-resources = true","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.sdnc-generated-cloud-resources' \n\tvalue='true' />\n","comments":"","x":1038.8095397949219,"y":1113.0001754760742,"z":"91b54cc.abe6fb","wires":[]},{"id":"5c76fc7c.9945a4","type":"switchNode","name":"switch resource-resolution-data.status","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status`'>\n","comments":"","outputs":1,"x":817.3693226405553,"y":2205.7819516318186,"z":"91b54cc.abe6fb","wires":[["962297ef.1b4ae8","50d68e38.aaa05"]]},{"id":"962297ef.1b4ae8","type":"other","name":"PENDING","xml":"<outcome value='PENDING'>\n","comments":"","outputs":1,"x":1086.726538521903,"y":2205.7819077628,"z":"91b54cc.abe6fb","wires":[["de4d28cd.f1c0b8"]]},{"id":"50d68e38.aaa05","type":"other","name":"FAILED","xml":"<outcome value='FAILED'>\n","comments":"","outputs":1,"x":1080.26235471453,"y":2256.746238436018,"z":"91b54cc.abe6fb","wires":[["de4d28cd.f1c0b8"]]},{"id":"de4d28cd.f1c0b8","type":"call","name":"call ss.capability-dg","xml":"<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n","comments":"","outputs":1,"x":1295.3810871669225,"y":2257.508089746748,"z":"91b54cc.abe6fb","wires":[["aa328105.5a90d","b94864ab.41a158"]]},{"id":"99d1906.3546f7","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`\" />\n","comments":"","x":1870.0714214869913,"y":2611.1989409582957,"z":"91b54cc.abe6fb","wires":[]},{"id":"aa328105.5a90d","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1488.416437966483,"y":2257.222367967878,"z":"91b54cc.abe6fb","wires":[["5785c779.43b468"]]},{"id":"5785c779.43b468","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1651.6905544825963,"y":2256.5319087164744,"z":"91b54cc.abe6fb","wires":[["99d1906.3546f7","7c7199e0.e4fc38","33e435e5.b94ada","148b6290.868b6d","2648587b.758f38","7217dcc6.1f9534"]]},{"id":"7c7199e0.e4fc38","type":"execute","name":"execute RestApiCallNode - PUT vf-module","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ss-vfmodule\" />\n\n","comments":"","outputs":1,"x":1967.237994057792,"y":2512.905868257795,"z":"91b54cc.abe6fb","wires":[["58f9a59e.4560fc","7332862.47c3578"]]},{"id":"58f9a59e.4560fc","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2241.8316601344522,"y":2566.9040219443186,"z":"91b54cc.abe6fb","wires":[["85773de1.18cd6"]]},{"id":"7332862.47c3578","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2234.260294778007,"y":2513.4040419714793,"z":"91b54cc.abe6fb","wires":[["85773de1.18cd6"]]},{"id":"2c716907.879226","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vf-assign.log' />\n","comments":"","outputs":1,"x":334.6150894165039,"y":2801.2663040161133,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"a1d640d8.5970b","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":389.0594367980957,"y":281.4048547744751,"z":"91b54cc.abe6fb","wires":[["a95fd413.5e0e28","5795ddc4.7c3484","43cfb62f.bd11e8"]]},{"id":"a95fd413.5e0e28","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":601.6904067993164,"y":210.79764556884766,"z":"91b54cc.abe6fb","wires":[["9216bdc4.04dbd"]]},{"id":"d2eaae5b.c69a6","type":"set","name":"set vf-module-index=0","xml":"<set>\n<parameter name='vf-module-index' value='0' />\n","comments":"","x":940.8094367980957,"y":221.714430809021,"z":"91b54cc.abe6fb","wires":[]},{"id":"5795ddc4.7c3484","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":600.8689994812012,"y":349.58350563049316,"z":"91b54cc.abe6fb","wires":[["3a293e2a.3382a2"]]},{"id":"ff927cfe.36078","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":957.0950775146484,"y":503.8244743347168,"z":"91b54cc.abe6fb","wires":[]},{"id":"f3a77d62.1d1e9","type":"set","name":"set vf-module-parameters","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.'\n  value='vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.' />\n","comments":"","x":1121.7856750488281,"y":1363.6672625541687,"z":"91b54cc.abe6fb","wires":[]},{"id":"595cc53d.0afe7c","type":"set","name":"set order-status to PendingCreate","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.order-status'\n  value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n  value='`$vf-module-topology-operation-input.request-information.request-action`' />","comments":"","x":1011.3692474365234,"y":1065.6876735687256,"z":"91b54cc.abe6fb","wires":[]},{"id":"33e435e5.b94ada","type":"set","name":"set vf data for restapi-call-node","xml":"<set>\n<parameter name='vf.vf-module-id'\n    value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />\n<parameter name='vf.vf-module-data.sdnc-request-header.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />\n<parameter name='vf.vf-module-data.request-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />\n<parameter name='vf.vf-module-data.service-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />\n<parameter name='vf.vf-module-data.vnf-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />\n<parameter name='vf.vf-module-data.vf-module-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />\n<parameter name='vf.vf-module-data.vf-module-topology.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />\n<parameter name='vf.vf-module-data.vf-module-level-oper-status.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.request-version'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.tenant'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />","comments":"","x":1928.7500179835733,"y":2257.0238854544505,"z":"91b54cc.abe6fb","wires":[]},{"id":"148b6290.868b6d","type":"execute","name":"generate ss-vfmodule url replace service-instance-id","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.ss-vfmodule-assignments`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`\"/>\n","comments":"","outputs":1,"x":1994.9999645778116,"y":2305.0239302771433,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"2648587b.758f38","type":"execute","name":"generate ss-vfmodule url - replace vnf-id","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n    <parameter name=\"target\" value=\"{vnf-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`\"/>\n","comments":"","outputs":1,"x":1959.2856625148233,"y":2353.0828473227366,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"7217dcc6.1f9534","type":"execute","name":"generate ss-vfmodule url - replace vf-module-id","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n    <parameter name=\"target\" value=\"{vf-module-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\"/>\n","comments":"","outputs":1,"x":1981.2263363429483,"y":2402.9993474142893,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"50070dff.5a6824","type":"set","name":"set ss.capability-type = vf-module","xml":"<set>\n<parameter name='ss.capability-type' value='vf-module' />\n","comments":"","x":424.17860412597656,"y":1183.571457862854,"z":"91b54cc.abe6fb","wires":[]},{"id":"748e831a.d0c23c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":886.4643009730748,"y":1364.3928320748464,"z":"91b54cc.abe6fb","wires":[["f3a77d62.1d1e9","1d58f607.87766a","43c3be4e.88c54"]]},{"id":"99b30318.a25b8","type":"set","name":"set is-new-vfmodule = true","xml":"<set>\n<parameter name='is-new-vfmodule' value='true' />\n","comments":"","x":395.88111877441406,"y":161.82157707214355,"z":"91b54cc.abe6fb","wires":[]},{"id":"9b4dabbd.473368","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":959.7023773193359,"y":349.2738437652588,"z":"91b54cc.abe6fb","wires":[["49c1e178.08199"]]},{"id":"49c1e178.08199","type":"switchNode","name":"switch vf-module-id: input vs service-data","xml":"<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id`'>\n","comments":"","outputs":1,"x":1270.8215103149414,"y":349.84525871276855,"z":"91b54cc.abe6fb","wires":[["757c4d39.7a2634"]]},{"id":"757c4d39.7a2634","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1524.6905403137207,"y":349.66671562194824,"z":"91b54cc.abe6fb","wires":[["46d944ca.051e3c"]]},{"id":"621bd7bb.066da8","type":"set","name":"set is-new-vfmodule = false","xml":"<set>\n<parameter name='is-new-vfmodule' value='false' />\n","comments":"","x":1896.8572807312012,"y":348.92860412597656,"z":"91b54cc.abe6fb","wires":[]},{"id":"46d944ca.051e3c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1666.1072845458984,"y":349.1786003112793,"z":"91b54cc.abe6fb","wires":[["621bd7bb.066da8","462be844.06c458","174805e6.ef092a"]]},{"id":"462be844.06c458","type":"break","name":"break","xml":"<break>\n","comments":"","x":1834.000072479248,"y":435.17857837677,"z":"91b54cc.abe6fb","wires":[]},{"id":"174805e6.ef092a","type":"set","name":"set vf-module-index = idx","xml":"<set>\n<parameter name='vf-module-index' value='`$idx`' />\n","comments":"","x":1889.8215942382812,"y":392.21425914764404,"z":"91b54cc.abe6fb","wires":[]},{"id":"2aa88539.254a4a","type":"set","name":"set new vf-module_length = vf-module-index + 1","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-module-index + 1`' />\n","comments":"","x":1022.1668586730957,"y":263.0358591079712,"z":"91b54cc.abe6fb","wires":[]},{"id":"3a293e2a.3382a2","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":738.0239143371582,"y":349.9643678665161,"z":"91b54cc.abe6fb","wires":[["8b651c5a.b4a3b","9b4dabbd.473368"]]},{"id":"15f363e3.8b92ac","type":"set","name":"set new vf-module_length++","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length + 1`' />\n","comments":"","x":1507.2739372253418,"y":461.7143726348877,"z":"91b54cc.abe6fb","wires":[]},{"id":"8b651c5a.b4a3b","type":"switchNode","name":"switch is-new-vfmodule","xml":"<switch test='`$is-new-vfmodule`'>\n","comments":"","outputs":1,"x":945.5239105224609,"y":419.5357475280762,"z":"91b54cc.abe6fb","wires":[["3b3a4098.fabb6"]]},{"id":"3b3a4098.fabb6","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1143.3810653686523,"y":419.1071949005127,"z":"91b54cc.abe6fb","wires":[["77ebcf17.0833d"]]},{"id":"9216bdc4.04dbd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":744.5239105224609,"y":242.46436214447021,"z":"91b54cc.abe6fb","wires":[["2aa88539.254a4a","d2eaae5b.c69a6"]]},{"id":"43cfb62f.bd11e8","type":"other","name":"0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":602.8571472167969,"y":280.8928565979004,"z":"91b54cc.abe6fb","wires":[["9216bdc4.04dbd"]]},{"id":"f6ea2e74.036bf","type":"switchNode","name":"switch is-new-vfmodule","xml":"<switch test='`$is-new-vfmodule`'>\n","comments":"","outputs":1,"x":388.6071472167969,"y":504.6428565979004,"z":"91b54cc.abe6fb","wires":[["e56bd1dd.cbad"]]},{"id":"e56bd1dd.cbad","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":586.4643020629883,"y":504.2143039703369,"z":"91b54cc.abe6fb","wires":[["f7fa19a6.6ffac8"]]},{"id":"ee53e5f9.e02c38","type":"set","name":"Copy vf-module-topology data","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-id' \n    value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-name' \n    value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-type' \n    value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.tenant' \n    value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-cloud-region' \n    value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli'\n    value='`$vf-module-topology-operation-input.vf-module-request-input.aic-clli`' />","comments":"","x":1002.3571624755859,"y":549.6429262161255,"z":"91b54cc.abe6fb","wires":[]},{"id":"c9ce7d81.f6fa5","type":"set","name":"set from DB","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-invariant-uuid'\n  value='`$db.vf-module-model.invariant-uuid`' />\n","comments":"","x":1367.3689231872559,"y":602.0863666534424,"z":"91b54cc.abe6fb","wires":[]},{"id":"51df8658.dfdaf8","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":1011.2259979248047,"y":624.910810470581,"z":"91b54cc.abe6fb","wires":[["57ab166b.c9a278","8e1b452f.1d2198"]]},{"id":"57ab166b.c9a278","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1216.8926696777344,"y":602.0537738800049,"z":"91b54cc.abe6fb","wires":[["c9ce7d81.f6fa5"]]},{"id":"8e1b452f.1d2198","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1218.3212661743164,"y":646.3393650054932,"z":"91b54cc.abe6fb","wires":[["6717b968.3358a8"]]},{"id":"6717b968.3358a8","type":"set","name":"set from input","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-invariant-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n","comments":"","x":1372.6070022583008,"y":645.7679371833801,"z":"91b54cc.abe6fb","wires":[]},{"id":"dc34ea00.b18978","type":"set","name":"set from DB","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-uuid'\n  value='`$db.vf-module-model.uuid`' />\n","comments":"","x":1368.3211936950684,"y":690.6250429153442,"z":"91b54cc.abe6fb","wires":[]},{"id":"37c6647e.c307dc","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":983.8450164794922,"y":713.4495477676392,"z":"91b54cc.abe6fb","wires":[["79b3c03d.b218a","6c9c814f.6dcac"]]},{"id":"79b3c03d.b218a","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1217.8449897766113,"y":690.5924797058105,"z":"91b54cc.abe6fb","wires":[["dc34ea00.b18978"]]},{"id":"6c9c814f.6dcac","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1219.2735862731934,"y":734.8780708312988,"z":"91b54cc.abe6fb","wires":[["d315fdcb.a27e"]]},{"id":"d315fdcb.a27e","type":"set","name":"set from input","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n","comments":"","x":1373.5593223571777,"y":734.3066430091858,"z":"91b54cc.abe6fb","wires":[]},{"id":"25dde480.8f7ebc","type":"set","name":"set from DB","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-version'\n  value='`$db.vf-module-model.version`' />\n","comments":"","x":1359.464126586914,"y":779.482250213623,"z":"91b54cc.abe6fb","wires":[]},{"id":"aefced2b.6dfb8","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":985.9878883361816,"y":802.306694984436,"z":"91b54cc.abe6fb","wires":[["731561f3.cfc46","37e6f82.b6ecf08"]]},{"id":"731561f3.cfc46","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1208.9878730773926,"y":779.4496574401855,"z":"91b54cc.abe6fb","wires":[["25dde480.8f7ebc"]]},{"id":"37e6f82.b6ecf08","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1210.4164695739746,"y":823.7352485656738,"z":"91b54cc.abe6fb","wires":[["fdaec125.0d1ba"]]},{"id":"fdaec125.0d1ba","type":"set","name":"set from input","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-version'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n","comments":"","x":1364.702205657959,"y":823.1638207435608,"z":"91b54cc.abe6fb","wires":[]},{"id":"d0a8a05b.bad64","type":"set","name":"set from DB","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-name'\n  value='`$db.vf-module-model.name`' />\n","comments":"","x":1359.464126586914,"y":866.625072479248,"z":"91b54cc.abe6fb","wires":[]},{"id":"c5a251a0.353b9","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":982.9878883361816,"y":889.449517250061,"z":"91b54cc.abe6fb","wires":[["6bdb46ec.cf2b98","77c53d8.21703c4"]]},{"id":"6bdb46ec.cf2b98","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1208.9878730773926,"y":866.5924797058105,"z":"91b54cc.abe6fb","wires":[["d0a8a05b.bad64"]]},{"id":"77c53d8.21703c4","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1210.4164695739746,"y":910.8780708312988,"z":"91b54cc.abe6fb","wires":[["f9310941.3b7978"]]},{"id":"f9310941.3b7978","type":"set","name":"set from input","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-name'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`' />\n","comments":"","x":1364.702205657959,"y":910.3066430091858,"z":"91b54cc.abe6fb","wires":[]},{"id":"fd5d17f0.6f26a8","type":"set","name":"set model-customization-uuid","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.onap-model-information.model-customization-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n","comments":"","x":996.4402465820312,"y":963.387001991272,"z":"91b54cc.abe6fb","wires":[]},{"id":"4d64c961.455a88","type":"set","name":"copy input data","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.'\n   value='$vf-module-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.'\n   value='$vf-module-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.'\n   value='$vf-module-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.'\n   value='$vf-module-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.'\n   value='$vf-module-topology-operation-input.vf-module-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.' \n    value='$vf-module-topology-operation-input.vf-module-request-input.' />","comments":"","x":953.0953216552734,"y":1018.071704864502,"z":"91b54cc.abe6fb","wires":[]},{"id":"f7fa19a6.6ffac8","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":742.5595626831055,"y":503.9920482635498,"z":"91b54cc.abe6fb","wires":[["51df8658.dfdaf8","37c6647e.c307dc","aefced2b.6dfb8","c5a251a0.353b9","fd5d17f0.6f26a8","4d64c961.455a88","ee53e5f9.e02c38","ff927cfe.36078","595cc53d.0afe7c","fd294fda.d3f2"]]},{"id":"5ec7ba5.53a6544","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":1539.8571662902832,"y":417.8928642272949,"z":"91b54cc.abe6fb","wires":[]},{"id":"77ebcf17.0833d","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1286.3571662902832,"y":418.6428642272949,"z":"91b54cc.abe6fb","wires":[["5ec7ba5.53a6544","15f363e3.8b92ac"]]},{"id":"85773de1.18cd6","type":"set","name":"set error-message","xml":"<set>\n<parameter name=\"error-message\" value=\"Failed to persist self-serve vf-module assignments during assign in MD-SAL\" />","comments":"","x":2453.571432931083,"y":2513.2380597250803,"z":"91b54cc.abe6fb","wires":[]},{"id":"ea51742f.770a78","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":542.2857131958008,"y":2205.8096351623535,"z":"91b54cc.abe6fb","wires":[["5c76fc7c.9945a4","c3a314d.6ed30e8"]]},{"id":"c3a314d.6ed30e8","type":"break","name":"break","xml":"<break>\n","comments":"","x":719.2857197352819,"y":2648.0954072134837,"z":"91b54cc.abe6fb","wires":[]},{"id":"b94864ab.41a158","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1514.1071701049805,"y":2574.642890930176,"z":"91b54cc.abe6fb","wires":[["e31d5d91.e1082"]]},{"id":"e31d5d91.e1082","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=\"`'DONE: ' + $ss.capability-dg`\"/>\n\n","comments":"","outputs":1,"x":1657.8571701049805,"y":2573.392890930176,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"43c3be4e.88c54","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=\"DONE with vfmodule-ra-assignment\"/>\n\n","comments":"","outputs":1,"x":1066.6071472167969,"y":1459.6428565979004,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"6ee21bc.7790ce4","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":814.8571602957591,"y":1272.857115336827,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"334378e9.992958","type":"switchNode","name":"switch prop.controller.user","xml":"<switch test='`$prop.controller.user`'>\n","comments":"","outputs":1,"x":403.57139587402344,"y":1273.2857360839844,"z":"91b54cc.abe6fb","wires":[["5f059ca4.ecd6d4"]]},{"id":"5f059ca4.ecd6d4","type":"failure","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":603.428491319929,"y":1272.8571506227768,"z":"91b54cc.abe6fb","wires":[["6ee21bc.7790ce4"]]}]
\ No newline at end of file
+[\r
+    {\r
+        "id": "ac4672ac.5506d",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 188.5863037109375,\r
+        "y": 82.87202453613281,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "317db8fd.6a2138"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5ad093b4.b05f9c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 211.77679443359375,\r
+        "y": 197.72124099731445,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "1da7f042.70418",\r
+                "cd953152.81acb",\r
+                "96a7ad27.1cb38",\r
+                "78d86895.250bc8",\r
+                "7d46526.17c5aac",\r
+                "beeecd6c.915e8",\r
+                "cdf4ff1.5e539",\r
+                "d2d53277.c8e3b",\r
+                "4d9da943.9b5318",\r
+                "74e369b1.130768"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1172be.64de4d8",\r
+        "type": "method",\r
+        "name": "method self-serve-vf-module-assign",\r
+        "xml": "<method rpc='self-serve-vf-module-assign' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 292.3482131958008,\r
+        "y": 137.57837963104248,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "5ad093b4.b05f9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "317db8fd.6a2138",\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='${project.version}'>",\r
+        "outputs": 1,\r
+        "x": 450.82450103759766,\r
+        "y": 83.0625171661377,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "f1172be.64de4d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cd953152.81acb",\r
+        "type": "switchNode",\r
+        "name": "switch vf-module-parameters.param_length",\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.vf-module-parameters.param_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 526.8363342285156,\r
+        "y": 1400.2411880493164,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "1cade304.1c3bbd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1cade304.1c3bbd",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 786.8363647460938,\r
+        "y": 1400.2411880493164,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "da6ecb81.86ff58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "55d6d80f.981a78",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:self-serve-vfmodule-ra-assignment",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vfmodule-ra-assignment' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1328.5506134033203,\r
+        "y": 1447.5269384384155,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "b1e02e63.0273f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd16b308.30dcd",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1809.2648544311523,\r
+        "y": 1447.0983419418335,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f6c740a2.a923e",\r
+        "type": "for",\r
+        "name": "foreach vf-module-parameters.param[]",\r
+        "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 812.1222991943359,\r
+        "y": 1710.4197750091553,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "7eddc009.26c91",\r
+                "d8e56ff1.4693a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1da7f042.70418",\r
+        "type": "set",\r
+        "name": "set ss.capability.execution-order[]",\r
+        "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='generate-name' />\n<parameter name='ss.capability.execution-order[1]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[2]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[3]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[4]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[7]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[8]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[11]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[12]' value='aai-vf-module-put' />\n<parameter name='ss.capability.execution-order_length' value='13' />\n",\r
+        "comments": "",\r
+        "x": 499.00296783447266,\r
+        "y": 1262.3006677627563,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "96a7ad27.1cb38",\r
+        "type": "for",\r
+        "name": "foreach capability-order[]",\r
+        "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 467.7649230957031,\r
+        "y": 1566.2410678863525,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "7e687860.5de498",\r
+                "baaad7ca.98ffc8",\r
+                "f6c740a2.a923e",\r
+                "dc8699f7.88cd38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7eddc009.26c91",\r
+        "type": "switchNode",\r
+        "name": "switch capability-name param vs. execution",\r
+        "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1178.515121459961,\r
+        "y": 1756.0625677108765,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "24ac9f8a.76969"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "24ac9f8a.76969",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1442.015121459961,\r
+        "y": 1756.3125677108765,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "2b650c7a.d8a5d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1e02e63.0273f",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1655.1219596862793,\r
+        "y": 1446.9555320739746,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "bd16b308.30dcd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e687860.5de498",\r
+        "type": "set",\r
+        "name": "set ss.capability-name",\r
+        "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n\n<!--\nss.capability.execution-order\n-->",\r
+        "comments": "",\r
+        "x": 759.1219787597656,\r
+        "y": 1566.1935195922852,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d8e56ff1.4693a",\r
+        "type": "set",\r
+        "name": "tmp.param.capability-name",\r
+        "xml": "<set>\n<parameter name='tmp.param.capability-name' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.capability-name`' />\n",\r
+        "comments": "",\r
+        "x": 1127.8721466064453,\r
+        "y": 1710.6697778701782,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "baaad7ca.98ffc8",\r
+        "type": "set",\r
+        "name": "set ss.capability-action = assign",\r
+        "xml": "<set>\n<parameter name='ss.capability-action' value='assign' />\n",\r
+        "comments": "",\r
+        "x": 789.8361206054688,\r
+        "y": 1613.1101036071777,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dc8699f7.88cd38",\r
+        "type": "set",\r
+        "name": "set capability-dg with 'self-serve-' + capability-name",\r
+        "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",\r
+        "comments": "",\r
+        "x": 852.1695861816406,\r
+        "y": 1661.7649745941162,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "27bec64f.ffd41a",\r
+        "type": "set",\r
+        "name": "set sdnc-generated-cloud-resources = true",\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.sdnc-generated-cloud-resources' \n\tvalue='true' />\n",\r
+        "comments": "",\r
+        "x": 1114.5386962890625,\r
+        "y": 1148.7293434143066,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f04ab0bc.e42dc",\r
+        "type": "switchNode",\r
+        "name": "switch resource-resolution-data.status",\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.vf-module-parameters.param[$pidx].resource-resolution-data.status`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 893.0984791346959,\r
+        "y": 2241.511119570051,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "c5e63e10.a3093",\r
+                "1f165162.67ec4f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c5e63e10.a3093",\r
+        "type": "other",\r
+        "name": "PENDING",\r
+        "xml": "<outcome value='PENDING'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1162.455695016044,\r
+        "y": 2241.5110757010325,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "61a1d33.b88882c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f165162.67ec4f",\r
+        "type": "other",\r
+        "name": "FAILED",\r
+        "xml": "<outcome value='FAILED'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1155.991511208671,\r
+        "y": 2292.4754063742503,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "61a1d33.b88882c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "61a1d33.b88882c",\r
+        "type": "call",\r
+        "name": "call ss.capability-dg",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1371.1102436610636,\r
+        "y": 2293.2372576849802,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "e5879237.9e628",\r
+                "2526c489.eb217c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5879237.9e628",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1564.1455944606241,\r
+        "y": 2292.9515359061106,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "d2b0c64f.697d78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "beeecd6c.915e8",\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-vf-assign.log' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 413.2013931274414,\r
+        "y": 2755.56672000885,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "78d86895.250bc8",\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": 464.7885932922363,\r
+        "y": 317.1340227127075,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "94c0784a.4efbd8",\r
+                "2302720.f948a8e",\r
+                "4dc65b88.c7c4c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "94c0784a.4efbd8",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 677.419563293457,\r
+        "y": 246.52681350708008,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "c1ab19e3.a09b38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c98eda13.6cb768",\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": 1016.5385932922363,\r
+        "y": 257.4435987472534,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2302720.f948a8e",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 676.5981559753418,\r
+        "y": 385.3126735687256,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "e441c1f2.c0ad1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5150a81.100538",\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": 1032.824234008789,\r
+        "y": 539.5536422729492,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fe3a9a0d.f3a558",\r
+        "type": "set",\r
+        "name": "set vf-module-parameters",\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.vf-module-parameters.'\n  value='vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.' />\n",\r
+        "comments": "",\r
+        "x": 1197.5148315429688,\r
+        "y": 1399.3964304924011,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3c0e578a.5d7b08",\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`' />",\r
+        "comments": "",\r
+        "x": 1087.098403930664,\r
+        "y": 1101.416841506958,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7d46526.17c5aac",\r
+        "type": "set",\r
+        "name": "set ss.capability-type = vf-module",\r
+        "xml": "<set>\n<parameter name='ss.capability-type' value='vf-module' />\n",\r
+        "comments": "",\r
+        "x": 499.9077606201172,\r
+        "y": 1219.3006258010864,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "da6ecb81.86ff58",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 962.1934574672159,\r
+        "y": 1400.1220000130788,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "fe3a9a0d.f3a558",\r
+                "55d6d80f.981a78",\r
+                "dfb33174.f2c9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cdf4ff1.5e539",\r
+        "type": "set",\r
+        "name": "set is-new-vfmodule = true",\r
+        "xml": "<set>\n<parameter name='is-new-vfmodule' value='true' />\n",\r
+        "comments": "",\r
+        "x": 471.6102752685547,\r
+        "y": 197.55074501037598,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f6595347.aba9",\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": 1035.4315338134766,\r
+        "y": 385.0030117034912,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "cb80b6c2.f7f7a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb80b6c2.f7f7a8",\r
+        "type": "switchNode",\r
+        "name": "switch vf-module-id: input vs service-data",\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": 1346.550666809082,\r
+        "y": 385.574426651001,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "cb23fa3d.38db08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb23fa3d.38db08",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1600.4196968078613,\r
+        "y": 385.39588356018066,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "25cbd14.1ae082e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f9f2341.7aeedc",\r
+        "type": "set",\r
+        "name": "set is-new-vfmodule = false",\r
+        "xml": "<set>\n<parameter name='is-new-vfmodule' value='false' />\n",\r
+        "comments": "",\r
+        "x": 1972.5864372253418,\r
+        "y": 384.657772064209,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "25cbd14.1ae082e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1741.836441040039,\r
+        "y": 384.9077682495117,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "5f9f2341.7aeedc",\r
+                "b086c015.9686a",\r
+                "539e0d93.0e4764"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b086c015.9686a",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 1909.7292289733887,\r
+        "y": 470.90774631500244,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "539e0d93.0e4764",\r
+        "type": "set",\r
+        "name": "set vf-module-index = idx",\r
+        "xml": "<set>\n<parameter name='vf-module-index' value='`$idx`' />\n",\r
+        "comments": "",\r
+        "x": 1965.5507507324219,\r
+        "y": 427.94342708587646,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "470bd393.8815fc",\r
+        "type": "set",\r
+        "name": "set new vf-module_length = vf-module-index + 1",\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": 1097.8960151672363,\r
+        "y": 298.7650270462036,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e441c1f2.c0ad1",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 813.7530708312988,\r
+        "y": 385.69353580474854,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "9c5458e2.63ba88",\r
+                "f6595347.aba9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2ad673d.c9d758",\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' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length + 1`' />\n",\r
+        "comments": "",\r
+        "x": 1583.0030937194824,\r
+        "y": 497.4435405731201,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9c5458e2.63ba88",\r
+        "type": "switchNode",\r
+        "name": "switch is-new-vfmodule",\r
+        "xml": "<switch test='`$is-new-vfmodule`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1021.2530670166016,\r
+        "y": 455.2649154663086,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "328de05d.d7c21"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "328de05d.d7c21",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1219.110221862793,\r
+        "y": 454.8363628387451,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "b1cc1eae.576a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c1ab19e3.a09b38",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 820.2530670166016,\r
+        "y": 278.19353008270264,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "470bd393.8815fc",\r
+                "c98eda13.6cb768"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4dc65b88.c7c4c4",\r
+        "type": "other",\r
+        "name": "0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 678.5863037109375,\r
+        "y": 316.6220245361328,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "c1ab19e3.a09b38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2d53277.c8e3b",\r
+        "type": "switchNode",\r
+        "name": "switch is-new-vfmodule",\r
+        "xml": "<switch test='`$is-new-vfmodule`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 464.3363037109375,\r
+        "y": 540.3720245361328,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "228816c9.7d6b7a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "228816c9.7d6b7a",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 662.1934585571289,\r
+        "y": 539.9434719085693,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "160cf147.59b4af"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9660a91.81f1358",\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.vf-module-topology-identifier.vf-module-id' \n    value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-name' \n    value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-topology-identifier.vf-module-type' \n    value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.tenant' \n    value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-cloud-region' \n    value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli'\n    value='`$vf-module-topology-operation-input.vf-module-request-input.aic-clli`' />",\r
+        "comments": "",\r
+        "x": 1078.0863189697266,\r
+        "y": 585.3720941543579,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d0c524cc.997e98",\r
+        "type": "set",\r
+        "name": "set from DB",\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.onap-model-information.model-invariant-uuid'\n  value='`$db.vf-module-model.invariant-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 1443.0980796813965,\r
+        "y": 637.8155345916748,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9632b3a5.151f7",\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": 1086.9551544189453,\r
+        "y": 660.6399784088135,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "d993041d.727fe8",\r
+                "7b777471.7e5a6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d993041d.727fe8",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1292.621826171875,\r
+        "y": 637.7829418182373,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "d0c524cc.997e98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b777471.7e5a6c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1294.050422668457,\r
+        "y": 682.0685329437256,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "23246502.21d58a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "23246502.21d58a",\r
+        "type": "set",\r
+        "name": "set from input",\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.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": 1448.3361587524414,\r
+        "y": 681.4971051216125,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9b1fd622.5ea208",\r
+        "type": "set",\r
+        "name": "set from DB",\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.onap-model-information.model-uuid'\n  value='`$db.vf-module-model.uuid`' />\n",\r
+        "comments": "",\r
+        "x": 1444.050350189209,\r
+        "y": 726.3542108535767,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a9b9767.d0f3d88",\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": 1059.5741729736328,\r
+        "y": 749.1787157058716,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "95b67445.582658",\r
+                "f28422f1.a8a5a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "95b67445.582658",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1293.574146270752,\r
+        "y": 726.321647644043,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "9b1fd622.5ea208"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f28422f1.a8a5a",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1295.002742767334,\r
+        "y": 770.6072387695312,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "5b080c13.af5d04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5b080c13.af5d04",\r
+        "type": "set",\r
+        "name": "set from input",\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.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": 1449.2884788513184,\r
+        "y": 770.0358109474182,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3e2787e5.70ce38",\r
+        "type": "set",\r
+        "name": "set from DB",\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.onap-model-information.model-version'\n  value='`$db.vf-module-model.version`' />\n",\r
+        "comments": "",\r
+        "x": 1435.1932830810547,\r
+        "y": 815.2114181518555,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d072296.6aca9d8",\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": 1061.7170448303223,\r
+        "y": 838.0358629226685,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "ae7bcfb3.5f0d2",\r
+                "153e40d6.cb774f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae7bcfb3.5f0d2",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1284.7170295715332,\r
+        "y": 815.178825378418,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "3e2787e5.70ce38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "153e40d6.cb774f",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1286.1456260681152,\r
+        "y": 859.4644165039062,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "ab4b217e.693c2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ab4b217e.693c2",\r
+        "type": "set",\r
+        "name": "set from input",\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.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": 1440.4313621520996,\r
+        "y": 858.8929886817932,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "59cb1887.519c68",\r
+        "type": "set",\r
+        "name": "set from DB",\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.onap-model-information.model-name'\n  value='`$db.vf-module-model.name`' />\n",\r
+        "comments": "",\r
+        "x": 1435.1932830810547,\r
+        "y": 902.3542404174805,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e085243.3e05cd8",\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": 1058.7170448303223,\r
+        "y": 925.1786851882935,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "4f31d90c.74c998",\r
+                "84e2607f.f6a01"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f31d90c.74c998",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1284.7170295715332,\r
+        "y": 902.321647644043,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "59cb1887.519c68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84e2607f.f6a01",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1286.1456260681152,\r
+        "y": 946.6072387695312,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "6e518b97.0cd334"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e518b97.0cd334",\r
+        "type": "set",\r
+        "name": "set from input",\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.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": 1440.4313621520996,\r
+        "y": 946.0358109474182,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ec7b65fb.fc6018",\r
+        "type": "set",\r
+        "name": "set model-customization-uuid",\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.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": 1072.1694030761719,\r
+        "y": 999.1161699295044,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "63af0c3d.77f934",\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.' />",\r
+        "comments": "",\r
+        "x": 1028.824478149414,\r
+        "y": 1053.8008728027344,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "160cf147.59b4af",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 818.2887191772461,\r
+        "y": 539.7212162017822,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "9632b3a5.151f7",\r
+                "a9b9767.d0f3d88",\r
+                "d072296.6aca9d8",\r
+                "e085243.3e05cd8",\r
+                "ec7b65fb.fc6018",\r
+                "63af0c3d.77f934",\r
+                "9660a91.81f1358",\r
+                "f5150a81.100538",\r
+                "3c0e578a.5d7b08",\r
+                "27bec64f.ffd41a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd621f57.8792a",\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": 1615.5863227844238,\r
+        "y": 453.62203216552734,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b1cc1eae.576a8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1362.0863227844238,\r
+        "y": 454.37203216552734,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "dd621f57.8792a",\r
+                "f2ad673d.c9d758"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b650c7a.d8a5d4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 618.0148696899414,\r
+        "y": 2241.538803100586,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "f04ab0bc.e42dc",\r
+                "9691a52d.6666b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9691a52d.6666b8",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 796.4434356689453,\r
+        "y": 2510.9673385620117,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2526c489.eb217c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1588.4076690673828,\r
+        "y": 2438.943384170532,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "3c2b90e5.13698"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3c2b90e5.13698",\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=\"`'DONE: ' + $ss.capability-dg`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1732.1576690673828,\r
+        "y": 2437.693384170532,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dfb33174.f2c9c",\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=\"DONE with vfmodule-ra-assignment\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1142.3363037109375,\r
+        "y": 1495.3720245361328,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f918c25.18662",\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": 890.5863167898997,\r
+        "y": 1308.5862832750595,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4d9da943.9b5318",\r
+        "type": "switchNode",\r
+        "name": "switch prop.controller.user",\r
+        "xml": "<switch test='`$prop.controller.user`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 479.30055236816406,\r
+        "y": 1309.0149040222168,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "7e82a787.ebfeb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e82a787.ebfeb8",\r
+        "type": "failure",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 679.1576478140696,\r
+        "y": 1308.5863185610092,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "8f918c25.18662"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "74e369b1.130768",\r
+        "type": "call",\r
+        "name": "call self-serve-vf-module-mdsal-put",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-mdsal-put' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 496.5741882324219,\r
+        "y": 2650.58260345459,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "72e787c4.788818",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`$error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1958.5863037109375,\r
+        "y": 2376.507080078125,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d2b0c64f.697d78",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1734.0270718165812,\r
+        "y": 2292.0185897009715,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            [\r
+                "72e787c4.788818",\r
+                "245c83ad.8fed6c",\r
+                "c9140ce7.8a308"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "245c83ad.8fed6c",\r
+        "type": "call",\r
+        "name": "call self-serve-vf-module-mdsal-put",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-mdsal-put' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2033.2294006347656,\r
+        "y": 2334.0579681396484,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9140ce7.8a308",\r
+        "type": "set",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name='error-message' value=\"`'Encountered error from ' + $ss.capability-dg + ' with error: ' + $error-message`\" />",\r
+        "comments": "",\r
+        "x": 1971.4439086914062,\r
+        "y": 2291.5579509735107,\r
+        "z": "6a89d3e3.fb4ddc",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-mdsal-put.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-mdsal-put.json
new file mode 100644 (file)
index 0000000..a71fa06
--- /dev/null
@@ -0,0 +1,184 @@
+[\r
+    {\r
+        "id": "3bf8c671.7f376a",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 212.8720245361328,\r
+        "y": 81.44345092773438,\r
+        "z": "52d92258.1c8e7c",\r
+        "wires": [\r
+            [\r
+                "dfbef821.00c2d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b80a72e.2a60b8",\r
+        "type": "method",\r
+        "name": "method self-serve-vf-module-mdsal-put",\r
+        "xml": "<method rpc='self-serve-vf-module-mdsal-put' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 357.8839416503906,\r
+        "y": 146.14980506896973,\r
+        "z": "52d92258.1c8e7c",\r
+        "wires": [\r
+            [\r
+                "3703bd36.764b22"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dfbef821.00c2d8",\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='${project.version}'>",\r
+        "outputs": 1,\r
+        "x": 475.11022186279297,\r
+        "y": 81.63394355773926,\r
+        "z": "52d92258.1c8e7c",\r
+        "wires": [\r
+            [\r
+                "4b80a72e.2a60b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3703bd36.764b22",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 636.6220474243164,\r
+        "y": 291.443452835083,\r
+        "z": "52d92258.1c8e7c",\r
+        "wires": [\r
+            [\r
+                "fa0889c9.30fd08",\r
+                "7f28b6cc.262928",\r
+                "bba1c88d.c97208",\r
+                "8ce26831.f031e8",\r
+                "e45f0d28.1cec2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fa0889c9.30fd08",\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 + '/' + $prop.restapi.ss.vfmodule.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ss-vfmodule\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1027.1694793701172,\r
+        "y": 409.067419052124,\r
+        "z": "52d92258.1c8e7c",\r
+        "wires": [\r
+            [\r
+                "9648b461.f14b68",\r
+                "7d59a7d6.4df008"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9648b461.f14b68",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1310.5131568908691,\r
+        "y": 438.06558895111084,\r
+        "z": "52d92258.1c8e7c",\r
+        "wires": [\r
+            [\r
+                "318b6c3c.6a17d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d59a7d6.4df008",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1299.6917686462402,\r
+        "y": 384.5655927658081,\r
+        "z": "52d92258.1c8e7c",\r
+        "wires": [\r
+            [\r
+                "318b6c3c.6a17d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7f28b6cc.262928",\r
+        "type": "set",\r
+        "name": "set vf data for restapi-call-node",\r
+        "xml": "<set>\n<parameter name='vf.vf-module-id'\n    value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />\n<parameter name='vf.vf-module-data.sdnc-request-header.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />\n<parameter name='vf.vf-module-data.request-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />\n<parameter name='vf.vf-module-data.service-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />\n<parameter name='vf.vf-module-data.vnf-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />\n<parameter name='vf.vf-module-data.vf-module-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />\n<parameter name='vf.vf-module-data.vf-module-topology.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />\n<parameter name='vf.vf-module-data.vf-module-level-oper-status.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.request-version'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.tenant'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />",\r
+        "comments": "",\r
+        "x": 993.6815032958984,\r
+        "y": 193.18542575836182,\r
+        "z": "52d92258.1c8e7c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bba1c88d.c97208",\r
+        "type": "execute",\r
+        "name": "generate ss-vfmodule url replace service-instance-id",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.ss-vfmodule-assignments`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1063.6814422607422,\r
+        "y": 239.93548774719238,\r
+        "z": "52d92258.1c8e7c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ce26831.f031e8",\r
+        "type": "execute",\r
+        "name": "generate ss-vfmodule url - replace vnf-id",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n    <parameter name=\"target\" value=\"{vnf-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1024.2171478271484,\r
+        "y": 289.24438762664795,\r
+        "z": "52d92258.1c8e7c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e45f0d28.1cec2",\r
+        "type": "execute",\r
+        "name": "generate ss-vfmodule url - replace vf-module-id",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n    <parameter name=\"target\" value=\"{vf-module-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1046.1578216552734,\r
+        "y": 339.1608877182007,\r
+        "z": "52d92258.1c8e7c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "318b6c3c.6a17d4",\r
+        "type": "set",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Failed to persist self-serve vf-module assignments during assign in MD-SAL. ' + $error-message`\" />",\r
+        "comments": "",\r
+        "x": 1501.0029106140137,\r
+        "y": 384.39960289001465,\r
+        "z": "52d92258.1c8e7c",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file
index 179abd0..f8c91c7 100644 (file)
-[
-  {
-    "id": "d69b4aac.647588",
-    "type": "dgstart",
-    "name": "DGSTART",
-    "outputs": 1,
-    "x": 121.66666412353516,
-    "y": 59.999996185302734,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "2849e3b8.45bb9c"
-      ]
-    ]
-  },
-  {
-    "id": "853836ae.79c2a8",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 152.14286041259766,
-    "y": 182.27778244018555,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "57aa1f79.ff47b",
-        "fdd51c96.2d89",
-        "5ac18b5f.1d7c44",
-        "29496a14.3d5ef6",
-        "cf3af1fb.cae0d",
-        "2989260.b2650da",
-        "442acc2c.485fa4",
-        "595e6289.903d8c",
-        "2e34ccd3.bb5994"
-      ]
-    ]
-  },
-  {
-    "id": "8eef5a36.786b28",
-    "type": "method",
-    "name": "method self-serve-vnf-assign",
-    "xml": "<method rpc='self-serve-vnf-assign' mode='sync'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 238.42857360839844,
-    "y": 114.7063512802124,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "853836ae.79c2a8"
-      ]
-    ]
-  },
-  {
-    "id": "2849e3b8.45bb9c",
-    "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": 396.9048614501953,
-    "y": 60.19048881530762,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "8eef5a36.786b28"
-      ]
-    ]
-  },
-  {
-    "id": "fdd51c96.2d89",
-    "type": "switchNode",
-    "name": "switch vnf-parameters-data.param_length",
-    "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 440.34532165527344,
-    "y": 1402.512001991272,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "60e3d6fb.cf4158"
-      ]
-    ]
-  },
-  {
-    "id": "60e3d6fb.cf4158",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 702.3453521728516,
-    "y": 1402.512001991272,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "d6105627.c8e418"
-      ]
-    ]
-  },
-  {
-    "id": "b53240df.c07bf",
-    "type": "call",
-    "name": "call GENERIC-RESOURCE-API:self-serve-ra-assignment",
-    "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-ra-assignment' mode='sync' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1217.6310119628906,
-    "y": 1452.0834331512451,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "2e191127.f108ee"
-      ]
-    ]
-  },
-  {
-    "id": "5891962b.ba3ee8",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n",
-    "comments": "",
-    "x": 1689.3452529907227,
-    "y": 1451.654836654663,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "6efb148b.cf375c",
-    "type": "for",
-    "name": "foreach vnf-parameters-data.param[]",
-    "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 665.5241241455078,
-    "y": 1770.012080192566,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "65887e2e.f61d8",
-        "52e1b29f.bb361c"
-      ]
-    ]
-  },
-  {
-    "id": "57aa1f79.ff47b",
-    "type": "set",
-    "name": "set ss.capability.execution-order[]",
-    "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='generate-name' />\n<parameter name='ss.capability.execution-order[1]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[2]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[3]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[4]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[7]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[8]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[11]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[12]' value='aai-vnf-put' />\n<parameter name='ss.capability.execution-order_length' value='13' />\n",
-    "comments": "",
-    "x": 414.1905059814453,
-    "y": 1241.0001363754272,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "5ac18b5f.1d7c44",
-    "type": "for",
-    "name": "foreach capability[]",
-    "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 369.59535217285156,
-    "y": 1510.1190967559814,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "38b7eff2.abaa",
-        "d79a38d7.5d4d98",
-        "6efb148b.cf375c",
-        "13e94191.0506de"
-      ]
-    ]
-  },
-  {
-    "id": "52e1b29f.bb361c",
-    "type": "switchNode",
-    "name": "switch capability-name",
-    "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 969.9169464111328,
-    "y": 1815.654872894287,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "e9beff60.c1b47"
-      ]
-    ]
-  },
-  {
-    "id": "e9beff60.c1b47",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1233.4169464111328,
-    "y": 1815.904872894287,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "5bdd6d8.cb05594"
-      ]
-    ]
-  },
-  {
-    "id": "2e191127.f108ee",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1535.2023582458496,
-    "y": 1451.5120267868042,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "5891962b.ba3ee8"
-      ]
-    ]
-  },
-  {
-    "id": "38b7eff2.abaa",
-    "type": "set",
-    "name": "set ss.capability-name",
-    "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n<!--\nss.capability.execution-order[]\n-->",
-    "comments": "",
-    "x": 625.9524078369141,
-    "y": 1510.071548461914,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "65887e2e.f61d8",
-    "type": "set",
-    "name": "tmp.param.capability-name",
-    "xml": "<set>\n<parameter name='tmp.param.capability-name' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.capability-name`' />\n",
-    "comments": "",
-    "x": 981.2739715576172,
-    "y": 1770.2620830535889,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "d79a38d7.5d4d98",
-    "type": "set",
-    "name": "set ss.capability-action = assign",
-    "xml": "<set>\n<parameter name='ss.capability-action' value='assign' />\n",
-    "comments": "",
-    "x": 654.6665496826172,
-    "y": 1556.9881324768066,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "13e94191.0506de",
-    "type": "set",
-    "name": "set capability-dg with 'self-serve-' + capability-name",
-    "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",
-    "comments": "",
-    "x": 717.1786422729492,
-    "y": 1610.464376449585,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "29496a14.3d5ef6",
-    "type": "set",
-    "name": "set sdnc-generated-cloud-resources = true",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.sdnc-generated-cloud-resources' value='true' />\n",
-    "comments": "",
-    "x": 443.15480041503906,
-    "y": 1294.750144958496,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "8cef310a.fddca",
-    "type": "block",
-    "name": "block",
-    "xml": "<block>",
-    "atomic": "false",
-    "comments": "",
-    "outputs": 1,
-    "x": 699.5952033996582,
-    "y": 575.4642992019653,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "cb0b24ee.fbda78",
-        "4678e991.fe0228",
-        "891158b7.7641c8",
-        "19bb5ed9.08b021",
-        "6dc3189.4dc75e8",
-        "7f0c1909.1cc738",
-        "29aed783.5eada8",
-        "b2f7bf66.a949e",
-        "2cb1cef8.ac7872"
-      ]
-    ]
-  },
-  {
-    "id": "cb0b24ee.fbda78",
-    "type": "set",
-    "name": "set vnf-topology data",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-id'\n value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-type'\n value='`$vnf-topology-operation-input.vnf-information.vnf-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-type'\n value='`$db.vf-model.nf-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-role'\n value='`$db.vf-model.nf-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-function'\n value='`$db.vf-model.nf-function`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-code'\n value='`$db.vf-model.nf-code`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.tenant'\n value='`$vnf-topology-operation-input.vnf-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-cloud-region'\n value='`$vnf-topology-operation-input.vnf-request-input.aic-cloud-region`' />\n \n",
-    "comments": "",
-    "x": 915.0951461791992,
-    "y": 576.5238075256348,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "8d586e30.441d2",
-    "type": "set",
-    "name": "set vnf-parameters-data",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.'\n  value='vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.' />\n",
-    "comments": "",
-    "x": 1108.6312408447266,
-    "y": 1402.3808307647705,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "891158b7.7641c8",
-    "type": "set",
-    "name": "set vnf-level-oper-status to PendingCreate",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
-    "comments": "",
-    "x": 980.3851013183594,
-    "y": 1150.5040168762207,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "4678e991.fe0228",
-    "type": "set",
-    "name": "copy input data",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' \n\tvalue='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' \n\tvalue='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' \n\tvalue='$vnf-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' \n\tvalue='$vnf-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.' \n\tvalue='$vnf-topology-operation-input.vnf-request-input.' />\n",
-    "comments": "",
-    "x": 897.7620162963867,
-    "y": 1100.3096561431885,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "f2f46e9c.cd6da",
-    "type": "set",
-    "name": "set from DB",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$db.vf-model.invariant-uuid`' />\n",
-    "comments": "",
-    "x": 1312.0953369140625,
-    "y": 688.8810367584229,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "19bb5ed9.08b021",
-    "type": "switchNode",
-    "name": "switch input model-invariant-uuid",
-    "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 952.9524116516113,
-    "y": 711.7054805755615,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "59da9427.77060c",
-        "e199643e.d97208"
-      ]
-    ]
-  },
-  {
-    "id": "59da9427.77060c",
-    "type": "outcome",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1161.619083404541,
-    "y": 688.8484439849854,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "f2f46e9c.cd6da"
-      ]
-    ]
-  },
-  {
-    "id": "e199643e.d97208",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1163.047679901123,
-    "y": 733.1340351104736,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "e42ceacb.598138"
-      ]
-    ]
-  },
-  {
-    "id": "e42ceacb.598138",
-    "type": "set",
-    "name": "set from input",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n",
-    "comments": "",
-    "x": 1317.3334159851074,
-    "y": 732.5626072883606,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "29f5b35d.29bc7c",
-    "type": "set",
-    "name": "set from DB",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid'\n  value='`$db.vf-model.uuid`' />\n",
-    "comments": "",
-    "x": 1313.047607421875,
-    "y": 777.4197130203247,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "6dc3189.4dc75e8",
-    "type": "switchNode",
-    "name": "switch input model-uuid",
-    "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 922.5714302062988,
-    "y": 800.2442178726196,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "8c03daa9.ef0868",
-        "8ef01a18.f777c8"
-      ]
-    ]
-  },
-  {
-    "id": "8c03daa9.ef0868",
-    "type": "outcome",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1162.571403503418,
-    "y": 777.387149810791,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "29f5b35d.29bc7c"
-      ]
-    ]
-  },
-  {
-    "id": "8ef01a18.f777c8",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1164,
-    "y": 821.6727409362793,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "8f583b38.b3ca88"
-      ]
-    ]
-  },
-  {
-    "id": "8f583b38.b3ca88",
-    "type": "set",
-    "name": "set from input",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n",
-    "comments": "",
-    "x": 1318.2857360839844,
-    "y": 821.1013131141663,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "8ecfcd2a.b444f",
-    "type": "set",
-    "name": "set from DB",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-version'\n  value='`$db.vf-model.version`' />\n",
-    "comments": "",
-    "x": 1310.1905403137207,
-    "y": 866.2769203186035,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "7f0c1909.1cc738",
-    "type": "switchNode",
-    "name": "switch input model-version",
-    "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 933.7143020629883,
-    "y": 889.1013650894165,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "70b1cafe.70c534",
-        "e0d33652.2c6678"
-      ]
-    ]
-  },
-  {
-    "id": "70b1cafe.70c534",
-    "type": "outcome",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1159.7142868041992,
-    "y": 866.244327545166,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "8ecfcd2a.b444f"
-      ]
-    ]
-  },
-  {
-    "id": "e0d33652.2c6678",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1161.1428833007812,
-    "y": 910.5299186706543,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "b303ac7b.e45d2"
-      ]
-    ]
-  },
-  {
-    "id": "b303ac7b.e45d2",
-    "type": "set",
-    "name": "set from input",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-version'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`' />\n",
-    "comments": "",
-    "x": 1315.4286193847656,
-    "y": 909.9584908485413,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "a0c9d49b.ad59b8",
-    "type": "set",
-    "name": "set from DB",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-name'\n  value='`$db.vf-model.name`' />\n",
-    "comments": "",
-    "x": 1310.1905403137207,
-    "y": 953.4197425842285,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "29aed783.5eada8",
-    "type": "switchNode",
-    "name": "switch input model-name",
-    "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 928.7143020629883,
-    "y": 976.2441873550415,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "e66234a9.911278",
-        "adbe9c1f.f9c78"
-      ]
-    ]
-  },
-  {
-    "id": "e66234a9.911278",
-    "type": "outcome",
-    "name": "NULL",
-    "xml": "<outcome value=''>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1159.7142868041992,
-    "y": 953.387149810791,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "a0c9d49b.ad59b8"
-      ]
-    ]
-  },
-  {
-    "id": "adbe9c1f.f9c78",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1161.1428833007812,
-    "y": 997.6727409362793,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "df7a880.bcfde78"
-      ]
-    ]
-  },
-  {
-    "id": "df7a880.bcfde78",
-    "type": "set",
-    "name": "set from input",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-name'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`' />\n",
-    "comments": "",
-    "x": 1315.4286193847656,
-    "y": 997.1013131141663,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "b2f7bf66.a949e",
-    "type": "set",
-    "name": "set vnf-id",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id'\n   value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n",
-    "comments": "",
-    "x": 879.0713729858398,
-    "y": 628.0388450622559,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "2cb1cef8.ac7872",
-    "type": "set",
-    "name": "set model-customization-uuid",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n",
-    "comments": "",
-    "x": 941.4998893737793,
-    "y": 1049.0863914489746,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "595e6289.903d8c",
-    "type": "switchNode",
-    "name": "switch service-data.vnfs.vnf_length",
-    "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 425.7499542236328,
-    "y": 262.4284963607788,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "18255159.e40b7f",
-        "772fa4ef.017aac",
-        "1c932b60.e73ca5"
-      ]
-    ]
-  },
-  {
-    "id": "18255159.e40b7f",
-    "type": "other",
-    "name": "NULL",
-    "xml": "<outcome value=''>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 667.9643402099609,
-    "y": 200.9879274368286,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "92b4b346.1e12f"
-      ]
-    ]
-  },
-  {
-    "id": "548cf92c.4ba008",
-    "type": "set",
-    "name": "set vnf-index=0",
-    "xml": "<set>\n<parameter name='vnf-index' value='0' />\n",
-    "comments": "",
-    "x": 1003.2500457763672,
-    "y": 200.4880018234253,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "772fa4ef.017aac",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 669.1428680419922,
-    "y": 322.60711669921875,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "7437693b.b40168"
-      ]
-    ]
-  },
-  {
-    "id": "5bdd6d8.cb05594",
-    "type": "switchNode",
-    "name": "switch resource-resolution-data.status",
-    "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 504.6788749694824,
-    "y": 2072.472294807434,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "87166833.ca4098",
-        "68489653.550b68"
-      ]
-    ]
-  },
-  {
-    "id": "87166833.ca4098",
-    "type": "other",
-    "name": "PENDING",
-    "xml": "<outcome value='PENDING'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 774.0360908508301,
-    "y": 2072.4722509384155,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "a28cc088.525e6"
-      ]
-    ]
-  },
-  {
-    "id": "68489653.550b68",
-    "type": "other",
-    "name": "FAILED",
-    "xml": "<outcome value='FAILED'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 767.571907043457,
-    "y": 2123.4365816116333,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "a28cc088.525e6"
-      ]
-    ]
-  },
-  {
-    "id": "a28cc088.525e6",
-    "type": "call",
-    "name": "call ss.capability-dg",
-    "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 982.6906394958496,
-    "y": 2124.1984329223633,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "82a3fc61.8f2e5"
-      ]
-    ]
-  },
-  {
-    "id": "71a33c12.b5a3d4",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`\" />\n",
-    "comments": "",
-    "x": 1550.238079071045,
-    "y": 2378.17488861084,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "82a3fc61.8f2e5",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1167.5831489562988,
-    "y": 2124.1984939575195,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "1db677fa.c5f998"
-      ]
-    ]
-  },
-  {
-    "id": "1db677fa.c5f998",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1330.857265472412,
-    "y": 2123.5080347061157,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "71a33c12.b5a3d4",
-        "e1fec547.7327d8",
-        "c36d6a8.879dc98",
-        "32c8d030.41dd8",
-        "c0352a22.0df598"
-      ]
-    ]
-  },
-  {
-    "id": "c36d6a8.879dc98",
-    "type": "execute",
-    "name": "generate ss-vnf url replace service-instance-id",
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.ss-vnf-assignments`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vnf-url\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id`\"/>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1654.190357208252,
-    "y": 2177.024594306946,
-    "z": "2539c931.d4e596",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "c0352a22.0df598",
-    "type": "execute",
-    "name": "execute RestApiCallNode - PUT vnf",
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vnf.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vnf-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ss-vnf\" />\n\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1623.6546516418457,
-    "y": 2279.8818159103394,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "9f3adb33.27f9d8",
-        "d80b620b.99918"
-      ]
-    ]
-  },
-  {
-    "id": "9f3adb33.27f9d8",
-    "type": "not-found",
-    "name": "not-found",
-    "xml": "<outcome value='not-found'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1898.2483177185059,
-    "y": 2333.879969596863,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "b1619288.dfed9"
-      ]
-    ]
-  },
-  {
-    "id": "d80b620b.99918",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1890.6769523620605,
-    "y": 2280.3799896240234,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "b1619288.dfed9"
-      ]
-    ]
-  },
-  {
-    "id": "e1fec547.7327d8",
-    "type": "set",
-    "name": "set vf data for restapi-call-node",
-    "xml": "<set>\n<parameter name='vf.vnf-id'\n    value='`$service-data.vnfs.vnf[$vnf-index].vnf-id`' />\n<parameter name='vf.vnf-data.sdnc-request-header.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.`' />\n<parameter name='vf.vnf-data.request-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.`' />\n<parameter name='vf.vnf-data.service-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.`' />\n<parameter name='vf.vnf-data.vnf-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.`' />\n<parameter name='vf.vnf-data.vnf-topology.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.`' />\n<parameter name='vf.vnf-data.vnf-level-oper-status.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.`' />\n<parameter name='vf.vnf-data.vnf-request-input.vnf-input-parameters.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-input-parameters.`' />\n<parameter name='vf.vnf-data.vnf-request-input.request-version'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.request-version`' />\n<parameter name='vf.vnf-data.vnf-request-input.vnf-name'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-name`' />\n<parameter name='vf.vnf-data.vnf-request-input.tenant'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.tenant`' />\n<parameter name='vf.vnf-data.vnf-request-input.aic-cloud-region'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.aic-cloud-region`' />\n<parameter name='vf.vnf-data.vnf-request-input.aic-clli'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.aic-clli`' />",
-    "comments": "",
-    "x": 1606.6426582336426,
-    "y": 2123.1191062927246,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "32c8d030.41dd8",
-    "type": "execute",
-    "name": "generate ss-vnf url - replace vnf-id",
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss-vnf-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vnf-url\"/>\n    <parameter name=\"target\" value=\"{vnf-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-id`\"/>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1618.4760627746582,
-    "y": 2227.8333625793457,
-    "z": "2539c931.d4e596",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "2989260.b2650da",
-    "type": "execute",
-    "name": "printContext",
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vnf-assign.log' />\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 370.019775390625,
-    "y": 2572.3494453430176,
-    "z": "2539c931.d4e596",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "cf3af1fb.cae0d",
-    "type": "set",
-    "name": "set ss.capability-type = vnf",
-    "xml": "<set>\n<parameter name='ss.capability-type' value='vnf' />\n",
-    "comments": "",
-    "x": 394.0595932006836,
-    "y": 1345.5357904434204,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "d6105627.c8e418",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 867.2023239135742,
-    "y": 1402.8928995132446,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "8d586e30.441d2",
-        "b53240df.c07bf"
-      ]
-    ]
-  },
-  {
-    "id": "727eaad0.1e6e64",
-    "type": "for",
-    "name": "for each existing VNF",
-    "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1016.202392578125,
-    "y": 322.7857942581177,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "f9213ecd.2658a"
-      ]
-    ]
-  },
-  {
-    "id": "f9213ecd.2658a",
-    "type": "switchNode",
-    "name": "switch vnf-id: input vs service-data",
-    "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1293.4880981445312,
-    "y": 322.8572816848755,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "6fc117d2.eaa0b8"
-      ]
-    ]
-  },
-  {
-    "id": "6fc117d2.eaa0b8",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1516.2738647460938,
-    "y": 322.42875385284424,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "f035c4cb.688108"
-      ]
-    ]
-  },
-  {
-    "id": "f035c4cb.688108",
-    "type": "block",
-    "name": "block",
-    "xml": "<block>\n",
-    "atomic": "false",
-    "comments": "",
-    "outputs": 1,
-    "x": 1648.7381172180176,
-    "y": 322.4643144607544,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "ddc53ec7.8a8ad",
-        "a4bfc95d.69a428",
-        "99a6f232.c02bc"
-      ]
-    ]
-  },
-  {
-    "id": "ddc53ec7.8a8ad",
-    "type": "break",
-    "name": "break",
-    "xml": "<break>\n",
-    "comments": "",
-    "x": 1816.6309051513672,
-    "y": 408.4642925262451,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "4d1804cd.00019c",
-    "type": "set",
-    "name": "set new vnf_length = 1",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='1' />\n",
-    "comments": "",
-    "x": 1026.8096160888672,
-    "y": 245.82148456573486,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "a4bfc95d.69a428",
-    "type": "set",
-    "name": "set vnf-index = idx",
-    "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
-    "comments": "",
-    "x": 1847.2024612426758,
-    "y": 365.2499713897705,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "442acc2c.485fa4",
-    "type": "set",
-    "name": "set is-new-vnf = true",
-    "xml": "<set>\n<parameter name='is-new-vnf' value='true' />\n",
-    "comments": "",
-    "x": 380.05958557128906,
-    "y": 182.321439743042,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "99a6f232.c02bc",
-    "type": "set",
-    "name": "set is-new-vnf = false",
-    "xml": "<set>\n<parameter name='is-new-vnf' value='false' />\n",
-    "comments": "",
-    "x": 1855.2381477355957,
-    "y": 321.964316368103,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "7437693b.b40168",
-    "type": "block",
-    "name": "block",
-    "xml": "<block>\n",
-    "atomic": "false",
-    "comments": "",
-    "outputs": 1,
-    "x": 806.4166870117188,
-    "y": 322.2500123977661,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "727eaad0.1e6e64",
-        "fb374db8.2b8eb"
-      ]
-    ]
-  },
-  {
-    "id": "fb374db8.2b8eb",
-    "type": "switchNode",
-    "name": "switch is-new-vnf",
-    "xml": "<switch test='`$is-new-vnf`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1003.9166793823242,
-    "y": 408.82141399383545,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "e7bfcf3d.b7f14"
-      ]
-    ]
-  },
-  {
-    "id": "e7bfcf3d.b7f14",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1183.7738342285156,
-    "y": 408.392861366272,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "aecd914d.44c7b"
-      ]
-    ]
-  },
-  {
-    "id": "92b4b346.1e12f",
-    "type": "block",
-    "name": "block",
-    "xml": "<block>\n",
-    "atomic": "false",
-    "comments": "",
-    "outputs": 1,
-    "x": 821.9166564941406,
-    "y": 200.99999332427979,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "548cf92c.4ba008",
-        "4d1804cd.00019c"
-      ]
-    ]
-  },
-  {
-    "id": "1c932b60.e73ca5",
-    "type": "other",
-    "name": "0",
-    "xml": "<outcome value='0'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 666.4166564941406,
-    "y": 260.7499952316284,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "92b4b346.1e12f"
-      ]
-    ]
-  },
-  {
-    "id": "2e34ccd3.bb5994",
-    "type": "switchNode",
-    "name": "switch is-new-vnf",
-    "xml": "<switch test='`$is-new-vnf`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 367.9166679382324,
-    "y": 576.2500019073486,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "1c1e89f5.887da6"
-      ]
-    ]
-  },
-  {
-    "id": "1c1e89f5.887da6",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 547.7738227844238,
-    "y": 575.8214492797852,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "8cef310a.fddca"
-      ]
-    ]
-  },
-  {
-    "id": "535721ac.1a29a",
-    "type": "set",
-    "name": "set new vnf_length++",
-    "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$service-data.vnfs.vnf_length + 1`' />\n",
-    "comments": "",
-    "x": 1531.6666641235352,
-    "y": 454.99999618530273,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "aecd914d.44c7b",
-    "type": "block",
-    "name": "block",
-    "xml": "<block>\n",
-    "atomic": "false",
-    "comments": "",
-    "outputs": 1,
-    "x": 1329.6666412353516,
-    "y": 407.9999580383301,
-    "z": "2539c931.d4e596",
-    "wires": [
-      [
-        "535721ac.1a29a",
-        "189baa3c.c7d166"
-      ]
-    ]
-  },
-  {
-    "id": "189baa3c.c7d166",
-    "type": "set",
-    "name": "set vnf-index = vnf_length",
-    "xml": "<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",
-    "comments": "",
-    "x": 1541.1666450500488,
-    "y": 407.4999580383301,
-    "z": "2539c931.d4e596",
-    "wires": []
-  },
-  {
-    "id": "b1619288.dfed9",
-    "type": "set",
-    "name": "set error-message",
-    "xml": "<set>\n<parameter name=\"error-message\" value=\"Failed to persist self-serve vnf assignments during assign in MD-SAL\" />",
-    "comments": "",
-    "x": 2110.5952758789062,
-    "y": 2279.2499961853027,
-    "z": "2539c931.d4e596",
-    "wires": []
-  }
-]
+[\r
+    {\r
+        "id": "9fc60e39.2b377",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 210,\r
+        "y": 88.57142639160156,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "2ec6867b.df375a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20969099.af02a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 240.4761962890625,\r
+        "y": 210.84921264648438,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "3fd5632d.c7de6c",\r
+                "6a0b0f74.17f38",\r
+                "2672585d.78d398",\r
+                "26b42539.e67b6a",\r
+                "dfc91ed9.e8c0a",\r
+                "5bbfbcf3.457464",\r
+                "9d35ffb1.ce2cb",\r
+                "737aa51.ec59a5c",\r
+                "bc77197c.29eef8",\r
+                "ec9923c5.9922b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e70b457.6790f8",\r
+        "type": "method",\r
+        "name": "method self-serve-vnf-assign",\r
+        "xml": "<method rpc='self-serve-vnf-assign' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 326.7619094848633,\r
+        "y": 143.27778148651123,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "20969099.af02a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ec6867b.df375a",\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='${project.version}'>",\r
+        "outputs": 1,\r
+        "x": 485.23819732666016,\r
+        "y": 88.76191902160645,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "8e70b457.6790f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a0b0f74.17f38",\r
+        "type": "switchNode",\r
+        "name": "switch vnf-parameters-data.param_length",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 528.6786575317383,\r
+        "y": 1431.0834321975708,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "4da27237.0f806c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4da27237.0f806c",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 790.6786880493164,\r
+        "y": 1431.0834321975708,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "726f4a1f.8ea164"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "888aa7c6.ce34c8",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:self-serve-ra-assignment",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-ra-assignment' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1305.9643478393555,\r
+        "y": 1480.654863357544,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "a974df23.821a7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c16c3113.bc7e5",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1777.6785888671875,\r
+        "y": 1480.226266860962,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "64f35599.f950ac",\r
+        "type": "for",\r
+        "name": "foreach vnf-parameters-data.param[]",\r
+        "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 753.8574600219727,\r
+        "y": 1798.5835103988647,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "11b25862.2716d8",\r
+                "523b1459.d48b5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3fd5632d.c7de6c",\r
+        "type": "set",\r
+        "name": "set ss.capability.execution-order[]",\r
+        "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='generate-name' />\n<parameter name='ss.capability.execution-order[1]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[2]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[3]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[4]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[7]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[8]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[11]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[12]' value='aai-vnf-put' />\n<parameter name='ss.capability.execution-order_length' value='13' />\n",\r
+        "comments": "",\r
+        "x": 502.52384185791016,\r
+        "y": 1269.571566581726,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2672585d.78d398",\r
+        "type": "for",\r
+        "name": "foreach capability[]",\r
+        "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 446.50011444091797,\r
+        "y": 1610.1190719604492,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "6c6b042c.d3a64c",\r
+                "aedbdfe7.8e8a4",\r
+                "64f35599.f950ac",\r
+                "34e1c505.10d7ea"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "523b1459.d48b5c",\r
+        "type": "switchNode",\r
+        "name": "switch capability-name",\r
+        "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1058.2502822875977,\r
+        "y": 1844.226303100586,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "6c805c7a.8fba94"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c805c7a.8fba94",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1260.321647644043,\r
+        "y": 1843.9049158096313,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "87e7082f.14d0a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a974df23.821a7",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1623.5356941223145,\r
+        "y": 1480.083456993103,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "c16c3113.bc7e5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c6b042c.d3a64c",\r
+        "type": "set",\r
+        "name": "set ss.capability-name",\r
+        "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n<!--\nss.capability.execution-order[]\n-->",\r
+        "comments": "",\r
+        "x": 714.2857437133789,\r
+        "y": 1538.642978668213,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "11b25862.2716d8",\r
+        "type": "set",\r
+        "name": "tmp.param.capability-name",\r
+        "xml": "<set>\n<parameter name='tmp.param.capability-name' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.capability-name`' />\n",\r
+        "comments": "",\r
+        "x": 1069.607307434082,\r
+        "y": 1798.8335132598877,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "aedbdfe7.8e8a4",\r
+        "type": "set",\r
+        "name": "set ss.capability-action = assign",\r
+        "xml": "<set>\n<parameter name='ss.capability-action' value='assign' />\n",\r
+        "comments": "",\r
+        "x": 742.999885559082,\r
+        "y": 1585.5595626831055,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "34e1c505.10d7ea",\r
+        "type": "set",\r
+        "name": "set capability-dg with 'self-serve-' + capability-name",\r
+        "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",\r
+        "comments": "",\r
+        "x": 805.5119781494141,\r
+        "y": 1639.0358066558838,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "26b42539.e67b6a",\r
+        "type": "set",\r
+        "name": "set sdnc-generated-cloud-resources = true",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.sdnc-generated-cloud-resources' value='true' />\n",\r
+        "comments": "",\r
+        "x": 531.4881362915039,\r
+        "y": 1323.321575164795,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e67789aa.f9ccd8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 787.928539276123,\r
+        "y": 604.0357294082642,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "bf597400.464cb8",\r
+                "21e596be.e5d4aa",\r
+                "5fcbd71.1253c28",\r
+                "934cd4a8.dc5ce8",\r
+                "ce4ca7fe.3e7cb8",\r
+                "7c33a884.ca3c58",\r
+                "edeb06d4.5eecf8",\r
+                "faebe95e.4f34b8",\r
+                "3872041e.a052dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf597400.464cb8",\r
+        "type": "set",\r
+        "name": "set vnf-topology data",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-id'\n value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-type'\n value='`$vnf-topology-operation-input.vnf-information.vnf-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-type'\n value='`$db.vf-model.nf-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-role'\n value='`$db.vf-model.nf-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-function'\n value='`$db.vf-model.nf-function`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-code'\n value='`$db.vf-model.nf-code`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.tenant'\n value='`$vnf-topology-operation-input.vnf-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-cloud-region'\n value='`$vnf-topology-operation-input.vnf-request-input.aic-cloud-region`' />\n \n",\r
+        "comments": "",\r
+        "x": 1003.4284820556641,\r
+        "y": 605.0952377319336,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8f03299d.ca8b58",\r
+        "type": "set",\r
+        "name": "set vnf-parameters-data",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.'\n  value='vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.' />\n",\r
+        "comments": "",\r
+        "x": 1196.9645767211914,\r
+        "y": 1430.9522609710693,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5fcbd71.1253c28",\r
+        "type": "set",\r
+        "name": "set vnf-level-oper-status to PendingCreate",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",\r
+        "comments": "",\r
+        "x": 1068.7184371948242,\r
+        "y": 1179.0754470825195,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "21e596be.e5d4aa",\r
+        "type": "set",\r
+        "name": "copy input data",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' \n\tvalue='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' \n\tvalue='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' \n\tvalue='$vnf-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' \n\tvalue='$vnf-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.' \n\tvalue='$vnf-topology-operation-input.vnf-request-input.' />\n",\r
+        "comments": "",\r
+        "x": 986.0953521728516,\r
+        "y": 1128.8810863494873,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fb2cfdce.8b138",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$db.vf-model.invariant-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 1400.4286727905273,\r
+        "y": 717.4524669647217,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "934cd4a8.dc5ce8",\r
+        "type": "switchNode",\r
+        "name": "switch input model-invariant-uuid",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1041.2857475280762,\r
+        "y": 740.2769107818604,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "6f767e4d.a5b3a",\r
+                "30cc2f98.3568c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f767e4d.a5b3a",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1249.9524192810059,\r
+        "y": 717.4198741912842,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "fb2cfdce.8b138"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30cc2f98.3568c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1251.381015777588,\r
+        "y": 761.7054653167725,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "943c3d93.373b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "943c3d93.373b6",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 1405.6667518615723,\r
+        "y": 761.1340374946594,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e7f84327.84a63",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid'\n  value='`$db.vf-model.uuid`' />\n",\r
+        "comments": "",\r
+        "x": 1401.3809432983398,\r
+        "y": 805.9911432266235,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ce4ca7fe.3e7cb8",\r
+        "type": "switchNode",\r
+        "name": "switch input model-uuid",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1010.9047660827637,\r
+        "y": 828.8156480789185,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "129c283a.58a938",\r
+                "f388a15f.e6114"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "129c283a.58a938",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1250.9047393798828,\r
+        "y": 805.9585800170898,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "e7f84327.84a63"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f388a15f.e6114",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1252.3333358764648,\r
+        "y": 850.2441711425781,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "f7cc5fcf.99787"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7cc5fcf.99787",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 1406.6190719604492,\r
+        "y": 849.6727433204651,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "35b76f99.a7dea",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-version'\n  value='`$db.vf-model.version`' />\n",\r
+        "comments": "",\r
+        "x": 1398.5238761901855,\r
+        "y": 894.8483505249023,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7c33a884.ca3c58",\r
+        "type": "switchNode",\r
+        "name": "switch input model-version",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1022.0476379394531,\r
+        "y": 917.6727952957153,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "58b3abed.100754",\r
+                "caf817e5.49f0e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "58b3abed.100754",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1248.047622680664,\r
+        "y": 894.8157577514648,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "35b76f99.a7dea"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "caf817e5.49f0e8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1249.476219177246,\r
+        "y": 939.1013488769531,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "ac9f727b.ef4a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac9f727b.ef4a8",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-version'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`' />\n",\r
+        "comments": "",\r
+        "x": 1403.7619552612305,\r
+        "y": 938.5299210548401,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "28c79e76.10a892",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-name'\n  value='`$db.vf-model.name`' />\n",\r
+        "comments": "",\r
+        "x": 1398.5238761901855,\r
+        "y": 981.9911727905273,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "edeb06d4.5eecf8",\r
+        "type": "switchNode",\r
+        "name": "switch input model-name",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1017.0476379394531,\r
+        "y": 1004.8156175613403,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "21506f3d.981f2",\r
+                "aa8a9329.da852"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21506f3d.981f2",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1248.047622680664,\r
+        "y": 981.9585800170898,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "28c79e76.10a892"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa8a9329.da852",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1249.476219177246,\r
+        "y": 1026.2441711425781,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "b6027793.3313e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6027793.3313e8",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-name'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`' />\n",\r
+        "comments": "",\r
+        "x": 1403.7619552612305,\r
+        "y": 1025.672743320465,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "faebe95e.4f34b8",\r
+        "type": "set",\r
+        "name": "set vnf-id",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id'\n   value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n",\r
+        "comments": "",\r
+        "x": 967.4047088623047,\r
+        "y": 656.6102752685547,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3872041e.a052dc",\r
+        "type": "set",\r
+        "name": "set model-customization-uuid",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 1029.8332252502441,\r
+        "y": 1077.6578216552734,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "737aa51.ec59a5c",\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": 514.0832901000977,\r
+        "y": 290.99992656707764,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "c740abf8.58e428",\r
+                "5c2c7ae5.9ba064",\r
+                "1f42e923.85e837"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c740abf8.58e428",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 756.2976760864258,\r
+        "y": 229.55935764312744,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "22af1633.9116da"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ddc7e93e.966958",\r
+        "type": "set",\r
+        "name": "set vnf-index=0",\r
+        "xml": "<set>\n<parameter name='vnf-index' value='0' />\n",\r
+        "comments": "",\r
+        "x": 1091.583381652832,\r
+        "y": 229.05943202972412,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5c2c7ae5.9ba064",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 757.476203918457,\r
+        "y": 351.1785469055176,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "75a231aa.1493a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5bbfbcf3.457464",\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-vnf-assign.log' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 406.92457580566406,\r
+        "y": 2612.3495638668537,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dfc91ed9.e8c0a",\r
+        "type": "set",\r
+        "name": "set ss.capability-type = vnf",\r
+        "xml": "<set>\n<parameter name='ss.capability-type' value='vnf' />\n",\r
+        "comments": "",\r
+        "x": 482.39292907714844,\r
+        "y": 1374.1072206497192,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "726f4a1f.8ea164",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 955.5356597900391,\r
+        "y": 1431.4643297195435,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "8f03299d.ca8b58",\r
+                "888aa7c6.ce34c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d4c51d8c.3fd83",\r
+        "type": "for",\r
+        "name": "for each existing VNF",\r
+        "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1104.5357284545898,\r
+        "y": 351.3572244644165,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "d88cbd0e.fb318"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d88cbd0e.fb318",\r
+        "type": "switchNode",\r
+        "name": "switch vnf-id: input vs service-data",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1381.821434020996,\r
+        "y": 351.4287118911743,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "613296f0.c41d88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "613296f0.c41d88",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1604.6072006225586,\r
+        "y": 351.00018405914307,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "f07dff31.8a8c5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f07dff31.8a8c5",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1737.0714530944824,\r
+        "y": 351.0357446670532,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "71df4665.735218",\r
+                "e54095c.a974a68",\r
+                "2cb82547.83089a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "71df4665.735218",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 1904.964241027832,\r
+        "y": 437.03572273254395,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "35c0989a.5d1028",\r
+        "type": "set",\r
+        "name": "set new vnf_length = 1",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='1' />\n",\r
+        "comments": "",\r
+        "x": 1115.142951965332,\r
+        "y": 274.3929147720337,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e54095c.a974a68",\r
+        "type": "set",\r
+        "name": "set vnf-index = idx",\r
+        "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
+        "comments": "",\r
+        "x": 1935.5357971191406,\r
+        "y": 393.82140159606934,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9d35ffb1.ce2cb",\r
+        "type": "set",\r
+        "name": "set is-new-vnf = true",\r
+        "xml": "<set>\n<parameter name='is-new-vnf' value='true' />\n",\r
+        "comments": "",\r
+        "x": 468.3929214477539,\r
+        "y": 210.89286994934082,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2cb82547.83089a",\r
+        "type": "set",\r
+        "name": "set is-new-vnf = false",\r
+        "xml": "<set>\n<parameter name='is-new-vnf' value='false' />\n",\r
+        "comments": "",\r
+        "x": 1943.5714836120605,\r
+        "y": 350.53574657440186,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "75a231aa.1493a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 894.7500228881836,\r
+        "y": 350.82144260406494,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "d4c51d8c.3fd83",\r
+                "a9dae2bf.27c9d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a9dae2bf.27c9d",\r
+        "type": "switchNode",\r
+        "name": "switch is-new-vnf",\r
+        "xml": "<switch test='`$is-new-vnf`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1092.250015258789,\r
+        "y": 437.3928442001343,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "aafe48b1.4e7ba8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aafe48b1.4e7ba8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1272.1071701049805,\r
+        "y": 436.9642915725708,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "8895a3c6.dce4e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "22af1633.9116da",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 910.2499923706055,\r
+        "y": 229.5714235305786,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "ddc7e93e.966958",\r
+                "35c0989a.5d1028"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f42e923.85e837",\r
+        "type": "other",\r
+        "name": "0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 754.7499923706055,\r
+        "y": 289.32142543792725,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "22af1633.9116da"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bc77197c.29eef8",\r
+        "type": "switchNode",\r
+        "name": "switch is-new-vnf",\r
+        "xml": "<switch test='`$is-new-vnf`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 456.25000381469727,\r
+        "y": 604.8214321136475,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "6a808e60.77a37"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a808e60.77a37",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 636.1071586608887,\r
+        "y": 604.392879486084,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "e67789aa.f9ccd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "204b0359.b69b9c",\r
+        "type": "set",\r
+        "name": "set new vnf_length++",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$service-data.vnfs.vnf_length + 1`' />\n",\r
+        "comments": "",\r
+        "x": 1620,\r
+        "y": 483.57142639160156,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8895a3c6.dce4e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1417.9999771118164,\r
+        "y": 436.5713882446289,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "204b0359.b69b9c",\r
+                "5e9aebe.a0a8114"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5e9aebe.a0a8114",\r
+        "type": "set",\r
+        "name": "set vnf-index = vnf_length",\r
+        "xml": "<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",\r
+        "comments": "",\r
+        "x": 1629.4999809265137,\r
+        "y": 436.0713882446289,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "71d531a5.f9c57",\r
+        "type": "switchNode",\r
+        "name": "switch resource-resolution-data.status",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1017.1429252624512,\r
+        "y": 2015.7144899368286,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "95915292.b1cbe",\r
+                "8847833b.7e141"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "95915292.b1cbe",\r
+        "type": "other",\r
+        "name": "PENDING",\r
+        "xml": "<outcome value='PENDING'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1286.5001411437988,\r
+        "y": 2015.71444606781,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "a8f748b4.9f28e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8847833b.7e141",\r
+        "type": "other",\r
+        "name": "FAILED",\r
+        "xml": "<outcome value='FAILED'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1280.0359573364258,\r
+        "y": 2066.678776741028,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "a8f748b4.9f28e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8f748b4.9f28e8",\r
+        "type": "call",\r
+        "name": "call ss.capability-dg",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1495.1546897888184,\r
+        "y": 2067.440628051758,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "2dd36be3.cf5d44",\r
+                "d2b8fc6a.176c9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2dd36be3.cf5d44",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1700.04732131958,\r
+        "y": 2067.4406547546387,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "8dbc33f.2629cd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "87e7082f.14d0a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 751.2735900878906,\r
+        "y": 2015.527940750122,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "71d531a5.f9c57",\r
+                "90286397.09b08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90286397.09b08",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 915.5593299865723,\r
+        "y": 2391.813596725464,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d2b8fc6a.176c9",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1709.844985961914,\r
+        "y": 2240.7424488067627,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "3117d1e3.ae428e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3117d1e3.ae428e",\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=\"`'EXECUTION DONE: ' + $ss.capability-dg`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1853.594985961914,\r
+        "y": 2239.4924488067627,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9525749b.e0a2a8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`$error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 2113.952507019043,\r
+        "y": 2156.206455230713,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8dbc33f.2629cd",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1889.3931884765625,\r
+        "y": 2067.4322185516357,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            [\r
+                "9525749b.e0a2a8",\r
+                "54bc9834.e72248",\r
+                "175c4397.c22a6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54bc9834.e72248",\r
+        "type": "call",\r
+        "name": "call self-serve-vnf-mdsal-put",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-mdsal-put' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2162.8811264038086,\r
+        "y": 2112.328701019287,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "175c4397.c22a6c",\r
+        "type": "set",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name='error-message' value=\"`'Encountered error from ' + $ss.capability-dg + ' with error: ' + $error-message`\" />",\r
+        "comments": "",\r
+        "x": 2126.8100253513876,\r
+        "y": 2066.971579824175,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ec9923c5.9922b",\r
+        "type": "call",\r
+        "name": "call self-serve-vnf-mdsal-put",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-mdsal-put' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 463.95216369628906,\r
+        "y": 2499.492456436157,\r
+        "z": "2d409653.5d1eca",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-mdsal-put.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-mdsal-put.json
new file mode 100644 (file)
index 0000000..2124ccf
--- /dev/null
@@ -0,0 +1,169 @@
+[\r
+    {\r
+        "id": "56afbbe7.ef1b04",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 192.8720245361328,\r
+        "y": 121.44345092773438,\r
+        "z": "3ce368a2.78f878",\r
+        "wires": [\r
+            [\r
+                "4cb200e9.a9147"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e0bb80b.2c8618",\r
+        "type": "method",\r
+        "name": "method self-serve-vnf-mdsal-put",\r
+        "xml": "<method rpc='self-serve-vnf-mdsal-put' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 340.7410888671875,\r
+        "y": 213.29266166687012,\r
+        "z": "3ce368a2.78f878",\r
+        "wires": [\r
+            [\r
+                "54b0d2ab.4cd77c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4cb200e9.a9147",\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='${project.version}'>",\r
+        "outputs": 1,\r
+        "x": 455.11022186279297,\r
+        "y": 121.63394355773926,\r
+        "z": "3ce368a2.78f878",\r
+        "wires": [\r
+            [\r
+                "1e0bb80b.2c8618"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54b0d2ab.4cd77c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 593.7769775390625,\r
+        "y": 394.4038600921631,\r
+        "z": "3ce368a2.78f878",\r
+        "wires": [\r
+            [\r
+                "fc67bb15.636f18",\r
+                "ed1a2851.984f28",\r
+                "5dff0dd.b9c11f4",\r
+                "f0753190.147fa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed1a2851.984f28",\r
+        "type": "execute",\r
+        "name": "generate ss-vnf url replace service-instance-id",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.ss-vnf-assignments`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vnf-url\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 952.8243865966797,\r
+        "y": 353.6346740722656,\r
+        "z": "3ce368a2.78f878",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0753190.147fa",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode - PUT vnf",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vnf.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vnf-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ss-vnf\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 908.0029144287109,\r
+        "y": 542.2061910629272,\r
+        "z": "3ce368a2.78f878",\r
+        "wires": [\r
+            [\r
+                "f8cd63cc.a44ab",\r
+                "843810fe.b2d4e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f8cd63cc.a44ab",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1185.453758239746,\r
+        "y": 569.0614757537842,\r
+        "z": "3ce368a2.78f878",\r
+        "wires": [\r
+            [\r
+                "b45b5260.c22ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "843810fe.b2d4e",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1177.8823928833008,\r
+        "y": 515.5614957809448,\r
+        "z": "3ce368a2.78f878",\r
+        "wires": [\r
+            [\r
+                "b45b5260.c22ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fc67bb15.636f18",\r
+        "type": "set",\r
+        "name": "set vf data for restapi-call-node",\r
+        "xml": "<set>\n<parameter name='vf.vnf-id'\n    value='`$service-data.vnfs.vnf[$vnf-index].vnf-id`' />\n<parameter name='vf.vnf-data.sdnc-request-header.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.`' />\n<parameter name='vf.vnf-data.request-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.`' />\n<parameter name='vf.vnf-data.service-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.`' />\n<parameter name='vf.vnf-data.vnf-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.`' />\n<parameter name='vf.vnf-data.vnf-topology.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.`' />\n<parameter name='vf.vnf-data.vnf-level-oper-status.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.`' />\n<parameter name='vf.vnf-data.vnf-request-input.vnf-input-parameters.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-input-parameters.`' />\n<parameter name='vf.vnf-data.vnf-request-input.request-version'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.request-version`' />\n<parameter name='vf.vnf-data.vnf-request-input.vnf-name'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-name`' />\n<parameter name='vf.vnf-data.vnf-request-input.tenant'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.tenant`' />\n<parameter name='vf.vnf-data.vnf-request-input.aic-cloud-region'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.aic-cloud-region`' />\n<parameter name='vf.vnf-data.vnf-request-input.aic-clli'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.aic-clli`' />",\r
+        "comments": "",\r
+        "x": 902.4194869995117,\r
+        "y": 284.01490211486816,\r
+        "z": "3ce368a2.78f878",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5dff0dd.b9c11f4",\r
+        "type": "execute",\r
+        "name": "generate ss-vnf url - replace vnf-id",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss-vnf-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vnf-url\"/>\n    <parameter name=\"target\" value=\"{vnf-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-id`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 911.3957901000977,\r
+        "y": 438.7291421890259,\r
+        "z": "3ce368a2.78f878",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b45b5260.c22ef",\r
+        "type": "set",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Failed to persist self-serve vnf assignments during assign in MD-SAL. ' + $error-message`\" />",\r
+        "comments": "",\r
+        "x": 1397.8007164001465,\r
+        "y": 514.4315023422241,\r
+        "z": "3ce368a2.78f878",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file
index 9740439..ab68531 100755 (executable)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "3c926793.88f8e8",\r
+        "id": "b9191fa3.7ca61",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 112,\r
-        "y": 77.02430057525635,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 156.2630157470703,\r
+        "y": 88.76301574707031,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8e22c419.c359c8"\r
+                "dd8ef904.2a0718"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8e22c419.c359c8",\r
+        "id": "dd8ef904.2a0718",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\r
         "comments": "",\r
         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='1-4-2-20181108R1'>",\r
         "outputs": 1,\r
-        "x": 225.85713577270508,\r
-        "y": 116.83383846282959,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 270.1201515197754,\r
+        "y": 128.57255363464355,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "5f18dcaf.1733e4"\r
+                "79e996c5.93c4a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5f18dcaf.1733e4",\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": 225.42862701416016,\r
-        "y": 157.02430057525635,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 269.69164276123047,\r
+        "y": 168.7630157470703,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "bfee1c79.25f4d"\r
+                "fb67aa4b.8284f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fd852c3d.9d104",\r
+        "id": "f89d4b47.20f5c8",\r
         "type": "comment",\r
         "name": "vf-module-topology-operation-assign",\r
         "info": "",\r
         "comments": "",\r
-        "x": 517.3210983276367,\r
-        "y": 20,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 561.584114074707,\r
+        "y": 31.738715171813965,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5621ecb6.141394",\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": 517.1905097961426,\r
-        "y": 332.548122882843,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 562.7035369873047,\r
+        "y": 365.53680992126465,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "27ea8761.a38d7",\r
-                "39338a50.ba0c9e"\r
+                "d3c6b720.c14d58",\r
+                "9bb35c39.b1fef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "27ea8761.a38d7",\r
+        "id": "d3c6b720.c14d58",\r
         "type": "outcome",\r
         "name": "CreateVfModuleInstance",\r
         "xml": "<outcome value='CreateVfModuleInstance'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 779.2381248474121,\r
-        "y": 309.6910090446472,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 833.5011749267578,\r
+        "y": 333.92968559265137,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "e24ff94b.792af8"\r
+                "a73a78b9.a830b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "39338a50.ba0c9e",\r
+        "id": "9bb35c39.b1fef",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 722.9047698974609,\r
-        "y": 355.07199811935425,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 768.417797088623,\r
+        "y": 398.06068897247314,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d1fcb1c9.df0ba"\r
+                "3e5eb577.046eda"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e24ff94b.792af8",\r
+        "id": "a73a78b9.a830b8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 969.0952892303467,\r
-        "y": 309.69104051589966,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1023.3583393096924,\r
+        "y": 333.9297170639038,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d1fcb1c9.df0ba",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"If svc-action is 'assign' then request-action must be 'CreateVfModuleInstance'\" />\n",\r
-        "comments": "",\r
-        "x": 987.9047775268555,\r
-        "y": 355.40531063079834,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "b13c4350.370938",\r
+        "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": 564.5237770080566,\r
-        "y": 423.6910729408264,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 610.0368041992188,\r
+        "y": 466.6797637939453,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "571b8345.3afedc",\r
-                "dee1e46d.9ae7c8"\r
+                "c0e16531.bf13d8",\r
+                "3ed7b745.5102d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e0e2e8ab.4a9f9",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'No model found for VF module customization UUID ' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`\" />\n",\r
-        "comments": "",\r
-        "x": 1005.9521980285645,\r
-        "y": 448.1195454597473,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "571b8345.3afedc",\r
+        "id": "c0e16531.bf13d8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 830.3094673156738,\r
-        "y": 404.0719037055969,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 875.8224945068359,\r
+        "y": 447.0605945587158,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "a50bc128.476618"\r
+                "2172bacb.fd1c86"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dee1e46d.9ae7c8",\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": 838.8808975219727,\r
-        "y": 448.3576169013977,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 884.3939247131348,\r
+        "y": 491.3463077545166,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "e0e2e8ab.4a9f9"\r
+                "c639de59.ae251"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a50bc128.476618",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error reading VF_MODULE_MODEL table\" />\n",\r
-        "comments": "",\r
-        "x": 1005.309398651123,\r
-        "y": 403.21480417251587,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fe2663d3.ad286",\r
+        "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": 559.6190414428711,\r
-        "y": 632.2624082565308,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 603.8820571899414,\r
+        "y": 644.0011234283447,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "c2c56698.b84c38",\r
-                "69d3fcd2.10cc54"\r
+                "128f7183.82d7ae",\r
+                "6a25eddf.15bb44"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c2c56698.b84c38",\r
+        "id": "128f7183.82d7ae",\r
         "type": "other",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 800.3333129882812,\r
-        "y": 609.4051485061646,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 844.5963287353516,\r
+        "y": 620.1438636779785,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "71fe3c04.e95c14"\r
+                "dbfaf511.5478b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "69d3fcd2.10cc54",\r
+        "id": "6a25eddf.15bb44",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 800.0951538085938,\r
-        "y": 650.3576669692993,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 844.3581695556641,\r
+        "y": 662.0963821411133,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "f260a284.46dcc"\r
+                "7ef59497.ea72ec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "72f655d6.4f3d74",\r
+        "id": "94a28d82.4f01d",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 138.19043731689453,\r
-        "y": 3113.92930662632,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            [\r
-                "32d3cb49.a3ac2c",\r
-                "bd2a2adb.54955",\r
-                "47c04218.47c91c",\r
-                "5d68b4f6.9bd994",\r
-                "4cbe79da.e231f8",\r
-                "2b324bfd.26e0fc",\r
-                "ed77dce7.269d88",\r
-                "62ca20ce.f4db7",\r
-                "cd265369.c8e4",\r
-                "4772b1e6.c27368",\r
-                "533af805.057888",\r
-                "acb49220.447a5",\r
-                "7f55025b.b643ec",\r
-                "87463151.06bbf8",\r
-                "5dbea689.bf65d8",\r
-                "b96e4724.95afc",\r
-                "9aa91724.bae38",\r
-                "1a40ee60.b28b3a",\r
-                "beb8db1.da0a8a8",\r
-                "d321cb9d.153fd8",\r
-                "ed92ecd.0ad519",\r
-                "1d19c87b.60a2d",\r
-                "e7b2dbd5.bd9e",\r
-                "facd6ff7.1eed9",\r
-                "f10f9580.1e0308",\r
-                "e7fac88.832d038",\r
-                "def45b38.4bd55",\r
-                "7f309670.a38298",\r
-                "b80a89b3.da4648",\r
-                "1781a3e7.247ed4",\r
-                "69eb61e5.2ebc48"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "71fe3c04.e95c14",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"There are no VNFs defined in MD-SAL\" />\n",\r
-        "comments": "",\r
-        "x": 966.999927520752,\r
-        "y": 608.6909036636353,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f260a284.46dcc",\r
+        "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": 962.3332977294922,\r
-        "y": 650.0242853164673,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1006.5963134765625,\r
+        "y": 661.7630004882812,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "7deaebc4.ac7614"\r
+                "988df689.061cb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7deaebc4.ac7614",\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": 1213.6665954589844,\r
-        "y": 649.6910133361816,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1257.9296112060547,\r
+        "y": 661.4297285079956,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "51d14b17.854d7c"\r
+                "c657ad4a.55c47"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "51d14b17.854d7c",\r
+        "id": "c657ad4a.55c47",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1443.6666069030762,\r
-        "y": 649.0243263244629,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1487.9296226501465,\r
+        "y": 660.7630414962769,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "77c2e270.ed179c"\r
+                "ae39954d.b28168"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b064f8ff.c2b5c",\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": 508.66666412353516,\r
-        "y": 563.6909074783325,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 552.9296798706055,\r
+        "y": 575.4296226501465,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d54d91d7.8b3e78",\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": 1765.3332443237305,\r
-        "y": 620.024284362793,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1809.5962600708008,\r
+        "y": 631.7629995346069,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a5f7f097.af8f7",\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": 498.6666717529297,\r
-        "y": 700.3576040267944,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 541.6797027587891,\r
+        "y": 727.5963125228882,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "be112994.00d4d8"\r
+                "ca6ccba1.61a798"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "be112994.00d4d8",\r
+        "id": "ca6ccba1.61a798",\r
         "type": "outcome",\r
         "name": "-1",\r
         "xml": "<outcome value='-1'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 677.000057220459,\r
-        "y": 699.6909799575806,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 720.0130882263184,\r
+        "y": 726.9296884536743,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "470db32f.b4b60c"\r
+                "792ace51.b15ed"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "470db32f.b4b60c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unable to find VNF ID ' + $vf-module-topology-operation-input.vnf-information.vnf-id + ' in MD-SAL'`\" />\n",\r
-        "comments": "",\r
-        "x": 836.9999656677246,\r
-        "y": 699.0242834091187,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "32d3cb49.a3ac2c",\r
+        "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": 515.3333930969238,\r
-        "y": 1330.3578004837036,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 559.5964088439941,\r
+        "y": 1342.0965156555176,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "7ab560e4.1a6d38",\r
-                "5f6aa735.a00798"\r
+                "7203a6bd.008058",\r
+                "1ce0b519.1ca75b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ab560e4.1a6d38",\r
+        "id": "7203a6bd.008058",\r
         "type": "other",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 772.7143478393555,\r
-        "y": 1297.5005741119385,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 816.9773635864258,\r
+        "y": 1309.2392892837524,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "a613543c.e2cc28"\r
+                "1d2df677.49743a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a613543c.e2cc28",\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": 960.3333854675293,\r
-        "y": 1298.1673488616943,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1004.5964012145996,\r
+        "y": 1309.9060640335083,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5f6aa735.a00798",\r
+        "id": "1ce0b519.1ca75b",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 773.1428909301758,\r
-        "y": 1361.7864322662354,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 817.4059066772461,\r
+        "y": 1373.5251474380493,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "b60fe042.ca106"\r
+                "7b5c967b.5645e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "da90dded.536778",\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": 1158.3334312438965,\r
-        "y": 1341.97682762146,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1202.5964469909668,\r
+        "y": 1353.715542793274,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d9bea081.a8647",\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": 1117.428524017334,\r
-        "y": 1386.072057723999,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1161.6915397644043,\r
+        "y": 1397.810772895813,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "1df57378.738945"\r
+                "38be826c.5042de"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b60fe042.ca106",\r
+        "id": "7b5c967b.5645e8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 909.8571701049805,\r
-        "y": 1361.7863578796387,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 954.1201858520508,\r
+        "y": 1373.5250730514526,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "da90dded.536778",\r
-                "d9bea081.a8647"\r
+                "3d0e8775.38d2b8",\r
+                "f4745546.3c76c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1df57378.738945",\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": 1621.0476264953613,\r
-        "y": 1385.6434688568115,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1665.3106422424316,\r
+        "y": 1397.3821840286255,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "885ce266.411c5"\r
+                "5b65413c.247c9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "885ce266.411c5",\r
+        "id": "5b65413c.247c9",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2063.666675567627,\r
-        "y": 1385.2149200439453,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2107.9296913146973,\r
+        "y": 1396.9536352157593,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "1d1cc66f.ea78a2"\r
+                "cdf91b0.174e5e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1d1cc66f.ea78a2",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'VF module id ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id\n       + ' already exists, and status is ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.vf-module-level-oper-status.order-status`\" />\n",\r
-        "comments": "",\r
-        "x": 2215.5715560913086,\r
-        "y": 1385.2149066925049,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a40536a4.046de8",\r
+        "id": "2eae9b0c.edb3d4",\r
         "type": "comment",\r
         "name": "make sure this VF module doesn't exist already",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1647.4999732971191,\r
-        "y": 1340.2709608078003,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1691.7629890441895,\r
+        "y": 1352.0096759796143,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bd2a2adb.54955",\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": 525.9999732971191,\r
-        "y": 1441.3576555252075,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 570.2629890441895,\r
+        "y": 1453.0963706970215,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "47c04218.47c91c",\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": 532.4999923706055,\r
-        "y": 1553.857762336731,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 576.7630081176758,\r
+        "y": 1565.596477508545,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b167e5bd.dfc368",\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": 1293.4522514343262,\r
-        "y": 1713.0956888198853,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1337.7152671813965,\r
+        "y": 1724.8344039916992,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5d68b4f6.9bd994",\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": 492.4999122619629,\r
-        "y": 1827.0480289459229,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 536.7629280090332,\r
+        "y": 1838.7867441177368,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8b438660.c4b018"\r
+                "81ee85e4.dedbf8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8b438660.c4b018",\r
+        "id": "81ee85e4.dedbf8",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 637.7856025695801,\r
-        "y": 1827.0480976104736,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 682.0486183166504,\r
+        "y": 1838.7868127822876,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "a98150bd.2afc08"\r
+                "ec2aeced.650af"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a98150bd.2afc08",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unable to find aic-clli in AAI for aic-cloud-region ' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`\" />\n",\r
-        "comments": "",\r
-        "x": 784.9284629821777,\r
-        "y": 1826.6195316314697,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "4cbe79da.e231f8",\r
+        "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": 531.3571281433105,\r
-        "y": 1627.1913003921509,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 575.6201438903809,\r
+        "y": 1638.9300155639648,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "a77893f2.866208",\r
-                "54a4425.3eaf1bc"\r
+                "6f3a4d5a.8ebfd4",\r
+                "9660a46b.1c9ce8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "54a4425.3eaf1bc",\r
+        "id": "9660a46b.1c9ce8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 745.6033210754395,\r
-        "y": 1645.3421564102173,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 789.8663368225098,\r
+        "y": 1657.0808715820312,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "ba04d0eb.3dae9"\r
+                "7adbe623.7575f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ba04d0eb.3dae9",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error retrieving cloud region from AAI\" />\n",\r
-        "comments": "",\r
-        "x": 920.6032943725586,\r
-        "y": 1645.3421926498413,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a77893f2.866208",\r
+        "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": 754.5319175720215,\r
-        "y": 1603.6278896331787,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 798.7949333190918,\r
+        "y": 1614.3666048049927,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "234062c6.8fefc6"\r
+                "799eaa32.6fe824"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "234062c6.8fefc6",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Cloud region not found in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 920.8811950683594,\r
-        "y": 1602.933466911316,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "77c2e270.ed179c",\r
+        "id": "ae39954d.b28168",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1592.0000686645508,\r
-        "y": 647.9440250396729,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1636.263084411621,\r
+        "y": 659.6827402114868,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d54d91d7.8b3e78",\r
-                "bfe3038c.a182"\r
+                "57723ef9.ea31c",\r
+                "c07cd07d.0c75a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bfe3038c.a182",\r
+        "id": "c07cd07d.0c75a",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 1727.0000343322754,\r
-        "y": 669.6106109619141,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1771.2630500793457,\r
+        "y": 681.349326133728,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "904b2f3e.415788",\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": 906.833251953125,\r
-        "y": 1868.44402217865,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 951.0962677001953,\r
+        "y": 1880.1827373504639,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2b324bfd.26e0fc",\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": 550.6903266906738,\r
-        "y": 1891.2684659957886,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 594.9533424377441,\r
+        "y": 1903.0071811676025,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "385357de.ea8398",\r
-                "299c303.4cf2ad"\r
+                "cd2324fc.034808",\r
+                "38df22f.16dd4de"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "385357de.ea8398",\r
+        "id": "cd2324fc.034808",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 756.3569984436035,\r
-        "y": 1868.4114294052124,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 800.6200141906738,\r
+        "y": 1880.1501445770264,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "904b2f3e.415788"\r
+                "952256ff.21f9a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "299c303.4cf2ad",\r
+        "id": "38df22f.16dd4de",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 757.7855949401855,\r
-        "y": 1912.6970205307007,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 802.0486106872559,\r
+        "y": 1924.4357357025146,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "f7953ce0.dfc7c"\r
+                "cb5b92dd.63cc2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7953ce0.dfc7c",\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": 912.0713310241699,\r
-        "y": 1912.1255927085876,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 956.3343467712402,\r
+        "y": 1923.8643078804016,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "733eafb4.30c8d",\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": 907.7855224609375,\r
-        "y": 1956.9826984405518,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 952.0485382080078,\r
+        "y": 1968.7214136123657,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ed77dce7.269d88",\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": 523.3093452453613,\r
-        "y": 1979.8072032928467,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 567.5723609924316,\r
+        "y": 1991.5459184646606,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "9008b525.6a4788",\r
-                "f3c2a46.0aaa8d8"\r
+                "c7ed7b53.7dd0f8",\r
+                "778bc2b7.d82bbc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9008b525.6a4788",\r
+        "id": "c7ed7b53.7dd0f8",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 757.3093185424805,\r
-        "y": 1956.950135231018,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 801.5723342895508,\r
+        "y": 1968.688850402832,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "733eafb4.30c8d"\r
+                "9d20a066.9a052"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f3c2a46.0aaa8d8",\r
+        "id": "778bc2b7.d82bbc",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 758.7379150390625,\r
-        "y": 2001.2357263565063,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 803.0009307861328,\r
+        "y": 2012.9744415283203,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "c4a21df.1175a6"\r
+                "f7d52f4a.cdff6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c4a21df.1175a6",\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": 913.0236511230469,\r
-        "y": 2000.6642985343933,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 957.2866668701172,\r
+        "y": 2012.4030137062073,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1f38b7fe.ab1b8",\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": 904.9284553527832,\r
-        "y": 2045.8399057388306,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 949.1914710998535,\r
+        "y": 2057.5786209106445,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "62ca20ce.f4db7",\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": 531.4522171020508,\r
-        "y": 2068.6643505096436,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 575.7152328491211,\r
+        "y": 2080.4030656814575,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "41183df5.95a124",\r
-                "87e93be5.4c098"\r
+                "9c31df03.57fb6",\r
+                "9f5a3e1a.3ae01"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "41183df5.95a124",\r
+        "id": "9c31df03.57fb6",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 754.4522018432617,\r
-        "y": 2045.807312965393,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 798.715217590332,\r
+        "y": 2057.546028137207,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "1f38b7fe.ab1b8"\r
+                "dac6c331.68c42"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "87e93be5.4c098",\r
+        "id": "9f5a3e1a.3ae01",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 755.8807983398438,\r
-        "y": 2090.0929040908813,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 800.1438140869141,\r
+        "y": 2101.8316192626953,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "5cce1634.662ce8"\r
+                "886a096e.cd9ed8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5cce1634.662ce8",\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": 910.1665344238281,\r
-        "y": 2089.5214762687683,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 954.4295501708984,\r
+        "y": 2101.2601914405823,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c2177442.81abc",\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": 904.9284553527832,\r
-        "y": 2132.9827280044556,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 949.1914710998535,\r
+        "y": 2144.7214431762695,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cd265369.c8e4",\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": 526.4522171020508,\r
-        "y": 2155.8071727752686,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 570.7152328491211,\r
+        "y": 2167.5458879470825,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "68b6f8a8.a68c3",\r
-                "4f8262ee.1ebcac"\r
+                "fec48afa.f578f8",\r
+                "84aba209.b7386"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "68b6f8a8.a68c3",\r
+        "id": "fec48afa.f578f8",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 754.4522018432617,\r
-        "y": 2132.950135231018,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 798.715217590332,\r
+        "y": 2144.688850402832,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "c2177442.81abc"\r
+                "f162ec13.2ea9e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4f8262ee.1ebcac",\r
+        "id": "84aba209.b7386",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 755.8807983398438,\r
-        "y": 2177.2357263565063,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 800.1438140869141,\r
+        "y": 2188.9744415283203,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "2f3b60e4.144198"\r
+                "fef7c2e3.5fc15"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2f3b60e4.144198",\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": 910.1665344238281,\r
-        "y": 2176.6642985343933,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 954.4295501708984,\r
+        "y": 2188.4030137062073,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4772b1e6.c27368",\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": 540.9045524597168,\r
-        "y": 2228.316162109375,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 585.1675682067871,\r
+        "y": 2240.054877281189,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "533af805.057888",\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": 494.09519958496094,\r
-        "y": 1497.0393381118774,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 538.3582153320312,\r
+        "y": 1508.7780532836914,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "acb49220.447a5",\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": 553.6109428405762,\r
-        "y": 1715.6979837417603,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 597.8739585876465,\r
+        "y": 1727.4366989135742,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "59afb518.40828c"\r
+                "6dfb70e4.99bce"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "59afb518.40828c",\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": 801.2894859313965,\r
-        "y": 1715.4479131698608,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 845.5525016784668,\r
+        "y": 1727.1866283416748,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "5978af5d.b1d4a"\r
+                "8d3e1649.827698"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5978af5d.b1d4a",\r
+        "id": "8d3e1649.827698",\r
         "type": "outcome",\r
         "name": "complex",\r
         "xml": "<outcome value='complex'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 970.7538070678711,\r
-        "y": 1714.8407354354858,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1015.0168228149414,\r
+        "y": 1726.5794506072998,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "7b948c9e.d27a6c"\r
+                "89cc33ca.87336"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2a23b2e8.9b4796",\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": 1310.848964691162,\r
-        "y": 1669.269310951233,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1355.1119804382324,\r
+        "y": 1681.0080261230469,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "7b948c9e.d27a6c",\r
+        "id": "89cc33ca.87336",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1130.51566696167,\r
-        "y": 1715.9360990524292,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1174.7786827087402,\r
+        "y": 1727.6748142242432,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "2a23b2e8.9b4796",\r
-                "d28b8bb2.cca418",\r
-                "b167e5bd.dfc368"\r
+                "f7308857.ab0638",\r
+                "f22bbebf.cf96a",\r
+                "77cfe613.fc65c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d28b8bb2.cca418",\r
+        "id": "f22bbebf.cf96a",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 1280.5156288146973,\r
-        "y": 1759.269395828247,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1324.7786445617676,\r
+        "y": 1771.008111000061,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c4f07890.7e2328",\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": 531.0476226806641,\r
-        "y": 186.5481081008911,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 575.3106384277344,\r
+        "y": 198.28682327270508,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "beb8db1.da0a8a8",\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": 436.2622375488281,\r
-        "y": 7324.904296875,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 480.52525329589844,\r
+        "y": 7336.643012046814,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ed92ecd.0ad519",\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": 375.8335418701172,\r
-        "y": 7438.522626876831,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 421.52514266967773,\r
+        "y": 7741.690473556519,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1a40ee60.b28b3a",\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": 392.11924743652344,\r
-        "y": 7181.252753674984,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 436.38226318359375,\r
+        "y": 7192.991468846798,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9aa91724.bae38",\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": 437.00025177001953,\r
-        "y": 7133.038265645504,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 481.26326751708984,\r
+        "y": 7144.776980817318,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d321cb9d.153fd8",\r
-        "type": "execute",\r
-        "name": "printContext",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmodule.log' />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 370.71449279785156,\r
-        "y": 7390.752443313599,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "87463151.06bbf8",\r
+        "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": 456.1429786682129,\r
-        "y": 4335.039919495583,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 500.4059944152832,\r
+        "y": 4346.778634667397,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "87a0c83.d4f18b8",\r
-                "2196c18e.80b246"\r
+                "d74196bc.6b97c8",\r
+                "6e6f18d0.9bdfe8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e5deac0d.5b71f8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'No vf-module found in AAI for vf module ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\" />\n",\r
-        "comments": "",\r
-        "x": 961.1906547546387,\r
-        "y": 4369.801350176334,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "87a0c83.d4f18b8",\r
+        "id": "d74196bc.6b97c8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 631.2146186828613,\r
-        "y": 4303.420541405678,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 675.4776344299316,\r
+        "y": 4315.159256577492,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "c70cad3e.594bf8"\r
+                "7f9d44fc.3db7bc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2196c18e.80b246",\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": 639.7859916687012,\r
-        "y": 4372.039631426334,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 684.0490074157715,\r
+        "y": 4383.778346598148,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "1eb8d0e0.ac8f6f"\r
+                "94bb0c2d.81fb6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d82a525d.d6db7",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating vf-module in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 966.2145729064941,\r
-        "y": 4321.564098000526,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7f55025b.b643ec",\r
+        "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": 479.80978775024414,\r
-        "y": 4210.564148545265,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 524.0728034973145,\r
+        "y": 4222.302863717079,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "79853c6f.4b0794",\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": 1249.8335342407227,\r
-        "y": 5893.192313909531,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1294.096549987793,\r
+        "y": 5904.931029081345,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "ac4bfc2f.5cef8",\r
-                "85becea2.445cd8"\r
+                "6418f89e.efde28",\r
+                "3c5f7fe1.c5c95"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ac4bfc2f.5cef8",\r
+        "id": "6418f89e.efde28",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1469.666877746582,\r
-        "y": 5864.064058065414,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1513.9298934936523,\r
+        "y": 5875.802773237228,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "f57dfbe7.74b008"\r
+                "b4477865.f6c3d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "85becea2.445cd8",\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": 1478.238410949707,\r
-        "y": 5916.683202505112,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1522.5014266967773,\r
+        "y": 5928.421917676926,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "85b716e7.f0d18"\r
+                "a8844fc9.d802f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d4f9dca3.c75278",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating vf-module relationships in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 1804.6670112609863,\r
-        "y": 5883.873954534531,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5dbea689.bf65d8",\r
+        "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": 429.50025939941406,\r
-        "y": 5658.5258667469025,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 473.7632751464844,\r
+        "y": 5670.264581918716,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "f3590468.ca37a8"\r
+                "3890cbf7.238894"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7375d6bd.7dd03",\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": 826.5002708435059,\r
-        "y": 6077.192698955536,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 870.7632865905762,\r
+        "y": 6088.93141412735,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "9c50ae11.ecd5d8"\r
+                "4bd4ba04.8daa14"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "da118248.b8eea8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'No l3-network found in AAI for network ID '\n      + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`\" />\n",\r
-        "comments": "",\r
-        "x": 1806.5003852844238,\r
-        "y": 5933.858495473862,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "b96e4724.95afc",\r
+        "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": 403.92879486083984,\r
-        "y": 7025.571922242641,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 448.19181060791016,\r
+        "y": 7037.310637414455,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "3aa89432.ca7a1c"\r
+                "c9fac662.7812b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3aa89432.ca7a1c",\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": 598.928825378418,\r
-        "y": 7024.904930055141,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 643.1918411254883,\r
+        "y": 7036.643645226955,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8a1e25bc.ee0138"\r
+                "207acffa.3abd1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7264697.889458",\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": 990.5955276489258,\r
-        "y": 7047.57258027792,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1034.858543395996,\r
+        "y": 7059.311295449734,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "ebadf32a.3c0bf"\r
+                "ad9e155d.1028f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "903c2202.9792d",\r
+        "id": "71743690.584d78",\r
         "type": "comment",\r
         "name": "Not a failure",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1510.5954284667969,\r
-        "y": 7047.572585046291,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1554.8584442138672,\r
+        "y": 7059.311300218105,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ebadf32a.3c0bf",\r
+        "id": "ad9e155d.1028f8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1200.5955123901367,\r
-        "y": 7047.572730004787,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1244.858528137207,\r
+        "y": 7059.311445176601,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "5ca4a5a3.8a7004"\r
+                "2b130462.23f28c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5ca4a5a3.8a7004",\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": 1343.928955078125,\r
-        "y": 7047.572567880154,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1388.1919708251953,\r
+        "y": 7059.311283051968,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d3f1c108.98d52",\r
+        "id": "da21eac5.eb6e48",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1373.9290771484375,\r
-        "y": 6998.904281556606,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1418.1920928955078,\r
+        "y": 7010.64299672842,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "cf4b2a0c.51aca"\r
+                "4475a7ad.750578"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2661f5f7.f49d62",\r
+        "id": "248ddcf1.40e1a4",\r
         "type": "comment",\r
         "name": "Not a failure",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1697.2621307373047,\r
-        "y": 6997.2381038069725,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1741.525146484375,\r
+        "y": 7008.9768189787865,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cf4b2a0c.51aca",\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": 1519.929012298584,\r
-        "y": 6998.904914796352,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1564.1920280456543,\r
+        "y": 7010.643629968166,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8a1e25bc.ee0138",\r
+        "id": "207acffa.3abd1",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 767.2622184753418,\r
-        "y": 7023.904774606228,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 811.5252342224121,\r
+        "y": 7035.643489778042,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "b143aaa7.b261e",\r
-                "f7264697.889458"\r
+                "23b5f46a.84a14c",\r
+                "138fc2c6.5fd4fd"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b143aaa7.b261e",\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": 1080.5955429077148,\r
-        "y": 6999.238914430141,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1124.8585586547852,\r
+        "y": 7010.977629601955,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d3f1c108.98d52"\r
+                "da21eac5.eb6e48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c70cad3e.594bf8",\r
+        "id": "7f9d44fc.3db7bc",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 789.500186920166,\r
-        "y": 4303.191212296486,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 833.7632026672363,\r
+        "y": 4314.9299274683,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d82a525d.d6db7",\r
-                "8a1998a9.fb5c4"\r
+                "18d43b0c.816ff5",\r
+                "1254304a.7d8a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1eb8d0e0.ac8f6f",\r
+        "id": "94bb0c2d.81fb6",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 790.5001029968262,\r
-        "y": 4369.857502520084,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 834.7631187438965,\r
+        "y": 4381.596217691898,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "e5deac0d.5b71f8",\r
-                "8a1998a9.fb5c4"\r
+                "d3b91e2a.6658a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f57dfbe7.74b008",\r
+        "id": "b4477865.f6c3d8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1638.1668815612793,\r
-        "y": 5863.858327627182,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1682.4298973083496,\r
+        "y": 5875.597042798996,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d4f9dca3.c75278",\r
-                "751caeb9.f5faf"\r
+                "a1d9fe5d.0f695",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "85b716e7.f0d18",\r
+        "id": "a8844fc9.d802f",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1633.1668815612793,\r
-        "y": 5916.85817027092,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1677.4298973083496,\r
+        "y": 5928.596885442734,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "da118248.b8eea8",\r
-                "751caeb9.f5faf"\r
+                "e64793d7.bf627",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9c7304a7.47b438",\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": 975.3333778381348,\r
-        "y": 2373.1915349960327,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1043.3463745117188,\r
+        "y": 2452.429780960083,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "688ed38d.1404a4",\r
-                "97bc7502.9be918"\r
+                "68e62acd.729e34",\r
+                "a47c9360.b9478"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "688ed38d.1404a4",\r
+        "id": "68e62acd.729e34",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1238.6666933695474,\r
-        "y": 2336.524751345316,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1311.6796073913574,\r
+        "y": 2410.763111114502,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "5a744c0f.0a917c"\r
+                "7b583f75.7c5be"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "97bc7502.9be918",\r
+        "id": "a47c9360.b9478",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1241.9999809265137,\r
-        "y": 2411.5247468948364,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1310.0129623413086,\r
+        "y": 2485.7632598876953,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "432a7e86.1cf1f"\r
+                "acc728a8.eedfa8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5a744c0f.0a917c",\r
+        "id": "7b583f75.7c5be",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1400.333381652832,\r
-        "y": 2334.8580360412598,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1468.346363067627,\r
+        "y": 2409.0965490341187,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "e468489c.39809"\r
+                "cec2f13d.67a37"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "432a7e86.1cf1f",\r
+        "id": "acc728a8.eedfa8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1396.9999885559082,\r
-        "y": 2411.5245885849,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1465.0129699707031,\r
+        "y": 2485.763101577759,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "3588e36f.27b7f4"\r
+                "3983f41d.db452c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e468489c.39809",\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": 1628.6666831970215,\r
-        "y": 2334.8580770492554,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1696.6796646118164,\r
+        "y": 2409.0965900421143,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "62edebed.7913a4",\r
-                "37d8f344.138aec"\r
+                "e8950979.22bb18",\r
+                "b6c25b1e.892808"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "62edebed.7913a4",\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": 1880.3334197998047,\r
-        "y": 2298.191451072693,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1979.5963668823242,\r
+        "y": 2363.6796340942383,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "eae1dfc6.c9a018"\r
+                "1c4c53fe.44b0dc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "eae1dfc6.c9a018",\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": 2276.9998893737793,\r
-        "y": 2296.5245790481567,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2382.512939453125,\r
+        "y": 2277.013102531433,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8901225d.847b7"\r
+                "cc34b72d.383738"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8901225d.847b7",\r
+        "id": "cc34b72d.383738",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2647.0000381469727,\r
-        "y": 2294.858115196228,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2771.2629013061523,\r
+        "y": 2277.846981048584,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "aa023fe5.47b5f8"\r
+                "c1b24090.d49b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d0aa2f4d.891c28",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n",\r
-        "comments": "",\r
-        "x": 2955.3334159851074,\r
-        "y": 2326.5248517990112,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "37d8f344.138aec",\r
+        "id": "b6c25b1e.892808",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1855.3334999084473,\r
-        "y": 2354.8579416275024,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1945.8463287353516,\r
+        "y": 2427.8464183807373,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "e944765.ab28a88"\r
+                "d759206d.14388"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bcf4c56.2e632b8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error retrieving preload-information\" />\n",\r
-        "comments": "",\r
-        "x": 2168.666404724121,\r
-        "y": 2371.52436542511,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "3588e36f.27b7f4",\r
+        "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": 1760.3332786560059,\r
-        "y": 2413.191336631775,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1828.3462600708008,\r
+        "y": 2487.429849624634,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "20ee04ba.8175bc"\r
+                "90d09a92.2d1cc8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "20ee04ba.8175bc",\r
+        "id": "90d09a92.2d1cc8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2116.000141143799,\r
-        "y": 2411.5249547958374,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2184.0131225585938,\r
+        "y": 2485.7634677886963,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "589f1683.8c95c"\r
+                "76721fa9.6f7a7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b1df2727.b9c3d",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n",\r
-        "comments": "",\r
-        "x": 2424.333393096924,\r
-        "y": 2433.191849708557,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f3590468.ca37a8",\r
+        "id": "3890cbf7.238894",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 620.0003280639648,\r
-        "y": 5659.35910153389,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 664.2633438110352,\r
+        "y": 5671.097816705704,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "7375d6bd.7dd03",\r
-                "d5512709.6a25b8"\r
+                "28b6a2fd.61312e",\r
+                "eeca3ef7.08f31"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d5512709.6a25b8",\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": 871.0003776550293,\r
-        "y": 4864.025192737579,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 915.2633934020996,\r
+        "y": 4875.763907909393,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "753035d1.1e8274"\r
+                "59778d60.c86b24"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ce29a815.f5683",\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": 1597.00044631958,\r
-        "y": 4672.3591232299805,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1641.2634620666504,\r
+        "y": 4684.097838401794,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "b05fd296.8c44d8",\r
-                "9ce78c9c.21d2e"\r
+                "8c17d99f.3ce5f8",\r
+                "b50cee13.b9a08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "753035d1.1e8274",\r
+        "id": "59778d60.c86b24",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1039.3336791992188,\r
-        "y": 4864.692019939423,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1083.596694946289,\r
+        "y": 4876.430735111237,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "2b20b1ce.c729ce",\r
-                "d7c01db4.00c9a",\r
-                "2fb493e6.57a1c4",\r
-                "8ca3ab85.032598",\r
-                "805bb33d.dc18f",\r
-                "57662986.d12c8"\r
+                "2ee1ddb7.3ce5a2",\r
+                "63a7631.9e7f99c",\r
+                "e77ee371.ca79f",\r
+                "a45139cd.c06788",\r
+                "d5639dcc.50d87",\r
+                "3291e6ae.85f8ba"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b05fd296.8c44d8",\r
+        "id": "8c17d99f.3ce5f8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1788.0004844665527,\r
-        "y": 4624.692457199097,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1832.263500213623,\r
+        "y": 4636.431172370911,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "f1e503ea.34a2d8"\r
+                "fc84df82.5bc09"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d42c0b98.75f36",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error saving vnfc to AAI\" />\n",\r
-        "comments": "",\r
-        "x": 2127.0006370544434,\r
-        "y": 4658.835712790489,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f1e503ea.34a2d8",\r
+        "id": "fc84df82.5bc09",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1953.1671714782715,\r
-        "y": 4638.820290505886,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1997.4301872253418,\r
+        "y": 4650.5590056777,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d42c0b98.75f36",\r
-                "6cb8c914.ed3b6"\r
+                "30bee8c0.434ad8",\r
+                "1254304a.7d8a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2fb493e6.57a1c4",\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": 1263.9049644470215,\r
-        "y": 4772.978354930878,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1308.1679801940918,\r
+        "y": 4784.717070102692,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "90db0abc.901b8",\r
-                "5dbb78a0.db6928"\r
+                "b41f1fa4.6a16e",\r
+                "c5bf9d82.77072"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "29cef8c8.08702",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating vnfc relationships in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 1773.904899597168,\r
-        "y": 4764.64519071579,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "ee073caa.2c8978",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Not-found error updating vnfc relationships\" />\n",\r
-        "comments": "",\r
-        "x": 1769.0718078613281,\r
-        "y": 4816.296397686005,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "60b5b7f4.1931b",\r
+        "id": "36f8149b.0100dc",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1595.7381553649902,\r
-        "y": 4746.29597902298,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1640.0011711120605,\r
+        "y": 4758.034694194794,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "29cef8c8.08702",\r
-                "6cb8c914.ed3b6"\r
+                "17b97fa6.0b332",\r
+                "1254304a.7d8a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1c2653f1.974004",\r
+        "id": "138ca4b2.cb534b",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1595.7382316589355,\r
-        "y": 4799.295737743378,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1640.0012474060059,\r
+        "y": 4811.034452915192,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "ee073caa.2c8978",\r
-                "6cb8c914.ed3b6"\r
+                "43b53fc.f18d2c",\r
+                "1254304a.7d8a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "90db0abc.901b8",\r
+        "id": "b41f1fa4.6a16e",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1438.9050407409668,\r
-        "y": 4746.311648845673,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1483.168056488037,\r
+        "y": 4758.050364017487,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "60b5b7f4.1931b"\r
+                "36f8149b.0100dc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5dbb78a0.db6928",\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": 1447.4765739440918,\r
-        "y": 4798.93079328537,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1491.739589691162,\r
+        "y": 4810.669508457184,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "1c2653f1.974004"\r
+                "138ca4b2.cb534b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2b20b1ce.c729ce",\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": 1261.3810844421387,\r
-        "y": 5189.834763050079,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1305.644100189209,\r
+        "y": 5201.573478221893,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8ef35028.d3c7d8"\r
+                "52bb6b86.aae8d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1d19c87b.60a2d",\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": 481.9999885559082,\r
-        "y": 2497.73858499527,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 526.2630043029785,\r
+        "y": 2509.4773001670837,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c587555a.9764c8",\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": 1717.3336219787598,\r
-        "y": 5153.025196552277,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1761.59663772583,\r
+        "y": 5164.763911724091,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "646ce656.488b28"\r
+                "bae62f0f.f599"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "646ce656.488b28",\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": 1984.6669654846191,\r
-        "y": 5152.025684833527,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2028.9299812316895,\r
+        "y": 5163.764400005341,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "830c0220.91b9c"\r
+                "83b71d8.34202e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cdc035b3.67e6e8",\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": 2416.666576385498,\r
-        "y": 5218.691384315491,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2460.9295921325684,\r
+        "y": 5230.430099487305,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "4ac2f856.4d21a"\r
+                "4955053a.cc8cec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "830c0220.91b9c",\r
+        "id": "83b71d8.34202e",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2195.666736602783,\r
-        "y": 5152.025141239166,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2239.9297523498535,\r
+        "y": 5163.76385641098,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "dcce10c4.7be118",\r
-                "cdc035b3.67e6e8"\r
+                "bd1ac39a.c86f3",\r
+                "9893ef44.5c929"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dcce10c4.7be118",\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": 2415.667064666748,\r
-        "y": 5072.025038719177,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2459.9300804138184,\r
+        "y": 5083.763753890991,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4ac2f856.4d21a",\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": 2655.6666679382324,\r
-        "y": 5217.025206565857,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2699.9296836853027,\r
+        "y": 5228.763921737671,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d2b5d9a8.4fd5e8",\r
-                "24a90faa.98e37"\r
+                "df6d826a.602a2",\r
+                "b4544053.188e9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d2b5d9a8.4fd5e8",\r
+        "id": "df6d826a.602a2",\r
         "type": "outcome",\r
         "name": "ipv4",\r
         "xml": "<outcome value='ipv4'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2852.809673309326,\r
-        "y": 5120.596467018127,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2897.0726890563965,\r
+        "y": 5132.335182189941,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "422e7141.76707"\r
+                "78841d68.5129e4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "24a90faa.98e37",\r
+        "id": "b4544053.188e9",\r
         "type": "outcome",\r
         "name": "ipv6",\r
         "xml": "<outcome value='ipv6'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2850.4287452697754,\r
-        "y": 5300.358498573303,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2894.6917610168457,\r
+        "y": 5312.097213745117,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "644b913f.522e68"\r
+                "133e1aca.140a05"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "63f4b67.4ec08c8",\r
+        "id": "82d4dce2.8069",\r
         "type": "comment",\r
         "name": "Fixed IPs",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1734.3336372375488,\r
-        "y": 5114.692573547363,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1778.5966529846191,\r
+        "y": 5126.431288719177,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1637640f.3b1ca4",\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": 3296.1428031921387,\r
-        "y": 5068.929546991985,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3340.405818939209,\r
+        "y": 5080.668262163799,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "516f7849.a1f358"\r
+                "929637d6.457068"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "422e7141.76707",\r
+        "id": "78841d68.5129e4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3002.809673309326,\r
-        "y": 5120.59638563792,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3047.0726890563965,\r
+        "y": 5132.335100809734,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "1637640f.3b1ca4",\r
-                "d964b923.e557d"\r
+                "ae224e40.c6874",\r
+                "8bea43e3.8116"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "29157e1f.b307d2",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error creating l3-interface-ipv4-address-list object in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 3879.4763221740723,\r
-        "y": 5087.263206164043,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8892b8a2.cfbe48",\r
+        "id": "36922023.99beb",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3709.642677307129,\r
-        "y": 5068.914039293926,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3753.905693054199,\r
+        "y": 5080.65275446574,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "29157e1f.b307d2",\r
-                "ab19f58c.bd384"\r
+                "cc682bd5.2eb5c8",\r
+                "11d81f8a.7859d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "516f7849.a1f358",\r
+        "id": "929637d6.457068",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3552.8095626831055,\r
-        "y": 5068.929709116619,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3597.072578430176,\r
+        "y": 5080.668424288433,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8892b8a2.cfbe48"\r
+                "36922023.99beb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d964b923.e557d",\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": 3291.1430473327637,\r
-        "y": 5167.262965838116,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3335.406063079834,\r
+        "y": 5179.00168100993,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8ae58a30.bea5e",\r
-                "c00d26fd.0b7fa8"\r
+                "2e1bef20.bf0fd",\r
+                "5d3ca55b.b0a96c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a4c2dc75.a86138",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating l3-interface-ipv4-address-list relationships in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 3877.809429168701,\r
-        "y": 5158.929637591045,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "623384cf.019e64",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Not-found error updating l3-interface-ipv4-address-list relationships\" />\n",\r
-        "comments": "",\r
-        "x": 3877.976291656494,\r
-        "y": 5208.914095560711,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c225d55b.e00f4",\r
+        "id": "aa9b6876.841938",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3711.309299468994,\r
-        "y": 5138.914010683697,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3755.5723152160645,\r
+        "y": 5150.652725855511,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "a4c2dc75.a86138",\r
-                "ab19f58c.bd384"\r
+                "1499e507.42f6db",\r
+                "11d81f8a.7859d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fa08395c.d3bfd",\r
+        "id": "670834a7.3d263c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3711.3093757629395,\r
-        "y": 5191.913769404095,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3755.5723915100098,\r
+        "y": 5203.652484575909,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "623384cf.019e64",\r
-                "ab19f58c.bd384"\r
+                "dac8db15.74e098",\r
+                "11d81f8a.7859d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8ae58a30.bea5e",\r
+        "id": "2e1bef20.bf0fd",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3554.4761848449707,\r
-        "y": 5138.92968050639,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3598.739200592041,\r
+        "y": 5150.6683956782035,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "c225d55b.e00f4"\r
+                "aa9b6876.841938"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c00d26fd.0b7fa8",\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": 3563.0477180480957,\r
-        "y": 5191.548824946087,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3607.310733795166,\r
+        "y": 5203.287540117901,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "fa08395c.d3bfd"\r
+                "670834a7.3d263c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9f97d2b1.490b88",\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": 3294.9525413513184,\r
-        "y": 5247.977602958679,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3339.2155570983887,\r
+        "y": 5259.716318130493,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "575beeb7.db0eb8"\r
+                "f2553d5e.abe0f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "644b913f.522e68",\r
+        "id": "133e1aca.140a05",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3001.619411468506,\r
-        "y": 5299.644441604614,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3045.882427215576,\r
+        "y": 5311.383156776428,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "9f97d2b1.490b88",\r
-                "1c9488a1.dbf7bf"\r
+                "f5cbef76.ec89e",\r
+                "81cd3242.fe0b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1b3c364b.f4083a",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error creating l3-interface-ipv6-address-list object in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 3878.286060333252,\r
-        "y": 5266.311262130737,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "55bcda47.670024",\r
+        "id": "51b65599.0e89cc",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3708.4524154663086,\r
-        "y": 5247.96209526062,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3752.715431213379,\r
+        "y": 5259.700810432434,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "1b3c364b.f4083a",\r
-                "ab19f58c.bd384"\r
+                "97323f99.6212d",\r
+                "11d81f8a.7859d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "575beeb7.db0eb8",\r
+        "id": "f2553d5e.abe0f",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3551.619300842285,\r
-        "y": 5247.977765083313,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3595.8823165893555,\r
+        "y": 5259.716480255127,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "55bcda47.670024"\r
+                "51b65599.0e89cc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1c9488a1.dbf7bf",\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": 3289.9527854919434,\r
-        "y": 5346.31102180481,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3334.2158012390137,\r
+        "y": 5358.0497369766235,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "3f5a76d4.d0b6ca",\r
-                "a74ee1d6.e4ad68"\r
+                "cd0e04b7.a88538",\r
+                "2202ffa2.d2838"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b0e3be9c.c1618",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating l3-interface-ipv6-address-list relationships in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 3876.619167327881,\r
-        "y": 5337.977693557739,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "66075d54.cd658c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Not-found error updating l3-interface-ipv6-address-list relationships\" />\n",\r
-        "comments": "",\r
-        "x": 3880.1193885803223,\r
-        "y": 5384.628710031509,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "24ecf111.9044a6",\r
+        "id": "973eecbd.3a12f",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3710.119037628174,\r
-        "y": 5317.962066650391,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3754.382053375244,\r
+        "y": 5329.700781822205,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "b0e3be9c.c1618",\r
-                "ab19f58c.bd384"\r
+                "2f312957.2b15e6",\r
+                "11d81f8a.7859d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1cf894fa.a3757b",\r
+        "id": "41ca4b49.e89434",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3710.119113922119,\r
-        "y": 5370.961825370789,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3754.3821296691895,\r
+        "y": 5382.7005405426025,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "66075d54.cd658c",\r
-                "ab19f58c.bd384"\r
+                "9f878bec.0f8958",\r
+                "11d81f8a.7859d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3f5a76d4.d0b6ca",\r
+        "id": "cd0e04b7.a88538",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3553.2859230041504,\r
-        "y": 5317.9777364730835,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3597.5489387512207,\r
+        "y": 5329.7164516448975,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "24ecf111.9044a6"\r
+                "973eecbd.3a12f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a74ee1d6.e4ad68",\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": 3561.8574562072754,\r
-        "y": 5370.596880912781,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3606.1204719543457,\r
+        "y": 5382.335596084595,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "1cf894fa.a3757b"\r
+                "41ca4b49.e89434"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9c50ae11.ecd5d8",\r
+        "id": "4bd4ba04.8daa14",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1016.3335914611816,\r
-        "y": 6076.692138195038,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1060.596607208252,\r
+        "y": 6088.430853366852,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "f765dfab.5a8ab8",\r
-                "79853c6f.4b0794",\r
-                "7d3563ad.bafe6c",\r
-                "eb32fc41.713248"\r
+                "39f74881.371fb8",\r
+                "fb74751e.022f18",\r
+                "12eb0afe.678335",\r
+                "43f00c8e.4c60b4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "be8fcb49.a0ce6",\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": 1664.3337669372559,\r
-        "y": 6199.025886058807,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1708.5967826843262,\r
+        "y": 6210.764601230621,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "bc8c9230.4f5cf8"\r
+                "316d52f.75519ae"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "18f68602.60a112",\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": 1747.3336219787598,\r
-        "y": 6030.358897686005,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1791.59663772583,\r
+        "y": 6042.097612857819,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "15b4c37c.7ee625",\r
-                "f6385911.c3478"\r
+                "5a0f98fa.d60308",\r
+                "17b6d486.2926eb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7d3563ad.bafe6c",\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": 1255.3336143493652,\r
-        "y": 6088.358970165253,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1299.5966300964355,\r
+        "y": 6100.097685337067,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "643639b2.a807b8"\r
+                "686b5e11.422ff"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "643639b2.a807b8",\r
+        "id": "686b5e11.422ff",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1481.3336143493652,\r
-        "y": 6086.358970165253,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1525.5966300964355,\r
+        "y": 6098.097685337067,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "18f68602.60a112",\r
-                "79481073.dabf6",\r
-                "be8fcb49.a0ce6"\r
+                "9dd5477e.b61ec8",\r
+                "9094ce2c.0f237",\r
+                "d2a87a71.553fc8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4f4eea49.69364c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error saving vip-ipv4-address-list in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 2309.3336219787598,\r
-        "y": 6020.358897686005,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "87cb782b.0a68b8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Not-found error saving vip-ipv4-address-list\" />\n",\r
-        "comments": "",\r
-        "x": 2309.5004844665527,\r
-        "y": 6070.34335565567,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "1002735d.48782d",\r
+        "id": "aefdf6d5.094438",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2142.8334922790527,\r
-        "y": 6000.343270778656,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2187.096508026123,\r
+        "y": 6012.08198595047,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "4f4eea49.69364c",\r
-                "7d8d801d.5aba58"\r
+                "d7673076.3ac06",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9394e2e6.c9ed4",\r
+        "id": "8aa6fe69.46205",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2142.833568572998,\r
-        "y": 6053.343029499054,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2187.0965843200684,\r
+        "y": 6065.081744670868,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "87cb782b.0a68b8",\r
-                "7d8d801d.5aba58"\r
+                "34a07ec7.5c1d72",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "15b4c37c.7ee625",\r
+        "id": "5a0f98fa.d60308",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1986.0003776550293,\r
-        "y": 6000.358940601349,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2030.2633934020996,\r
+        "y": 6012.097655773163,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "1002735d.48782d"\r
+                "aefdf6d5.094438"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f6385911.c3478",\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": 1994.5719108581543,\r
-        "y": 6052.978085041046,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2038.8349266052246,\r
+        "y": 6064.71680021286,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "9394e2e6.c9ed4"\r
+                "8aa6fe69.46205"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1f81499d.5e5af6",\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": 2083.000217437744,\r
-        "y": 6143.0255608558655,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2127.2632331848145,\r
+        "y": 6154.764276027679,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "9402f7a2.c004f8",\r
-                "43ffb8db.dfd838"\r
+                "f0cfd83.86b5328",\r
+                "f315ed94.7bfc9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a145395d.8e9c88",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating vip-ipv4-address-list relationships in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 2652.6666259765625,\r
-        "y": 6135.025530397892,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f29625da.c7a2a",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv4-address-list relationships\" />\n",\r
-        "comments": "",\r
-        "x": 2652.833595275879,\r
-        "y": 6185.009704113007,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "3507458.c6c0fba",\r
+        "id": "fd3e62f.a29bea",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2486.1664962768555,\r
-        "y": 6115.009903490543,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2530.429512023926,\r
+        "y": 6126.748618662357,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "a145395d.8e9c88",\r
-                "7d8d801d.5aba58"\r
+                "38cb90b2.4e39c",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2bfcdbd8.b2861c",\r
+        "id": "5997fd18.c16ad4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2486.166572570801,\r
-        "y": 6168.009662210941,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2530.429588317871,\r
+        "y": 6179.748377382755,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "f29625da.c7a2a",\r
-                "7d8d801d.5aba58"\r
+                "8d6accf1.493c8",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9402f7a2.c004f8",\r
+        "id": "f0cfd83.86b5328",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2329.333381652832,\r
-        "y": 6115.025573313236,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2373.5963973999023,\r
+        "y": 6126.76428848505,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "3507458.c6c0fba"\r
+                "fd3e62f.a29bea"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "43ffb8db.dfd838",\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": 2337.904914855957,\r
-        "y": 6167.6447177529335,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2382.1679306030273,\r
+        "y": 6179.3834329247475,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "2bfcdbd8.b2861c"\r
+                "5997fd18.c16ad4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5f93b476.1dc79c",\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": 1750.66695022583,\r
-        "y": 6353.691581249237,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1794.9299659729004,\r
+        "y": 6365.430296421051,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "67236f18.227f98",\r
-                "c2a53df.84d114"\r
+                "1d38b1dd.61e89e",\r
+                "6176025c.2ad73c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "eb32fc41.713248",\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": 1258.6669425964355,\r
-        "y": 6410.691653728485,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1302.9299583435059,\r
+        "y": 6422.430368900299,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "78198d85.1f46bc"\r
+                "299ac4c9.b765dc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "78198d85.1f46bc",\r
+        "id": "299ac4c9.b765dc",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1484.6669425964355,\r
-        "y": 6409.691653728485,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1528.9299583435059,\r
+        "y": 6421.430368900299,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "5f93b476.1dc79c",\r
-                "cde033d4.f6fd",\r
-                "b51d7c07.17b7c"\r
+                "783e4357.c986ec",\r
+                "3d0b5fc0.1aec4",\r
+                "1976134f.84b09d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6d658b88.2e8a3c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error saving vip-ipv6-address-list in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 2312.66695022583,\r
-        "y": 6343.691581249237,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "3a7db074.96feb8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Not-found error saving vip-ipv6-address-list\" />\n",\r
-        "comments": "",\r
-        "x": 2312.833812713623,\r
-        "y": 6393.676039218903,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7b77c41a.48512c",\r
+        "id": "9dec848e.b51528",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2146.166820526123,\r
-        "y": 6323.675954341888,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2190.4298362731934,\r
+        "y": 6335.414669513702,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "6d658b88.2e8a3c",\r
-                "7d8d801d.5aba58"\r
+                "ec585839.cf03a8",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fb34c0be.1fb228",\r
+        "id": "cc9a9082.df9ad",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2146.1668968200684,\r
-        "y": 6376.675713062286,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2190.4299125671387,\r
+        "y": 6388.4144282341,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "3a7db074.96feb8",\r
-                "7d8d801d.5aba58"\r
+                "dc08e935.aa2128",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "67236f18.227f98",\r
+        "id": "1d38b1dd.61e89e",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1989.3337059020996,\r
-        "y": 6323.691624164581,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2033.59672164917,\r
+        "y": 6335.430339336395,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "7b77c41a.48512c"\r
+                "9dec848e.b51528"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c2a53df.84d114",\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": 1997.9052391052246,\r
-        "y": 6376.310768604279,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2042.168254852295,\r
+        "y": 6388.0494837760925,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "fb34c0be.1fb228"\r
+                "cc9a9082.df9ad"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "31f35206.0f932e",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating vip-ipv6-address-list relationships in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 2646.0002059936523,\r
-        "y": 6456.6916318535805,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "132ba90c.08b887",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv6-address-list relationships\" />\n",\r
-        "comments": "",\r
-        "x": 2646.1670684814453,\r
-        "y": 6506.676089823246,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "de40c9e6.508858",\r
+        "id": "82969649.e96bb8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2479.5000762939453,\r
-        "y": 6436.676004946232,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2523.7630920410156,\r
+        "y": 6448.414720118046,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "31f35206.0f932e",\r
-                "7d8d801d.5aba58"\r
+                "9303413c.a15fb",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "44d321f1.eca488",\r
+        "id": "a4127791.07e268",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2479.5001525878906,\r
-        "y": 6489.67576366663,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2523.763168334961,\r
+        "y": 6501.414478838444,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "132ba90c.08b887",\r
-                "7d8d801d.5aba58"\r
+                "41362899.a075b8",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "535c2132.4b5b3",\r
+        "id": "79c39cc4.e386e4",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2322.666961669922,\r
-        "y": 6436.691674768925,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2366.929977416992,\r
+        "y": 6448.430389940739,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "de40c9e6.508858"\r
+                "82969649.e96bb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8380291.86ec7d8",\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": 2331.238494873047,\r
-        "y": 6489.310819208622,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2375.501510620117,\r
+        "y": 6501.049534380436,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "44d321f1.eca488"\r
+                "a4127791.07e268"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "47c03850.21f5a",\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": 2078.3338050842285,\r
-        "y": 6465.358093738556,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2122.596820831299,\r
+        "y": 6477.09680891037,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "535c2132.4b5b3",\r
-                "8380291.86ec7d8"\r
+                "79c39cc4.e386e4",\r
+                "a282925a.d9e0c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8a1998a9.fb5c4",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "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
-        "outputs": 1,\r
-        "x": 1134.3334770202637,\r
-        "y": 4273.691486895084,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            []\r
-        ]\r
+        "x": 1285.2632637023926,\r
+        "y": 4724.430592954159,\r
+        "z": "565447bf.1f1598",\r
+        "wires": []\r
     },\r
     {\r
-        "id": "6cb8c914.ed3b6",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
+        "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": 2299.0004234313965,\r
-        "y": 4611.692221999168,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1835.2634391784668,\r
+        "y": 4684.430831849575,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
-            []\r
+            [\r
+                "fc84df82.5bc09"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "751caeb9.f5faf",\r
+        "id": "779079fc.7d1618",\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
+        "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": 2007.6670036315918,\r
-        "y": 5828.6920592188835,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 618.9297981262207,\r
+        "y": 6764.430634975433,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
-            []\r
+            [\r
+                "9bf7c5a4.dd9598"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "7d8d801d.5aba58",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2956.667133331299,\r
-        "y": 5947.691905498505,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "ab19f58c.bd384",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4276.0001220703125,\r
-        "y": 4995.357985436916,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "d7c01db4.00c9a",\r
-        "type": "set",\r
-        "name": "set created_flag",\r
-        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].created_flag' value='true' />\n",\r
-        "comments": "",\r
-        "x": 1241.0002479553223,\r
-        "y": 4712.691877782345,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f765dfab.5a8ab8",\r
-        "type": "set",\r
-        "name": "set created-flag",\r
-        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].created-flag' value='true' />\n",\r
-        "comments": "",\r
-        "x": 1211.6670036315918,\r
-        "y": 5960.6920592188835,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "79481073.dabf6",\r
-        "type": "set",\r
-        "name": "set created-ipv4-flag",\r
-        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.created-ipv4-flag' value='true' />\n",\r
-        "comments": "",\r
-        "x": 1684.6669692993164,\r
-        "y": 6088.6921390891075,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "cde033d4.f6fd",\r
-        "type": "set",\r
-        "name": "set created-ipv6-flag",\r
-        "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.created-ipv6-flag' value='true' />\n",\r
-        "comments": "",\r
-        "x": 1690.0003051757812,\r
-        "y": 6414.691742360592,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "9ce78c9c.21d2e",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1791.0004234313965,\r
-        "y": 4672.692116677761,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            [\r
-                "f1e503ea.34a2d8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e7b2dbd5.bd9e",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vf-module-topology-vlan-tagging-assign",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-vlan-tagging-assign' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 574.6667823791504,\r
-        "y": 6752.691919803619,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            [\r
-                "acea42fa.fe209"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "acea42fa.fe209",\r
+        "id": "9bf7c5a4.dd9598",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 919.0001983642578,\r
-        "y": 6752.025414943695,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 963.2632141113281,\r
+        "y": 6763.764130115509,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "bb8b3ecf.0d4b8"\r
+                "471e8c34.437354"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bb8b3ecf.0d4b8",\r
+        "id": "471e8c34.437354",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1074.000072479248,\r
-        "y": 6752.025210857391,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1118.2630882263184,\r
+        "y": 6763.763926029205,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8d4ed162.86b8b8",\r
-                "277ec139.1f8766",\r
-                "4bc02c78.2ff744"\r
+                "3ca8387c.2993a8",\r
+                "ddd8fcd8.b0fa8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8d4ed162.86b8b8",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1422.3333625793457,\r
-        "y": 6697.025630712509,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "277ec139.1f8766",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n",\r
-        "comments": "",\r
-        "x": 1250.6668014526367,\r
-        "y": 6795.358858704567,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "4bc02c78.2ff744",\r
+        "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": 1245.6666984558105,\r
-        "y": 6748.691714763641,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1299.0367050170898,\r
+        "y": 6736.501932144165,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "bfee1c79.25f4d",\r
+        "id": "fb67aa4b.8284f8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 212.8928680419922,\r
-        "y": 508.5714416503906,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 257.1558837890625,\r
+        "y": 520.3101568222046,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "c4f07890.7e2328",\r
-                "5621ecb6.141394",\r
-                "b13c4350.370938",\r
-                "b064f8ff.c2b5c",\r
-                "fe2663d3.ad286",\r
-                "a5f7f097.af8f7",\r
-                "498f5a29.9e1ca4",\r
-                "f0c546c1.be6dc",\r
-                "40af7b28.67ea64"\r
+                "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": "b80a89b3.da4648",\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": 503.90471267700195,\r
-        "y": 2564.1672048568726,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 548.1677284240723,\r
+        "y": 2575.9059200286865,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "3b57b841.e4ee",\r
-                "5c063e0d.485f8"\r
+                "9e164e02.d239",\r
+                "44723a81.45b694"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3b57b841.e4ee",\r
+        "id": "9e164e02.d239",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 675.8094444274902,\r
-        "y": 2541.548225402832,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 720.0724601745605,\r
+        "y": 2553.286940574646,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "2b41d2.bfd34e2e"\r
+                "3590eb8.88aec14"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5c063e0d.485f8",\r
+        "id": "44723a81.45b694",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 677.4760971069336,\r
-        "y": 2586.5480642318726,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 721.7391128540039,\r
+        "y": 2598.2867794036865,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "9acd2d4c.7f4f58"\r
+                "9742bfa8.39e3a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2b41d2.bfd34e2e",\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": 890.8094291687012,\r
-        "y": 2539.88139629364,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 935.0724449157715,\r
+        "y": 2551.620111465454,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9acd2d4c.7f4f58",\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": 889.142749786377,\r
-        "y": 2584.8813161849976,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 933.4057655334473,\r
+        "y": 2596.6200313568115,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b51d7c07.17b7c",\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": 1665.4288368225098,\r
-        "y": 6513.572165966034,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1709.69185256958,\r
+        "y": 6525.310881137848,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "5f97f00c.f2f7a"\r
+                "24db1747.589188"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bc7a6a83.8ca178",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Test return\" />\n",\r
-        "comments": "",\r
-        "x": 130.00014877319336,\r
-        "y": 6993.359684050083,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "facd6ff7.1eed9",\r
+        "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": 482.66680908203125,\r
-        "y": 3924.358087539673,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 526.9298248291016,\r
+        "y": 3936.096802711487,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "f42a02f0.2fdc5"\r
+                "edc660aa.aae32"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f42a02f0.2fdc5",\r
+        "id": "edc660aa.aae32",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 673.166877746582,\r
-        "y": 3925.19132232666,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 717.4298934936523,\r
+        "y": 3936.930037498474,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "f2b8f79a.47d0c8"\r
+                "8a22c1f6.1af97"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f2b8f79a.47d0c8",\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": 874.6668090820312,\r
-        "y": 3924.358087539673,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 918.9298248291016,\r
+        "y": 3936.096802711487,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "74a58a99.78bf9c"\r
+                "a190fe2f.d886f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "74a58a99.78bf9c",\r
+        "id": "a190fe2f.d886f",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1064.500129699707,\r
-        "y": 3923.857526779175,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1108.7631454467773,\r
+        "y": 3935.5962419509888,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d3a7ff95.69fdf"\r
+                "e0f0f785.dc0f38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d3a7ff95.69fdf",\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": 1354.0001029968262,\r
-        "y": 3922.358169555664,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1398.2631187438965,\r
+        "y": 3934.096884727478,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "ac281675.6e9ef8",\r
-                "441cde65.25a5c"\r
+                "fd7f5581.6d4528",\r
+                "b45e71b2.bc101"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ac281675.6e9ef8",\r
+        "id": "fd7f5581.6d4528",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1625.00004196167,\r
-        "y": 3827.024871826172,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1669.2630577087402,\r
+        "y": 3838.763586997986,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "21c357a6.90267"\r
+                "d6d5d78c.a73e18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21c357a6.90267",\r
+        "id": "d6d5d78c.a73e18",\r
         "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1772.190559387207,\r
-        "y": 3825.57288646698,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1816.4535751342773,\r
+        "y": 3837.311601638794,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "3f8cbef4.25bb0a",\r
-                "77e726f5.a576b8"\r
+                "6c1ed4b9.5ecf9c",\r
+                "f394576a.e4e1d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "441cde65.25a5c",\r
+        "id": "b45e71b2.bc101",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1613.333293914795,\r
-        "y": 4046.691343307495,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1670.0962677001953,\r
+        "y": 4083.4304666519165,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "e7e940b7.17edf"\r
+                "952ac2a9.fea88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "54eeb4ef.84d784",\r
+        "id": "b3ac03af.ef15c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2031.66654586792,\r
-        "y": 4048.69109916687,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2088.4295196533203,\r
+        "y": 4085.4302225112915,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d075ed57.96e16",\r
-                "7659ed81.4f2dfc",\r
-                "c5babea5.d9aba",\r
-                "e02da5bb.106d78",\r
-                "33b270a2.44aa78",\r
-                "f0d8d701.a9fbc8",\r
-                "1ad9651a.f1635b",\r
-                "d7d72478.3bd0f"\r
+                "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": "3f8cbef4.25bb0a",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error reading VFC_RELATED_NETWORK_ROLE table\" />\n",\r
-        "comments": "",\r
-        "x": 1924.3334159851074,\r
-        "y": 3822.358123779297,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7659ed81.4f2dfc",\r
+        "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": 2226.6666831970215,\r
-        "y": 3916.0247554779053,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2270.929698944092,\r
+        "y": 3927.7634706497192,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "b92d9cbc.21841"\r
+                "3f61199.ed2ade6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d075ed57.96e16",\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": 2266.666759490967,\r
-        "y": 3857.6915321350098,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2310.929775238037,\r
+        "y": 3869.4302473068237,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "18560cbf.0eb0f3",\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": 2625.666645050049,\r
-        "y": 3892.6910190582275,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2669.929660797119,\r
+        "y": 3904.4297342300415,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "2c6cef8.3fa721"\r
+                "69287c55.352c84"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b92d9cbc.21841",\r
+        "id": "3f61199.ed2ade6",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2414.6666831970215,\r
-        "y": 3916.0247554779053,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2458.929698944092,\r
+        "y": 3927.7634706497192,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "18560cbf.0eb0f3",\r
-                "ff4fdb5d.de766"\r
+                "86eb7e36.9d7f7",\r
+                "456cf44d.c85fac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2c6cef8.3fa721",\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": 2877.666561126709,\r
-        "y": 3892.691095352173,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2921.9295768737793,\r
+        "y": 3904.429810523987,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "16df1c3d.121c74"\r
+                "875934e4.a63818"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e7e940b7.17edf",\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": 1817.6666679382324,\r
-        "y": 4047.35809135437,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1874.4296417236328,\r
+        "y": 4084.0972146987915,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "54eeb4ef.84d784"\r
+                "b3ac03af.ef15c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "678d4c53.0bb2dc",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 298.6669120788574,\r
-        "y": 6953.359684050083,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "16df1c3d.121c74",\r
+        "id": "875934e4.a63818",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3077.666561126709,\r
-        "y": 3890.691095352173,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3121.9295768737793,\r
+        "y": 3902.429810523987,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "b6af3325.d14fe"\r
+                "5d83fcee.a618a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b6af3325.d14fe",\r
+        "id": "5d83fcee.a618a4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3231.666561126709,\r
-        "y": 3888.691095352173,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3275.9295768737793,\r
+        "y": 3900.429810523987,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "7ea20a1d.7dcac4",\r
-                "34e3568a.1d1aca",\r
-                "3d29969a.2c72ea"\r
+                "4df768f6.bb1e68",\r
+                "f4645e05.09dbf",\r
+                "29f5561c.96eb2a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ea20a1d.7dcac4",\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": 3463.666721343994,\r
-        "y": 3848.3576793670654,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3507.9297370910645,\r
+        "y": 3860.0963945388794,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "34e3568a.1d1aca",\r
+        "id": "f4645e05.09dbf",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 3386.999897003174,\r
-        "y": 3935.024429321289,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3431.262912750244,\r
+        "y": 3946.763144493103,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c5babea5.d9aba",\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": 2249.6666145324707,\r
-        "y": 3991.6912326812744,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2306.429588317871,\r
+        "y": 4028.430356025696,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d92d1f7b.311be"\r
+                "19517216.b897fe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d92d1f7b.311be",\r
+        "id": "19517216.b897fe",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2443.6666145324707,\r
-        "y": 3989.6912326812744,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2500.429588317871,\r
+        "y": 4026.430356025696,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "4c319279.354754"\r
+                "f7f125ed.69c228"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5fe8d8f9.449b28",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unable to find related network '\n      + $db.vnf-related-network-role[$db-related-network-index].related-network-role + ' in vnf-networks'`\" />\n",\r
-        "comments": "",\r
-        "x": 2721.6666145324707,\r
-        "y": 3987.6912326812744,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "4c319279.354754",\r
+        "id": "f7f125ed.69c228",\r
         "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2573.6666145324707,\r
-        "y": 3989.6912326812744,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2630.429588317871,\r
+        "y": 4026.430356025696,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "5fe8d8f9.449b28",\r
-                "77e726f5.a576b8"\r
+                "4102f097.0a51",\r
+                "f394576a.e4e1d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "77e726f5.a576b8",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2666.3334159851074,\r
-        "y": 3752.358123779297,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "e02da5bb.106d78",\r
+        "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": 2311.6666145324707,\r
-        "y": 4039.6912326812744,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2368.429588317871,\r
+        "y": 4076.430356025696,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f0d8d701.a9fbc8",\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": 2199.6666145324707,\r
-        "y": 4147.691232681274,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2256.429588317871,\r
+        "y": 4184.430356025696,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "c4302cc3.3c659"\r
+                "6c6e5ed6.1638b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "33b270a2.44aa78",\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": 2271.6666145324707,\r
-        "y": 4091.6912326812744,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2328.429588317871,\r
+        "y": 4128.430356025696,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c4302cc3.3c659",\r
+        "id": "6c6e5ed6.1638b",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2363.6666145324707,\r
-        "y": 4147.691232681274,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2420.429588317871,\r
+        "y": 4184.430356025696,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "be01e09d.5f1a68"\r
+                "4cbc1f39.6eef5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "be01e09d.5f1a68",\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": 2523.6666145324707,\r
-        "y": 4147.691232681274,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2580.429588317871,\r
+        "y": 4184.430356025696,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1ad9651a.f1635b",\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": 2223.6666145324707,\r
-        "y": 4199.691232681274,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2280.429588317871,\r
+        "y": 4236.430356025696,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d7d72478.3bd0f",\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": 2241.6666145324707,\r
-        "y": 4251.691232681274,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2298.429588317871,\r
+        "y": 4288.430356025696,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ff4fdb5d.de766",\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": 2638.6666679382324,\r
-        "y": 3940.357879638672,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2682.9296836853027,\r
+        "y": 3952.096594810486,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "eba867d8.f5c258"\r
+                "65005548.e9ca8c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "eba867d8.f5c258",\r
+        "id": "65005548.e9ca8c",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2835.3335304260254,\r
-        "y": 3940.3582515716553,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2879.5965461730957,\r
+        "y": 3952.0969667434692,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "5c631904.ed64f8"\r
+                "a15ee876.ab6228"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5c631904.ed64f8",\r
+        "id": "a15ee876.ab6228",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 2965.3334159851074,\r
-        "y": 3938.691375732422,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3009.5964317321777,\r
+        "y": 3950.430090904236,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3d29969a.2c72ea",\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": 3405.3336296081543,\r
-        "y": 3890.3582496643066,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3449.5966453552246,\r
+        "y": 3902.0969648361206,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6004d50b.b6d2f4",\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": 1694.2381210327148,\r
-        "y": 4919.882302761078,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1738.5011367797852,\r
+        "y": 4931.621017932892,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d7ac8cb2.6c2d6",\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": 1675.90474319458,\r
-        "y": 4986.5488085746765,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1720.1677589416504,\r
+        "y": 4998.2875237464905,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "f5dd2f0d.45402",\r
-                "29186d18.403c52"\r
+                "38156f19.d3b92",\r
+                "6b679924.dbe638"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f5dd2f0d.45402",\r
+        "id": "38156f19.d3b92",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1864.9047241210938,\r
-        "y": 4962.215422093868,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1909.167739868164,\r
+        "y": 4973.954137265682,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "b5157fa2.e880a8"\r
+                "115e423c.501c8e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b5157fa2.e880a8",\r
+        "id": "115e423c.501c8e",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2032.0714721679688,\r
-        "y": 4978.009855687618,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2076.334487915039,\r
+        "y": 4989.748570859432,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "436800e9.7b6c18",\r
-                "6cb8c914.ed3b6"\r
+                "b0761ca.5d4cce",\r
+                "1254304a.7d8a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "29186d18.403c52",\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": 1869.9047241210938,\r
-        "y": 5011.881681859493,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1914.167739868164,\r
+        "y": 5023.620397031307,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "b5157fa2.e880a8"\r
+                "115e423c.501c8e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "436800e9.7b6c18",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error creating cp object in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 2197.5714836120605,\r
-        "y": 4989.8820605278015,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8ef35028.d3c7d8",\r
+        "id": "52bb6b86.aae8d4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1470.714443206787,\r
-        "y": 5189.167096614838,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1514.9774589538574,\r
+        "y": 5200.905811786652,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "bf8a8114.e4c588",\r
-                "c587555a.9764c8",\r
-                "6004d50b.b6d2f4",\r
-                "d7ac8cb2.6c2d6",\r
-                "d458e80b.85d49",\r
-                "c756041f.7b47"\r
+                "1faae59a.ef7cea",\r
+                "3ff39820.94ba88",\r
+                "9a10ba16.3aa6a8",\r
+                "878cd74b.b859a8",\r
+                "eebcfd35.55fb9",\r
+                "82ba34b3.fa1f48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bf8a8114.e4c588",\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": 1706.2382850646973,\r
-        "y": 5064.406378269196,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1750.5013008117676,\r
+        "y": 5076.1450934410095,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1c962043.9ade4",\r
+        "id": "933839f3.7f2e78",\r
         "type": "comment",\r
         "name": "Floating IPs",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1267.0001029968262,\r
-        "y": 6046.691496551037,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1311.2631187438965,\r
+        "y": 6058.430211722851,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d458e80b.85d49",\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": 1690.3332862854004,\r
-        "y": 5460.691872119904,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1734.5963020324707,\r
+        "y": 5472.4305872917175,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "581b2add.f9572c"\r
+                "cc35a2e9.bcb07"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "54717650.92e9c8",\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": 2328.6667671203613,\r
-        "y": 5460.358379840851,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2372.9297828674316,\r
+        "y": 5472.097095012665,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "be199432.2a2058",\r
-                "5e67f7b6.3d5b98"\r
+                "d2f01f95.109f6",\r
+                "4a44bec7.49b2a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7aece173.4d8018",\r
+        "id": "6441b421.db195c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2700.4998054504395,\r
-        "y": 5433.6763281822205,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2744.7628211975098,\r
+        "y": 5445.415043354034,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "e9b2c07c.a44a5",\r
-                "c9a07f93.c346a8"\r
+                "64e7c13b.82899",\r
+                "1254304a.7d8a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fde9d8b6.adb198",\r
+        "id": "21487f6.95f1f8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2700.4998817443848,\r
-        "y": 5486.676086902618,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2744.762897491455,\r
+        "y": 5498.414802074432,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "e9b2c07c.a44a5",\r
-                "7f2c6758.f68da8"\r
+                "f4e9414e.c0a39",\r
+                "1254304a.7d8a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "be199432.2a2058",\r
+        "id": "d2f01f95.109f6",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2543.666690826416,\r
-        "y": 5433.691998004913,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2587.9297065734863,\r
+        "y": 5445.430713176727,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "7aece173.4d8018"\r
+                "6441b421.db195c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5e67f7b6.3d5b98",\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": 2552.238224029541,\r
-        "y": 5486.311142444611,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2596.5012397766113,\r
+        "y": 5498.049857616425,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "fde9d8b6.adb198"\r
+                "21487f6.95f1f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c9a07f93.c346a8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating cp relationship to l3-network in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 2872.6666145324707,\r
-        "y": 5456.3587040901175,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7f2c6758.f68da8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Not-found error updating cp relationship to l3-network\" />\n",\r
-        "comments": "",\r
-        "x": 2867.833522796631,\r
-        "y": 5508.009911060332,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e9b2c07c.a44a5",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3074.3333778381348,\r
-        "y": 5406.35870218277,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "c756041f.7b47",\r
+        "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": 1690.333438873291,\r
-        "y": 5621.35822725296,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1734.5964546203613,\r
+        "y": 5633.096942424774,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "f305688b.5fd87"\r
+                "1f595d1a.8ff293"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8f7eb5ab.e0a03",\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": 2610.00044631958,\r
-        "y": 5619.358222484589,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2654.2634620666504,\r
+        "y": 5631.096937656403,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "9128c14c.d846d",\r
-                "7ee1490a.c8b148"\r
+                "6dc366c6.1b2608",\r
+                "a704ca3.36a4b38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d67f366c.178058",\r
+        "id": "12c7943c.a55a2c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3016.8334922790527,\r
-        "y": 5592.67552137375,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3061.096508026123,\r
+        "y": 5604.414236545564,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "4bf8ece5.760084",\r
-                "e9b2c07c.a44a5"\r
+                "94072bfe.632c28",\r
+                "1254304a.7d8a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "203e49a1.25bf26",\r
+        "id": "2b88635f.5a533c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3016.833568572998,\r
-        "y": 5645.675280094148,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3061.0965843200684,\r
+        "y": 5657.413995265962,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "5212701d.e9f5d8",\r
-                "e9b2c07c.a44a5"\r
+                "4462ce4a.8f7a5",\r
+                "1254304a.7d8a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9128c14c.d846d",\r
+        "id": "6dc366c6.1b2608",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2860.0003776550293,\r
-        "y": 5592.691191196443,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2904.2633934020996,\r
+        "y": 5604.4299063682565,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d67f366c.178058"\r
+                "12c7943c.a55a2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ee1490a.c8b148",\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": 2868.5719108581543,\r
-        "y": 5645.31033563614,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2912.8349266052246,\r
+        "y": 5657.049050807954,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "203e49a1.25bf26"\r
+                "2b88635f.5a533c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4bf8ece5.760084",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating cp relationship to l3-network and vlan-tag in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 3189.000301361084,\r
-        "y": 5615.357897281647,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5212701d.e9f5d8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Not-found error updating cp relationship to l3-network and vlan-tag\" />\n",\r
-        "comments": "",\r
-        "x": 3184.167209625244,\r
-        "y": 5667.009104251862,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "76067898.ad5ad8",\r
+        "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": 2306.0002784729004,\r
-        "y": 5619.358223438263,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2350.2632942199707,\r
+        "y": 5631.096938610077,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8f7eb5ab.e0a03"\r
+                "b629e1fe.afa3d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f10f9580.1e0308",\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": 564.3335723876953,\r
-        "y": 6862.358483910561,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 608.5965881347656,\r
+        "y": 6874.097199082375,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e7fac88.832d038",\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": 385.6669006347656,\r
-        "y": 6910.358586907387,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 429.92991638183594,\r
+        "y": 6922.097302079201,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "def45b38.4bd55",\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": 537.0000038146973,\r
-        "y": 2346.191044807434,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 581.2630195617676,\r
+        "y": 2357.929759979248,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8db4c205.376b",\r
-                "1b446cec.4500eb"\r
+                "de18afec.e1079",\r
+                "49fb0ac8.04b604"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8db4c205.376b",\r
+        "id": "de18afec.e1079",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 736.9999961853027,\r
-        "y": 2323.690947532654,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 803.7629852294922,\r
+        "y": 2280.4297199249268,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "eae1dfc6.c9a018"\r
+                "1c4c53fe.44b0dc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1b446cec.4500eb",\r
+        "id": "49fb0ac8.04b604",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 737.4285888671875,\r
-        "y": 2373.81005859375,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 805.4415855407715,\r
+        "y": 2453.0483045578003,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "9c7304a7.47b438"\r
+                "755e8713.bcc1c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8bfe9202.c720d",\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": 1294.5001029968262,\r
-        "y": 3141.190721511841,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1338.7631187438965,\r
+        "y": 3152.929436683655,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8622c4a.ef650b8"\r
+                "ebf9c337.4e138"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8622c4a.ef650b8",\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": 1542.8333625793457,\r
-        "y": 3141.190721511841,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1587.096378326416,\r
+        "y": 3152.929436683655,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "4a1dd17d.5b9948"\r
+                "a86ece19.ececb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7f309670.a38298",\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": 500.33327865600586,\r
-        "y": 2859.52405834198,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 544.5962944030762,\r
+        "y": 2871.262773513794,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "5a24cbf3.c8832c"\r
+                "f8bef45b.8c1d38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5a24cbf3.c8832c",\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": 682.000057220459,\r
-        "y": 2858.191206932068,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 726.2630729675293,\r
+        "y": 2869.929922103882,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "34b1dbe0.125be4"\r
+                "97b3bca9.21b53"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "34b1dbe0.125be4",\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": 883.1666297912598,\r
-        "y": 2858.023896217346,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 927.4296455383301,\r
+        "y": 2869.76261138916,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "c2b28bb1.c543b8"\r
+                "a3d88602.8525e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c2b28bb1.c543b8",\r
+        "id": "a3d88602.8525e8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1095.3333015441895,\r
-        "y": 2857.024256706238,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1139.5963172912598,\r
+        "y": 2868.7629718780518,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "a041d6a5.1eaa48",\r
-                "c20a57e8.44ed5",\r
-                "765a4edc.cbc36",\r
-                "8bfe9202.c720d"\r
+                "d5a5aef3.81764",\r
+                "37a20e05.126042",\r
+                "f86420d0.f8cb4",\r
+                "a421948e.7e12b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a041d6a5.1eaa48",\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": 1307.0000190734863,\r
-        "y": 2810.35747051239,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1351.2630348205566,\r
+        "y": 2822.096185684204,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c20a57e8.44ed5",\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": 1288.6668090820312,\r
-        "y": 2857.0242223739624,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1332.9298248291016,\r
+        "y": 2868.7629375457764,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "4e0e361c.f4c848"\r
+                "1cb49556.32692b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4e0e361c.f4c848",\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": 1530.3332786560059,\r
-        "y": 2855.357717514038,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1574.5962944030762,\r
+        "y": 2867.096432685852,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "807f0004.8adbb8"\r
+                "d1c77ddb.a0354"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "807f0004.8adbb8",\r
+        "id": "d1c77ddb.a0354",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1726.99995803833,\r
-        "y": 2855.357636451721,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1771.2629737854004,\r
+        "y": 2867.096351623535,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "253c224a.85d896"\r
+                "1428ec99.f2d413"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "253c224a.85d896",\r
+        "id": "1428ec99.f2d413",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1880.333179473877,\r
-        "y": 2855.357508659363,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1924.5961952209473,\r
+        "y": 2867.0962238311768,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "a6f5eb0a.e707c8",\r
-                "9ce5336a.719328",\r
-                "ca1a48c3.b1baa8"\r
+                "fcce8154.9685e",\r
+                "cbd9fa48.bee5b8",\r
+                "491c8e10.8347"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a6f5eb0a.e707c8",\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": 2087.000011444092,\r
-        "y": 2803.6908864974976,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2131.263027191162,\r
+        "y": 2815.4296016693115,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9ce5336a.719328",\r
+        "id": "cbd9fa48.bee5b8",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 2041.999927520752,\r
-        "y": 2893.6908073425293,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2086.2629432678223,\r
+        "y": 2905.4295225143433,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "765a4edc.cbc36",\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": 1300.3333473205566,\r
-        "y": 2917.024224281311,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1344.596363067627,\r
+        "y": 2928.762939453125,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "244dfb68.71e964"\r
+                "79b99590.d3fcac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "244dfb68.71e964",\r
+        "id": "79b99590.d3fcac",\r
         "type": "outcome",\r
         "name": "-1",\r
         "xml": "<outcome value='-1'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1491.9999885559082,\r
-        "y": 2917.024468421936,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1536.2630043029785,\r
+        "y": 2928.76318359375,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "10ed32c9.c47a65"\r
+                "917a6c27.9bf3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "10ed32c9.c47a65",\r
+        "id": "917a6c27.9bf3",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1640.333179473877,\r
-        "y": 2915.357508659363,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1684.5961952209473,\r
+        "y": 2927.0962238311768,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "404dfa80.b1344c",\r
-                "c6cafcd7.27543"\r
+                "a6ff636a.1da36",\r
+                "f394576a.e4e1d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "404dfa80.b1344c",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3168.6668128967285,\r
-        "y": 2767.024085998535,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "c6cafcd7.27543",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'VNFC network role '\n      + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-network-role\n      + ' is not found in VNF network list'\n      `\" />\n\n\n\n",\r
-        "comments": "",\r
-        "x": 1808.6665534973145,\r
-        "y": 2933.690760612488,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c35abd31.4d97c8",\r
+        "id": "95349f39.6e5a9",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2331.999897003174,\r
-        "y": 3325.3573598861694,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2376.262912750244,\r
+        "y": 3337.0960750579834,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "96ccd849.43cf7",\r
-                "ff243880.f35278",\r
-                "6cdf3e0.84820c4"\r
+                "9e396ac0.1c0cd8",\r
+                "f53353ba.f6cea",\r
+                "35326a6f.8ce8b6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "96ccd849.43cf7",\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": 2528.666648864746,\r
-        "y": 3280.3572788238525,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2572.9296646118164,\r
+        "y": 3292.0959939956665,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "2cef54b4.065124"\r
+                "d3c7828c.9a35d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2cef54b4.065124",\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": 2755.3332748413086,\r
-        "y": 3280.3572788238525,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2799.596290588379,\r
+        "y": 3292.0959939956665,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "37df0574.9a5ed2"\r
+                "c4cd4a9c.110088"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "37df0574.9a5ed2",\r
+        "id": "c4cd4a9c.110088",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2935.333240509033,\r
-        "y": 3280.3576850891113,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2979.5962562561035,\r
+        "y": 3292.0964002609253,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "788f6a84.68199c"\r
+                "d297a29d.32368"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c57c0c21.024ab8",\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": 2360.3332328796387,\r
-        "y": 3143.690773010254,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2404.596248626709,\r
+        "y": 3155.429488182068,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4a1dd17d.5b9948",\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": 1805.3335762023926,\r
-        "y": 3140.357808113098,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1849.596591949463,\r
+        "y": 3152.096523284912,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "5f09d3a6.026514",\r
-                "56c1febc.7db6b",\r
-                "14889e9b.6b5371"\r
+                "b8041b24.2b66c8",\r
+                "9c9140dc.f2e33",\r
+                "489d3614.0f27f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5f09d3a6.026514",\r
+        "id": "b8041b24.2b66c8",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2007.000087738037,\r
-        "y": 3040.3573513031006,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2051.2631034851074,\r
+        "y": 3052.0960664749146,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "22b591c4.2e4326"\r
+                "8bb4c617.110b48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "56c1febc.7db6b",\r
+        "id": "9c9140dc.f2e33",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2003.4287185668945,\r
-        "y": 3226.309642791748,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2047.6917343139648,\r
+        "y": 3238.048357963562,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "ded80477.617b2"\r
+                "b0bfddfb.72eba"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "22b591c4.2e4326",\r
+        "id": "8bb4c617.110b48",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2138.6666374206543,\r
-        "y": 3063.0240983963013,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2182.9296531677246,\r
+        "y": 3074.7628135681152,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ebf41120.205ed",\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": 3028.6671562194824,\r
-        "y": 3442.0247650146484,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3072.9301719665527,\r
+        "y": 3453.7634801864624,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ded80477.617b2",\r
+        "id": "b0bfddfb.72eba",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2157.0001335144043,\r
-        "y": 3225.3572750091553,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2201.2631492614746,\r
+        "y": 3237.0959901809692,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "c57c0c21.024ab8",\r
-                "c35abd31.4d97c8"\r
+                "801d0ec7.9db1b",\r
+                "95349f39.6e5a9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "62a4f148.c202c",\r
+        "id": "d34b6157.8f35a",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4288.666753768921,\r
-        "y": 3613.691241979599,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4332.929769515991,\r
+        "y": 3625.429957151413,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "afef3972.79782",\r
-                "4862bc5a.5fb3f4"\r
+                "88064ec.10dddb",\r
+                "52c4ad67.8cbd34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4862bc5a.5fb3f4",\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": 4503.6667556762695,\r
-        "y": 3663.690915822983,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4547.92977142334,\r
+        "y": 3675.4296309947968,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "4c2388df.70ec08"\r
+                "995a749b.8f5f58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "afef3972.79782",\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": 4505.333911895752,\r
-        "y": 3570.357902288437,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4549.596927642822,\r
+        "y": 3582.096617460251,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "191fd488.fd1f6b",\r
-                "be67cd12.641768"\r
+                "431902e1.65a18c",\r
+                "a1d0494d.a8bd18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "191fd488.fd1f6b",\r
+        "id": "431902e1.65a18c",\r
         "type": "outcome",\r
         "name": "ipv4",\r
         "xml": "<outcome value='ipv4'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4708.667174021402,\r
-        "y": 3543.6911326249437,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4752.930189768473,\r
+        "y": 3555.4298477967577,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "eaddc3bb.251ec8"\r
+                "bb7bc2b4.6ce51"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "be67cd12.641768",\r
+        "id": "a1d0494d.a8bd18",\r
         "type": "outcome",\r
         "name": "ipv6",\r
         "xml": "<outcome value='ipv6'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4708.666847229004,\r
-        "y": 3590.3576600551605,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4752.929862976074,\r
+        "y": 3602.0963752269745,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "95abff5b.e35a8"\r
+                "e7f8c0a.86c664"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "eaddc3bb.251ec8",\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": 4905.333660125732,\r
-        "y": 3542.0246064662933,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4949.596675872803,\r
+        "y": 3553.7633216381073,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "95abff5b.e35a8",\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": 4910.33353805542,\r
-        "y": 3590.357679128647,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4954.59655380249,\r
+        "y": 3602.096394300461,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8df6c942.a715e",\r
+        "id": "7fcd1d62.d76cb4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4843.666786193848,\r
-        "y": 3663.357679128647,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4887.929801940918,\r
+        "y": 3675.096394300461,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "a8addf18.4e3a2",\r
-                "7cc78bb8.388714"\r
+                "5e631020.53cce",\r
+                "df991002.c407"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a8addf18.4e3a2",\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": 5022.000106811523,\r
-        "y": 3640.024165868759,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 5066.263122558594,\r
+        "y": 3651.762881040573,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7cc78bb8.388714",\r
+        "id": "df991002.c407",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 5007.000110626221,\r
-        "y": 3686.691159963608,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 5051.263126373291,\r
+        "y": 3698.4298751354218,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5250a99a.907d1",\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": 3020.3330307006836,\r
-        "y": 3603.691499710083,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3064.596046447754,\r
+        "y": 3615.430214881897,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d823fb40.54f4"\r
+                "5fc3b8b.62e4a48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d823fb40.54f4",\r
+        "id": "5fc3b8b.62e4a48",\r
         "type": "outcome",\r
         "name": "-1",\r
         "xml": "<outcome value='-1'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3176.99959564209,\r
-        "y": 3603.6914348602295,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3221.26261138916,\r
+        "y": 3615.4301500320435,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "4bb7b0dc.89ed5"\r
+                "1fa6c512.92b1cb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4bb7b0dc.89ed5",\r
+        "id": "1fa6c512.92b1cb",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3325.3327865600586,\r
-        "y": 3602.0244750976562,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3369.595802307129,\r
+        "y": 3613.76319026947,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "12c0eff5.7b1ef",\r
-                "404dfa80.b1344c"\r
+                "fec2cbd9.e930a8",\r
+                "f394576a.e4e1d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "12c0eff5.7b1ef",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Not able to find VNF network subnet that contains address '\n      + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[0].vnfc-ip-address\n      `\" />\n\n\n\n",\r
-        "comments": "",\r
-        "x": 3493.666118621826,\r
-        "y": 3618.6909503936768,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "324552d3.28633e",\r
+        "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": 3131.9996757507324,\r
-        "y": 3680.3582706451416,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3176.2626914978027,\r
+        "y": 3692.0969858169556,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1781a3e7.247ed4",\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": 485.3332710266113,\r
-        "y": 3275.357508659363,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 529.5962867736816,\r
+        "y": 3287.0962238311768,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4c2388df.70ec08",\r
+        "id": "995a749b.8f5f58",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4690.333358764648,\r
-        "y": 3663.691404104233,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4734.596374511719,\r
+        "y": 3675.4301192760468,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8df6c942.a715e"\r
+                "7fcd1d62.d76cb4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ca1a48c3.b1baa8",\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": 2063.666515350342,\r
-        "y": 2848.690969467163,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2107.929531097412,\r
+        "y": 2860.429684638977,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8ca3ab85.032598",\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": 1261.9999809265137,\r
-        "y": 4463.690697193146,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1306.262996673584,\r
+        "y": 4475.42941236496,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "23c8931f.52f9cc",\r
-                "57df7e5d.984c2"\r
+                "7364ca38.2e5154",\r
+                "58d89920.1583e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "23c8931f.52f9cc",\r
+        "id": "7364ca38.2e5154",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1446.999927520752,\r
-        "y": 4438.690515995026,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1491.2629432678223,\r
+        "y": 4450.42923116684,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "a1c6b38e.a41d3"\r
+                "8158813c.66973"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "57df7e5d.984c2",\r
+        "id": "58d89920.1583e8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1445.095199584961,\r
-        "y": 4485.476343631744,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1489.3582153320312,\r
+        "y": 4497.215058803558,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "59f2b757.a63258"\r
+                "3d2f5ba8.c13584"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a1c6b38e.a41d3",\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": 1678.6666984558105,\r
-        "y": 4437.023866176605,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1722.9297142028809,\r
+        "y": 4448.762581348419,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "59f2b757.a63258",\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": 1635.333209991455,\r
-        "y": 4485.357364177704,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1679.5962257385254,\r
+        "y": 4497.096079349518,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "805bb33d.dc18f",\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": 1250.3333129882812,\r
-        "y": 4562.023870944977,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1294.5963287353516,\r
+        "y": 4573.762586116791,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "7a1bcd20.0ffb04",\r
-                "58313c0d.8e25dc"\r
+                "b1314442.1e8e58",\r
+                "4e90e22a.aab6cc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7a1bcd20.0ffb04",\r
+        "id": "b1314442.1e8e58",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1446.9999198913574,\r
-        "y": 4537.023668766022,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1491.2629356384277,\r
+        "y": 4548.762383937836,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8f8878a3.b40b28"\r
+                "c5c1ae87.86af"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "58313c0d.8e25dc",\r
+        "id": "4e90e22a.aab6cc",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1445.0951919555664,\r
-        "y": 4583.8094964027405,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1489.3582077026367,\r
+        "y": 4595.548211574554,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "33d0dbb1.211884"\r
+                "ba48d68e.f81aa8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8f8878a3.b40b28",\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": 1658.6667022705078,\r
-        "y": 4535.3568778038025,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1702.9297180175781,\r
+        "y": 4547.0955929756165,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "33d0dbb1.211884",\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": 1616.9998321533203,\r
-        "y": 4583.690538883209,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1661.2628479003906,\r
+        "y": 4595.429254055023,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f47ab8ac.f1f838",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2890.3333015441895,\r
-        "y": 2218.691004753113,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "aa023fe5.47b5f8",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 2796.9998054504395,\r
-        "y": 2293.691004753113,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            [\r
-                "d0aa2f4d.891c28",\r
-                "f47ab8ac.f1f838"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e944765.ab28a88",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 2001.9998588562012,\r
-        "y": 2353.6908683776855,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            [\r
-                "bcf4c56.2e632b8",\r
-                "f47ab8ac.f1f838"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "589f1683.8c95c",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 2263.666723251343,\r
-        "y": 2408.691035270691,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            [\r
-                "b1df2727.b9c3d",\r
-                "f47ab8ac.f1f838"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "581b2add.f9572c",\r
+        "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": 1923.6666297912598,\r
-        "y": 5460.6908984184265,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1967.92964553833,\r
+        "y": 5472.4296135902405,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "bcbba18a.60b55"\r
+                "7bf7e0e4.c2092"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bcbba18a.60b55",\r
+        "id": "7bf7e0e4.c2092",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2122.000099182129,\r
-        "y": 5460.358053684235,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2166.263114929199,\r
+        "y": 5472.096768856049,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "54717650.92e9c8"\r
+                "62b74236.aad4fc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f305688b.5fd87",\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": 1926.9999732971191,\r
-        "y": 5620.357346057892,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1971.2629890441895,\r
+        "y": 5632.096061229706,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "fcdfc8c4.1ea6e8"\r
+                "47d7d211.80a5ec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fcdfc8c4.1ea6e8",\r
+        "id": "47d7d211.80a5ec",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2125.3334426879883,\r
-        "y": 5620.0245013237,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2169.5964584350586,\r
+        "y": 5631.763216495514,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "76067898.ad5ad8"\r
+                "1de94581.c488da"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bc8c9230.4f5cf8",\r
+        "id": "316d52f.75519ae",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1830.3332557678223,\r
-        "y": 6198.6907658576965,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1874.5962715148926,\r
+        "y": 6210.4294810295105,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "1f81499d.5e5af6",\r
-                "8e120f2d.e1456"\r
+                "c0647bff.dcfb98",\r
+                "5911a368.70726c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5f97f00c.f2f7a",\r
+        "id": "24db1747.589188",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1832.0000038146973,\r
-        "y": 6513.690777301788,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1876.2630195617676,\r
+        "y": 6525.429492473602,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "47c03850.21f5a",\r
-                "7256be96.3662d"\r
+                "bdb5121f.d0648",\r
+                "9dacd2cd.93ab"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8e120f2d.e1456",\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": 2047.000202178955,\r
-        "y": 6257.023936748505,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2091.2632179260254,\r
+        "y": 6268.762651920319,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "2ff95408.117534"\r
+                "f138f006.e2934"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "35f11c05.060024",\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": 2722.0001258850098,\r
-        "y": 6257.023775577545,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2766.26314163208,\r
+        "y": 6268.762490749359,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "6fc56971.00a6d8",\r
-                "5cf11136.58121"\r
+                "34dd5b17.9e06c4",\r
+                "c966a91b.7c68b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6f85c684.0cc928",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating vip-ipv4-address-list relationship to cp in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 3280.3333473205566,\r
-        "y": 6250.357183933258,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "383b2271.606576",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv4-address-list relationship to cp\" />\n",\r
-        "comments": "",\r
-        "x": 3280.500316619873,\r
-        "y": 6300.341357648373,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "1646f205.fdcaa6",\r
+        "id": "52867741.452a08",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3113.8332176208496,\r
-        "y": 6230.341557025909,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3158.09623336792,\r
+        "y": 6242.080272197723,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "6f85c684.0cc928",\r
-                "7d8d801d.5aba58"\r
+                "1a54f803.3243e8",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8458375f.c06d8",\r
+        "id": "fbf6e33e.69daa",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3113.833293914795,\r
-        "y": 6283.341315746307,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3158.0963096618652,\r
+        "y": 6295.080030918121,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "383b2271.606576",\r
-                "7d8d801d.5aba58"\r
+                "9ebbd632.ef43d8",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6fc56971.00a6d8",\r
+        "id": "34dd5b17.9e06c4",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2957.000102996826,\r
-        "y": 6230.357226848602,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3001.2631187438965,\r
+        "y": 6242.095942020416,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "1646f205.fdcaa6"\r
+                "52867741.452a08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5cf11136.58121",\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": 2965.571636199951,\r
-        "y": 6282.9763712883,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3009.8346519470215,\r
+        "y": 6294.7150864601135,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8458375f.c06d8"\r
+                "fbf6e33e.69daa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7256be96.3662d",\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": 2048.6665992736816,\r
-        "y": 6580.357346057892,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2092.929615020752,\r
+        "y": 6592.096061229706,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "6947a958.cfef3"\r
+                "2dbd930d.06759c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8da01247.1c11d8",\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": 2718.6665534973145,\r
-        "y": 6578.690128803253,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2762.9295692443848,\r
+        "y": 6590.428843975067,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "d83f3f7b.caadf",\r
-                "cc62185e.d573c8"\r
+                "7666db3f.f47e74",\r
+                "639b285f.08d4e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "540af8f6.c0c8e",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating vip-ipv4-address-list relationship to cp in AAI\" />\n",\r
-        "comments": "",\r
-        "x": 3276.9997749328613,\r
-        "y": 6572.023537158966,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "64f21f33.6807a",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv4-address-list relationship to cp\" />\n",\r
-        "comments": "",\r
-        "x": 3277.1667442321777,\r
-        "y": 6622.007710874081,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "998fc046.d68f",\r
+        "id": "f0c87b03.93a6b8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3110.4996452331543,\r
-        "y": 6552.007910251617,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3154.7626609802246,\r
+        "y": 6563.746625423431,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "540af8f6.c0c8e"\r
+                "82534f84.1802c",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8dc96b01.474dd",\r
+        "id": "301d4b1.d1d96b4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3110.4997215270996,\r
-        "y": 6605.007668972015,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3154.76273727417,\r
+        "y": 6616.746384143829,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "64f21f33.6807a"\r
+                "bec2c422.16f948",\r
+                "fc515f97.dc4ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d83f3f7b.caadf",\r
+        "id": "7666db3f.f47e74",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2953.666530609131,\r
-        "y": 6552.02358007431,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2997.929546356201,\r
+        "y": 6563.762295246124,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "998fc046.d68f"\r
+                "f0c87b03.93a6b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cc62185e.d573c8",\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": 2962.238063812256,\r
-        "y": 6604.642724514008,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3006.501079559326,\r
+        "y": 6616.3814396858215,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8dc96b01.474dd"\r
+                "301d4b1.d1d96b4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2ff95408.117534",\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": 2300.3332710266113,\r
-        "y": 6257.023613452911,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2344.5962867736816,\r
+        "y": 6268.762328624725,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "9475b87c.2a043"\r
+                "96bf85f6.f873f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9475b87c.2a043",\r
+        "id": "96bf85f6.f873f8",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2487.000114440918,\r
-        "y": 6257.024100780487,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2531.2631301879883,\r
+        "y": 6268.762815952301,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "35f11c05.060024"\r
+                "14599bc4.dfcff4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6947a958.cfef3",\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": 2296.9998512268066,\r
-        "y": 6578.690353870392,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2341.262866973877,\r
+        "y": 6590.429069042206,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "e7b53b25.79cf28"\r
+                "75bae1b8.8d5a7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e7b53b25.79cf28",\r
+        "id": "75bae1b8.8d5a7",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2483.6666946411133,\r
-        "y": 6578.6908411979675,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2527.9297103881836,\r
+        "y": 6590.4295563697815,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "8da01247.1c11d8"\r
+                "6321a56a.de355c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2376b6f4.a8ed0a",\r
+        "id": "14b5c458.f3a9ec",\r
         "type": "comment",\r
         "name": "SELF-SERVE FORK",\r
         "info": "",\r
         "comments": "",\r
-        "x": 666.7142944335938,\r
-        "y": 867.0476245880127,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "efcbebcc.14464",\r
-        "type": "call",\r
-        "name": "call self-serve-vf-module-assign",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-assign' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1199.749439239502,\r
-        "y": 911.964430809021,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            [\r
-                "971d6518.2083a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4f6ca91d.20b5c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Failed to create self-serve assignment for vf-module with vf-module-id=' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + ' with error: ' + $error-message`\" />\n",\r
-        "comments": "",\r
-        "x": 1583.820816040039,\r
-        "y": 911.9643812179565,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "971d6518.2083a",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1420.047019958496,\r
-        "y": 911.4524621963501,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            [\r
-                "4f6ca91d.20b5c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d92c2968.bb747",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
-        "comments": "",\r
-        "x": 1146.6186828613281,\r
-        "y": 1061.809350013733,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c5876c75.baaed",\r
-        "type": "execute",\r
-        "name": "printContext",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vnfend.log' />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1138.6662254333496,\r
-        "y": 1016.3008937835693,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "be93c800.e962c8",\r
-        "type": "set",\r
-        "name": "set order-status to PendingCreate",\r
-        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.order-status'\n  value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",\r
-        "comments": "",\r
-        "x": 1209.3567428588867,\r
-        "y": 965.2617883682251,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 710.9773101806641,\r
+        "y": 878.7863397598267,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3eddc68c.a493ea",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 920.4521713256836,\r
-        "y": 911.6425924301147,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": [\r
-            [\r
-                "efcbebcc.14464",\r
-                "be93c800.e962c8",\r
-                "c5876c75.baaed",\r
-                "d92c2968.bb747"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "8086d3c6.2981",\r
+        "id": "b4ce17c3.fa50b8",\r
         "type": "comment",\r
         "name": "First, count the subnets for this address family",\r
         "info": "",\r
         "comments": "",\r
-        "x": 2662.0004081726074,\r
-        "y": 3189.9997692108154,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2706.2634239196777,\r
+        "y": 3201.7384843826294,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fd0458e9.351b28",\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": 3035.333095550537,\r
-        "y": 3485.0002727508545,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3079.5961112976074,\r
+        "y": 3496.7389879226685,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "9c5ef8eb.9a7678"\r
+                "6a0e881b.4ba548"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9c5ef8eb.9a7678",\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": 3261.9997215270996,\r
-        "y": 3485.0002727508545,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3306.26273727417,\r
+        "y": 3496.7389879226685,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "33f6db20.0ff7f4"\r
+                "78272436.cd36bc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "33f6db20.0ff7f4",\r
+        "id": "78272436.cd36bc",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3441.999687194824,\r
-        "y": 3485.0006790161133,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3486.2627029418945,\r
+        "y": 3496.7393941879272,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "54c3098c.899198"\r
+                "8571ff4f.7368d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ff243880.f35278",\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": 2516.9999809265137,\r
-        "y": 3231.6665210723877,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2561.262996673584,\r
+        "y": 3243.4052362442017,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "38b83402.0da80c",\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": 3265.3333473205566,\r
-        "y": 3298.3332710266113,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3309.596363067627,\r
+        "y": 3310.0719861984253,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "788f6a84.68199c",\r
+        "id": "d297a29d.32368",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3081.9997215270996,\r
-        "y": 3279.9999561309814,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3126.26273727417,\r
+        "y": 3291.7386713027954,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "38b83402.0da80c",\r
-                "3fbd6c40.04a2bc"\r
+                "774c4dcf.519194",\r
+                "93d44f0.e06a8b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3fbd6c40.04a2bc",\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": 3246.999767303467,\r
-        "y": 3253.3332691192627,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3291.262783050537,\r
+        "y": 3265.0719842910767,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6cdf3e0.84820c4",\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": 2507.0003929138184,\r
-        "y": 3468.3334379196167,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2551.2634086608887,\r
+        "y": 3480.0721530914307,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "a4b2346f.f87cb",\r
-                "33300284.96a34e"\r
+                "d300c477.7f84e8",\r
+                "8e745db4.433a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a4b2346f.f87cb",\r
+        "id": "d300c477.7f84e8",\r
         "type": "outcome",\r
         "name": "1",\r
         "xml": "<outcome value='1'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2666.999912261963,\r
-        "y": 3366.666606903076,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2711.262928009033,\r
+        "y": 3378.40532207489,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "ad8dd57b.16b9d"\r
+                "700167b.43daf98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ad8dd57b.16b9d",\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": 2940.3332176208496,\r
-        "y": 3364.9999561309814,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2984.59623336792,\r
+        "y": 3376.7386713027954,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "33300284.96a34e",\r
+        "id": "8e745db4.433a4",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2666.999828338623,\r
-        "y": 3568.333526611328,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2711.2628440856934,\r
+        "y": 3580.072241783142,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "459f9c7c.facbf4"\r
+                "49b5ae7f.1ecb1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "459f9c7c.facbf4",\r
+        "id": "49b5ae7f.1ecb1",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2823.6664695739746,\r
-        "y": 3568.3332080841064,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2867.929485321045,\r
+        "y": 3580.0719232559204,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "ebf41120.205ed",\r
-                "fd0458e9.351b28",\r
-                "5250a99a.907d1",\r
-                "324552d3.28633e"\r
+                "38e8e50c.e85dda",\r
+                "12c26bf4.a2a7c4",\r
+                "4e4fca65.cbf754",\r
+                "10262cd6.950543"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "54c3098c.899198",\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": 3636.9998664855957,\r
-        "y": 3483.333522796631,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3681.262882232666,\r
+        "y": 3495.072237968445,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "50f46a5d.151964",\r
-                "b4045616.46c1e"\r
+                "dcdbaac8.71fac8",\r
+                "9a1f2d8c.38269"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "50f46a5d.151964",\r
+        "id": "dcdbaac8.71fac8",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3833.6667137145996,\r
-        "y": 3418.333133459091,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3877.92972946167,\r
+        "y": 3430.071848630905,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "fa79e796.718bc"\r
+                "ff48f3fc.6ff7e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b4045616.46c1e",\r
+        "id": "9a1f2d8c.38269",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3826.7621116638184,\r
-        "y": 3552.61904501915,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 3871.0251274108887,\r
+        "y": 3564.3577601909637,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "91359939.322c88"\r
+                "f43b3822.b1c158"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "91359939.322c88",\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": 3981.9999046325684,\r
-        "y": 3551.666251897812,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4026.2629203796387,\r
+        "y": 3563.404967069626,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "fa078de2.dc1ae",\r
-                "21622a4.a2fe356"\r
+                "4eb745de.4f4aec",\r
+                "898134a0.ae5d18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fa078de2.dc1ae",\r
+        "id": "4eb745de.4f4aec",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4136.999980926514,\r
-        "y": 3481.6665513515472,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4181.262996673584,\r
+        "y": 3493.405266523361,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "4d5413f9.62c7c4"\r
+                "8dbb144d.370578"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21622a4.a2fe356",\r
+        "id": "898134a0.ae5d18",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4140.095777511597,\r
-        "y": 3614.2856385707855,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4184.358793258667,\r
+        "y": 3626.0243537425995,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "62a4f148.c202c"\r
+                "d34b6157.8f35a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "14889e9b.6b5371",\r
+        "id": "489d3614.0f27f8",\r
         "type": "outcome",\r
         "name": "0",\r
         "xml": "<outcome value='0'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2008.666591644287,\r
-        "y": 3088.3332080841064,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2052.9296073913574,\r
+        "y": 3100.0719232559204,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "22b591c4.2e4326"\r
+                "8bb4c617.110b48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "82e555ca.39e4b",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'SDNC subnet id '\n      + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id\n      + ' does not have network-start-address populated'`\" />\n\n\n\n",\r
-        "comments": "",\r
-        "x": 4142.000217437744,\r
-        "y": 3433.332970380783,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fa79e796.718bc",\r
+        "id": "ff48f3fc.6ff7e",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3978.6666412353516,\r
-        "y": 3418.332900762558,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4022.929656982422,\r
+        "y": 3430.071615934372,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "82e555ca.39e4b",\r
-                "404dfa80.b1344c"\r
+                "1b07cf87.9b6fe",\r
+                "f394576a.e4e1d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "926e57f0.46dc88",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'SDNC subnet id '\n      + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id\n      + ' does not have cidr-mask populated'`\" />\n\n\n\n",\r
-        "comments": "",\r
-        "x": 4447.000072479248,\r
-        "y": 3494.9998376369476,\r
-        "z": "112fab3d.a10d2d",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "4d5413f9.62c7c4",\r
+        "id": "8dbb144d.370578",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4283.6664962768555,\r
-        "y": 3479.9997680187225,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 4327.929512023926,\r
+        "y": 3491.7384831905365,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "926e57f0.46dc88",\r
-                "404dfa80.b1344c"\r
+                "319df706.15f388",\r
+                "f394576a.e4e1d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a6a5fc58.d573a",\r
+        "id": "55e003a5.fca06c",\r
         "type": "comment",\r
         "name": "Ignore address families with no addresses",\r
         "info": "",\r
         "comments": "",\r
-        "x": 2282.9999656677246,\r
-        "y": 3018.6667041778564,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 2327.262981414795,\r
+        "y": 3030.4054193496704,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "57662986.d12c8",\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": 1253.666805267334,\r
-        "y": 4648.333082199097,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1297.9298210144043,\r
+        "y": 4660.071797370911,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "bca552ea.8dcc08",\r
-                "1bc6e4fe.e7fc03"\r
+                "6a6eb8f1.9f62d8",\r
+                "f080e271.42c9b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bca552ea.8dcc08",\r
+        "id": "6a6eb8f1.9f62d8",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1435.3332176208496,\r
-        "y": 4624.999711990356,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1479.59623336792,\r
+        "y": 4636.73842716217,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "e71566e3.c745c8"\r
+                "db88ee95.a44c3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1bc6e4fe.e7fc03",\r
+        "id": "f080e271.42c9b",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1433.4284896850586,\r
-        "y": 4671.785539627075,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1477.691505432129,\r
+        "y": 4683.524254798889,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "ce29a815.f5683"\r
+                "9b23e63c.8ba5d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e71566e3.c745c8",\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": 1596.999843597412,\r
-        "y": 4626.666704177856,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 1641.2628593444824,\r
+        "y": 4638.40541934967,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "b05fd296.8c44d8",\r
-                "9ce78c9c.21d2e"\r
+                "8c17d99f.3ce5f8",\r
+                "b50cee13.b9a08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "498f5a29.9e1ca4",\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": 532.7141952514648,\r
-        "y": 256.9047336578369,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 576.9772109985352,\r
+        "y": 268.6434488296509,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "93f5de2c.13776",\r
-                "5d086485.c917c4"\r
+                "da47b7e7.f3d848",\r
+                "23870b6f.901aa4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "93f5de2c.13776",\r
+        "id": "da47b7e7.f3d848",\r
         "type": "other",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 716.0475692749023,\r
-        "y": 226.90472221374512,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 760.3105850219727,\r
+        "y": 238.64343738555908,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "201ec95d.e95dfe"\r
+                "4f66f95.7b33f08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5d086485.c917c4",\r
+        "id": "23870b6f.901aa4",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 715.8094749450684,\r
-        "y": 267.85721588134766,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 760.0724906921387,\r
+        "y": 279.5959310531616,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "404d471f.ff2ab"\r
+                "dee18ffa.a6fe6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "201ec95d.e95dfe",\r
+        "id": "4f66f95.7b33f08",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 851.0475234985352,\r
-        "y": 225.23806190490723,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 895.3105392456055,\r
+        "y": 236.9767770767212,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "404d471f.ff2ab",\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": 932.7141799926758,\r
-        "y": 266.9047431945801,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 976.9771957397461,\r
+        "y": 278.64345836639404,\r
+        "z": "565447bf.1f1598",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f0c546c1.be6dc",\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": 564.3015670776367,\r
-        "y": 808.2980642318726,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 608.564582824707,\r
+        "y": 820.0367794036865,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "40af7b28.67ea64",\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": 522.4443054199219,\r
-        "y": 1035.2981328964233,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 566.7073211669922,\r
+        "y": 1047.0368480682373,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "6edbe4f3.864dc4",\r
-                "bb5f378d.ec1c2"\r
+                "7c55f766.ae1538",\r
+                "c5c4e1ec.02a4b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6edbe4f3.864dc4",\r
+        "id": "7c55f766.ae1538",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 743.158504486084,\r
-        "y": 1152.869031906128,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 787.4215202331543,\r
+        "y": 1164.607747077942,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "72f655d6.4f3d74"\r
+                "94a28d82.4f01d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bb5f378d.ec1c2",\r
+        "id": "c5c4e1ec.02a4b",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 743.7299575805664,\r
-        "y": 911.7266693115234,\r
-        "z": "112fab3d.a10d2d",\r
+        "x": 787.9929733276367,\r
+        "y": 923.4653844833374,\r
+        "z": "565447bf.1f1598",\r
         "wires": [\r
             [\r
-                "3eddc68c.a493ea"\r
+                "3d2fe671.10512a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "69eb61e5.2ebc48",\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": 473,\r
-        "y": 7237,\r
-        "z": "112fab3d.a10d2d",\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
-]\r
+]
\ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-async.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-async.json
new file mode 100644 (file)
index 0000000..b8b048c
--- /dev/null
@@ -0,0 +1,295 @@
+[\r
+    {\r
+        "id": "58cdaf8e.9338",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 179.8363037109375,\r
+        "y": 167.77080249786377,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "b5c33869.bb8148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5c33869.bb8148",\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='${project.version}'>",\r
+        "outputs": 1,\r
+        "x": 293.12200927734375,\r
+        "y": 208.00891399383545,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "34177c3d.1d3d04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "34177c3d.1d3d04",\r
+        "type": "method",\r
+        "name": "method vf-module-topology-operation-async",\r
+        "xml": "<method rpc='vf-module-topology-operation-async' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 314.7649230957031,\r
+        "y": 266.520809173584,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "98c85507.862c28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4dff986d.cfbfe8",\r
+        "type": "comment",\r
+        "name": "vf-module-topology-operation-async",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 642.9311599731445,\r
+        "y": 132.85714530944824,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "98c85507.862c28",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 637.7291793823242,\r
+        "y": 419.98814606666565,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "9c9f62a6.868f5",\r
+                "2c41085c.8dd918",\r
+                "ccddbe0b.ddbca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c9f62a6.868f5",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 842.038688659668,\r
+        "y": 627.2950584888458,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2c41085c.8dd918",\r
+        "type": "switchNode",\r
+        "name": "switch svc-action",\r
+        "xml": "<switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 848.6575927734375,\r
+        "y": 419.1517460346222,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "d8c68316.b7a72",\r
+                "b525dffc.024fb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d8c68316.b7a72",\r
+        "type": "outcome",\r
+        "name": "assign",\r
+        "xml": "<outcome value='assign'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1062.419563293457,\r
+        "y": 309.4375765323639,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "45cc9d2f.beb9b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93f4bc38.a3c71",\r
+        "type": "outcome",\r
+        "name": "unassign",\r
+        "xml": "<outcome value='unassign'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1162.0505981445312,\r
+        "y": 459.37825417518616,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "d491d98.b65f128"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b525dffc.024fb",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1062.514804840088,\r
+        "y": 551.8183891773224,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "90ef12c9.0fcde"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90ef12c9.0fcde",\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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",\r
+        "comments": "",\r
+        "x": 1256.7052307128906,\r
+        "y": 551.8184578418732,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "45cc9d2f.beb9b4",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1434.5623970031738,\r
+        "y": 309.0090410709381,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dffe0c9b.30a7e",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-deactivate",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-deactivate' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1537.8124046325684,\r
+        "y": 409.42566990852356,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d491d98.b65f128",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-unassign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-unassign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1532.1456756591797,\r
+        "y": 459.09238934516907,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "516083ba.09ae5c",\r
+        "type": "outcome",\r
+        "name": "deactivate",\r
+        "xml": "<outcome value='deactivate'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1166.1456909179688,\r
+        "y": 410.0923435688019,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "dffe0c9b.30a7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9428c2a3.733a6",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-activate",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-activate' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1530.2886505126953,\r
+        "y": 360.33031582832336,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8ae8c.55933178",\r
+        "type": "outcome",\r
+        "name": "activate",\r
+        "xml": "<outcome value='activate'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1158.2886352539062,\r
+        "y": 360.99699330329895,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "9428c2a3.733a6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "116260cc.9bfbcf",\r
+        "type": "outcome",\r
+        "name": "changeassign",\r
+        "xml": "<outcome value='changeassign'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1176.622013092041,\r
+        "y": 506.9969837665558,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "58e3fa70.7e8074"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "58e3fa70.7e8074",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-changeassign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-changeassign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1545.717082977295,\r
+        "y": 506.711119890213,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ccddbe0b.ddbca",\r
+        "type": "set",\r
+        "name": "set skip-mdsal-update to Y",\r
+        "xml": "<set>\n<parameter name='skip-mdsal-update' value='Y' />\n",\r
+        "comments": "",\r
+        "x": 885.8481788635254,\r
+        "y": 263.24700570106506,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file
index f85ff1a..77425c8 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "7f94573d.1aa9b8",\r
+        "id": "146a644a.d6018c",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 110,\r
-        "y": 57.413658142089844,\r
-        "z": "493735c0.a952fc",\r
+        "x": 222.8720245361328,\r
+        "y": 125.72916412353516,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "53bfc824.9a76c8"\r
+                "18443a18.5bbe96"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "53bfc824.9a76c8",\r
+        "id": "18443a18.5bbe96",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\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='${project.version}'>",\r
         "outputs": 1,\r
-        "x": 223.28570556640625,\r
-        "y": 97.65176963806152,\r
-        "z": "493735c0.a952fc",\r
+        "x": 336.15773010253906,\r
+        "y": 165.96727561950684,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "73e2a9e7.337db8"\r
+                "8fc8d312.0addc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "73e2a9e7.337db8",\r
+        "id": "8fc8d312.0addc",\r
         "type": "method",\r
         "name": "method vf-module-topology-operation",\r
         "xml": "<method rpc='vf-module-topology-operation' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 197.42862701416016,\r
-        "y": 137.41365242004395,\r
-        "z": "493735c0.a952fc",\r
+        "x": 310.30065155029297,\r
+        "y": 205.72915840148926,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "71975c08.e015c4"\r
+                "f83a31fb.c7ace"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f37eed7c.56eaf8",\r
+        "id": "805cedaf.9da98",\r
         "type": "comment",\r
         "name": "vf-module-topology-operation",\r
         "info": "",\r
         "comments": "",\r
-        "x": 427.34483337402344,\r
-        "y": 40,\r
-        "z": "493735c0.a952fc",\r
+        "x": 540.2168579101562,\r
+        "y": 108.31550598144531,\r
+        "z": "efc57676.46ecd8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "71975c08.e015c4",\r
+        "id": "f83a31fb.c7ace",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 179.50003814697266,\r
-        "y": 376.77383041381836,\r
-        "z": "493735c0.a952fc",\r
+        "x": 284.3720703125,\r
+        "y": 539.0893239974976,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "c09887fc.d299f8",\r
-                "4926b9f5.ab5c7",\r
-                "f89252a4.af5fa"\r
+                "52ec0471.d31dec",\r
+                "2eeb234b.70f96c",\r
+                "fdb85777.d67288"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c09887fc.d299f8",\r
+        "id": "52ec0471.d31dec",\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": 465.0000305175781,\r
-        "y": 550.27121925354,\r
-        "z": "493735c0.a952fc",\r
+        "x": 569.8720626831055,\r
+        "y": 712.5867128372192,\r
+        "z": "efc57676.46ecd8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4926b9f5.ab5c7",\r
+        "id": "2eeb234b.70f96c",\r
         "type": "switchNode",\r
         "name": "switch svc-action",\r
         "xml": "<switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 475.9046401977539,\r
-        "y": 374.9850549697876,\r
-        "z": "493735c0.a952fc",\r
+        "x": 580.7766723632812,\r
+        "y": 537.3005485534668,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "7d5db9d9.ad0e38",\r
-                "3bd4270d.a241e",\r
-                "c98ec688.2f486",\r
-                "1b25ba4e.75c82e",\r
-                "4d85225d.72c3cc",\r
-                "3ef68b65.7a1b4c",\r
-                "60b28642.cd3218",\r
-                "2e12e4fa.1580b4",\r
-                "b99c1f3f.e6afb"\r
+                "e3a4fc2b.3161c",\r
+                "7f1f0b87.a516f4",\r
+                "3be366b6.d25b3a",\r
+                "e4340a.0ef46bf8",\r
+                "5a77a3cd.db513c",\r
+                "e3513758.067c58",\r
+                "49beeb56.f0ac24",\r
+                "1ed385fc.7370aa",\r
+                "bf807bcb.c76ab8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7d5db9d9.ad0e38",\r
+        "id": "e3a4fc2b.3161c",\r
         "type": "outcome",\r
         "name": "assign",\r
         "xml": "<outcome value='assign'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 685.3809204101562,\r
-        "y": 265.2708921432495,\r
-        "z": "493735c0.a952fc",\r
+        "x": 792.2529525756836,\r
+        "y": 385.5864505767822,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "965ae23f.9fa918"\r
+                "e9421b98.811ad8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3bd4270d.a241e",\r
+        "id": "7f1f0b87.a516f4",\r
         "type": "outcome",\r
         "name": "unassign",\r
         "xml": "<outcome value='unassign'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 693.761905670166,\r
-        "y": 411.4615840911865,\r
-        "z": "493735c0.a952fc",\r
+        "x": 798.6339378356934,\r
+        "y": 573.7770776748657,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "5bd2b2dc.3bca44"\r
+                "af035a10.7be258"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c98ec688.2f486",\r
+        "id": "3be366b6.d25b3a",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 597.4762573242188,\r
-        "y": 1826.9852294921875,\r
-        "z": "493735c0.a952fc",\r
+        "x": 702.3482894897461,\r
+        "y": 1989.3007230758667,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "733f298.51afc58"\r
+                "fcd40c7c.89fc6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "733f298.51afc58",\r
+        "id": "fcd40c7c.89fc6",\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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",\r
         "comments": "",\r
-        "x": 791.6666831970215,\r
-        "y": 1826.9852981567383,\r
-        "z": "493735c0.a952fc",\r
+        "x": 896.5387153625488,\r
+        "y": 1989.3007917404175,\r
+        "z": "efc57676.46ecd8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f89252a4.af5fa",\r
+        "id": "fdb85777.d67288",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:validate-vf-module-input",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-vf-module-input' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 595.0832824707031,\r
-        "y": 214.79471492767334,\r
-        "z": "493735c0.a952fc",\r
+        "x": 707.9553070068359,\r
+        "y": 283.11022090911865,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "965ae23f.9fa918",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1057.523754119873,\r
-        "y": 264.84235668182373,\r
-        "z": "493735c0.a952fc",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "1324ee03.e7df4a",\r
+        "id": "f078e9a1.93f268",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1069.5237121582031,\r
-        "y": 361.5089998245239,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1174.3957443237305,\r
+        "y": 523.8244934082031,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5bd2b2dc.3bca44",\r
+        "id": "af035a10.7be258",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-unassign",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-unassign' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1063.8569831848145,\r
-        "y": 411.17571926116943,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1168.7290153503418,\r
+        "y": 573.4912128448486,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4a3a38c7.8c78b",\r
+        "id": "b4bb85e8.cecf88",\r
         "type": "outcome",\r
         "name": "deactivate",\r
         "xml": "<outcome value='deactivate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 697.8569984436035,\r
-        "y": 362.17567348480225,\r
-        "z": "493735c0.a952fc",\r
+        "x": 802.7290306091309,\r
+        "y": 524.4911670684814,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "1324ee03.e7df4a"\r
+                "f078e9a1.93f268"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1b25ba4e.75c82e",\r
+        "id": "e4340a.0ef46bf8",\r
         "type": "outcome",\r
         "name": "changeassign",\r
         "xml": "<outcome value='changeassign'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 708.3333206176758,\r
-        "y": 459.08031368255615,\r
-        "z": "493735c0.a952fc",\r
+        "x": 813.2053527832031,\r
+        "y": 621.3958072662354,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "321153c2.713aac"\r
+                "c11d3f25.2b8ae"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "321153c2.713aac",\r
+        "id": "c11d3f25.2b8ae",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-changeassign",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-changeassign' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1077.4283905029297,\r
-        "y": 458.7944498062134,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1182.300422668457,\r
+        "y": 621.1099433898926,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4d85225d.72c3cc",\r
+        "id": "5a77a3cd.db513c",\r
         "type": "outcome",\r
         "name": "create",\r
         "xml": "<outcome value='create'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 694,\r
-        "y": 657.4136581420898,\r
-        "z": "493735c0.a952fc",\r
+        "x": 798.8720321655273,\r
+        "y": 819.729151725769,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "a8c66c29.fddec8"\r
+                "9fa3f7fb.d73818"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fc31a6f4.807ee8",\r
+        "id": "46363f16.60595",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 932.3336029052734,\r
-        "y": 665.0000213086605,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1037.2056350708008,\r
+        "y": 827.3155148923397,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "354f981.3fa2f68",\r
-                "8a95b3a4.ddc598",\r
-                "4d9a6033.5edfa8",\r
-                "864be42d.6bad08",\r
-                "b387cf37.df8cc",\r
-                "e0078c0f.b00658"\r
+                "53511ac.d85bde4",\r
+                "60e100d5.7588f",\r
+                "41615e5f.e1751",\r
+                "e2244d87.5c338",\r
+                "a2058bc6.fa69e8",\r
+                "d0130bf2.6e3448"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8a95b3a4.ddc598",\r
+        "id": "60e100d5.7588f",\r
         "type": "outcome",\r
         "name": "CreateSDWANSiteInstance",\r
         "xml": "<outcome value='CreateSDWANSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1222.8099212646484,\r
-        "y": 573.4793901443481,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1327.6819534301758,\r
+        "y": 735.7948837280273,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "683f2801.170988"\r
+                "a917c65f.e5c2a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "354f981.3fa2f68",\r
+        "id": "53511ac.d85bde4",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1132.7143859863281,\r
-        "y": 748.8572845458984,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1237.5864181518555,\r
+        "y": 911.1727781295776,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "b57a7e92.19b9a"\r
+                "de8a37a9.53a558"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a8c66c29.fddec8",\r
+        "id": "9fa3f7fb.d73818",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 880.3335189819336,\r
-        "y": 585.0000228881836,\r
-        "z": "493735c0.a952fc",\r
+        "x": 985.2055511474609,\r
+        "y": 747.3155164718628,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "fc31a6f4.807ee8",\r
-                "47960a97.91ab8c"\r
+                "46363f16.60595",\r
+                "976fd046.7fe32"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "683f2801.170988",\r
+        "id": "a917c65f.e5c2a8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-site-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-site-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1646.3337936401367,\r
-        "y": 572.0001664161682,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1751.205825805664,\r
+        "y": 734.3156599998474,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b57a7e92.19b9a",\r
+        "id": "de8a37a9.53a558",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1286.0000381469727,\r
-        "y": 748.9136810302734,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1390.8720703125,\r
+        "y": 911.2291746139526,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4d9a6033.5edfa8",\r
+        "id": "41615e5f.e1751",\r
         "type": "outcome",\r
         "name": "CreateSDWANPortInstance",\r
         "xml": "<outcome value='CreateSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1196.6667785644531,\r
-        "y": 707.2471752166748,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1301.5388107299805,\r
+        "y": 869.562668800354,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "f12da86a.70ee18"\r
+                "dab1af07.8a3cf"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f12da86a.70ee18",\r
+        "id": "dab1af07.8a3cf",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-wanport-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-wanport-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1669.1904754638672,\r
-        "y": 706.7679271697998,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1774.0625076293945,\r
+        "y": 869.083420753479,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "864be42d.6bad08",\r
+        "id": "e2244d87.5c338",\r
         "type": "outcome",\r
         "name": "CreateSDWANDeviceInstance",\r
         "xml": "<outcome value='CreateSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1205.0311012268066,\r
-        "y": 627.4451355934143,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1309.903133392334,\r
+        "y": 789.7606291770935,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "50e37058.feb9b"\r
+                "99f05a55.3dafe8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "50e37058.feb9b",\r
+        "id": "99f05a55.3dafe8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-device-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-device-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1660.554889678955,\r
-        "y": 626.9660048484802,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1765.4269218444824,\r
+        "y": 789.2814984321594,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b387cf37.df8cc",\r
+        "id": "a2058bc6.fa69e8",\r
         "type": "outcome",\r
         "name": "CreateSDWANVpnInstance",\r
         "xml": "<outcome value='CreateSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1235.0000190734863,\r
-        "y": 526.4137101173401,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1339.8720512390137,\r
+        "y": 688.7292037010193,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "965ad1aa.2d9608"\r
+                "d2406569.cc26c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "965ad1aa.2d9608",\r
+        "id": "d2406569.cc26c8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-vpn-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-vpn-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1643.5237922668457,\r
-        "y": 523.9344773292542,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1748.395824432373,\r
+        "y": 686.2499709129333,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3ef68b65.7a1b4c",\r
+        "id": "e3513758.067c58",\r
         "type": "outcome",\r
         "name": "activate",\r
         "xml": "<outcome value='activate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 684,\r
-        "y": 852.7469711303711,\r
-        "z": "493735c0.a952fc",\r
+        "x": 788.8720321655273,\r
+        "y": 1015.0624647140503,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "661b6cec.852cdc"\r
+                "b3da3524.611018"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "544c0912.e1e7",\r
+        "id": "ad86b133.4fcef",\r
         "type": "outcome",\r
         "name": "ActivateSDWANSiteInstance",\r
         "xml": "<outcome value='ActivateSDWANSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1214.143051147461,\r
-        "y": 855.6459245681763,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1319.0150833129883,\r
+        "y": 1017.9614181518555,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "17e60c84.8e005b"\r
+                "9fb362a8.709c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "661b6cec.852cdc",\r
+        "id": "b3da3524.611018",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 864.6667709350586,\r
-        "y": 848.1666479110718,\r
-        "z": "493735c0.a952fc",\r
+        "x": 969.5388031005859,\r
+        "y": 1010.482141494751,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "d64d4fe2.5b9a28"\r
+                "6119c1c4.7dffd"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "17e60c84.8e005b",\r
+        "id": "9fb362a8.709c",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-site-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-site-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1626.6669387817383,\r
-        "y": 849.1667070388794,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1731.5389709472656,\r
+        "y": 1011.4822006225586,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3bf3bf04.d083f8",\r
+        "id": "34c2f165.f848be",\r
         "type": "outcome",\r
         "name": "ActivateSDWANDeviceInstance",\r
         "xml": "<outcome value='ActivateSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1203.3334884643555,\r
-        "y": 901.6667132377625,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1308.2055206298828,\r
+        "y": 1063.9822068214417,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "6245ee1b.e1d3c"\r
+                "51ba2675.c49818"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6245ee1b.e1d3c",\r
+        "id": "51ba2675.c49818",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-device-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-device-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1638.8571853637695,\r
-        "y": 901.1874856948853,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1743.7292175292969,\r
+        "y": 1063.5029792785645,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "a7ddf2b7.d5012",\r
+        "id": "4b3819e5.446868",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-wanport-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-wanport-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1637.3333129882812,\r
-        "y": 986.6666674613953,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1742.2053451538086,\r
+        "y": 1148.9821610450745,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4afd22ac.e5ea1c",\r
+        "id": "8fb0712b.8a713",\r
         "type": "outcome",\r
         "name": "ActivateSDWANPortInstance",\r
         "xml": "<outcome value='ActivateSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1201.8096160888672,\r
-        "y": 987.1458950042725,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1306.6816482543945,\r
+        "y": 1149.4613885879517,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "a7ddf2b7.d5012"\r
+                "4b3819e5.446868"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d64d4fe2.5b9a28",\r
+        "id": "6119c1c4.7dffd",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 941,\r
-        "y": 914.7469711303711,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1045.8720321655273,\r
+        "y": 1077.0624647140503,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "544c0912.e1e7",\r
-                "3bf3bf04.d083f8",\r
-                "4afd22ac.e5ea1c",\r
-                "66a81340.923bf4",\r
-                "66dc453c.fc1e54",\r
-                "6317efef.fce608"\r
+                "ad86b133.4fcef",\r
+                "34c2f165.f848be",\r
+                "8fb0712b.8a713",\r
+                "d07f736.adfa09",\r
+                "481790e7.43aeb",\r
+                "c64a1b07.ab47a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "66a81340.923bf4",\r
+        "id": "d07f736.adfa09",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1133.5714797973633,\r
-        "y": 1035.9584803581238,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1238.4435119628906,\r
+        "y": 1198.273973941803,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "598c0313.5471bc"\r
+                "e739bc83.63e2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "66dc453c.fc1e54",\r
+        "id": "481790e7.43aeb",\r
         "type": "outcome",\r
         "name": "ActivateSDWANVpnInstance",\r
         "xml": "<outcome value='ActivateSDWANVpnInstance'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1217,\r
-        "y": 810.7469711303711,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1321.8720321655273,\r
+        "y": 973.0624647140503,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "21aac5f2.3ee152"\r
+                "e2bf4bd1.f5d2f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21aac5f2.3ee152",\r
+        "id": "e2bf4bd1.f5d2f8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-vpn-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-vpn-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1632.5238037109375,\r
-        "y": 804.2677478790283,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1737.3958358764648,\r
+        "y": 966.5832414627075,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "60b28642.cd3218",\r
+        "id": "49beeb56.f0ac24",\r
         "type": "outcome",\r
         "name": "deactivate",\r
         "xml": "<outcome value='deactivate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 667.9999923706055,\r
-        "y": 1138.747064113617,\r
-        "z": "493735c0.a952fc",\r
+        "x": 772.8720245361328,\r
+        "y": 1301.0625576972961,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "c83f7131.ad7d"\r
+                "fb50cbbf.e98648"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "494e3a53.b269cc",\r
+        "id": "676bcbf6.bf2a24",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANSiteInstance",\r
         "xml": "<outcome value='DeactivateSDWANSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1206.1431121826172,\r
-        "y": 1138.6460342407227,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1311.0151443481445,\r
+        "y": 1300.9615278244019,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "6783e95d.0fc418"\r
+                "2f3916a.390d7ea"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c83f7131.ad7d",\r
+        "id": "fb50cbbf.e98648",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 848.6667633056641,\r
-        "y": 1134.1667408943176,\r
-        "z": "493735c0.a952fc",\r
+        "x": 953.5387954711914,\r
+        "y": 1296.4822344779968,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "854cfeba.5c1998"\r
+                "8f3e573.51225a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6783e95d.0fc418",\r
+        "id": "2f3916a.390d7ea",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-site-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-site-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1623.666877746582,\r
-        "y": 1140.1667709350586,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1728.5389099121094,\r
+        "y": 1302.4822645187378,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5a56c8ff.fdd22",\r
+        "id": "c6530296.821ac",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANDeviceInstance",\r
         "xml": "<outcome value='DeactivateSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1187.333480834961,\r
-        "y": 1187.6668062210083,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1292.2055130004883,\r
+        "y": 1349.9822998046875,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "5670491c.f974d"\r
+                "bb595a17.77c898"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5670491c.f974d",\r
+        "id": "bb595a17.77c898",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-device-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-device-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1622.857177734375,\r
-        "y": 1187.187578678131,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1727.7292098999023,\r
+        "y": 1349.5030722618103,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "37d4bd75.8979ea",\r
+        "id": "be737f8c.bf185",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-wanport-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-wanport-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1620.3333892822266,\r
-        "y": 1265.6667804718018,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1725.205421447754,\r
+        "y": 1427.982274055481,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "66db4ece.f7fd6",\r
+        "id": "7297171e.80a088",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANPortInstance",\r
         "xml": "<outcome value='DeactivateSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1184.8096923828125,\r
-        "y": 1266.146008014679,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1289.6817245483398,\r
+        "y": 1428.4615015983582,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "37d4bd75.8979ea"\r
+                "be737f8c.bf185"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "854cfeba.5c1998",\r
+        "id": "8f3e573.51225a8",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 924.9999923706055,\r
-        "y": 1200.747064113617,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1029.8720245361328,\r
+        "y": 1363.0625576972961,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "494e3a53.b269cc",\r
-                "5a56c8ff.fdd22",\r
-                "66db4ece.f7fd6",\r
-                "c3ff1e72.3d8938",\r
-                "5aa69599.5bf6d4",\r
-                "b2250aab.0c69d8"\r
+                "676bcbf6.bf2a24",\r
+                "c6530296.821ac",\r
+                "7297171e.80a088",\r
+                "71d7e3b7.3e65fc",\r
+                "c02ae531.4d1c08",\r
+                "443330cd.1d373"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c3ff1e72.3d8938",\r
+        "id": "71d7e3b7.3e65fc",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1120.5714263916016,\r
-        "y": 1315.9585704803467,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1225.443458557129,\r
+        "y": 1478.2740640640259,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "3b62d3d9.f8eab4"\r
+                "e798a02b.bec1a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5aa69599.5bf6d4",\r
+        "id": "c02ae531.4d1c08",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANVpnInstance",\r
         "xml": "<outcome value='DeactivateSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1200.9999923706055,\r
-        "y": 1096.747064113617,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1305.8720245361328,\r
+        "y": 1259.0625576972961,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "6252df01.3597a"\r
+                "c1f94712.8e93d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6252df01.3597a",\r
+        "id": "c1f94712.8e93d8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-vpn-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-vpn-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1616.523796081543,\r
-        "y": 1090.2678408622742,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1721.3958282470703,\r
+        "y": 1252.5833344459534,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3b62d3d9.f8eab4",\r
+        "id": "e798a02b.bec1a",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1459.0001068115234,\r
-        "y": 1316.4137811660767,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1563.8721389770508,\r
+        "y": 1478.7292747497559,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "598c0313.5471bc",\r
+        "id": "e739bc83.63e2c",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1463.9999923706055,\r
-        "y": 1033.4136900901794,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1568.8720245361328,\r
+        "y": 1195.7291836738586,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "14afa7be.e27dc8",\r
+        "id": "439fbd92.bc1ce4",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1061.99995803833,\r
-        "y": 312.41364574432373,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1166.8719902038574,\r
+        "y": 474.72913932800293,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "54e2eced.ad10ac",\r
+        "id": "62a08c09.0b1384",\r
         "type": "outcome",\r
         "name": "activate",\r
         "xml": "<outcome value='activate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 689.999942779541,\r
-        "y": 313.0803232192993,\r
-        "z": "493735c0.a952fc",\r
+        "x": 794.8719749450684,\r
+        "y": 475.3958168029785,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "14afa7be.e27dc8"\r
+                "439fbd92.bc1ce4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2e12e4fa.1580b4",\r
+        "id": "1ed385fc.7370aa",\r
         "type": "outcome",\r
         "name": "delete",\r
         "xml": "<outcome value='delete'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 631.0000381469727,\r
-        "y": 1484.0803928375244,\r
-        "z": "493735c0.a952fc",\r
+        "x": 735.8720703125,\r
+        "y": 1646.3958864212036,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "33a7ef53.e934b"\r
+                "bca44a5d.cc37a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ad2402bf.1c98f8",\r
+        "id": "bfb405f9.b31248",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 870.3335571289062,\r
-        "y": 1484.6667594909668,\r
-        "z": "493735c0.a952fc",\r
+        "x": 975.2055892944336,\r
+        "y": 1646.982253074646,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "faba584.b26f228",\r
-                "5b627b00.db32b4",\r
-                "5681133e.5cc914",\r
-                "218e055.5ef2a7a",\r
-                "63c6c514.9c1dbc",\r
-                "f4308b39.a2e5b"\r
+                "425d435e.61bf0c",\r
+                "51fa15a4.dbc35c",\r
+                "7e86ba39.03f964",\r
+                "25d4d62c.6d980a",\r
+                "2a489103.e03f5e",\r
+                "21017d13.c62292"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5b627b00.db32b4",\r
+        "id": "51fa15a4.dbc35c",\r
         "type": "outcome",\r
         "name": "DeleteSDWANSiteInstance",\r
         "xml": "<outcome value='DeleteSDWANSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1155.8101043701172,\r
-        "y": 1418.146159172058,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1260.6821365356445,\r
+        "y": 1580.4616527557373,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "e5e26c94.b2c39"\r
+                "bd63c480.3e8d18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "faba584.b26f228",\r
+        "id": "425d435e.61bf0c",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1069.7144241333008,\r
-        "y": 1575.524019241333,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1174.5864562988281,\r
+        "y": 1737.8395128250122,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "d9cc9704.5b361"\r
+                "9d6e36bc.fa16b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "33a7ef53.e934b",\r
+        "id": "bca44a5d.cc37a8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 817.3335571289062,\r
-        "y": 1411.6667575836182,\r
-        "z": "493735c0.a952fc",\r
+        "x": 922.2055892944336,\r
+        "y": 1573.9822511672974,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "ad2402bf.1c98f8"\r
+                "bfb405f9.b31248"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e5e26c94.b2c39",\r
+        "id": "bd63c480.3e8d18",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-site-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-site-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1559.3337173461914,\r
-        "y": 1413.667004108429,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1664.2057495117188,\r
+        "y": 1575.9824976921082,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d9cc9704.5b361",\r
+        "id": "9d6e36bc.fa16b8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1223.0000762939453,\r
-        "y": 1575.580415725708,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1327.8721084594727,\r
+        "y": 1737.8959093093872,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5681133e.5cc914",\r
+        "id": "7e86ba39.03f964",\r
         "type": "outcome",\r
         "name": "DeleteSDWANPortInstance",\r
         "xml": "<outcome value='DeleteSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1133.6668167114258,\r
-        "y": 1533.9139099121094,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1238.5388488769531,\r
+        "y": 1696.2294034957886,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "fa693b23.6d7988"\r
+                "566c3117.8e406"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fa693b23.6d7988",\r
+        "id": "566c3117.8e406",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-wanport-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-wanport-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1606.1905136108398,\r
-        "y": 1533.4346618652344,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1711.0625457763672,\r
+        "y": 1695.7501554489136,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "218e055.5ef2a7a",\r
+        "id": "25d4d62c.6d980a",\r
         "type": "outcome",\r
         "name": "DeleteSDWANDeviceInstance",\r
         "xml": "<outcome value='DeleteSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1158.0312118530273,\r
-        "y": 1457.1117978096008,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1262.9032440185547,\r
+        "y": 1619.42729139328,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "5a1a4f39.b559a8"\r
+                "cac13dac.4d799"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5a1a4f39.b559a8",\r
+        "id": "cac13dac.4d799",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-device-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-device-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1572.555030822754,\r
-        "y": 1452.6327023506165,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1677.4270629882812,\r
+        "y": 1614.9481959342957,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "63c6c514.9c1dbc",\r
+        "id": "2a489103.e03f5e",\r
         "type": "outcome",\r
         "name": "DeleteSDWANVpnInstance",\r
         "xml": "<outcome value='DeleteSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1162.0000686645508,\r
-        "y": 1377.080410003662,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1266.8721008300781,\r
+        "y": 1539.3959035873413,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "651c4a0c.4cbb5c"\r
+                "a107ba80.f2c438"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "651c4a0c.4cbb5c",\r
+        "id": "a107ba80.f2c438",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-vpn-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-vpn-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1555.5238723754883,\r
-        "y": 1377.6011776924133,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1660.3959045410156,\r
+        "y": 1539.9166712760925,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "47960a97.91ab8c",\r
+        "id": "976fd046.7fe32",\r
         "type": "record",\r
         "name": "record",\r
         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"request-action\"/>\n<parameter name=\"field3\" value='`$vf-module-topology-operation-input.request-information.request-action`'/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1021.75,\r
-        "y": 534.0039075314999,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1126.6220321655273,\r
+        "y": 696.3194011151791,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e0078c0f.b00658",\r
+        "id": "d0130bf2.6e3448",\r
         "type": "outcome",\r
         "name": "CreateSDWANLanPortInstance",\r
         "xml": "<outcome value='CreateSDWANLanPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1198.7434997558594,\r
-        "y": 668.2539086341858,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1303.6155319213867,\r
+        "y": 830.569402217865,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "4cf5d326.e70d2c"\r
+                "17a425c8.ef240a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4cf5d326.e70d2c",\r
+        "id": "17a425c8.ef240a",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-lanport-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1671.2671966552734,\r
-        "y": 667.7746605873108,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1776.1392288208008,\r
+        "y": 830.09015417099,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6317efef.fce608",\r
+        "id": "c64a1b07.ab47a8",\r
         "type": "outcome",\r
         "name": "ActivateSDWANLanPortInstance",\r
         "xml": "<outcome value='ActivateSDWANLanPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1210.7434997558594,\r
-        "y": 945.5039086341858,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1315.6155319213867,\r
+        "y": 1107.819402217865,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "ad2dda1f.42803"\r
+                "a795142a.2e7d78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ad2dda1f.42803",\r
+        "id": "a795142a.2e7d78",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-lanport-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1628.2671508789062,\r
-        "y": 945.024670124054,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1733.1391830444336,\r
+        "y": 1107.3401637077332,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b2250aab.0c69d8",\r
+        "id": "443330cd.1d373",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANLanPortInstance",\r
         "xml": "<outcome value='DeactivateSDWANLanPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1196.7434997558594,\r
-        "y": 1231.7539086341858,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1301.6155319213867,\r
+        "y": 1394.069402217865,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "f7cfaeb8.3fd438"\r
+                "10e14224.177fee"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7cfaeb8.3fd438",\r
+        "id": "10e14224.177fee",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-lanport-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1614.2671508789062,\r
-        "y": 1231.274670124054,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1719.1391830444336,\r
+        "y": 1393.5901637077332,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f4308b39.a2e5b",\r
+        "id": "21017d13.c62292",\r
         "type": "outcome",\r
         "name": "DeleteSDWANLanPortInstance",\r
         "xml": "<outcome value='DeleteSDWANLanPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1160.7434997558594,\r
-        "y": 1494.7539086341858,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1265.6155319213867,\r
+        "y": 1657.069402217865,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "98ff9895.6aef48"\r
+                "bc4d8c28.5152b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "98ff9895.6aef48",\r
+        "id": "bc4d8c28.5152b",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-lanport-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1578.2671508789062,\r
-        "y": 1494.274670124054,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1683.1391830444336,\r
+        "y": 1656.5901637077332,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b99c1f3f.e6afb",\r
+        "id": "bf807bcb.c76ab8",\r
         "type": "outcome",\r
         "name": "update",\r
         "xml": "<outcome value='update'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 602,\r
-        "y": 1623,\r
-        "z": "493735c0.a952fc",\r
+        "x": 706.8720321655273,\r
+        "y": 1785.3154935836792,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "c6d60a18.353d58"\r
+                "4bd24679.ac0638"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c6d60a18.353d58",\r
+        "id": "4bd24679.ac0638",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 776.33349609375,\r
-        "y": 1627.5864868164062,\r
-        "z": "493735c0.a952fc",\r
+        "x": 881.2055282592773,\r
+        "y": 1789.9019804000854,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "ee329c14.143048"\r
+                "677be846.dfdd88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ee329c14.143048",\r
+        "id": "677be846.dfdd88",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 932.33349609375,\r
-        "y": 1697.5864868164062,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1037.2055282592773,\r
+        "y": 1859.9019804000854,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "342f4246.9d954e",\r
-                "8235fd9d.7ee738"\r
+                "24961218.c1a6de",\r
+                "4da413d8.1ef91c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "342f4246.9d954e",\r
+        "id": "24961218.c1a6de",\r
         "type": "outcome",\r
         "name": "SdwanBandwidthChange",\r
         "xml": "<outcome value='SdwanBandwidthChange'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1170.9999771118164,\r
-        "y": 1653.0001201629639,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1275.8720092773438,\r
+        "y": 1815.315613746643,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "5223bfb2.d63e18"\r
+                "a17addc8.31a34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5223bfb2.d63e18",\r
+        "id": "a17addc8.31a34",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-bandwidth-policy-change",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-bandwidth-policy-change' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1564.523780822754,\r
-        "y": 1653.520887851715,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1669.3958129882812,\r
+        "y": 1815.8363814353943,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8235fd9d.7ee738",\r
+        "id": "4da413d8.1ef91c",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1096.7143325805664,\r
-        "y": 1726.4437236785889,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1201.5863647460938,\r
+        "y": 1888.759217262268,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             [\r
-                "668547c7.be02a"\r
+                "b40cb9f3.46e0e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "668547c7.be02a",\r
+        "id": "b40cb9f3.46e0e8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1249.999984741211,\r
-        "y": 1726.5001201629639,\r
-        "z": "493735c0.a952fc",\r
+        "x": 1354.8720169067383,\r
+        "y": 1888.815613746643,\r
+        "z": "efc57676.46ecd8",\r
         "wires": [\r
             []\r
         ]\r
+    },\r
+    {\r
+        "id": "e9421b98.811ad8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 981.1580276489258,\r
+        "y": 386.01489448547363,\r
+        "z": "efc57676.46ecd8",\r
+        "wires": [\r
+            [\r
+                "8e441963.a45748",\r
+                "535b5f61.bae1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e441963.a45748",\r
+        "type": "set",\r
+        "name": "set skip-mdsal-update to Y",\r
+        "xml": "<set>\n<parameter name='skip-mdsal-update' value='Y' />\n",\r
+        "comments": "",\r
+        "x": 1227.9435806274414,\r
+        "y": 362.3689384460449,\r
+        "z": "efc57676.46ecd8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "535b5f61.bae1",\r
+        "type": "set",\r
+        "name": "set ack-final to 'N' (default)",\r
+        "xml": "<set>\n<parameter name='ack-final' value='N' />\n",\r
+        "comments": "",\r
+        "x": 1228.3721542358398,\r
+        "y": 402.36902236938477,\r
+        "z": "efc57676.46ecd8",\r
+        "wires": []\r
     }\r
 ]
\ No newline at end of file
index ff6eba9..cbe137c 100644 (file)
@@ -1 +1,5798 @@
-[{"id":"fc72a566.b030f8","type":"dgstart","name":"DGSTART","outputs":1,"x":114.28571319580078,"y":82.17556571960449,"z":"be5d0074.91504","wires":[["d7ff7ece.9b8e2"]]},{"id":"d7ff7ece.9b8e2","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":229.57141876220703,"y":124.0803451538086,"z":"be5d0074.91504","wires":[["86d59967.1a7618"]]},{"id":"86d59967.1a7618","type":"method","name":"method vnf-topology-operation-assign","xml":"<method rpc='vnf-topology-operation-assign' mode='sync'>\n","comments":"","outputs":1,"x":202.38101959228516,"y":166.84222888946533,"z":"be5d0074.91504","wires":[["f09bed97.7d31e"]]},{"id":"f954a196.dc25a","type":"comment","name":"vnf-topology-operation-assign","info":"","comments":"","x":490.2972412109375,"y":31.428569793701172,"z":"be5d0074.91504","wires":[]},{"id":"e5ad0d66.70637","type":"switchNode","name":"switch request-action","xml":"<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":500.66666412353516,"y":315.31839752197266,"z":"be5d0074.91504","wires":[["5916492b.857218","c1cdea93.bfa138"]]},{"id":"5916492b.857218","type":"outcome","name":"CreateVnfInstance","xml":"<outcome value='CreateVnfInstance'>\n","comments":"","outputs":1,"x":754.3809585571289,"y":292.4612789154053,"z":"be5d0074.91504","wires":[["391acb58.1c59b4"]]},{"id":"c1cdea93.bfa138","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":716.3809242248535,"y":338.1756067276001,"z":"be5d0074.91504","wires":[["f4427afa.1c8c48"]]},{"id":"391acb58.1c59b4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":939.2380867004395,"y":292.4613084793091,"z":"be5d0074.91504","wires":[[]]},{"id":"f4427afa.1c8c48","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 'CreateVnfInstance'\" />\n","comments":"","x":956.380931854248,"y":338.1755647659302,"z":"be5d0074.91504","wires":[]},{"id":"7362746e.83534c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":172.02385711669922,"y":3364.199432373047,"z":"be5d0074.91504","wires":[["320c139b.584b8c","bf64681.3327098","3decabb0.b19304","dfde25aa.22eb48","b3fdadba.ac878","9295f3a8.889f","6652c3ec.51eebc","8297bb69.b2a948","e85c7ed0.15ed6","986025fa.476b28","adadb322.2ebc2","4a499d99.17dc24","f6338637.0f4ab8","4abfb941.f3ffe8","c49cd790.366c28","af081865.1577e8","5b608bb1.3093a4","b8bea347.ec5d","e79aac59.803e","a7739265.64c59","352a2229.74292e","74128bae.fef6c4","a5a33888.67fae8","9393d0c7.d77e9","e6df8bdc.9062b8","9dcdbace.684eb8","fc6ad87e.cad2c8","bd2ebb93.969ad8","9523ee9.421ab1","59afdec8.0d6fc","2c4a61bc.2ff89e","58eda9a2.3858f8","e984610a.8e6fd","7a50c9f.bf28538"]]},{"id":"95e7dc2c.60081","type":"get-resource","name":"get-resource VF_MODEL","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODEL WHERE customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n  pfx='db.vf-model'>\n\n","comments":"","outputs":1,"x":512.9999694824219,"y":406.4612674713135,"z":"be5d0074.91504","wires":[["84af2cd0.e814a","c4d8b439.0a4f08"]]},{"id":"b7c7ad28.59134","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 VNF customization UUID ' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\" />\n","comments":"","x":954.4284477233887,"y":429.8897533416748,"z":"be5d0074.91504","wires":[]},{"id":"84af2cd0.e814a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":713.7856674194336,"y":386.8421049118042,"z":"be5d0074.91504","wires":[["47443e13.3d07b"]]},{"id":"c4d8b439.0a4f08","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":722.3570976257324,"y":431.127818107605,"z":"be5d0074.91504","wires":[["b7c7ad28.59134"]]},{"id":"47443e13.3d07b","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":953.7856483459473,"y":384.98501205444336,"z":"be5d0074.91504","wires":[]},{"id":"320c139b.584b8c","type":"switchNode","name":"switch service-data.vnfs.vnf_length","xml":"<switch test='`$service-data.vnfs.vnf_length`'>\n","comments":"","outputs":1,"x":546.666633605957,"y":1157.4137020111084,"z":"be5d0074.91504","wires":[["10c4a3ac.27e12c","7ee20af4.b60b24"]]},{"id":"10c4a3ac.27e12c","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":772.3809623718262,"y":1124.556489944458,"z":"be5d0074.91504","wires":[["15231b53.df2ce5"]]},{"id":"15231b53.df2ce5","type":"set","name":"set vnf-index=0","xml":"<set>\n<parameter name='vnf-index' value='0' />\n","comments":"","x":936.6666831970215,"y":1123.556568145752,"z":"be5d0074.91504","wires":[]},{"id":"7ee20af4.b60b24","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":773.8095245361328,"y":1188.8423080444336,"z":"be5d0074.91504","wires":[["ce5c34bd.216b68"]]},{"id":"4125e058.075d9","type":"set","name":"set vnf-index = vnf_length","xml":"<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n","comments":"","x":1112.6666793823242,"y":1167.1279964447021,"z":"be5d0074.91504","wires":[]},{"id":"75e24b9d.3e0b14","type":"for","name":"for each existing VNF","xml":"<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n","comments":"","outputs":1,"x":1098.0951919555664,"y":1213.127935409546,"z":"be5d0074.91504","wires":[["1888808a.4f9fff"]]},{"id":"ce5c34bd.216b68","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":909.5237846374512,"y":1188.8422737121582,"z":"be5d0074.91504","wires":[["4125e058.075d9","75e24b9d.3e0b14"]]},{"id":"1888808a.4f9fff","type":"switchNode","name":"switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id","xml":"<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n","comments":"","outputs":1,"x":1452.380958557129,"y":1212.6994152069092,"z":"be5d0074.91504","wires":[["f2252759.7fe8e8"]]},{"id":"f2252759.7fe8e8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1746.6667137145996,"y":1212.270899772644,"z":"be5d0074.91504","wires":[["e8e7a328.f78eb"]]},{"id":"e8e7a328.f78eb","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'VNF id ' + $service-data.vnfs.vnf[$idx].vnf-id\n      + ' already exists'`\" />\n","comments":"","x":1895.2380752563477,"y":1212.2708473205566,"z":"be5d0074.91504","wires":[]},{"id":"b5747a8b.62e2a8","type":"comment","name":"make sure this VNF doesn't exist already","info":"","comments":"","x":1439.5236892700195,"y":1170.270845413208,"z":"be5d0074.91504","wires":[]},{"id":"bf64681.3327098","type":"set","name":"set vnf-topology data","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-id'\n value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-type'\n value='`$vnf-topology-operation-input.vnf-information.vnf-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-type'\n value='`$db.vf-model.nf-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-role'\n value='`$db.vf-model.nf-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-function'\n value='`$db.vf-model.nf-function`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-code'\n value='`$db.vf-model.nf-code`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.tenant'\n value='`$vnf-topology-operation-input.vnf-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-cloud-region'\n value='`$vnf-topology-operation-input.vnf-request-input.aic-cloud-region`' />\n \n","comments":"","x":512.380916595459,"y":1689.0804691314697,"z":"be5d0074.91504","wires":[]},{"id":"3decabb0.b19304","type":"switchNode","name":"switch input vnf-name","xml":"<switch test='`$vnf-topology-operation-input.vnf-information.vnf-name`'>\n","comments":"","outputs":1,"x":524.8809356689453,"y":2051.199526786804,"z":"be5d0074.91504","wires":[["5709eb79.187104","cfdd3602.799058"]]},{"id":"dfde25aa.22eb48","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 = $vnf-topology-operation-input.vnf-request-input.aic-cloud-region AND\n\t\t     depth='all'\"\n        pfx='aai.cloud-region' local-only='false' >\n\n","comments":"","outputs":1,"x":557.0238800048828,"y":2947.1992626190186,"z":"be5d0074.91504","wires":[["c639d1a9.1cea1","5e574489.17530c"]]},{"id":"5e574489.17530c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":782.2700729370117,"y":2965.350118637085,"z":"be5d0074.91504","wires":[["76478117.63a79"]]},{"id":"fd97eb04.7d1378","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":1083.9367446899414,"y":2965.3501358032227,"z":"be5d0074.91504","wires":[]},{"id":"c639d1a9.1cea1","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":791.1986694335938,"y":2923.6358518600464,"z":"be5d0074.91504","wires":[["8730c02a.4d9e7"]]},{"id":"7181fd4f.3b9314","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":1084.2146453857422,"y":2922.9414100646973,"z":"be5d0074.91504","wires":[]},{"id":"b3fdadba.ac878","type":"get-resource","name":"get-resource VF_TO_NETWORK_ROLE_MAPPING","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_TO_NETWORK_ROLE_MAPPING WHERE vf_customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n  pfx='db.vf-network-role-mapping[]'>\n\n","comments":"","outputs":1,"x":622.261962890625,"y":3258.2467823028564,"z":"be5d0074.91504","wires":[["e55086cc.fe7c38","bada4af8.48ee18"]]},{"id":"e55086cc.fe7c38","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":918.0476341247559,"y":3236.960947036743,"z":"be5d0074.91504","wires":[["6e98f691.cd8c98"]]},{"id":"bada4af8.48ee18","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":926.6190643310547,"y":3281.246660232544,"z":"be5d0074.91504","wires":[["31b1e600.94057a"]]},{"id":"7d5b4659.62fc88","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_TO_NETWORK_ROLE_MAPPING table\" />\n","comments":"","x":1234.7142581939697,"y":3236.770679473877,"z":"be5d0074.91504","wires":[]},{"id":"7eca1a93.00ad54","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1029.8573684692383,"y":4001.555992126465,"z":"be5d0074.91504","wires":[["aa84ca7f.755948","44cbbbb1.3a7de4","78423903.e2ed08","acfaeeda.3fa36","9940e480.cc5ae8","7c99cdf1.d6d3e4","faee63b4.f8527","6a145c65.18a254","dece7ac8.98c8e8"]]},{"id":"78423903.e2ed08","type":"get-resource","name":"get-resource l3-network","xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-networks\" \n\t\tkey=\"l3-network.network-role = $db.vf-network-role-mapping[$role-index].network-role\"\n        pfx='aai.l3-network' local-only='false'\n>\n","comments":"","outputs":1,"x":1286.714443206787,"y":3410.508596420288,"z":"be5d0074.91504","wires":[["d521574d.066048","bddb9f8e.bb902"]]},{"id":"bddb9f8e.bb902","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1490.7621574401855,"y":3432.651435852051,"z":"be5d0074.91504","wires":[["fac96d9.7296c9"]]},{"id":"bf85b613.22da88","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 l3-network from AAI\" />\n","comments":"","x":1805.7621879577637,"y":3432.98477935791,"z":"be5d0074.91504","wires":[]},{"id":"d521574d.066048","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1499.6907539367676,"y":3390.937169075012,"z":"be5d0074.91504","wires":[["15b5633e.00b0bd"]]},{"id":"24c9dca7.afc914","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 active l3-network found in AAI with cloud_region_id '\n          + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + ' and network_role '\n          + $db.vf-network-role-mapping[$network-index].network-role`\" />\n","comments":"","x":1804.3733835220337,"y":3391.9093055725098,"z":"be5d0074.91504","wires":[]},{"id":"aa84ca7f.755948","type":"set","name":"set vnf-network data","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].network-role'\n    value='`$db.vf-network-role-mapping[$role-index].network-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].network-name'\n    value='`$aai.l3-network.l3-network[$db-network-index].network-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].neutron-id'\n    value='`$aai.l3-network.l3-network[$db-network-index].neutron-network-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].network-id'\n    value='`$aai.l3-network.l3-network[$db-network-index].network-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].contrail-network-fqdn'\n    value='`$aai.l3-network.l3-network[$db-network-index].contrail-network-fqdn`' />\n","comments":"","x":1275.9050331115723,"y":3897.5088396072388,"z":"be5d0074.91504","wires":[]},{"id":"e85c7ed0.15ed6","type":"for","name":"for each cloud-region availability zone","xml":"<for index='idx' start='0' end='`$aai.cloud-region.availability-zones.availability-zone_length`' >\n","comments":"","outputs":1,"x":496.28607177734375,"y":5144.627817153931,"z":"be5d0074.91504","wires":[["55cdaf47.06229"]]},{"id":"61de414e.afb53","type":"set","name":"set availability-zone","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone[$idx]'\n  value='`$aai.cloud-region.availability-zones.availability-zone[$idx].availability-zone-name`' />\n","comments":"","x":957.9527549743652,"y":5113.961231231689,"z":"be5d0074.91504","wires":[]},{"id":"986025fa.476b28","type":"set","name":"set vnf-parameters-data","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.'\n  value='vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.' />\n","comments":"","x":455.9049987792969,"y":4994.580177307129,"z":"be5d0074.91504","wires":[]},{"id":"788d0393.74592c","type":"save","name":"save generic-vnf l3-network relationships","xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"generic-vnf:relationship-list\"\n   key=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"l3-network.network-id\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-nw-index].network-id`\" />\n","comments":"","outputs":1,"x":922.4765319824219,"y":5288.390029907227,"z":"be5d0074.91504","wires":[["bf1f1d79.7018b","1454f72a.725d29"]]},{"id":"f6338637.0f4ab8","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":415.7145462036133,"y":5754.00841999054,"z":"be5d0074.91504","wires":[]},{"id":"4a499d99.17dc24","type":"set","name":"set vnf-level-oper-status to PendingCreate","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n","comments":"","x":505.52799224853516,"y":5656.3459005355835,"z":"be5d0074.91504","wires":[]},{"id":"6652c3ec.51eebc","type":"for","name":"for each network-role","xml":"<for silentFailure='true' index='role-index' start='0' end='`$db.vf-network-role-mapping_length`'>","comments":"","outputs":1,"x":489.85730361938477,"y":3974.889660835266,"z":"be5d0074.91504","wires":[["80cab39e.772be"]]},{"id":"9295f3a8.889f","type":"set","name":"set network-index = 0","xml":"<set>\n<parameter name='network-index' value='0' />\n","comments":"","x":524.6904602050781,"y":3312.2945766448975,"z":"be5d0074.91504","wires":[]},{"id":"44cbbbb1.3a7de4","type":"set","name":"increment network-index","xml":"<set>\n<parameter name='network-index' value='`$network-index + 1`' />\n","comments":"","x":1257.9050216674805,"y":4945.2707805633545,"z":"be5d0074.91504","wires":[]},{"id":"8297bb69.b2a948","type":"set","name":"set vnf-network_length","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length'\n  value='`$network-index`' />\n","comments":"","x":454.7620849609375,"y":4944.5802211761475,"z":"be5d0074.91504","wires":[]},{"id":"adadb322.2ebc2","type":"set","name":"copy input data","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' value='$vnf-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.' value='$vnf-topology-operation-input.vnf-request-input.' />\n\n","comments":"","x":421.0478210449219,"y":5604.008731842041,"z":"be5d0074.91504","wires":[]},{"id":"4abfb941.f3ffe8","type":"for","name":"for each vnf-network","xml":"<for index='vnf-nw-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n","comments":"","outputs":1,"x":445.4764404296875,"y":5287.389945983887,"z":"be5d0074.91504","wires":[["46f396dd.851888"]]},{"id":"46f396dd.851888","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":649.1430816650391,"y":5287.38990688324,"z":"be5d0074.91504","wires":[["788d0393.74592c"]]},{"id":"c49cd790.366c28","type":"set","name":"set new vnf_length","xml":"<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n","comments":"","x":495.30955505371094,"y":1209.4375925064087,"z":"be5d0074.91504","wires":[]},{"id":"af081865.1577e8","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":569.8810043334961,"y":3034.437434196472,"z":"be5d0074.91504","wires":[["11d114a7.11d1db"]]},{"id":"11d114a7.11d1db","type":"switchNode","name":"switch related-to","xml":"<switch test='`$aai.cloud-region.relationship-list.relationship[$idx].related-to`'>\n","comments":"","outputs":1,"x":817.5595474243164,"y":3034.1873636245728,"z":"be5d0074.91504","wires":[["91385fad.fb26d"]]},{"id":"91385fad.fb26d","type":"outcome","name":"complex","xml":"<outcome value='complex'>\n","comments":"","outputs":1,"x":987.023868560791,"y":3033.5801858901978,"z":"be5d0074.91504","wires":[["8ea9283d.520568"]]},{"id":"58064897.8348d8","type":"set","name":"set aic-clli","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-clli'\n  value='`$aai-uid-split[$aai-uid-split_length - 1]`' />\n","comments":"","x":1307.738166809082,"y":3033.2468433380127,"z":"be5d0074.91504","wires":[]},{"id":"5b608bb1.3093a4","type":"switchNode","name":"switch aic-clli","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-clli`'>\n","comments":"","outputs":1,"x":502.9286308288574,"y":3147.5325660705566,"z":"be5d0074.91504","wires":[["666489c1.6451d8"]]},{"id":"666489c1.6451d8","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":651.0714645385742,"y":3147.532548904419,"z":"be5d0074.91504","wires":[["b5eeb045.601e6"]]},{"id":"c1a2c00.3db054","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 ' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" />\n","comments":"","x":941.5476570129395,"y":3148.770594596863,"z":"be5d0074.91504","wires":[]},{"id":"5f373e69.1c378","type":"set","name":"set from DB","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$db.vf-model.invariant-uuid`' />\n","comments":"","x":929.381175994873,"y":2506.3898229599,"z":"be5d0074.91504","wires":[]},{"id":"f92de18c.da037","type":"for","name":"for each l3-network","xml":"<for index='db-network-index' start='0' end='`$aai.l3-network.l3-network_length`' >\n","comments":"","outputs":1,"x":1396.1670112609863,"y":3722.0802183151245,"z":"be5d0074.91504","wires":[["ad1cc61a.69a3c8"]]},{"id":"88980c13.6b138","type":"switchNode","name":"switch orchestration-status","xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].orchestration-status`'>\n","comments":"","outputs":1,"x":1814.738182067871,"y":3656.6516828536987,"z":"be5d0074.91504","wires":[["8046ef6.5d6361","2b1aef5d.2b5eb","7307dfa0.46d7a","b7e26b2.86dc498","ef62ae9c.ffcbb"]]},{"id":"8046ef6.5d6361","type":"outcome","name":"Pending Delete","xml":"<outcome value='Pending Delete'>\n","comments":"","outputs":1,"x":2055.4050521850586,"y":3698.3181867599487,"z":"be5d0074.91504","wires":[["4f9a1482.90979c"]]},{"id":"2b1aef5d.2b5eb","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2028.262191772461,"y":3749.3181676864624,"z":"be5d0074.91504","wires":[["a0a467e4.42d7e8"]]},{"id":"427d1cc0.bee434","type":"switchNode","name":"switch related-to","xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].related-to`'>\n","comments":"","outputs":1,"x":2563.976493835449,"y":3694.5560846328735,"z":"be5d0074.91504","wires":[["1cb8d77e.84dfa9","6a38ac3.c275454"]]},{"id":"a0a467e4.42d7e8","type":"for","name":"for each relationship","xml":"<for silentFailure='true' index='db-rel-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship_length`' >\n","comments":"","outputs":1,"x":2198.262104034424,"y":3748.8895444869995,"z":"be5d0074.91504","wires":[["a31baa94.b136c8"]]},{"id":"1cb8d77e.84dfa9","type":"outcome","name":"cloud-region","xml":"<outcome value='cloud-region'>\n","comments":"","outputs":1,"x":2738.262279510498,"y":3717.4609088897705,"z":"be5d0074.91504","wires":[["3bc3eb78.45d084"]]},{"id":"3bc3eb78.45d084","type":"for","name":"for each relationship data","xml":"<for silentFailure='true' index='db-data-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data_length`' >\n","comments":"","outputs":1,"x":2935.4049797058105,"y":3717.88937664032,"z":"be5d0074.91504","wires":[["504faaa9.14ab54"]]},{"id":"504faaa9.14ab54","type":"switchNode","name":"switch relationship-key","xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-key`'>\n","comments":"","outputs":1,"x":3166.83358001709,"y":3717.4607515335083,"z":"be5d0074.91504","wires":[["5f887ea8.86a72"]]},{"id":"5f887ea8.86a72","type":"outcome","name":"cloud-region.cloud-region-id","xml":"<outcome value='cloud-region.cloud-region-id'>\n","comments":"","outputs":1,"x":3408.2621459960938,"y":3717.4608478546143,"z":"be5d0074.91504","wires":[["d414e376.8b4e6"]]},{"id":"d414e376.8b4e6","type":"switchNode","name":"switch relationship-value == cloud-region-id","xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-value == $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`'>\n","comments":"","outputs":1,"x":3712.548065185547,"y":3717.3179035186768,"z":"be5d0074.91504","wires":[["d7a36632.ac12f8"]]},{"id":"d7a36632.ac12f8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":3417.5482025146484,"y":3834.9608573913574,"z":"be5d0074.91504","wires":[["a291152a.934e78"]]},{"id":"acfaeeda.3fa36","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1232.3811836242676,"y":3653.3658628463745,"z":"be5d0074.91504","wires":[["f92de18c.da037","3d04abe8.1b48a4"]]},{"id":"9940e480.cc5ae8","type":"set","name":"set l3-network-id = -1","xml":"<set>\n<parameter name='l3-network-id' value='-1' />\n","comments":"","x":1276.714542388916,"y":3525.270516395569,"z":"be5d0074.91504","wires":[]},{"id":"a291152a.934e78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":3563.3811798095703,"y":3834.436965942383,"z":"be5d0074.91504","wires":[["324a1628.f30e8a","dfefb0c6.308d5","e7b2f268.9efeb"]]},{"id":"324a1628.f30e8a","type":"set","name":"set l3-network-id = this l3-network","xml":"<set>\n<parameter name='l3-network-id' value='`$aai.l3-network.l3-network[$db-network-index].network-id`' />\n","comments":"","x":3798.61918258667,"y":3796.5799350738525,"z":"be5d0074.91504","wires":[]},{"id":"7c99cdf1.d6d3e4","type":"switchNode","name":"switch l3-network-id","xml":"<switch test='`$l3-network-id`'>\n","comments":"","outputs":1,"x":1273.7144660949707,"y":3848.9375581741333,"z":"be5d0074.91504","wires":[["60ad7ff9.df75f"]]},{"id":"60ad7ff9.df75f","type":"outcome","name":"-1","xml":"<outcome value='-1'>\n","comments":"","outputs":1,"x":1443.7144165039062,"y":3848.9373140335083,"z":"be5d0074.91504","wires":[["f42827cf.7bebd8"]]},{"id":"bd21a4ce.761328","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 l3-network in AAI for network role ' + $db.vf-network-role-mapping[$role-index].network-role`\" />\n","comments":"","x":1727.047779083252,"y":3848.937562942505,"z":"be5d0074.91504","wires":[]},{"id":"b8bea347.ec5d","type":"switchNode","name":"switch input model-invariant-uuid","xml":"<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`'>\n","comments":"","outputs":1,"x":573.2382507324219,"y":2529.2142667770386,"z":"be5d0074.91504","wires":[["cb62cb5c.4fa7c8","883fb8ea.0c5668"]]},{"id":"cb62cb5c.4fa7c8","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":778.9049224853516,"y":2506.3572301864624,"z":"be5d0074.91504","wires":[["5f373e69.1c378"]]},{"id":"883fb8ea.0c5668","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":780.3335189819336,"y":2550.6428213119507,"z":"be5d0074.91504","wires":[["974e102f.cb3d3"]]},{"id":"974e102f.cb3d3","type":"set","name":"set from input","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n","comments":"","x":934.619255065918,"y":2550.0713934898376,"z":"be5d0074.91504","wires":[]},{"id":"3c543c1a.6113b4","type":"set","name":"set from DB","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid'\n  value='`$db.vf-model.uuid`' />\n","comments":"","x":930.3334465026855,"y":2594.9284992218018,"z":"be5d0074.91504","wires":[]},{"id":"e79aac59.803e","type":"switchNode","name":"switch input model-uuid","xml":"<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`'>\n","comments":"","outputs":1,"x":545.8572692871094,"y":2617.7530040740967,"z":"be5d0074.91504","wires":[["58af875e.965798","3c85d965.5cbc86"]]},{"id":"58af875e.965798","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":779.8572425842285,"y":2594.895936012268,"z":"be5d0074.91504","wires":[["3c543c1a.6113b4"]]},{"id":"3c85d965.5cbc86","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":781.2858390808105,"y":2639.1815271377563,"z":"be5d0074.91504","wires":[["19910291.706c9d"]]},{"id":"19910291.706c9d","type":"set","name":"set from input","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n","comments":"","x":935.5715751647949,"y":2638.6100993156433,"z":"be5d0074.91504","wires":[]},{"id":"93a12bb2.72bdf8","type":"set","name":"set from DB","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-version'\n  value='`$db.vf-model.version`' />\n","comments":"","x":927.4763793945312,"y":2683.7857065200806,"z":"be5d0074.91504","wires":[]},{"id":"a7739265.64c59","type":"switchNode","name":"switch input model-version","xml":"<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`'>\n","comments":"","outputs":1,"x":554.0001411437988,"y":2706.6101512908936,"z":"be5d0074.91504","wires":[["e067afd9.9bc37","29999425.8a840c"]]},{"id":"e067afd9.9bc37","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":777.0001258850098,"y":2683.753113746643,"z":"be5d0074.91504","wires":[["93a12bb2.72bdf8"]]},{"id":"29999425.8a840c","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":778.4287223815918,"y":2728.0387048721313,"z":"be5d0074.91504","wires":[["80a13eef.bb832"]]},{"id":"80a13eef.bb832","type":"set","name":"set from input","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-version'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`' />\n","comments":"","x":932.7144584655762,"y":2727.4672770500183,"z":"be5d0074.91504","wires":[]},{"id":"c45acb30.4dc358","type":"set","name":"set from DB","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-name'\n  value='`$db.vf-model.name`' />\n","comments":"","x":927.4763793945312,"y":2770.9285287857056,"z":"be5d0074.91504","wires":[]},{"id":"352a2229.74292e","type":"switchNode","name":"switch input model-name","xml":"<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`'>\n","comments":"","outputs":1,"x":549.0001411437988,"y":2793.7529735565186,"z":"be5d0074.91504","wires":[["851d518.15311b","26141566.38776a"]]},{"id":"851d518.15311b","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":777.0001258850098,"y":2770.895936012268,"z":"be5d0074.91504","wires":[["c45acb30.4dc358"]]},{"id":"26141566.38776a","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":778.4287223815918,"y":2815.1815271377563,"z":"be5d0074.91504","wires":[["3a99b56f.3b843a"]]},{"id":"3a99b56f.3b843a","type":"set","name":"set from input","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-name'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`' />\n","comments":"","x":932.7144584655762,"y":2814.6100993156433,"z":"be5d0074.91504","wires":[]},{"id":"4f9a1482.90979c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2208.6191444396973,"y":3699.095064163208,"z":"be5d0074.91504","wires":[[]]},{"id":"ef62ae9c.ffcbb","type":"outcome","name":"PendingDelete","xml":"<outcome value='PendingDelete'>\n","comments":"","outputs":1,"x":2053.285785675049,"y":3654.0949783325195,"z":"be5d0074.91504","wires":[["a847b1f1.05529"]]},{"id":"a847b1f1.05529","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2208.4998779296875,"y":3654.871855735779,"z":"be5d0074.91504","wires":[[]]},{"id":"b7e26b2.86dc498","type":"outcome","name":"Pending Create","xml":"<outcome value='Pending Create'>\n","comments":"","outputs":1,"x":2055.285785675049,"y":3610.7614822387695,"z":"be5d0074.91504","wires":[["911dd764.0af6d8"]]},{"id":"911dd764.0af6d8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2208.4998779296875,"y":3611.538359642029,"z":"be5d0074.91504","wires":[[]]},{"id":"7307dfa0.46d7a","type":"outcome","name":"PendingCreate","xml":"<outcome value='PendingCreate'>\n","comments":"","outputs":1,"x":2055.285785675049,"y":3567.4282302856445,"z":"be5d0074.91504","wires":[["b2b7ea62.09e978"]]},{"id":"b2b7ea62.09e978","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2208.4998779296875,"y":3568.205107688904,"z":"be5d0074.91504","wires":[[]]},{"id":"705a058a.b98a8c","type":"for","name":"for each A&AI subnet","xml":"<for index='subnet-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`' >\n","comments":"","outputs":1,"x":1741.6668128967285,"y":3988.1423993110657,"z":"be5d0074.91504","wires":[["26bcf61d.39ed8a"]]},{"id":"84cd03b2.470d3","type":"set","name":"set subnet_length","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data_length'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`' />\n","comments":"","x":1730.3333778381348,"y":4033.142481327057,"z":"be5d0074.91504","wires":[]},{"id":"74128bae.fef6c4","type":"set","name":"set availability-zones.max-count and length","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.max-count'\n   value='`$db.vf-model.avail-zone-max-count`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone_length'\n   value='`$aai.cloud-region.availability-zones.availability-zone_length`' />\n","comments":"","x":515.9525756835938,"y":5232.6432847976685,"z":"be5d0074.91504","wires":[]},{"id":"a5a33888.67fae8","type":"set","name":"set vnf-name","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name'\n   value='`$tmp.vnf-name`' />\n","comments":"","x":510.1190643310547,"y":2463.2620306015015,"z":"be5d0074.91504","wires":[]},{"id":"9393d0c7.d77e9","type":"save","name":"update generic-vnf","xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"generic-vnf\"\n   key=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"vnf-name\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name`\" />\n<parameter name=\"prov-status\" value=\"PREPROV\" />\n<!-- <parameter name=\"operational-status\" value=\"out-of-service-path\" /> -->\n<parameter name=\"equipment-role\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-role`\" />\n<parameter name=\"model-invariant-id\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid`\" />\n<parameter name=\"model-version-id\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid`\" />\n<parameter name=\"model-customization-id\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid`\" />\n<parameter name=\"in-maint\" value=\"true\" />\n<parameter name=\"selflink\" value=\"`$vnf-object-path`\" />\n","comments":"","outputs":1,"x":436.2858428955078,"y":5442.309047698975,"z":"be5d0074.91504","wires":[["d9c5980e.eb83a8","480590e1.d0ad9"]]},{"id":"e6df8bdc.9062b8","type":"set","name":"set vnf-object-path","xml":"<set>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vnf-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 + $vnf-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n","comments":"","x":436.28588104248047,"y":5372.309530258179,"z":"be5d0074.91504","wires":[]},{"id":"9dcdbace.684eb8","type":"set","name":"set vnf-id","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id'\n   value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n","comments":"","x":498.45240783691406,"y":2414.9285736083984,"z":"be5d0074.91504","wires":[]},{"id":"fc6ad87e.cad2c8","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vnf.log' />\n","comments":"","outputs":1,"x":410.6192741394043,"y":5702.785669326782,"z":"be5d0074.91504","wires":[[]]},{"id":"ec08bcec.3b30e","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 generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n","comments":"","x":1472.9526863098145,"y":5308.975944519043,"z":"be5d0074.91504","wires":[]},{"id":"bf1f1d79.7018b","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1172.309886932373,"y":5265.928605079651,"z":"be5d0074.91504","wires":[["27d38884.173358"]]},{"id":"1454f72a.725d29","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1180.8813171386719,"y":5310.214318275452,"z":"be5d0074.91504","wires":[["4c454b39.b3b144"]]},{"id":"3e53f9d4.705fb6","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 generic-vnf in AAI\" />\n","comments":"","x":1475.6432800292969,"y":5265.738149642944,"z":"be5d0074.91504","wires":[]},{"id":"22f19811.37d758","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 generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n","comments":"","x":907.9526214599609,"y":5462.309480667114,"z":"be5d0074.91504","wires":[]},{"id":"d9c5980e.eb83a8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":610.6431732177734,"y":5420.9286432266235,"z":"be5d0074.91504","wires":[["ee34f26f.d315d"]]},{"id":"480590e1.d0ad9","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":619.2146034240723,"y":5465.214356422424,"z":"be5d0074.91504","wires":[["8ef6f5ea.1df328"]]},{"id":"4db84c3d.411824","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 selflink in generic-vnf in AAI\" />\n","comments":"","x":910.6432151794434,"y":5419.071685791016,"z":"be5d0074.91504","wires":[]},{"id":"bd2ebb93.969ad8","type":"set","name":"set model-customization-uuid","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n","comments":"","x":561.7857284545898,"y":2866.5951776504517,"z":"be5d0074.91504","wires":[]},{"id":"6f35740b.7867bc","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":1327.119026184082,"y":2988.008761405945,"z":"be5d0074.91504","wires":[[]]},{"id":"8ea9283d.520568","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1146.7857284545898,"y":3034.675549507141,"z":"be5d0074.91504","wires":[["6f35740b.7867bc","58064897.8348d8","7b986ac4.ee9cc4"]]},{"id":"7b986ac4.ee9cc4","type":"break","name":"break","xml":"<break>\n","comments":"","x":1296.7856903076172,"y":3078.008846282959,"z":"be5d0074.91504","wires":[]},{"id":"55cdaf47.06229","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":747.9525146484375,"y":5143.723401069641,"z":"be5d0074.91504","wires":[["61de414e.afb53","51a8f712.305ee8"]]},{"id":"51a8f712.305ee8","type":"save","name":"save generic-vnf availability-zone relationship","xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"generic-vnf:relationship-list\"\n   key=\"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=\"availability-zone\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"cloud-region.cloud-owner\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.cloud-region.cloud-owner`\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value=\"`$vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"availability-zone.availability-zone-name\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"`$aai.cloud-region.availability-zones.availability-zone[$idx].availability-zone-name`\" />\n","comments":"","outputs":1,"x":1041.285903930664,"y":5167.056855201721,"z":"be5d0074.91504","wires":[["711bb404.976d3c","66bf2c91.3ad974"]]},{"id":"c18c0d8e.e9c0f","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 generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n","comments":"","x":1598.428565979004,"y":5190.976183891296,"z":"be5d0074.91504","wires":[]},{"id":"711bb404.976d3c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1306.119155883789,"y":5147.928677558899,"z":"be5d0074.91504","wires":[["eb26162.58114e8"]]},{"id":"66bf2c91.3ad974","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1314.690586090088,"y":5192.2143907547,"z":"be5d0074.91504","wires":[["7ab0197d.e139d8"]]},{"id":"978ac8bf.3e8f28","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 generic-vnf in AAI\" />\n","comments":"","x":1601.1191596984863,"y":5147.738389015198,"z":"be5d0074.91504","wires":[]},{"id":"31b1e600.94057a","type":"set","name":"set mapping rows to 0","xml":"<set>\n<parameter name='db.vf-network-role-mapping_length' value='0' />\n","comments":"","x":1120.595199584961,"y":3280.866147994995,"z":"be5d0074.91504","wires":[]},{"id":"9523ee9.421ab1","type":"switchNode","name":"switch AAI availability-zone_length","xml":"<switch test='`$aai.cloud-region.availability-zones.availability-zone_length`'>\n","comments":"","outputs":1,"x":488.6668014526367,"y":5047.5329875946045,"z":"be5d0074.91504","wires":[["4ac5d11f.7a4fa"]]},{"id":"4ac5d11f.7a4fa","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":707.2382202148438,"y":5047.104396820068,"z":"be5d0074.91504","wires":[["f3cad836.ee2ae8"]]},{"id":"d6a1b0e1.9042e","type":"set","name":"set availability-zone_length to 0","xml":"<set>\n<parameter name='aai.cloud-region.availability-zones.availability-zone_length' value='0' />\n","comments":"","x":1308.666862487793,"y":5065.675634384155,"z":"be5d0074.91504","wires":[]},{"id":"f3cad836.ee2ae8","type":"switchNode","name":"switch AZ max count > 0","xml":"<switch test='`$db.vf-model.avail-zone-max-count &gt; 0`'>\n","comments":"","outputs":1,"x":895.8096923828125,"y":5047.532708644867,"z":"be5d0074.91504","wires":[["fb65358a.19e9b8","d1646588.cb4098"]]},{"id":"fb65358a.19e9b8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1098.666799545288,"y":5021.818458557129,"z":"be5d0074.91504","wires":[["d5bf8b09.cbb7e8"]]},{"id":"d1646588.cb4098","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1100.0954208374023,"y":5066.104206085205,"z":"be5d0074.91504","wires":[["d6a1b0e1.9042e"]]},{"id":"d7cc47f9.e02768","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 availability zones found in AAI for cloud region '\n       + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" />\n","comments":"","x":1390.0953063964844,"y":5019.866150856018,"z":"be5d0074.91504","wires":[]},{"id":"f2cc54c5.7493c8","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":508.57144927978516,"y":188.60415267944336,"z":"be5d0074.91504","wires":[[]]},{"id":"5709eb79.187104","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":726.9047546386719,"y":1864.6755771636963,"z":"be5d0074.91504","wires":[["d20f8c4c.aaaef"]]},{"id":"6bde2612.3dd418","type":"switchNode","name":"switch ecomp-naming","xml":"<switch test='`$db.vf-model.ecomp-generated-naming`'>\n","comments":"","outputs":1,"x":1104.5241432189941,"y":1765.3900136947632,"z":"be5d0074.91504","wires":[["8d3476a9.1746b8","4f89d2ab.d33efc","e9979aef.402b38"]]},{"id":"d20f8c4c.aaaef","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":872.619255065918,"y":1864.6756944656372,"z":"be5d0074.91504","wires":[["6bde2612.3dd418","fc9752c8.f26a8"]]},{"id":"4f89d2ab.d33efc","type":"outcome","name":"N","xml":"<outcome value='N'>","comments":"","outputs":1,"x":1290.9525299072266,"y":1765.8661403656006,"z":"be5d0074.91504","wires":[["2d0f9daa.bc4892"]]},{"id":"2d0f9daa.bc4892","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 vnf-name was received but ecomp-generated-naming is not Y\" />\n","comments":"","x":1445.2383155822754,"y":1784.4375848770142,"z":"be5d0074.91504","wires":[]},{"id":"8d3476a9.1746b8","type":"outcome","name":"Y","xml":"<outcome value='Y'>","comments":"","outputs":1,"x":1290.952522277832,"y":1724.4375944137573,"z":"be5d0074.91504","wires":[["bdd18d45.8079f"]]},{"id":"e9979aef.402b38","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1290.9524688720703,"y":1808.7232723236084,"z":"be5d0074.91504","wires":[["2d0f9daa.bc4892"]]},{"id":"bdd18d45.8079f","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1428.0954399108887,"y":1724.5804615020752,"z":"be5d0074.91504","wires":[[]]},{"id":"cfdd3602.799058","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":712.0954818725586,"y":2219.294753074646,"z":"be5d0074.91504","wires":[["7f164ae2.280aa4"]]},{"id":"7f164ae2.280aa4","type":"set","name":"set tmp.vnf-name","xml":"<set>\n<parameter name='tmp.vnf-name' value=\"`$vnf-topology-operation-input.vnf-information.vnf-name`\" />\n","comments":"","x":877.8574447631836,"y":2218.1520233154297,"z":"be5d0074.91504","wires":[]},{"id":"ccce63ca.12c4d","type":"call","name":"call GENERIC-RESOURCE-API:generate-unique-name","xml":"<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n","comments":"","outputs":1,"x":1762.9287223815918,"y":1914.4375138282776,"z":"be5d0074.91504","wires":[["572f952.2f8446c","b26bb6ea.82f758"]]},{"id":"572f952.2f8446c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2040.0715255737305,"y":1888.0090470314026,"z":"be5d0074.91504","wires":[["aefe1dbf.ad7fc"]]},{"id":"b26bb6ea.82f758","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2044.8332710266113,"y":1933.3899579048157,"z":"be5d0074.91504","wires":[["4e0d04fb.4ffd4c"]]},{"id":"809d618b.3699e","type":"set","name":"set variables for generating unique name","xml":"<set>\n<parameter name='generate-unique-name-input.action' value='ASSIGN' />\n<parameter name='generate-unique-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='generate-unique-name-input.index-table-name' value='VNF_NAME_INDEX' />\n<parameter name='generate-unique-name-input.index-table-prefix-column' value='vnf_name_prefix' />\n<parameter name='generate-unique-name-input.name-table-type' value='VNF_INSTANCE' />\n<parameter name='generate-unique-name-input.prefix' value=\"`'z' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + $db.vf-model.nf-code`\" />\n","comments":"","x":1717.9289741516113,"y":1865.5328335762024,"z":"be5d0074.91504","wires":[]},{"id":"4e0d04fb.4ffd4c","type":"set","name":"set tmp.vnf-name to generated name","xml":"<set>\n<parameter name='tmp.vnf-name' value='`$generate-unique-name-output.generated-name`' />\n","comments":"","x":2267.7376670837402,"y":1932.86603307724,"z":"be5d0074.91504","wires":[]},{"id":"aefe1dbf.ad7fc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`$generate-unique-name-output.error-message`\" />\n","comments":"","x":2193.6429862976074,"y":1887.4375567436218,"z":"be5d0074.91504","wires":[]},{"id":"fc9752c8.f26a8","type":"switchNode","name":"switch naming-policy","xml":"<switch test='`$db.vf-model.naming-policy`'>\n","comments":"","outputs":1,"x":1102.309726715088,"y":1973.675630569458,"z":"be5d0074.91504","wires":[["e81046cf.e30718","c33ad7a8.9551f8"]]},{"id":"e81046cf.e30718","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1292.309658050537,"y":1895.1041851043701,"z":"be5d0074.91504","wires":[["e908e3dd.17c76"]]},{"id":"c33ad7a8.9551f8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1292.5478973388672,"y":2022.4851293563843,"z":"be5d0074.91504","wires":[["17eeb246.7b4dee"]]},{"id":"e908e3dd.17c76","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1445.1669273376465,"y":1893.675651550293,"z":"be5d0074.91504","wires":[["809d618b.3699e","ccce63ca.12c4d"]]},{"id":"5f34736e.da87ac","type":"call","name":"call GENERIC-RESOURCE-API:naming-policy-generate-name","xml":"<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n","comments":"","outputs":1,"x":1784.2148513793945,"y":2038.199511051178,"z":"be5d0074.91504","wires":[["d4615f91.93833","aa0d10c0.0ed26"]]},{"id":"17eeb246.7b4dee","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1447.0717468261719,"y":2022.4851293563843,"z":"be5d0074.91504","wires":[["2b7b29b.07127d6","5f34736e.da87ac"]]},{"id":"2b7b29b.07127d6","type":"set","name":"set variables for generating name","xml":"<set>\n<parameter name='naming-policy-generate-name-input.policy-instance-name' value='`$db.vf-model.naming-policy`' />\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='ASSIGN' />\n<parameter name='naming-policy-generate-name-input.query-parameter' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />","comments":"","x":1694.2147674560547,"y":1992.4851651191711,"z":"be5d0074.91504","wires":[]},{"id":"4a5f4740.237338","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 generate VNF name\" />\n","comments":"","x":2227.0718002319336,"y":2012.0564489364624,"z":"be5d0074.91504","wires":[]},{"id":"26710442.f40cdc","type":"set","name":"set tmp.vnf-name to generated name","xml":"<set>\n<parameter name='tmp.vnf-name' value='`$naming-policy-generate-name-output.vnf-name`' />\n","comments":"","x":2305.5003700256348,"y":2056.7707509994507,"z":"be5d0074.91504","wires":[]},{"id":"eb91c268.10c28","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1988.571159362793,"y":2838.841775894165,"z":"be5d0074.91504","wires":[["ff28928b.062b3","a2fb2a44.e25608"]]},{"id":"a2fb2a44.e25608","type":"call","name":"call GENERIC-RESOURCE-API:naming-policy-generate-name","xml":"<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n","comments":"","outputs":1,"x":2312.856864929199,"y":2865.4133071899414,"z":"be5d0074.91504","wires":[[]]},{"id":"ff28928b.062b3","type":"set","name":"set variables for deleting name","xml":"<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n","comments":"","x":2214.285484313965,"y":2818.270378112793,"z":"be5d0074.91504","wires":[]},{"id":"a10bd767.ea4798","type":"comment","name":"Unassign the VNF name","info":"","comments":"","x":2080.237808227539,"y":2758.841877937317,"z":"be5d0074.91504","wires":[]},{"id":"8730c02a.4d9e7","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":928.5714950561523,"y":2923.8420758247375,"z":"be5d0074.91504","wires":[["7181fd4f.3b9314","eb91c268.10c28"]]},{"id":"76478117.63a79","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":926.9047775268555,"y":2965.508828163147,"z":"be5d0074.91504","wires":[["fd97eb04.7d1378","eb91c268.10c28"]]},{"id":"b5eeb045.601e6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":783.5714492797852,"y":3147.1754579544067,"z":"be5d0074.91504","wires":[["c1a2c00.3db054","eb91c268.10c28"]]},{"id":"6e98f691.cd8c98","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1075.238136291504,"y":3237.1754579544067,"z":"be5d0074.91504","wires":[["7d5b4659.62fc88","eb91c268.10c28"]]},{"id":"15b5633e.00b0bd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1635.2381553649902,"y":3391.1753253936768,"z":"be5d0074.91504","wires":[["24c9dca7.afc914","eb91c268.10c28"]]},{"id":"fac96d9.7296c9","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1633.5714378356934,"y":3432.842077732086,"z":"be5d0074.91504","wires":[["bf85b613.22da88","eb91c268.10c28"]]},{"id":"f42827cf.7bebd8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1576.9047813415527,"y":3848.8420734405518,"z":"be5d0074.91504","wires":[["bd21a4ce.761328","eb91c268.10c28"]]},{"id":"d5bf8b09.cbb7e8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1233.9048233032227,"y":5020.508767127991,"z":"be5d0074.91504","wires":[["d7cc47f9.e02768","eb91c268.10c28"]]},{"id":"eb26162.58114e8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1453.9048233032227,"y":5148.508767127991,"z":"be5d0074.91504","wires":[["978ac8bf.3e8f28","eb91c268.10c28"]]},{"id":"7ab0197d.e139d8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1452.2381057739258,"y":5192.1755194664,"z":"be5d0074.91504","wires":[["c18c0d8e.e9c0f","eb91c268.10c28"]]},{"id":"27d38884.173358","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1317.2381973266602,"y":5265.508767127991,"z":"be5d0074.91504","wires":[["3e53f9d4.705fb6","eb91c268.10c28"]]},{"id":"4c454b39.b3b144","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1315.5714797973633,"y":5309.1755194664,"z":"be5d0074.91504","wires":[["ec08bcec.3b30e","eb91c268.10c28"]]},{"id":"ee34f26f.d315d","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":763.904857635498,"y":5420.508882522583,"z":"be5d0074.91504","wires":[["4db84c3d.411824","eb91c268.10c28"]]},{"id":"8ef6f5ea.1df328","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":762.2381401062012,"y":5464.175634860992,"z":"be5d0074.91504","wires":[["22f19811.37d758","eb91c268.10c28"]]},{"id":"d4615f91.93833","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2082.3808975219727,"y":2013.1280183792114,"z":"be5d0074.91504","wires":[["4a5f4740.237338"]]},{"id":"aa0d10c0.0ed26","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2087.1426429748535,"y":2058.5089292526245,"z":"be5d0074.91504","wires":[["26710442.f40cdc"]]},{"id":"7b71c44b.6d928c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":737.6189956665039,"y":1368.0952367782593,"z":"be5d0074.91504","wires":[["692dc4cc.06594c","ad3abca7.574a4"]]},{"id":"59afdec8.0d6fc","type":"for","name":"for each instance group id","xml":"<for silentFailure='true' index='inst-group-index' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids_length`' >\n","comments":"","outputs":1,"x":520.9523429870605,"y":1368.761881828308,"z":"be5d0074.91504","wires":[["7b71c44b.6d928c"]]},{"id":"692dc4cc.06594c","type":"get-resource","name":"get-resource instance-group","xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"instance-group\" \n\t\tkey=\"instance-group.id = $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\"\n        pfx='aai.instance-group' local-only='false' >\n\n","comments":"","outputs":1,"x":968.9523544311523,"y":1291.4286184310913,"z":"be5d0074.91504","wires":[["44a92d04.daaea4","2937e52b.43293a"]]},{"id":"2937e52b.43293a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1183.1985626220703,"y":1309.5794668197632,"z":"be5d0074.91504","wires":[["8fda8fc0.0688e"]]},{"id":"44a92d04.daaea4","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1192.1271591186523,"y":1267.8652000427246,"z":"be5d0074.91504","wires":[["35f13cd1.8e7824"]]},{"id":"35f13cd1.8e7824","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 instance group id ' +\n      $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\n      + ' in AAI'`\" />\n","comments":"","x":1364.9523696899414,"y":1265.4286108016968,"z":"be5d0074.91504","wires":[]},{"id":"8fda8fc0.0688e","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 instance-group from AAI\" />\n","comments":"","x":1364.9523696899414,"y":1309.4286108016968,"z":"be5d0074.91504","wires":[]},{"id":"ad3abca7.574a4","type":"for","name":"for each relationship","xml":"<for index='rel-index' start='0' end='`$aai.instance-group.relationship-list.relationship_length`' >\n","comments":"","outputs":1,"x":942.619010925293,"y":1439.7619342803955,"z":"be5d0074.91504","wires":[["12d4f1e6.ff3a3e"]]},{"id":"12d4f1e6.ff3a3e","type":"switchNode","name":"switch related-to","xml":"<switch test='`$aai.instance-group.relationship-list.relationship[$rel-index].related-to`'>\n","comments":"","outputs":1,"x":1155.9524536132812,"y":1439.7618732452393,"z":"be5d0074.91504","wires":[["71a5792c.8ec168"]]},{"id":"71a5792c.8ec168","type":"outcome","name":"collection","xml":"<outcome value='collection'>\n","comments":"","outputs":1,"x":1327.6190910339355,"y":1439.7619552612305,"z":"be5d0074.91504","wires":[["e8dfecae.87983"]]},{"id":"e8dfecae.87983","type":"get-resource","name":"get-resource collection","xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"collection\" \n\t\tkey=\"collection.collection-id = $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n        pfx='aai.collection' local-only='false' >\n\n","comments":"","outputs":1,"x":1547.618995666504,"y":1438.0952167510986,"z":"be5d0074.91504","wires":[["7605232d.b437ec","c8628f19.c65e4","e8719477.a58328"]]},{"id":"c8628f19.c65e4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1761.8651885986328,"y":1389.579405784607,"z":"be5d0074.91504","wires":[["9f1118db.4a84c8"]]},{"id":"7605232d.b437ec","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1770.7937850952148,"y":1347.8651390075684,"z":"be5d0074.91504","wires":[["7bca285f.557c98"]]},{"id":"7bca285f.557c98","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 collection ' +\n      $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\n      + ' in AAI'`\" />\n","comments":"","x":1927.618995666504,"y":1346.4286108016968,"z":"be5d0074.91504","wires":[]},{"id":"9f1118db.4a84c8","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=\"System error retrieving collection from AAI\" />\n","comments":"","x":1927.618995666504,"y":1390.4286108016968,"z":"be5d0074.91504","wires":[]},{"id":"e8719477.a58328","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1760.9523963928223,"y":1526.4285821914673,"z":"be5d0074.91504","wires":[["6f40d450.f9ee5c"]]},{"id":"6f40d450.f9ee5c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1914.2855377197266,"y":1525.7618780136108,"z":"be5d0074.91504","wires":[["edf05ef0.1dd5e","b0242e5b.93cc7","87b9eedb.3dc8d","42a9ebf.50fbd14","8b30506e.9482a"]]},{"id":"edf05ef0.1dd5e","type":"for","name":"for each network-instance-group","xml":"<for silentFailure='true' index='nig-index' start='0' end='`$service-data.network-instance-groups.network-instance-group_length`' >\n","comments":"","outputs":1,"x":2152.618881225586,"y":1476.4286260604858,"z":"be5d0074.91504","wires":[["9e5b6c89.d1809"]]},{"id":"b0242e5b.93cc7","type":"set","name":"set found-network-instance-group to false","xml":"<set>\n<parameter name='found-network-instance-group' value='false' />\n","comments":"","x":2182.6188430786133,"y":1429.7619981765747,"z":"be5d0074.91504","wires":[]},{"id":"9e5b6c89.d1809","type":"switchNode","name":"network-instance-group-id matches?","xml":"<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\n  == $service-data.network-instance-groups.network-instance-group[$nig-index].network-instance-group-id`'>\n","comments":"","outputs":1,"x":2469.2853927612305,"y":1476.4286251068115,"z":"be5d0074.91504","wires":[["abc51c7b.c7ef5"]]},{"id":"abc51c7b.c7ef5","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2690.9521713256836,"y":1476.4285898208618,"z":"be5d0074.91504","wires":[["1dbe3fe2.e99a9"]]},{"id":"1dbe3fe2.e99a9","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2820.9522018432617,"y":1476.4286661148071,"z":"be5d0074.91504","wires":[["3e368576.b8d45a","5c2a9090.033f1"]]},{"id":"3e368576.b8d45a","type":"set","name":"set found-network-instance-group to true","xml":"<set>\n<parameter name='found-network-instance-group' value='true' />\n","comments":"","x":3054.2853775024414,"y":1448.0952911376953,"z":"be5d0074.91504","wires":[]},{"id":"5c2a9090.033f1","type":"break","name":"break","xml":"<break>\n","comments":"","x":2947.6189918518066,"y":1496.4286613464355,"z":"be5d0074.91504","wires":[]},{"id":"87b9eedb.3dc8d","type":"switchNode","name":"switch found-network-instance-group","xml":"<switch test='`$found-network-instance-group`'>\n","comments":"","outputs":1,"x":2164.285499572754,"y":1526.4286069869995,"z":"be5d0074.91504","wires":[["aafceefd.beca3"]]},{"id":"aafceefd.beca3","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2385.952346801758,"y":1526.428629398346,"z":"be5d0074.91504","wires":[["84852ec8.853e3"]]},{"id":"84852ec8.853e3","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=\"`'Could not find network instance group ' +\n      $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\n      + ' in MD-SAL'`\" />\n","comments":"","x":2532.6189193725586,"y":1524.7619638442993,"z":"be5d0074.91504","wires":[]},{"id":"2c4a61bc.2ff89e","type":"set","name":"set tmp.vnf-network-collection_length to 0","xml":"<set>\n<parameter name='tmp.vnf-network-collection_length' value='0' />\n","comments":"","x":569.2856826782227,"y":1319.7620134353638,"z":"be5d0074.91504","wires":[]},{"id":"42a9ebf.50fbd14","type":"set","name":"set vnf-network-collection data","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-instance-group-function'\n  value='`$aai.instance-group.instance-group-function`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-instance-group-id'\n  value='`$aai.instance-group.id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-collection-service-instance-id'\n  value='`$service-data.network-instance-groups.network-instance-group[$nig-index].service-instance-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-collection-customization-uuid'\n  value='`$aai.collection.collection-customization-id`' />\n","comments":"","x":2144.2858238220215,"y":1574.7619428634644,"z":"be5d0074.91504","wires":[]},{"id":"8b30506e.9482a","type":"set","name":"increment tmp.vnf-network-collection_length","xml":"<set>\n<parameter name='tmp.vnf-network-collection_length' value='`$tmp.vnf-network-collection_length + 1`' />\n","comments":"","x":2185.9525299072266,"y":1621.4286108016968,"z":"be5d0074.91504","wires":[]},{"id":"58eda9a2.3858f8","type":"set","name":"set vnf-network-collection_length","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection_length'\n  value='`$tmp.vnf-network-collection_length`' />\n","comments":"","x":548.4523773193359,"y":1577.261962890625,"z":"be5d0074.91504","wires":[]},{"id":"c7bb3006.7fea2","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":672.952465057373,"y":5536.904908180237,"z":"be5d0074.91504","wires":[["88fe44bc.b20cb8"]]},{"id":"e984610a.8e6fd","type":"for","name":"for each instance group id","xml":"<for silentFailure='true' index='inst-group-index' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids_length`' >\n","comments":"","outputs":1,"x":456.2858123779297,"y":5537.571553230286,"z":"be5d0074.91504","wires":[["c7bb3006.7fea2"]]},{"id":"88fe44bc.b20cb8","type":"save","name":"save generic-vnf relationship to instance-group","xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"generic-vnf:relationship-list\"\n   key=\"generic-vnf.vnf-id = $vnf-topology-operation-input.vnf-information.vnf-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"instance-group\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/instance-groups/instance-group/'\n        + $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id`\" />\n","comments":"","outputs":1,"x":956.2857933044434,"y":5536.4285888671875,"z":"be5d0074.91504","wires":[["b08af364.cb3cc","c5b433d3.c28c9"]]},{"id":"e848e15d.68a83","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 generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n","comments":"","x":1512.952465057373,"y":5554.761841773987,"z":"be5d0074.91504","wires":[]},{"id":"b08af364.cb3cc","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1215.6430168151855,"y":5513.381004333496,"z":"be5d0074.91504","wires":[["1e05cc88.527fb3"]]},{"id":"c5b433d3.c28c9","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1224.2144470214844,"y":5557.666717529297,"z":"be5d0074.91504","wires":[["af381b33.81f6e8"]]},{"id":"1830abef.3e2ad4","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 relationship in generic-vnf in AAI\" />\n","comments":"","x":1515.64306640625,"y":5511.5241050720215,"z":"be5d0074.91504","wires":[]},{"id":"1e05cc88.527fb3","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1368.9047012329102,"y":5512.961243629456,"z":"be5d0074.91504","wires":[["1830abef.3e2ad4","eb91c268.10c28"]]},{"id":"af381b33.81f6e8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1367.2379837036133,"y":5556.627995967865,"z":"be5d0074.91504","wires":[["e848e15d.68a83","eb91c268.10c28"]]},{"id":"faee63b4.f8527","type":"switchNode","name":"switch subnet_length","xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`'>\n","comments":"","outputs":1,"x":1277.8572120666504,"y":3969.523956298828,"z":"be5d0074.91504","wires":[["c04597b.b1aa868","58e8fb8e.ae1534","12f9127e.1a58ce"]]},{"id":"c04597b.b1aa868","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1450.7143745422363,"y":3932.381015777588,"z":"be5d0074.91504","wires":[["4b6d60ec.1203c"]]},{"id":"58e8fb8e.ae1534","type":"outcome","name":"0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1452.1429443359375,"y":3970.952178955078,"z":"be5d0074.91504","wires":[["4b6d60ec.1203c"]]},{"id":"12f9127e.1a58ce","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1450.7144088745117,"y":4009.5235710144043,"z":"be5d0074.91504","wires":[["e69e985e.2e9298"]]},{"id":"e69e985e.2e9298","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1572.1429634094238,"y":4009.523838043213,"z":"be5d0074.91504","wires":[["705a058a.b98a8c","84cd03b2.470d3"]]},{"id":"4b6d60ec.1203c","type":"set","name":"set subnet_length to 0","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data_length'\n   value='0' />\n","comments":"","x":1643.5715675354004,"y":3940.952178955078,"z":"be5d0074.91504","wires":[]},{"id":"c662231.39140e","type":"call","name":"call self-serve-vnf-assign","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-assign' mode='sync' >\n","comments":"","outputs":1,"x":1138.2576904296875,"y":567.7025542259216,"z":"be5d0074.91504","wires":[["97aac06d.eeb83"]]},{"id":"e2e6067.ebb3cf8","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 vnf with vnf-id=' + $vnf-topology-operation-input.vnf-information.vnf-id + ' with error: ' + $error-message`\" />\n","comments":"","x":1522.3290672302246,"y":567.7025046348572,"z":"be5d0074.91504","wires":[]},{"id":"eff2987e.a77eb8","type":"comment","name":"SELF-SERVE FORK","info":"","comments":"","x":869.1270141601562,"y":590.1548004150391,"z":"be5d0074.91504","wires":[]},{"id":"97aac06d.eeb83","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1343.5552711486816,"y":567.1905856132507,"z":"be5d0074.91504","wires":[["e2e6067.ebb3cf8"]]},{"id":"f09bed97.7d31e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":254.36508178710938,"y":407.04765033721924,"z":"be5d0074.91504","wires":[["f2cc54c5.7493c8","e5ad0d66.70637","95e7dc2c.60081","b07f3957.23cee8","575233c8.305a6c","e450a9d4.f6b6a8"]]},{"id":"26bcf61d.39ed8a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1913.3334197998047,"y":3988.1280336380005,"z":"be5d0074.91504","wires":[["60076dea.ddca64","95a8bc37.de49c","23fb5171.228f8e","b90fa041.aaba2"]]},{"id":"6a145c65.18a254","type":"set","name":"clear aai.l3-network","xml":"<set>\n<parameter name='aai.l3-network.' value='' />\n","comments":"","x":1271.9048652648926,"y":3360.985152244568,"z":"be5d0074.91504","wires":[]},{"id":"dfefb0c6.308d5","type":"break","name":"break","xml":"<break>\n","comments":"","x":3713.6188011169434,"y":3888.127716064453,"z":"be5d0074.91504","wires":[]},{"id":"3d04abe8.1b48a4","type":"set","name":"set found-network to false","xml":"<set>\n<parameter name='found-network' value='false' />\n","comments":"","x":1413.3333930969238,"y":3593.8421201705933,"z":"be5d0074.91504","wires":[]},{"id":"a31baa94.b136c8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2385.0476989746094,"y":3748.1279163360596,"z":"be5d0074.91504","wires":[["427d1cc0.bee434","5549edaf.7acea4"]]},{"id":"5549edaf.7acea4","type":"switchNode","name":"switch found-network","xml":"<switch test='`$found-network`'>\n","comments":"","outputs":1,"x":2576.476245880127,"y":3778.1279706954956,"z":"be5d0074.91504","wires":[["36f14756.ae8f48"]]},{"id":"e7b2f268.9efeb","type":"set","name":"set found-network to true","xml":"<set>\n<parameter name='found-network' value='true' />\n","comments":"","x":3769.3336791992188,"y":3842.413396835327,"z":"be5d0074.91504","wires":[]},{"id":"36f14756.ae8f48","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2745.047737121582,"y":3778.127900123596,"z":"be5d0074.91504","wires":[["d5854119.b6b79"]]},{"id":"d5854119.b6b79","type":"break","name":"break","xml":"<break>\n","comments":"","x":2875.047805786133,"y":3776.699294090271,"z":"be5d0074.91504","wires":[]},{"id":"ad1cc61a.69a3c8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1585.3334159851074,"y":3721.84219455719,"z":"be5d0074.91504","wires":[["88980c13.6b138","9afc419a.5b34a"]]},{"id":"9afc419a.5b34a","type":"switchNode","name":"switch found-network","xml":"<switch test='`$found-network`'>\n","comments":"","outputs":1,"x":1795.3333702087402,"y":3793.8420782089233,"z":"be5d0074.91504","wires":[["f66a4612.6df9f8"]]},{"id":"f66a4612.6df9f8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1963.9048614501953,"y":3793.842007637024,"z":"be5d0074.91504","wires":[["a1bada83.a833c8"]]},{"id":"a1bada83.a833c8","type":"break","name":"break","xml":"<break>\n","comments":"","x":2093.904930114746,"y":3792.4134016036987,"z":"be5d0074.91504","wires":[]},{"id":"f70af5d8.815968","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":1110.6666259765625,"y":721.8571219444275,"z":"be5d0074.91504","wires":[]},{"id":"cddbc37f.04216","type":"set","name":"set vnf-level-oper-status to PendingCreate","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n","comments":"","x":1192.4800720214844,"y":619.1946024894714,"z":"be5d0074.91504","wires":[]},{"id":"304e9350.13a68c","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":1100.5713539123535,"y":669.6343712806702,"z":"be5d0074.91504","wires":[[]]},{"id":"d789f59.74b7f08","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":889.2378845214844,"y":639.1428298950195,"z":"be5d0074.91504","wires":[["c662231.39140e","cddbc37f.04216","304e9350.13a68c","f70af5d8.815968"]]},{"id":"23fb5171.228f8e","type":"set","name":"set subnet data","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].ip-version'\n   value='`$tmp.ip-version`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].subnet-id'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].neutron-subnet-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].sdnc-subnet-id'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].subnet-role'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].subnet-name'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].network-start-address'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].network-start-address`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].gateway-address'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].gateway-address`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].cidr-mask'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].cidr-mask`' />\n","comments":"","x":2067.619186401367,"y":4018.8097801208496,"z":"be5d0074.91504","wires":[]},{"id":"b90fa041.aaba2","type":"switchNode","name":"switch dhcp-enabled","xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].dhcp-enabled`'>\n","comments":"","outputs":1,"x":2082.142967224121,"y":4071.6527338027954,"z":"be5d0074.91504","wires":[["49a34eea.6330e","b5daf2d.33bd71"]]},{"id":"49a34eea.6330e","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2245.000131879534,"y":4050.224091529846,"z":"be5d0074.91504","wires":[["8fc71690.7962d8"]]},{"id":"b5daf2d.33bd71","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2243.571464538574,"y":4095.9385175704956,"z":"be5d0074.91504","wires":[["e2f9a136.49111"]]},{"id":"8fc71690.7962d8","type":"set","name":"set dhcp-enabled to Y","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].dhcp-enabled'\n   value='Y' />\n","comments":"","x":2417.8573303222656,"y":4048.7954874038696,"z":"be5d0074.91504","wires":[]},{"id":"e2f9a136.49111","type":"set","name":"set dhcp-enabled to N","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].dhcp-enabled'\n   value='N' />\n","comments":"","x":2415.000099182129,"y":4095.9385175704956,"z":"be5d0074.91504","wires":[]},{"id":"60076dea.ddca64","type":"switchNode","name":"switch subnet-role","xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role`'>\n","comments":"","outputs":1,"x":2082.6191368103027,"y":3900.700406074524,"z":"be5d0074.91504","wires":[["ed1cfe9d.edd28"]]},{"id":"ed1cfe9d.edd28","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2249.2857398986816,"y":3900.7000579833984,"z":"be5d0074.91504","wires":[["61b607ca.bee948"]]},{"id":"61b607ca.bee948","type":"set","name":"set subnet-role to NONE","xml":"<set>\n<parameter name='aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role' value='NONE' />\n","comments":"","x":2430.9525260925293,"y":3900.0337104797363,"z":"be5d0074.91504","wires":[]},{"id":"95a8bc37.de49c","type":"switchNode","name":"switch ip-version","xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].ip-version`'>\n","comments":"","outputs":1,"x":2077.8574714660645,"y":3965.191512107849,"z":"be5d0074.91504","wires":[["cba78d28.62af2","57793043.471d2"]]},{"id":"cba78d28.62af2","type":"outcome","name":"4","xml":"<outcome value='4'>\n","comments":"","outputs":1,"x":2243.5716133117676,"y":3946.619909286499,"z":"be5d0074.91504","wires":[["dff11ccf.bb16a"]]},{"id":"57793043.471d2","type":"outcome","name":"6","xml":"<outcome value='6'>\n","comments":"","outputs":1,"x":2243.571575164795,"y":3988.048652648926,"z":"be5d0074.91504","wires":[["cc470d.526ff8f"]]},{"id":"dff11ccf.bb16a","type":"set","name":"set tmp.ip-version to ipv4","xml":"<set>\n<parameter name='tmp.ip-version' value='ipv4' />\n","comments":"","x":2430.7143783569336,"y":3945.762836456299,"z":"be5d0074.91504","wires":[]},{"id":"cc470d.526ff8f","type":"set","name":"set tmp.ip-version to ipv6","xml":"<set>\n<parameter name='tmp.ip-version' value='ipv6' />\n","comments":"","x":2429.285930633545,"y":3988.0486545562744,"z":"be5d0074.91504","wires":[]},{"id":"80cab39e.772be","type":"switchNode","name":"switch network-role","xml":"<switch test='`$db.vf-network-role-mapping[$role-index].network-role`'>\n","comments":"","outputs":1,"x":710.2856636047363,"y":3973.428563117981,"z":"be5d0074.91504","wires":[["4a80611b.96ec4","62ed6f4a.81897","5ab52110.3fbcd","b4fbca0e.70bc98"]]},{"id":"4a80611b.96ec4","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":878.3809280395508,"y":3871.761974334717,"z":"be5d0074.91504","wires":[["2b279fb6.0c5b6"]]},{"id":"62ed6f4a.81897","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":876.9523048400879,"y":4000.0951623916626,"z":"be5d0074.91504","wires":[["7eca1a93.00ad54"]]},{"id":"2b279fb6.0c5b6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1015.7619361877441,"y":3911.5235538482666,"z":"be5d0074.91504","wires":[[]]},{"id":"dece7ac8.98c8e8","type":"get-resource","name":"get-resource VNF_RELATED_NETWORK_ROLE","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VNF_RELATED_NETWORK_ROLE where vnf_customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid\n    and network_role = $db.vf-network-role-mapping[$role-index].network-role'\n  pfx='db.vnf-related-network-role[]'>\n\n","comments":"","outputs":1,"x":1372.285758972168,"y":4303.1750774383545,"z":"be5d0074.91504","wires":[["3ab71df.b211ce2","32829263.ca5a0e"]]},{"id":"3ab71df.b211ce2","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1640.9524230957031,"y":4133.8419189453125,"z":"be5d0074.91504","wires":[["e67a9905.733058"]]},{"id":"711da561.57e78c","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 VNF_RELATED_NETWORK_ROLE table\" />\n","comments":"","x":1950.9523963928223,"y":4133.6514892578125,"z":"be5d0074.91504","wires":[]},{"id":"e67a9905.733058","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1788.1429405212402,"y":4132.389933586121,"z":"be5d0074.91504","wires":[["711da561.57e78c","eb91c268.10c28"]]},{"id":"32829263.ca5a0e","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1643.9524536132812,"y":4496.508430480957,"z":"be5d0074.91504","wires":[["54f934a8.1407ec"]]},{"id":"54f934a8.1407ec","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1810.285758972168,"y":4494.5080852508545,"z":"be5d0074.91504","wires":[["9905f433.bc4c58","b447de2b.f180d","e0e1bfb9.d3392","8e303b97.191248","9bcef03.5e4921","683fecd1.72d594","2a35f71d.88e7e8","70b3b7bf.4dfb18","e3caf961.b0c638"]]},{"id":"6a38ac3.c275454","type":"outcome","name":"service-instance","xml":"<outcome value='service-instance'>\n","comments":"","outputs":1,"x":2748.5712280273438,"y":3666.74675655365,"z":"be5d0074.91504","wires":[["11fe3f3e.4ee511"]]},{"id":"11fe3f3e.4ee511","type":"for","name":"for each relationship data","xml":"<for silentFailure='true' index='db-data-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data_length`' >\n","comments":"","outputs":1,"x":2974.0470657348633,"y":3667.175386428833,"z":"be5d0074.91504","wires":[["19207da5.d08342"]]},{"id":"19207da5.d08342","type":"switchNode","name":"switch relationship-key","xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-key`'>\n","comments":"","outputs":1,"x":3209.2856369018555,"y":3665.5088176727295,"z":"be5d0074.91504","wires":[["941b5311.4c406"]]},{"id":"941b5311.4c406","type":"outcome","name":"service-instance.service-instance-id","xml":"<outcome value='service-instance.service-instance-id'>\n","comments":"","outputs":1,"x":3475.713996887207,"y":3665.5088815689087,"z":"be5d0074.91504","wires":[["4202ddb6.ac36f4"]]},{"id":"4202ddb6.ac36f4","type":"set","name":"set network-service-instance-id","xml":"<set>\n<parameter name='network-service-instance-id'\n  value='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-value`' />\n","comments":"","x":3769.2857818603516,"y":3663.842296600342,"z":"be5d0074.91504","wires":[]},{"id":"9905f433.bc4c58","type":"execute","name":"generate network-topology-identifier-structure url","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.network-topology-identifier-structure`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.part\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$network-service-instance-id`\"/>\n","comments":"","outputs":1,"x":2129.618927001953,"y":4190.175718307495,"z":"be5d0074.91504","wires":[[]]},{"id":"e0e1bfb9.d3392","type":"execute","name":"execute RestApiCallNode - get network-topology-identifier-structure","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ntis-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='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ntis\" />\n\n","comments":"","outputs":1,"x":2186.618721008301,"y":4293.604458808899,"z":"be5d0074.91504","wires":[["e4a73926.d67098"]]},{"id":"b447de2b.f180d","type":"execute","name":"generate network-topology-identifier-structure url (part 2)","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.part`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ntis-url\"/>\n    <parameter name=\"target\" value=\"{network-id}\"/>\n    <parameter name=\"replacement\" value=\"`$l3-network-id`\"/>\n","comments":"","outputs":1,"x":2151.285514831543,"y":4233.5090618133545,"z":"be5d0074.91504","wires":[[]]},{"id":"7a50c9f.bf28538","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vnfa.log' />\n","comments":"","outputs":1,"x":456.61913299560547,"y":4140.1750774383545,"z":"be5d0074.91504","wires":[[]]},{"id":"e4a73926.d67098","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2515.7279090881348,"y":4293.354936599731,"z":"be5d0074.91504","wires":[["82516186.8c563"]]},{"id":"2728e692.39911a","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=\"`\n    'Error retrieving network-topology-identifier-structure for service instance '\n    + $network-service-instance-id\n    + ' and network-id '\n    + $l3-network-id`\" />\n","comments":"","x":2820.9522857666016,"y":4303.841425895691,"z":"be5d0074.91504","wires":[]},{"id":"82516186.8c563","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2653.1427993774414,"y":4292.580025672913,"z":"be5d0074.91504","wires":[["2728e692.39911a","eb91c268.10c28"]]},{"id":"8e303b97.191248","type":"set","name":"set is-trunked and segmentation-id in vnf-network","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].is-trunked'\n    value='`$mdsal-ntis.network-topology-identifier-structure.is-trunked`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].segmentation-id'\n    value='`$mdsal-ntis.network-topology-identifier-structure.segmentation-id`' />\n    ","comments":"","x":2129.285743713379,"y":4353.842082977295,"z":"be5d0074.91504","wires":[]},{"id":"683fecd1.72d594","type":"save","name":"custom query: get owning entity","xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n      resource=\"custom-query\"\n      key=\"format = 'resource'\"\n      force=\"true\"\n      local-only=\"false\"\n      pfx=\"tmp.AnAI-data.oe\">\n<parameter name=\"start[0]\" value=\"`'nodes/service-instances/service-instance?service-instance-id=' + $network-service-instance-id `\" />\n<parameter name=\"start_length\" value=\"1\" />\n<parameter name=\"query\" value=\"/query/owning-entity-fromService-instance\" /> \n","comments":"","outputs":1,"x":2070.2856369018555,"y":4429.1755657196045,"z":"be5d0074.91504","wires":[["a590bc88.67cc3","f93d7275.280a5"]]},{"id":"a590bc88.67cc3","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2280.5236854553223,"y":4407.841919898987,"z":"be5d0074.91504","wires":[["2c629f1.121d76"]]},{"id":"f93d7275.280a5","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2287.6665802001953,"y":4453.5561447143555,"z":"be5d0074.91504","wires":[["94b1d4ef.94ad08"]]},{"id":"f1c34530.cdc708","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 getting owning entity from service instance\" />\n","comments":"","x":2585.2856369018555,"y":4405.8420696258545,"z":"be5d0074.91504","wires":[]},{"id":"2c629f1.121d76","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2422.4761810302734,"y":4404.580513954163,"z":"be5d0074.91504","wires":[["f1c34530.cdc708","eb91c268.10c28"]]},{"id":"34fee23.74b641e","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 owning entity from service instance\" />\n","comments":"","x":2583.6191329956055,"y":4455.8420696258545,"z":"be5d0074.91504","wires":[]},{"id":"94b1d4ef.94ad08","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2420.8096771240234,"y":4454.580513954163,"z":"be5d0074.91504","wires":[["34fee23.74b641e","eb91c268.10c28"]]},{"id":"d9bc3d6f.ee479","type":"save","name":"custom query: get tenant network","xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n      resource=\"custom-query\"\n      key=\"format = 'resource'\"\n      force=\"true\"\n      local-only=\"false\"\n      pfx=\"tmp.AnAI-data.get-networks\">\n<parameter name=\"start[0]\" value=\"`'/business/owning-entities/owning-entity/' + $tmp.AnAI-data.oe.results[0].owning-entity.owning-entity-id `\" />\n<parameter name=\"start_length\" value=\"1\" />\n<parameter name=\"query\" value=\"`'/query/getNetworks?networkRole=' + $db.vnf-related-network-role[$rel-network-role-index].related-network-role\n  + '&amp;cloudRegionId=' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" /> \n","comments":"","outputs":1,"x":2519.9524536132812,"y":4602.175703048706,"z":"be5d0074.91504","wires":[["8560d674.04df58","387d8908.bfa816"]]},{"id":"8560d674.04df58","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2733.190502166748,"y":4580.8422021865845,"z":"be5d0074.91504","wires":[["2edb259f.d6427a"]]},{"id":"387d8908.bfa816","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2740.333396911621,"y":4626.556427001953,"z":"be5d0074.91504","wires":[["83120bbc.de2f08"]]},{"id":"9b719b4e.2bbdf8","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 calling getNetworks custom query in AAI\" />\n","comments":"","x":3037.9524536132812,"y":4578.842351913452,"z":"be5d0074.91504","wires":[]},{"id":"2edb259f.d6427a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2875.142997741699,"y":4577.58079624176,"z":"be5d0074.91504","wires":[["9b719b4e.2bbdf8","eb91c268.10c28"]]},{"id":"4dfbb550.f5a8cc","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 returned from getNetworks custom query for related network role '\n      + $db.vnf-related-network-role[0].related-network-role`\" />\n","comments":"","x":3036.2859497070312,"y":4628.842351913452,"z":"be5d0074.91504","wires":[]},{"id":"83120bbc.de2f08","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2873.476493835449,"y":4627.58079624176,"z":"be5d0074.91504","wires":[["4dfbb550.f5a8cc","eb91c268.10c28"]]},{"id":"154d643c.80192c","type":"for","name":"for each relationship","xml":"<for index='rel-index' start='0' end='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship_length`' >\n","comments":"","outputs":1,"x":2486.9524536132812,"y":4728.175848007202,"z":"be5d0074.91504","wires":[["2356569c.ffc24a"]]},{"id":"2356569c.ffc24a","type":"switchNode","name":"switch related-to","xml":"<switch test='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship[$rel-index].related-to`'>\n","comments":"","outputs":1,"x":2684.9524536132812,"y":4728.175848007202,"z":"be5d0074.91504","wires":[["8795e09.89be62"]]},{"id":"8795e09.89be62","type":"outcome","name":"vlan-tag","xml":"<outcome value='vlan-tag'>\n","comments":"","outputs":1,"x":2854.9524536132812,"y":4728.175848007202,"z":"be5d0074.91504","wires":[["346048a1.d0b2d8"]]},{"id":"346048a1.d0b2d8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":3022.9524536132812,"y":4726.175848007202,"z":"be5d0074.91504","wires":[["17f6fc0d.8dad74","355b66df.e2b0aa","cc38a6f6.b25fe8"]]},{"id":"17f6fc0d.8dad74","type":"set","name":"set vlan-tag-id","xml":"<set>\n<parameter name='vlan-tag-id' value='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value`' />\n","comments":"","x":3198.9524536132812,"y":4686.175848007202,"z":"be5d0074.91504","wires":[]},{"id":"355b66df.e2b0aa","type":"get-resource","name":"get-resource vlan-tag","xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"vlan-tag\" \n\t\tkey=\"vlan-tag.vlan-tag-id = $vlan-tag-id\"\n        pfx='aai.vlan-tag' local-only='false'\n>\n","comments":"","outputs":1,"x":3220.9524536132812,"y":4744.175848007202,"z":"be5d0074.91504","wires":[["403307f7.b64c78","e1666ba5.a09638"]]},{"id":"403307f7.b64c78","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3401.0000610351562,"y":4726.318914413452,"z":"be5d0074.91504","wires":[["6ebd4443.1e2c3c"]]},{"id":"6ebd4443.1e2c3c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":3543.809341430664,"y":4726.509556293488,"z":"be5d0074.91504","wires":[["f840cf70.62acd","eb91c268.10c28"]]},{"id":"f840cf70.62acd","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 getting vlan-tag object from AAI\" />\n","comments":"","x":3704.952346801758,"y":4722.176074981689,"z":"be5d0074.91504","wires":[]},{"id":"9bcef03.5e4921","type":"for","name":"for each related network role","xml":"<for index='rel-network-role-index' start='0' end='`$db.vnf-related-network-role_length`' >\n","comments":"","outputs":1,"x":2057.9523849487305,"y":4658.509412765503,"z":"be5d0074.91504","wires":[["9b20a919.5c92d8"]]},{"id":"9b20a919.5c92d8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2262.9523849487305,"y":4659.8425579071045,"z":"be5d0074.91504","wires":[["d9bc3d6f.ee479","154d643c.80192c","11b17797.ac7498"]]},{"id":"70b3b7bf.4dfb18","type":"switchNode","name":"switch rn-index","xml":"<switch test='`$rn-index`'>\n","comments":"","outputs":1,"x":2018.9523849487305,"y":4548.1755657196045,"z":"be5d0074.91504","wires":[["91b5c234.d549b"]]},{"id":"2a35f71d.88e7e8","type":"set","name":"set rn-index to related network length","xml":"<set>\n<parameter name='rn-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network_length`' />\n","comments":"","x":2087.6189727783203,"y":4499.17541885376,"z":"be5d0074.91504","wires":[]},{"id":"91b5c234.d549b","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2182.9523849487305,"y":4548.1755657196045,"z":"be5d0074.91504","wires":[["d9d5dae4.bd92c8"]]},{"id":"d9d5dae4.bd92c8","type":"set","name":"set rn-index to 0","xml":"<set>\n<parameter name='rn-index' value='0' />\n","comments":"","x":2342.9523849487305,"y":4548.1755657196045,"z":"be5d0074.91504","wires":[]},{"id":"11b17797.ac7498","type":"set","name":"set related-network data","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].network-id'\n  value='`$tmp.AnAI-data.get-networks.results[0].l3-network.network-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].network-role'\n  value='`$tmp.AnAI-data.get-networks.results[0].l3-network.network-role`' />\n","comments":"","x":2490.619041442871,"y":4658.842390060425,"z":"be5d0074.91504","wires":[]},{"id":"e3caf961.b0c638","type":"set","name":"set new related network length","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network_length'\n  value='`$rn-index + 1`' />\n","comments":"","x":2052.9524536132812,"y":4802.175703048706,"z":"be5d0074.91504","wires":[]},{"id":"e1666ba5.a09638","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3402.9524536132812,"y":4774.175703048706,"z":"be5d0074.91504","wires":[["31d77170.263a3e"]]},{"id":"31d77170.263a3e","type":"set","name":"set related-network data","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.vlan-interface'\n  value='`$aai.vlan-tag.vlan-tag-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.upper-tag-id'\n  value='`$aai.vlan-tag.vlan-id-outer`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.lower-tag-id'\n  value='`$aai.vlan-tag.vlan-id-inner`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.is-private'\n  value='`$aai.vlan-tag.is-private`' />\n","comments":"","x":3594.9524536132812,"y":4774.175703048706,"z":"be5d0074.91504","wires":[]},{"id":"cc38a6f6.b25fe8","type":"break","name":"break","xml":"<break>\n","comments":"","x":3172.9524536132812,"y":4812.175703048706,"z":"be5d0074.91504","wires":[]},{"id":"aec7ccd0.894f5","type":"comment","name":"temporary data issue: also ignore string \"null\" and \"NULL\"","info":"","comments":"","x":849.2857666015625,"y":3831.937686920166,"z":"be5d0074.91504","wires":[]},{"id":"5ab52110.3fbcd","type":"outcome","name":"null","xml":"<outcome value='null'>\n","comments":"","outputs":1,"x":876.4285888671875,"y":3914.794828414917,"z":"be5d0074.91504","wires":[["2b279fb6.0c5b6"]]},{"id":"b4fbca0e.70bc98","type":"outcome","name":"NULL","xml":"<outcome value='NULL'>","comments":"","outputs":1,"x":876.4285984039307,"y":3957.651900291443,"z":"be5d0074.91504","wires":[["2b279fb6.0c5b6"]]},{"id":"b07f3957.23cee8","type":"switchNode","name":"switch input cloud-owner","xml":"<switch test='`$vnf-topology-operation-input.vnf-request-input.cloud-owner`'>\n","comments":"","outputs":1,"x":509.28570556640625,"y":243.84222221374512,"z":"be5d0074.91504","wires":[["d3fc9056.4916f","57a81799.8acba8"]]},{"id":"d3fc9056.4916f","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":692.6190795898438,"y":213.84221076965332,"z":"be5d0074.91504","wires":[["9917844.58b4178"]]},{"id":"57a81799.8acba8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":692.3809852600098,"y":254.79470443725586,"z":"be5d0074.91504","wires":[["efdbfc78.53fd6"]]},{"id":"9917844.58b4178","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":827.6190338134766,"y":212.17555046081543,"z":"be5d0074.91504","wires":[[]]},{"id":"efdbfc78.53fd6","type":"set","name":"set prop.cloud-region.cloud-owner","xml":"<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$vnf-topology-operation-input.vnf-request-input.cloud-owner`' />\n","comments":"","x":909.2856903076172,"y":253.84223175048828,"z":"be5d0074.91504","wires":[]},{"id":"575233c8.305a6c","type":"call","name":"call self-serve-vnf-forking-logic","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-forking-logic' mode='sync' >\n","comments":"","outputs":1,"x":527.1428604125977,"y":537.1428661346436,"z":"be5d0074.91504","wires":[[]]},{"id":"e450a9d4.f6b6a8","type":"switchNode","name":"switch ss.self-serve-flag","xml":"<switch test=\"`$ss.self-serve-flag`\">\n","comments":"","outputs":1,"x":507.2855758666992,"y":702.7143535614014,"z":"be5d0074.91504","wires":[["78b4342c.5bbe9c","7b7dd5f.add382c"]]},{"id":"78b4342c.5bbe9c","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":718.9997329711914,"y":775.9996376037598,"z":"be5d0074.91504","wires":[["7362746e.83534c"]]},{"id":"7b7dd5f.add382c","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":718.5712509155273,"y":639.5714712142944,"z":"be5d0074.91504","wires":[["d789f59.74b7f08"]]}]
\ No newline at end of file
+[\r
+    {\r
+        "id": "fa733965.8e1b48",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 116.66666412353516,\r
+        "y": 70.74699592590332,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "daf6d1e0.f0a85"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "daf6d1e0.f0a85",\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='${project.version}'>",\r
+        "outputs": 1,\r
+        "x": 231.9523696899414,\r
+        "y": 112.65177536010742,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "3a6f31b4.299cee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3a6f31b4.299cee",\r
+        "type": "method",\r
+        "name": "method vnf-topology-operation-assign",\r
+        "xml": "<method rpc='vnf-topology-operation-assign' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 204.76197052001953,\r
+        "y": 155.41365909576416,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "9ab83872.914ab8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21dff779.bf4cc8",\r
+        "type": "comment",\r
+        "name": "vnf-topology-operation-assign",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 492.6781921386719,\r
+        "y": 20,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "49a698b9.947698",\r
+        "type": "switchNode",\r
+        "name": "switch request-action",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 503.04761505126953,\r
+        "y": 303.8898277282715,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "725cf24d.8d4b4c",\r
+                "abc6c6e8.654018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "725cf24d.8d4b4c",\r
+        "type": "outcome",\r
+        "name": "CreateVnfInstance",\r
+        "xml": "<outcome value='CreateVnfInstance'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 756.7619094848633,\r
+        "y": 281.0327091217041,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b07fe8dd.932d38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "abc6c6e8.654018",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 718.7618751525879,\r
+        "y": 326.7470369338989,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "97a46274.9df5e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b07fe8dd.932d38",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 941.6190376281738,\r
+        "y": 281.0327386856079,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c8588b9c.b0d898",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 174.4048080444336,\r
+        "y": 3352.7708625793457,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "50e14066.4a8fb",\r
+                "945671e8.3d2b7",\r
+                "7054feb2.2900b",\r
+                "25919575.6cb00a",\r
+                "10583438.2574cc",\r
+                "9cd27ab5.524f18",\r
+                "13077d8a.632752",\r
+                "8c40a330.8c84",\r
+                "996bdc9d.0d63b",\r
+                "2dd23fff.89a8d",\r
+                "f2f609da.bd9858",\r
+                "1b9bd518.29100b",\r
+                "4eb737ee.442a38",\r
+                "3530cc21.a0c0d4",\r
+                "2fcd14d0.0b537c",\r
+                "4796fba2.d51144",\r
+                "42f099e.9f61568",\r
+                "ab296e58.94c7",\r
+                "8dc1e7e0.9d5668",\r
+                "d03eeca7.23711",\r
+                "494fd3fe.881b4c",\r
+                "31dc7765.4b4208",\r
+                "ae22f7f9.632468",\r
+                "530dfe10.6f29",\r
+                "2f250d1f.126482",\r
+                "3c27d937.bf75c6",\r
+                "6ae8e0f.7c6952",\r
+                "dfdec27.324004",\r
+                "dc580d36.feec6",\r
+                "87cefff2.af896",\r
+                "9e4b2f5.d8554d",\r
+                "5563a4c5.a199ec",\r
+                "97421a9a.865f98",\r
+                "59c331da.0d09b",\r
+                "b01ba289.b4c4d",\r
+                "ebd11f4a.d9ea2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ade9f393.c1d96",\r
+        "type": "get-resource",\r
+        "name": "get-resource VF_MODEL",\r
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODEL WHERE customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n  pfx='db.vf-model'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 515.3809204101562,\r
+        "y": 395.0326976776123,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "1e3f6d8d.668b62",\r
+                "270acedb.4b2862"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e3f6d8d.668b62",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 716.166618347168,\r
+        "y": 375.413535118103,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "df6715d9.ce37d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "270acedb.4b2862",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 724.7380485534668,\r
+        "y": 419.6992483139038,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "e48fe633.d5a078"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "50e14066.4a8fb",\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": 549.0475845336914,\r
+        "y": 1145.9851322174072,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "a52ad9f3.5409f8",\r
+                "f1a27d38.307e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a52ad9f3.5409f8",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 774.7619132995605,\r
+        "y": 1113.1279201507568,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "5a889bed.1fd0a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a889bed.1fd0a4",\r
+        "type": "set",\r
+        "name": "set vnf-index=0",\r
+        "xml": "<set>\n<parameter name='vnf-index' value='0' />\n",\r
+        "comments": "",\r
+        "x": 939.0476341247559,\r
+        "y": 1112.1279983520508,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f1a27d38.307e4",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 776.1904754638672,\r
+        "y": 1177.4137382507324,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "ff49d41f.68ca58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "742d47cf.681298",\r
+        "type": "set",\r
+        "name": "set vnf-index = vnf_length",\r
+        "xml": "<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",\r
+        "comments": "",\r
+        "x": 1194.0476303100586,\r
+        "y": 1155.699426651001,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "841debf7.ded508",\r
+        "type": "for",\r
+        "name": "for each existing VNF",\r
+        "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1179.4761428833008,\r
+        "y": 1201.6993656158447,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "7d0d1ffd.f9c63"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff49d41f.68ca58",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 949.9047355651855,\r
+        "y": 1177.413703918457,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "742d47cf.681298",\r
+                "841debf7.ded508"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d0d1ffd.f9c63",\r
+        "type": "switchNode",\r
+        "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1533.7619094848633,\r
+        "y": 1201.270845413208,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "8c6a6fdd.7581b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8c6a6fdd.7581b",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1828.047664642334,\r
+        "y": 1200.8423299789429,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "67d1f32e.64262c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7be2c7fd.7f9938",\r
+        "type": "comment",\r
+        "name": "make sure this VNF doesn't exist already",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1520.904640197754,\r
+        "y": 1158.8422756195068,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "945671e8.3d2b7",\r
+        "type": "set",\r
+        "name": "set vnf-topology data",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-id'\n value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-type'\n value='`$vnf-topology-operation-input.vnf-information.vnf-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-type'\n value='`$db.vf-model.nf-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-role'\n value='`$db.vf-model.nf-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-function'\n value='`$db.vf-model.nf-function`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-code'\n value='`$db.vf-model.nf-code`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.tenant'\n value='`$vnf-topology-operation-input.vnf-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-cloud-region'\n value='`$vnf-topology-operation-input.vnf-request-input.aic-cloud-region`' />\n \n",\r
+        "comments": "",\r
+        "x": 514.7618675231934,\r
+        "y": 1677.6518993377686,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7054feb2.2900b",\r
+        "type": "switchNode",\r
+        "name": "switch input vnf-name",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 527.2618865966797,\r
+        "y": 2039.770956993103,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "794a160e.b68c48",\r
+                "109f5318.f22f2d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25919575.6cb00a",\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 = $vnf-topology-operation-input.vnf-request-input.aic-cloud-region AND\n\t\t     depth='all'\"\n        pfx='aai.cloud-region' local-only='false' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 559.4048309326172,\r
+        "y": 2935.7706928253174,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "da5da517.ae2e18",\r
+                "54304dd.70307b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54304dd.70307b4",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 767.5081481933594,\r
+        "y": 2954.921399116516,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "cbecda63.60f978"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da5da517.ae2e18",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 776.4367446899414,\r
+        "y": 2912.2071323394775,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "55ab3764.a14138"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10583438.2574cc",\r
+        "type": "get-resource",\r
+        "name": "get-resource VF_TO_NETWORK_ROLE_MAPPING",\r
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_TO_NETWORK_ROLE_MAPPING WHERE vf_customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n  pfx='db.vf-network-role-mapping[]'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 624.6429138183594,\r
+        "y": 3246.8182125091553,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b9431e3d.b421d",\r
+                "395440a1.5e6de"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b9431e3d.b421d",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 920.4285850524902,\r
+        "y": 3225.532377243042,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "5be8614b.d2283"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "395440a1.5e6de",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 929.0000152587891,\r
+        "y": 3269.818090438843,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "4f0a7869.c1d018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fde1d716.a4a0e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1025.5716133117676,\r
+        "y": 4363.460702896118,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "abcfb9a1.c41368",\r
+                "912ecbf0.ffa438",\r
+                "c223a2fd.f4871",\r
+                "7e1ee9f5.bc8198",\r
+                "c6001282.4b6e1",\r
+                "ea99e7e9.ed0b98",\r
+                "c41b6137.b6d4b",\r
+                "8dc14ff8.fbd57",\r
+                "4e569933.c14918"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c223a2fd.f4871",\r
+        "type": "get-resource",\r
+        "name": "get-resource l3-network",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-networks\" \n\t\tkey=\"l3-network.network-role = $db.vf-network-role-mapping[$role-index].network-role\"\n        pfx='aai.l3-network' local-only='false'\n>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1275.2858123779297,\r
+        "y": 3453.8417415618896,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "ede95f4d.859fa",\r
+                "3e760d07.8da062"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e760d07.8da062",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1480.7621269226074,\r
+        "y": 3483.1273441314697,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "4fcc2ec6.5268d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ede95f4d.859fa",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1488.2621231079102,\r
+        "y": 3434.2703142166138,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "1b9558ce.3c84a7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "abcfb9a1.c41368",\r
+        "type": "set",\r
+        "name": "set vnf-network data",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].network-role'\n    value='`$db.vf-network-role-mapping[$role-index].network-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].network-name'\n    value='`$aai.l3-network.l3-network[$db-network-index].network-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].neutron-id'\n    value='`$aai.l3-network.l3-network[$db-network-index].neutron-network-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].network-id'\n    value='`$aai.l3-network.l3-network[$db-network-index].network-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].contrail-network-fqdn'\n    value='`$aai.l3-network.l3-network[$db-network-index].contrail-network-fqdn`' />\n",\r
+        "comments": "",\r
+        "x": 1271.6192779541016,\r
+        "y": 4259.413550376892,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "996bdc9d.0d63b",\r
+        "type": "for",\r
+        "name": "for each cloud-region availability zone",\r
+        "xml": "<for index='idx' start='0' end='`$aai.cloud-region.availability-zones.availability-zone_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 492.00031661987305,\r
+        "y": 5506.532527923584,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b2e77d6f.5c88e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cab1cdc0.80552",\r
+        "type": "set",\r
+        "name": "set availability-zone",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone[$idx]'\n  value='`$aai.cloud-region.availability-zones.availability-zone[$idx].availability-zone-name`' />\n",\r
+        "comments": "",\r
+        "x": 953.6669998168945,\r
+        "y": 5475.865942001343,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2dd23fff.89a8d",\r
+        "type": "set",\r
+        "name": "set vnf-parameters-data",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.'\n  value='vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.' />\n",\r
+        "comments": "",\r
+        "x": 451.6192436218262,\r
+        "y": 5356.484888076782,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c622b6f5.5fb0e8",\r
+        "type": "save",\r
+        "name": "save generic-vnf l3-network relationships",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"generic-vnf:relationship-list\"\n   key=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"l3-network.network-id\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-nw-index].network-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 918.1907768249512,\r
+        "y": 5650.29474067688,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "72e530eb.ef2a9",\r
+                "560ad615.6ebaf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4eb737ee.442a38",\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": 405.7145233154297,\r
+        "y": 6313.055904388428,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1b9bd518.29100b",\r
+        "type": "set",\r
+        "name": "set vnf-level-oper-status to PendingCreate",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",\r
+        "comments": "",\r
+        "x": 501.24223709106445,\r
+        "y": 6018.250611305237,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "13077d8a.632752",\r
+        "type": "for",\r
+        "name": "for each network-role",\r
+        "xml": "<for silentFailure='true' index='role-index' start='0' end='`$db.vf-network-role-mapping_length`'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 485.57154846191406,\r
+        "y": 4336.794371604919,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b7e5144f.5264b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9cd27ab5.524f18",\r
+        "type": "set",\r
+        "name": "set network-index = 0",\r
+        "xml": "<set>\n<parameter name='network-index' value='0' />\n",\r
+        "comments": "",\r
+        "x": 527.0714111328125,\r
+        "y": 3300.8660068511963,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "912ecbf0.ffa438",\r
+        "type": "set",\r
+        "name": "increment network-index",\r
+        "xml": "<set>\n<parameter name='network-index' value='`$network-index + 1`' />\n",\r
+        "comments": "",\r
+        "x": 1253.6192665100098,\r
+        "y": 5307.175491333008,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8c40a330.8c84",\r
+        "type": "set",\r
+        "name": "set vnf-network_length",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length'\n  value='`$network-index`' />\n",\r
+        "comments": "",\r
+        "x": 450.4763298034668,\r
+        "y": 5306.484931945801,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f2f609da.bd9858",\r
+        "type": "set",\r
+        "name": "copy input data",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' value='$vnf-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.' value='$vnf-topology-operation-input.vnf-request-input.' />\n\n",\r
+        "comments": "",\r
+        "x": 416.7620658874512,\r
+        "y": 5965.913442611694,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3530cc21.a0c0d4",\r
+        "type": "for",\r
+        "name": "for each vnf-network",\r
+        "xml": "<for index='vnf-nw-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": 441.1906852722168,\r
+        "y": 5649.29465675354,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b6d2730a.405db"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6d2730a.405db",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 644.8573265075684,\r
+        "y": 5649.294617652893,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "c622b6f5.5fb0e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2fcd14d0.0b537c",\r
+        "type": "set",\r
+        "name": "set new vnf_length",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n",\r
+        "comments": "",\r
+        "x": 497.6905059814453,\r
+        "y": 1198.0090227127075,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4796fba2.d51144",\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": 572.2619552612305,\r
+        "y": 3023.008864402771,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "de35f354.4a026"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "de35f354.4a026",\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": 819.9404983520508,\r
+        "y": 3022.7587938308716,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "9753c9fc.ee6548"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9753c9fc.ee6548",\r
+        "type": "outcome",\r
+        "name": "complex",\r
+        "xml": "<outcome value='complex'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 989.4048194885254,\r
+        "y": 3022.1516160964966,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "f1d0780c.c74608"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "49d47361.e5235c",\r
+        "type": "set",\r
+        "name": "set aic-clli",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-clli'\n  value='`$aai-uid-split[$aai-uid-split_length - 1]`' />\n",\r
+        "comments": "",\r
+        "x": 1366.976203918457,\r
+        "y": 3020.389811515808,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "42f099e.9f61568",\r
+        "type": "switchNode",\r
+        "name": "switch aic-clli",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-clli`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 505.3095817565918,\r
+        "y": 3136.1039962768555,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "18989148.50f10f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "18989148.50f10f",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 653.4524154663086,\r
+        "y": 3136.103979110718,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "9a466e25.4156f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "56b5f776.c4c628",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$db.vf-model.invariant-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 931.7621269226074,\r
+        "y": 2494.9612531661987,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c7e1c13d.03db5",\r
+        "type": "for",\r
+        "name": "for each l3-network",\r
+        "xml": "<for index='db-network-index' start='0' end='`$aai.l3-network.l3-network_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1391.8812561035156,\r
+        "y": 4083.984929084778,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "c1ed15e6.f88648"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e75f10eb.ced4f",\r
+        "type": "switchNode",\r
+        "name": "switch orchestration-status",\r
+        "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].orchestration-status`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1810.4524269104004,\r
+        "y": 4018.556393623352,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "acbbb297.0a07e",\r
+                "18131921.5c40e7",\r
+                "84ce6f22.6e9ac",\r
+                "a5969f85.edad",\r
+                "8306b63a.7a6a88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "acbbb297.0a07e",\r
+        "type": "outcome",\r
+        "name": "Pending Delete",\r
+        "xml": "<outcome value='Pending Delete'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2051.119297027588,\r
+        "y": 4060.222897529602,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "bcc48c45.57047"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "18131921.5c40e7",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2023.9764366149902,\r
+        "y": 4111.222878456116,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "f846017e.0f7b7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d24ce0d7.c8619",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2559.6907386779785,\r
+        "y": 4056.460795402527,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "c028438.b008bc",\r
+                "225c2fa8.b622f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f846017e.0f7b7",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='db-rel-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2193.976348876953,\r
+        "y": 4110.794255256653,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "3979a64c.84ab9a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c028438.b008bc",\r
+        "type": "outcome",\r
+        "name": "cloud-region",\r
+        "xml": "<outcome value='cloud-region'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2733.9765243530273,\r
+        "y": 4079.365619659424,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "24abd19e.88186e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "24abd19e.88186e",\r
+        "type": "for",\r
+        "name": "for each relationship data",\r
+        "xml": "<for silentFailure='true' index='db-data-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2931.11922454834,\r
+        "y": 4079.794087409973,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "6e6e70c9.1f47f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e6e70c9.1f47f",\r
+        "type": "switchNode",\r
+        "name": "switch relationship-key",\r
+        "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-key`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3162.547824859619,\r
+        "y": 4079.3654623031616,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "41f73a04.000a34"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41f73a04.000a34",\r
+        "type": "outcome",\r
+        "name": "cloud-region.cloud-region-id",\r
+        "xml": "<outcome value='cloud-region.cloud-region-id'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3403.976390838623,\r
+        "y": 4079.3655586242676,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "ec6b1424.dae298"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec6b1424.dae298",\r
+        "type": "switchNode",\r
+        "name": "switch relationship-value == cloud-region-id",\r
+        "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-value == $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3708.262310028076,\r
+        "y": 4079.22261428833,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "76d1c220.996b9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "76d1c220.996b9c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3413.2624473571777,\r
+        "y": 4196.865568161011,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "1de3d6a.5295a29"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e1ee9f5.bc8198",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1228.0954284667969,\r
+        "y": 4015.270573616028,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "c7e1c13d.03db5",\r
+                "85730c77.85f6e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c6001282.4b6e1",\r
+        "type": "set",\r
+        "name": "set l3-network-id = -1",\r
+        "xml": "<set>\n<parameter name='l3-network-id' value='-1' />\n",\r
+        "comments": "",\r
+        "x": 1272.4287872314453,\r
+        "y": 3887.175227165222,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1de3d6a.5295a29",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3559.0954246520996,\r
+        "y": 4196.341676712036,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "f676c278.1ddf2",\r
+                "6ee99534.f9db3c",\r
+                "133789d2.fbdb36"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f676c278.1ddf2",\r
+        "type": "set",\r
+        "name": "set l3-network-id = this l3-network",\r
+        "xml": "<set>\n<parameter name='l3-network-id' value='`$aai.l3-network.l3-network[$db-network-index].network-id`' />\n",\r
+        "comments": "",\r
+        "x": 3794.333427429199,\r
+        "y": 4158.484645843506,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ea99e7e9.ed0b98",\r
+        "type": "switchNode",\r
+        "name": "switch l3-network-id",\r
+        "xml": "<switch test='`$l3-network-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1269.4287109375,\r
+        "y": 4210.842268943787,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "8b18bc8b.1ecc5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b18bc8b.1ecc5",\r
+        "type": "outcome",\r
+        "name": "-1",\r
+        "xml": "<outcome value='-1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1439.4286613464355,\r
+        "y": 4210.842024803162,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "d03cff5b.4eae8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ab296e58.94c7",\r
+        "type": "switchNode",\r
+        "name": "switch input model-invariant-uuid",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 575.6192016601562,\r
+        "y": 2517.7856969833374,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "a6d2444d.170f18",\r
+                "d0c4e96a.f0e598"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a6d2444d.170f18",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 781.2858734130859,\r
+        "y": 2494.9286603927612,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "56b5f776.c4c628"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d0c4e96a.f0e598",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 782.714469909668,\r
+        "y": 2539.2142515182495,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "53133cb6.18d844"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "53133cb6.18d844",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 937.0002059936523,\r
+        "y": 2538.6428236961365,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6f1bca5a.057ce4",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid'\n  value='`$db.vf-model.uuid`' />\n",\r
+        "comments": "",\r
+        "x": 932.7143974304199,\r
+        "y": 2583.4999294281006,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8dc1e7e0.9d5668",\r
+        "type": "switchNode",\r
+        "name": "switch input model-uuid",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 548.2382202148438,\r
+        "y": 2606.3244342803955,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "8002dd41.ae1f",\r
+                "896eccc9.b25eb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8002dd41.ae1f",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 782.2381935119629,\r
+        "y": 2583.467366218567,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "6f1bca5a.057ce4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "896eccc9.b25eb",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 783.6667900085449,\r
+        "y": 2627.752957344055,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "17701e26.510582"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17701e26.510582",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 937.9525260925293,\r
+        "y": 2627.181529521942,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b6fbf29a.0df09",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-version'\n  value='`$db.vf-model.version`' />\n",\r
+        "comments": "",\r
+        "x": 929.8573303222656,\r
+        "y": 2672.3571367263794,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d03eeca7.23711",\r
+        "type": "switchNode",\r
+        "name": "switch input model-version",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 556.3810920715332,\r
+        "y": 2695.1815814971924,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "6aa27ca4.a61d34",\r
+                "1ae6e106.ea9c7f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6aa27ca4.a61d34",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 779.3810768127441,\r
+        "y": 2672.324543952942,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b6fbf29a.0df09"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1ae6e106.ea9c7f",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 780.8096733093262,\r
+        "y": 2716.61013507843,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "56c362db.13020c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "56c362db.13020c",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-version'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`' />\n",\r
+        "comments": "",\r
+        "x": 935.0954093933105,\r
+        "y": 2716.038707256317,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9fcfee3c.f2226",\r
+        "type": "set",\r
+        "name": "set from DB",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-name'\n  value='`$db.vf-model.name`' />\n",\r
+        "comments": "",\r
+        "x": 929.8573303222656,\r
+        "y": 2759.4999589920044,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "494fd3fe.881b4c",\r
+        "type": "switchNode",\r
+        "name": "switch input model-name",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 551.3810920715332,\r
+        "y": 2782.3244037628174,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "3f7d112e.5f72ee",\r
+                "6e803b0d.a54dc4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f7d112e.5f72ee",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 779.3810768127441,\r
+        "y": 2759.467366218567,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "9fcfee3c.f2226"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e803b0d.a54dc4",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 780.8096733093262,\r
+        "y": 2803.752957344055,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "9d0420e8.1e34b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d0420e8.1e34b",\r
+        "type": "set",\r
+        "name": "set from input",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-name'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`' />\n",\r
+        "comments": "",\r
+        "x": 935.0954093933105,\r
+        "y": 2803.181529521942,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bcc48c45.57047",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2204.3333892822266,\r
+        "y": 4060.9997749328613,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8306b63a.7a6a88",\r
+        "type": "outcome",\r
+        "name": "PendingDelete",\r
+        "xml": "<outcome value='PendingDelete'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2049.000030517578,\r
+        "y": 4015.999689102173,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "ea893bb0.586278"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ea893bb0.586278",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2204.214122772217,\r
+        "y": 4016.776566505432,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a5969f85.edad",\r
+        "type": "outcome",\r
+        "name": "Pending Create",\r
+        "xml": "<outcome value='Pending Create'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2051.000030517578,\r
+        "y": 3972.666193008423,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "bab4140b.02b308"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bab4140b.02b308",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2204.214122772217,\r
+        "y": 3973.443070411682,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "84ce6f22.6e9ac",\r
+        "type": "outcome",\r
+        "name": "PendingCreate",\r
+        "xml": "<outcome value='PendingCreate'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2051.000030517578,\r
+        "y": 3929.332941055298,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "fc3367.845aac98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fc3367.845aac98",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2204.214122772217,\r
+        "y": 3930.109818458557,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a129d9ae.667dd8",\r
+        "type": "for",\r
+        "name": "for each A&AI subnet",\r
+        "xml": "<for index='subnet-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1737.3810577392578,\r
+        "y": 4350.047110080719,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "26e050ad.0575e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84d519bc.318478",\r
+        "type": "set",\r
+        "name": "set subnet_length",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data_length'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`' />\n",\r
+        "comments": "",\r
+        "x": 1726.047622680664,\r
+        "y": 4395.04719209671,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "31dc7765.4b4208",\r
+        "type": "set",\r
+        "name": "set availability-zones.max-count and length",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.max-count'\n   value='`$db.vf-model.avail-zone-max-count`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone_length'\n   value='`$aai.cloud-region.availability-zones.availability-zone_length`' />\n",\r
+        "comments": "",\r
+        "x": 511.66682052612305,\r
+        "y": 5594.547995567322,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ae22f7f9.632468",\r
+        "type": "set",\r
+        "name": "set vnf-name",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name'\n   value='`$tmp.vnf-name`' />\n",\r
+        "comments": "",\r
+        "x": 512.5000152587891,\r
+        "y": 2451.8334608078003,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "530dfe10.6f29",\r
+        "type": "save",\r
+        "name": "update generic-vnf",\r
+        "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"generic-vnf\"\n   key=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"vnf-name\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name`\" />\n<parameter name=\"prov-status\" value=\"PREPROV\" />\n<!-- <parameter name=\"operational-status\" value=\"out-of-service-path\" /> -->\n<parameter name=\"equipment-role\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-role`\" />\n<parameter name=\"model-invariant-id\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid`\" />\n<parameter name=\"model-version-id\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid`\" />\n<parameter name=\"model-customization-id\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid`\" />\n<parameter name=\"in-maint\" value=\"true\" />\n<parameter name=\"selflink\" value=\"`$vnf-object-path`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 432.0000877380371,\r
+        "y": 5804.213758468628,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "8c964a5c.697478",\r
+                "9e7283af.92a1c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f250d1f.126482",\r
+        "type": "set",\r
+        "name": "set vnf-object-path",\r
+        "xml": "<set>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vnf-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 + $vnf-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",\r
+        "comments": "",\r
+        "x": 432.00012588500977,\r
+        "y": 5734.214241027832,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3c27d937.bf75c6",\r
+        "type": "set",\r
+        "name": "set vnf-id",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id'\n   value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n",\r
+        "comments": "",\r
+        "x": 500.83335876464844,\r
+        "y": 2403.5000038146973,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6ae8e0f.7c6952",\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-vnf.log' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 397.76210021972656,\r
+        "y": 6178.976177215576,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "72e530eb.ef2a9",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1168.0241317749023,\r
+        "y": 5627.833315849304,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "1d23943a.cc401c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "560ad615.6ebaf8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1176.5955619812012,\r
+        "y": 5672.119029045105,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "48b115c8.09c9bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8c964a5c.697478",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 606.3574180603027,\r
+        "y": 5782.833353996277,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b5f5454e.605518"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e7283af.92a1c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 614.9288482666016,\r
+        "y": 5827.119067192078,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "fb7909b7.07d3a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dfdec27.324004",\r
+        "type": "set",\r
+        "name": "set model-customization-uuid",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n",\r
+        "comments": "",\r
+        "x": 564.1666793823242,\r
+        "y": 2855.1666078567505,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f7d7f0fa.89cd2",\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": 1386.357063293457,\r
+        "y": 2975.1517295837402,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1d0780c.c74608",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1172.0237655639648,\r
+        "y": 3021.8185176849365,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "f7d7f0fa.89cd2",\r
+                "49d47361.e5235c",\r
+                "68e794dc.43eb9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "68e794dc.43eb9c",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 1356.0237274169922,\r
+        "y": 3065.1518144607544,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b2e77d6f.5c88e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 743.6667594909668,\r
+        "y": 5505.628111839294,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "cab1cdc0.80552",\r
+                "2c7d624d.a1567e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c7d624d.a1567e",\r
+        "type": "save",\r
+        "name": "save generic-vnf availability-zone relationship",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"generic-vnf:relationship-list\"\n   key=\"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=\"availability-zone\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"cloud-region.cloud-owner\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.cloud-region.cloud-owner`\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value=\"`$vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"availability-zone.availability-zone-name\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"`$aai.cloud-region.availability-zones.availability-zone[$idx].availability-zone-name`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1037.0001487731934,\r
+        "y": 5528.9615659713745,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "7e45c7a1.1fc228",\r
+                "7cb74929.a6a798"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e45c7a1.1fc228",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1301.8334007263184,\r
+        "y": 5509.833388328552,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "ac3d2a38.193128"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7cb74929.a6a798",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1310.4048309326172,\r
+        "y": 5554.119101524353,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "edd6eeb3.58833"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f0a7869.c1d018",\r
+        "type": "set",\r
+        "name": "set mapping rows to 0",\r
+        "xml": "<set>\n<parameter name='db.vf-network-role-mapping_length' value='0' />\n",\r
+        "comments": "",\r
+        "x": 1122.9761505126953,\r
+        "y": 3269.437578201294,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dc580d36.feec6",\r
+        "type": "switchNode",\r
+        "name": "switch AAI availability-zone_length",\r
+        "xml": "<switch test='`$aai.cloud-region.availability-zones.availability-zone_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 484.381046295166,\r
+        "y": 5409.437698364258,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "65cd03d3.cd933c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "65cd03d3.cd933c",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 702.952465057373,\r
+        "y": 5409.009107589722,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "5cdda0db.c6c79"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "55344fcf.542e2",\r
+        "type": "set",\r
+        "name": "set availability-zone_length to 0",\r
+        "xml": "<set>\n<parameter name='aai.cloud-region.availability-zones.availability-zone_length' value='0' />\n",\r
+        "comments": "",\r
+        "x": 1304.3811073303223,\r
+        "y": 5427.580345153809,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5cdda0db.c6c79",\r
+        "type": "switchNode",\r
+        "name": "switch AZ max count > 0",\r
+        "xml": "<switch test='`$db.vf-model.avail-zone-max-count &gt; 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 891.5239372253418,\r
+        "y": 5409.43741941452,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "689f8ebb.877dd",\r
+                "dd9a3b97.b39268"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "689f8ebb.877dd",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1094.3810443878174,\r
+        "y": 5383.723169326782,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "63585eee.6f434"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd9a3b97.b39268",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1095.8096656799316,\r
+        "y": 5428.008916854858,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "55344fcf.542e2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2bc8145e.9e6d7c",\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": 510.95240020751953,\r
+        "y": 177.1755828857422,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "794a160e.b68c48",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 729.2857055664062,\r
+        "y": 1853.2470073699951,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "8d68e064.9148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4c0271b.8d9548",\r
+        "type": "switchNode",\r
+        "name": "switch ecomp-naming",\r
+        "xml": "<switch test='`$db.vf-model.ecomp-generated-naming`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1106.9050941467285,\r
+        "y": 1753.961443901062,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "1882b0bf.c2311f",\r
+                "2eeee2ce.d551be",\r
+                "b8c05ccb.47683"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d68e064.9148",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 875.0002059936523,\r
+        "y": 1853.247124671936,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b4c0271b.8d9548",\r
+                "2febaea8.95a862"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2eeee2ce.d551be",\r
+        "type": "outcome",\r
+        "name": "N",\r
+        "xml": "<outcome value='N'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1293.333480834961,\r
+        "y": 1754.4375705718994,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "da3712d9.f41f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1882b0bf.c2311f",\r
+        "type": "outcome",\r
+        "name": "Y",\r
+        "xml": "<outcome value='Y'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1293.3334732055664,\r
+        "y": 1713.0090246200562,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "18523eea.6d6ad1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b8c05ccb.47683",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1293.3334197998047,\r
+        "y": 1797.2947025299072,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "da3712d9.f41f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "18523eea.6d6ad1",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1430.476390838623,\r
+        "y": 1713.151891708374,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "109f5318.f22f2d",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 714.476432800293,\r
+        "y": 2207.866183280945,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "fa97f7fa.540fd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fa97f7fa.540fd8",\r
+        "type": "set",\r
+        "name": "set tmp.vnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.vnf-name' value=\"`$vnf-topology-operation-input.vnf-information.vnf-name`\" />\n",\r
+        "comments": "",\r
+        "x": 880.238395690918,\r
+        "y": 2206.7234535217285,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8d7fa952.98d108",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:generate-unique-name",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1765.3096733093262,\r
+        "y": 1903.0089440345764,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "681ac6a0.a11838",\r
+                "f4abec22.90002"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "681ac6a0.a11838",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2042.4524765014648,\r
+        "y": 1876.5804772377014,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "6d7f13cc.8d975c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f4abec22.90002",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2047.2142219543457,\r
+        "y": 1921.9613881111145,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "f9e4fa65.eb0968"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5dba753.21ae88",\r
+        "type": "set",\r
+        "name": "set variables for generating unique name",\r
+        "xml": "<set>\n<parameter name='generate-unique-name-input.action' value='ASSIGN' />\n<parameter name='generate-unique-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='generate-unique-name-input.index-table-name' value='VNF_NAME_INDEX' />\n<parameter name='generate-unique-name-input.index-table-prefix-column' value='vnf_name_prefix' />\n<parameter name='generate-unique-name-input.name-table-type' value='VNF_INSTANCE' />\n<parameter name='generate-unique-name-input.prefix' value=\"`'z' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + $db.vf-model.nf-code`\" />\n",\r
+        "comments": "",\r
+        "x": 1720.3099250793457,\r
+        "y": 1854.1042637825012,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f9e4fa65.eb0968",\r
+        "type": "set",\r
+        "name": "set tmp.vnf-name to generated name",\r
+        "xml": "<set>\n<parameter name='tmp.vnf-name' value='`$generate-unique-name-output.generated-name`' />\n",\r
+        "comments": "",\r
+        "x": 2270.1186180114746,\r
+        "y": 1921.4374632835388,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2febaea8.95a862",\r
+        "type": "switchNode",\r
+        "name": "switch naming-policy",\r
+        "xml": "<switch test='`$db.vf-model.naming-policy`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1104.6906776428223,\r
+        "y": 1962.2470607757568,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "8f7b27bf.e7e3a8",\r
+                "b931038a.dea97"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f7b27bf.e7e3a8",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1294.6906089782715,\r
+        "y": 1883.675615310669,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "1ce185e2.fb229a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b931038a.dea97",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1294.9288482666016,\r
+        "y": 2011.056559562683,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "42c58d7a.bc5884"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1ce185e2.fb229a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1447.5478782653809,\r
+        "y": 1882.2470817565918,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b5dba753.21ae88",\r
+                "8d7fa952.98d108"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17d076a4.213ab9",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1786.595802307129,\r
+        "y": 2026.7709412574768,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "7ca77e3f.200f2",\r
+                "edded880.2d4e08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "42c58d7a.bc5884",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1449.4526977539062,\r
+        "y": 2011.056559562683,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "9ce0b71c.18bda8",\r
+                "17d076a4.213ab9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ce0b71c.18bda8",\r
+        "type": "set",\r
+        "name": "set variables for generating name",\r
+        "xml": "<set>\n<parameter name='naming-policy-generate-name-input.policy-instance-name' value='`$db.vf-model.naming-policy`' />\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='ASSIGN' />\n<parameter name='naming-policy-generate-name-input.query-parameter' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />",\r
+        "comments": "",\r
+        "x": 1696.595718383789,\r
+        "y": 1981.05659532547,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "efe8f3b.6be4a1",\r
+        "type": "set",\r
+        "name": "set tmp.vnf-name to generated name",\r
+        "xml": "<set>\n<parameter name='tmp.vnf-name' value='`$naming-policy-generate-name-output.vnf-name`' />\n",\r
+        "comments": "",\r
+        "x": 2346.4527740478516,\r
+        "y": 2046.770751953125,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f54d4b54.f29d58",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1585.7142028808594,\r
+        "y": 6319.317764282227,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "48898d5.e385374",\r
+                "748556dc.ead268",\r
+                "87f91dc6.de07b",\r
+                "b319ef18.b3bad"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "748556dc.ead268",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1964.285629272461,\r
+        "y": 6294.460662126541,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "48898d5.e385374",\r
+        "type": "set",\r
+        "name": "set variables for deleting name",\r
+        "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",\r
+        "comments": "",\r
+        "x": 1865.7142486572266,\r
+        "y": 6247.317733049393,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b779e958.044168",\r
+        "type": "comment",\r
+        "name": "Unassign the VNF name",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1731.6665725708008,\r
+        "y": 6187.889232873917,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7ca77e3f.200f2",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2084.761848449707,\r
+        "y": 2001.6994485855103,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "702e58b3.200b38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "edded880.2d4e08",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2089.523593902588,\r
+        "y": 2047.0803594589233,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "efe8f3b.6be4a1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e72cfc8.575e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 739.9999465942383,\r
+        "y": 1356.666666984558,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "46dd139e.86081c",\r
+                "761b2c43.67ef34"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "87cefff2.af896",\r
+        "type": "for",\r
+        "name": "for each instance group id",\r
+        "xml": "<for silentFailure='true' index='inst-group-index' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 523.3332939147949,\r
+        "y": 1357.333312034607,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "8e72cfc8.575e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "46dd139e.86081c",\r
+        "type": "get-resource",\r
+        "name": "get-resource instance-group",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"instance-group\" \n\t\tkey=\"instance-group.id = $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\"\n        pfx='aai.instance-group' local-only='false' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 967.9999847412109,\r
+        "y": 1288.3334255218506,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "113b83c3.c5f2cc",\r
+                "1095d6a8.eb1ea9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1095d6a8.eb1ea9",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1185.5792770385742,\r
+        "y": 1319.8174781799316,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "6b5b96d7.f11058"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "113b83c3.c5f2cc",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1194.5081100463867,\r
+        "y": 1256.4366302490234,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "3d4ce14c.b56fbe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "761b2c43.67ef34",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for index='rel-index' start='0' end='`$aai.instance-group.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 944.9999618530273,\r
+        "y": 1428.3333644866943,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "ef07f13d.87a9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ef07f13d.87a9",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$aai.instance-group.relationship-list.relationship[$rel-index].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1158.3334045410156,\r
+        "y": 1428.333303451538,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "df5b0cc3.ccd9a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df5b0cc3.ccd9a",\r
+        "type": "outcome",\r
+        "name": "collection",\r
+        "xml": "<outcome value='collection'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1330.00004196167,\r
+        "y": 1428.3333854675293,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "98da2133.07fbe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98da2133.07fbe",\r
+        "type": "get-resource",\r
+        "name": "get-resource collection",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"collection\" \n\t\tkey=\"collection.collection-id = $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n        pfx='aai.collection' local-only='false' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1549.9999465942383,\r
+        "y": 1426.6666469573975,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "c6ab56ad.e1e918",\r
+                "c4f813df.f6eb3",\r
+                "fa511cd0.4acf7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c4f813df.f6eb3",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1764.2461395263672,\r
+        "y": 1378.1508359909058,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "1cfc4c24.ab0124"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c6ab56ad.e1e918",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1773.1747360229492,\r
+        "y": 1336.4365692138672,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "75f0b66c.711368"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fa511cd0.4acf7",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1783.33345413208,\r
+        "y": 1539.9999542236328,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "2caf3e47.5abe82"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2caf3e47.5abe82",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1936.6665954589844,\r
+        "y": 1539.3332500457764,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "889214a0.071c58",\r
+                "61c009cd.371838",\r
+                "1b8b156c.6c083b",\r
+                "79b15187.90b49",\r
+                "67373c69.98b004"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "889214a0.071c58",\r
+        "type": "for",\r
+        "name": "for each network-instance-group",\r
+        "xml": "<for silentFailure='true' index='nig-index' start='0' end='`$service-data.network-instance-groups.network-instance-group_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2249.2857360839844,\r
+        "y": 1488.5715045928955,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "64d1075e.ee3f48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "61c009cd.371838",\r
+        "type": "set",\r
+        "name": "set found-network-instance-group to false",\r
+        "xml": "<set>\n<parameter name='found-network-instance-group' value='false' />\n",\r
+        "comments": "",\r
+        "x": 2279.2856979370117,\r
+        "y": 1441.9048767089844,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "64d1075e.ee3f48",\r
+        "type": "switchNode",\r
+        "name": "network-instance-group-id matches?",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\n  == $service-data.network-instance-groups.network-instance-group[$nig-index].network-instance-group-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2565.952247619629,\r
+        "y": 1488.5715036392212,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "e14a30ad.b266"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e14a30ad.b266",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2787.619026184082,\r
+        "y": 1488.5714683532715,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "338a6e83.74e682"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "338a6e83.74e682",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2917.61905670166,\r
+        "y": 1488.5715446472168,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b65b391.a6cd9c8",\r
+                "5a856f0a.aefef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b65b391.a6cd9c8",\r
+        "type": "set",\r
+        "name": "set found-network-instance-group to true",\r
+        "xml": "<set>\n<parameter name='found-network-instance-group' value='true' />\n",\r
+        "comments": "",\r
+        "x": 3190.952423095703,\r
+        "y": 1463.5715236663818,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5a856f0a.aefef",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 3084.2860374450684,\r
+        "y": 1511.904893875122,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1b8b156c.6c083b",\r
+        "type": "switchNode",\r
+        "name": "switch found-network-instance-group",\r
+        "xml": "<switch test='`$found-network-instance-group`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2260.9523544311523,\r
+        "y": 1538.5714855194092,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "49805ef2.194a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "49805ef2.194a",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2482.6192016601562,\r
+        "y": 1538.5715079307556,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "a3ec7ac.ac12b88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e4b2f5.d8554d",\r
+        "type": "set",\r
+        "name": "set tmp.vnf-network-collection_length to 0",\r
+        "xml": "<set>\n<parameter name='tmp.vnf-network-collection_length' value='0' />\n",\r
+        "comments": "",\r
+        "x": 571.666633605957,\r
+        "y": 1308.3334436416626,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "79b15187.90b49",\r
+        "type": "set",\r
+        "name": "set vnf-network-collection data",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-instance-group-function'\n  value='`$aai.instance-group.instance-group-function`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-instance-group-id'\n  value='`$aai.instance-group.id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-collection-service-instance-id'\n  value='`$service-data.network-instance-groups.network-instance-group[$nig-index].service-instance-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-collection-customization-uuid'\n  value='`$aai.collection.collection-customization-id`' />\n",\r
+        "comments": "",\r
+        "x": 2240.95267868042,\r
+        "y": 1586.904821395874,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "67373c69.98b004",\r
+        "type": "set",\r
+        "name": "increment tmp.vnf-network-collection_length",\r
+        "xml": "<set>\n<parameter name='tmp.vnf-network-collection_length' value='`$tmp.vnf-network-collection_length + 1`' />\n",\r
+        "comments": "",\r
+        "x": 2282.619384765625,\r
+        "y": 1633.5714893341064,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5563a4c5.a199ec",\r
+        "type": "set",\r
+        "name": "set vnf-network-collection_length",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection_length'\n  value='`$tmp.vnf-network-collection_length`' />\n",\r
+        "comments": "",\r
+        "x": 550.8333282470703,\r
+        "y": 1565.8333930969238,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a9b7ab72.63a7e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 668.6667098999023,\r
+        "y": 5898.80961894989,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "f0f08819.d9d3b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "97421a9a.865f98",\r
+        "type": "for",\r
+        "name": "for each instance group id",\r
+        "xml": "<for silentFailure='true' index='inst-group-index' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 452.000057220459,\r
+        "y": 5899.476263999939,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "a9b7ab72.63a7e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0f08819.d9d3b8",\r
+        "type": "save",\r
+        "name": "save generic-vnf relationship to instance-group",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"generic-vnf:relationship-list\"\n   key=\"generic-vnf.vnf-id = $vnf-topology-operation-input.vnf-information.vnf-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"instance-group\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/instance-groups/instance-group/'\n        + $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 952.0000381469727,\r
+        "y": 5898.333299636841,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "7a8ee12f.371a6",\r
+                "1be782fa.92bfcd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7a8ee12f.371a6",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1211.3572616577148,\r
+        "y": 5875.285715103149,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b5b87fb0.590f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1be782fa.92bfcd",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1219.9286918640137,\r
+        "y": 5919.57142829895,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "610d2304.a3d70c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c41b6137.b6d4b",\r
+        "type": "switchNode",\r
+        "name": "switch subnet_length",\r
+        "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1273.5714569091797,\r
+        "y": 4331.428667068481,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "f2057e5e.eaee4",\r
+                "f813a06e.cb2a1",\r
+                "ce347497.746558"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2057e5e.eaee4",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1446.4286193847656,\r
+        "y": 4294.285726547241,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "82fb5a4d.e1f5b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f813a06e.cb2a1",\r
+        "type": "outcome",\r
+        "name": "0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1447.8571891784668,\r
+        "y": 4332.856889724731,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "82fb5a4d.e1f5b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce347497.746558",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1446.428653717041,\r
+        "y": 4371.428281784058,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "7cc4f5b7.8976ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7cc4f5b7.8976ac",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1567.8572082519531,\r
+        "y": 4371.428548812866,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "a129d9ae.667dd8",\r
+                "84d519bc.318478"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "82fb5a4d.e1f5b8",\r
+        "type": "set",\r
+        "name": "set subnet_length to 0",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data_length'\n   value='0' />\n",\r
+        "comments": "",\r
+        "x": 1639.2858123779297,\r
+        "y": 4302.856889724731,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9ab83872.914ab8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 256.74603271484375,\r
+        "y": 395.61908054351807,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "2bc8145e.9e6d7c",\r
+                "49a698b9.947698",\r
+                "ade9f393.c1d96",\r
+                "36f653c4.5383bc",\r
+                "16470885.0e3b37",\r
+                "1caeb411.8cfeac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26e050ad.0575e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1909.047664642334,\r
+        "y": 4350.032744407654,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "6613870.b132378",\r
+                "722310bb.9f769",\r
+                "9fd39f7.3cbf46",\r
+                "d3095f31.7d4de"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8dc14ff8.fbd57",\r
+        "type": "set",\r
+        "name": "clear aai.l3-network",\r
+        "xml": "<set>\n<parameter name='aai.l3-network.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1260.4762344360352,\r
+        "y": 3404.3182973861694,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6ee99534.f9db3c",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 3709.3330459594727,\r
+        "y": 4250.032426834106,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "85730c77.85f6e",\r
+        "type": "set",\r
+        "name": "set found-network to false",\r
+        "xml": "<set>\n<parameter name='found-network' value='false' />\n",\r
+        "comments": "",\r
+        "x": 1409.0476379394531,\r
+        "y": 3955.7468309402466,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3979a64c.84ab9a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2380.7619438171387,\r
+        "y": 4110.032627105713,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "d24ce0d7.c8619",\r
+                "c4e4f6d8.6939d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c4e4f6d8.6939d8",\r
+        "type": "switchNode",\r
+        "name": "switch found-network",\r
+        "xml": "<switch test='`$found-network`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2572.1904907226562,\r
+        "y": 4140.032681465149,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "8700444f.d17ae8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "133789d2.fbdb36",\r
+        "type": "set",\r
+        "name": "set found-network to true",\r
+        "xml": "<set>\n<parameter name='found-network' value='true' />\n",\r
+        "comments": "",\r
+        "x": 3765.047924041748,\r
+        "y": 4204.3181076049805,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8700444f.d17ae8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2740.7619819641113,\r
+        "y": 4140.0326108932495,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "4c345848.e3a208"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c345848.e3a208",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 2870.762050628662,\r
+        "y": 4138.604004859924,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c1ed15e6.f88648",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1581.0476608276367,\r
+        "y": 4083.7469053268433,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "e75f10eb.ced4f",\r
+                "be46946a.165bb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be46946a.165bb8",\r
+        "type": "switchNode",\r
+        "name": "switch found-network",\r
+        "xml": "<switch test='`$found-network`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1791.0476150512695,\r
+        "y": 4155.746788978577,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "2f6a30a5.92d22"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f6a30a5.92d22",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1959.6191062927246,\r
+        "y": 4155.746718406677,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "587b7976.a36108"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "587b7976.a36108",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 2089.6191749572754,\r
+        "y": 4154.318112373352,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9fd39f7.3cbf46",\r
+        "type": "set",\r
+        "name": "set subnet data",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].ip-version'\n   value='`$tmp.ip-version`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].subnet-id'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].neutron-subnet-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].sdnc-subnet-id'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].subnet-role'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].subnet-name'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].network-start-address'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].network-start-address`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].gateway-address'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].gateway-address`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].cidr-mask'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].cidr-mask`' />\n",\r
+        "comments": "",\r
+        "x": 2063.3334312438965,\r
+        "y": 4380.714490890503,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d3095f31.7d4de",\r
+        "type": "switchNode",\r
+        "name": "switch dhcp-enabled",\r
+        "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].dhcp-enabled`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2077.8572120666504,\r
+        "y": 4433.557444572449,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "a8c627c.ce253d8",\r
+                "39879203.ca3c2e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8c627c.ce253d8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2240.714376722063,\r
+        "y": 4412.1288022994995,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "85e1593a.3a1828"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "39879203.ca3c2e",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2239.2857093811035,\r
+        "y": 4457.843228340149,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "d7a92919.2d05e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "85e1593a.3a1828",\r
+        "type": "set",\r
+        "name": "set dhcp-enabled to Y",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].dhcp-enabled'\n   value='Y' />\n",\r
+        "comments": "",\r
+        "x": 2413.571575164795,\r
+        "y": 4410.700198173523,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d7a92919.2d05e8",\r
+        "type": "set",\r
+        "name": "set dhcp-enabled to N",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].dhcp-enabled'\n   value='N' />\n",\r
+        "comments": "",\r
+        "x": 2410.714344024658,\r
+        "y": 4457.843228340149,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6613870.b132378",\r
+        "type": "switchNode",\r
+        "name": "switch subnet-role",\r
+        "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2078.333381652832,\r
+        "y": 4262.605116844177,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "75942d08.2adc24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75942d08.2adc24",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2244.999984741211,\r
+        "y": 4262.604768753052,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "4010a065.68c26"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4010a065.68c26",\r
+        "type": "set",\r
+        "name": "set subnet-role to NONE",\r
+        "xml": "<set>\n<parameter name='aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role' value='NONE' />\n",\r
+        "comments": "",\r
+        "x": 2426.6667709350586,\r
+        "y": 4261.93842124939,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "722310bb.9f769",\r
+        "type": "switchNode",\r
+        "name": "switch ip-version",\r
+        "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].ip-version`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2073.5717163085938,\r
+        "y": 4327.096222877502,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "5fa58662.2f38f8",\r
+                "df8a7995.4fde48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5fa58662.2f38f8",\r
+        "type": "outcome",\r
+        "name": "4",\r
+        "xml": "<outcome value='4'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2239.285858154297,\r
+        "y": 4308.524620056152,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "5516675c.dd67e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df8a7995.4fde48",\r
+        "type": "outcome",\r
+        "name": "6",\r
+        "xml": "<outcome value='6'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2239.285820007324,\r
+        "y": 4349.953363418579,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "f2e70afd.b8c238"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5516675c.dd67e8",\r
+        "type": "set",\r
+        "name": "set tmp.ip-version to ipv4",\r
+        "xml": "<set>\n<parameter name='tmp.ip-version' value='ipv4' />\n",\r
+        "comments": "",\r
+        "x": 2426.428623199463,\r
+        "y": 4307.667547225952,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f2e70afd.b8c238",\r
+        "type": "set",\r
+        "name": "set tmp.ip-version to ipv6",\r
+        "xml": "<set>\n<parameter name='tmp.ip-version' value='ipv6' />\n",\r
+        "comments": "",\r
+        "x": 2425.000175476074,\r
+        "y": 4349.953365325928,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b7e5144f.5264b8",\r
+        "type": "switchNode",\r
+        "name": "switch network-role",\r
+        "xml": "<switch test='`$db.vf-network-role-mapping[$role-index].network-role`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 705.9999084472656,\r
+        "y": 4335.333273887634,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b3ca721f.fe335",\r
+                "272dba83.a8aed6",\r
+                "83078563.934988",\r
+                "5dd2d1e7.b5782"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3ca721f.fe335",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 874.0951728820801,\r
+        "y": 4233.66668510437,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "15298732.e21cb9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "272dba83.a8aed6",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 872.6665496826172,\r
+        "y": 4361.999873161316,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "fde1d716.a4a0e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15298732.e21cb9",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1011.4761810302734,\r
+        "y": 4273.42826461792,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e569933.c14918",\r
+        "type": "get-resource",\r
+        "name": "get-resource VNF_RELATED_NETWORK_ROLE",\r
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VNF_RELATED_NETWORK_ROLE where vnf_customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid\n    and network_role = $db.vf-network-role-mapping[$role-index].network-role'\n  pfx='db.vnf-related-network-role[]'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1368.0000038146973,\r
+        "y": 4665.079788208008,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "231fd20b.4ba7ee",\r
+                "7d447ac2.636e24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "231fd20b.4ba7ee",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1636.6666679382324,\r
+        "y": 4495.746629714966,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "c3080a54.9b9f68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d447ac2.636e24",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1639.6666984558105,\r
+        "y": 4858.41314125061,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "75a86f84.f58c6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75a86f84.f58c6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1806.0000038146973,\r
+        "y": 4856.412796020508,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "ec2c65f9.047778",\r
+                "ef924ba7.f37c58",\r
+                "13bb35f5.a0401a",\r
+                "e36fed30.43efa",\r
+                "13a6411b.4f65df",\r
+                "e8de30ac.6f904",\r
+                "dc960591.08f438",\r
+                "e90b4b31.6e7908",\r
+                "56b41d87.a09d94"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "225c2fa8.b622f",\r
+        "type": "outcome",\r
+        "name": "service-instance",\r
+        "xml": "<outcome value='service-instance'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2744.285472869873,\r
+        "y": 4028.651467323303,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "99500da8.54e39"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "99500da8.54e39",\r
+        "type": "for",\r
+        "name": "for each relationship data",\r
+        "xml": "<for silentFailure='true' index='db-data-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2969.7613105773926,\r
+        "y": 4029.0800971984863,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "ee0dc0db.eb114"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee0dc0db.eb114",\r
+        "type": "switchNode",\r
+        "name": "switch relationship-key",\r
+        "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-key`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3204.9998817443848,\r
+        "y": 4027.413528442383,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "d270b105.8ac1a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d270b105.8ac1a",\r
+        "type": "outcome",\r
+        "name": "service-instance.service-instance-id",\r
+        "xml": "<outcome value='service-instance.service-instance-id'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3471.4282417297363,\r
+        "y": 4027.413592338562,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "bda20892.371be8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bda20892.371be8",\r
+        "type": "set",\r
+        "name": "set network-service-instance-id",\r
+        "xml": "<set>\n<parameter name='network-service-instance-id'\n  value='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-value`' />\n",\r
+        "comments": "",\r
+        "x": 3765.000026702881,\r
+        "y": 4025.747007369995,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ec2c65f9.047778",\r
+        "type": "execute",\r
+        "name": "generate network-topology-identifier-structure url",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.network-topology-identifier-structure`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.part\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$network-service-instance-id`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2125.3331718444824,\r
+        "y": 4552.080429077148,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "13bb35f5.a0401a",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode - get network-topology-identifier-structure",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ntis-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='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ntis\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2182.33296585083,\r
+        "y": 4655.509169578552,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "3038b18e.e97b7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ef924ba7.f37c58",\r
+        "type": "execute",\r
+        "name": "generate network-topology-identifier-structure url (part 2)",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.part`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ntis-url\"/>\n    <parameter name=\"target\" value=\"{network-id}\"/>\n    <parameter name=\"replacement\" value=\"`$l3-network-id`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2146.9997596740723,\r
+        "y": 4595.413772583008,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "59c331da.0d09b",\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-vnfa.log' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 452.33337783813477,\r
+        "y": 4502.079788208008,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3038b18e.e97b7e",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2511.442153930664,\r
+        "y": 4655.259647369385,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "f361b5ff.f38548"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e36fed30.43efa",\r
+        "type": "set",\r
+        "name": "set is-trunked and segmentation-id in vnf-network",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].is-trunked'\n    value='`$mdsal-ntis.network-topology-identifier-structure.is-trunked`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].segmentation-id'\n    value='`$mdsal-ntis.network-topology-identifier-structure.segmentation-id`' />\n    ",\r
+        "comments": "",\r
+        "x": 2124.999988555908,\r
+        "y": 4715.746793746948,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e8de30ac.6f904",\r
+        "type": "save",\r
+        "name": "custom query: get owning entity",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n      resource=\"custom-query\"\n      key=\"format = 'resource'\"\n      force=\"true\"\n      local-only=\"false\"\n      pfx=\"tmp.AnAI-data.oe\">\n<parameter name=\"start[0]\" value=\"`'nodes/service-instances/service-instance?service-instance-id=' + $network-service-instance-id `\" />\n<parameter name=\"start_length\" value=\"1\" />\n<parameter name=\"query\" value=\"/query/owning-entity-fromService-instance\" /> \n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2065.9998817443848,\r
+        "y": 4791.080276489258,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "bb11fe98.9b1b9",\r
+                "12e91c7e.074344"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb11fe98.9b1b9",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2276.2379302978516,\r
+        "y": 4769.74663066864,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b897f854.8a4f58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "12e91c7e.074344",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2283.3808250427246,\r
+        "y": 4815.460855484009,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "a1cce433.a5c9a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb288d10.2446b",\r
+        "type": "save",\r
+        "name": "custom query: get tenant network",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n      resource=\"custom-query\"\n      key=\"format = 'resource'\"\n      force=\"true\"\n      local-only=\"false\"\n      pfx=\"tmp.AnAI-data.get-networks\">\n<parameter name=\"start[0]\" value=\"`'/business/owning-entities/owning-entity/' + $tmp.AnAI-data.oe.results[0].owning-entity.owning-entity-id `\" />\n<parameter name=\"start_length\" value=\"1\" />\n<parameter name=\"query\" value=\"`'/query/getNetworks?networkRole=' + $db.vnf-related-network-role[$rel-network-role-index].related-network-role\n  + '&amp;cloudRegionId=' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" /> \n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2515.6666984558105,\r
+        "y": 4964.080413818359,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "23ed24a4.2c91dc",\r
+                "b4f16506.66bd08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "23ed24a4.2c91dc",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2728.9047470092773,\r
+        "y": 4942.746912956238,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "3e5e2886.704ec8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4f16506.66bd08",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2736.0476417541504,\r
+        "y": 4988.461137771606,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "fb3762dd.d74d3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e2f76977.fea098",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for index='rel-index' start='0' end='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2482.6666984558105,\r
+        "y": 5090.0805587768555,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "586febb.af11914"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "586febb.af11914",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship[$rel-index].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2680.6666984558105,\r
+        "y": 5090.0805587768555,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "1b7b682d.5dd008"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b7b682d.5dd008",\r
+        "type": "outcome",\r
+        "name": "vlan-tag",\r
+        "xml": "<outcome value='vlan-tag'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2850.6666984558105,\r
+        "y": 5090.0805587768555,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "9b43a30b.ab1c1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9b43a30b.ab1c1",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3018.6666984558105,\r
+        "y": 5088.0805587768555,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "97d76a2c.076008",\r
+                "47618d94.b0d374",\r
+                "1bf4c98d.f9c076"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "97d76a2c.076008",\r
+        "type": "set",\r
+        "name": "set vlan-tag-id",\r
+        "xml": "<set>\n<parameter name='vlan-tag-id' value='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value`' />\n",\r
+        "comments": "",\r
+        "x": 3194.6666984558105,\r
+        "y": 5048.0805587768555,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "47618d94.b0d374",\r
+        "type": "get-resource",\r
+        "name": "get-resource vlan-tag",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"vlan-tag\" \n\t\tkey=\"vlan-tag.vlan-tag-id = $vlan-tag-id\"\n        pfx='aai.vlan-tag' local-only='false'\n>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3216.6666984558105,\r
+        "y": 5106.0805587768555,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "1f2ba326.d9772d",\r
+                "fbf7fa7c.23d608"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f2ba326.d9772d",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3396.7143058776855,\r
+        "y": 5088.2236251831055,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "cf0cc9f2.e1c008"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "13a6411b.4f65df",\r
+        "type": "for",\r
+        "name": "for each related network role",\r
+        "xml": "<for index='rel-network-role-index' start='0' end='`$db.vnf-related-network-role_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2053.6666297912598,\r
+        "y": 5020.414123535156,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "668947e0.2f65c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "668947e0.2f65c8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2258.6666297912598,\r
+        "y": 5021.747268676758,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "eb288d10.2446b",\r
+                "e2f76977.fea098",\r
+                "986e7ac7.81d148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e90b4b31.6e7908",\r
+        "type": "switchNode",\r
+        "name": "switch rn-index",\r
+        "xml": "<switch test='`$rn-index`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2014.6666297912598,\r
+        "y": 4910.080276489258,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "896e1959.7fd6a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc960591.08f438",\r
+        "type": "set",\r
+        "name": "set rn-index to related network length",\r
+        "xml": "<set>\n<parameter name='rn-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network_length`' />\n",\r
+        "comments": "",\r
+        "x": 2083.3332176208496,\r
+        "y": 4861.080129623413,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "896e1959.7fd6a8",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2178.6666297912598,\r
+        "y": 4910.080276489258,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "83542037.398bf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83542037.398bf",\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": 2338.6666297912598,\r
+        "y": 4910.080276489258,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "986e7ac7.81d148",\r
+        "type": "set",\r
+        "name": "set related-network data",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].network-id'\n  value='`$tmp.AnAI-data.get-networks.results[0].l3-network.network-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].network-role'\n  value='`$tmp.AnAI-data.get-networks.results[0].l3-network.network-role`' />\n",\r
+        "comments": "",\r
+        "x": 2486.3332862854004,\r
+        "y": 5020.747100830078,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "56b41d87.a09d94",\r
+        "type": "set",\r
+        "name": "set new related network length",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network_length'\n  value='`$rn-index + 1`' />\n",\r
+        "comments": "",\r
+        "x": 2048.6666984558105,\r
+        "y": 5164.080413818359,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fbf7fa7c.23d608",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3398.6666984558105,\r
+        "y": 5136.080413818359,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "dc2e5d86.8c21f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc2e5d86.8c21f",\r
+        "type": "set",\r
+        "name": "set related-network data",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.vlan-interface'\n  value='`$aai.vlan-tag.vlan-tag-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.upper-tag-id'\n  value='`$aai.vlan-tag.vlan-id-outer`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.lower-tag-id'\n  value='`$aai.vlan-tag.vlan-id-inner`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.is-private'\n  value='`$aai.vlan-tag.is-private`' />\n",\r
+        "comments": "",\r
+        "x": 3590.6666984558105,\r
+        "y": 5136.080413818359,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1bf4c98d.f9c076",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 3168.6666984558105,\r
+        "y": 5174.080413818359,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2f24f627.1d687a",\r
+        "type": "comment",\r
+        "name": "temporary data issue: also ignore string \"null\" and \"NULL\"",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 845.0000114440918,\r
+        "y": 4193.842397689819,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "83078563.934988",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value='null'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 872.1428337097168,\r
+        "y": 4276.69953918457,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "15298732.e21cb9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5dd2d1e7.b5782",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value='NULL'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 872.14284324646,\r
+        "y": 4319.556611061096,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "15298732.e21cb9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "36f653c4.5383bc",\r
+        "type": "switchNode",\r
+        "name": "switch input cloud-owner",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.cloud-owner`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 511.6666564941406,\r
+        "y": 232.41365242004395,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "6073cd09.c47954",\r
+                "60806490.79275c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6073cd09.c47954",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 695.0000305175781,\r
+        "y": 202.41364097595215,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "a192c343.146f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "60806490.79275c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 694.7619361877441,\r
+        "y": 243.3661346435547,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "7907b.f03a3f85"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a192c343.146f",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 829.9999847412109,\r
+        "y": 200.74698066711426,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7907b.f03a3f85",\r
+        "type": "set",\r
+        "name": "set prop.cloud-region.cloud-owner",\r
+        "xml": "<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$vnf-topology-operation-input.vnf-request-input.cloud-owner`' />\n",\r
+        "comments": "",\r
+        "x": 911.6666412353516,\r
+        "y": 242.4136619567871,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "16470885.0e3b37",\r
+        "type": "call",\r
+        "name": "call self-serve-vnf-forking-logic",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-forking-logic' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 529.523811340332,\r
+        "y": 525.7142963409424,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1caeb411.8cfeac",\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": 509.6665267944336,\r
+        "y": 691.2857837677002,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "37f74e26.cb2452",\r
+                "beba854c.d89668"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37f74e26.cb2452",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 721.3806838989258,\r
+        "y": 764.5710678100586,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "c8588b9c.b0d898"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "beba854c.d89668",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 720.9522018432617,\r
+        "y": 628.1429014205933,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "4645b056.44eb1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "97a46274.9df5e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 901.111141204834,\r
+        "y": 326.8888826370239,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "2a1c1eb.da980e2",\r
+                "22c02af2.d4ee26"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df6715d9.ce37d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 901.111141204834,\r
+        "y": 375.46032428741455,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b8d206be.845728",\r
+                "22c02af2.d4ee26"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e48fe633.d5a078",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 903.9682579040527,\r
+        "y": 419.7460298538208,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "da0200d1.6944b",\r
+                "22c02af2.d4ee26"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a1c1eb.da980e2",\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 'CreateVnfInstance'\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1137.539722442627,\r
+        "y": 326.88887310028076,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b8d206be.845728",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VF_MODEL table\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1136.1111335754395,\r
+        "y": 375.6031675338745,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "da0200d1.6944b",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No model found for VNF customization UUID ' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1136.1111335754395,\r
+        "y": 419.74602031707764,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "198f8218.7133ee",\r
+        "type": "call",\r
+        "name": "call self-serve-vnf-assign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-assign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1171.9877891540527,\r
+        "y": 525.6072463989258,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "d458bfd1.de073"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e83e7b2d.1d4268",\r
+        "type": "comment",\r
+        "name": "SELF-SERVE FORK",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 891.4285430908203,\r
+        "y": 579.011926651001,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d458bfd1.de073",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1377.2853698730469,\r
+        "y": 525.0952777862549,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "c261dd9e.7394e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da6cb5e4.41c2f8",\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": 1142.7299880981445,\r
+        "y": 727.5396060943604,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "828a78b6.35b498",\r
+        "type": "set",\r
+        "name": "set vnf-level-oper-status to PendingCreate",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",\r
+        "comments": "",\r
+        "x": 1235.099136352539,\r
+        "y": 577.099287033081,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b15ef9f9.2e3088",\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": 1134.3014526367188,\r
+        "y": 627.5390634536743,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4645b056.44eb1",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 911.5394134521484,\r
+        "y": 627.9999561309814,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "198f8218.7133ee",\r
+                "828a78b6.35b498",\r
+                "b15ef9f9.2e3088",\r
+                "da6cb5e4.41c2f8",\r
+                "86c22cc1.3260c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ec4e3b8.36b40c",\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": 1959.2064628601074,\r
+        "y": 777.6666669845581,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ae382d33.4ff8e",\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=\"`$vnf-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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1978.5655097961426,\r
+        "y": 729.4661436080933,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "22c02af2.d4ee26",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1766.9843826293945,\r
+        "y": 752.7462320327759,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "ae382d33.4ff8e",\r
+                "6ec4e3b8.36b40c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c261dd9e.7394e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1553.301658630371,\r
+        "y": 525.2857141494751,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "6b697ba4.a67094",\r
+                "22c02af2.d4ee26"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b697ba4.a67094",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Failed to create self-serve assignment for vnf with vnf-id=' + $vnf-topology-operation-input.vnf-information.vnf-id + ' with error: ' + $error-message`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1761.0795211791992,\r
+        "y": 497.19053077697754,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "86c22cc1.3260c",\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=\"`$vnf-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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1163.2539367675781,\r
+        "y": 673.6189651489258,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "853dab16.a11508",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'VNF id ' + $service-data.vnfs.vnf[$idx].vnf-id\n      + ' already exists'`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2205.666618347168,\r
+        "y": 1201.666597366333,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e351344c.af7228",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Cannot find instance group id ' +\n      $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\n      + ' in AAI'`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1582.7617416381836,\r
+        "y": 1256.476245880127,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "564bf42f.5df9ac",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving instance-group from AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1582.761703491211,\r
+        "y": 1319.619031906128,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "33ec168e.11b45a",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find AAI relationship from collection '\n      + $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\n      + ' to service instance'`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2177.333206176758,\r
+        "y": 1335.9523315429688,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "38b03742.d98548",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Failed to get network service instance '\n      + $network-service-instance + ' from MD-SAL'`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2178.8094482421875,\r
+        "y": 1377.666732788086,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "56ab1164.7603f",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Could not find network instance group ' +\n      $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\n      + ' in MD-SAL service instance '\n      + $network-service-instance`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2863.3335571289062,\r
+        "y": 1536.1904573440552,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "60b9af41.99ebd",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2778.095329284668,\r
+        "y": 1987.6192593574524,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "31b39cbf.523334",\r
+                "706a1140.f4bf2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "31b39cbf.523334",\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=\"`$vnf-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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2985.787551879883,\r
+        "y": 1964.894714832306,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "706a1140.f4bf2",\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": 2966.4285049438477,\r
+        "y": 2013.0952382087708,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "67d1f32e.64262c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2000.6664962768555,\r
+        "y": 1199.9998836517334,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "853dab16.a11508",\r
+                "60b9af41.99ebd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d4ce14c.b56fbe",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1370.999984741211,\r
+        "y": 1256.6664772033691,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "e351344c.af7228",\r
+                "60b9af41.99ebd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b5b96d7.f11058",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1371.666358947754,\r
+        "y": 1319.3331823349,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "564bf42f.5df9ac",\r
+                "60b9af41.99ebd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75f0b66c.711368",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1959.9998779296875,\r
+        "y": 1336.3333625793457,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "33ec168e.11b45a",\r
+                "60b9af41.99ebd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1cfc4c24.ab0124",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1958.333251953125,\r
+        "y": 1378.333251953125,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "38b03742.d98548",\r
+                "60b9af41.99ebd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a3ec7ac.ac12b88",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2652.619094848633,\r
+        "y": 1536.9047193527222,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "56ab1164.7603f",\r
+                "60b9af41.99ebd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da3712d9.f41f4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1459.0475540161133,\r
+        "y": 1771.9046249389648,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "62fa2d49.68c884",\r
+                "5de10e3b.8401c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "62fa2d49.68c884",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"No vnf-name was received but ecomp-generated-naming is not Y\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1688.90478515625,\r
+        "y": 1772.3329601287842,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6d7f13cc.8d975c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2211.9046783447266,\r
+        "y": 1875.7618045806885,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "4b15fa7b.a37b24",\r
+                "5de10e3b.8401c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b15fa7b.a37b24",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`$generate-unique-name-output.error-message`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2420.0475540161133,\r
+        "y": 1875.3331956863403,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "702e58b3.200b38",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2260.476104736328,\r
+        "y": 2001.9045372009277,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "20b0a05b.f52ee",\r
+                "5de10e3b.8401c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20b0a05b.f52ee",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Unable to generate VNF name\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2483.3331604003906,\r
+        "y": 2002.3332080841064,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5de10e3b.8401c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2515.7144889831543,\r
+        "y": 2183.333490371704,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "d15d28b1.ee4e78",\r
+                "5678e145.3766c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d15d28b1.ee4e78",\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=\"`$vnf-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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2688.406749725342,\r
+        "y": 2162.2756242752075,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5678e145.3766c",\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": 2669.0477027893066,\r
+        "y": 2210.4761476516724,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "55ab3764.a14138",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 952.8571090698242,\r
+        "y": 2912.2857341766357,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "f054f599.b671b8",\r
+                "2115eaa4.e5b146"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f054f599.b671b8",\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": 1151.428451538086,\r
+        "y": 2878.0000200271606,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cbecda63.60f978",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 956.1904602050781,\r
+        "y": 2955.619020462036,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "7ff32092.da86f",\r
+                "2115eaa4.e5b146"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ff32092.da86f",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving cloud region from AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1154.7618026733398,\r
+        "y": 2921.333306312561,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9a466e25.4156f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 814.5238952636719,\r
+        "y": 3134.619167327881,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "9a766ef3.dad01",\r
+                "2115eaa4.e5b146"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9a766ef3.dad01",\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 ' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1024.5238876342773,\r
+        "y": 3113.190655708313,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b319ef18.b3bad",\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": 1805.047737121582,\r
+        "y": 6390.475831985474,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "87f91dc6.de07b",\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=\"`$vnf-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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1822.692756652832,\r
+        "y": 6342.751573562622,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2115eaa4.e5b146",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1932.8570709228516,\r
+        "y": 3718.5708351135254,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "c740bc4.11d1e4",\r
+                "d11043da.a1cb",\r
+                "acdf260b.352908",\r
+                "a74a208c.91738"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d11043da.a1cb",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2311.428497314453,\r
+        "y": 3693.71373295784,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c740bc4.11d1e4",\r
+        "type": "set",\r
+        "name": "set variables for deleting name",\r
+        "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",\r
+        "comments": "",\r
+        "x": 2212.8571166992188,\r
+        "y": 3646.5708038806915,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "65833.6b4487cd8",\r
+        "type": "comment",\r
+        "name": "Unassign the VNF name",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2230.238021850586,\r
+        "y": 3592.856448173523,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a74a208c.91738",\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": 2152.190605163574,\r
+        "y": 3789.7289028167725,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "acdf260b.352908",\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=\"`$vnf-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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2169.835624694824,\r
+        "y": 3742.004644393921,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5be8614b.d2283",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1099.9999923706055,\r
+        "y": 3224.714331626892,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "8a74d4c9.f4d158",\r
+                "2115eaa4.e5b146"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a74d4c9.f4d158",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VF_TO_NETWORK_ROLE_MAPPING table\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1302.8571014404297,\r
+        "y": 3191.8572273254395,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b9558ce.3c84a7",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1669.9999465942383,\r
+        "y": 3434.285619735718,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "f01f3cd.81c20c",\r
+                "2115eaa4.e5b146"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f01f3cd.81c20c",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find l3-network in AAI for network role ' + $db.vf-network-role-mapping[$role-index].network-role`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1881.4285507202148,\r
+        "y": 3402.8569107055664,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f361b5ff.f38548",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2690.4761276245117,\r
+        "y": 4655.667684555054,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "87fd5071.f5e61",\r
+                "9615c407.df8ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "87fd5071.f5e61",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`\n    'Error retrieving network-topology-identifier-structure for service instance '\n    + $network-service-instance-id\n    + ' and network-id '\n    + $l3-network-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2901.9046325683594,\r
+        "y": 4624.238899230957,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c3080a54.9b9f68",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1803.1428604125977,\r
+        "y": 4496.048126220703,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "67128ab5.195dd4",\r
+                "9615c407.df8ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "67128ab5.195dd4",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VNF_RELATED_NETWORK_ROLE table\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2017.1428604125977,\r
+        "y": 4477.190979003906,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b897f854.8a4f58",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2447.6190872192383,\r
+        "y": 4771.667268753052,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "90365fab.e2211",\r
+                "9615c407.df8ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90365fab.e2211",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error getting owning entity from service instance\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2654.762107849121,\r
+        "y": 4747.381650924683,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1cce433.a5c9a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2462.6190872192383,\r
+        "y": 4816.667268753052,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "1a20c9fe.aa7526",\r
+                "9615c407.df8ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a20c9fe.aa7526",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Unable to find owning entity from service instance\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2664.0477294921875,\r
+        "y": 4790.953462600708,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e5e2886.704ec8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2906.6664810180664,\r
+        "y": 4942.143200874329,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "474a1c8f.5b8254",\r
+                "9615c407.df8ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "474a1c8f.5b8254",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error calling getNetworks custom query in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3122.380844116211,\r
+        "y": 4912.143190383911,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb3762dd.d74d3",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2918.3332290649414,\r
+        "y": 4987.143200874329,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "d13c17c6.96baa8",\r
+                "9615c407.df8ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d13c17c6.96baa8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No l3-network returned from getNetworks custom query for related network role '\n      + $db.vnf-related-network-role[0].related-network-role`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3134.047592163086,\r
+        "y": 4957.143190383911,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cf0cc9f2.e1c008",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3562.618698120117,\r
+        "y": 5088.333766937256,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "583a5088.c3e55",\r
+                "9615c407.df8ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "583a5088.c3e55",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error getting vlan-tag object from AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3775.475830078125,\r
+        "y": 5061.190900802612,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9615c407.df8ac8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3693.0952529907227,\r
+        "y": 5414.525018692017,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "48c15a99.5b8364",\r
+                "981b8897.27de98",\r
+                "b2a30503.c3f7c8",\r
+                "c725031e.3faf3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c725031e.3faf3",\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": 3903.8097076416016,\r
+        "y": 5474.253993988037,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b2a30503.c3f7c8",\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=\"`$vnf-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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3923.168746948242,\r
+        "y": 5429.38673210144,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "981b8897.27de98",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4059.0476684570312,\r
+        "y": 5383.238904953003,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "48c15a99.5b8364",\r
+        "type": "set",\r
+        "name": "set variables for deleting name",\r
+        "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",\r
+        "comments": "",\r
+        "x": 3960.476287841797,\r
+        "y": 5336.0959758758545,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4fcc2ec6.5268d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1669.9999313354492,\r
+        "y": 3484.2856159210205,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "75ca8e5d.ce23a",\r
+                "2115eaa4.e5b146"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75ca8e5d.ce23a",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving l3-network from AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1881.4285354614258,\r
+        "y": 3452.856906890869,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "39a027a0.277908",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find l3-network in AAI for network role ' + $db.vf-network-role-mapping[$role-index].network-role`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1805.71435546875,\r
+        "y": 4195.714210510254,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d03cff5b.4eae8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1605.71435546875,\r
+        "y": 4210,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "39a027a0.277908",\r
+                "9615c407.df8ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb9178af.635d68",\r
+        "type": "comment",\r
+        "name": "Unassign the VNF name",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 3824.285888671875,\r
+        "y": 5262.857421875,\r
+        "z": "2d523017.81121",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "63585eee.6f434",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1259.9999389648438,\r
+        "y": 5382.856773376465,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "2dd248fd.0355f8",\r
+                "f54d4b54.f29d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2dd248fd.0355f8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No availability zones found in AAI for cloud region '\n       + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1462.8570709228516,\r
+        "y": 5364.28534412384,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac3d2a38.193128",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1487.3811264038086,\r
+        "y": 5509.524040222168,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "fcb662f2.e888c",\r
+                "f54d4b54.f29d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fcb662f2.e888c",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating generic-vnf in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1688.8096771240234,\r
+        "y": 5489.524041175842,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "edd6eeb3.58833",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1489.047752380371,\r
+        "y": 5552.857048034668,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "ed7e59f3.736ce8",\r
+                "f54d4b54.f29d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed7e59f3.736ce8",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1690.476303100586,\r
+        "y": 5532.857048988342,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d23943a.cc401c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1346.904800415039,\r
+        "y": 5627.618696212769,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "5db8f40e.5238ec",\r
+                "f54d4b54.f29d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5db8f40e.5238ec",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating generic-vnf in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1544.5833358764648,\r
+        "y": 5606.011522293091,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "48b115c8.09c9bc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1366.9642944335938,\r
+        "y": 5672.678614616394,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "33966a0a.bc1c26",\r
+                "f54d4b54.f29d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "33966a0a.bc1c26",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1571.2500610351562,\r
+        "y": 5649.821611404419,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5f5454e.605518",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 782.6785583496094,\r
+        "y": 5782.29768371582,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "5a2cf836.80cc88",\r
+                "f54d4b54.f29d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a2cf836.80cc88",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating selflink in generic-vnf in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 988.3928985595703,\r
+        "y": 5758.011829376221,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb7909b7.07d3a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 796.0118713378906,\r
+        "y": 5825.63117980957,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "840ebe47.1002a",\r
+                "f54d4b54.f29d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "840ebe47.1002a",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1001.7262115478516,\r
+        "y": 5801.345325469971,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5b87fb0.590f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1376.059555053711,\r
+        "y": 5875.011758804321,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "9605363d.80ae88",\r
+                "f54d4b54.f29d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9605363d.80ae88",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating relationship in generic-vnf in AAI\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1570.3452758789062,\r
+        "y": 5849.2977504730225,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "610d2304.a3d70c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1391.059555053711,\r
+        "y": 5918.345254898071,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "70fd7745.526758",\r
+                "f54d4b54.f29d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "70fd7745.526758",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1585.3452758789062,\r
+        "y": 5892.6312465667725,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b01ba289.b4c4d",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode - PUT vnf",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + 'vnf-data-assign.json'`\" />\n    <parameter name='restapiUrl' value=\"`$prop.controller.url + $tmp.vnf.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=\"vnf-assign\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 477.2378692626953,\r
+        "y": 6091.738591194153,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "b8a25bcd.5c5768",\r
+                "336fda4d.6f39d6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b8a25bcd.5c5768",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 724.4506301879883,\r
+        "y": 6113.069312095642,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "dd704ec0.5452"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "336fda4d.6f39d6",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 716.879264831543,\r
+        "y": 6071.569332122803,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "dd704ec0.5452"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd704ec0.5452",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 892.475944519043,\r
+        "y": 6091.499786376953,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            [\r
+                "70b79c9a.11b3d4",\r
+                "f54d4b54.f29d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "70b79c9a.11b3d4",\r
+        "type": "configure",\r
+        "name": "set error-message",\r
+        "xml": "<set>\n<parameter name=\"error-message\" value=\"Error doing PUT of vnf-data\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1098.1902542114258,\r
+        "y": 6057.213903427124,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ebd11f4a.d9ea2",\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=\"`$vnf-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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 423.1902313232422,\r
+        "y": 6242.214249610901,\r
+        "z": "2d523017.81121",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-async.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-async.json
new file mode 100644 (file)
index 0000000..7206446
--- /dev/null
@@ -0,0 +1,175 @@
+[\r
+    {\r
+        "id": "869164d0.22fca8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 177.77777099609375,\r
+        "y": 127.96921110153198,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "91e5b207.619a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "91e5b207.619a8",\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='${project.version}'>",\r
+        "outputs": 1,\r
+        "x": 292.0634765625,\r
+        "y": 168.20732259750366,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "6e27b9bb.02b478"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e27b9bb.02b478",\r
+        "type": "method",\r
+        "name": "method vnf-topology-operation-async",\r
+        "xml": "<method rpc='vnf-topology-operation-async' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 265.63497161865234,\r
+        "y": 209.3977770805359,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "67687d15.90d894"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "628a912e.96075",\r
+        "type": "comment",\r
+        "name": "vnf-topology-operation-async",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 572.1226272583008,\r
+        "y": 75.55555486679077,\r
+        "z": "fafe2484.405f98",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "67687d15.90d894",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 290.3730583190918,\r
+        "y": 357.0913519859314,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "98b2b32c.4efe9",\r
+                "ea413579.6ab908",\r
+                "22dacf93.8c6e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98b2b32c.4efe9",\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": 480.015869140625,\r
+        "y": 421.5409588813782,\r
+        "z": "fafe2484.405f98",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ea413579.6ab908",\r
+        "type": "switchNode",\r
+        "name": "switch svc-action",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 488.63487243652344,\r
+        "y": 358.15970182418823,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "a26e14a0.c75858",\r
+                "7d83530e.ba2efc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a26e14a0.c75858",\r
+        "type": "outcome",\r
+        "name": "assign",\r
+        "xml": "<outcome value='assign'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 684.5872421264648,\r
+        "y": 335.06455087661743,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "a1897fe3.ec245"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d83530e.ba2efc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 681.9205017089844,\r
+        "y": 379.44537115097046,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "4fedef3f.f888b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4fedef3f.f888b",\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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",\r
+        "comments": "",\r
+        "x": 833.8252372741699,\r
+        "y": 379.44545316696167,\r
+        "z": "fafe2484.405f98",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "22dacf93.8c6e4",\r
+        "type": "set",\r
+        "name": "set skip-mdsal-update to Y",\r
+        "xml": "<set>\n<parameter name='skip-mdsal-update' value='Y' />\n",\r
+        "comments": "",\r
+        "x": 518.254020690918,\r
+        "y": 297.69841051101685,\r
+        "z": "fafe2484.405f98",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a1897fe3.ec245",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-assign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-assign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 989.2063751220703,\r
+        "y": 335.1120238304138,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file
index 46a248f..dc9de85 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "f6ad78a6.70d61",\r
+        "id": "2f80fd18.68d7b2",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 147,\r
-        "y": 72.41365623474121,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 143,\r
+        "y": 93.41365623474121,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "adefe527.7305b8"\r
+                "b167e74e.06e8b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "adefe527.7305b8",\r
+        "id": "b167e74e.06e8b8",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\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='${project.version}'>",\r
         "outputs": 1,\r
-        "x": 222.28570556640625,\r
-        "y": 112.65176773071289,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 218.28570556640625,\r
+        "y": 133.6517677307129,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "6abc301f.721f8"\r
+                "51ced5a3.0023bc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6abc301f.721f8",\r
+        "id": "51ced5a3.0023bc",\r
         "type": "method",\r
         "name": "method vnf-topology-operation",\r
         "xml": "<method rpc='vnf-topology-operation' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 215.42862701416016,\r
-        "y": 152.4136505126953,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 211.42862701416016,\r
+        "y": 173.4136505126953,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "d909ae21.d0b"\r
+                "581376ca.27ca98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "33491d1e.01822a",\r
+        "id": "2c7d4d23.7303d2",\r
         "type": "comment",\r
         "name": "vnf-topology-operation",\r
         "info": "",\r
         "comments": "",\r
-        "x": 541.344856262207,\r
-        "y": 20,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 537.344856262207,\r
+        "y": 41,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d909ae21.d0b",\r
+        "id": "581376ca.27ca98",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 231.16676330566406,\r
-        "y": 339.10718727111816,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 235.16676330566406,\r
+        "y": 503.1071767807007,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "12dabaef.e4e31d",\r
-                "2c72dba1.c09994",\r
-                "8732851b.070f78"\r
+                "97ab685e.0bee08",\r
+                "a403694c.693328",\r
+                "9d92efc8.8d9dd"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "12dabaef.e4e31d",\r
+        "id": "97ab685e.0bee08",\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": 523.6667175292969,\r
-        "y": 489.27122020721436,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 527.6667175292969,\r
+        "y": 658.2712097167969,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2c72dba1.c09994",\r
+        "id": "a403694c.693328",\r
         "type": "switchNode",\r
         "name": "switch svc-action",\r
         "xml": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 526.5714340209961,\r
-        "y": 337.31843090057373,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 530.5714340209961,\r
+        "y": 501.31842041015625,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "430fcd00.a5d5fc",\r
-                "c670772c.dd0908",\r
-                "f99a71f9.aa21e",\r
-                "681c5b5.a0f9c24",\r
-                "f1c88e8c.45c93",\r
-                "587f0736.94e46",\r
-                "b1dd52ed.b68c7"\r
+                "18cb9c11.4e7cc4",\r
+                "1d09f34f.3f578d",\r
+                "c78cd2e8.79be5",\r
+                "aa7e294c.376318",\r
+                "a97cbafe.7cac98",\r
+                "dbf64216.490f5",\r
+                "1d72c7ae.622688"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "430fcd00.a5d5fc",\r
+        "id": "18cb9c11.4e7cc4",\r
         "type": "outcome",\r
         "name": "assign",\r
         "xml": "<outcome value='assign'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 938.3809661865234,\r
-        "y": 47.937567710876465,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 865.3809814453125,\r
+        "y": 328.9375305175781,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "f8a7b2b3.28c41"\r
+                "a2f63855.285858"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c670772c.dd0908",\r
+        "id": "1d09f34f.3f578d",\r
         "type": "outcome",\r
         "name": "unassign",\r
         "xml": "<outcome value='unassign'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1009.4287919998169,\r
-        "y": 733.1283273696899,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 941.4287996292114,\r
+        "y": 1098.12828540802,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "b332e291.fef1f"\r
+                "cfcc432b.30488"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "681c5b5.a0f9c24",\r
+        "id": "aa7e294c.376318",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 993.1430282592773,\r
-        "y": 1421.3185548782349,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 925.1430358886719,\r
+        "y": 1786.318512916565,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "a8606faf.22f988"\r
+                "199e650e.3f3fbb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a8606faf.22f988",\r
+        "id": "199e650e.3f3fbb",\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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",\r
         "comments": "",\r
-        "x": 1226.3334579467773,\r
-        "y": 1421.318615913391,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1158.3334655761719,\r
+        "y": 1786.3185739517212,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8732851b.070f78",\r
+        "id": "9d92efc8.8d9dd",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:validate-vnf-input",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-vnf-input' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 632.4166870117188,\r
-        "y": 228.79471588134766,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 636.4166870117188,\r
+        "y": 253.79470825195312,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f8a7b2b3.28c41",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-assign",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-assign' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1280.5238189697266,\r
-        "y": 47.50902843475342,\r
-        "z": "8e56a38a.ed9008",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "d3c38eb4.34463",\r
+        "id": "b843ebb5.2815d8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1815.8572998046875,\r
-        "y": 686.8424072265625,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1747.857307434082,\r
+        "y": 1051.8423652648926,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b332e291.fef1f",\r
+        "id": "cfcc432b.30488",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-unassign",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-unassign' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1373.523922920227,\r
-        "y": 737.8424081802368,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1305.5239305496216,\r
+        "y": 1102.842366218567,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f99a71f9.aa21e",\r
+        "id": "c78cd2e8.79be5",\r
         "type": "outcome",\r
         "name": "deactivate",\r
         "xml": "<outcome value='deactivate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 978.5238723754883,\r
-        "y": 472.50903701782227,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 910.5238800048828,\r
+        "y": 837.5089950561523,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "3c2ff88a.035fd"\r
+                "cbf00737.e7a518"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ef6e2999.a3799",\r
+        "id": "f274bd69.d26a1",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1772.6668701171875,\r
-        "y": 346.4136962890625,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1704.666877746582,\r
+        "y": 711.4136543273926,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f1c88e8c.45c93",\r
+        "id": "a97cbafe.7cac98",\r
         "type": "outcome",\r
         "name": "activate",\r
         "xml": "<outcome value='activate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 941.3333053588867,\r
-        "y": 139.08033561706543,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 873.3333129882812,\r
+        "y": 499.0802936553955,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "ca254b38.0ec08"\r
+                "c898ef62.8e1d2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "587f0736.94e46",\r
+        "id": "dbf64216.490f5",\r
         "type": "outcome",\r
         "name": "create",\r
         "xml": "<outcome value='create'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1011.0002222061157,\r
-        "y": 865.4999942779541,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 943.0002298355103,\r
+        "y": 1230.4999523162842,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "1b68499b.7f9d96"\r
+                "c0072f79.b63d9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b1dd52ed.b68c7",\r
+        "id": "1d72c7ae.622688",\r
         "type": "outcome",\r
         "name": "delete",\r
         "xml": "<outcome value='delete'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1004.0002212524414,\r
-        "y": 1176.5000042915344,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 936.0002288818359,\r
+        "y": 1541.4999623298645,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "11ce6933.d00f9f"\r
+                "19fd4172.e8d1ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7de5042a.89ed54",\r
+        "id": "242eeec0.003092",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1183.0000762939453,\r
-        "y": 189.5000123977661,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1115.0000839233398,\r
+        "y": 554.4999704360962,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "dfd6a1d.27647e",\r
-                "5f50adc7.ac53cc",\r
-                "31e74903.9d10b6",\r
-                "d56faee8.37ff78",\r
-                "cf5adeee.b84288",\r
-                "946dfa0d.22ede8"\r
+                "3a25fdb7.746092",\r
+                "40847b80.d6efa4",\r
+                "eea8d1d0.4bdc3",\r
+                "6d89db39.aedb84",\r
+                "eaaed7a1.f78188",\r
+                "bbf1b1a0.c8198"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5f50adc7.ac53cc",\r
+        "id": "40847b80.d6efa4",\r
         "type": "outcome",\r
         "name": "ActivateSiteInstance",\r
         "xml": "<outcome value='ActivateSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1443.476318359375,\r
-        "y": 111.97926330566406,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1375.4763259887695,\r
+        "y": 476.97922134399414,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "b87f363c.536f48"\r
+                "10ae7d07.42ded3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dfd6a1d.27647e",\r
+        "id": "3a25fdb7.746092",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1416.381103515625,\r
-        "y": 347.3572692871094,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1348.3811111450195,\r
+        "y": 712.3572273254395,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "ef6e2999.a3799"\r
+                "f274bd69.d26a1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ca254b38.0ec08",\r
+        "id": "c898ef62.8e1d2",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1122.0000762939453,\r
-        "y": 134.5000123977661,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1054.0000839233398,\r
+        "y": 499.4999704360962,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "7de5042a.89ed54"\r
+                "242eeec0.003092"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b87f363c.536f48",\r
+        "id": "10ae7d07.42ded3",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:site-vnf-topology-operation-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='site-vnf-topology-operation-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1810.0001220703125,\r
-        "y": 114.50004577636719,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1742.000129699707,\r
+        "y": 479.50000381469727,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e2a5033e.3cfd8",\r
+        "id": "ada7056f.3de5e8",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1241.0001907348633,\r
-        "y": 505.50000381469727,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1173.0001983642578,\r
+        "y": 870.4999618530273,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "4643a339.a1719c",\r
-                "47cd0887.0667f8",\r
-                "65997b7c.169f44",\r
-                "138fde4d.c3ff5a",\r
-                "8d371312.adf0b8",\r
-                "d66cfce5.3961f8"\r
+                "323f27da.ef8b58",\r
+                "eed63b9b.32ee88",\r
+                "7c8e3f2d.ec40e",\r
+                "1a7d8db.9a66c72",\r
+                "9378aa69.5e8c68",\r
+                "1c4e2957.6aa337"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "47cd0887.0667f8",\r
+        "id": "eed63b9b.32ee88",\r
         "type": "outcome",\r
         "name": "DeactivateSiteInstance",\r
         "xml": "<outcome value='DeactivateSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1484.4763870239258,\r
-        "y": 456.9792523384094,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1416.4763946533203,\r
+        "y": 821.9792103767395,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "616cb241.dff2f4"\r
+                "3d82b6d7.778aba"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4643a339.a1719c",\r
+        "id": "323f27da.ef8b58",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1459.381103515625,\r
-        "y": 687.3572998046875,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1391.3811111450195,\r
+        "y": 1052.3572578430176,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "d3c38eb4.34463"\r
+                "b843ebb5.2815d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3c2ff88a.035fd",\r
+        "id": "cbf00737.e7a518",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1180.0001907348633,\r
-        "y": 450.50000381469727,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1112.0001983642578,\r
+        "y": 815.4999618530273,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "e2a5033e.3cfd8"\r
+                "ada7056f.3de5e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "616cb241.dff2f4",\r
+        "id": "3d82b6d7.778aba",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:site-vnf-topology-operation-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='site-vnf-topology-operation-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1854.0001907348633,\r
-        "y": 454.50003480911255,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1786.0001983642578,\r
+        "y": 819.4999928474426,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "df09f43b.1eb908",\r
+        "id": "2f0de599.17bcda",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1209.3336181640625,\r
-        "y": 952.0863037109375,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1141.333625793457,\r
+        "y": 1317.0862617492676,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "6772d437.231574",\r
-                "1fe5f5cc.d40db2",\r
-                "11c2f3bd.05d49c",\r
-                "2d6c749d.43234c",\r
-                "48d065a3.28be94",\r
-                "a2afb217.467ef8"\r
+                "b2ddc25f.3e0b8",\r
+                "b407b587.a49908",\r
+                "8d600b8a.4468d8",\r
+                "44feac5a.bafec4",\r
+                "75f7964e.785a28",\r
+                "265de382.3a352c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1fe5f5cc.d40db2",\r
+        "id": "b407b587.a49908",\r
         "type": "outcome",\r
         "name": "CreateSiteInstance",\r
         "xml": "<outcome value='CreateSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1464.8101091384888,\r
-        "y": 804.5656380653381,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1396.8101167678833,\r
+        "y": 1169.5655961036682,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "d80e5dd3.56b4d8"\r
+                "5de7412.21979c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6772d437.231574",\r
+        "id": "b2ddc25f.3e0b8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1431.7145919799805,\r
-        "y": 1025.9435234069824,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1363.714599609375,\r
+        "y": 1390.9434814453125,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "eedab70b.41d2f"\r
+                "6f20c596.7e459c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1b68499b.7f9d96",\r
+        "id": "c0072f79.b63d9",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1193.333706855774,\r
-        "y": 863.0863618850708,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1125.3337144851685,\r
+        "y": 1228.0863199234009,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "df09f43b.1eb908"\r
+                "2f0de599.17bcda"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d80e5dd3.56b4d8",\r
+        "id": "5de7412.21979c",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:site-vnf-topology-operation-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='site-vnf-topology-operation-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1841.3338136672974,\r
-        "y": 803.0863966941833,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1773.333821296692,\r
+        "y": 1168.0863547325134,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "eedab70b.41d2f",\r
+        "id": "6f20c596.7e459c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1572.0001678466797,\r
-        "y": 1026.9999465942383,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1504.0001754760742,\r
+        "y": 1391.9999046325684,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2c5991d3.fe0726",\r
+        "id": "6a0fb3f8.c9afac",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1250.0002212524414,\r
-        "y": 1229.0000042915344,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1182.000228881836,\r
+        "y": 1593.9999623298645,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "93525206.c4868",\r
-                "b3b4df67.0eb02",\r
-                "74c68f10.1e24b8",\r
-                "9f299b09.7aa55",\r
-                "3ebbe3a2.8b462c",\r
-                "c94b17f8.0cedb"\r
+                "901892d5.11367",\r
+                "a18742c8.67f48",\r
+                "a17c5490.82e988",\r
+                "f32a2384.53396",\r
+                "74bbe07e.451bd",\r
+                "3b13f0b3.196eb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b3b4df67.0eb02",\r
+        "id": "a18742c8.67f48",\r
         "type": "outcome",\r
         "name": "DeleteSiteInstance",\r
         "xml": "<outcome value='DeleteSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1490.4764404296875,\r
-        "y": 1174.479248046875,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1422.476448059082,\r
+        "y": 1539.479206085205,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "a249836b.7254f"\r
+                "9c4097de.217dd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "93525206.c4868",\r
+        "id": "901892d5.11367",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1455.3812255859375,\r
-        "y": 1424.8574829101562,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1387.381233215332,\r
+        "y": 1789.8574409484863,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "2bf5e221.183e6e"\r
+                "340c5320.cee92c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "11ce6933.d00f9f",\r
+        "id": "19fd4172.e8d1ef",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1189.0002212524414,\r
-        "y": 1174.0000042915344,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1121.000228881836,\r
+        "y": 1538.9999623298645,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "2c5991d3.fe0726"\r
+                "6a0fb3f8.c9afac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a249836b.7254f",\r
+        "id": "9c4097de.217dd8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:site-vnf-topology-operation-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='site-vnf-topology-operation-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1863.000244140625,\r
-        "y": 1172,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1795.0002517700195,\r
+        "y": 1536.99995803833,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2bf5e221.183e6e",\r
+        "id": "340c5320.cee92c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1595.6668014526367,\r
-        "y": 1425.913906097412,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1527.6668090820312,\r
+        "y": 1790.9138641357422,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "31e74903.9d10b6",\r
+        "id": "eea8d1d0.4bdc3",\r
         "type": "outcome",\r
         "name": "ActivateSDWANDeviceInstance",\r
         "xml": "<outcome value='ActivateSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1474.666748046875,\r
-        "y": 163.0000762939453,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1406.6667556762695,\r
+        "y": 528.0000343322754,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "17588db1.773d92"\r
+                "fb048089.7fb87"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "17588db1.773d92",\r
+        "id": "fb048089.7fb87",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-device-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-device-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1914.1904296875,\r
-        "y": 161.5208282470703,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1846.1904373168945,\r
+        "y": 526.5207862854004,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "65997b7c.169f44",\r
+        "id": "7c8e3f2d.ec40e",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANDeviceInstance",\r
         "xml": "<outcome value='DeactivateSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1525.6666259765625,\r
-        "y": 505.0000309944153,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1457.666633605957,\r
+        "y": 869.9999890327454,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "ba2e14f5.6ad49"\r
+                "51051061.26969"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ba2e14f5.6ad49",\r
+        "id": "51051061.26969",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-device-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-device-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1982.1903228759766,\r
-        "y": 504.52086639404297,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1914.190330505371,\r
+        "y": 869.520824432373,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "184ea4bf.3b8253",\r
+        "id": "20880f17.cecd7",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-wanport-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-wanport-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1911.6666259765625,\r
-        "y": 202.00001525878906,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1843.666633605957,\r
+        "y": 566.9999732971191,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d56faee8.37ff78",\r
+        "id": "6d89db39.aedb84",\r
         "type": "outcome",\r
         "name": "ActivateSDWANPortInstance",\r
         "xml": "<outcome value='ActivateSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1468.1429443359375,\r
-        "y": 209.47923278808594,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1400.142951965332,\r
+        "y": 574.479190826416,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "184ea4bf.3b8253"\r
+                "20880f17.cecd7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "138fde4d.c3ff5a",\r
+        "id": "1a7d8db.9a66c72",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANPortInstance",\r
         "xml": "<outcome value='DeactivateSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1517.6666717529297,\r
-        "y": 543.3333463668823,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1449.6666793823242,\r
+        "y": 908.3333044052124,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "103298e7.e1370f"\r
+                "c842ed89.31c14"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "103298e7.e1370f",\r
+        "id": "c842ed89.31c14",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-wanport-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-wanport-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1992.1903228759766,\r
-        "y": 559.8541483879089,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1924.190330505371,\r
+        "y": 924.854106426239,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "11c2f3bd.05d49c",\r
+        "id": "8d600b8a.4468d8",\r
         "type": "outcome",\r
         "name": "CreateSDWANPortInstance",\r
         "xml": "<outcome value='CreateSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1514.667004585266,\r
-        "y": 893.3334724903107,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1446.6670122146606,\r
+        "y": 1258.3334305286407,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "656a70df.0a852"\r
+                "8825b47d.66bfb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "656a70df.0a852",\r
+        "id": "8825b47d.66bfb8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-wanport-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-wanport-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1971.1906251907349,\r
-        "y": 897.8542518615723,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1903.1906328201294,\r
+        "y": 1262.8542098999023,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "74c68f10.1e24b8",\r
+        "id": "a17c5490.82e988",\r
         "type": "outcome",\r
         "name": "DeleteSDWANPortInstance",\r
         "xml": "<outcome value='DeleteSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1526.3334579467773,\r
-        "y": 1285.3333926200867,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1458.3334655761719,\r
+        "y": 1650.3333506584167,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "9db6cb67.644d78"\r
+                "d1bea417.250ed8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9db6cb67.644d78",\r
+        "id": "d1bea417.250ed8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-wanport-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-wanport-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1952.857177734375,\r
-        "y": 1284.854248046875,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1884.8571853637695,\r
+        "y": 1649.854206085205,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9f299b09.7aa55",\r
+        "id": "f32a2384.53396",\r
         "type": "outcome",\r
         "name": "DeleteSDWANDeviceInstance",\r
         "xml": "<outcome value='DeleteSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1535.031608581543,\r
-        "y": 1225.5312991142273,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1467.0316162109375,\r
+        "y": 1590.5312571525574,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "4f32f738.55afe"\r
+                "4c613073.dc407"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4f32f738.55afe",\r
+        "id": "4c613073.dc407",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-device-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-device-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1967.5552139282227,\r
-        "y": 1225.0520124435425,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1899.5552215576172,\r
+        "y": 1590.0519704818726,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2d6c749d.43234c",\r
+        "id": "44feac5a.bafec4",\r
         "type": "outcome",\r
         "name": "CreateSDWANDeviceInstance",\r
         "xml": "<outcome value='CreateSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1530.0313539505005,\r
-        "y": 849.5314359664917,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1462.031361579895,\r
+        "y": 1214.5313940048218,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "6a3e7322.ca712c"\r
+                "4888fef.c349b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6a3e7322.ca712c",\r
+        "id": "4888fef.c349b",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vnf-topology-operation-device-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vnf-topology-operation-device-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1986.5550203323364,\r
-        "y": 848.0522499084473,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1918.555027961731,\r
+        "y": 1213.0522079467773,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "cf5adeee.b84288",\r
+        "id": "eaaed7a1.f78188",\r
         "type": "outcome",\r
         "name": "ActivateSDWANVpnInstance",\r
         "xml": "<outcome value='ActivateSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1472.296142578125,\r
-        "y": 258.57708740234375,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1404.2961502075195,\r
+        "y": 623.5770454406738,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "3f12353b.7c4ed2"\r
+                "67b5956.58f626c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "946dfa0d.22ede8",\r
+        "id": "bbf1b1a0.c8198",\r
         "type": "outcome",\r
         "name": "ActivateSDWANSiteInstance",\r
         "xml": "<outcome value='ActivateSDWANSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1476.296142578125,\r
-        "y": 301.2435302734375,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1408.2961502075195,\r
+        "y": 666.2434883117676,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "3f12353b.7c4ed2"\r
+                "67b5956.58f626c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3f12353b.7c4ed2",\r
+        "id": "67b5956.58f626c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1747.2961349487305,\r
-        "y": 279.24358201026917,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1679.296142578125,\r
+        "y": 644.2435400485992,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "a64b866a.fe348"\r
+                "296eee7e.c34542"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a64b866a.fe348",\r
+        "id": "296eee7e.c34542",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-vpn-site-resource-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-vpn-site-resource-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2125.29598236084,\r
-        "y": 276.57724118232727,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 2057.2959899902344,\r
+        "y": 641.5771992206573,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f9a9efad.b9e6c",\r
+        "id": "8ee4bce.d47a94",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-vpn-site-resource-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-vpn-site-resource-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2178.333206176758,\r
-        "y": 615.3667154312134,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 2110.3332138061523,\r
+        "y": 980.3666734695435,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "27d19dc1.bb91e2",\r
+        "id": "7c5238f2.d394e8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1781.3332977294922,\r
-        "y": 617.0330600738525,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1713.3333053588867,\r
+        "y": 982.0330181121826,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "f9a9efad.b9e6c"\r
+                "8ee4bce.d47a94"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d66cfce5.3961f8",\r
+        "id": "1c4e2957.6aa337",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANSiteInstance",\r
         "xml": "<outcome value='DeactivateSDWANSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1523.3332824707031,\r
-        "y": 639.0330247879028,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1455.3332901000977,\r
+        "y": 1004.0329828262329,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "27d19dc1.bb91e2"\r
+                "7c5238f2.d394e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8d371312.adf0b8",\r
+        "id": "9378aa69.5e8c68",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANVpnInstance",\r
         "xml": "<outcome value='DeactivateSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1517.333251953125,\r
-        "y": 596.3665771484375,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1449.3332595825195,\r
+        "y": 961.3665351867676,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "27d19dc1.bb91e2"\r
+                "7c5238f2.d394e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "48d065a3.28be94",\r
+        "id": "75f7964e.785a28",\r
         "type": "outcome",\r
         "name": "CreateSDWANVpnInstance",\r
         "xml": "<outcome value='CreateSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1510.8516845703125,\r
-        "y": 948.0215454101562,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1442.851692199707,\r
+        "y": 1313.0215034484863,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "99be455.f37d838"\r
+                "d9bd0e30.34f56"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a2afb217.467ef8",\r
+        "id": "265de382.3a352c",\r
         "type": "outcome",\r
         "name": "CreateSDWANSiteInstance",\r
         "xml": "<outcome value='CreateSDWANSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1502.851661682129,\r
-        "y": 989.687933921814,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1434.8516693115234,\r
+        "y": 1354.687891960144,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "99be455.f37d838"\r
+                "d9bd0e30.34f56"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "99be455.f37d838",\r
+        "id": "d9bd0e30.34f56",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1760.851676940918,\r
-        "y": 967.6879692077637,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1692.8516845703125,\r
+        "y": 1332.6879272460938,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "6c44d81a.9e145"\r
+                "8de8e467.90b458"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6c44d81a.9e145",\r
+        "id": "8de8e467.90b458",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-vpn-site-resource-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-vpn-site-resource-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2138.8515243530273,\r
-        "y": 965.0216283798218,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 2070.851531982422,\r
+        "y": 1330.0215864181519,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3ebbe3a2.8b462c",\r
+        "id": "74bbe07e.451bd",\r
         "type": "outcome",\r
         "name": "DeleteSDWANVpnInstance",\r
         "xml": "<outcome value='DeleteSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1517.3333740234375,\r
-        "y": 1332.36669921875,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1449.333381652832,\r
+        "y": 1697.36665725708,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "998a2bef.b013e8"\r
+                "3c752813.4a8be8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c94b17f8.0cedb",\r
+        "id": "3b13f0b3.196eb",\r
         "type": "outcome",\r
         "name": "DeleteSDWANSiteInstance",\r
         "xml": "<outcome value='DeleteSDWANSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1517.3333740234375,\r
-        "y": 1373.0332641601562,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1449.333381652832,\r
+        "y": 1738.0332221984863,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "998a2bef.b013e8"\r
+                "3c752813.4a8be8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "998a2bef.b013e8",\r
+        "id": "3c752813.4a8be8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1767.333366394043,\r
-        "y": 1352.0331230163574,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 1699.3333740234375,\r
+        "y": 1717.0330810546875,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             [\r
-                "d4dcf7f5.c6d7"\r
+                "489ba469.b5b07c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d4dcf7f5.c6d7",\r
+        "id": "489ba469.b5b07c",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-vpn-site-resource-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-vpn-site-resource-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2145.3332138061523,\r
-        "y": 1349.3667821884155,\r
-        "z": "8e56a38a.ed9008",\r
+        "x": 2077.333221435547,\r
+        "y": 1714.3667402267456,\r
+        "z": "3a695320.6f0b9c",\r
         "wires": [\r
             []\r
         ]\r
+    },\r
+    {\r
+        "id": "df2a6c25.b6e3a",\r
+        "type": "set",\r
+        "name": "set skip-mdsal-update to Y",\r
+        "xml": "<set>\n<parameter name='skip-mdsal-update' value='Y' />\n",\r
+        "comments": "",\r
+        "x": 1298.8888816833496,\r
+        "y": 292.7778091430664,\r
+        "z": "3a695320.6f0b9c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5b2c165f.6d5c88",\r
+        "type": "set",\r
+        "name": "set ack-final to 'N'",\r
+        "xml": "<set>\n<parameter name='ack-final' value='N' />\n",\r
+        "comments": "",\r
+        "x": 1270.6984786987305,\r
+        "y": 359.98305320739746,\r
+        "z": "3a695320.6f0b9c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a2f63855.285858",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1053.6666717529297,\r
+        "y": 328.5555648803711,\r
+        "z": "3a695320.6f0b9c",\r
+        "wires": [\r
+            [\r
+                "df2a6c25.b6e3a",\r
+                "5b2c165f.6d5c88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5ec8f1c.ba6fb",\r
+        "type": "comment",\r
+        "name": "ack-final=N triggers Provider to call vnf-topology-operation-aysnc DG",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1474.4444885253906,\r
+        "y": 386.66668605804443,\r
+        "z": "3a695320.6f0b9c",\r
+        "wires": []\r
     }\r
 ]
\ No newline at end of file
index 065a656..fcff4d1 100755 (executable)
@@ -113,6 +113,8 @@ GENERIC-RESOURCE-API self-serve-aai-pnf-put ${project.version} sync
 GENERIC-RESOURCE-API self-serve-capability-param-resolution ${project.version} sync
 GENERIC-RESOURCE-API self-serve-pnf-generate-name ${project.version} sync
 GENERIC-RESOURCE-API self-serve-vnf-generate-name ${project.version} sync
+GENERIC-RESOURCE-API self-serve-vnf-mdsal-put ${project.version} sync
+GENERIC-RESOURCE-API self-serve-vf-module-mdsal-put ${project.version} sync
 GENERIC-RESOURCE-API self-serve-vf-module-generate-name ${project.version} sync
 GENERIC-RESOURCE-API self-serve-generate-name ${project.version} sync
 GENERIC-RESOURCE-API self-serve-generate-name-changeassign ${project.version} sync
@@ -181,6 +183,7 @@ GENERIC-RESOURCE-API vf-module-topology-operation-activate ${project.version} sy
 GENERIC-RESOURCE-API vf-module-topology-operation-assign-no-preload ${project.version} sync
 GENERIC-RESOURCE-API vf-module-topology-operation-assign-preload ${project.version} sync
 GENERIC-RESOURCE-API vf-module-topology-operation-assign ${project.version} sync
+GENERIC-RESOURCE-API vf-module-topology-operation-async ${project.version} sync
 GENERIC-RESOURCE-API vf-module-topology-operation-changeassign ${project.version} sync
 GENERIC-RESOURCE-API vf-module-topology-operation-deactivate ${project.version} sync
 GENERIC-RESOURCE-API vf-module-topology-operation-unassign ${project.version} sync
@@ -190,8 +193,11 @@ GENERIC-RESOURCE-API vf-module-topology-vlan-tagging-assign ${project.version} s
 GENERIC-RESOURCE-API vf-module-topology-vlan-tagging-deactivate ${project.version} sync
 GENERIC-RESOURCE-API vf-module-topology-vlan-tagging-ip-addresses ${project.version} sync
 GENERIC-RESOURCE-API vnf-get-resource-request ${project.version} sync
+
+
 GENERIC-RESOURCE-API vnf-topology-operation-activate ${project.version} sync
 GENERIC-RESOURCE-API vnf-topology-operation-assign ${project.version} sync
+GENERIC-RESOURCE-API vnf-topology-operation-async ${project.version} sync
 GENERIC-RESOURCE-API vnf-topology-operation-changeassign ${project.version} sync
 GENERIC-RESOURCE-API vnf-topology-operation-deactivate ${project.version} sync
 GENERIC-RESOURCE-API vnf-topology-operation-unassign ${project.version} sync
index de88ad7..d2bb3a0 100644 (file)
@@ -245,75 +245,13 @@ ss.capability.execution-order
                                             <outcome value='failure'>\r
                                                 <block atomic='true'>\r
                                                     <set>\r
-                                                        <parameter name='vf.vf-module-id'\r
-    value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />\r
-                                                        <parameter name='vf.vf-module-data.sdnc-request-header.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />\r
-                                                        <parameter name='vf.vf-module-data.request-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />\r
-                                                        <parameter name='vf.vf-module-data.service-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />\r
-                                                        <parameter name='vf.vf-module-data.vnf-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-topology.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-level-oper-status.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-request-input.request-version'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-request-input.tenant'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />\r
+                                                        <parameter name='error-message' value="`'Encountered error from ' + $ss.capability-dg + ' with error: ' + $error-message`" />\r
                                                     </set>\r
-                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
-                                                        <parameter name="source" value="`$prop.restapi.ss-vfmodule-assignments`"/>\r
-                                                        <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>\r
-                                                        <parameter name="target" value="{service-instance-id}"/>\r
-                                                        <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`"/>\r
-                                                    </execute>\r
-                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
-                                                        <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>\r
-                                                        <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>\r
-                                                        <parameter name="target" value="{vnf-id}"/>\r
-                                                        <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`"/>\r
-                                                    </execute>\r
-                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
-                                                        <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>\r
-                                                        <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>\r
-                                                        <parameter name="target" value="{vf-module-id}"/>\r
-                                                        <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`"/>\r
-                                                    </execute>\r
-                                                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
-                                                        <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`" />\r
-                                                        <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />\r
-                                                        <parameter name='restapiUser' value='`$prop.controller.user`' />\r
-                                                        <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\r
-                                                        <parameter name='format' value='json' />\r
-                                                        <parameter name='httpMethod' value='PUT' />\r
-                                                        <parameter name="responsePrefix" value="mdsal-ss-vfmodule" />\r
-                                                        <outcome value='failure'>\r
-                                                            <set>\r
-                                                                <parameter name="error-message" value="Failed to persist self-serve vf-module assignments during assign in MD-SAL" />\r
-                                                            </set>\r
-                                                        </outcome>\r
-                                                        <outcome value='not-found'>\r
-                                                            <set>\r
-                                                                <parameter name="error-message" value="Failed to persist self-serve vf-module assignments during assign in MD-SAL" />\r
-                                                            </set>\r
-                                                        </outcome>\r
-                                                    </execute>\r
+                                                    <call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-mdsal-put' mode='sync' ></call>\r
                                                     <return status='failure'>\r
+                                                        <parameter name='ack-final' value='Y'/>\r
                                                         <parameter name='error-code' value='500' />\r
-                                                        <parameter name='error-message' value="`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`" />\r
+                                                        <parameter name='error-message' value="`$error-message`" />\r
                                                     </return>\r
                                                 </block>\r
                                             </outcome>\r
@@ -330,75 +268,13 @@ ss.capability.execution-order
                                             <outcome value='failure'>\r
                                                 <block atomic='true'>\r
                                                     <set>\r
-                                                        <parameter name='vf.vf-module-id'\r
-    value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />\r
-                                                        <parameter name='vf.vf-module-data.sdnc-request-header.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />\r
-                                                        <parameter name='vf.vf-module-data.request-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />\r
-                                                        <parameter name='vf.vf-module-data.service-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />\r
-                                                        <parameter name='vf.vf-module-data.vnf-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-topology.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-level-oper-status.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-request-input.request-version'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-request-input.tenant'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />\r
-                                                        <parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />\r
+                                                        <parameter name='error-message' value="`'Encountered error from ' + $ss.capability-dg + ' with error: ' + $error-message`" />\r
                                                     </set>\r
-                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
-                                                        <parameter name="source" value="`$prop.restapi.ss-vfmodule-assignments`"/>\r
-                                                        <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>\r
-                                                        <parameter name="target" value="{service-instance-id}"/>\r
-                                                        <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`"/>\r
-                                                    </execute>\r
-                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
-                                                        <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>\r
-                                                        <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>\r
-                                                        <parameter name="target" value="{vnf-id}"/>\r
-                                                        <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`"/>\r
-                                                    </execute>\r
-                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
-                                                        <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>\r
-                                                        <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>\r
-                                                        <parameter name="target" value="{vf-module-id}"/>\r
-                                                        <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`"/>\r
-                                                    </execute>\r
-                                                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
-                                                        <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`" />\r
-                                                        <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />\r
-                                                        <parameter name='restapiUser' value='`$prop.controller.user`' />\r
-                                                        <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\r
-                                                        <parameter name='format' value='json' />\r
-                                                        <parameter name='httpMethod' value='PUT' />\r
-                                                        <parameter name="responsePrefix" value="mdsal-ss-vfmodule" />\r
-                                                        <outcome value='failure'>\r
-                                                            <set>\r
-                                                                <parameter name="error-message" value="Failed to persist self-serve vf-module assignments during assign in MD-SAL" />\r
-                                                            </set>\r
-                                                        </outcome>\r
-                                                        <outcome value='not-found'>\r
-                                                            <set>\r
-                                                                <parameter name="error-message" value="Failed to persist self-serve vf-module assignments during assign in MD-SAL" />\r
-                                                            </set>\r
-                                                        </outcome>\r
-                                                    </execute>\r
+                                                    <call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-mdsal-put' mode='sync' ></call>\r
                                                     <return status='failure'>\r
+                                                        <parameter name='ack-final' value='Y'/>\r
                                                         <parameter name='error-code' value='500' />\r
-                                                        <parameter name='error-message' value="`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`" />\r
+                                                        <parameter name='error-message' value="`$error-message`" />\r
                                                     </return>\r
                                                 </block>\r
                                             </outcome>\r
@@ -417,6 +293,7 @@ ss.capability.execution-order
                     </switch>\r
                 </for>\r
             </for>\r
+            <call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-mdsal-put' mode='sync' ></call>\r
             <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\r
                 <parameter name='filename' value='/var/tmp/ss-vf-assign.log' />\r
             </execute>\r
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-mdsal-put.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-mdsal-put.xml
new file mode 100644 (file)
index 0000000..76b6087
--- /dev/null
@@ -0,0 +1,75 @@
+<service-logic\r
+    xmlns='http://www.onap.org/sdnc/svclogic'\r
+    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}'>\r
+    <method rpc='self-serve-vf-module-mdsal-put' mode='sync'>\r
+        <block atomic='true'>\r
+            <set>\r
+                <parameter name='vf.vf-module-id'\r
+    value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />\r
+                <parameter name='vf.vf-module-data.sdnc-request-header.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />\r
+                <parameter name='vf.vf-module-data.request-information.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />\r
+                <parameter name='vf.vf-module-data.service-information.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />\r
+                <parameter name='vf.vf-module-data.vnf-information.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />\r
+                <parameter name='vf.vf-module-data.vf-module-information.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />\r
+                <parameter name='vf.vf-module-data.vf-module-topology.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />\r
+                <parameter name='vf.vf-module-data.vf-module-level-oper-status.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />\r
+                <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />\r
+                <parameter name='vf.vf-module-data.vf-module-request-input.request-version'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />\r
+                <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />\r
+                <parameter name='vf.vf-module-data.vf-module-request-input.tenant'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />\r
+                <parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />\r
+                <parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />\r
+            </set>\r
+            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
+                <parameter name="source" value="`$prop.restapi.ss-vfmodule-assignments`"/>\r
+                <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>\r
+                <parameter name="target" value="{service-instance-id}"/>\r
+                <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`"/>\r
+            </execute>\r
+            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
+                <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>\r
+                <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>\r
+                <parameter name="target" value="{vnf-id}"/>\r
+                <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`"/>\r
+            </execute>\r
+            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
+                <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>\r
+                <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>\r
+                <parameter name="target" value="{vf-module-id}"/>\r
+                <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`"/>\r
+            </execute>\r
+            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+                <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`" />\r
+                <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />\r
+                <parameter name='restapiUser' value='`$prop.controller.user`' />\r
+                <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\r
+                <parameter name='format' value='json' />\r
+                <parameter name='httpMethod' value='PUT' />\r
+                <parameter name="responsePrefix" value="mdsal-ss-vfmodule" />\r
+                <outcome value='failure'>\r
+                    <set>\r
+                        <parameter name="error-message" value="`'Failed to persist self-serve vf-module assignments during assign in MD-SAL. ' + $error-message`" />\r
+                    </set>\r
+                </outcome>\r
+                <outcome value='not-found'>\r
+                    <set>\r
+                        <parameter name="error-message" value="`'Failed to persist self-serve vf-module assignments during assign in MD-SAL. ' + $error-message`" />\r
+                    </set>\r
+                </outcome>\r
+            </execute>\r
+        </block>\r
+    </method>\r
+</service-logic>
\ No newline at end of file
index c8b52b2..96db3ef 100644 (file)
@@ -223,154 +223,62 @@ ss.capability.execution-order[]
                     </set>\r
                     <switch test='`$ss.capability-name == $tmp.param.capability-name`'>\r
                         <outcome value='true'>\r
-                            <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\r
-                                <outcome value='PENDING'>\r
-                                    <call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\r
-                                        <outcome value='failure'>\r
-                                            <block atomic='true'>\r
-                                                <set>\r
-                                                    <parameter name='vf.vnf-id'\r
-    value='`$service-data.vnfs.vnf[$vnf-index].vnf-id`' />\r
-                                                    <parameter name='vf.vnf-data.sdnc-request-header.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.`' />\r
-                                                    <parameter name='vf.vnf-data.request-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.`' />\r
-                                                    <parameter name='vf.vnf-data.service-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-topology.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-level-oper-status.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-request-input.vnf-input-parameters.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-input-parameters.`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-request-input.request-version'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.request-version`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-request-input.vnf-name'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-name`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-request-input.tenant'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.tenant`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-request-input.aic-cloud-region'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.aic-cloud-region`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-request-input.aic-clli'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.aic-clli`' />\r
-                                                </set>\r
-                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
-                                                    <parameter name="source" value="`$prop.restapi.ss-vnf-assignments`"/>\r
-                                                    <parameter name="outputPath" value="tmp.ss-vnf-url"/>\r
-                                                    <parameter name="target" value="{service-instance-id}"/>\r
-                                                    <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id`"/>\r
-                                                </execute>\r
-                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
-                                                    <parameter name="source" value="`$tmp.ss-vnf-url`"/>\r
-                                                    <parameter name="outputPath" value="tmp.ss-vnf-url"/>\r
-                                                    <parameter name="target" value="{vnf-id}"/>\r
-                                                    <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-id`"/>\r
-                                                </execute>\r
-                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
-                                                    <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vnf.templatefile`" />\r
-                                                    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vnf-url`' />\r
-                                                    <parameter name='restapiUser' value='`$prop.controller.user`' />\r
-                                                    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\r
-                                                    <parameter name='format' value='json' />\r
-                                                    <parameter name='httpMethod' value='PUT' />\r
-                                                    <parameter name="responsePrefix" value="mdsal-ss-vnf" />\r
-                                                    <outcome value='failure'>\r
-                                                        <set>\r
-                                                            <parameter name="error-message" value="Failed to persist self-serve vnf assignments during assign in MD-SAL" />\r
-                                                        </set>\r
-                                                    </outcome>\r
-                                                    <outcome value='not-found'>\r
-                                                        <set>\r
-                                                            <parameter name="error-message" value="Failed to persist self-serve vnf assignments during assign in MD-SAL" />\r
-                                                        </set>\r
-                                                    </outcome>\r
-                                                </execute>\r
-                                                <return status='failure'>\r
-                                                    <parameter name='error-code' value='500' />\r
-                                                    <parameter name='error-message' value="`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`" />\r
-                                                </return>\r
-                                            </block>\r
-                                        </outcome>\r
-                                    </call>\r
-                                </outcome>\r
-                                <outcome value='FAILED'>\r
-                                    <call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\r
-                                        <outcome value='failure'>\r
-                                            <block atomic='true'>\r
-                                                <set>\r
-                                                    <parameter name='vf.vnf-id'\r
-    value='`$service-data.vnfs.vnf[$vnf-index].vnf-id`' />\r
-                                                    <parameter name='vf.vnf-data.sdnc-request-header.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.`' />\r
-                                                    <parameter name='vf.vnf-data.request-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.`' />\r
-                                                    <parameter name='vf.vnf-data.service-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-information.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-topology.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-level-oper-status.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-request-input.vnf-input-parameters.'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-input-parameters.`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-request-input.request-version'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.request-version`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-request-input.vnf-name'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-name`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-request-input.tenant'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.tenant`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-request-input.aic-cloud-region'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.aic-cloud-region`' />\r
-                                                    <parameter name='vf.vnf-data.vnf-request-input.aic-clli'\r
-  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.aic-clli`' />\r
-                                                </set>\r
-                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
-                                                    <parameter name="source" value="`$prop.restapi.ss-vnf-assignments`"/>\r
-                                                    <parameter name="outputPath" value="tmp.ss-vnf-url"/>\r
-                                                    <parameter name="target" value="{service-instance-id}"/>\r
-                                                    <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id`"/>\r
-                                                </execute>\r
-                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
-                                                    <parameter name="source" value="`$tmp.ss-vnf-url`"/>\r
-                                                    <parameter name="outputPath" value="tmp.ss-vnf-url"/>\r
-                                                    <parameter name="target" value="{vnf-id}"/>\r
-                                                    <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-id`"/>\r
-                                                </execute>\r
-                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
-                                                    <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vnf.templatefile`" />\r
-                                                    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vnf-url`' />\r
-                                                    <parameter name='restapiUser' value='`$prop.controller.user`' />\r
-                                                    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\r
-                                                    <parameter name='format' value='json' />\r
-                                                    <parameter name='httpMethod' value='PUT' />\r
-                                                    <parameter name="responsePrefix" value="mdsal-ss-vnf" />\r
-                                                    <outcome value='failure'>\r
-                                                        <set>\r
-                                                            <parameter name="error-message" value="Failed to persist self-serve vnf assignments during assign in MD-SAL" />\r
-                                                        </set>\r
-                                                    </outcome>\r
-                                                    <outcome value='not-found'>\r
-                                                        <set>\r
-                                                            <parameter name="error-message" value="Failed to persist self-serve vnf assignments during assign in MD-SAL" />\r
-                                                        </set>\r
-                                                    </outcome>\r
-                                                </execute>\r
-                                                <return status='failure'>\r
-                                                    <parameter name='error-code' value='500' />\r
-                                                    <parameter name='error-message' value="`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`" />\r
-                                                </return>\r
-                                            </block>\r
-                                        </outcome>\r
-                                    </call>\r
-                                </outcome>\r
-                            </switch>\r
+                            <block atomic='true'>\r
+                                <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\r
+                                    <outcome value='PENDING'>\r
+                                        <call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\r
+                                            <outcome value='failure'>\r
+                                                <block atomic='true'>\r
+                                                    <set>\r
+                                                        <parameter name='error-message' value="`'Encountered error from ' + $ss.capability-dg + ' with error: ' + $error-message`" />\r
+                                                    </set>\r
+                                                    <call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-mdsal-put' mode='sync' ></call>\r
+                                                    <return status='failure'>\r
+                                                        <parameter name='ack-final' value='Y'/>\r
+                                                        <parameter name='error-code' value='500' />\r
+                                                        <parameter name='error-message' value="`$error-message`" />\r
+                                                    </return>\r
+                                                </block>\r
+                                            </outcome>\r
+                                            <outcome value='success'>\r
+                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">\r
+                                                    <parameter name="logger" value="message-log"/>\r
+                                                    <parameter name="field1" value="`'EXECUTION DONE: ' + $ss.capability-dg`"/>\r
+                                                </record>\r
+                                            </outcome>\r
+                                        </call>\r
+                                    </outcome>\r
+                                    <outcome value='FAILED'>\r
+                                        <call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\r
+                                            <outcome value='failure'>\r
+                                                <block atomic='true'>\r
+                                                    <set>\r
+                                                        <parameter name='error-message' value="`'Encountered error from ' + $ss.capability-dg + ' with error: ' + $error-message`" />\r
+                                                    </set>\r
+                                                    <call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-mdsal-put' mode='sync' ></call>\r
+                                                    <return status='failure'>\r
+                                                        <parameter name='ack-final' value='Y'/>\r
+                                                        <parameter name='error-code' value='500' />\r
+                                                        <parameter name='error-message' value="`$error-message`" />\r
+                                                    </return>\r
+                                                </block>\r
+                                            </outcome>\r
+                                            <outcome value='success'>\r
+                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">\r
+                                                    <parameter name="logger" value="message-log"/>\r
+                                                    <parameter name="field1" value="`'EXECUTION DONE: ' + $ss.capability-dg`"/>\r
+                                                </record>\r
+                                            </outcome>\r
+                                        </call>\r
+                                    </outcome>\r
+                                </switch>\r
+                                <break/>\r
+                            </block>\r
                         </outcome>\r
                     </switch>\r
                 </for>\r
             </for>\r
+            <call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-mdsal-put' mode='sync' ></call>\r
             <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\r
                 <parameter name='filename' value='/var/tmp/ss-vnf-assign.log' />\r
             </execute>\r
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-mdsal-put.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-mdsal-put.xml
new file mode 100644 (file)
index 0000000..a35b4c1
--- /dev/null
@@ -0,0 +1,67 @@
+<service-logic\r
+    xmlns='http://www.onap.org/sdnc/svclogic'\r
+    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}'>\r
+    <method rpc='self-serve-vnf-mdsal-put' mode='sync'>\r
+        <block atomic='true'>\r
+            <set>\r
+                <parameter name='vf.vnf-id'\r
+    value='`$service-data.vnfs.vnf[$vnf-index].vnf-id`' />\r
+                <parameter name='vf.vnf-data.sdnc-request-header.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.`' />\r
+                <parameter name='vf.vnf-data.request-information.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.`' />\r
+                <parameter name='vf.vnf-data.service-information.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.`' />\r
+                <parameter name='vf.vnf-data.vnf-information.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.`' />\r
+                <parameter name='vf.vnf-data.vnf-topology.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.`' />\r
+                <parameter name='vf.vnf-data.vnf-level-oper-status.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.`' />\r
+                <parameter name='vf.vnf-data.vnf-request-input.vnf-input-parameters.'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-input-parameters.`' />\r
+                <parameter name='vf.vnf-data.vnf-request-input.request-version'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.request-version`' />\r
+                <parameter name='vf.vnf-data.vnf-request-input.vnf-name'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-name`' />\r
+                <parameter name='vf.vnf-data.vnf-request-input.tenant'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.tenant`' />\r
+                <parameter name='vf.vnf-data.vnf-request-input.aic-cloud-region'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.aic-cloud-region`' />\r
+                <parameter name='vf.vnf-data.vnf-request-input.aic-clli'\r
+  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.aic-clli`' />\r
+            </set>\r
+            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
+                <parameter name="source" value="`$prop.restapi.ss-vnf-assignments`"/>\r
+                <parameter name="outputPath" value="tmp.ss-vnf-url"/>\r
+                <parameter name="target" value="{service-instance-id}"/>\r
+                <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id`"/>\r
+            </execute>\r
+            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\r
+                <parameter name="source" value="`$tmp.ss-vnf-url`"/>\r
+                <parameter name="outputPath" value="tmp.ss-vnf-url"/>\r
+                <parameter name="target" value="{vnf-id}"/>\r
+                <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-id`"/>\r
+            </execute>\r
+            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+                <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vnf.templatefile`" />\r
+                <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vnf-url`' />\r
+                <parameter name='restapiUser' value='`$prop.controller.user`' />\r
+                <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\r
+                <parameter name='format' value='json' />\r
+                <parameter name='httpMethod' value='PUT' />\r
+                <parameter name="responsePrefix" value="mdsal-ss-vnf" />\r
+                <outcome value='failure'>\r
+                    <set>\r
+                        <parameter name="error-message" value="`'Failed to persist self-serve vnf assignments during assign in MD-SAL. ' + $error-message`" />\r
+                    </set>\r
+                </outcome>\r
+                <outcome value='not-found'>\r
+                    <set>\r
+                        <parameter name="error-message" value="`'Failed to persist self-serve vnf assignments during assign in MD-SAL. ' + $error-message`" />\r
+                    </set>\r
+                </outcome>\r
+            </execute>\r
+        </block>\r
+    </method>\r
+</service-logic>
\ No newline at end of file
index b7888ed..5f1fd43 100755 (executable)
@@ -1,6 +1,6 @@
 <service-logic\r
     xmlns='http://www.onap.org/sdnc/svclogic'\r
-    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}'>\r
+    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
     <method rpc='vf-module-topology-operation-assign' mode='sync'>\r
         <block atomic="true">\r
             <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\r
                     <block></block>\r
                 </outcome>\r
                 <outcome value='Other'>\r
-                    <return status='failure'>\r
-                        <parameter name='ack-final' value='Y'/>\r
-                        <parameter name="error-code" value="500" />\r
-                        <parameter name="error-message" value="If svc-action is 'assign' then request-action must be 'CreateVfModuleInstance'" />\r
-                    </return>\r
+                    <block atomic="true">\r
+                        <set>\r
+                            <parameter name="error-message" value="If svc-action is 'assign' then request-action must be 'CreateVfModuleInstance'" />\r
+                        </set>\r
+                        <block atomic='true'>\r
+                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                <parameter name="input.response-code" value="500" />\r
+                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                            </configure>\r
+                            <return status='failure'>\r
+                                <parameter name='ack-final' value='Y'/>\r
+                                <parameter name="error-code" value="500" />\r
+                                <parameter name="error-message" value="`$error-message`" />\r
+                            </return>\r
+                        </block>\r
+                    </block>\r
                 </outcome>\r
             </switch>\r
             <get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\r
   key='SELECT * from VF_MODULE_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid'\r
   pfx='db.vf-module-model'>\r
                 <outcome value='failure'>\r
-                    <return status='failure'>\r
-                        <parameter name='ack-final' value='Y'/>\r
-                        <parameter name="error-code" value="500" />\r
-                        <parameter name="error-message" value="Error reading VF_MODULE_MODEL table" />\r
-                    </return>\r
+                    <block atomic="true">\r
+                        <set>\r
+                            <parameter name="error-message" value="Error reading VF_MODULE_MODEL table" />\r
+                        </set>\r
+                        <block atomic='true'>\r
+                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                <parameter name="input.response-code" value="500" />\r
+                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                            </configure>\r
+                            <return status='failure'>\r
+                                <parameter name='ack-final' value='Y'/>\r
+                                <parameter name="error-code" value="500" />\r
+                                <parameter name="error-message" value="`$error-message`" />\r
+                            </return>\r
+                        </block>\r
+                    </block>\r
                 </outcome>\r
                 <outcome value='not-found'>\r
-                    <return status='failure'>\r
-                        <parameter name='ack-final' value='Y'/>\r
-                        <parameter name="error-code" value="500" />\r
-                        <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`" />\r
-                    </return>\r
+                    <block atomic="true">\r
+                        <set>\r
+                            <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`" />\r
+                        </set>\r
+                        <block atomic='true'>\r
+                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                <parameter name="input.response-code" value="500" />\r
+                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                            </configure>\r
+                            <return status='failure'>\r
+                                <parameter name='ack-final' value='Y'/>\r
+                                <parameter name="error-code" value="500" />\r
+                                <parameter name="error-message" value="`$error-message`" />\r
+                            </return>\r
+                        </block>\r
+                    </block>\r
                 </outcome>\r
             </get-resource>\r
             <set>\r
             </set>\r
             <switch test='`$service-data.vnfs.vnf_length`'>\r
                 <outcome value=''>\r
-                    <return status='failure'>\r
-                        <parameter name='ack-final' value='Y'/>\r
-                        <parameter name="error-code" value="500" />\r
-                        <parameter name="error-message" value="There are no VNFs defined in MD-SAL" />\r
-                    </return>\r
+                    <block atomic="true">\r
+                        <set>\r
+                            <parameter name="error-message" value="There are no VNFs defined in MD-SAL" />\r
+                        </set>\r
+                        <block atomic='true'>\r
+                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                <parameter name="input.response-code" value="500" />\r
+                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                            </configure>\r
+                            <return status='failure'>\r
+                                <parameter name='ack-final' value='Y'/>\r
+                                <parameter name="error-code" value="500" />\r
+                                <parameter name="error-message" value="`$error-message`" />\r
+                            </return>\r
+                        </block>\r
+                    </block>\r
                 </outcome>\r
                 <outcome value='Other'>\r
                     <for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\r
             </switch>\r
             <switch test='`$vnf-index`'>\r
                 <outcome value='-1'>\r
-                    <return status='failure'>\r
-                        <parameter name='ack-final' value='Y'/>\r
-                        <parameter name="error-code" value="500" />\r
-                        <parameter name="error-message" value="`'Unable to find VNF ID ' + $vf-module-topology-operation-input.vnf-information.vnf-id + ' in MD-SAL'`" />\r
-                    </return>\r
+                    <block atomic="true">\r
+                        <set>\r
+                            <parameter name="error-message" value="`'Unable to find VNF ID ' + $vf-module-topology-operation-input.vnf-information.vnf-id + ' in MD-SAL'`" />\r
+                        </set>\r
+                        <block atomic='true'>\r
+                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                <parameter name="input.response-code" value="500" />\r
+                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                            </configure>\r
+                            <return status='failure'>\r
+                                <parameter name='ack-final' value='Y'/>\r
+                                <parameter name="error-code" value="500" />\r
+                                <parameter name="error-message" value="`$error-message`" />\r
+                            </return>\r
+                        </block>\r
+                    </block>\r
                 </outcome>\r
             </switch>\r
             <call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-forking-logic' mode='sync' ></call>\r
                     <block atomic="true">\r
                         <call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-assign' mode='sync' >\r
                             <outcome value='failure'>\r
-                                <return status='failure'>\r
-                                    <parameter name='ack-final' value='Y'/>\r
-                                    <parameter name="error-code" value="500" />\r
-                                    <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`" />\r
-                                </return>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <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`" />\r
+                                    </set>\r
+                                    <block atomic='true'>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
+                                    </block>\r
+                                </block>\r
                             </outcome>\r
                         </call>\r
                         <set>\r
                             <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'\r
   value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\r
                             <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'\r
-  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\r
+  value='`$vf-module-topology-operation-input.request-information.request-action`' />\r
                         </set>\r
                         <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\r
                             <parameter name='filename' value='/var/tmp/ss-vnfend.log' />\r
                         </execute>\r
+                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                            <parameter name="input.response-code" value="200" />\r
+                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                        </configure>\r
                         <return status='success'>\r
                             <parameter name="ack-final-indicator" value="Y" />\r
                             <parameter name="error-code" value="200" />\r
                                     <for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\r
                                         <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`'>\r
                                             <outcome value='true'>\r
-                                                <return status='failure'>\r
-                                                    <parameter name='ack-final' value='Y'/>\r
-                                                    <parameter name="error-code" value="500" />\r
-                                                    <parameter name="error-message" value="`'VF module id ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id\r
+                                                <block atomic="true">\r
+                                                    <set>\r
+                                                        <parameter name="error-message" value="`'VF module id ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id\r
        + ' 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`" />\r
-                                                </return>\r
+                                                    </set>\r
+                                                    <block>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
+                                                    </block>\r
+                                                </block>\r
                                             </outcome>\r
                                         </switch>\r
                                     </for>\r
                     cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region"\r
         pfx='aai.cloud-region' local-only='false' >\r
                             <outcome value='not-found'>\r
-                                <return status='failure'>\r
-                                    <parameter name='ack-final' value='Y'/>\r
-                                    <parameter name="error-code" value="500" />\r
-                                    <parameter name="error-message" value="Cloud region not found in AAI" />\r
-                                </return>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="Cloud region not found in AAI" />\r
+                                    </set>\r
+                                    <block>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
+                                    </block>\r
+                                </block>\r
                             </outcome>\r
                             <outcome value='failure'>\r
-                                <return status='failure'>\r
-                                    <parameter name='ack-final' value='Y'/>\r
-                                    <parameter name="error-code" value="500" />\r
-                                    <parameter name="error-message" value="Error retrieving cloud region from AAI" />\r
-                                </return>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="Error retrieving cloud region from AAI.  Is AAI down?" />\r
+                                    </set>\r
+                                    <block>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
+                                    </block>\r
+                                </block>\r
                             </outcome>\r
                         </get-resource>\r
                         <for index='idx' start='0' end='`$aai.cloud-region.relationship-list.relationship_length`' >\r
                         </for>\r
                         <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`'>\r
                             <outcome value=''>\r
-                                <return status='failure'>\r
-                                    <parameter name='ack-final' value='Y'/>\r
-                                    <parameter name="error-code" value="500" />\r
-                                    <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`" />\r
-                                </return>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <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`" />\r
+                                    </set>\r
+                                    <block>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
+                                    </block>\r
+                                </block>\r
                             </outcome>\r
                         </switch>\r
                         <switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign-no-preload' mode='sync' >\r
                                     <outcome value='failure'>\r
                                         <block atomic="true">\r
-                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                            <return status='failure'></return>\r
+                                            <set>\r
+                                                <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`" />\r
+                                            </set>\r
+                                            <block atomic='true'>\r
+                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                    <parameter name="input.response-code" value="500" />\r
+                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                </configure>\r
+                                                <return status='failure'>\r
+                                                    <parameter name='ack-final' value='Y'/>\r
+                                                    <parameter name="error-code" value="500" />\r
+                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                </return>\r
+                                            </block>\r
                                         </block>\r
                                     </outcome>\r
                                 </call>\r
                                                     <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign-no-preload' mode='sync' >\r
                                                         <outcome value='failure'>\r
                                                             <block atomic="true">\r
-                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                <return status='failure'></return>\r
+                                                                <set>\r
+                                                                    <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`" />\r
+                                                                </set>\r
+                                                                <block atomic='true'>\r
+                                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                    <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                        <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                        <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                        <parameter name="input.response-code" value="500" />\r
+                                                                        <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                        <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                        <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                        <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                    </configure>\r
+                                                                    <return status='failure'>\r
+                                                                        <parameter name='ack-final' value='Y'/>\r
+                                                                        <parameter name="error-code" value="500" />\r
+                                                                        <parameter name="error-message" value="`$error-message`" />\r
+                                                                    </return>\r
+                                                                </block>\r
                                                             </block>\r
                                                         </outcome>\r
                                                     </call>\r
                                                 </outcome>\r
                                                 <outcome value='Other'>\r
                                                     <block atomic="true">\r
-                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                        <return status='failure'>\r
-                                                            <parameter name='ack-final' value='Y'/>\r
-                                                            <parameter name="error-code" value="500" />\r
+                                                        <set>\r
                                                             <parameter name="error-message" value="Error retrieving preload-information" />\r
-                                                        </return>\r
+                                                        </set>\r
+                                                        <block atomic='true'>\r
+                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                <parameter name="input.response-code" value="500" />\r
+                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                            </configure>\r
+                                                            <return status='failure'>\r
+                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                <parameter name="error-code" value="500" />\r
+                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                            </return>\r
+                                                        </block>\r
                                                     </block>\r
                                                 </outcome>\r
                                             </switch>\r
                                         <block>\r
                                             <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign-preload' mode='sync' >\r
                                                 <outcome value='failure'>\r
-                                                    <block atomic="true">\r
+                                                    <block atomic='true'>\r
                                                         <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                        <return status='failure'></return>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
                                                     </block>\r
                                                 </outcome>\r
                                             </call>\r
                                         <switch test='`$vnf-network-index`'>\r
                                             <outcome value='-1'>\r
                                                 <block atomic="true">\r
-                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                    <return status='failure'>\r
-                                                        <parameter name='ack-final' value='Y'/>\r
-                                                        <parameter name="error-code" value="500" />\r
+                                                    <set>\r
                                                         <parameter name="error-message" value="`'VNFC network role '\r
       + $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\r
       + ' is not found in VNF network list'\r
       `" />\r
-                                                    </return>\r
+                                                    </set>\r
+                                                    <block atomic='true'>\r
+                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
+                                                    </block>\r
                                                 </block>\r
                                             </outcome>\r
                                         </switch>\r
                                                                                         <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`'>\r
                                                                                             <outcome value=''>\r
                                                                                                 <block atomic="true">\r
-                                                                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                                                    <return status='failure'>\r
-                                                                                                        <parameter name='ack-final' value='Y'/>\r
-                                                                                                        <parameter name="error-code" value="500" />\r
+                                                                                                    <set>\r
                                                                                                         <parameter name="error-message" value="`'SDNC subnet id '\r
       + $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\r
       + ' does not have network-start-address populated'`" />\r
-                                                                                                    </return>\r
+                                                                                                    </set>\r
+                                                                                                    <block atomic='true'>\r
+                                                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                                            <parameter name="input.response-code" value="500" />\r
+                                                                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                                        </configure>\r
+                                                                                                        <return status='failure'>\r
+                                                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                                                            <parameter name="error-code" value="500" />\r
+                                                                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                                                                        </return>\r
+                                                                                                    </block>\r
                                                                                                 </block>\r
                                                                                             </outcome>\r
                                                                                             <outcome value='Other'>\r
                                                                                                 <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`'>\r
                                                                                                     <outcome value=''>\r
                                                                                                         <block atomic="true">\r
-                                                                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                                                            <return status='failure'>\r
-                                                                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                                                                <parameter name="error-code" value="500" />\r
+                                                                                                            <set>\r
                                                                                                                 <parameter name="error-message" value="`'SDNC subnet id '\r
       + $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\r
       + ' does not have cidr-mask populated'`" />\r
-                                                                                                            </return>\r
+                                                                                                            </set>\r
+                                                                                                            <block atomic='true'>\r
+                                                                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                                                </configure>\r
+                                                                                                                <return status='failure'>\r
+                                                                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                                                                    <parameter name="error-code" value="500" />\r
+                                                                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                                                                </return>\r
+                                                                                                            </block>\r
                                                                                                         </block>\r
                                                                                                     </outcome>\r
                                                                                                     <outcome value='Other'>\r
                                                                             <switch test='`$subnet-id`'>\r
                                                                                 <outcome value='-1'>\r
                                                                                     <block atomic="true">\r
-                                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                                        <return status='failure'>\r
-                                                                                            <parameter name='ack-final' value='Y'/>\r
-                                                                                            <parameter name="error-code" value="500" />\r
+                                                                                        <set>\r
                                                                                             <parameter name="error-message" value="`'Not able to find VNF network subnet that contains address '\r
       + $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\r
       `" />\r
-                                                                                        </return>\r
+                                                                                        </set>\r
+                                                                                        <block atomic='true'>\r
+                                                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                                <parameter name="input.response-code" value="500" />\r
+                                                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                            </configure>\r
+                                                                                            <return status='failure'>\r
+                                                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                                                <parameter name="error-code" value="500" />\r
+                                                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                                                            </return>\r
+                                                                                        </block>\r
                                                                                     </block>\r
                                                                                 </outcome>\r
                                                                             </switch>\r
     and network_role = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role'\r
   pfx='db.vnf-related-network-role[]'>\r
                                             <outcome value='failure'>\r
-                                                <block>\r
-                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                    <return status='failure'>\r
-                                                        <parameter name='ack-final' value='Y'/>\r
-                                                        <parameter name="error-code" value="500" />\r
+                                                <block atomic='true'>\r
+                                                    <set>\r
                                                         <parameter name="error-message" value="Error reading VFC_RELATED_NETWORK_ROLE table" />\r
-                                                    </return>\r
+                                                    </set>\r
+                                                    <block atomic='true'>\r
+                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
+                                                    </block>\r
                                                 </block>\r
                                             </outcome>\r
                                             <outcome value='success'>\r
                                                         </for>\r
                                                         <switch test='`$found-related-network`'>\r
                                                             <outcome value='false'>\r
-                                                                <block>\r
-                                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                    <return status='failure'>\r
-                                                                        <parameter name='ack-final' value='Y'/>\r
-                                                                        <parameter name="error-code" value="500" />\r
+                                                                <block atomic='true'>\r
+                                                                    <set>\r
                                                                         <parameter name="error-message" value="`'Unable to find related network '\r
       + $db.vnf-related-network-role[$db-related-network-index].related-network-role + ' in vnf-networks'`" />\r
-                                                                    </return>\r
+                                                                    </set>\r
+                                                                    <block atomic='true'>\r
+                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                            <parameter name="input.response-code" value="500" />\r
+                                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                        </configure>\r
+                                                                        <return status='failure'>\r
+                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                            <parameter name="error-code" value="500" />\r
+                                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                                        </return>\r
+                                                                    </block>\r
                                                                 </block>\r
                                                             </outcome>\r
                                                         </switch>\r
                             <parameter name="automated-assignment" value="`$automated-assignment`" />\r
                             <outcome value='failure'>\r
                                 <block atomic="true">\r
-                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                    <return status='failure'>\r
-                                        <parameter name='ack-final' value='Y'/>\r
-                                        <parameter name="error-code" value="500" />\r
+                                    <set>\r
                                         <parameter name="error-message" value="Error updating vf-module in AAI" />\r
-                                    </return>\r
+                                    </set>\r
+                                    <block atomic='true'>\r
+                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
+                                    </block>\r
                                 </block>\r
                             </outcome>\r
                             <outcome value='not-found'>\r
                                 <block atomic="true">\r
-                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                    <return status='failure'>\r
-                                        <parameter name='ack-final' value='Y'/>\r
-                                        <parameter name="error-code" value="500" />\r
+                                    <set>\r
                                         <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`" />\r
-                                    </return>\r
+                                    </set>\r
                                 </block>\r
                             </outcome>\r
                         </update>\r
                                                     <parameter name="prov-status" value="`PREPROV`" />\r
                                                     <outcome value='failure'>\r
                                                         <block atomic="true">\r
-                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                            <return status='failure'>\r
-                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                <parameter name="error-code" value="500" />\r
+                                                            <set>\r
                                                                 <parameter name="error-message" value="Error saving vnfc to AAI" />\r
-                                                            </return>\r
+                                                            </set>\r
+                                                            <block atomic='true'>\r
+                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                </configure>\r
+                                                                <return status='failure'>\r
+                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                    <parameter name="error-code" value="500" />\r
+                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                </return>\r
+                                                            </block>\r
                                                         </block>\r
                                                     </outcome>\r
                                                     <outcome value='not-found'>\r
                                                         <block atomic="true">\r
-                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                            <return status='failure'>\r
-                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                <parameter name="error-code" value="500" />\r
+                                                            <set>\r
                                                                 <parameter name="error-message" value="Error saving vnfc to AAI" />\r
-                                                            </return>\r
+                                                            </set>\r
+                                                            <block atomic='true'>\r
+                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                </configure>\r
+                                                                <return status='failure'>\r
+                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                    <parameter name="error-code" value="500" />\r
+                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                </return>\r
+                                                            </block>\r
                                                         </block>\r
                                                     </outcome>\r
                                                 </save>\r
                                                     <parameter name="prov-status" value="`PREPROV`" />\r
                                                     <outcome value='failure'>\r
                                                         <block atomic="true">\r
-                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                            <return status='failure'>\r
-                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                <parameter name="error-code" value="500" />\r
+                                                            <set>\r
                                                                 <parameter name="error-message" value="Error saving vnfc to AAI" />\r
-                                                            </return>\r
+                                                            </set>\r
+                                                            <block atomic='true'>\r
+                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                </configure>\r
+                                                                <return status='failure'>\r
+                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                    <parameter name="error-code" value="500" />\r
+                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                </return>\r
+                                                            </block>\r
                                                         </block>\r
                                                     </outcome>\r
                                                     <outcome value='not-found'>\r
                                                         <block atomic="true">\r
-                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                            <return status='failure'>\r
-                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                <parameter name="error-code" value="500" />\r
+                                                            <set>\r
                                                                 <parameter name="error-message" value="Error saving vnfc to AAI" />\r
-                                                            </return>\r
+                                                            </set>\r
+                                                            <block atomic='true'>\r
+                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                </configure>\r
+                                                                <return status='failure'>\r
+                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                    <parameter name="error-code" value="500" />\r
+                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                </return>\r
+                                                            </block>\r
                                                         </block>\r
                                                     </outcome>\r
                                                 </save>\r
         $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`" />\r
                                             <outcome value='failure'>\r
                                                 <block atomic="true">\r
-                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                    <return status='failure'>\r
-                                                        <parameter name='ack-final' value='Y'/>\r
-                                                        <parameter name="error-code" value="500" />\r
+                                                    <set>\r
                                                         <parameter name="error-message" value="Error updating vnfc relationships in AAI" />\r
-                                                    </return>\r
+                                                    </set>\r
+                                                    <block atomic='true'>\r
+                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
+                                                    </block>\r
                                                 </block>\r
                                             </outcome>\r
                                             <outcome value='not-found'>\r
                                                 <block atomic="true">\r
-                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                    <return status='failure'>\r
-                                                        <parameter name='ack-final' value='Y'/>\r
-                                                        <parameter name="error-code" value="500" />\r
+                                                    <set>\r
                                                         <parameter name="error-message" value="Not-found error updating vnfc relationships" />\r
-                                                    </return>\r
+                                                    </set>\r
+                                                    <block atomic='true'>\r
+                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
+                                                    </block>\r
                                                 </block>\r
                                             </outcome>\r
                                         </save>\r
                                                     <parameter name="port-id" value="0" />\r
                                                     <outcome value='failure'>\r
                                                         <block atomic="true">\r
-                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                            <return status='failure'>\r
-                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                <parameter name="error-code" value="500" />\r
-                                                                <parameter name="error-message" value="Error creating cp object in AAI" />\r
-                                                            </return>\r
+                                                            <set>\r
+                                                                <parameter name="error-message" value="Error saving cp object to AAI" />\r
+                                                            </set>\r
+                                                            <block atomic='true'>\r
+                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                </configure>\r
+                                                                <return status='failure'>\r
+                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                    <parameter name="error-code" value="500" />\r
+                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                </return>\r
+                                                            </block>\r
                                                         </block>\r
                                                     </outcome>\r
                                                     <outcome value='not-found'>\r
                                                         <block atomic="true">\r
-                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                            <return status='failure'>\r
-                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                <parameter name="error-code" value="500" />\r
-                                                                <parameter name="error-message" value="Error creating cp object in AAI" />\r
-                                                            </return>\r
+                                                            <set>\r
+                                                                <parameter name="error-message" value="Error saving cp object to AAI" />\r
+                                                            </set>\r
+                                                            <block atomic='true'>\r
+                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                </configure>\r
+                                                                <return status='failure'>\r
+                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                    <parameter name="error-code" value="500" />\r
+                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                </return>\r
+                                                            </block>\r
                                                         </block>\r
                                                     </outcome>\r
                                                 </save>\r
                                                                                 <parameter name="is-floating" value="false" />\r
                                                                                 <outcome value='failure'>\r
                                                                                     <block atomic="true">\r
-                                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                                        <return status='failure'>\r
-                                                                                            <parameter name='ack-final' value='Y'/>\r
-                                                                                            <parameter name="error-code" value="500" />\r
+                                                                                        <set>\r
                                                                                             <parameter name="error-message" value="Error creating l3-interface-ipv4-address-list object in AAI" />\r
-                                                                                        </return>\r
+                                                                                        </set>\r
+                                                                                        <block atomic='true'>\r
+                                                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                                <parameter name="input.response-code" value="500" />\r
+                                                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                            </configure>\r
+                                                                                            <return status='failure'>\r
+                                                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                                                <parameter name="error-code" value="500" />\r
+                                                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                                                            </return>\r
+                                                                                        </block>\r
                                                                                     </block>\r
                                                                                 </outcome>\r
                                                                             </save>\r
         $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`" />\r
                                                                                 <outcome value='failure'>\r
                                                                                     <block atomic="true">\r
-                                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                                        <return status='failure'>\r
-                                                                                            <parameter name='ack-final' value='Y'/>\r
-                                                                                            <parameter name="error-code" value="500" />\r
+                                                                                        <set>\r
                                                                                             <parameter name="error-message" value="Error updating l3-interface-ipv4-address-list relationships in AAI" />\r
-                                                                                        </return>\r
+                                                                                        </set>\r
+                                                                                        <block atomic='true'>\r
+                                                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                                <parameter name="input.response-code" value="500" />\r
+                                                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                            </configure>\r
+                                                                                            <return status='failure'>\r
+                                                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                                                <parameter name="error-code" value="500" />\r
+                                                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                                                            </return>\r
+                                                                                        </block>\r
                                                                                     </block>\r
                                                                                 </outcome>\r
                                                                                 <outcome value='not-found'>\r
                                                                                     <block atomic="true">\r
-                                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                                        <return status='failure'>\r
-                                                                                            <parameter name='ack-final' value='Y'/>\r
-                                                                                            <parameter name="error-code" value="500" />\r
+                                                                                        <set>\r
                                                                                             <parameter name="error-message" value="Not-found error updating l3-interface-ipv4-address-list relationships" />\r
-                                                                                        </return>\r
+                                                                                        </set>\r
+                                                                                        <block atomic='true'>\r
+                                                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                                <parameter name="input.response-code" value="500" />\r
+                                                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                            </configure>\r
+                                                                                            <return status='failure'>\r
+                                                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                                                <parameter name="error-code" value="500" />\r
+                                                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                                                            </return>\r
+                                                                                        </block>\r
                                                                                     </block>\r
                                                                                 </outcome>\r
                                                                             </save>\r
                                                                                 <parameter name="is-floating" value="false" />\r
                                                                                 <outcome value='failure'>\r
                                                                                     <block atomic="true">\r
-                                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                                        <return status='failure'>\r
-                                                                                            <parameter name='ack-final' value='Y'/>\r
-                                                                                            <parameter name="error-code" value="500" />\r
+                                                                                        <set>\r
                                                                                             <parameter name="error-message" value="Error creating l3-interface-ipv6-address-list object in AAI" />\r
-                                                                                        </return>\r
+                                                                                        </set>\r
+                                                                                        <block atomic='true'>\r
+                                                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                                <parameter name="input.response-code" value="500" />\r
+                                                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                            </configure>\r
+                                                                                            <return status='failure'>\r
+                                                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                                                <parameter name="error-code" value="500" />\r
+                                                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                                                            </return>\r
+                                                                                        </block>\r
                                                                                     </block>\r
                                                                                 </outcome>\r
                                                                             </save>\r
         $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`" />\r
                                                                                 <outcome value='failure'>\r
                                                                                     <block atomic="true">\r
-                                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                                        <return status='failure'>\r
-                                                                                            <parameter name='ack-final' value='Y'/>\r
-                                                                                            <parameter name="error-code" value="500" />\r
+                                                                                        <set>\r
                                                                                             <parameter name="error-message" value="Error updating l3-interface-ipv6-address-list relationships in AAI" />\r
-                                                                                        </return>\r
+                                                                                        </set>\r
+                                                                                        <block atomic='true'>\r
+                                                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                                <parameter name="input.response-code" value="500" />\r
+                                                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                            </configure>\r
+                                                                                            <return status='failure'>\r
+                                                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                                                <parameter name="error-code" value="500" />\r
+                                                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                                                            </return>\r
+                                                                                        </block>\r
                                                                                     </block>\r
                                                                                 </outcome>\r
                                                                                 <outcome value='not-found'>\r
                                                                                     <block atomic="true">\r
-                                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                                        <return status='failure'>\r
-                                                                                            <parameter name='ack-final' value='Y'/>\r
-                                                                                            <parameter name="error-code" value="500" />\r
+                                                                                        <set>\r
                                                                                             <parameter name="error-message" value="Not-found error updating l3-interface-ipv6-address-list relationships" />\r
-                                                                                        </return>\r
+                                                                                        </set>\r
+                                                                                        <block atomic='true'>\r
+                                                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                                <parameter name="input.response-code" value="500" />\r
+                                                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                            </configure>\r
+                                                                                            <return status='failure'>\r
+                                                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                                                <parameter name="error-code" value="500" />\r
+                                                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                                                            </return>\r
+                                                                                        </block>\r
                                                                                     </block>\r
                                                                                 </outcome>\r
                                                                             </save>\r
         $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-id`" />\r
                                                                 <outcome value='failure'>\r
                                                                     <block atomic="true">\r
-                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                        <return status='failure'>\r
-                                                                            <parameter name='ack-final' value='Y'/>\r
-                                                                            <parameter name="error-code" value="500" />\r
+                                                                        <set>\r
                                                                             <parameter name="error-message" value="Error updating cp relationship to l3-network in AAI" />\r
-                                                                        </return>\r
+                                                                        </set>\r
+                                                                        <block atomic='true'>\r
+                                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                <parameter name="input.response-code" value="500" />\r
+                                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                            </configure>\r
+                                                                            <return status='failure'>\r
+                                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                                <parameter name="error-code" value="500" />\r
+                                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                                            </return>\r
+                                                                        </block>\r
                                                                     </block>\r
                                                                 </outcome>\r
                                                                 <outcome value='not-found'>\r
                                                                     <block atomic="true">\r
-                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                        <return status='failure'>\r
-                                                                            <parameter name='ack-final' value='Y'/>\r
-                                                                            <parameter name="error-code" value="500" />\r
+                                                                        <set>\r
                                                                             <parameter name="error-message" value="Not-found error updating cp relationship to l3-network" />\r
-                                                                        </return>\r
+                                                                        </set>\r
+                                                                        <block atomic='true'>\r
+                                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                <parameter name="input.response-code" value="500" />\r
+                                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                            </configure>\r
+                                                                            <return status='failure'>\r
+                                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                                <parameter name="error-code" value="500" />\r
+                                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                                            </return>\r
+                                                                        </block>\r
                                                                     </block>\r
                                                                 </outcome>\r
                                                             </save>\r
         $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`" />\r
                                                                     <outcome value='failure'>\r
                                                                         <block atomic="true">\r
-                                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                            <return status='failure'>\r
-                                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                                <parameter name="error-code" value="500" />\r
+                                                                            <set>\r
                                                                                 <parameter name="error-message" value="Error updating cp relationship to l3-network and vlan-tag in AAI" />\r
-                                                                            </return>\r
+                                                                            </set>\r
+                                                                            <block atomic='true'>\r
+                                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                </configure>\r
+                                                                                <return status='failure'>\r
+                                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                                    <parameter name="error-code" value="500" />\r
+                                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                                </return>\r
+                                                                            </block>\r
                                                                         </block>\r
                                                                     </outcome>\r
                                                                     <outcome value='not-found'>\r
                                                                         <block atomic="true">\r
-                                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                            <return status='failure'>\r
-                                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                                <parameter name="error-code" value="500" />\r
+                                                                            <set>\r
                                                                                 <parameter name="error-message" value="Not-found error updating cp relationship to l3-network and vlan-tag" />\r
-                                                                            </return>\r
+                                                                            </set>\r
+                                                                            <block atomic='true'>\r
+                                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                </configure>\r
+                                                                                <return status='failure'>\r
+                                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                                    <parameter name="error-code" value="500" />\r
+                                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                                </return>\r
+                                                                            </block>\r
                                                                         </block>\r
                                                                     </outcome>\r
                                                                 </save>\r
         $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`" />\r
                                             <outcome value='failure'>\r
                                                 <block atomic="true">\r
-                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                    <return status='failure'>\r
-                                                        <parameter name='ack-final' value='Y'/>\r
-                                                        <parameter name="error-code" value="500" />\r
+                                                    <set>\r
                                                         <parameter name="error-message" value="Error updating vf-module relationships in AAI" />\r
-                                                    </return>\r
+                                                    </set>\r
+                                                    <block atomic='true'>\r
+                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
+                                                    </block>\r
                                                 </block>\r
                                             </outcome>\r
                                             <outcome value='not-found'>\r
                                                 <block atomic="true">\r
-                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                    <return status='failure'>\r
-                                                        <parameter name='ack-final' value='Y'/>\r
-                                                        <parameter name="error-code" value="500" />\r
+                                                    <set>\r
                                                         <parameter name="error-message" value="`'No l3-network found in AAI for network ID '\r
       + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`" />\r
-                                                    </return>\r
+                                                    </set>\r
+                                                    <block atomic='true'>\r
+                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
+                                                    </block>\r
                                                 </block>\r
                                             </outcome>\r
                                         </save>\r
                                                     <parameter name="is-floating" value="false" />\r
                                                     <outcome value='failure'>\r
                                                         <block atomic="true">\r
-                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                            <return status='failure'>\r
-                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                <parameter name="error-code" value="500" />\r
+                                                            <set>\r
                                                                 <parameter name="error-message" value="Error saving vip-ipv4-address-list in AAI" />\r
-                                                            </return>\r
+                                                            </set>\r
+                                                            <block atomic='true'>\r
+                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                </configure>\r
+                                                                <return status='failure'>\r
+                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                    <parameter name="error-code" value="500" />\r
+                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                </return>\r
+                                                            </block>\r
                                                         </block>\r
                                                     </outcome>\r
                                                     <outcome value='not-found'>\r
                                                         <block atomic="true">\r
-                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                            <return status='failure'>\r
-                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                <parameter name="error-code" value="500" />\r
+                                                            <set>\r
                                                                 <parameter name="error-message" value="Not-found error saving vip-ipv4-address-list" />\r
-                                                            </return>\r
+                                                            </set>\r
+                                                            <block atomic='true'>\r
+                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                </configure>\r
+                                                                <return status='failure'>\r
+                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                    <parameter name="error-code" value="500" />\r
+                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                </return>\r
+                                                            </block>\r
                                                         </block>\r
                                                     </outcome>\r
                                                 </save>\r
         + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`" />\r
                                                             <outcome value='failure'>\r
                                                                 <block atomic="true">\r
-                                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                    <return status='failure'>\r
-                                                                        <parameter name='ack-final' value='Y'/>\r
-                                                                        <parameter name="error-code" value="500" />\r
+                                                                    <set>\r
                                                                         <parameter name="error-message" value="Error updating vip-ipv4-address-list relationships in AAI" />\r
-                                                                    </return>\r
+                                                                    </set>\r
+                                                                    <block atomic='true'>\r
+                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                            <parameter name="input.response-code" value="500" />\r
+                                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                        </configure>\r
+                                                                        <return status='failure'>\r
+                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                            <parameter name="error-code" value="500" />\r
+                                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                                        </return>\r
+                                                                    </block>\r
                                                                 </block>\r
                                                             </outcome>\r
                                                             <outcome value='not-found'>\r
                                                                 <block atomic="true">\r
-                                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                    <return status='failure'>\r
-                                                                        <parameter name='ack-final' value='Y'/>\r
-                                                                        <parameter name="error-code" value="500" />\r
+                                                                    <set>\r
                                                                         <parameter name="error-message" value="Not-found error updating vip-ipv4-address-list relationships" />\r
-                                                                    </return>\r
+                                                                    </set>\r
+                                                                    <block atomic='true'>\r
+                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                            <parameter name="input.response-code" value="500" />\r
+                                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                        </configure>\r
+                                                                        <return status='failure'>\r
+                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                            <parameter name="error-code" value="500" />\r
+                                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                                        </return>\r
+                                                                    </block>\r
                                                                 </block>\r
                                                             </outcome>\r
                                                         </save>\r
         + $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`" />\r
                                                                         <outcome value='failure'>\r
                                                                             <block atomic="true">\r
-                                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                                <return status='failure'>\r
-                                                                                    <parameter name='ack-final' value='Y'/>\r
-                                                                                    <parameter name="error-code" value="500" />\r
+                                                                                <set>\r
                                                                                     <parameter name="error-message" value="Error updating vip-ipv4-address-list relationship to cp in AAI" />\r
-                                                                                </return>\r
+                                                                                </set>\r
+                                                                                <block atomic='true'>\r
+                                                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                    <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                        <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                        <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                        <parameter name="input.response-code" value="500" />\r
+                                                                                        <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                        <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                        <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                        <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                    </configure>\r
+                                                                                    <return status='failure'>\r
+                                                                                        <parameter name='ack-final' value='Y'/>\r
+                                                                                        <parameter name="error-code" value="500" />\r
+                                                                                        <parameter name="error-message" value="`$error-message`" />\r
+                                                                                    </return>\r
+                                                                                </block>\r
                                                                             </block>\r
                                                                         </outcome>\r
                                                                         <outcome value='not-found'>\r
                                                                             <block atomic="true">\r
-                                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                                <return status='failure'>\r
-                                                                                    <parameter name='ack-final' value='Y'/>\r
-                                                                                    <parameter name="error-code" value="500" />\r
+                                                                                <set>\r
                                                                                     <parameter name="error-message" value="Not-found error updating vip-ipv4-address-list relationship to cp" />\r
-                                                                                </return>\r
+                                                                                </set>\r
+                                                                                <block atomic='true'>\r
+                                                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                    <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                        <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                        <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                        <parameter name="input.response-code" value="500" />\r
+                                                                                        <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                        <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                        <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                        <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                    </configure>\r
+                                                                                    <return status='failure'>\r
+                                                                                        <parameter name='ack-final' value='Y'/>\r
+                                                                                        <parameter name="error-code" value="500" />\r
+                                                                                        <parameter name="error-message" value="`$error-message`" />\r
+                                                                                    </return>\r
+                                                                                </block>\r
                                                                             </block>\r
                                                                         </outcome>\r
                                                                     </save>\r
                                                     <parameter name="is-floating" value="false" />\r
                                                     <outcome value='failure'>\r
                                                         <block atomic="true">\r
-                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                            <return status='failure'>\r
-                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                <parameter name="error-code" value="500" />\r
+                                                            <set>\r
                                                                 <parameter name="error-message" value="Error saving vip-ipv6-address-list in AAI" />\r
-                                                            </return>\r
+                                                            </set>\r
+                                                            <block atomic='true'>\r
+                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                </configure>\r
+                                                                <return status='failure'>\r
+                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                    <parameter name="error-code" value="500" />\r
+                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                </return>\r
+                                                            </block>\r
                                                         </block>\r
                                                     </outcome>\r
                                                     <outcome value='not-found'>\r
                                                         <block atomic="true">\r
-                                                            <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                            <return status='failure'>\r
-                                                                <parameter name='ack-final' value='Y'/>\r
-                                                                <parameter name="error-code" value="500" />\r
+                                                            <set>\r
                                                                 <parameter name="error-message" value="Not-found error saving vip-ipv6-address-list" />\r
-                                                            </return>\r
+                                                            </set>\r
+                                                            <block atomic='true'>\r
+                                                                <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                    <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                    <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                    <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                    <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                </configure>\r
+                                                                <return status='failure'>\r
+                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                    <parameter name="error-code" value="500" />\r
+                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                </return>\r
+                                                            </block>\r
                                                         </block>\r
                                                     </outcome>\r
                                                 </save>\r
         + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`" />\r
                                                             <outcome value='failure'>\r
                                                                 <block atomic="true">\r
-                                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                    <return status='failure'>\r
-                                                                        <parameter name='ack-final' value='Y'/>\r
-                                                                        <parameter name="error-code" value="500" />\r
+                                                                    <set>\r
                                                                         <parameter name="error-message" value="Error updating vip-ipv6-address-list relationships in AAI" />\r
-                                                                    </return>\r
+                                                                    </set>\r
+                                                                    <block atomic='true'>\r
+                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                            <parameter name="input.response-code" value="500" />\r
+                                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                        </configure>\r
+                                                                        <return status='failure'>\r
+                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                            <parameter name="error-code" value="500" />\r
+                                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                                        </return>\r
+                                                                    </block>\r
                                                                 </block>\r
                                                             </outcome>\r
                                                             <outcome value='not-found'>\r
                                                                 <block atomic="true">\r
-                                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
-                                                                    <return status='failure'>\r
-                                                                        <parameter name='ack-final' value='Y'/>\r
-                                                                        <parameter name="error-code" value="500" />\r
+                                                                    <set>\r
                                                                         <parameter name="error-message" value="Not-found error updating vip-ipv6-address-list relationships" />\r
-                                                                    </return>\r
+                                                                    </set>\r
+                                                                    <block atomic='true'>\r
+                                                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                            <parameter name="input.response-code" value="500" />\r
+                                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                        </configure>\r
+                                                                        <return status='failure'>\r
+                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                            <parameter name="error-code" value="500" />\r
+                                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                                        </return>\r
+                                                                    </block>\r
                                                                 </block>\r
                                                             </outcome>\r
                                                         </save>\r
         + $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`" />\r
                                                                         <outcome value='failure'>\r
                                                                             <block atomic="true">\r
-                                                                                <return status='failure'>\r
-                                                                                    <parameter name='ack-final' value='Y'/>\r
-                                                                                    <parameter name="error-code" value="500" />\r
+                                                                                <set>\r
                                                                                     <parameter name="error-message" value="Error updating vip-ipv4-address-list relationship to cp in AAI" />\r
-                                                                                </return>\r
+                                                                                </set>\r
+                                                                                <block atomic='true'>\r
+                                                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                    <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                        <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                        <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                        <parameter name="input.response-code" value="500" />\r
+                                                                                        <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                        <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                        <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                        <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                    </configure>\r
+                                                                                    <return status='failure'>\r
+                                                                                        <parameter name='ack-final' value='Y'/>\r
+                                                                                        <parameter name="error-code" value="500" />\r
+                                                                                        <parameter name="error-message" value="`$error-message`" />\r
+                                                                                    </return>\r
+                                                                                </block>\r
                                                                             </block>\r
                                                                         </outcome>\r
                                                                         <outcome value='not-found'>\r
                                                                             <block atomic="true">\r
-                                                                                <return status='failure'>\r
-                                                                                    <parameter name='ack-final' value='Y'/>\r
-                                                                                    <parameter name="error-code" value="500" />\r
+                                                                                <set>\r
                                                                                     <parameter name="error-message" value="Not-found error updating vip-ipv4-address-list relationship to cp" />\r
-                                                                                </return>\r
+                                                                                </set>\r
+                                                                                <block atomic='true'>\r
+                                                                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                                                                    <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                        <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                        <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                        <parameter name="input.response-code" value="500" />\r
+                                                                                        <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                        <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                        <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                        <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                    </configure>\r
+                                                                                    <return status='failure'>\r
+                                                                                        <parameter name='ack-final' value='Y'/>\r
+                                                                                        <parameter name="error-code" value="500" />\r
+                                                                                        <parameter name="error-message" value="`$error-message`" />\r
+                                                                                    </return>\r
+                                                                                </block>\r
                                                                             </block>\r
                                                                         </outcome>\r
                                                                     </save>\r
                         <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-vlan-tagging-assign' mode='sync' >\r
                             <outcome value='failure'>\r
                                 <block atomic="true">\r
-                                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
                                     <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\r
                                         <parameter name='filename' value='/var/tmp/bgb-vlantaggingfailure.log' />\r
                                     </execute>\r
-                                    <return status='failure'></return>\r
+                                    <block atomic='true'>\r
+                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
+                                    </block>\r
                                 </block>\r
                             </outcome>\r
                         </call>\r
@@ -1417,9 +2208,74 @@ key="INSERT INTO VIPR_CONFIGURATION (vnf_id, vnf_name, ecomp_service_instance_id
                             <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'\r
   value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\r
                         </set>\r
+                        <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+                            <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + 'vf-module-assign.json'`" />\r
+                            <parameter name='restapiUrl' value="`$prop.controller.url + $tmp.vf-module.url`" />\r
+                            <parameter name='restapiUser' value='`$prop.controller.user`' />\r
+                            <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\r
+                            <parameter name='format' value='json' />\r
+                            <parameter name='httpMethod' value='PUT' />\r
+                            <parameter name="responsePrefix" value="vf-module-assign" />\r
+                            <outcome value='failure'>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="Error doing PUT of vf-module" />\r
+                                    </set>\r
+                                    <block atomic='true'>\r
+                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
+                                    </block>\r
+                                </block>\r
+                            </outcome>\r
+                            <outcome value='not-found'>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="Error doing PUT of vf-module" />\r
+                                    </set>\r
+                                    <block atomic='true'>\r
+                                        <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' ></call>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
+                                    </block>\r
+                                </block>\r
+                            </outcome>\r
+                        </execute>\r
                         <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\r
                             <parameter name='filename' value='/var/tmp/bgb-vfmodule.log' />\r
                         </execute>\r
+                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                            <parameter name="notification-url" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                            <parameter name="input.response-code" value="200" />\r
+                            <parameter name="input.svc-request-id" value="`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                            <parameter name="input.service-information.service-type" value="`$vf-module-topology-operation-input.service-information.subscription-service-type`" />\r
+                            <parameter name="input.service-information.service-instance-id" value="`$vf-module-topology-operation-input.service-information.service-instance-id`" />\r
+                        </configure>\r
                         <return status='success'>\r
                             <parameter name="ack-final-indicator" value="Y" />\r
                             <parameter name="error-code" value="200" />\r
@@ -1430,4 +2286,4 @@ key="INSERT INTO VIPR_CONFIGURATION (vnf_id, vnf_name, ecomp_service_instance_id
             </switch>\r
         </block>\r
     </method>\r
-</service-logic>\r
+</service-logic>
\ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-async.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-async.xml
new file mode 100644 (file)
index 0000000..4c89d83
--- /dev/null
@@ -0,0 +1,28 @@
+<service-logic\r
+    xmlns='http://www.onap.org/sdnc/svclogic'\r
+    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}'>\r
+    <method rpc='vf-module-topology-operation-async' mode='sync'>\r
+        <block atomic="true">\r
+            <set>\r
+                <parameter name='skip-mdsal-update' value='Y' />\r
+            </set>\r
+            <switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`'>\r
+                <outcome value='assign'>\r
+                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign' mode='sync' ></call>\r
+                </outcome>\r
+                <outcome value='Other'>\r
+                    <return status='failure'>\r
+                        <parameter name='ack-final' value='Y'/>\r
+                        <parameter name="error-code" value="500" />\r
+                        <parameter name="error-message" value="`$vnf-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`" />\r
+                    </return>\r
+                </outcome>\r
+            </switch>\r
+            <return status='success'>\r
+                <parameter name="ack-final" value="Y" />\r
+                <parameter name="error-code" value="200" />\r
+                <parameter name="error-message" value="`$error-message`" />\r
+            </return>\r
+        </block>\r
+    </method>\r
+</service-logic>
\ No newline at end of file
index 24863d4..dae4b9b 100644 (file)
@@ -6,7 +6,14 @@
             <call module='GENERIC-RESOURCE-API' rpc='validate-vf-module-input' mode='sync' ></call>\r
             <switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`'>\r
                 <outcome value='assign'>\r
-                    <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign' mode='sync' ></call>\r
+                    <block atomic="true">\r
+                        <set>\r
+                            <parameter name='skip-mdsal-update' value='Y' />\r
+                        </set>\r
+                        <set>\r
+                            <parameter name='ack-final' value='N' />\r
+                        </set>\r
+                    </block>\r
                 </outcome>\r
                 <outcome value='unassign'>\r
                     <call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-unassign' mode='sync' ></call>\r
index 1433b7b..0b90096 100755 (executable)
                     <block></block>\r
                 </outcome>\r
                 <outcome value='Other'>\r
-                    <return status='failure'>\r
-                        <parameter name='ack-final' value='Y'/>\r
-                        <parameter name="error-code" value="500" />\r
-                        <parameter name="error-message" value="If svc-action is 'assign' then request-action must be 'CreateVnfInstance'" />\r
-                    </return>\r
+                    <block atomic="true">\r
+                        <set>\r
+                            <parameter name="error-message" value="If svc-action is 'assign' then request-action must be 'CreateVnfInstance'" />\r
+                        </set>\r
+                        <block atomic='true'>\r
+                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                <parameter name="input.response-code" value="500" />\r
+                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                            </configure>\r
+                            <return status='failure'>\r
+                                <parameter name='ack-final' value='Y'/>\r
+                                <parameter name="error-code" value="500" />\r
+                                <parameter name="error-message" value="`$error-message`" />\r
+                            </return>\r
+                        </block>\r
+                    </block>\r
                 </outcome>\r
             </switch>\r
             <get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\r
   key='SELECT * from VF_MODEL WHERE customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\r
   pfx='db.vf-model'>\r
                 <outcome value='failure'>\r
-                    <return status='failure'>\r
-                        <parameter name='ack-final' value='Y'/>\r
-                        <parameter name="error-code" value="500" />\r
-                        <parameter name="error-message" value="Error reading VF_MODEL table" />\r
-                    </return>\r
+                    <block atomic="true">\r
+                        <set>\r
+                            <parameter name="error-message" value="Error reading VF_MODEL table" />\r
+                        </set>\r
+                        <block atomic='true'>\r
+                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                <parameter name="input.response-code" value="500" />\r
+                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                            </configure>\r
+                            <return status='failure'>\r
+                                <parameter name='ack-final' value='Y'/>\r
+                                <parameter name="error-code" value="500" />\r
+                                <parameter name="error-message" value="`$error-message`" />\r
+                            </return>\r
+                        </block>\r
+                    </block>\r
                 </outcome>\r
                 <outcome value='not-found'>\r
-                    <return status='failure'>\r
-                        <parameter name='ack-final' value='Y'/>\r
-                        <parameter name="error-code" value="500" />\r
-                        <parameter name="error-message" value="`'No model found for VNF customization UUID ' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`" />\r
-                    </return>\r
+                    <block atomic="true">\r
+                        <set>\r
+                            <parameter name="error-message" value="`'No model found for VNF customization UUID ' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`" />\r
+                        </set>\r
+                        <block atomic='true'>\r
+                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                <parameter name="input.response-code" value="500" />\r
+                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                            </configure>\r
+                            <return status='failure'>\r
+                                <parameter name='ack-final' value='Y'/>\r
+                                <parameter name="error-code" value="500" />\r
+                                <parameter name="error-message" value="`$error-message`" />\r
+                            </return>\r
+                        </block>\r
+                    </block>\r
                 </outcome>\r
             </get-resource>\r
             <call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-forking-logic' mode='sync' ></call>\r
                     <block atomic="true">\r
                         <call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-assign' mode='sync' >\r
                             <outcome value='failure'>\r
-                                <return status='failure'>\r
-                                    <parameter name='ack-final' value='Y'/>\r
-                                    <parameter name="error-code" value="500" />\r
-                                    <parameter name="error-message" value="`'Failed to create self-serve assignment for vnf with vnf-id=' + $vnf-topology-operation-input.vnf-information.vnf-id + ' with error: ' + $error-message`" />\r
-                                </return>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="`'Failed to create self-serve assignment for vnf with vnf-id=' + $vnf-topology-operation-input.vnf-information.vnf-id + ' with error: ' + $error-message`" />\r
+                                    </set>\r
+                                    <block atomic='true'>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
+                                    </block>\r
+                                </block>\r
                             </outcome>\r
                         </call>\r
                         <set>\r
                         <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\r
                             <parameter name='filename' value='/var/tmp/ss-vnfend.log' />\r
                         </execute>\r
+                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                            <parameter name="input.response-code" value="200" />\r
+                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                        </configure>\r
                         <return status='success'>\r
                             <parameter name="ack-final-indicator" value="Y" />\r
                             <parameter name="error-code" value="200" />\r
                                 </set>\r
                             </outcome>\r
                             <outcome value='Other'>\r
-                                <block>\r
+                                <block atomic='true'>\r
                                     <set>\r
                                         <parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\r
                                     </set>\r
                                     <for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\r
                                         <switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\r
                                             <outcome value='true'>\r
-                                                <return status='failure'>\r
-                                                    <parameter name='ack-final' value='Y'/>\r
-                                                    <parameter name="error-code" value="500" />\r
-                                                    <parameter name="error-message" value="`'VNF id ' + $service-data.vnfs.vnf[$idx].vnf-id\r
+                                                <block atomic="true">\r
+                                                    <set>\r
+                                                        <parameter name="error-message" value="`'VNF id ' + $service-data.vnfs.vnf[$idx].vnf-id\r
       + ' already exists'`" />\r
-                                                </return>\r
+                                                    </set>\r
+                                                    <block atomic='true'>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
+                                                    </block>\r
+                                                </block>\r
                                             </outcome>\r
                                         </switch>\r
                                     </for>\r
                key="instance-group.id = $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id"\r
         pfx='aai.instance-group' local-only='false' >\r
                                     <outcome value='not-found'>\r
-                                        <return status='failure'>\r
-                                            <parameter name='ack-final' value='Y'/>\r
-                                            <parameter name="error-code" value="500" />\r
-                                            <parameter name="error-message" value="`'Cannot find instance group id ' +\r
+                                        <block atomic="true">\r
+                                            <set>\r
+                                                <parameter name="error-message" value="`'Cannot find instance group id ' +\r
       $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\r
       + ' in AAI'`" />\r
-                                        </return>\r
+                                            </set>\r
+                                            <block atomic='true'>\r
+                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                    <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                    <parameter name="input.response-code" value="500" />\r
+                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                    <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                    <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                    <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                </configure>\r
+                                                <return status='failure'>\r
+                                                    <parameter name='ack-final' value='Y'/>\r
+                                                    <parameter name="error-code" value="500" />\r
+                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                </return>\r
+                                            </block>\r
+                                        </block>\r
                                     </outcome>\r
                                     <outcome value='failure'>\r
-                                        <return status='failure'>\r
-                                            <parameter name='ack-final' value='Y'/>\r
-                                            <parameter name="error-code" value="500" />\r
-                                            <parameter name="error-message" value="Error retrieving instance-group from AAI" />\r
-                                        </return>\r
+                                        <block atomic="true">\r
+                                            <set>\r
+                                                <parameter name="error-message" value="Error retrieving instance-group from AAI" />\r
+                                            </set>\r
+                                            <block atomic='true'>\r
+                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                    <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                    <parameter name="input.response-code" value="500" />\r
+                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                    <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                    <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                    <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                </configure>\r
+                                                <return status='failure'>\r
+                                                    <parameter name='ack-final' value='Y'/>\r
+                                                    <parameter name="error-code" value="500" />\r
+                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                </return>\r
+                                            </block>\r
+                                        </block>\r
                                     </outcome>\r
                                 </get-resource>\r
                                 <for index='rel-index' start='0' end='`$aai.instance-group.relationship-list.relationship_length`' >\r
                key="collection.collection-id = $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"\r
         pfx='aai.collection' local-only='false' >\r
                                                 <outcome value='not-found'>\r
-                                                    <return status='failure'>\r
-                                                        <parameter name='ack-final' value='Y'/>\r
-                                                        <parameter name="error-code" value="500" />\r
-                                                        <parameter name="error-message" value="`'Cannot find collection ' +\r
-      $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\r
-      + ' in AAI'`" />\r
-                                                    </return>\r
+                                                    <block atomic="true">\r
+                                                        <set>\r
+                                                            <parameter name="error-message" value="`'Unable to find AAI relationship from collection '\r
+      + $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\r
+      + ' to service instance'`" />\r
+                                                        </set>\r
+                                                        <block atomic='true'>\r
+                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                <parameter name="input.response-code" value="500" />\r
+                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                            </configure>\r
+                                                            <return status='failure'>\r
+                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                <parameter name="error-code" value="500" />\r
+                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                            </return>\r
+                                                        </block>\r
+                                                    </block>\r
                                                 </outcome>\r
                                                 <outcome value='failure'>\r
-                                                    <return status='failure'>\r
-                                                        <parameter name='ack-final' value='Y'/>\r
-                                                        <parameter name="error-code" value="500" />\r
-                                                        <parameter name="error-message" value="System error retrieving collection from AAI" />\r
-                                                    </return>\r
+                                                    <block atomic="true">\r
+                                                        <set>\r
+                                                            <parameter name="error-message" value="`'Failed to get network service instance '\r
+      + $network-service-instance + ' from MD-SAL'`" />\r
+                                                        </set>\r
+                                                        <block atomic='true'>\r
+                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                <parameter name="input.response-code" value="500" />\r
+                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                            </configure>\r
+                                                            <return status='failure'>\r
+                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                <parameter name="error-code" value="500" />\r
+                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                            </return>\r
+                                                        </block>\r
+                                                    </block>\r
                                                 </outcome>\r
                                                 <outcome value='success'>\r
                                                     <block atomic="true">\r
                                                         </for>\r
                                                         <switch test='`$found-network-instance-group`'>\r
                                                             <outcome value='false'>\r
-                                                                <return status='failure'>\r
-                                                                    <parameter name='ack-final' value='Y'/>\r
-                                                                    <parameter name="error-code" value="500" />\r
-                                                                    <parameter name="error-message" value="`'Could not find network instance group ' +\r
+                                                                <block atomic="true">\r
+                                                                    <set>\r
+                                                                        <parameter name="error-message" value="`'Could not find network instance group ' +\r
       $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\r
-      + ' in MD-SAL'`" />\r
-                                                                </return>\r
+      + ' in MD-SAL service instance '\r
+      + $network-service-instance`" />\r
+                                                                    </set>\r
+                                                                    <block atomic='true'>\r
+                                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                            <parameter name="input.response-code" value="500" />\r
+                                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                        </configure>\r
+                                                                        <return status='failure'>\r
+                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                            <parameter name="error-code" value="500" />\r
+                                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                                        </return>\r
+                                                                    </block>\r
+                                                                </block>\r
                                                             </outcome>\r
                                                         </switch>\r
                                                         <set>\r
                                             <block></block>\r
                                         </outcome>\r
                                         <outcome value='N'>\r
-                                            <return status='failure'>\r
-                                                <parameter name='ack-final' value='Y'/>\r
-                                                <parameter name="error-code" value="500" />\r
-                                                <parameter name="error-message" value="No vnf-name was received but ecomp-generated-naming is not Y" />\r
-                                            </return>\r
+                                            <block atomic="true">\r
+                                                <set>\r
+                                                    <parameter name="error-message" value="No vnf-name was received but ecomp-generated-naming is not Y" />\r
+                                                </set>\r
+                                                <block>\r
+                                                    <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                        <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                        <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                        <parameter name="input.response-code" value="500" />\r
+                                                        <parameter name="input.response-message" value="`$error-message`" />\r
+                                                        <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                        <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                        <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                    </configure>\r
+                                                    <return status='failure'>\r
+                                                        <parameter name='ack-final' value='Y'/>\r
+                                                        <parameter name="error-code" value="500" />\r
+                                                        <parameter name="error-message" value="`$error-message`" />\r
+                                                    </return>\r
+                                                </block>\r
+                                            </block>\r
                                         </outcome>\r
                                         <outcome value='Other'>\r
-                                            <return status='failure'>\r
-                                                <parameter name='ack-final' value='Y'/>\r
-                                                <parameter name="error-code" value="500" />\r
-                                                <parameter name="error-message" value="No vnf-name was received but ecomp-generated-naming is not Y" />\r
-                                            </return>\r
+                                            <block atomic="true">\r
+                                                <set>\r
+                                                    <parameter name="error-message" value="No vnf-name was received but ecomp-generated-naming is not Y" />\r
+                                                </set>\r
+                                                <block>\r
+                                                    <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                        <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                        <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                        <parameter name="input.response-code" value="500" />\r
+                                                        <parameter name="input.response-message" value="`$error-message`" />\r
+                                                        <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                        <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                        <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                    </configure>\r
+                                                    <return status='failure'>\r
+                                                        <parameter name='ack-final' value='Y'/>\r
+                                                        <parameter name="error-code" value="500" />\r
+                                                        <parameter name="error-message" value="`$error-message`" />\r
+                                                    </return>\r
+                                                </block>\r
+                                            </block>\r
                                         </outcome>\r
                                     </switch>\r
                                     <switch test='`$db.vf-model.naming-policy`'>\r
                                                 </set>\r
                                                 <call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\r
                                                     <outcome value='failure'>\r
-                                                        <return status='failure'>\r
-                                                            <parameter name='ack-final' value='Y'/>\r
-                                                            <parameter name="error-code" value="500" />\r
-                                                            <parameter name="error-message" value="`$generate-unique-name-output.error-message`" />\r
-                                                        </return>\r
+                                                        <block atomic="true">\r
+                                                            <set>\r
+                                                                <parameter name="error-message" value="`$generate-unique-name-output.error-message`" />\r
+                                                            </set>\r
+                                                            <block>\r
+                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                    <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                    <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                    <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                    <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                </configure>\r
+                                                                <return status='failure'>\r
+                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                    <parameter name="error-code" value="500" />\r
+                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                </return>\r
+                                                            </block>\r
+                                                        </block>\r
                                                     </outcome>\r
                                                     <outcome value='success'>\r
                                                         <set>\r
                                                 </set>\r
                                                 <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\r
                                                     <outcome value='failure'>\r
-                                                        <return status='failure'>\r
-                                                            <parameter name='ack-final' value='Y'/>\r
-                                                            <parameter name="error-code" value="500" />\r
-                                                            <parameter name="error-message" value="Unable to generate VNF name" />\r
-                                                        </return>\r
+                                                        <block atomic="true">\r
+                                                            <set>\r
+                                                                <parameter name="error-message" value="Unable to generate VNF name" />\r
+                                                            </set>\r
+                                                            <block>\r
+                                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                    <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                    <parameter name="input.response-code" value="500" />\r
+                                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                    <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                    <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                    <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                </configure>\r
+                                                                <return status='failure'>\r
+                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                    <parameter name="error-code" value="500" />\r
+                                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                                </return>\r
+                                                            </block>\r
+                                                        </block>\r
                                                     </outcome>\r
                                                     <outcome value='success'>\r
                                                         <set>\r
                     depth='all'"\r
         pfx='aai.cloud-region' local-only='false' >\r
                             <outcome value='not-found'>\r
-                                <block>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="Cloud region not found in AAI" />\r
+                                    </set>\r
                                     <block atomic="true">\r
                                         <set>\r
                                             <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                             <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                         </set>\r
                                         <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
                                     </block>\r
-                                    <return status='failure'>\r
-                                        <parameter name='ack-final' value='Y'/>\r
-                                        <parameter name="error-code" value="500" />\r
-                                        <parameter name="error-message" value="Cloud region not found in AAI" />\r
-                                    </return>\r
                                 </block>\r
                             </outcome>\r
                             <outcome value='failure'>\r
-                                <block>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="Error retrieving cloud region from AAI" />\r
+                                    </set>\r
                                     <block atomic="true">\r
                                         <set>\r
                                             <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                             <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                         </set>\r
                                         <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
                                     </block>\r
-                                    <return status='failure'>\r
-                                        <parameter name='ack-final' value='Y'/>\r
-                                        <parameter name="error-code" value="500" />\r
-                                        <parameter name="error-message" value="Error retrieving cloud region from AAI" />\r
-                                    </return>\r
                                 </block>\r
                             </outcome>\r
                         </get-resource>\r
                         </for>\r
                         <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-clli`'>\r
                             <outcome value=''>\r
-                                <block>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="`'Unable to find aic-clli in AAI for aic-cloud-region ' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`" />\r
+                                    </set>\r
                                     <block atomic="true">\r
                                         <set>\r
                                             <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                             <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                         </set>\r
                                         <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
                                     </block>\r
-                                    <return status='failure'>\r
-                                        <parameter name='ack-final' value='Y'/>\r
-                                        <parameter name="error-code" value="500" />\r
-                                        <parameter name="error-message" value="`'Unable to find aic-clli in AAI for aic-cloud-region ' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`" />\r
-                                    </return>\r
                                 </block>\r
                             </outcome>\r
                         </switch>\r
   key='SELECT * from VF_TO_NETWORK_ROLE_MAPPING WHERE vf_customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\r
   pfx='db.vf-network-role-mapping[]'>\r
                             <outcome value='failure'>\r
-                                <block>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="Error reading VF_TO_NETWORK_ROLE_MAPPING table" />\r
+                                    </set>\r
                                     <block atomic="true">\r
                                         <set>\r
                                             <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                             <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                         </set>\r
                                         <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
                                     </block>\r
-                                    <return status='failure'>\r
-                                        <parameter name='ack-final' value='Y'/>\r
-                                        <parameter name="error-code" value="500" />\r
-                                        <parameter name="error-message" value="Error reading VF_TO_NETWORK_ROLE_MAPPING table" />\r
-                                    </return>\r
                                 </block>\r
                             </outcome>\r
                             <outcome value='not-found'>\r
         pfx='aai.l3-network' local-only='false'\r
 >\r
                                             <outcome value='not-found'>\r
-                                                <block>\r
+                                                <block atomic="true">\r
+                                                    <set>\r
+                                                        <parameter name="error-message" value="`'Unable to find l3-network in AAI for network role ' + $db.vf-network-role-mapping[$role-index].network-role`" />\r
+                                                    </set>\r
                                                     <block atomic="true">\r
                                                         <set>\r
                                                             <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                             <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                         </set>\r
                                                         <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
                                                     </block>\r
-                                                    <return status='failure'>\r
-                                                        <parameter name='ack-final' value='Y'/>\r
-                                                        <parameter name="error-code" value="500" />\r
-                                                        <parameter name="error-message" value="`'No active l3-network found in AAI with cloud_region_id '\r
-          + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + ' and network_role '\r
-          + $db.vf-network-role-mapping[$network-index].network-role`" />\r
-                                                    </return>\r
                                                 </block>\r
                                             </outcome>\r
                                             <outcome value='failure'>\r
-                                                <block>\r
+                                                <block atomic="true">\r
+                                                    <set>\r
+                                                        <parameter name="error-message" value="Error retrieving l3-network from AAI" />\r
+                                                    </set>\r
                                                     <block atomic="true">\r
                                                         <set>\r
                                                             <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                             <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                         </set>\r
                                                         <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
                                                     </block>\r
-                                                    <return status='failure'>\r
-                                                        <parameter name='ack-final' value='Y'/>\r
-                                                        <parameter name="error-code" value="500" />\r
-                                                        <parameter name="error-message" value="Error retrieving l3-network from AAI" />\r
-                                                    </return>\r
                                                 </block>\r
                                             </outcome>\r
                                         </get-resource>\r
                                         </block>\r
                                         <switch test='`$l3-network-id`'>\r
                                             <outcome value='-1'>\r
-                                                <block>\r
+                                                <block atomic="true">\r
+                                                    <set>\r
+                                                        <parameter name="error-message" value="`'Unable to find l3-network in AAI for network role ' + $db.vf-network-role-mapping[$role-index].network-role`" />\r
+                                                    </set>\r
                                                     <block atomic="true">\r
                                                         <set>\r
                                                             <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                             <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                         </set>\r
                                                         <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
                                                     </block>\r
-                                                    <return status='failure'>\r
-                                                        <parameter name='ack-final' value='Y'/>\r
-                                                        <parameter name="error-code" value="500" />\r
-                                                        <parameter name="error-message" value="`'Unable to find l3-network in AAI for network role ' + $db.vf-network-role-mapping[$role-index].network-role`" />\r
-                                                    </return>\r
                                                 </block>\r
                                             </outcome>\r
                                         </switch>\r
     and network_role = $db.vf-network-role-mapping[$role-index].network-role'\r
   pfx='db.vnf-related-network-role[]'>\r
                                             <outcome value='failure'>\r
-                                                <block>\r
+                                                <block atomic="true">\r
+                                                    <set>\r
+                                                        <parameter name="error-message" value="Error reading VNF_RELATED_NETWORK_ROLE table" />\r
+                                                    </set>\r
                                                     <block atomic="true">\r
                                                         <set>\r
                                                             <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                             <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                         </set>\r
                                                         <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                            <parameter name="input.response-code" value="500" />\r
+                                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                        </configure>\r
+                                                        <return status='failure'>\r
+                                                            <parameter name='ack-final' value='Y'/>\r
+                                                            <parameter name="error-code" value="500" />\r
+                                                            <parameter name="error-message" value="`$error-message`" />\r
+                                                        </return>\r
                                                     </block>\r
-                                                    <return status='failure'>\r
-                                                        <parameter name='ack-final' value='Y'/>\r
-                                                        <parameter name="error-code" value="500" />\r
-                                                        <parameter name="error-message" value="Error reading VNF_RELATED_NETWORK_ROLE table" />\r
-                                                    </return>\r
                                                 </block>\r
                                             </outcome>\r
                                             <outcome value='success'>\r
                                                         <parameter name='httpMethod' value='GET' />\r
                                                         <parameter name="responsePrefix" value="mdsal-ntis" />\r
                                                         <outcome value='failure'>\r
-                                                            <block>\r
+                                                            <block atomic="true">\r
+                                                                <set>\r
+                                                                    <parameter name="error-message" value="`\r
+    'Error retrieving network-topology-identifier-structure for service instance '\r
+    + $network-service-instance-id\r
+    + ' and network-id '\r
+    + $l3-network-id`" />\r
+                                                                </set>\r
                                                                 <block atomic="true">\r
                                                                     <set>\r
                                                                         <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                                         <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                                     </set>\r
                                                                     <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                                    <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                        <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                        <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                        <parameter name="input.response-code" value="500" />\r
+                                                                        <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                        <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                        <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                        <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                    </configure>\r
+                                                                    <return status='failure'>\r
+                                                                        <parameter name='ack-final' value='Y'/>\r
+                                                                        <parameter name="error-code" value="500" />\r
+                                                                        <parameter name="error-message" value="`$error-message`" />\r
+                                                                    </return>\r
                                                                 </block>\r
-                                                                <return status='failure'>\r
-                                                                    <parameter name='ack-final' value='Y'/>\r
-                                                                    <parameter name="error-code" value="500" />\r
-                                                                    <parameter name="error-message" value="`\r
-    'Error retrieving network-topology-identifier-structure for service instance '\r
-    + $network-service-instance-id\r
-    + ' and network-id '\r
-    + $l3-network-id`" />\r
-                                                                </return>\r
                                                             </block>\r
                                                         </outcome>\r
                                                     </execute>\r
                                                         <parameter name="start_length" value="1" />\r
                                                         <parameter name="query" value="/query/owning-entity-fromService-instance" />\r
                                                         <outcome value='failure'>\r
-                                                            <block>\r
+                                                            <block atomic="true">\r
+                                                                <set>\r
+                                                                    <parameter name="error-message" value="Error getting owning entity from service instance" />\r
+                                                                </set>\r
                                                                 <block atomic="true">\r
                                                                     <set>\r
                                                                         <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                                         <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                                     </set>\r
                                                                     <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                                    <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                        <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                        <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                        <parameter name="input.response-code" value="500" />\r
+                                                                        <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                        <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                        <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                        <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                    </configure>\r
+                                                                    <return status='failure'>\r
+                                                                        <parameter name='ack-final' value='Y'/>\r
+                                                                        <parameter name="error-code" value="500" />\r
+                                                                        <parameter name="error-message" value="`$error-message`" />\r
+                                                                    </return>\r
                                                                 </block>\r
-                                                                <return status='failure'>\r
-                                                                    <parameter name='ack-final' value='Y'/>\r
-                                                                    <parameter name="error-code" value="500" />\r
-                                                                    <parameter name="error-message" value="Error getting owning entity from service instance" />\r
-                                                                </return>\r
                                                             </block>\r
                                                         </outcome>\r
                                                         <outcome value='not-found'>\r
-                                                            <block>\r
+                                                            <block atomic="true">\r
+                                                                <set>\r
+                                                                    <parameter name="error-message" value="Unable to find owning entity from service instance" />\r
+                                                                </set>\r
                                                                 <block atomic="true">\r
                                                                     <set>\r
                                                                         <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                                         <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                                     </set>\r
                                                                     <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                                    <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                        <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                        <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                        <parameter name="input.response-code" value="500" />\r
+                                                                        <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                        <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                        <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                        <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                    </configure>\r
+                                                                    <return status='failure'>\r
+                                                                        <parameter name='ack-final' value='Y'/>\r
+                                                                        <parameter name="error-code" value="500" />\r
+                                                                        <parameter name="error-message" value="`$error-message`" />\r
+                                                                    </return>\r
                                                                 </block>\r
-                                                                <return status='failure'>\r
-                                                                    <parameter name='ack-final' value='Y'/>\r
-                                                                    <parameter name="error-code" value="500" />\r
-                                                                    <parameter name="error-message" value="Unable to find owning entity from service instance" />\r
-                                                                </return>\r
                                                             </block>\r
                                                         </outcome>\r
                                                     </save>\r
                                                                 <parameter name="query" value="`'/query/getNetworks?networkRole=' + $db.vnf-related-network-role[$rel-network-role-index].related-network-role\r
   + '&amp;cloudRegionId=' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`" />\r
                                                                 <outcome value='failure'>\r
-                                                                    <block>\r
+                                                                    <block atomic="true">\r
+                                                                        <set>\r
+                                                                            <parameter name="error-message" value="Error calling getNetworks custom query in AAI" />\r
+                                                                        </set>\r
                                                                         <block atomic="true">\r
                                                                             <set>\r
                                                                                 <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                                                 <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                                             </set>\r
                                                                             <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                <parameter name="input.response-code" value="500" />\r
+                                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                            </configure>\r
+                                                                            <return status='failure'>\r
+                                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                                <parameter name="error-code" value="500" />\r
+                                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                                            </return>\r
                                                                         </block>\r
-                                                                        <return status='failure'>\r
-                                                                            <parameter name='ack-final' value='Y'/>\r
-                                                                            <parameter name="error-code" value="500" />\r
-                                                                            <parameter name="error-message" value="Error calling getNetworks custom query in AAI" />\r
-                                                                        </return>\r
                                                                     </block>\r
                                                                 </outcome>\r
                                                                 <outcome value='not-found'>\r
-                                                                    <block>\r
+                                                                    <block atomic="true">\r
+                                                                        <set>\r
+                                                                            <parameter name="error-message" value="`'No l3-network returned from getNetworks custom query for related network role '\r
+      + $db.vnf-related-network-role[0].related-network-role`" />\r
+                                                                        </set>\r
                                                                         <block atomic="true">\r
                                                                             <set>\r
                                                                                 <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                                                 <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                                             </set>\r
                                                                             <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                <parameter name="input.response-code" value="500" />\r
+                                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                            </configure>\r
+                                                                            <return status='failure'>\r
+                                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                                <parameter name="error-code" value="500" />\r
+                                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                                            </return>\r
                                                                         </block>\r
-                                                                        <return status='failure'>\r
-                                                                            <parameter name='ack-final' value='Y'/>\r
-                                                                            <parameter name="error-code" value="500" />\r
-                                                                            <parameter name="error-message" value="`'No l3-network returned from getNetworks custom query for related network role '\r
-      + $db.vnf-related-network-role[0].related-network-role`" />\r
-                                                                        </return>\r
                                                                     </block>\r
                                                                 </outcome>\r
                                                             </save>\r
         pfx='aai.vlan-tag' local-only='false'\r
 >\r
                                                                                 <outcome value='failure'>\r
-                                                                                    <block>\r
+                                                                                    <block atomic="true">\r
+                                                                                        <set>\r
+                                                                                            <parameter name="error-message" value="Error getting vlan-tag object from AAI" />\r
+                                                                                        </set>\r
                                                                                         <block atomic="true">\r
                                                                                             <set>\r
                                                                                                 <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                                                                 <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                                                             </set>\r
                                                                                             <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                                                            <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                                                                <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                                                                <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                                                                <parameter name="input.response-code" value="500" />\r
+                                                                                                <parameter name="input.response-message" value="`$error-message`" />\r
+                                                                                                <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                                                                <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                                                                <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                                                            </configure>\r
+                                                                                            <return status='failure'>\r
+                                                                                                <parameter name='ack-final' value='Y'/>\r
+                                                                                                <parameter name="error-code" value="500" />\r
+                                                                                                <parameter name="error-message" value="`$error-message`" />\r
+                                                                                            </return>\r
                                                                                         </block>\r
-                                                                                        <return status='failure'>\r
-                                                                                            <parameter name='ack-final' value='Y'/>\r
-                                                                                            <parameter name="error-code" value="500" />\r
-                                                                                            <parameter name="error-message" value="Error getting vlan-tag object from AAI" />\r
-                                                                                        </return>\r
                                                                                     </block>\r
                                                                                 </outcome>\r
                                                                                 <outcome value='success'>\r
                             <outcome value=''>\r
                                 <switch test='`$db.vf-model.avail-zone-max-count &gt; 0`'>\r
                                     <outcome value='true'>\r
-                                        <block>\r
+                                        <block atomic="true">\r
+                                            <set>\r
+                                                <parameter name="error-message" value="`'No availability zones found in AAI for cloud region '\r
+       + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`" />\r
+                                            </set>\r
                                             <block atomic="true">\r
                                                 <set>\r
                                                     <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                     <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                 </set>\r
                                                 <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                    <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                    <parameter name="input.response-code" value="500" />\r
+                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                    <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                    <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                    <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                </configure>\r
+                                                <return status='failure'>\r
+                                                    <parameter name='ack-final' value='Y'/>\r
+                                                    <parameter name="error-code" value="500" />\r
+                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                </return>\r
                                             </block>\r
-                                            <return status='failure'>\r
-                                                <parameter name='ack-final' value='Y'/>\r
-                                                <parameter name="error-code" value="500" />\r
-                                                <parameter name="error-message" value="`'No availability zones found in AAI for cloud region '\r
-       + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`" />\r
-                                            </return>\r
                                         </block>\r
                                     </outcome>\r
                                     <outcome value='false'>\r
                                     <parameter name="relationship-list.relationship[0].relationship-data[2].relationship-key" value="availability-zone.availability-zone-name" />\r
                                     <parameter name="relationship-list.relationship[0].relationship-data[2].relationship-value" value="`$aai.cloud-region.availability-zones.availability-zone[$idx].availability-zone-name`" />\r
                                     <outcome value='failure'>\r
-                                        <block>\r
+                                        <block atomic="true">\r
+                                            <set>\r
+                                                <parameter name="error-message" value="Error updating generic-vnf in AAI" />\r
+                                            </set>\r
                                             <block atomic="true">\r
                                                 <set>\r
                                                     <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                     <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                 </set>\r
                                                 <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                    <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                    <parameter name="input.response-code" value="500" />\r
+                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                    <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                    <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                    <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                </configure>\r
+                                                <return status='failure'>\r
+                                                    <parameter name='ack-final' value='Y'/>\r
+                                                    <parameter name="error-code" value="500" />\r
+                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                </return>\r
                                             </block>\r
-                                            <return status='failure'>\r
-                                                <parameter name='ack-final' value='Y'/>\r
-                                                <parameter name="error-code" value="500" />\r
-                                                <parameter name="error-message" value="Error updating generic-vnf in AAI" />\r
-                                            </return>\r
                                         </block>\r
                                     </outcome>\r
                                     <outcome value='not-found'>\r
-                                        <block>\r
+                                        <block atomic="true">\r
+                                            <set>\r
+                                                <parameter name="error-message" value="`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`" />\r
+                                            </set>\r
                                             <block atomic="true">\r
                                                 <set>\r
                                                     <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                     <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                 </set>\r
                                                 <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                    <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                    <parameter name="input.response-code" value="500" />\r
+                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                    <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                    <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                    <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                </configure>\r
+                                                <return status='failure'>\r
+                                                    <parameter name='ack-final' value='Y'/>\r
+                                                    <parameter name="error-code" value="500" />\r
+                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                </return>\r
                                             </block>\r
-                                            <return status='failure'>\r
-                                                <parameter name='ack-final' value='Y'/>\r
-                                                <parameter name="error-code" value="500" />\r
-                                                <parameter name="error-message" value="`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`" />\r
-                                            </return>\r
                                         </block>\r
                                     </outcome>\r
                                 </save>\r
                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="l3-network.network-id" />\r
                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-nw-index].network-id`" />\r
                                     <outcome value='failure'>\r
-                                        <block>\r
+                                        <block atomic="true">\r
+                                            <set>\r
+                                                <parameter name="error-message" value="Error updating generic-vnf in AAI" />\r
+                                            </set>\r
                                             <block atomic="true">\r
                                                 <set>\r
                                                     <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                     <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                 </set>\r
                                                 <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                    <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                    <parameter name="input.response-code" value="500" />\r
+                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                    <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                    <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                    <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                </configure>\r
+                                                <return status='failure'>\r
+                                                    <parameter name='ack-final' value='Y'/>\r
+                                                    <parameter name="error-code" value="500" />\r
+                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                </return>\r
                                             </block>\r
-                                            <return status='failure'>\r
-                                                <parameter name='ack-final' value='Y'/>\r
-                                                <parameter name="error-code" value="500" />\r
-                                                <parameter name="error-message" value="Error updating generic-vnf in AAI" />\r
-                                            </return>\r
                                         </block>\r
                                     </outcome>\r
                                     <outcome value='not-found'>\r
-                                        <block>\r
+                                        <block atomic="true">\r
+                                            <set>\r
+                                                <parameter name="error-message" value="`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`" />\r
+                                            </set>\r
                                             <block atomic="true">\r
                                                 <set>\r
                                                     <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                     <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                 </set>\r
                                                 <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                    <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                    <parameter name="input.response-code" value="500" />\r
+                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                    <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                    <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                    <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                </configure>\r
+                                                <return status='failure'>\r
+                                                    <parameter name='ack-final' value='Y'/>\r
+                                                    <parameter name="error-code" value="500" />\r
+                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                </return>\r
                                             </block>\r
-                                            <return status='failure'>\r
-                                                <parameter name='ack-final' value='Y'/>\r
-                                                <parameter name="error-code" value="500" />\r
-                                                <parameter name="error-message" value="`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`" />\r
-                                            </return>\r
                                         </block>\r
                                     </outcome>\r
                                 </save>\r
                             <parameter name="in-maint" value="true" />\r
                             <parameter name="selflink" value="`$vnf-object-path`" />\r
                             <outcome value='failure'>\r
-                                <block>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="Error updating selflink in generic-vnf in AAI" />\r
+                                    </set>\r
                                     <block atomic="true">\r
                                         <set>\r
                                             <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                             <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                         </set>\r
                                         <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
                                     </block>\r
-                                    <return status='failure'>\r
-                                        <parameter name='ack-final' value='Y'/>\r
-                                        <parameter name="error-code" value="500" />\r
-                                        <parameter name="error-message" value="Error updating selflink in generic-vnf in AAI" />\r
-                                    </return>\r
                                 </block>\r
                             </outcome>\r
                             <outcome value='not-found'>\r
-                                <block>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`" />\r
+                                    </set>\r
                                     <block atomic="true">\r
                                         <set>\r
                                             <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                             <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                         </set>\r
                                         <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
                                     </block>\r
-                                    <return status='failure'>\r
-                                        <parameter name='ack-final' value='Y'/>\r
-                                        <parameter name="error-code" value="500" />\r
-                                        <parameter name="error-message" value="`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`" />\r
-                                    </return>\r
                                 </block>\r
                             </outcome>\r
                         </update>\r
       value="`'/aai/v$/network/instance-groups/instance-group/'\r
         + $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id`" />\r
                                     <outcome value='failure'>\r
-                                        <block>\r
+                                        <block atomic="true">\r
+                                            <set>\r
+                                                <parameter name="error-message" value="Error updating relationship in generic-vnf in AAI" />\r
+                                            </set>\r
                                             <block atomic="true">\r
                                                 <set>\r
                                                     <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                     <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                 </set>\r
                                                 <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                    <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                    <parameter name="input.response-code" value="500" />\r
+                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                    <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                    <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                    <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                </configure>\r
+                                                <return status='failure'>\r
+                                                    <parameter name='ack-final' value='Y'/>\r
+                                                    <parameter name="error-code" value="500" />\r
+                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                </return>\r
                                             </block>\r
-                                            <return status='failure'>\r
-                                                <parameter name='ack-final' value='Y'/>\r
-                                                <parameter name="error-code" value="500" />\r
-                                                <parameter name="error-message" value="Error updating relationship in generic-vnf in AAI" />\r
-                                            </return>\r
                                         </block>\r
                                     </outcome>\r
                                     <outcome value='not-found'>\r
-                                        <block>\r
+                                        <block atomic="true">\r
+                                            <set>\r
+                                                <parameter name="error-message" value="`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`" />\r
+                                            </set>\r
                                             <block atomic="true">\r
                                                 <set>\r
                                                     <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
                                                     <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
                                                 </set>\r
                                                 <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                                <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                                    <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                                    <parameter name="input.ack-final-indicator" value="Y" />\r
+                                                    <parameter name="input.response-code" value="500" />\r
+                                                    <parameter name="input.response-message" value="`$error-message`" />\r
+                                                    <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                                    <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                                    <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                                </configure>\r
+                                                <return status='failure'>\r
+                                                    <parameter name='ack-final' value='Y'/>\r
+                                                    <parameter name="error-code" value="500" />\r
+                                                    <parameter name="error-message" value="`$error-message`" />\r
+                                                </return>\r
                                             </block>\r
-                                            <return status='failure'>\r
-                                                <parameter name='ack-final' value='Y'/>\r
-                                                <parameter name="error-code" value="500" />\r
-                                                <parameter name="error-message" value="`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`" />\r
-                                            </return>\r
                                         </block>\r
                                     </outcome>\r
                                 </save>\r
                             <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\r
                             <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\r
                         </set>\r
+                        <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+                            <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + 'vnf-data-assign.json'`" />\r
+                            <parameter name='restapiUrl' value="`$prop.controller.url + $tmp.vnf.url`" />\r
+                            <parameter name='restapiUser' value='`$prop.controller.user`' />\r
+                            <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\r
+                            <parameter name='format' value='json' />\r
+                            <parameter name='httpMethod' value='PUT' />\r
+                            <parameter name="responsePrefix" value="vnf-assign" />\r
+                            <outcome value='failure'>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="Error doing PUT of vnf-data" />\r
+                                    </set>\r
+                                    <block atomic="true">\r
+                                        <set>\r
+                                            <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
+                                            <parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\r
+                                            <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
+                                        </set>\r
+                                        <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
+                                    </block>\r
+                                </block>\r
+                            </outcome>\r
+                            <outcome value='not-found'>\r
+                                <block atomic="true">\r
+                                    <set>\r
+                                        <parameter name="error-message" value="Error doing PUT of vnf-data" />\r
+                                    </set>\r
+                                    <block atomic="true">\r
+                                        <set>\r
+                                            <parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\r
+                                            <parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\r
+                                            <parameter name='naming-policy-generate-name-input.action' value='DELETE' />\r
+                                        </set>\r
+                                        <call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' ></call>\r
+                                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                                            <parameter name="input.response-code" value="500" />\r
+                                            <parameter name="input.response-message" value="`$error-message`" />\r
+                                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                                        </configure>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`$error-message`" />\r
+                                        </return>\r
+                                    </block>\r
+                                </block>\r
+                            </outcome>\r
+                        </execute>\r
                         <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\r
                             <parameter name='filename' value='/var/tmp/bgb-vnf.log' />\r
                         </execute>\r
+                        <configure activate="true" adaptor="com.att.sdnctl.sli.adaptor.mso.MSOAdaptor" key="__READ_FROM_PARAMETERS__">\r
+                            <parameter name="notification-url" value="`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`" />\r
+                            <parameter name="input.ack-final-indicator" value="Y" />\r
+                            <parameter name="input.response-code" value="200" />\r
+                            <parameter name="input.svc-request-id" value="`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`" />\r
+                            <parameter name="input.service-information.service-type" value="`$vnf-topology-operation-input.service-information.subscription-service-type`" />\r
+                            <parameter name="input.service-information.service-instance-id" value="`$vnf-topology-operation-input.service-information.service-instance-id`" />\r
+                        </configure>\r
                         <return status='success'>\r
                             <parameter name="ack-final-indicator" value="Y" />\r
                             <parameter name="error-code" value="200" />\r
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-async.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-async.xml
new file mode 100644 (file)
index 0000000..69175f2
--- /dev/null
@@ -0,0 +1,28 @@
+<service-logic\r
+    xmlns='http://www.onap.org/sdnc/svclogic'\r
+    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}'>\r
+    <method rpc='vnf-topology-operation-async' mode='sync'>\r
+        <block atomic="true">\r
+            <set>\r
+                <parameter name='skip-mdsal-update' value='Y' />\r
+            </set>\r
+            <switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\r
+                <outcome value='assign'>\r
+                    <call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-assign' mode='sync' ></call>\r
+                </outcome>\r
+                <outcome value='Other'>\r
+                    <return status='failure'>\r
+                        <parameter name='ack-final' value='Y'/>\r
+                        <parameter name="error-code" value="500" />\r
+                        <parameter name="error-message" value="`$vnf-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`" />\r
+                    </return>\r
+                </outcome>\r
+            </switch>\r
+            <return status='success'>\r
+                <parameter name="ack-final-indicator" value="Y" />\r
+                <parameter name="error-code" value="200" />\r
+                <parameter name="error-message" value="`$error-message`" />\r
+            </return>\r
+        </block>\r
+    </method>\r
+</service-logic>
\ No newline at end of file
index cabcce5..ecee104 100644 (file)
@@ -6,7 +6,14 @@
             <call module='GENERIC-RESOURCE-API' rpc='validate-vnf-input' mode='sync' ></call>\r
             <switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\r
                 <outcome value='assign'>\r
-                    <call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-assign' mode='sync' ></call>\r
+                    <block atomic="true">\r
+                        <set>\r
+                            <parameter name='skip-mdsal-update' value='Y' />\r
+                        </set>\r
+                        <set>\r
+                            <parameter name='ack-final' value='N' />\r
+                        </set>\r
+                    </block>\r
                 </outcome>\r
                 <outcome value='activate'>\r
                     <block atomic="true">\r