aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-assign-rollback.json
blob: 6e03146f3bbd1a4424f59cbb2fa0fc17fb4725af (plain)
1
[{"id":"6611cc33.4769b4","type":"dgstart","name":"DGSTART","outputs":1,"x":105.71428680419922,"y":91.42857360839844,"z":"a61c8125.05663","wires":[["7b118e78.11ed4"]]},{"id":"7b118e78.11ed4","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":219.5714225769043,"y":131.23811149597168,"z":"a61c8125.05663","wires":[["6d23713a.ece31"]]},{"id":"6d23713a.ece31","type":"method","name":"method vf-module-topology-assign-rollback","xml":"<method rpc='vf-module-topology-assign-rollback' mode='sync'>\n","comments":"","outputs":1,"x":209.14291381835938,"y":171.42857360839844,"z":"a61c8125.05663","wires":[["1ef2c7cc.806e28"]]},{"id":"8be58336.3605a","type":"comment","name":"vf-module-topology-assign-rollback","info":"","comments":"","x":511.03538513183594,"y":34.40427303314209,"z":"a61c8125.05663","wires":[]},{"id":"a01c30ff.0f7af","type":"update","name":"update EIPAM_IP_ASSIGNMENTS to PENDING_DELETE...","xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\"\nkey=\"UPDATE EIPAM_IP_ASSIGNMENTS set status = $tmp.status WHERE info = $vf-module-topology-operation-input.vf-module-information.vf-module-id\" >","comments":"","outputs":1,"x":1126.3812255859375,"y":675.3092555999756,"z":"a61c8125.05663","wires":[[]]},{"id":"1e357beb.2c72e4","type":"set","name":"set status variable","xml":"<set>\n<parameter name='tmp.status' value=\"`'PENDING_DELETE_' + $vf-module-topology-operation-input.vf-module-information.vf-module-id`\" />\n                                                          ","comments":"","x":996.3811874389648,"y":628.6426277160645,"z":"a61c8125.05663","wires":[]},{"id":"308dbb1b.4b3c04","type":"execute","name":"execute EIPAM unassign IP addresses","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"unassignIPAddress\">\n<parameter name=\"deleteEIPAM_status\" value=\"`$tmp.status`\" />\n","comments":"","outputs":1,"x":1061.3811950683594,"y":720.3092994689941,"z":"a61c8125.05663","wires":[[]]},{"id":"919b7d2.b4b918","type":"comment","name":"roll back EIPAM","info":"","comments":"","x":931.3812637329102,"y":585.3096097310381,"z":"a61c8125.05663","wires":[]},{"id":"a13d2e4e.a523c","type":"block","name":"block","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":803.0478515625,"y":678.6427516937256,"z":"a61c8125.05663","wires":[["1e357beb.2c72e4","a01c30ff.0f7af","308dbb1b.4b3c04"]]},{"id":"ba58563d.0eb648","type":"switchNode","name":"switch from-preload","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.from-preload`'>\n","comments":"","outputs":1,"x":475.1192398071289,"y":742.8090019226074,"z":"a61c8125.05663","wires":[["68faff6b.f3735","9c0e13b.fd149f"]]},{"id":"68faff6b.f3735","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":670.3575553894043,"y":679.4758968353271,"z":"a61c8125.05663","wires":[["a13d2e4e.a523c"]]},{"id":"9c0e13b.fd149f","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":670.3574600219727,"y":814.1424045562744,"z":"a61c8125.05663","wires":[["34c11a61.6742b6"]]},{"id":"c94ef24c.014d3","type":"block","name":"block","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1500.0239372253418,"y":846.1423978805542,"z":"a61c8125.05663","wires":[["86bdf4ae.5607f8","2297dcb6.fa7cd4"]]},{"id":"2297dcb6.fa7cd4","type":"call","name":"call GENERIC-RESOURCE-API:naming-policy-generate-name","xml":"<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n","comments":"","outputs":1,"x":1812.3096733093262,"y":870.7139158248901,"z":"a61c8125.05663","wires":[[]]},{"id":"86bdf4ae.5607f8","type":"set","name":"set variables for deleting name","xml":"<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNFC' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n","comments":"","x":1713.7382926940918,"y":823.5709867477417,"z":"a61c8125.05663","wires":[]},{"id":"34c11a61.6742b6","type":"for","name":"for each vm-type","xml":"<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n","comments":"","outputs":1,"x":838.3576049804688,"y":813.4756898880005,"z":"a61c8125.05663","wires":[["898bc38a.96afc"]]},{"id":"898bc38a.96afc","type":"for","name":"for each vnfc","xml":"<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n","comments":"","outputs":1,"x":1017.3576812744141,"y":813.4756650924683,"z":"a61c8125.05663","wires":[["9842cf80.216a"]]},{"id":"9842cf80.216a","type":"switchNode","name":"switch vnfc-name","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`'>\n","comments":"","outputs":1,"x":1200.3576126098633,"y":812.8089828491211,"z":"a61c8125.05663","wires":[["a5d6eeb7.cc2c","dde3b95d.baaee8"]]},{"id":"a5d6eeb7.cc2c","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1368.6908721923828,"y":779.4756889343262,"z":"a61c8125.05663","wires":[["d64466.efbceb98"]]},{"id":"dde3b95d.baaee8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1370.3575439453125,"y":845.6662015914917,"z":"a61c8125.05663","wires":[["c94ef24c.014d3"]]},{"id":"d64466.efbceb98","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1498.690715789795,"y":777.8090410232544,"z":"a61c8125.05663","wires":[[]]},{"id":"fa63ca43.680b98","type":"comment","name":"Rollback any generated VNFC names","info":"","comments":"","x":1013.6907348632812,"y":766.1423406600952,"z":"a61c8125.05663","wires":[]},{"id":"1ef2c7cc.806e28","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":182.49995803833008,"y":808.1428642272949,"z":"a61c8125.05663","wires":[["ba58563d.0eb648","8bb03b2.6971fc8","dc598f4f.0b826","ccd731c.18275d"]]},{"id":"8bb03b2.6971fc8","type":"for","name":"for each vm-type","xml":"<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n","comments":"","outputs":1,"x":462.2142868041992,"y":1020.9285650253296,"z":"a61c8125.05663","wires":[["6018acd1.59ed74"]]},{"id":"6018acd1.59ed74","type":"block","name":"block","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":646.047664642334,"y":1021.7620649337769,"z":"a61c8125.05663","wires":[["fc4b790f.ebea58","36046fb1.d665f"]]},{"id":"fc4b790f.ebea58","type":"for","name":"for each vnfc","xml":"<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n","comments":"","outputs":1,"x":819.3810234069824,"y":950.4290561676025,"z":"a61c8125.05663","wires":[["69ee7e57.c2841"]]},{"id":"69ee7e57.c2841","type":"switchNode","name":"switch created_flag","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].created_flag`'>\n","comments":"","outputs":1,"x":1012.2142448425293,"y":948.9285917282104,"z":"a61c8125.05663","wires":[["93833642.a20a88"]]},{"id":"93833642.a20a88","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1186.2142448425293,"y":948.9285917282104,"z":"a61c8125.05663","wires":[["546c17e9.29eb28"]]},{"id":"546c17e9.29eb28","type":"delete","name":"delete vnfc from A&AI","xml":"<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n        resource=\"vnfc\" \n        key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\" >","comments":"","outputs":1,"x":1366.2142448425293,"y":948.9285917282104,"z":"a61c8125.05663","wires":[[]]},{"id":"ad537e73.9d32d","type":"comment","name":"delete A&AI objects","info":"","comments":"","x":520.2142753601074,"y":948.9285678863525,"z":"a61c8125.05663","wires":[]},{"id":"36046fb1.d665f","type":"for","name":"for each vm-network","xml":"<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n","comments":"","outputs":1,"x":850.8810844421387,"y":1078.595682144165,"z":"a61c8125.05663","wires":[["a8cd7435.4bc028"]]},{"id":"a8cd7435.4bc028","type":"block","name":"block","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1040.7144050598145,"y":1078.095121383667,"z":"a61c8125.05663","wires":[["d670be43.c0871","4ac039a4.7d8258"]]},{"id":"4ac039a4.7d8258","type":"for","name":"for each vnfc","xml":"<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n","comments":"","outputs":1,"x":1198.0477714538574,"y":1156.76194190979,"z":"a61c8125.05663","wires":[["5dedac0.63dbb54"]]},{"id":"5dedac0.63dbb54","type":"block","name":"block","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1368.0477714538574,"y":1156.76194190979,"z":"a61c8125.05663","wires":[["2c88b0e6.a8c3e","30f659d.7d59da6"]]},{"id":"d670be43.c0871","type":"switchNode","name":"switch created-flag","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].created-flag`'>\n","comments":"","outputs":1,"x":1222.2142753601074,"y":1000.9285678863525,"z":"a61c8125.05663","wires":[["317e645c.78c4bc"]]},{"id":"fa441998.023cd8","type":"delete","name":"delete vf-module relationship to l3-network","xml":"<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vf-module:relationship-list\"\n    key=\"vf-module.vf-module-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id\n      AND generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\n      AND related-to = l3-network\n      AND l3-network.network-id = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id\" >","comments":"","outputs":1,"x":1626.2142448425293,"y":1000.9285917282104,"z":"a61c8125.05663","wires":[[]]},{"id":"34ef77e0.82b708","type":"for","name":"for each floating ipv4 address","xml":"<for silentFailure='true' index='ipv4-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4_length`' >\n","comments":"","outputs":1,"x":1976.2142753601074,"y":1110.9285678863525,"z":"a61c8125.05663","wires":[["5efafe2c.9881a"]]},{"id":"f11d8f78.b78b2","type":"for","name":"for each floating ipv6 address","xml":"<for silentFailure='true' index='ipv6-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6_length`' >\n","comments":"","outputs":1,"x":1980.2142753601074,"y":1206.261697769165,"z":"a61c8125.05663","wires":[["bfa7d6b5.0cab38"]]},{"id":"2c88b0e6.a8c3e","type":"switchNode","name":"switch created-ipv4-flag","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.created-ipv4-flag`'>\n","comments":"","outputs":1,"x":1586.2142753601074,"y":1110.9285678863525,"z":"a61c8125.05663","wires":[["81777ab.57ba488"]]},{"id":"30f659d.7d59da6","type":"switchNode","name":"switch created-ipv6-flag","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.created-ipv6-flag`'>\n","comments":"","outputs":1,"x":1580.2142753601074,"y":1208.9285678863525,"z":"a61c8125.05663","wires":[["5482e159.91557"]]},{"id":"81777ab.57ba488","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1770.2142753601074,"y":1110.9285678863525,"z":"a61c8125.05663","wires":[["34ef77e0.82b708"]]},{"id":"5482e159.91557","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1770.2142753601074,"y":1206.9285678863525,"z":"a61c8125.05663","wires":[["f11d8f78.b78b2"]]},{"id":"5efafe2c.9881a","type":"delete","name":"delete vip-ipv4-address-list from A&AI","xml":"<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n   resource=\"vip-ipv4-address-list\" \n   key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv4-address-list.vip-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]\" >","comments":"","outputs":1,"x":2280.2142753601074,"y":1110.9285678863525,"z":"a61c8125.05663","wires":[[]]},{"id":"bfa7d6b5.0cab38","type":"delete","name":"delete vip-ipv6-address-list from A&AI","xml":"<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n   resource=\"vip-ipv6-address-list\" \n   key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv6-address-list.vip-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]\" >","comments":"","outputs":1,"x":2282.2142753601074,"y":1204.9285678863525,"z":"a61c8125.05663","wires":[[]]},{"id":"317e645c.78c4bc","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1386.2142448425293,"y":1000.9285917282104,"z":"a61c8125.05663","wires":[["fa441998.023cd8"]]},{"id":"dc598f4f.0b826","type":"switchNode","name":"switch vf-module_length","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n","comments":"","outputs":1,"x":492.5714340209961,"y":484.8571500778198,"z":"a61c8125.05663","wires":[["d3fdaf9c.101de"]]},{"id":"d3fdaf9c.101de","type":"outcome","name":"1","xml":"<outcome value='1'>\n","comments":"","outputs":1,"x":676.8571395874023,"y":484.8571367263794,"z":"a61c8125.05663","wires":[["8f0f8a6f.5fe5d8"]]},{"id":"8f0f8a6f.5fe5d8","type":"switchNode","name":"switch created-ipv4-flag","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.created-ipv4-flag`'>\n","comments":"","outputs":1,"x":855.4286346435547,"y":483.4286060333252,"z":"a61c8125.05663","wires":[["555a6d54.4cae24","a8c30ae.deb43f8","6204fd0a.72c444"]]},{"id":"555a6d54.4cae24","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1036.8570976257324,"y":433.4285697937012,"z":"a61c8125.05663","wires":[["bf7868bf.2c54a8"]]},{"id":"a8c30ae.deb43f8","type":"outcomeTrue","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1036.8571243286133,"y":483.4285821914673,"z":"a61c8125.05663","wires":[["2212f8d3.6efaa8"]]},{"id":"2212f8d3.6efaa8","type":"switchNode","name":"switch created-ipv6-flag","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.created-ipv6-flag`'>\n","comments":"","outputs":1,"x":1222.5714645385742,"y":504.85716247558594,"z":"a61c8125.05663","wires":[["601c50eb.8b643"]]},{"id":"601c50eb.8b643","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1404.0000534057617,"y":503.42857360839844,"z":"a61c8125.05663","wires":[["bf7868bf.2c54a8"]]},{"id":"e28e02a2.71b8a","type":"update","name":"update EIPAM_IP_ASSIGNMENTS to PENDING_DELETE...","xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\"\nkey=\"UPDATE EIPAM_IP_ASSIGNMENTS set status = $tmp.status WHERE info = $tmp.vf-module-topology.vf-module-assignments.vlan-vnfc-instance-groups.vlan-vnfc-instance-group[0].vnfcs.vnfc[0].vnic-groups.vnic-group[0].network-instance-group-id\" >","comments":"","outputs":1,"x":2286.8570251464844,"y":503.0000025431318,"z":"a61c8125.05663","wires":[[]]},{"id":"5caa6cfb.b3c044","type":"set","name":"set status variable","xml":"<set>\n<parameter name='tmp.status' value=\"`'PENDING_DELETE_' + $tmp.vf-module-topology.vf-module-assignments.vlan-vnfc-instance-groups.vlan-vnfc-instance-group[0].vnfcs.vnfc[0].vnic-groups.vnic-group[0].network-instance-group-id`\" />\n","comments":"","x":2156.8569869995117,"y":456.3333746592207,"z":"a61c8125.05663","wires":[]},{"id":"58bb94b3.e2102c","type":"execute","name":"execute EIPAM unassign IP addresses","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"unassignIPAddress\">\n<parameter name=\"deleteEIPAM_status\" value=\"`$tmp.status`\" />\n","comments":"","outputs":1,"x":2221.8569946289062,"y":548.0000464121504,"z":"a61c8125.05663","wires":[[]]},{"id":"cada7e7.6e7958","type":"comment","name":"roll back EIPAM floating addresses","info":"","comments":"","x":2266.1427154541016,"y":410.1432008743286,"z":"a61c8125.05663","wires":[]},{"id":"ed6fab87.507318","type":"block","name":"block","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1963.5236511230469,"y":506.3334986368818,"z":"a61c8125.05663","wires":[["5caa6cfb.b3c044","e28e02a2.71b8a","58bb94b3.e2102c"]]},{"id":"bf7868bf.2c54a8","type":"switchNode","name":"switch network-instance-group-id","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vlan-vnfc-instance-groups.vlan-vnfc-instance-group[0].vnfcs.vnfc[0].vnic-groups.vnic-group[0].network-instance-group-id`'>\n","comments":"","outputs":1,"x":1626.8571166992188,"y":473.42857456207275,"z":"a61c8125.05663","wires":[["7625e9b6.731d48","f0f8bf7f.cfbf3"]]},{"id":"7625e9b6.731d48","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1838.2856979370117,"y":440.57142639160156,"z":"a61c8125.05663","wires":[["c6814130.3d6c2"]]},{"id":"f0f8bf7f.cfbf3","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1839.9523696899414,"y":506.7619390487671,"z":"a61c8125.05663","wires":[["ed6fab87.507318"]]},{"id":"c6814130.3d6c2","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1965.4286422729492,"y":439.1428680419922,"z":"a61c8125.05663","wires":[[]]},{"id":"6204fd0a.72c444","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1036.8571243286133,"y":527.7142877578735,"z":"a61c8125.05663","wires":[["2212f8d3.6efaa8"]]},{"id":"ccd731c.18275d","type":"switchNode","name":"switch network-instance-group-id","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vlan-vnfc-instance-groups.vlan-vnfc-instance-group[0].vnfcs.vnfc[0].vnic-groups.vnic-group[0].network-instance-group-id`'>\n","comments":"","outputs":1,"x":508.28568267822266,"y":1353.428674697876,"z":"a61c8125.05663","wires":[["3fb536dc.ab5c2a","accb9c6f.fb2dd"]]},{"id":"3fb536dc.ab5c2a","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":723.0477905273438,"y":1316.2380135854082,"z":"a61c8125.05663","wires":[["e97bab2f.9e2558"]]},{"id":"accb9c6f.fb2dd","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":724.7144622802734,"y":1382.4285262425738,"z":"a61c8125.05663","wires":[["b4962d35.6adf3"]]},{"id":"e97bab2f.9e2558","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":850.1907348632812,"y":1314.8094552357989,"z":"a61c8125.05663","wires":[[]]},{"id":"b4962d35.6adf3","type":"for","name":"for each network-instance-group","xml":"<for index='nig-index' start='0' end='`$service-data.network-instance-groups.network-instance-group_length`' >\n","comments":"","outputs":1,"x":928.2857437133789,"y":1382.0000286102295,"z":"a61c8125.05663","wires":[["f04a1fd1.4d346"]]},{"id":"f04a1fd1.4d346","type":"switchNode","name":"network-instance-group-ids match?","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vlan-vnfc-instance-groups.vlan-vnfc-instance-group[0].vnfcs.vnfc[0].vnic-groups.vnic-group[0].network-instance-group-id\n  == $service-data.network-instance-groups.network-instance-group[$nig-index].network-instance-group-id`'>\n","comments":"","outputs":1,"x":1226.6189193725586,"y":1380.3334131240845,"z":"a61c8125.05663","wires":[["20f04448.3fe75c"]]},{"id":"20f04448.3fe75c","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1448.2856903076172,"y":1379.0001916885376,"z":"a61c8125.05663","wires":[["e0068899.5e7468"]]},{"id":"e0068899.5e7468","type":"for","name":"for each network","xml":"<for index='network-index' start='0' end='`$service-data.network-instance-groups.network-instance-group[$nig-index].networks.network_length`' >\n","comments":"","outputs":1,"x":1604.0000267028809,"y":1377.7143173217773,"z":"a61c8125.05663","wires":[["8ea9a9de.587eb8"]]},{"id":"8ea9a9de.587eb8","type":"set","name":"clear vlan-tag-id and set network-status to unassigned","xml":"<set>\n<parameter name='service-data.network-instance-groups.network-instance-group[$nig-index].networks.network[$network-index].vlan-tag-id'\n  value='' />\n<parameter name='service-data.network-instance-groups.network-instance-group[$nig-index].networks.network[$network-index].network-status'\n  value='unassigned' />\n","comments":"","x":1915.4284591674805,"y":1376.285779953003,"z":"a61c8125.05663","wires":[]}]