GRAPI DG enhancement
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vnf-topology-operation-assign.json
old mode 100755 (executable)
new mode 100644 (file)
index a4bef39..cbe137c
-[
-  {
-    "id":"9ccf5f2f.39236",
-    "type":"dgstart",
-    "name":"DGSTART",
-    "outputs":1,
-    "x":116,
-    "y":91,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "6691cc73.e873a4"
-      ]
-    ]
-  },
-  {
-    "id":"6691cc73.e873a4",
-    "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.61902618408203,
-    "y":131.2381134033203,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "cc1c0bf8.946078"
-      ]
-    ]
-  },
-  {
-    "id":"cc1c0bf8.946078",
-    "type":"method",
-    "name":"method vnf-topology-operation-assign",
-    "xml":"<method rpc='vnf-topology-operation-assign' mode='sync'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":207.42862701416016,
-    "y":171,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "640dc66a.a29d78"
-      ]
-    ]
-  },
-  {
-    "id":"4433df34.49523",
-    "type":"comment",
-    "name":"vnf-topology-operation-assign",
-    "info":"",
-    "comments":"",
-    "x":510.34485626220703,
-    "y":38.58634376525879,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"69555d22.201ae4",
-    "type":"switchNode",
-    "name":"switch request-action",
-    "xml":"<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":517.8571395874023,
-    "y":368.19043922424316,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "21e7c9f9.301dc6",
-        "4592f6ea.c358a8"
-      ]
-    ]
-  },
-  {
-    "id":"21e7c9f9.301dc6",
-    "type":"outcome",
-    "name":"CreateVnfInstance",
-    "xml":"<outcome value='CreateVnfInstance'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":771.5714340209961,
-    "y":345.3333206176758,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "68be9a6d.905a74"
-      ]
-    ]
-  },
-  {
-    "id":"4592f6ea.c358a8",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":733.5713996887207,
-    "y":391.0476484298706,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "f9f1fcba.f8b9a"
-      ]
-    ]
-  },
-  {
-    "id":"68be9a6d.905a74",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":956.4285621643066,
-    "y":345.3333501815796,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"f9f1fcba.f8b9a",
-    "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":973.5714073181152,
-    "y":391.0476064682007,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"640dc66a.a29d78",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":146.11905670166016,
-    "y":1702.7857055664062,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "69555d22.201ae4",
-        "8493543d.d5add8",
-        "44e96447.88a55c",
-        "60a9b28e.fdbd6c",
-        "a2f5b96a.0efe28",
-        "38295564.a1749a",
-        "4b89c8dc.b86128",
-        "fdb92e2f.a354e",
-        "2a1ab274.7c2bee",
-        "992ab3fb.83b44",
-        "181944c4.0d0f9b",
-        "41755ac8.072364",
-        "e106d4bd.0d1078",
-        "1b1ec882.086847",
-        "2567269e.02750a",
-        "da9c0753.0051f8",
-        "e38c22e2.cce52",
-        "66001fe6.d89e4",
-        "99ebc7f4.ea5d68",
-        "c1d69c5f.488e1",
-        "71b9cf5e.13115",
-        "4bbcb529.9daacc",
-        "12e97c5b.66ee84",
-        "3d1f814c.368f2e",
-        "3315c9d5.fbc886",
-        "435802ab.cae41c",
-        "79756539.60282c",
-        "ca1ff11f.a4d9c",
-        "a7335a29.c13d48",
-        "ffd11c87.313e8",
-        "c8f006fe.b172c8"
-      ]
-    ]
-  },
-  {
-    "id":"8493543d.d5add8",
-    "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":530.1904449462891,
-    "y":459.333309173584,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "d5535827.ea8598",
-        "48a8f1af.2c0e6"
-      ]
-    ]
-  },
-  {
-    "id":"6f7a7f57.b3d91",
-    "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":971.6189231872559,
-    "y":482.7617950439453,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"d5535827.ea8598",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":730.9761428833008,
-    "y":439.7141466140747,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "6cb659f6.a3ccc8"
-      ]
-    ]
-  },
-  {
-    "id":"48a8f1af.2c0e6",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":739.5475730895996,
-    "y":483.9998598098755,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "6f7a7f57.b3d91"
-      ]
-    ]
-  },
-  {
-    "id":"6cb659f6.a3ccc8",
-    "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":970.9761238098145,
-    "y":437.85705375671387,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"44e96447.88a55c",
-    "type":"switchNode",
-    "name":"switch service-data.vnfs.vnf_length",
-    "xml":"<switch test='`$service-data.vnfs.vnf_length`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":560.2857131958008,
-    "y":649.5714282989502,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "b5587c41.e56ce",
-        "7e264606.a0c498"
-      ]
-    ]
-  },
-  {
-    "id":"b5587c41.e56ce",
-    "type":"other",
-    "name":"NULL",
-    "xml":"<outcome value=''>\n",
-    "comments":"",
-    "outputs":1,
-    "x":786.0000419616699,
-    "y":616.7142162322998,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "35287950.3f0336"
-      ]
-    ]
-  },
-  {
-    "id":"35287950.3f0336",
-    "type":"set",
-    "name":"set vnf-index=0",
-    "xml":"<set>\n<parameter name='vnf-index' value='0' />\n",
-    "comments":"",
-    "x":950.2857627868652,
-    "y":615.7142944335938,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"7e264606.a0c498",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":787.4286041259766,
-    "y":681.0000343322754,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "1e55cf6a.800ac1"
-      ]
-    ]
-  },
-  {
-    "id":"f93c00a3.b52d2",
-    "type":"set",
-    "name":"set vnf-index = vnf_length",
-    "xml":"<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",
-    "comments":"",
-    "x":1126.285758972168,
-    "y":659.285722732544,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"c5a883a5.29173",
-    "type":"for",
-    "name":"for each existing VNF",
-    "xml":"<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":1111.7142715454102,
-    "y":705.2856616973877,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "a2daf07b.6ee38"
-      ]
-    ]
-  },
-  {
-    "id":"1e55cf6a.800ac1",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":923.1428642272949,
-    "y":681,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "f93c00a3.b52d2",
-        "c5a883a5.29173"
-      ]
-    ]
-  },
-  {
-    "id":"a2daf07b.6ee38",
-    "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":1466.0000381469727,
-    "y":704.857141494751,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "a768ca3d.d2e178"
-      ]
-    ]
-  },
-  {
-    "id":"a768ca3d.d2e178",
-    "type":"outcomeTrue",
-    "name":"true",
-    "xml":"<outcome value='true'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1760.2857475280762,
-    "y":704.4286136627197,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "4be53ad3.39d424"
-      ]
-    ]
-  },
-  {
-    "id":"4be53ad3.39d424",
-    "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, and has order status ' + $service-data.vnfs.vnf[$idx].vnf-data.vnf-level-oper-status.order-status`\" />\n",
-    "comments":"",
-    "x":1908.8571548461914,
-    "y":704.4285736083984,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"5528274.a4ca8d8",
-    "type":"comment",
-    "name":"make sure this VNF doesn't exist already",
-    "info":"",
-    "comments":"",
-    "x":1453.1427688598633,
-    "y":662.4285717010498,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"60a9b28e.fdbd6c",
-    "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":515.9999694824219,
-    "y":811.238115310669,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"a2f5b96a.0efe28",
-    "type":"switchNode",
-    "name":"switch input vnf-name",
-    "xml":"<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-name`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":522.4285507202148,
-    "y":1053.8571615219116,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "a74ff6a8.d70078",
-        "5026858f.a2940c"
-      ]
-    ]
-  },
-  {
-    "id":"a74ff6a8.d70078",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":790.6427726745605,
-    "y":976.8333864212036,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "a1df7746.405bc8"
-      ]
-    ]
-  },
-  {
-    "id":"a535733d.56088",
-    "type":"switchNode",
-    "name":"switch ecomp-generated-naming",
-    "xml":"<switch test='`$db.vf-model.ecomp-generated-naming`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1207.071662902832,
-    "y":883.5002059936523,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "c481f2.a0820e1",
-        "fed6ce07.f1c9b",
-        "3606bd75.f9d982"
-      ]
-    ]
-  },
-  {
-    "id":"a1df7746.405bc8",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":936.3572692871094,
-    "y":976.833498954773,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "ba81df66.145ca",
-        "a99511f6.3ff61",
-        "a535733d.56088"
-      ]
-    ]
-  },
-  {
-    "id":"fed6ce07.f1c9b",
-    "type":"outcome",
-    "name":"N",
-    "xml":"<outcome value='N'>",
-    "comments":"",
-    "outputs":1,
-    "x":1456.357322692871,
-    "y":885.404914855957,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "10b3babc.98e1d5"
-      ]
-    ]
-  },
-  {
-    "id":"10b3babc.98e1d5",
-    "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":1610.64310836792,
-    "y":903.9763593673706,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"c481f2.a0820e1",
-    "type":"outcome",
-    "name":"Y",
-    "xml":"<outcome value='Y'>",
-    "comments":"",
-    "outputs":1,
-    "x":1456.3572883605957,
-    "y":841.1192359924316,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "785bb471.695f2c"
-      ]
-    ]
-  },
-  {
-    "id":"3606bd75.f9d982",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1456.357250213623,
-    "y":931.119234085083,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "10b3babc.98e1d5"
-      ]
-    ]
-  },
-  {
-    "id":"785bb471.695f2c",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":1593.5002326965332,
-    "y":841.1192359924316,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"5026858f.a2940c",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":793.2144546508789,
-    "y":1123.119125366211,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "14a356a5.aabd79"
-      ]
-    ]
-  },
-  {
-    "id":"3f38f6a8.e8ae7a",
-    "type":"set",
-    "name":"set tmp.vnf-name",
-    "xml":"<set>\n<parameter name='tmp.vnf-name' value=\"`$vnf-topology-operation-input.vnf-request-input.vnf-name`\" />\n",
-    "comments":"",
-    "x":1752.0715306599936,
-    "y":1190.5476417541504,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"ba81df66.145ca",
-    "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":1275.4763259887695,
-    "y":1049.8333959579468,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "d2300850.ff9928",
-        "88893e9e.26f3"
-      ]
-    ]
-  },
-  {
-    "id":"d2300850.ff9928",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1571.1906140645347,
-    "y":1022.6906585693359,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "a2f8f6ce.0d9048"
-      ]
-    ]
-  },
-  {
-    "id":"88893e9e.26f3",
-    "type":"success",
-    "name":"success",
-    "xml":"<outcome value='success'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1574.5239639282227,
-    "y":1074.3573017120361,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "e379d995.8d07c8"
-      ]
-    ]
-  },
-  {
-    "id":"a99511f6.3ff61",
-    "type":"set",
-    "name":"set variables for generating unique name",
-    "xml":"<set>\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<parameter name='generate-unique-name-input.index-length' value='2' />\n",
-    "comments":"",
-    "x":1232.1430130004883,
-    "y":998.1668043136597,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"e379d995.8d07c8",
-    "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":1815.7143491109214,
-    "y":1074.8333930969238,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"a2f8f6ce.0d9048",
-    "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":1739.0477269490561,
-    "y":1022.1191701889038,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"14a356a5.aabd79",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":941.1429824829102,
-    "y":1121.7858123779297,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "ddf542b0.c6011",
-        "fea292da.2d62c"
-      ]
-    ]
-  },
-  {
-    "id":"fea292da.2d62c",
-    "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":1271.1429824829102,
-    "y":1169.7858123779297,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "fe79a9ce.cff238",
-        "854320f4.a6951"
-      ]
-    ]
-  },
-  {
-    "id":"fe79a9ce.cff238",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1569.7143987019858,
-    "y":1139.785837173462,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "c71b771e.d085f8"
-      ]
-    ]
-  },
-  {
-    "id":"854320f4.a6951",
-    "type":"success",
-    "name":"success",
-    "xml":"<outcome value='success'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1573.0477485656738,
-    "y":1191.452480316162,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "3f38f6a8.e8ae7a"
-      ]
-    ]
-  },
-  {
-    "id":"ddf542b0.c6011",
-    "type":"set",
-    "name":"set variables for generating unique name",
-    "xml":"<set>\n<parameter name='generate-unique-name-input.name-table-type' value='VNF_INSTANCE' />\n<parameter name='generate-unique-name-input.supplied-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-name`' />\n",
-    "comments":"",
-    "x":1227.8096542358398,
-    "y":1118.1191844940186,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"c71b771e.d085f8",
-    "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":1737.5715115865073,
-    "y":1139.2143487930298,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"38295564.a1749a",
-    "type":"get-resource",
-    "name":"get-resource cloud region",
-    "xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"cloud-region\" \n\t\tkey=\"cloud-region.cloud-owner = 'CloudOwner' AND \n\t\t     cloud-region.cloud-region-id = $vnf-topology-operation-input.vnf-request-input.aic-cloud-region AND\n\t\t     depth='0'\"\n        pfx='aai.cloud-region' local-only='false' >\n\n",
-    "comments":"",
-    "outputs":1,
-    "x":544.5714492797852,
-    "y":1731.8569984436035,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "705615f3.8b4c9c",
-        "ad2a9079.440fb"
-      ]
-    ]
-  },
-  {
-    "id":"ad2a9079.440fb",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":769.8176422119141,
-    "y":1750.00785446167,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "2721b55e.e28fda"
-      ]
-    ]
-  },
-  {
-    "id":"2721b55e.e28fda",
-    "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":944.8176155090332,
-    "y":1750.007890701294,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"705615f3.8b4c9c",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":778.7462387084961,
-    "y":1708.2935876846313,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "5e971bd2.c85374"
-      ]
-    ]
-  },
-  {
-    "id":"5e971bd2.c85374",
-    "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":945.095516204834,
-    "y":1707.5991649627686,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"4b89c8dc.b86128",
-    "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":609.8095321655273,
-    "y":2042.9045181274414,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "54fe96c4.2ade08",
-        "73ebe04c.8877"
-      ]
-    ]
-  },
-  {
-    "id":"fc2923af.cfa16",
-    "type":"returnFailure",
-    "name":"return failure",
-    "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'No entries found in VF_TO_NETWORK_ROLE_MAPPING for VNF customization UUID ' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\" />\n",
-    "comments":"",
-    "x":1345.5237121582031,
-    "y":2060.618698120117,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"54fe96c4.2ade08",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":905.5952033996582,
-    "y":2021.6186828613281,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "359e53d8.b8194c"
-      ]
-    ]
-  },
-  {
-    "id":"73ebe04c.8877",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":914.166633605957,
-    "y":2065.904396057129,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "ce44b8cb.59b0b8"
-      ]
-    ]
-  },
-  {
-    "id":"359e53d8.b8194c",
-    "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":1080.5951843261719,
-    "y":2021.4283332824707,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"256b9444.46e22c",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":710.5715866088867,
-    "y":2491.71391582489,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "94f38af4.602b28",
-        "94677688.71e6b8",
-        "adf1fe7e.9a17b",
-        "aae66b2d.04c758",
-        "f2668cde.bd454",
-        "2eaed654.44544a",
-        "ebe74367.6c98d",
-        "a16a767c.1d4a58"
-      ]
-    ]
-  },
-  {
-    "id":"adf1fe7e.9a17b",
-    "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":943.4286041259766,
-    "y":2170.999779701233,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "e410cae.f805538",
-        "d30ae5a6.b9bd78"
-      ]
-    ]
-  },
-  {
-    "id":"d30ae5a6.b9bd78",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1147.476318359375,
-    "y":2193.1426191329956,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "3ac2e1b4.70cbce"
-      ]
-    ]
-  },
-  {
-    "id":"3ac2e1b4.70cbce",
-    "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":1322.4762916564941,
-    "y":2193.1426553726196,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"e410cae.f805538",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1156.404914855957,
-    "y":2151.428352355957,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "5d3fbb26.bfed54"
-      ]
-    ]
-  },
-  {
-    "id":"5d3fbb26.bfed54",
-    "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":1322.754192352295,
-    "y":2150.7339296340942,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"94f38af4.602b28",
-    "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":932.6191940307617,
-    "y":2658.0000228881836,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"181944c4.0d0f9b",
-    "type":"for",
-    "name":"for each cloud-region availability zone",
-    "xml":"<for index='idx' start='0' end='`$aai.az.availability-zone_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":544.3335571289062,
-    "y":3072.618803024292,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "7193ae4f.a03bb"
-      ]
-    ]
-  },
-  {
-    "id":"bec7777f.49caa8",
-    "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.az.availability-zone[$idx].availability-zone-name`' />\n",
-    "comments":"",
-    "x":1006.0002403259277,
-    "y":3041.952217102051,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"41755ac8.072364",
-    "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":503.9524841308594,
-    "y":2922.5711631774902,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"4fed1d67.892644",
-    "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":970.5240173339844,
-    "y":3216.381015777588,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "b6fac54b.97ab18",
-        "8f7c44dc.2bfaf8"
-      ]
-    ]
-  },
-  {
-    "id":"2567269e.02750a",
-    "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":467.0953674316406,
-    "y":3603.1901140213013,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"1b1ec882.086847",
-    "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":556.9088134765625,
-    "y":3505.527594566345,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"2a1ab274.7c2bee",
-    "type":"for",
-    "name":"for each network-role",
-    "xml":"<for index='role-index' start='0' end='`$db.vf-network-role-mapping_length`'>",
-    "comments":"",
-    "outputs":1,
-    "x":493.90489196777344,
-    "y":2491.7141189575195,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "256b9444.46e22c"
-      ]
-    ]
-  },
-  {
-    "id":"fdb92e2f.a354e",
-    "type":"set",
-    "name":"set network-index = 0",
-    "xml":"<set>\n<parameter name='network-index' value='0' />\n",
-    "comments":"",
-    "x":512.2380676269531,
-    "y":2109.8094577789307,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"94677688.71e6b8",
-    "type":"set",
-    "name":"increment network-index",
-    "xml":"<set>\n<parameter name='network-index' value='`$network-index + 1`' />\n",
-    "comments":"",
-    "x":942.9525146484375,
-    "y":2795.6189250946045,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"992ab3fb.83b44",
-    "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":502.8095703125,
-    "y":2872.571207046509,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"e106d4bd.0d1078",
-    "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":472.4286422729492,
-    "y":3453.1904258728027,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"da9c0753.0051f8",
-    "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":493.52392578125,
-    "y":3215.380931854248,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "4dd068e4.b72dc8"
-      ]
-    ]
-  },
-  {
-    "id":"4dd068e4.b72dc8",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":697.1905670166016,
-    "y":3215.380892753601,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "4fed1d67.892644"
-      ]
-    ]
-  },
-  {
-    "id":"e38c22e2.cce52",
-    "type":"set",
-    "name":"set new vnf_length",
-    "xml":"<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n",
-    "comments":"",
-    "x":508.0952491760254,
-    "y":765.7619781494141,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"66001fe6.d89e4",
-    "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":557.4285736083984,
-    "y":1819.0951700210571,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "c5d7b884.059e78"
-      ]
-    ]
-  },
-  {
-    "id":"c5d7b884.059e78",
-    "type":"switchNode",
-    "name":"switch related-to",
-    "xml":"<switch test='`$aai.cloud-region.relationship-list.relationship[$idx].related-to`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":805.1071166992188,
-    "y":1818.8450994491577,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "2d88636e.c052fc"
-      ]
-    ]
-  },
-  {
-    "id":"2d88636e.c052fc",
-    "type":"outcome",
-    "name":"complex",
-    "xml":"<outcome value='complex'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":974.5714378356934,
-    "y":1818.2379217147827,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "7c602050.7b0ac"
-      ]
-    ]
-  },
-  {
-    "id":"cbda08be.5e00d8",
-    "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":1295.2857360839844,
-    "y":1817.9045791625977,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"99ebc7f4.ea5d68",
-    "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":493.3333511352539,
-    "y":1975.0474872589111,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "1bb0c6a6.aa0059"
-      ]
-    ]
-  },
-  {
-    "id":"1bb0c6a6.aa0059",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":641.4761848449707,
-    "y":1975.0474700927734,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "9d910b9.8f160f8"
-      ]
-    ]
-  },
-  {
-    "id":"9d910b9.8f160f8",
-    "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":788.6190452575684,
-    "y":1974.6189041137695,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"911708ca.a4ec28",
-    "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":916.9287452697754,
-    "y":1291.0475587844849,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"b87037e6.eb7448",
-    "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":1050.8811492919922,
-    "y":2414.571388244629,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "4cb7a54f.4eeccc"
-      ]
-    ]
-  },
-  {
-    "id":"4cb7a54f.4eeccc",
-    "type":"switchNode",
-    "name":"switch orchestration-status",
-    "xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].orchestration-status`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1279.452350616455,
-    "y":2413.142815589905,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "65732b9e.885204",
-        "f80fc6c2.030438",
-        "265b5201.897f0e",
-        "f51d095f.d31e98",
-        "41d53be7.1f6d94"
-      ]
-    ]
-  },
-  {
-    "id":"65732b9e.885204",
-    "type":"outcome",
-    "name":"Pending Delete",
-    "xml":"<outcome value='Pending Delete'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1516.1192626953125,
-    "y":2458.8095235824585,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "716a882.9ab7178"
-      ]
-    ]
-  },
-  {
-    "id":"f80fc6c2.030438",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1488.9764022827148,
-    "y":2509.809504508972,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "c6e8990a.ebd138"
-      ]
-    ]
-  },
-  {
-    "id":"3a777e92.27b412",
-    "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":1854.6907539367676,
-    "y":2508.3808450698853,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "7ebd2a2d.1adc64"
-      ]
-    ]
-  },
-  {
-    "id":"c6e8990a.ebd138",
-    "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":1658.9763145446777,
-    "y":2509.3808813095093,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "3a777e92.27b412"
-      ]
-    ]
-  },
-  {
-    "id":"7ebd2a2d.1adc64",
-    "type":"outcome",
-    "name":"cloud-region",
-    "xml":"<outcome value='cloud-region'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":2028.9763946533203,
-    "y":2507.9522914886475,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "91da1633.e19528"
-      ]
-    ]
-  },
-  {
-    "id":"91da1633.e19528",
-    "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":2226.119094848633,
-    "y":2508.380759239197,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "7571e6bb.7c1e98"
-      ]
-    ]
-  },
-  {
-    "id":"7571e6bb.7c1e98",
-    "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":2457.547695159912,
-    "y":2507.9521341323853,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "99351695.fbd508"
-      ]
-    ]
-  },
-  {
-    "id":"99351695.fbd508",
-    "type":"outcome",
-    "name":"cloud-region.cloud-region-id",
-    "xml":"<outcome value='cloud-region.cloud-region-id'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":2698.9762268066406,
-    "y":2507.95223903656,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "52fbb392.9ae0fc"
-      ]
-    ]
-  },
-  {
-    "id":"52fbb392.9ae0fc",
-    "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":3003.2621459960938,
-    "y":2507.8092947006226,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "30d6670a.932068"
-      ]
-    ]
-  },
-  {
-    "id":"30d6670a.932068",
-    "type":"outcomeTrue",
-    "name":"true",
-    "xml":"<outcome value='true'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":3243.262176513672,
-    "y":2507.9522399902344,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "f3bd4d0.b8b78b"
-      ]
-    ]
-  },
-  {
-    "id":"aae66b2d.04c758",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":889.0953330993652,
-    "y":2482.4284858703613,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "b87037e6.eb7448",
-        "c901ec1c.1186a"
-      ]
-    ]
-  },
-  {
-    "id":"c901ec1c.1186a",
-    "type":"returnSuccess",
-    "name":"CATCH BREAK",
-    "xml":"<return status='success'>\n\n",
-    "comments":"",
-    "x":1040.4287414550781,
-    "y":2555.7617197036743,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"4cb4ba60.e5ecf4",
-    "type":"returnFailure",
-    "name":"BREAK",
-    "xml":"<return status='failure'>\n",
-    "comments":"",
-    "x":3544.095157623291,
-    "y":2525.761643409729,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"f2668cde.bd454",
-    "type":"set",
-    "name":"set l3-network-id = -1",
-    "xml":"<set>\n<parameter name='l3-network-id' value='-1' />\n",
-    "comments":"",
-    "x":933.4287033081055,
-    "y":2285.7616996765137,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"f3bd4d0.b8b78b",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":3389.0951538085938,
-    "y":2507.4283485412598,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "26d1bdef.32da62",
-        "4cb4ba60.e5ecf4"
-      ]
-    ]
-  },
-  {
-    "id":"26d1bdef.32da62",
-    "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":3625.7618255615234,
-    "y":2482.4283475875854,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"2eaed654.44544a",
-    "type":"switchNode",
-    "name":"switch l3-network-id",
-    "xml":"<switch test='`$l3-network-id`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":930.4286270141602,
-    "y":2609.428741455078,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "94d5eb5b.9dfb28"
-      ]
-    ]
-  },
-  {
-    "id":"94d5eb5b.9dfb28",
-    "type":"outcome",
-    "name":"-1",
-    "xml":"<outcome value='-1'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1100.4285774230957,
-    "y":2609.428497314453,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "819df612.f478a8"
-      ]
-    ]
-  },
-  {
-    "id":"819df612.f478a8",
-    "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":1248.7619400024414,
-    "y":2609.4286346435547,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"c1d69c5f.488e1",
-    "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":560.7858200073242,
-    "y":1313.8720026016235,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "81712284.6061f",
-        "bbef1dff.d32a1"
-      ]
-    ]
-  },
-  {
-    "id":"81712284.6061f",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":766.4524917602539,
-    "y":1291.0149660110474,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "911708ca.a4ec28"
-      ]
-    ]
-  },
-  {
-    "id":"bbef1dff.d32a1",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":767.8810882568359,
-    "y":1335.3005571365356,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "9d361538.39a998"
-      ]
-    ]
-  },
-  {
-    "id":"9d361538.39a998",
-    "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":922.1668243408203,
-    "y":1334.7291293144226,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"c01c75b7.d771a8",
-    "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":917.8810157775879,
-    "y":1379.5862350463867,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"71b9cf5e.13115",
-    "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":533.4048385620117,
-    "y":1402.4107398986816,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "cb6c4216.48671",
-        "51d9dbfe.50eec4"
-      ]
-    ]
-  },
-  {
-    "id":"cb6c4216.48671",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":767.4048118591309,
-    "y":1379.553671836853,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "c01c75b7.d771a8"
-      ]
-    ]
-  },
-  {
-    "id":"51d9dbfe.50eec4",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":768.8334083557129,
-    "y":1423.8392629623413,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "8668309.94373d"
-      ]
-    ]
-  },
-  {
-    "id":"8668309.94373d",
-    "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":923.1191444396973,
-    "y":1423.2678351402283,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"f9c5e77b.b35768",
-    "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":915.0239486694336,
-    "y":1468.4434423446655,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"4bbcb529.9daacc",
-    "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":541.5477104187012,
-    "y":1491.2678871154785,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "a7d107ab.83c758",
-        "78b9d8ab.538148"
-      ]
-    ]
-  },
-  {
-    "id":"a7d107ab.83c758",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":764.5476951599121,
-    "y":1468.410849571228,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "f9c5e77b.b35768"
-      ]
-    ]
-  },
-  {
-    "id":"78b9d8ab.538148",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":765.9762916564941,
-    "y":1512.6964406967163,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "e7c733ab.83255"
-      ]
-    ]
-  },
-  {
-    "id":"e7c733ab.83255",
-    "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":920.2620277404785,
-    "y":1512.1250128746033,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"5c05bbe1.d44bc4",
-    "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":915.0239486694336,
-    "y":1555.5862646102905,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"12e97c5b.66ee84",
-    "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":536.5477104187012,
-    "y":1578.4107093811035,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "af70cdb.ef6023",
-        "f3d34dfc.cbd31"
-      ]
-    ]
-  },
-  {
-    "id":"af70cdb.ef6023",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":764.5476951599121,
-    "y":1555.553671836853,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "5c05bbe1.d44bc4"
-      ]
-    ]
-  },
-  {
-    "id":"f3d34dfc.cbd31",
-    "type":"other",
-    "name":"other",
-    "xml":"<outcome value='Other'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":765.9762916564941,
-    "y":1599.8392629623413,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "ba8a085e.f15f18"
-      ]
-    ]
-  },
-  {
-    "id":"ba8a085e.f15f18",
-    "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":920.2620277404785,
-    "y":1599.2678351402283,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"716a882.9ab7178",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":1669.3333549499512,
-    "y":2459.586400985718,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"41d53be7.1f6d94",
-    "type":"outcome",
-    "name":"PendingDelete",
-    "xml":"<outcome value='PendingDelete'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1513.9999961853027,
-    "y":2414.5863151550293,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "88ce6156.79525"
-      ]
-    ]
-  },
-  {
-    "id":"88ce6156.79525",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":1669.2140884399414,
-    "y":2415.3631925582886,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"f51d095f.d31e98",
-    "type":"outcome",
-    "name":"Pending Create",
-    "xml":"<outcome value='Pending Create'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1515.9999961853027,
-    "y":2371.2528190612793,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "1d66b0a7.bf415f"
-      ]
-    ]
-  },
-  {
-    "id":"1d66b0a7.bf415f",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":1669.2140884399414,
-    "y":2372.0296964645386,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"265b5201.897f0e",
-    "type":"outcome",
-    "name":"PendingCreate",
-    "xml":"<outcome value='PendingCreate'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1515.9999961853027,
-    "y":2327.9195671081543,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "569d335c.bf6c3c"
-      ]
-    ]
-  },
-  {
-    "id":"569d335c.bf6c3c",
-    "type":"block",
-    "name":"block",
-    "xml":"<block>\n",
-    "atomic":"false",
-    "comments":"",
-    "outputs":1,
-    "x":1669.2140884399414,
-    "y":2328.6964445114136,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"ebe74367.6c98d",
-    "type":"for",
-    "name":"for each A&AI subnet",
-    "xml":"<for index='subnet-index' start='0' end='`$aai.l3-network.l3-network[0].subnets.subnet_length`' >\n",
-    "comments":"",
-    "outputs":1,
-    "x":932.6667633056641,
-    "y":2702.919626235962,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "cfa19178.3c2c3"
-      ]
-    ]
-  },
-  {
-    "id":"cfa19178.3c2c3",
-    "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='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].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].subnet-id`' />\n",
-    "comments":"",
-    "x":1130.9999389648438,
-    "y":2701.2532052993774,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"a16a767c.1d4a58",
-    "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[0].subnets.subnet_length`' />\n",
-    "comments":"",
-    "x":921.3333282470703,
-    "y":2747.919708251953,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"3d1f814c.368f2e",
-    "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.az.availability-zone_length`' />\n",
-    "comments":"",
-    "x":564.0000610351562,
-    "y":3160.6342582702637,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"3315c9d5.fbc886",
-    "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":497.66663360595703,
-    "y":1247.9197664260864,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"435802ab.cae41c",
-    "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=\"selflink\" value=\"`$vnf-object-path`\" />\n",
-    "comments":"",
-    "outputs":1,
-    "x":484.3333282470703,
-    "y":3370.300033569336,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "a1a2ecfe.5a9f7",
-        "63cf7c2e.6403d4"
-      ]
-    ]
-  },
-  {
-    "id":"79756539.60282c",
-    "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\n",
-    "comments":"",
-    "x":484.33336639404297,
-    "y":3300.30051612854,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"ca1ff11f.a4d9c",
-    "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":485.9999771118164,
-    "y":1199.5863094329834,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"858218a8.523588",
-    "type":"execute",
-    "name":"printContext",
-    "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-viprend.log' />\n",
-    "comments":"",
-    "outputs":1,
-    "x":462.00009536743164,
-    "y":3551.967363357544,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"90fb466f.03aa88",
-    "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":1407.666805267334,
-    "y":3236.9671211242676,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"b6fac54b.97ab18",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1220.3573722839355,
-    "y":3193.919590950012,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "3c644fce.dbe83"
-      ]
-    ]
-  },
-  {
-    "id":"8f7c44dc.2bfaf8",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1228.9288024902344,
-    "y":3238.205304145813,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "90fb466f.03aa88"
-      ]
-    ]
-  },
-  {
-    "id":"3c644fce.dbe83",
-    "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":1410.3573989868164,
-    "y":3193.729326248169,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"635e0959.ef5968",
-    "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":887.6667442321777,
-    "y":3391.967043876648,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"a1a2ecfe.5a9f7",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":700.3573112487793,
-    "y":3348.9195137023926,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "dc15263a.8bf0c8"
-      ]
-    ]
-  },
-  {
-    "id":"63cf7c2e.6403d4",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":708.9287414550781,
-    "y":3393.2052268981934,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "635e0959.ef5968"
-      ]
-    ]
-  },
-  {
-    "id":"dc15263a.8bf0c8",
-    "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":890.3573379516602,
-    "y":3348.7292490005493,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"a7335a29.c13d48",
-    "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":549.3332977294922,
-    "y":1651.2529134750366,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"f96ea41d.1ff208",
-    "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":1314.6665954589844,
-    "y":1772.6664972305298,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-
-      ]
-    ]
-  },
-  {
-    "id":"7c602050.7b0ac",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":1134.3332977294922,
-    "y":1819.333285331726,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "f96ea41d.1ff208",
-        "cbda08be.5e00d8",
-        "b2382668.d3f318"
-      ]
-    ]
-  },
-  {
-    "id":"b2382668.d3f318",
-    "type":"break",
-    "name":"break",
-    "xml":"<break>\n",
-    "comments":"",
-    "x":1284.3332595825195,
-    "y":1862.666582107544,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"7193ae4f.a03bb",
-    "type":"block",
-    "name":"block : atomic",
-    "xml":"<block atomic=\"true\">",
-    "atomic":"true",
-    "outputs":1,
-    "x":796,
-    "y":3071.7143869400024,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "bec7777f.49caa8",
-        "2fe66adc.46b646"
-      ]
-    ]
-  },
-  {
-    "id":"2fe66adc.46b646",
-    "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=\"CloudOwner\" />\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.az.availability-zone[$idx].availability-zone-name`\" />\n",
-    "comments":"",
-    "outputs":1,
-    "x":1087.9048156738281,
-    "y":3095.0478343963623,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "31eeede2.e6b5f2",
-        "9e258d80.f8a09"
-      ]
-    ]
-  },
-  {
-    "id":"51e42555.9814cc",
-    "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":1541.47607421875,
-    "y":3118.9671936035156,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"31eeede2.e6b5f2",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1354.1666412353516,
-    "y":3075.9196634292603,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "e9675503.f145d8"
-      ]
-    ]
-  },
-  {
-    "id":"9e258d80.f8a09",
-    "type":"not-found",
-    "name":"not-found",
-    "xml":"<outcome value='not-found'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1362.7380714416504,
-    "y":3120.205376625061,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "51e42555.9814cc"
-      ]
-    ]
-  },
-  {
-    "id":"e9675503.f145d8",
-    "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":1544.1666679382324,
-    "y":3075.729398727417,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"ce44b8cb.59b0b8",
-    "type":"set",
-    "name":"set mapping rows to 0",
-    "xml":"<set>\n<parameter name='db.vf-network-role-mapping_length' value='0' />\n",
-    "comments":"",
-    "x":1108.1427688598633,
-    "y":2065.52388381958,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"ffd11c87.313e8",
-    "type":"switchNode",
-    "name":"switch AAI availability-zone_length",
-    "xml":"<switch test='`$aai.az.availability-zone_length`'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":536.7142868041992,
-    "y":2975.523973464966,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "f7464066.4b3d4"
-      ]
-    ]
-  },
-  {
-    "id":"f7464066.4b3d4",
-    "type":"outcome",
-    "name":"NULL",
-    "xml":"<outcome value=''>",
-    "comments":"",
-    "outputs":1,
-    "x":755.2857055664062,
-    "y":2975.0953826904297,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "632fea45.95b4c4"
-      ]
-    ]
-  },
-  {
-    "id":"797aa504.5376fc",
-    "type":"set",
-    "name":"set availability-zone_length to 0",
-    "xml":"<set>\n<parameter name='aai.az.availability-zone_length' value='0' />\n",
-    "comments":"",
-    "x":1356.7143478393555,
-    "y":2993.6666202545166,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"632fea45.95b4c4",
-    "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":943.857177734375,
-    "y":2975.5236945152283,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "c29ececd.4b1d9",
-        "1e15158e.a3fbea"
-      ]
-    ]
-  },
-  {
-    "id":"c29ececd.4b1d9",
-    "type":"outcomeTrue",
-    "name":"true",
-    "xml":"<outcome value='true'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1146.7142848968506,
-    "y":2949.8094444274902,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "66595a0d.b7fbd4"
-      ]
-    ]
-  },
-  {
-    "id":"1e15158e.a3fbea",
-    "type":"outcomeFalse",
-    "name":"false",
-    "xml":"<outcome value='false'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":1148.1429061889648,
-    "y":2994.0951919555664,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "797aa504.5376fc"
-      ]
-    ]
-  },
-  {
-    "id":"66595a0d.b7fbd4",
-    "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":1298.142822265625,
-    "y":2949.5238494873047,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"c8f006fe.b172c8",
-    "type":"get-resource",
-    "name":"get-resource availability zones",
-    "xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"availability-zones\" \n\t\tkey=\"cloud-region.cloud-owner = 'CloudOwner' AND \n\t\t     cloud-region.cloud-region-id = $vnf-topology-operation-input.vnf-request-input.aic-cloud-region AND\n\t\t     depth='0'\"\n        pfx='aai.az' local-only='false' >\n\n",
-    "comments":"",
-    "outputs":1,
-    "x":546.7143096923828,
-    "y":1902.4286441802979,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "9a0f1e6d.bbdfb"
-      ]
-    ]
-  },
-  {
-    "id":"9a0f1e6d.bbdfb",
-    "type":"failure",
-    "name":"failure",
-    "xml":"<outcome value='failure'>\n",
-    "comments":"",
-    "outputs":1,
-    "x":771.9605255126953,
-    "y":1901.829496383667,
-    "z":"fd246789.67c9b8",
-    "wires":[
-      [
-        "57e15af7.8d7174"
-      ]
-    ]
-  },
-  {
-    "id":"57e15af7.8d7174",
-    "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 availability zones from AAI\" />\n",
-    "comments":"",
-    "x":945.7104644775391,
-    "y":1900.5796184539795,
-    "z":"fd246789.67c9b8",
-    "wires":[
-
-    ]
-  }
+[\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