diff options
4 files changed, 1045 insertions, 0 deletions
diff --git a/installation/sdnc/src/main/resources/sdnctl.dump b/installation/sdnc/src/main/resources/sdnctl.dump index 04a9ad73..b5ea0229 100644 --- a/installation/sdnc/src/main/resources/sdnctl.dump +++ b/installation/sdnc/src/main/resources/sdnctl.dump @@ -3319,4 +3319,121 @@ CREATE TABLE `RESOURCE_GROUP_TO_TARGET_NODE_MAPPING` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; +DROP TABLE IF EXISTS `ATTRIBUTE_VALUE_PAIR`; +CREATE TABLE `ATTRIBUTE_VALUE_PAIR` ( + `resource_uuid` varchar(255) NOT NULL, + `attribute_name` varchar(255) NOT NULL, + `resource_type` varchar(255) NOT NULL, + `attribute_value` varchar(255) DEFAULT NULL, + `resource_customization_uuid` varchar(255) DEFAULT NULL, + PRIMARY KEY (`resource_uuid`,`attribute_name`,`resource_type`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +DROP TABLE IF EXISTS `COMPLEX_RESOURCE`; +CREATE TABLE `COMPLEX_RESOURCE` ( + `uuid` varchar(255) NOT NULL, + `model_yaml` longblob, + `invariant_uuid` varchar(255) NOT NULL, + `customization_uuid` varchar(255) NOT NULL, + `version` varchar(255) DEFAULT NULL, + `name` varchar(255) DEFAULT NULL, + `description` varchar(255) DEFAULT NULL, + `type` varchar(255) NOT NULL, + PRIMARY KEY (`uuid`,`customization_uuid`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +DROP TABLE IF EXISTS `NODE_CAPABILITY`; +CREATE TABLE `NODE_CAPABILITY` ( + `capability_id` int(11) NOT NULL AUTO_INCREMENT, + `capability_provider_uuid` varchar(255) NOT NULL, + `capability_provider_customization_uuid` varchar(255) NOT NULL, + `capability_name` varchar(255) DEFAULT NULL, + `capability_type` varchar(255) DEFAULT NULL, + PRIMARY KEY (`capability_id`) +) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=latin1; + +DROP TABLE IF EXISTS `NODE_REQUIREMENT`; +CREATE TABLE `NODE_REQUIREMENT` ( + `requirement_id` int(11) NOT NULL AUTO_INCREMENT, + `capability_id` int(11) DEFAULT NULL, + `capability_provider_uuid` varchar(255) DEFAULT NULL, + `capability_provider_customization_uuid` varchar(255) DEFAULT NULL, + `capability_consumer_uuid` varchar(255) NOT NULL, + `capability_consumer_customization_uuid` varchar(255) NOT NULL, + `requirement_name` varchar(255) NOT NULL, + PRIMARY KEY (`requirement_id`), + KEY `NODE_REQUIREMENT_TO_NODE_CAPABILITY` (`capability_id`) +) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1; + +DROP TABLE IF EXISTS `RELATED_NETWORK_ROLE`; +CREATE TABLE `RELATED_NETWORK_ROLE` ( + `network_model_customization_uuid` varchar(255) NOT NULL, + `related_network_role` varchar(255) NOT NULL, + PRIMARY KEY (`network_model_customization_uuid`,`related_network_role`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +DROP TABLE IF EXISTS `RESOURCE_GROUP`; +CREATE TABLE `RESOURCE_GROUP` ( + `resource_uuid` varchar(255) NOT NULL, + `group_uuid` varchar(255) NOT NULL, + `group_customization_uuid` varchar(255) DEFAULT NULL, + `group_invariant_uuid` varchar(255) NOT NULL, + `group_name` varchar(255) DEFAULT NULL, + `version` varchar(255) DEFAULT NULL, + `group_type` varchar(255) DEFAULT NULL, + PRIMARY KEY (`resource_uuid`,`group_uuid`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +DROP TABLE IF EXISTS `RESOURCE_POLICY`; +CREATE TABLE `RESOURCE_POLICY` ( + `resource_uuid` varchar(255) NOT NULL, + `policy_uuid` varchar(255) NOT NULL, + `policy_customization_uuid` varchar(255) DEFAULT NULL, + `policy_invariant_uuid` varchar(255) NOT NULL, + `policy_name` varchar(255) DEFAULT NULL, + `version` varchar(255) DEFAULT NULL, + `policy_type` varchar(255) DEFAULT NULL, + `property_type` varchar(255) DEFAULT NULL, + `property_source` varchar(255) DEFAULT NULL, + `property_name` varchar(255) DEFAULT NULL, + PRIMARY KEY (`resource_uuid`,`policy_uuid`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +DROP TABLE IF EXISTS `RESOURCE_POLICY_TO_TARGET_NODE_MAPPING`; +CREATE TABLE `RESOURCE_POLICY_TO_TARGET_NODE_MAPPING` ( + `policy_uuid` varchar(255) NOT NULL, + `parent_uuid` varchar(255) NOT NULL, + `target_node_uuid` varchar(255) NOT NULL, + `target_type` varchar(255) DEFAULT NULL, + `target_node_customization_uuid` varchar(255) DEFAULT NULL, + `policy_customization_uuid` varchar(255) DEFAULT NULL, + PRIMARY KEY (`policy_uuid`,`parent_uuid`,`target_node_uuid`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + + +DROP TABLE IF EXISTS `SERVICE_MODEL_TO_COMPLEX_RESOURCE_MAPPING`; +CREATE TABLE `SERVICE_MODEL_TO_COMPLEX_RESOURCE_MAPPING` ( + `service_uuid` varchar(255) NOT NULL, + `complex_resource_uuid` varchar(255) NOT NULL, + `complex_resource_customization_uuid` varchar(255) NOT NULL, + PRIMARY KEY (`service_uuid`,`complex_resource_uuid`,`complex_resource_customization_uuid`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +DROP TABLE IF EXISTS `VFC_RELATED_NETWORK_ROLE`; +CREATE TABLE `VFC_RELATED_NETWORK_ROLE` ( + `vfc_customization_uuid` varchar(255) NOT NULL, + `vm_type` varchar(255) NOT NULL, + `network_role` varchar(255) NOT NULL, + `related_network_role` varchar(255) NOT NULL, + PRIMARY KEY (`vfc_customization_uuid`,`vm_type`,`network_role`,`related_network_role`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +DROP TABLE IF EXISTS `VNF_RELATED_NETWORK_ROLE`; +CREATE TABLE `VNF_RELATED_NETWORK_ROLE` ( + `vnf_customization_uuid` varchar(255) NOT NULL, + `network_role` varchar(255) NOT NULL, + `related_network_role` varchar(255) NOT NULL, + PRIMARY KEY (`vnf_customization_uuid`,`network_role`,`related_network_role`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + -- Dump completed on 2017-10-04 18:23:01 diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-generate-heat-parameters.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-generate-heat-parameters.json new file mode 100755 index 00000000..b17830c0 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-generate-heat-parameters.json @@ -0,0 +1 @@ +[{"id":"c607f901.cbfcd8","type":"dgstart","name":"DGSTART","outputs":1,"x":110,"y":84,"z":"62f2734c.91713c","wires":[["e9d78e7.3b3dc7"]]},{"id":"e9d78e7.3b3dc7","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":223.28570556640625,"y":124.23811149597168,"z":"62f2734c.91713c","wires":[["cd8fa32e.a26c1"]]},{"id":"cd8fa32e.a26c1","type":"method","name":"method vf-module-generate-heat-parameters","xml":"<method rpc='vf-module-generate-heat-parameters' mode='sync'>\n","comments":"","outputs":1,"x":219.42861938476562,"y":162,"z":"62f2734c.91713c","wires":[["43997d9.43ac984"]]},{"id":"6a8af1f3.f2e3b","type":"comment","name":"vf-module-generate-heat-parameters","info":"","comments":"","x":504.34485626220703,"y":31.58634376525879,"z":"62f2734c.91713c","wires":[]},{"id":"43997d9.43ac984","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":123.23810577392578,"y":2022.7619352340698,"z":"62f2734c.91713c","wires":[["6171f873.e425b8","fc1a87e8.8835e8","c9a0353d.cd6048","c848779a.240d78","512e36fe.88cae8","f27e39bf.037e88"]]},{"id":"6171f873.e425b8","type":"set","name":"set constants","xml":"<set>\n<parameter name='const.sub-int' value='subint' />\n<parameter name='const.subnet-id' value='_subnet_id' />\n<parameter name='const.v6-subnet-id' value='_v6_subnet_id' />\n<parameter name='const.port' value='port' />\n<parameter name='const.sub-int-count' value='_subintcount' />\n<parameter name='const.vlan-ids' value='_vlan_ids' />\n<parameter name='const.net-names' value='_net_names' />\n<parameter name='const.net-ids' value='_net_ids' />\n<parameter name='const.ip' value='_ip' />\n<parameter name='const.v6-ip' value='_v6_ip' />\n<parameter name='const.floating-ip' value='_floating_ip' />\n<parameter name='const.floating-v6-ip' value='_floating_v6_ip' />\n<parameter name='const.underscore' value='_' />\n","comments":"","x":426,"y":302,"z":"62f2734c.91713c","wires":[]},{"id":"fc1a87e8.8835e8","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":393.9999809265137,"y":832.6666650772095,"z":"62f2734c.91713c","wires":[["75bf8fa8.8b3f4"]]},{"id":"c9a0353d.cd6048","type":"set","name":"set output-index to 0","xml":"<set>\n<parameter name='output-index' value='0' />\n","comments":"","x":446,"y":350,"z":"62f2734c.91713c","wires":[]},{"id":"553c20db.cd6a5","type":"set","name":"add vm-name to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + '_name_'\n + $vm-name-index`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-name-index]`\" />\n","comments":"","x":1158,"y":326,"z":"62f2734c.91713c","wires":[]},{"id":"dbf78fc.8cb367","type":"for","name":"for each vm-name","xml":"<for silentFailure='true' index='vm-name-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name_length`' >\n","comments":"","outputs":1,"x":788,"y":388,"z":"62f2734c.91713c","wires":[["c21b6c23.a44f5"]]},{"id":"c21b6c23.a44f5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":962,"y":388,"z":"62f2734c.91713c","wires":[["553c20db.cd6a5","126a1138.39cfef","a8926832.929c88"]]},{"id":"126a1138.39cfef","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1156,"y":458,"z":"62f2734c.91713c","wires":[]},{"id":"75bf8fa8.8b3f4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":555.9999809265137,"y":832.6666650772095,"z":"62f2734c.91713c","wires":[["dbf78fc.8cb367","4eb0f99d.69a988","3b8fd11f.82935e","5fcdcb36.273b84","9027092b.9a5a08"]]},{"id":"a8926832.929c88","type":"switchNode","name":"switch vm-name-index > 0","xml":"<switch test='`$vm-name-index > 0`'>\n","comments":"","outputs":1,"x":1168,"y":382,"z":"62f2734c.91713c","wires":[["40f8c6d2.989108","884f5ca7.c787a"]]},{"id":"40f8c6d2.989108","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1366,"y":352,"z":"62f2734c.91713c","wires":[["fb1684b6.e77568"]]},{"id":"fb1684b6.e77568","type":"set","name":"add name plus comma to cdl","xml":"<set>\n<parameter name='cdl' value=\"`$cdl + ',' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-name-index]`\" />\n","comments":"","x":1568,"y":352,"z":"62f2734c.91713c","wires":[]},{"id":"884f5ca7.c787a","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1364,"y":408,"z":"62f2734c.91713c","wires":[["a691cff3.da444"]]},{"id":"a691cff3.da444","type":"set","name":"set cdl to name","xml":"<set>\n<parameter name='cdl' value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-name-index]`\" />\n","comments":"","x":1526,"y":408,"z":"62f2734c.91713c","wires":[]},{"id":"4eb0f99d.69a988","type":"set","name":"add cdl to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + '_names'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$cdl`\" />\n","comments":"","x":784,"y":506,"z":"62f2734c.91713c","wires":[]},{"id":"3b8fd11f.82935e","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":802,"y":554,"z":"62f2734c.91713c","wires":[]},{"id":"5fcdcb36.273b84","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":758.6666221618652,"y":1279.9999370574951,"z":"62f2734c.91713c","wires":[["cd648464.a0c208"]]},{"id":"cd648464.a0c208","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":938.6666221618652,"y":1279.9999370574951,"z":"62f2734c.91713c","wires":[["639601e5.c624a","f315d160.0be8","464f8145.5c434","c10ddd4c.80a71","d19a94b6.5dfc38","3aa7c41f.a8470c"]]},{"id":"639601e5.c624a","type":"switchNode","name":"switch network-role-tag","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role-tag`'>\n","comments":"","outputs":1,"x":1154,"y":592,"z":"62f2734c.91713c","wires":[["cd0c5617.5fbf28","2838d378.a20f5c"]]},{"id":"cd0c5617.5fbf28","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1334,"y":566,"z":"62f2734c.91713c","wires":[["7f5e938f.f031ec"]]},{"id":"2838d378.a20f5c","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1335.6666259765625,"y":612.1904907226562,"z":"62f2734c.91713c","wires":[["491f081f.7301e8"]]},{"id":"491f081f.7301e8","type":"set","name":"set network-key to network-role-tag","xml":"<set>\n<parameter name='network-key' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role-tag`' />\n","comments":"","x":1553,"y":611,"z":"62f2734c.91713c","wires":[]},{"id":"7f5e938f.f031ec","type":"set","name":"set network-key to network-role","xml":"<set>\n<parameter name='network-key' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role`' />\n","comments":"","x":1542,"y":565,"z":"62f2734c.91713c","wires":[]},{"id":"f315d160.0be8","type":"switchNode","name":"switch ipv4 floating ip","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].floating-ips.floating-ip-v4`'>\n","comments":"","outputs":1,"x":1148.3333129882812,"y":700.0000476837158,"z":"62f2734c.91713c","wires":[["96472015.b0ed9","6f2a1291.a5f80c"]]},{"id":"96472015.b0ed9","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1320,"y":676.6666259765625,"z":"62f2734c.91713c","wires":[["97b2717d.d8ccd"]]},{"id":"6f2a1291.a5f80c","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1324.9999294281006,"y":739.5238122940063,"z":"62f2734c.91713c","wires":[["98182766.5aa288"]]},{"id":"97b2717d.d8ccd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1461.6666450500488,"y":673.3333396911621,"z":"62f2734c.91713c","wires":[[]]},{"id":"98182766.5aa288","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1460,"y":738.3333129882812,"z":"62f2734c.91713c","wires":[["e3470c45.e07bb","34f0cbae.7f97d4"]]},{"id":"e3470c45.e07bb","type":"set","name":"add address to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + $const.underscore\n + $network-key\n + $const.floating-ip`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].floating-ips.floating-ip-v4`\" />\n","comments":"","x":1633.3333168029785,"y":714.9999876022339,"z":"62f2734c.91713c","wires":[]},{"id":"34f0cbae.7f97d4","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1639.9998779296875,"y":765,"z":"62f2734c.91713c","wires":[]},{"id":"464f8145.5c434","type":"switchNode","name":"switch ipv6 floating ip","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].floating-ips.floating-ip-v6`'>\n","comments":"","outputs":1,"x":1140,"y":831.6666259765625,"z":"62f2734c.91713c","wires":[["9c84fad0.5d7458","3d3825be.dbbaea"]]},{"id":"9c84fad0.5d7458","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1311.6666870117188,"y":808.3332042694092,"z":"62f2734c.91713c","wires":[["d72b6f99.6b8e8"]]},{"id":"3d3825be.dbbaea","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1316.6666164398193,"y":871.190390586853,"z":"62f2734c.91713c","wires":[["49402d8.ca09cd4"]]},{"id":"d72b6f99.6b8e8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1453.3333320617676,"y":804.9999179840088,"z":"62f2734c.91713c","wires":[[]]},{"id":"49402d8.ca09cd4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1451.6666870117188,"y":869.9998912811279,"z":"62f2734c.91713c","wires":[["ed96fc81.ef5b3","5cd9595a.5e4b08"]]},{"id":"ed96fc81.ef5b3","type":"set","name":"add address to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + $const.underscore\n + $network-key\n + $const.floating-v6-ip`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].floating-ips.floating-ip-v6`\" />\n","comments":"","x":1626.666648864746,"y":848.3331642150879,"z":"62f2734c.91713c","wires":[]},{"id":"5cd9595a.5e4b08","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1631.6665649414062,"y":896.6665782928467,"z":"62f2734c.91713c","wires":[]},{"id":"c24a70d7.ae4b6","type":"set","name":"set test data","xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-networks.vm-network[0].floating-ips.floating-ip-v4' value='1.2.3.4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-networks.vm-network[0].floating-ips.floating-ip-v6' value='cafe::2222' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[1].vm-networks.vm-network[0].floating-ips.floating-ip-v4' value='5.6.7.8' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[1].vm-networks.vm-network[0].floating-ips.floating-ip-v6' value='cafe::3333' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[1].vm-networks.vm-network[0].interface-route-prefixes.interface-route-prefix[0]' value='123.456' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[1].vm-networks.vm-network[0].interface-route-prefixes.interface-route-prefix[1]' value='234.567' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[1].vm-networks.vm-network[0].interface-route-prefixes.interface-route-prefix_length' value='2' />\n<parameter name='service-data.vnfs.vnf[0].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[0].subnets-data.subnet-data[0].subnet-id' value='subnet-id-1' />\n<parameter name='service-data.vnfs.vnf[0].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[0].subnets-data.subnet-data[1].subnet-id' value='subnet-id-2' />\n<parameter name='service-data.vnfs.vnf[0].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[1].subnets-data.subnet-data[0].subnet-id' value='subnet-id-3' />\n<parameter name='service-data.vnfs.vnf[0].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[1].subnets-data.subnet-data[1].subnet-id' value='subnet-id-4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-type' value='vnfc-type-1' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vfnc-port-id' value='vnfc-port-id-1' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].common-sub-interface-role' value='csir-1' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-id' value='network-id-1' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-name' value='network-name-1' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].vlan-tag-id' value='vlan-tag-id-1' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].ip-version' value='ipv4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].network-ips.network-ip[0]' value='1.1.1.1' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].network-ips.network-ip[1]' value='2.2.2.2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].ip-version' value='ipv6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].network-ips.network-ip[0]' value='cafe::1' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].network-ips.network-ip[1]' value='cafe::2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-id' value='network-id-2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-name' value='network-name-2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].vlan-tag-id' value='vlan-tag-id-2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].ip-version' value='ipv4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].network-ips.network-ip[0]' value='3.3.3.3' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].network-ips.network-ip[1]' value='4.4.4.4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].ip-version' value='ipv6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].network-ips.network-ip[0]' value='cafe::3' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].network-ips.network-ip[1]' value='cafe::4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vfnc-port-id' value='vnfc-port-id-2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].common-sub-interface-role' value='csir-2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-id' value='network-id-3' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-name' value='network-name-3' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].vlan-tag-id' value='vlan-tag-id-3' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].ip-version' value='ipv4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].network-ips.network-ip[0]' value='5.5.5.5' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].network-ips.network-ip[1]' value='6.6.6.6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].ip-version' value='ipv6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].network-ips.network-ip[0]' value='cafe::5' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].network-ips.network-ip[1]' value='cafe::6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-id' value='network-id-4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-name' value='network-name-4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].vlan-tag-id' value='vlan-tag-id-4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].ip-version' value='ipv4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].network-ips.network-ip[0]' value='7.7.7.7' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].network-ips.network-ip[1]' value='8.8.8.8' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].ip-version' value='ipv6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].network-ips.network-ip[0]' value='cafe::7' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].network-ips.network-ip[1]' value='cafe::8' />\n","comments":"","x":733.3333625793457,"y":131.66667556762695,"z":"62f2734c.91713c","wires":[]},{"id":"7133e8e2.078d38","type":"for","name":"for each interface-route-prefix","xml":"<for index='interface-route-prefix-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].interface-route-prefixes.interface-route-prefix_length`' >\n","comments":"","outputs":1,"x":1764.9999656677246,"y":1008.3332691192627,"z":"62f2734c.91713c","wires":[["24a6cf01.3d9b1"]]},{"id":"24a6cf01.3d9b1","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1969.99995803833,"y":1007.6666250228882,"z":"62f2734c.91713c","wires":[["88b59a04.af7908","64a19fc.11a7f6"]]},{"id":"c10ddd4c.80a71","type":"switchNode","name":"switch interface-route-prefix_length > 0","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].interface-route-prefixes.interface-route-prefix_length > 0`'>\n","comments":"","outputs":1,"x":1186.666690826416,"y":1065.0000190734863,"z":"62f2734c.91713c","wires":[["636adb65.f54ab4"]]},{"id":"636adb65.f54ab4","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1416.6666641235352,"y":1063.3333320617676,"z":"62f2734c.91713c","wires":[["ec424762.26abf8"]]},{"id":"ec424762.26abf8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1548.3332710266113,"y":1061.6666259765625,"z":"62f2734c.91713c","wires":[["f36a16f3.797908","47efb3d6.a1b4dc","7ba1a66f.581bf8","60464fe3.1ce95","7133e8e2.078d38"]]},{"id":"f36a16f3.797908","type":"set","name":"set cdl to '['","xml":"<set>\n<parameter name='cdl' value='[' />\n","comments":"","x":1708.3334007263184,"y":960.0000190734863,"z":"62f2734c.91713c","wires":[]},{"id":"64a19fc.11a7f6","type":"set","name":"add prefix to cdl","xml":"<set>\n<parameter name='cdl' value=\"`$cdl\n + '{\\"interface_route_table_routes_route_prefix\\":\\"'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].interface-route-prefixes.interface-route-prefix[$interface-route-prefix-index]\n + '\\"}'`\" />\n","comments":"","x":2143.3332557678223,"y":1031.6666297912598,"z":"62f2734c.91713c","wires":[]},{"id":"88b59a04.af7908","type":"switchNode","name":"switch interface-route-prefix-index > 0","xml":"<switch test='`$interface-route-prefix-index > 0`'>\n","comments":"","outputs":1,"x":2208.3333740234375,"y":976.6665830612183,"z":"62f2734c.91713c","wires":[["35d18d59.952ab2"]]},{"id":"35d18d59.952ab2","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2433.333251953125,"y":974.9999389648438,"z":"62f2734c.91713c","wires":[["a9f0b9f9.d895c8"]]},{"id":"a9f0b9f9.d895c8","type":"set","name":"add comma to cdl","xml":"<set>\n<parameter name='cdl' value=\"`$cdl + ','`\" />\n","comments":"","x":2591.6666870117188,"y":973.3332901000977,"z":"62f2734c.91713c","wires":[]},{"id":"47efb3d6.a1b4dc","type":"set","name":"add ']' to cdl","xml":"<set>\n<parameter name='cdl' value=\"`$cdl + ']'`\" />\n","comments":"","x":1708.3331985473633,"y":1071.6666278839111,"z":"62f2734c.91713c","wires":[]},{"id":"7ba1a66f.581bf8","type":"set","name":"add cdl to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + $const.underscore\n + $network-key\n + '_route_prefixes'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$cdl`\" />\n","comments":"","x":1723.333236694336,"y":1123.3332977294922,"z":"62f2734c.91713c","wires":[]},{"id":"60464fe3.1ce95","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1741.6664085388184,"y":1171.666591644287,"z":"62f2734c.91713c","wires":[]},{"id":"d19a94b6.5dfc38","type":"for","name":"for each address-family","xml":"<for silentFailure='true' index='address-family-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item_length`' >\n","comments":"","outputs":1,"x":1135.00004196167,"y":1491.6665668487549,"z":"62f2734c.91713c","wires":[["d23ed558.cb1758"]]},{"id":"f8901cf8.20f59","type":"for","name":"for each address","xml":"<for silentFailure='true' index='address-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip_length`' >\n","comments":"","outputs":1,"x":1848.3332824707031,"y":1266.6666355133057,"z":"62f2734c.91713c","wires":[["a936fe9a.9a9ee"]]},{"id":"d23ed558.cb1758","type":"switchNode","name":"switch address-family","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].ip-version`'>\n","comments":"","outputs":1,"x":1361.6665954589844,"y":1490.0000648498535,"z":"62f2734c.91713c","wires":[["fe1959bd.33f838","3db595d7.e3a98a"]]},{"id":"fe1959bd.33f838","type":"outcome","name":"ipv4","xml":"<outcome value='ipv4'>\n","comments":"","outputs":1,"x":1551.6666870117188,"y":1355.0001735687256,"z":"62f2734c.91713c","wires":[["754a7e97.8c42d"]]},{"id":"3db595d7.e3a98a","type":"outcome","name":"ipv6","xml":"<outcome value='ipv6'>\n","comments":"","outputs":1,"x":1554.9998588562012,"y":1636.6667766571045,"z":"62f2734c.91713c","wires":[["8f41f8df.eac208"]]},{"id":"754a7e97.8c42d","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1688.3332901000977,"y":1351.6667079925537,"z":"62f2734c.91713c","wires":[["f8901cf8.20f59","c38c0495.837428","5aa824bb.6446ec"]]},{"id":"48676628.cc5088","type":"set","name":"add address to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + $const.underscore\n + $network-key\n + $const.ip\n + $const.underscore\n + $address-index`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip[$address-index]`\" />\n","comments":"","x":2208.333251953125,"y":1208.333251953125,"z":"62f2734c.91713c","wires":[]},{"id":"c42f001f.2a652","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":2209.999839782715,"y":1256.66659450531,"z":"62f2734c.91713c","wires":[]},{"id":"a936fe9a.9a9ee","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2016.6666259765625,"y":1265,"z":"62f2734c.91713c","wires":[["48676628.cc5088","c42f001f.2a652","53a846e4.251ae8"]]},{"id":"53a846e4.251ae8","type":"switchNode","name":"switch address-index > 0","xml":"<switch test='`$address-index > 0`'>\n","comments":"","outputs":1,"x":2213.3334197998047,"y":1333.3331422805786,"z":"62f2734c.91713c","wires":[["6bf44b9.a8d89b4","74022320.e9c29c"]]},{"id":"6bf44b9.a8d89b4","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2393.333251953125,"y":1305,"z":"62f2734c.91713c","wires":[["2d0a00ff.3b6b3"]]},{"id":"2d0a00ff.3b6b3","type":"set","name":"add address plus comma to cdl","xml":"<set>\n<parameter name='cdl' value=\"`$cdl + ',' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip[$address-index]`\" />\n","comments":"","x":2595.333251953125,"y":1305,"z":"62f2734c.91713c","wires":[]},{"id":"74022320.e9c29c","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2391.333251953125,"y":1361,"z":"62f2734c.91713c","wires":[["873dcb80.2faff8"]]},{"id":"873dcb80.2faff8","type":"set","name":"set cdl to address","xml":"<set>\n<parameter name='cdl' value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip[$address-index]`\" />\n","comments":"","x":2553.333251953125,"y":1361,"z":"62f2734c.91713c","wires":[]},{"id":"c38c0495.837428","type":"set","name":"add cdl to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + $const.underscore\n + $network-key\n + '_ips'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$cdl`\" />\n","comments":"","x":1849.9998779296875,"y":1406.6666259765625,"z":"62f2734c.91713c","wires":[]},{"id":"5aa824bb.6446ec","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1867.9998779296875,"y":1454.6666259765625,"z":"62f2734c.91713c","wires":[]},{"id":"97e68dff.23095","type":"for","name":"for each address","xml":"<for silentFailure='true' index='address-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip_length`' >\n","comments":"","outputs":1,"x":1854.9998779296875,"y":1549.9998779296875,"z":"62f2734c.91713c","wires":[["2eb650e0.b5f73"]]},{"id":"8f41f8df.eac208","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1694.999885559082,"y":1634.9999504089355,"z":"62f2734c.91713c","wires":[["97e68dff.23095","5b654ee5.46e27","6733fbef.0138e4"]]},{"id":"cbc2bbcc.6b3748","type":"set","name":"add address to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + $const.underscore\n + $network-key\n + $const.v6-ip\n + $const.underscore\n + $address-index`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip[$address-index]`\" />\n","comments":"","x":2214.9998474121094,"y":1491.6664943695068,"z":"62f2734c.91713c","wires":[]},{"id":"887fbcb2.e02c4","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":2216.666435241699,"y":1539.999836921692,"z":"62f2734c.91713c","wires":[]},{"id":"2eb650e0.b5f73","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2023.3332214355469,"y":1548.3332424163818,"z":"62f2734c.91713c","wires":[["cbc2bbcc.6b3748","887fbcb2.e02c4","cea2944b.95f318"]]},{"id":"cea2944b.95f318","type":"switchNode","name":"switch address-index > 0","xml":"<switch test='`$address-index > 0`'>\n","comments":"","outputs":1,"x":2220.000015258789,"y":1616.6663846969604,"z":"62f2734c.91713c","wires":[["2f174927.c651e6","2f5ba1df.cb11ee"]]},{"id":"2f174927.c651e6","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2399.9998474121094,"y":1588.3332424163818,"z":"62f2734c.91713c","wires":[["6b88ebae.0aef84"]]},{"id":"6b88ebae.0aef84","type":"set","name":"add address plus comma to cdl","xml":"<set>\n<parameter name='cdl' value=\"`$cdl + ',' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip[$address-index]`\" />\n","comments":"","x":2601.9998474121094,"y":1588.3332424163818,"z":"62f2734c.91713c","wires":[]},{"id":"2f5ba1df.cb11ee","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2397.9998474121094,"y":1644.3332424163818,"z":"62f2734c.91713c","wires":[["fe86748d.b66f28"]]},{"id":"fe86748d.b66f28","type":"set","name":"set cdl to address","xml":"<set>\n<parameter name='cdl' value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip[$address-index]`\" />\n","comments":"","x":2559.9998474121094,"y":1644.3332424163818,"z":"62f2734c.91713c","wires":[]},{"id":"5b654ee5.46e27","type":"set","name":"add cdl to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + $const.underscore\n + $network-key\n + '_v6_ips'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$cdl`\" />\n","comments":"","x":1856.6664733886719,"y":1689.9998683929443,"z":"62f2734c.91713c","wires":[]},{"id":"6733fbef.0138e4","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1874.6664733886719,"y":1737.9998683929443,"z":"62f2734c.91713c","wires":[]},{"id":"3aa7c41f.a8470c","type":"switchNode","name":"switch related-network_length > 0","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length > 0`'>\n","comments":"","outputs":1,"x":1148.3333587646484,"y":2143.333487510681,"z":"62f2734c.91713c","wires":[["ff1dc557.6dc7a8"]]},{"id":"ff1dc557.6dc7a8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1360.0000381469727,"y":2142.666537284851,"z":"62f2734c.91713c","wires":[["a5c6cc39.0d4d8"]]},{"id":"a5c6cc39.0d4d8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1491.6666450500488,"y":2141.999831199646,"z":"62f2734c.91713c","wires":[["e7d4476c.299588","e29c6aed.23c678","d33bac4b.10f7e","e32e550e.ce4b68","cb8125cd.13e778","94cbcee0.d1361","f175a4c9.d35bb8","fd3dcc46.f8298"]]},{"id":"cb8125cd.13e778","type":"set","name":"add segmentation-id to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + $const.underscore\n + $network-key\n + '_vlan_filter'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].segmentation-id`\" />\n","comments":"","x":1719.999900817871,"y":1811.6665754318237,"z":"62f2734c.91713c","wires":[]},{"id":"94cbcee0.d1361","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1696.333251953125,"y":1856.333251953125,"z":"62f2734c.91713c","wires":[]},{"id":"fd3dcc46.f8298","type":"for","name":"for each related-network","xml":"<for silentFailure='true' index='related-network-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length`' >\n","comments":"","outputs":1,"x":1701.6666507720947,"y":2016.6666231155396,"z":"62f2734c.91713c","wires":[["572aa82b.90ab68"]]},{"id":"c7161dfe.afb23","type":"switchNode","name":"switch is-private","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.is-private`'>\n","comments":"","outputs":1,"x":2048.33309173584,"y":1951.6667442321777,"z":"62f2734c.91713c","wires":[["b17f6f2e.1935b","b01803e8.a26f2"]]},{"id":"f175a4c9.d35bb8","type":"set","name":"initialize cdls to null","xml":"<set>\n<parameter name='public-cdl' value='' />\n<parameter name='private-cdl' value='' />\n<parameter name='all-cdl' value='' />\n","comments":"","x":1686.6666107177734,"y":1901.666742324829,"z":"62f2734c.91713c","wires":[]},{"id":"b17f6f2e.1935b","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2206.666473388672,"y":1908.3331661224365,"z":"62f2734c.91713c","wires":[["79496cb8.acab64"]]},{"id":"b01803e8.a26f2","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2209.666435241699,"y":2002.6665840148926,"z":"62f2734c.91713c","wires":[["312620a3.e3d1e"]]},{"id":"79496cb8.acab64","type":"switchNode","name":"switch private-cdl","xml":"<switch test='`$private-cdl`'>\n","comments":"","outputs":1,"x":2368.333152770996,"y":1908.3332862854004,"z":"62f2734c.91713c","wires":[["6a6215a.82e86ec","7803a657.136108"]]},{"id":"6a6215a.82e86ec","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2526.6666564941406,"y":1883.3332033157349,"z":"62f2734c.91713c","wires":[["5ba2a85c.078eb8"]]},{"id":"7803a657.136108","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2526.666492462158,"y":1929.5237588882446,"z":"62f2734c.91713c","wires":[["dc9121f2.39da9"]]},{"id":"5ba2a85c.078eb8","type":"set","name":"set private-cdl to this vlan","xml":"<set>\n<parameter name='private-cdl'\n value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.upper-tag-id`' />\n","comments":"","x":2716.6665000915527,"y":1881.6665773391724,"z":"62f2734c.91713c","wires":[]},{"id":"dc9121f2.39da9","type":"set","name":"add command and vlan to private-cdl","xml":"<set>\n<parameter name='private-cdl'\n value=\"',' + `$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.upper-tag-id`\" />\n","comments":"","x":2753.3330879211426,"y":1928.3332052230835,"z":"62f2734c.91713c","wires":[]},{"id":"312620a3.e3d1e","type":"switchNode","name":"switch public-cdl","xml":"<switch test='`$public-cdl`'>\n","comments":"","outputs":1,"x":2366.666473388672,"y":2001.6665859222412,"z":"62f2734c.91713c","wires":[["5ce92933.3c92e8","1b65af91.1506b"]]},{"id":"5ce92933.3c92e8","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2524.9999771118164,"y":1976.6665029525757,"z":"62f2734c.91713c","wires":[["d9f08638.37eb58"]]},{"id":"1b65af91.1506b","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2524.999813079834,"y":2022.8570585250854,"z":"62f2734c.91713c","wires":[["38aebf13.1ef4e"]]},{"id":"d9f08638.37eb58","type":"set","name":"set public-cdl to this vlan","xml":"<set>\n<parameter name='public-cdl'\n value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.upper-tag-id`' />\n","comments":"","x":2714.9998207092285,"y":1974.9998769760132,"z":"62f2734c.91713c","wires":[]},{"id":"38aebf13.1ef4e","type":"set","name":"add command and vlan to public-cdl","xml":"<set>\n<parameter name='public-cdl'\n value=\"',' + `$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.upper-tag-id`\" />\n","comments":"","x":2751.6664085388184,"y":2021.6665048599243,"z":"62f2734c.91713c","wires":[]},{"id":"572aa82b.90ab68","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1883.3333282470703,"y":2016.6666641235352,"z":"62f2734c.91713c","wires":[["682e5859.360888","c7161dfe.afb23"]]},{"id":"682e5859.360888","type":"switchNode","name":"switch all-cdl","xml":"<switch test='`$all-cdl`'>\n","comments":"","outputs":1,"x":2040,"y":2086.6665868759155,"z":"62f2734c.91713c","wires":[["1804c894.3df287","871157b1.94bb28"]]},{"id":"1804c894.3df287","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2201.6667137145996,"y":2066.666422843933,"z":"62f2734c.91713c","wires":[["f5d4d283.45595"]]},{"id":"871157b1.94bb28","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2201.666549682617,"y":2112.856978416443,"z":"62f2734c.91713c","wires":[["248ff863.6348b8"]]},{"id":"f5d4d283.45595","type":"set","name":"set all-cdl to this vlan","xml":"<set>\n<parameter name='all-cdl'\n value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.upper-tag-id`' />\n","comments":"","x":2391.6665573120117,"y":2064.9997968673706,"z":"62f2734c.91713c","wires":[]},{"id":"248ff863.6348b8","type":"set","name":"add command and vlan to all-cdl","xml":"<set>\n<parameter name='all-cdl'\n value=\"',' + `$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.upper-tag-id`\" />\n","comments":"","x":2428.3331451416016,"y":2111.6664247512817,"z":"62f2734c.91713c","wires":[]},{"id":"e7d4476c.299588","type":"switchNode","name":"switch private-cdl","xml":"<switch test='`$private-cdl`'>\n","comments":"","outputs":1,"x":1678.3331985473633,"y":2203.3334197998047,"z":"62f2734c.91713c","wires":[["1c73a12e.066f6f","42ab1d8.499bce4"]]},{"id":"1c73a12e.066f6f","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1835.0000076293945,"y":2164.999921798706,"z":"62f2734c.91713c","wires":[["c5bab246.388b5"]]},{"id":"42ab1d8.499bce4","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1833.3331604003906,"y":2244.5236892700195,"z":"62f2734c.91713c","wires":[["5e42e0c4.1139c"]]},{"id":"c5bab246.388b5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1964.9998779296875,"y":2164.333251953125,"z":"62f2734c.91713c","wires":[[]]},{"id":"5e42e0c4.1139c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1961.6665687561035,"y":2244.6664638519287,"z":"62f2734c.91713c","wires":[["41a18d4b.5a1034","5b3a470d.93edc8"]]},{"id":"41a18d4b.5a1034","type":"set","name":"add private-cdl to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + $const.underscore\n + $network-key\n + '_private_vlans'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$private-cdl`\" />\n","comments":"","x":2141.6666717529297,"y":2221.66651058197,"z":"62f2734c.91713c","wires":[]},{"id":"5b3a470d.93edc8","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":2138,"y":2269.66650390625,"z":"62f2734c.91713c","wires":[]},{"id":"e29c6aed.23c678","type":"switchNode","name":"switch public-cdl","xml":"<switch test='`$public-cdl`'>\n","comments":"","outputs":1,"x":1681.6666259765625,"y":2353.333251953125,"z":"62f2734c.91713c","wires":[["c4d3a781.e41778","3dde98bd.bfcde8"]]},{"id":"c4d3a781.e41778","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1838.3334350585938,"y":2314.9997539520264,"z":"62f2734c.91713c","wires":[["26f503a2.08bafc"]]},{"id":"3dde98bd.bfcde8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1836.6665878295898,"y":2394.52352142334,"z":"62f2734c.91713c","wires":[["339c8ad7.f8ace6"]]},{"id":"26f503a2.08bafc","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1968.3333053588867,"y":2314.3330841064453,"z":"62f2734c.91713c","wires":[[]]},{"id":"339c8ad7.f8ace6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1964.9999961853027,"y":2394.666296005249,"z":"62f2734c.91713c","wires":[["814f994c.027bc8","8a6a938c.3c5a9"]]},{"id":"814f994c.027bc8","type":"set","name":"add public-cdl to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + $const.underscore\n + $network-key\n + '_public_vlans'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$public-cdl`\" />\n","comments":"","x":2145.000099182129,"y":2371.6663427352905,"z":"62f2734c.91713c","wires":[]},{"id":"8a6a938c.3c5a9","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":2141.333427429199,"y":2419.6663360595703,"z":"62f2734c.91713c","wires":[]},{"id":"d33bac4b.10f7e","type":"set","name":"add all-cdl to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type\n + $const.underscore\n + $network-key\n + '_guest_vlans'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$all-cdl`\" />\n","comments":"","x":1693.333236694336,"y":2463.3333492279053,"z":"62f2734c.91713c","wires":[]},{"id":"e32e550e.ce4b68","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1702.9999542236328,"y":2511.333245277405,"z":"62f2734c.91713c","wires":[]},{"id":"c848779a.240d78","type":"for","name":"for each availability zone","xml":"<for silentFailure='true' index='az-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone_length`' >\n","comments":"","outputs":1,"x":353.33343505859375,"y":4374.9996337890625,"z":"62f2734c.91713c","wires":[["1bd5e073.965a3"]]},{"id":"1bd5e073.965a3","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":545.0000534057617,"y":4374.99986743927,"z":"62f2734c.91713c","wires":[["8c513e09.0ce7b","d8508728.0a6158"]]},{"id":"8c513e09.0ce7b","type":"set","name":"add availability zone to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`'availability_zone_'\n + $az-index`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone[$az-index]`\" />\n","comments":"","x":741.6667327880859,"y":4346.666642189026,"z":"62f2734c.91713c","wires":[]},{"id":"d8508728.0a6158","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":723.0001449584961,"y":4397.9997634887695,"z":"62f2734c.91713c","wires":[]},{"id":"512e36fe.88cae8","type":"for","name":"for each vnf-network","xml":"<for silentFailure='true' index='vnf-network-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n","comments":"","outputs":1,"x":336.66674041748047,"y":4552.856967926025,"z":"62f2734c.91713c","wires":[["5dc2919d.0b7f8"]]},{"id":"5dc2919d.0b7f8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":516.666748046875,"y":4551.428550720215,"z":"62f2734c.91713c","wires":[["5a5ba6e2.1e3948","5d7a46ba.98e168","7be857d0.7b5748","81225066.d422a","11749150.3bf66f","1d8a369d.e77f19"]]},{"id":"5a5ba6e2.1e3948","type":"set","name":"set network-key to null","xml":"<set>\n<parameter name='network-key' value='' />\n","comments":"","x":705.2381591796875,"y":4455.713935852051,"z":"62f2734c.91713c","wires":[]},{"id":"5d7a46ba.98e168","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":686.6667175292969,"y":4544.285573005676,"z":"62f2734c.91713c","wires":[["6520c8ab.16e288"]]},{"id":"6520c8ab.16e288","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":854.3810386657715,"y":4542.857036590576,"z":"62f2734c.91713c","wires":[["7f2386f3.8d3528","2bea7bdd.32f244"]]},{"id":"7f2386f3.8d3528","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":1028.4762916564941,"y":4510.190425872803,"z":"62f2734c.91713c","wires":[["e12ae3cf.61aad"]]},{"id":"e12ae3cf.61aad","type":"switchNode","name":"switch network-role matches","xml":"<switch test='`$network-role ==\n $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role`'>\n","comments":"","outputs":1,"x":1268.0953826904297,"y":4509.999717712402,"z":"62f2734c.91713c","wires":[["e9540556.a1fb08"]]},{"id":"7be857d0.7b5748","type":"set","name":"set network-role","xml":"<set>\n<parameter name='network-role' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-role`' />\n","comments":"","x":685.2381591796875,"y":4499.999893188477,"z":"62f2734c.91713c","wires":[]},{"id":"e9540556.a1fb08","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1463.809642791748,"y":4508.571118354797,"z":"62f2734c.91713c","wires":[["3fdb12c.dbe93ee"]]},{"id":"3fdb12c.dbe93ee","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1589.5239219665527,"y":4507.142563819885,"z":"62f2734c.91713c","wires":[["d483caad.2e93d8","179b1b7.0d177e5"]]},{"id":"d483caad.2e93d8","type":"break","name":"break","xml":"<break>\n","comments":"","x":1710.9524765014648,"y":4528.571117401123,"z":"62f2734c.91713c","wires":[]},{"id":"81225066.d422a","type":"switchNode","name":"switch network-key","xml":"<switch test='`$network-key`'>\n","comments":"","outputs":1,"x":695.2382507324219,"y":4741.428112030029,"z":"62f2734c.91713c","wires":[["f5b5d9d4.1b7ca8","6d75dc10.6edb24"]]},{"id":"179b1b7.0d177e5","type":"switchNode","name":"switch network-role-tag","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role-tag`'>\n","comments":"","outputs":1,"x":1760.9523620605469,"y":4478.571460723877,"z":"62f2734c.91713c","wires":[["91c4ae77.273bf","71e343c7.4e88ec"]]},{"id":"91c4ae77.273bf","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1936.6667671203613,"y":4452.856826782227,"z":"62f2734c.91713c","wires":[["bd1e769.01ded88"]]},{"id":"71e343c7.4e88ec","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1934.9999656677246,"y":4502.380542755127,"z":"62f2734c.91713c","wires":[["37c81618.2d146a"]]},{"id":"bd1e769.01ded88","type":"set","name":"set network-key to network-role","xml":"<set>\n<parameter name='network-key' value='`network-role`' />\n","comments":"","x":2138.095474243164,"y":4452.857176780701,"z":"62f2734c.91713c","wires":[]},{"id":"37c81618.2d146a","type":"set","name":"set network-key to network-role-tag","xml":"<set>\n<parameter name='network-key' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role-tag`' />\n","comments":"","x":2149.52392578125,"y":4502.856931686401,"z":"62f2734c.91713c","wires":[]},{"id":"2bea7bdd.32f244","type":"switchNode","name":"switch network-key","xml":"<switch test='`$network-key`'>\n","comments":"","outputs":1,"x":1020.952522277832,"y":4589.999647140503,"z":"62f2734c.91713c","wires":[["5c09d85f.235618","3e62dc35.a9b424"]]},{"id":"995f7037.ee4bf","type":"break","name":"break","xml":"<break>\n","comments":"","x":1308.0953483581543,"y":4614.285466194153,"z":"62f2734c.91713c","wires":[]},{"id":"5c09d85f.235618","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1179.52392578125,"y":4565.714195251465,"z":"62f2734c.91713c","wires":[["a988af64.bd2f4"]]},{"id":"3e62dc35.a9b424","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1177.8571243286133,"y":4615.237911224365,"z":"62f2734c.91713c","wires":[["995f7037.ee4bf"]]},{"id":"a988af64.bd2f4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1308.0953369140625,"y":4564.85701751709,"z":"62f2734c.91713c","wires":[[]]},{"id":"f5b5d9d4.1b7ca8","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":862.3810920715332,"y":4670.000102043152,"z":"62f2734c.91713c","wires":[["62f29656.051328"]]},{"id":"6d75dc10.6edb24","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":860.7143402099609,"y":4828.095188140869,"z":"62f2734c.91713c","wires":[["af332e6e.953f4"]]},{"id":"62f29656.051328","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":990.9525032043457,"y":4669.142924308777,"z":"62f2734c.91713c","wires":[[]]},{"id":"af332e6e.953f4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":989.5239601135254,"y":4827.14288520813,"z":"62f2734c.91713c","wires":[["8d304280.8e78d","2958fb9c.bdf9f4","7f3043be.92e2cc","72bf09ca.ab89d8","4b1cfd9a.9e8b24"]]},{"id":"8d304280.8e78d","type":"set","name":"add neutron-id to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$network-key\n + '_net_id'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].neutron-id`\" />\n","comments":"","x":1179.5238876342773,"y":4718.571352958679,"z":"62f2734c.91713c","wires":[]},{"id":"2958fb9c.bdf9f4","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1175.142978668213,"y":4761.33282661438,"z":"62f2734c.91713c","wires":[]},{"id":"7f3043be.92e2cc","type":"set","name":"add network-name to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$network-key\n + '_net_name'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-name`\" />\n","comments":"","x":1189.095371246338,"y":4804.285776138306,"z":"62f2734c.91713c","wires":[]},{"id":"72bf09ca.ab89d8","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1172.2858390808105,"y":4847.0472021102905,"z":"62f2734c.91713c","wires":[]},{"id":"ba5eb0ad.38a06","type":"set","name":"add contrail-network-fqdn to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$network-key\n + '_net_fqdn'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].contrail-network-fqdn\n`\" />\n","comments":"","x":1722.380874633789,"y":4915.714277267456,"z":"62f2734c.91713c","wires":[]},{"id":"4ca5a217.76314c","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1684.1428260803223,"y":4958.475761413574,"z":"62f2734c.91713c","wires":[]},{"id":"4b1cfd9a.9e8b24","type":"switchNode","name":"switch contrail-network-fqdn","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].contrail-network-fqdn`'>\n","comments":"","outputs":1,"x":1188.0952453613281,"y":4912.857168197632,"z":"62f2734c.91713c","wires":[["a94f0d05.a0c3d","6ff9b046.b30fb"]]},{"id":"a94f0d05.a0c3d","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1376.6667366027832,"y":4888.571391105652,"z":"62f2734c.91713c","wires":[["d9f9059c.15a658"]]},{"id":"6ff9b046.b30fb","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1374.9999351501465,"y":4938.095107078552,"z":"62f2734c.91713c","wires":[["86fe563f.d04168"]]},{"id":"d9f9059c.15a658","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1505.2381477355957,"y":4887.714213371277,"z":"62f2734c.91713c","wires":[[]]},{"id":"86fe563f.d04168","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1506.666748046875,"y":4938.57137298584,"z":"62f2734c.91713c","wires":[["ba5eb0ad.38a06","4ca5a217.76314c"]]},{"id":"11749150.3bf66f","type":"for","name":"for each subnet","xml":"<for silentFailure='true' index='subnet-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data_length`' >\n","comments":"","outputs":1,"x":683.8095855712891,"y":5118.571453094482,"z":"62f2734c.91713c","wires":[["244f7fd1.c9d83"]]},{"id":"1d8a369d.e77f19","type":"set","name":"set found-ipv4 and found-ipv6 to false","xml":"<set>\n<parameter name='found-ipv4' value='false' />\n<parameter name='found-ipv6' value='false' />\n","comments":"","x":752.3810729980469,"y":5075.713855743408,"z":"62f2734c.91713c","wires":[]},{"id":"244f7fd1.c9d83","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":833.8096771240234,"y":5118.571304321289,"z":"62f2734c.91713c","wires":[["c0967784.a9cf18"]]},{"id":"c0967784.a9cf18","type":"switchNode","name":"switch ip-version","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-index].ip-version`'>\n","comments":"","outputs":1,"x":990.952522277832,"y":5118.571067810059,"z":"62f2734c.91713c","wires":[["f39b1d48.b6c63","af349b27.a1c158"]]},{"id":"f39b1d48.b6c63","type":"outcome","name":"ipv4","xml":"<outcome value='ipv4'>\n","comments":"","outputs":1,"x":1165.2381744384766,"y":5055.714273452759,"z":"62f2734c.91713c","wires":[["b1c6c40a.950708"]]},{"id":"af349b27.a1c158","type":"outcome","name":"ipv6","xml":"<outcome value='ipv6'>\n","comments":"","outputs":1,"x":1169.5237655639648,"y":5188.571798324585,"z":"62f2734c.91713c","wires":[["670f8cf1.a9b464"]]},{"id":"b1c6c40a.950708","type":"switchNode","name":"switch found-ipv4","xml":"<switch test='`$found-ipv4`'>\n","comments":"","outputs":1,"x":1333.80952835083,"y":5054.285632133484,"z":"62f2734c.91713c","wires":[["6cb1cc6e.28fa94"]]},{"id":"670f8cf1.a9b464","type":"switchNode","name":"switch found-ipv6","xml":"<switch test='`$found-ipv6`'>\n","comments":"","outputs":1,"x":1338.0951881408691,"y":5187.71465587616,"z":"62f2734c.91713c","wires":[["9025c32a.9f928"]]},{"id":"6cb1cc6e.28fa94","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1509.5238565717423,"y":5054.285588809422,"z":"62f2734c.91713c","wires":[["27c818c3.9e9dc8"]]},{"id":"9025c32a.9f928","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1515.2380332946777,"y":5187.143051147461,"z":"62f2734c.91713c","wires":[["95186977.47d698"]]},{"id":"ccea70f4.1fdf3","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1942.381191253662,"y":5081.428560256958,"z":"62f2734c.91713c","wires":[["68526d0e.d8a294","1db07eb2.5a9051","8ffaabc7.de03f8"]]},{"id":"aa0bc365.926e7","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1939.523609161377,"y":5213.714340209961,"z":"62f2734c.91713c","wires":[["1fd54b79.bb1005","15d7075d.b5b319","57cbf528.afc52c"]]},{"id":"68526d0e.d8a294","type":"set","name":"add subnet-id to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$network-key\n + $const.subnet-id`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-index].subnet-id`\" />\n","comments":"","x":2119.524112701416,"y":5039.999990463257,"z":"62f2734c.91713c","wires":[]},{"id":"1db07eb2.5a9051","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":2118.4288749694824,"y":5082.761473655701,"z":"62f2734c.91713c","wires":[]},{"id":"8ffaabc7.de03f8","type":"set","name":"set found-ipv4 to true","xml":"<set>\n<parameter name='found-ipv4' value='true' />\n","comments":"","x":2113.8097915649414,"y":5127.142671585083,"z":"62f2734c.91713c","wires":[]},{"id":"1fd54b79.bb1005","type":"set","name":"add subnet-id to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$network-key\n + $const.v6-subnet-id`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-index].subnet-id`\" />\n","comments":"","x":2112.380645751953,"y":5170.000004768372,"z":"62f2734c.91713c","wires":[]},{"id":"15d7075d.b5b319","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":2111.2854080200195,"y":5212.761487960815,"z":"62f2734c.91713c","wires":[]},{"id":"57cbf528.afc52c","type":"set","name":"set found-ipv6 to true","xml":"<set>\n<parameter name='found-ipv6' value='true' />\n","comments":"","x":2106.6663246154785,"y":5257.142685890198,"z":"62f2734c.91713c","wires":[]},{"id":"27c818c3.9e9dc8","type":"switchNode","name":"switch subnet-id","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-index].subnet-id`'>\n","comments":"","outputs":1,"x":1670.9525146484375,"y":5054.28572845459,"z":"62f2734c.91713c","wires":[["474698f4.e5a8f8","893d66df.69a1c8"]]},{"id":"474698f4.e5a8f8","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1820.9525146484375,"y":5031.428550720215,"z":"62f2734c.91713c","wires":[["425d43fb.c40e1c"]]},{"id":"893d66df.69a1c8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1819.2857131958008,"y":5080.952266693115,"z":"62f2734c.91713c","wires":[["ccea70f4.1fdf3"]]},{"id":"425d43fb.c40e1c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1940.9524993896484,"y":5030.857063293457,"z":"62f2734c.91713c","wires":[[]]},{"id":"95186977.47d698","type":"switchNode","name":"switch subnet-id","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-index].subnet-id`'>\n","comments":"","outputs":1,"x":1670.9522171020508,"y":5187.143106460571,"z":"62f2734c.91713c","wires":[["f64135ca.93fde8","d2a3d0dd.21dce"]]},{"id":"f64135ca.93fde8","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1820.9522171020508,"y":5164.285928726196,"z":"62f2734c.91713c","wires":[["f72d2645.0f4908"]]},{"id":"d2a3d0dd.21dce","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1819.285415649414,"y":5213.809644699097,"z":"62f2734c.91713c","wires":[["aa0bc365.926e7"]]},{"id":"f72d2645.0f4908","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1940.9522018432617,"y":5163.7144412994385,"z":"62f2734c.91713c","wires":[[]]},{"id":"9027092b.9a5a08","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":741.9047241210938,"y":2608.5717754364014,"z":"62f2734c.91713c","wires":[["65652af4.9688b4"]]},{"id":"a7f8e808.5c0098","type":"for","name":"for each vnfc-network-data","xml":"<for silentFailure='true' index='vnfc-network-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n","comments":"","outputs":1,"x":1085.3333740234375,"y":2606.571533203125,"z":"62f2734c.91713c","wires":[["b805b183.ee508"]]},{"id":"22e49014.6b821","type":"for","name":"for each vnfc-port","xml":"<for silentFailure='true' index='vnfc-port-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port_length`' >\n","comments":"","outputs":1,"x":1762.4762725830078,"y":2685.142961502075,"z":"62f2734c.91713c","wires":[["52340d1f.2ff214"]]},{"id":"def82530.611858","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1598.1904411315918,"y":2652.2860412597656,"z":"62f2734c.91713c","wires":[["22e49014.6b821","bce98c01.4dca5"]]},{"id":"bce98c01.4dca5","type":"set","name":"set port-index to 0","xml":"<set>\n<parameter name='port-index' value='0' />\n","comments":"","x":1763.904872894287,"y":2629.428563117981,"z":"62f2734c.91713c","wires":[]},{"id":"52340d1f.2ff214","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1890.809482574463,"y":3124.7145442962646,"z":"62f2734c.91713c","wires":[["89ff0614.526518","7620e989.c97b78","342b9bfd.017684","c2315ab0.40bc58","fcd55ba.1a587a8","963d393f.df37a8","8ed2959a.e11c28","43b64643.4db0e8","b84f70af.0a6b7","8ecb96aa.013b18"]]},{"id":"89ff0614.526518","type":"set","name":"add subnet-id to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type\n + '_subint_'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role\n + '_port_'\n + $port-index\n + '_subintcount'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data_length`\" />\n","comments":"","x":2106.761764526367,"y":2610.381083011627,"z":"62f2734c.91713c","wires":[]},{"id":"7620e989.c97b78","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":2105.3331718444824,"y":2654.6666889190674,"z":"62f2734c.91713c","wires":[]},{"id":"b805b183.ee508","type":"switchNode","name":"switch vnfc-type","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type`'>\n","comments":"","outputs":1,"x":1311.0476760864258,"y":2605.142822265625,"z":"62f2734c.91713c","wires":[["2663ead5.32cdf6","831e3c5c.4e0fb"]]},{"id":"2663ead5.32cdf6","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1466.7618217468262,"y":2565.14298248291,"z":"62f2734c.91713c","wires":[["aeacaf5c.4a17e"]]},{"id":"831e3c5c.4e0fb","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1469.3807334899902,"y":2650.3810329437256,"z":"62f2734c.91713c","wires":[["def82530.611858"]]},{"id":"aeacaf5c.4a17e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1586.761806488037,"y":2564.5714950561523,"z":"62f2734c.91713c","wires":[[]]},{"id":"8979c43f.b5e6a8","type":"set","name":"add floating-ip-v4 to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type\n + '_subint_'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role\n + '_port_'\n + $port-index\n + '_floating_ip'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[0].floating-ips.floating-ip-v4`\" />\n","comments":"","x":2565.5715141296387,"y":2725.380892276764,"z":"62f2734c.91713c","wires":[]},{"id":"aed60799.28b158","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":2554.142921447754,"y":2769.6665325164795,"z":"62f2734c.91713c","wires":[]},{"id":"342b9bfd.017684","type":"switchNode","name":"switch floating-ip-v4","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[0].floating-ips.floating-ip-v4`'>\n","comments":"","outputs":1,"x":2096.761962890625,"y":2726.571213245392,"z":"62f2734c.91713c","wires":[["5e2e5276.f83e8c","ef40668.29c7a98"]]},{"id":"5441bc84.8b3dc4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2381.047863006592,"y":2748.000096797943,"z":"62f2734c.91713c","wires":[["8979c43f.b5e6a8","aed60799.28b158"]]},{"id":"5e2e5276.f83e8c","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2253.904945373535,"y":2700.8570895195007,"z":"62f2734c.91713c","wires":[["9a5572e6.d3b32"]]},{"id":"ef40668.29c7a98","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2252.2381439208984,"y":2750.380805492401,"z":"62f2734c.91713c","wires":[["5441bc84.8b3dc4"]]},{"id":"9a5572e6.d3b32","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2373.904930114746,"y":2700.285602092743,"z":"62f2734c.91713c","wires":[[]]},{"id":"be0b3da1.956e3","type":"set","name":"add floating-ip-v6 to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type\n + '_subint_'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role\n + '_port_'\n + $port-index\n + '_floating_v6_ip'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[0].floating-ips.floating-ip-v6`\" />\n","comments":"","x":2564.142967224121,"y":2858.714638233185,"z":"62f2734c.91713c","wires":[]},{"id":"57e2f887.9006b8","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":2552.7143745422363,"y":2903.0002784729004,"z":"62f2734c.91713c","wires":[]},{"id":"8ecb96aa.013b18","type":"set","name":"increment port-index","xml":"<set>\n<parameter name='port-index' value='`$port-index + 1`' />\n","comments":"","x":2095.333526611328,"y":3855.3811588287354,"z":"62f2734c.91713c","wires":[]},{"id":"c2315ab0.40bc58","type":"switchNode","name":"switch floating-ip-v6","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[0].floating-ips.floating-ip-v6`'>\n","comments":"","outputs":1,"x":2095.3331146240234,"y":2856.571629047394,"z":"62f2734c.91713c","wires":[["4820f6a4.eec4f8","fe300720.a34a48"]]},{"id":"9852793a.5e9128","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2379.6190147399902,"y":2878.000512599945,"z":"62f2734c.91713c","wires":[["be0b3da1.956e3","57e2f887.9006b8"]]},{"id":"4820f6a4.eec4f8","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2252.4760971069336,"y":2830.8575053215027,"z":"62f2734c.91713c","wires":[["c3c0f5a.0614308"]]},{"id":"fe300720.a34a48","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2250.809295654297,"y":2880.381221294403,"z":"62f2734c.91713c","wires":[["9852793a.5e9128"]]},{"id":"c3c0f5a.0614308","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2372.4760818481445,"y":2830.286017894745,"z":"62f2734c.91713c","wires":[[]]},{"id":"f27e39bf.037e88","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":308.69056701660156,"y":5615.952404022217,"z":"62f2734c.91713c","wires":[["fd83d742.733228","4d779994.6081a8","8d6f449e.f1f918","83e3ead7.7a63d8","30685a0.656d0a6","f46ab551.8a05b8"]]},{"id":"504ab2e0.abfe7c","type":"comment","name":"merge input parameters","info":"","comments":"","x":559.1667938232422,"y":5739.285895347595,"z":"62f2734c.91713c","wires":[]},{"id":"fd83d742.733228","type":"for","name":"for each input parameter","xml":"<for silentFailure='true' index='input-index' start='0' end='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`' >\n","comments":"","outputs":1,"x":531.4287261962891,"y":5781.666687011719,"z":"62f2734c.91713c","wires":[["ab46155c.385d98"]]},{"id":"eb7a938e.00c72","type":"for","name":"for each current parameter","xml":"<for index='cur-index' start='0' end='`$output-index`' >\n","comments":"","outputs":1,"x":919.5239715576172,"y":5511.666131019592,"z":"62f2734c.91713c","wires":[["30d6a7d1.f1b798"]]},{"id":"30d6a7d1.f1b798","type":"switchNode","name":"switch param names match?","xml":"<switch test='`$tmp.vf-module-topology.vf-module-parameters.param[$cur-index].name\n == $tmp.preload-parameters.param[$preload-index].name`'>\n","comments":"","outputs":1,"x":1174.7621383666992,"y":5510.237768173218,"z":"62f2734c.91713c","wires":[["d7a3ef1e.6bc57"]]},{"id":"d7a3ef1e.6bc57","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1371.4287567138672,"y":5508.571184158325,"z":"62f2734c.91713c","wires":[["41434b9b.57fd24"]]},{"id":"d40c2249.01d93","type":"set","name":"overwrite with input value","xml":"<set>\n<parameter name='$tmp.vf-module-topology.vf-module-parameters.param[$cur-index].value' value='`$tmp.preload-parameters.param[$preload-index].value`' />\n","comments":"","x":1683.0954132080078,"y":5461.904270172119,"z":"62f2734c.91713c","wires":[]},{"id":"ab46155c.385d98","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":709.7620162963867,"y":5781.666283607483,"z":"62f2734c.91713c","wires":[["b3ee2d21.aacda","658f4340.e58ddc","c31bf966.dabfa8"]]},{"id":"197e6c7e.4deb04","type":"set","name":"set found-match to false","xml":"<set>\n<parameter name='found-match' value='false' />\n","comments":"","x":911.4288177490234,"y":5463.571181297302,"z":"62f2734c.91713c","wires":[]},{"id":"41434b9b.57fd24","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1498.0953903198242,"y":5506.904275894165,"z":"62f2734c.91713c","wires":[["d40c2249.01d93","cbf0f1bd.ee41d","53658f0.52dd77"]]},{"id":"cbf0f1bd.ee41d","type":"set","name":"set found-match to true","xml":"<set>\n<parameter name='found-match' value='true' />\n","comments":"","x":1676.4287185668945,"y":5508.5709400177,"z":"62f2734c.91713c","wires":[]},{"id":"53658f0.52dd77","type":"break","name":"break","xml":"<break>\n","comments":"","x":1624.7619972229004,"y":5553.571183204651,"z":"62f2734c.91713c","wires":[]},{"id":"86360576.d3d458","type":"switchNode","name":"switch found-match","xml":"<switch test='`$found-match`'>\n","comments":"","outputs":1,"x":896.4287414550781,"y":5625.237775802612,"z":"62f2734c.91713c","wires":[["4fb80273.d5805c"]]},{"id":"4fb80273.d5805c","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1066.4288291931152,"y":5625.23769569397,"z":"62f2734c.91713c","wires":[["939cb38b.686c1"]]},{"id":"939cb38b.686c1","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1198.0954132080078,"y":5623.57070350647,"z":"62f2734c.91713c","wires":[["c39ee472.45ae88","59b2698c.43eb18"]]},{"id":"2f4bb474.d8c29c","type":"comment","name":"add to the end of the current parameters","info":"","comments":"","x":1339.762191772461,"y":5566.905006408691,"z":"62f2734c.91713c","wires":[]},{"id":"c39ee472.45ae88","type":"set","name":"add param","xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.preload-parameters.param[$preload-index].name`\" />\n<parameter name='tmp.vf-module-topology.vf-module-parameters.param[$output-index].value'\n value=\"`$tmp.preload-parameters.param[$preload-index].value`\" />\n","comments":"","x":1333.0955123901367,"y":5603.571434020996,"z":"62f2734c.91713c","wires":[]},{"id":"59b2698c.43eb18","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1369.857406616211,"y":5647.999420166016,"z":"62f2734c.91713c","wires":[]},{"id":"4d779994.6081a8","type":"set","name":"set new param length","xml":"<set>\n<parameter name='$tmp.vf-module-topology.vf-module-parameters.param_length' value='`$output-index`' />","comments":"","x":511.4287567138672,"y":5942.857385635376,"z":"62f2734c.91713c","wires":[]},{"id":"65652af4.9688b4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":890,"y":2608,"z":"62f2734c.91713c","wires":[["a7f8e808.5c0098"]]},{"id":"fcd55ba.1a587a8","type":"set","name":"set cdls to null","xml":"<set>\n<parameter name='vlan-cdl' value='' />\n<parameter name='net-names-cdl' value='' />\n<parameter name='net-id-cdl' value='' />\n<parameter name='ipv4-ips-cdl' value='' />\n<parameter name='ipv6-ips-cdl' value='' />\n","comments":"","x":2079.0001220703125,"y":3029.3336143493652,"z":"62f2734c.91713c","wires":[]},{"id":"963d393f.df37a8","type":"for","name":"for each vnic-sub-interface","xml":"<for silentFailure='true' index='vnic-sub-interface-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data_length`' >\n","comments":"","outputs":1,"x":2115.3333740234375,"y":3093.6669492721558,"z":"62f2734c.91713c","wires":[["f6957bfe.579ca8"]]},{"id":"8ced3400.2d051","type":"switchNode","name":"switch vlan-cdl","xml":"<switch test='`$vlan-cdl`'>\n","comments":"","outputs":1,"x":2487.000114440918,"y":3000.333372116089,"z":"62f2734c.91713c","wires":[["2644148e.c4aebc","6a57dd8a.0b0594"]]},{"id":"f6957bfe.579ca8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2305.3333740234375,"y":3093.6669492721558,"z":"62f2734c.91713c","wires":[["8ced3400.2d051","490adc8a.452f84","61965be1.e5aaa4","3fafa48.de0f25c"]]},{"id":"2644148e.c4aebc","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2685.000114440918,"y":2970.333372116089,"z":"62f2734c.91713c","wires":[["33540bd4.083f34"]]},{"id":"6a57dd8a.0b0594","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2683.619010925293,"y":3019.571409225464,"z":"62f2734c.91713c","wires":[["3dbfa41e.18650c"]]},{"id":"33540bd4.083f34","type":"set","name":"set vlan-cdl to vlan-tag-id","xml":"<set>\n<parameter name='vlan-cdl' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].vlan-tag-id`' />\n","comments":"","x":2871.000114440918,"y":2970.333372116089,"z":"62f2734c.91713c","wires":[]},{"id":"3dbfa41e.18650c","type":"set","name":"add comma and vlan-tag-id to vlan-cdl","xml":"<set>\n<parameter name='vlan-cdl' value=\"`$vlan-cdl + ',' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].vlan-tag-id`\" />\n","comments":"","x":2911.000114440918,"y":3018.333372116089,"z":"62f2734c.91713c","wires":[]},{"id":"490adc8a.452f84","type":"switchNode","name":"switch net-names-cdl","xml":"<switch test='`$net-names-cdl`'>\n","comments":"","outputs":1,"x":2503.000114440918,"y":3096.333372116089,"z":"62f2734c.91713c","wires":[["a25a51be.c9edb","6842b7e6.73dae8"]]},{"id":"a25a51be.c9edb","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2683.000114440918,"y":3066.333372116089,"z":"62f2734c.91713c","wires":[["ed69234b.439da"]]},{"id":"6842b7e6.73dae8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2681.619010925293,"y":3115.571409225464,"z":"62f2734c.91713c","wires":[["428d148f.9695ac"]]},{"id":"ed69234b.439da","type":"set","name":"set net-names-cdl to network-name","xml":"<set>\n<parameter name='net-names-cdl' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-name`' />\n","comments":"","x":2899.000114440918,"y":3064.333372116089,"z":"62f2734c.91713c","wires":[]},{"id":"428d148f.9695ac","type":"set","name":"add comma and network-name to net-names-cdl","xml":"<set>\n<parameter name='net-names-cdl' value=\"`$net-names-cdl + ',' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-name`\" />\n","comments":"","x":2941.000114440918,"y":3114.333372116089,"z":"62f2734c.91713c","wires":[]},{"id":"61965be1.e5aaa4","type":"switchNode","name":"switch net-id-cdl","xml":"<switch test='`$net-id-cdl`'>\n","comments":"","outputs":1,"x":2485.000114440918,"y":3192.333372116089,"z":"62f2734c.91713c","wires":[["d86f3512.88cdf8","5126613a.11315"]]},{"id":"d86f3512.88cdf8","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2681.000114440918,"y":3162.333372116089,"z":"62f2734c.91713c","wires":[["9d9c53b2.66912"]]},{"id":"5126613a.11315","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2679.619010925293,"y":3211.571409225464,"z":"62f2734c.91713c","wires":[["89f9ff7a.bd5b6"]]},{"id":"9d9c53b2.66912","type":"set","name":"set net-id-cdl to network-id","xml":"<set>\n<parameter name='net-id-cdl' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-id`' />\n","comments":"","x":2871.000114440918,"y":3162.333372116089,"z":"62f2734c.91713c","wires":[]},{"id":"89f9ff7a.bd5b6","type":"set","name":"add comma and network-id to net-id-cdl","xml":"<set>\n<parameter name='net-id-cdl' value=\"`$net-id-cdl + ',' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-id`\" />\n","comments":"","x":2909.000114440918,"y":3210.333372116089,"z":"62f2734c.91713c","wires":[]},{"id":"3fafa48.de0f25c","type":"for","name":"for each network-information-item","xml":"<for silentFailure='true' index='nii-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-information-items.network-information-item_length`' >\n","comments":"","outputs":1,"x":2540.333282470703,"y":3329.3334674835205,"z":"62f2734c.91713c","wires":[["38d3a875.4e92a8"]]},{"id":"38d3a875.4e92a8","type":"switchNode","name":"switch ip-version","xml":"<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-information-items.network-information-item[$nii-index].ip-version`'>\n","comments":"","outputs":1,"x":2788.333282470703,"y":3327.3334674835205,"z":"62f2734c.91713c","wires":[["3ee08dd7.83a202","959816d5.90d7a8"]]},{"id":"3ee08dd7.83a202","type":"outcome","name":"ipv4","xml":"<outcome value='ipv4'>\n","comments":"","outputs":1,"x":2952.333240509033,"y":3281.6667709350586,"z":"62f2734c.91713c","wires":[["a91da198.edbaf"]]},{"id":"959816d5.90d7a8","type":"outcome","name":"ipv6","xml":"<outcome value='ipv6'>\n","comments":"","outputs":1,"x":2952.999942779541,"y":3380.000162124634,"z":"62f2734c.91713c","wires":[["e7f546e8.a98568"]]},{"id":"a91da198.edbaf","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":3086.333240509033,"y":3281.6667709350586,"z":"62f2734c.91713c","wires":[["9b242717.3c1098"]]},{"id":"9b242717.3c1098","type":"for","name":"for each network-ip","xml":"<for silentFailure='true' index='ip-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-information-items.network-information-item[$nii-index].network-ips.network-ip_length`' >\n","comments":"","outputs":1,"x":3254.333240509033,"y":3281.6667709350586,"z":"62f2734c.91713c","wires":[["dded38ed.2df718"]]},{"id":"f8b51cd4.0f4e5","type":"set","name":"add network-ip to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type\n + $const.underscore\n + $vnfc-network-index\n + '_subint_'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role\n + '_port_'\n + $port-index\n + '_ip_'\n + $ip-index`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-information-items.network-information-item[$nii-index].network-ips.network-ip[$ip-index]`\" />\n","comments":"","x":3601.6668090820312,"y":3257.6667156219482,"z":"62f2734c.91713c","wires":[]},{"id":"e7f546e8.a98568","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":3084.999744415283,"y":3378.3332748413086,"z":"62f2734c.91713c","wires":[["c19d0246.06bb5"]]},{"id":"c19d0246.06bb5","type":"for","name":"for each network-ip","xml":"<for silentFailure='true' index='ip-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-information-items.network-information-item[$nii-index].network-ips.network-ip_length`' >\n","comments":"","outputs":1,"x":3252.999744415283,"y":3378.3332748413086,"z":"62f2734c.91713c","wires":[["60991483.ac2fdc"]]},{"id":"8ed2959a.e11c28","type":"switchNode","name":"switch vlan-cdl","xml":"<switch test='`$vlan-cdl`'>\n","comments":"","outputs":1,"x":2078.3332901000977,"y":3500.0000591278076,"z":"62f2734c.91713c","wires":[["c6584076.45fa","13dd29bb.4b0326"]]},{"id":"c6584076.45fa","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2275.0001106262207,"y":3471.6668310165405,"z":"62f2734c.91713c","wires":[["2a0bdf43.2e99"]]},{"id":"13dd29bb.4b0326","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2273.6191902160645,"y":3529.2380990982056,"z":"62f2734c.91713c","wires":[["39daf652.26d5ba"]]},{"id":"2a0bdf43.2e99","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2408.333637237549,"y":3471.6668882369995,"z":"62f2734c.91713c","wires":[[]]},{"id":"39daf652.26d5ba","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2408.3335456848145,"y":3531.6668100357056,"z":"62f2734c.91713c","wires":[["1bccb9e1.8d13a6","b4e8345d.1a65b8"]]},{"id":"1bccb9e1.8d13a6","type":"set","name":"add vlan-cdl to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type\n + $const.underscore\n + $vnfc-network-index\n + '_subint_'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role\n + '_port_'\n + $port-index\n + '_vlan_ids'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$vlan-cdl`\" />\n","comments":"","x":2581.6668090820312,"y":3508.33323097229,"z":"62f2734c.91713c","wires":[]},{"id":"b4e8345d.1a65b8","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":2581.904769897461,"y":3552.618975162506,"z":"62f2734c.91713c","wires":[]},{"id":"43b64643.4db0e8","type":"switchNode","name":"switch net-names-cdl","xml":"<switch test='`$net-names-cdl`'>\n","comments":"","outputs":1,"x":2099.999801635742,"y":3616.6665687561035,"z":"62f2734c.91713c","wires":[["69962b39.792284","1c69166f.a36a3a"]]},{"id":"69962b39.792284","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2276.6667671203613,"y":3588.333420753479,"z":"62f2734c.91713c","wires":[["9c3ae633.249288"]]},{"id":"1c69166f.a36a3a","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2275.285846710205,"y":3645.904688835144,"z":"62f2734c.91713c","wires":[["17ef0d4d.d1ba63"]]},{"id":"9c3ae633.249288","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2410.0002937316895,"y":3588.333477973938,"z":"62f2734c.91713c","wires":[[]]},{"id":"17ef0d4d.d1ba63","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2410.000202178955,"y":3648.333399772644,"z":"62f2734c.91713c","wires":[["7424cdb.1585134","e70a2fee.28d93"]]},{"id":"7424cdb.1585134","type":"set","name":"add net-names-cdl to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type\n + $const.underscore\n + $vnfc-network-index\n + '_subint_'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role\n + '_port_'\n + $port-index\n + '_net_names'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$net-names-cdl`\" />\n","comments":"","x":2583.333465576172,"y":3624.9998207092285,"z":"62f2734c.91713c","wires":[]},{"id":"e70a2fee.28d93","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":2583.5714263916016,"y":3669.2855648994446,"z":"62f2734c.91713c","wires":[]},{"id":"b84f70af.0a6b7","type":"switchNode","name":"switch net-id-cdl","xml":"<switch test='`$net-id-cdl`'>\n","comments":"","outputs":1,"x":2084.9998779296875,"y":3738.333240509033,"z":"62f2734c.91713c","wires":[["5e4750e4.fb95f","9cf00216.e93f3"]]},{"id":"5e4750e4.fb95f","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2273.333354949951,"y":3710.000012397766,"z":"62f2734c.91713c","wires":[["8a6499e9.5adbd8"]]},{"id":"9cf00216.e93f3","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2271.952434539795,"y":3767.571280479431,"z":"62f2734c.91713c","wires":[["1b023261.ed410e"]]},{"id":"8a6499e9.5adbd8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2406.6668815612793,"y":3710.000069618225,"z":"62f2734c.91713c","wires":[[]]},{"id":"1b023261.ed410e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2406.666790008545,"y":3769.999991416931,"z":"62f2734c.91713c","wires":[["e88db1d3.740ac","4058fef0.82f28"]]},{"id":"e88db1d3.740ac","type":"set","name":"add net-id-cdl to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type\n + $const.underscore\n + $vnfc-network-index\n + '_subint_'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role\n + '_port_'\n + $port-index\n + '_net_ids'`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$net-id-cdl`\" />\n","comments":"","x":2580.0000534057617,"y":3746.6664123535156,"z":"62f2734c.91713c","wires":[]},{"id":"4058fef0.82f28","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":2580.2380142211914,"y":3790.9521565437317,"z":"62f2734c.91713c","wires":[]},{"id":"dded38ed.2df718","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":3423.333251953125,"y":3279.999755859375,"z":"62f2734c.91713c","wires":[["f8b51cd4.0f4e5","fa4f9d15.6a235"]]},{"id":"60991483.ac2fdc","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":3419.999755859375,"y":3378.333251953125,"z":"62f2734c.91713c","wires":[["74949237.c02abc","279ffa59.ebc8b6"]]},{"id":"fa4f9d15.6a235","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":3594.999755859375,"y":3306.66650390625,"z":"62f2734c.91713c","wires":[]},{"id":"74949237.c02abc","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":3594.999755859375,"y":3403.333251953125,"z":"62f2734c.91713c","wires":[]},{"id":"279ffa59.ebc8b6","type":"set","name":"add network-ip to param","xml":"<set>\n<parameter name='tmp.vf-module-parameters.param[$output-index].name'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type\n + $const.underscore\n + $vnfc-network-index\n + '_subint_'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role\n + '_port_'\n + $port-index\n + '_v6_ip_'\n + $ip-index`\" />\n<parameter name='tmp.vf-module-parameters.param[$output-index].value'\n value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-information-items.network-information-item[$nii-index].network-ips.network-ip[$ip-index]`\" />\n","comments":"","x":3596.66650390625,"y":3358.333251953125,"z":"62f2734c.91713c","wires":[]},{"id":"9be09c43.01223","type":"set","name":"set test data","xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-type' value='vnfc-type-2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vfnc-port-id' value='vnfc-port-id-3' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].common-sub-interface-role' value='csir-3' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-id' value='network-id-5' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-name' value='network-name-5' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].vlan-tag-id' value='vlan-tag-id-5' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].ip-version' value='ipv4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].network-ips.network-ip[0]' value='9.9.9.9' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].network-ips.network-ip[1]' value='10.10.10.10' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].ip-version' value='ipv6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].network-ips.network-ip[0]' value='cafe::9' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].network-ips.network-ip[1]' value='cafe::10' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-id' value='network-id-6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-name' value='network-name-6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].vlan-tag-id' value='vlan-tag-id-6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].ip-version' value='ipv4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].network-ips.network-ip[0]' value='11.11.11.11' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].network-ips.network-ip[1]' value='12.12.12.12' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].ip-version' value='ipv6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].network-ips.network-ip[0]' value='cafe::11' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[0].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].network-ips.network-ip[1]' value='cafe::12' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vfnc-port-id' value='vnfc-port-id-4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].common-sub-interface-role' value='csir-4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-id' value='network-id-7' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-name' value='network-name-7' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].vlan-tag-id' value='vlan-tag-id-7' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].ip-version' value='ipv4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].network-ips.network-ip[0]' value='13.13.13.13' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[0].network-ips.network-ip[1]' value='14.14.14.14' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].ip-version' value='ipv6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].network-ips.network-ip[0]' value='cafe::13' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[0].network-information-items.network-information-item[1].network-ips.network-ip[1]' value='cafe::14' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-id' value='network-id-8' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-name' value='network-name-8' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].vlan-tag-id' value='vlan-tag-id-8' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].ip-version' value='ipv4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].network-ips.network-ip[0]' value='15.15.15.15' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[0].network-ips.network-ip[1]' value='16.16.16.16' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].ip-version' value='ipv6' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].network-ips.network-ip_length' value='2' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].network-ips.network-ip[0]' value='cafe::15' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[1].vnfc-ports.vnfc-port[1].vnic-sub-interfaces.sub-interface-network-data[1].network-information-items.network-information-item[1].network-ips.network-ip[1]' value='cafe::16' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[1].vm-names.vnfc-names[0].vnfc-networks.vnfc-network-data[0].vnfc-type' value='vnfc-type-3' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[1].vm-names.vnfc-names[1].vnfc-networks.vnfc-network-data[0].vnfc-type' value='vnfc-type-4' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[1].vm-names.vnfc-names[2].vnfc-networks.vnfc-network-data[0].vnfc-type' value='vnfc-type-5' />\n","comments":"","x":735,"y":186.66665649414062,"z":"62f2734c.91713c","wires":[]},{"id":"8d6f449e.f1f918","type":"set","name":"set sdnc-generated-cloud-resources flag","xml":"<set>\n<parameter name='tmp.vf-module-topology.sdnc-generated-cloud-resources' value='true' />\n","comments":"","x":566.9048309326172,"y":5995.7154331207275,"z":"62f2734c.91713c","wires":[]},{"id":"83e3ead7.7a63d8","type":"switchNode","name":"switch current parameters length","xml":"<switch test='`$tmp.vf-module-topology.vf-module-parameters.param_length`'>\n","comments":"","outputs":1,"x":551.4286041259766,"y":5335.713705062866,"z":"62f2734c.91713c","wires":[["95c2dd2d.62308","ef5a89cb.544658","1cc7a4df.de2f8b"]]},{"id":"95c2dd2d.62308","type":"outcome","name":"0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":774.285717010498,"y":5294.286109924316,"z":"62f2734c.91713c","wires":[["65a50c78.38adb4"]]},{"id":"ef5a89cb.544658","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":774.285774230957,"y":5337.142924308777,"z":"62f2734c.91713c","wires":[["65a50c78.38adb4"]]},{"id":"1cc7a4df.de2f8b","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":772.6190223693848,"y":5380.952753067017,"z":"62f2734c.91713c","wires":[["354850a7.898d6"]]},{"id":"65a50c78.38adb4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":901.4285888671875,"y":5317.14306640625,"z":"62f2734c.91713c","wires":[[]]},{"id":"354850a7.898d6","type":"set","name":"copy current parameters to preload-parameters","xml":"<set>\n<parameter name='tmp.preload-parameters.' value='`$tmp.vf-module-topology.vf-module-parameters.`' />\n","comments":"","x":1024.285701751709,"y":5379.999489784241,"z":"62f2734c.91713c","wires":[]},{"id":"30685a0.656d0a6","type":"set","name":"copy generated parameters to current parameters","xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-parameters.' value='`$tmp.vf-module-parameters.`' />\n","comments":"","x":602.8571472167969,"y":5421.428827285767,"z":"62f2734c.91713c","wires":[]},{"id":"f46ab551.8a05b8","type":"for","name":"for each preload parameter","xml":"<for silentFailure='true' index='preload-index' start='0' end='`$tmp.preload-parameters.param_length`' >\n","comments":"","outputs":1,"x":532.8571701049805,"y":5519.999696731567,"z":"62f2734c.91713c","wires":[["650822ca.25206c"]]},{"id":"650822ca.25206c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":722.857177734375,"y":5520,"z":"62f2734c.91713c","wires":[["197e6c7e.4deb04","eb7a938e.00c72","86360576.d3d458"]]},{"id":"658f4340.e58ddc","type":"for","name":"for each current parameter","xml":"<for index='cur-index' start='0' end='`$output-index`' >\n","comments":"","outputs":1,"x":915.7142944335938,"y":5748.5712890625,"z":"62f2734c.91713c","wires":[["6886ea64.0d2104"]]},{"id":"6886ea64.0d2104","type":"switchNode","name":"switch param names match?","xml":"<switch test='`$tmp.vf-module-topology.vf-module-parameters.param[$cur-index].name\n == $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$input-index].name`'>\n","comments":"","outputs":1,"x":1170.9524612426758,"y":5747.1429262161255,"z":"62f2734c.91713c","wires":[["4ea50796.ad30c8"]]},{"id":"4ea50796.ad30c8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1367.6190795898438,"y":5745.476342201233,"z":"62f2734c.91713c","wires":[["cb95a938.272d18"]]},{"id":"8eb2b1dc.fcbab","type":"set","name":"overwrite with input value","xml":"<set>\n<parameter name='$tmp.vf-module-topology.vf-module-parameters.param[$cur-index].value'\n value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$input-index].value`' />\n","comments":"","x":1679.2857360839844,"y":5698.809428215027,"z":"62f2734c.91713c","wires":[]},{"id":"b3ee2d21.aacda","type":"set","name":"set found-match to false","xml":"<set>\n<parameter name='found-match' value='false' />\n","comments":"","x":907.619140625,"y":5700.47633934021,"z":"62f2734c.91713c","wires":[]},{"id":"cb95a938.272d18","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1494.2857131958008,"y":5743.809433937073,"z":"62f2734c.91713c","wires":[["8eb2b1dc.fcbab","4aedbade.ca15b4","3317660d.b68c3a"]]},{"id":"4aedbade.ca15b4","type":"set","name":"set found-match to true","xml":"<set>\n<parameter name='found-match' value='true' />\n","comments":"","x":1672.619041442871,"y":5745.476098060608,"z":"62f2734c.91713c","wires":[]},{"id":"3317660d.b68c3a","type":"break","name":"break","xml":"<break>\n","comments":"","x":1620.952320098877,"y":5790.476341247559,"z":"62f2734c.91713c","wires":[]},{"id":"c31bf966.dabfa8","type":"switchNode","name":"switch found-match","xml":"<switch test='`$found-match`'>\n","comments":"","outputs":1,"x":892.6190643310547,"y":5862.14293384552,"z":"62f2734c.91713c","wires":[["494fbcb2.720b64"]]},{"id":"494fbcb2.720b64","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1062.6191520690918,"y":5862.142853736877,"z":"62f2734c.91713c","wires":[["c7532a96.665888"]]},{"id":"c7532a96.665888","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1194.2857360839844,"y":5860.475861549377,"z":"62f2734c.91713c","wires":[["b057d643.384058","14f83152.4c64bf"]]},{"id":"52376c72.8ee654","type":"comment","name":"add to the end of the current parameters","info":"","comments":"","x":1335.9525146484375,"y":5803.810164451599,"z":"62f2734c.91713c","wires":[]},{"id":"b057d643.384058","type":"set","name":"add param","xml":"<set>\n<parameter name='tmp.vf-module-topology.vf-module-parameters.param[$output-index].name'\n value=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$input-index].name`\" />\n<parameter name='tmp.vf-module-topology.vf-module-parameters.param[$output-index].value'\n value=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$input-index].value`\" />\n","comments":"","x":1329.2858352661133,"y":5840.476592063904,"z":"62f2734c.91713c","wires":[]},{"id":"14f83152.4c64bf","type":"set","name":"increment output-index","xml":"<set>\n<parameter name='output-index' value='`$output-index + 1`' />\n","comments":"","x":1366.0477294921875,"y":5884.904578208923,"z":"62f2734c.91713c","wires":[]},{"id":"3070139e.fd923c","type":"comment","name":"merge preload parameters","info":"","comments":"","x":564.2857437133789,"y":5475.714262008667,"z":"62f2734c.91713c","wires":[]}]
\ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/resources/graph.versions b/platform-logic/generic-resource-api/src/main/resources/graph.versions index d59313c1..16143e16 100755 --- a/platform-logic/generic-resource-api/src/main/resources/graph.versions +++ b/platform-logic/generic-resource-api/src/main/resources/graph.versions @@ -34,6 +34,7 @@ GENERIC-RESOURCE-API generate-FQPN ${project.version} sync GENERIC-RESOURCE-API generate-host-routes-host-route-id ${project.version} sync GENERIC-RESOURCE-API generate-l3network-network-id ${project.version} sync GENERIC-RESOURCE-API generate-panorama-name ${project.version} sync +GENERIC-RESOURCE-API vf-module-generate-heat-parameters ${project.version} sync GENERIC-RESOURCE-API generate-subnets-subnet-id ${project.version} sync GENERIC-RESOURCE-API generate-unique-name ${project.version} sync GENERIC-RESOURCE-API generate-vpn-binding-id ${project.version} sync diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-generate-heat-parameters.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-generate-heat-parameters.xml new file mode 100755 index 00000000..03245114 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-generate-heat-parameters.xml @@ -0,0 +1,926 @@ +<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}'>
+ <method rpc='vf-module-generate-heat-parameters' mode='sync'>
+ <block atomic="true">
+ <set>
+ <parameter name='const.sub-int' value='subint' />
+ <parameter name='const.subnet-id' value='_subnet_id' />
+ <parameter name='const.v6-subnet-id' value='_v6_subnet_id' />
+ <parameter name='const.port' value='port' />
+ <parameter name='const.sub-int-count' value='_subintcount' />
+ <parameter name='const.vlan-ids' value='_vlan_ids' />
+ <parameter name='const.net-names' value='_net_names' />
+ <parameter name='const.net-ids' value='_net_ids' />
+ <parameter name='const.ip' value='_ip' />
+ <parameter name='const.v6-ip' value='_v6_ip' />
+ <parameter name='const.floating-ip' value='_floating_ip' />
+ <parameter name='const.floating-v6-ip' value='_floating_v6_ip' />
+ <parameter name='const.underscore' value='_' />
+ </set>
+ <set>
+ <parameter name='output-index' value='0' />
+ </set>
+ <for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >
+ <block>
+ <for silentFailure='true' index='vm-name-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name_length`' >
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + '_name_'
+ + $vm-name-index`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-name-index]`" />
+ </set>
+ <switch test='`$vm-name-index > 0`'>
+ <outcome value='true'>
+ <set>
+ <parameter name='cdl' value="`$cdl + ',' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-name-index]`" />
+ </set>
+ </outcome>
+ <outcome value='false'>
+ <set>
+ <parameter name='cdl' value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-name-index]`" />
+ </set>
+ </outcome>
+ </switch>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </for>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + '_names'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$cdl`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ <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`' >
+ <block>
+ <switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role-tag`'>
+ <outcome value=''>
+ <set>
+ <parameter name='network-key' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role`' />
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='network-key' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role-tag`' />
+ </set>
+ </outcome>
+ </switch>
+ <switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].floating-ips.floating-ip-v4`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + $const.underscore
+ + $network-key
+ + $const.floating-ip`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].floating-ips.floating-ip-v4`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].floating-ips.floating-ip-v6`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + $const.underscore
+ + $network-key
+ + $const.floating-v6-ip`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].floating-ips.floating-ip-v6`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].interface-route-prefixes.interface-route-prefix_length > 0`'>
+ <outcome value='true'>
+ <block>
+ <set>
+ <parameter name='cdl' value='[' />
+ </set>
+ <for index='interface-route-prefix-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].interface-route-prefixes.interface-route-prefix_length`' >
+ <block>
+ <switch test='`$interface-route-prefix-index > 0`'>
+ <outcome value='true'>
+ <set>
+ <parameter name='cdl' value="`$cdl + ','`" />
+ </set>
+ </outcome>
+ </switch>
+ <set>
+ <parameter name='cdl' value="`$cdl
+ + '{\"interface_route_table_routes_route_prefix\":\"'
+ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].interface-route-prefixes.interface-route-prefix[$interface-route-prefix-index]
+ + '\"}'`" />
+ </set>
+ </block>
+ </for>
+ <set>
+ <parameter name='cdl' value="`$cdl + ']'`" />
+ </set>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + $const.underscore
+ + $network-key
+ + '_route_prefixes'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$cdl`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <for silentFailure='true' index='address-family-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item_length`' >
+ <switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].ip-version`'>
+ <outcome value='ipv4'>
+ <block>
+ <for silentFailure='true' index='address-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip_length`' >
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + $const.underscore
+ + $network-key
+ + $const.ip
+ + $const.underscore
+ + $address-index`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip[$address-index]`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ <switch test='`$address-index > 0`'>
+ <outcome value='true'>
+ <set>
+ <parameter name='cdl' value="`$cdl + ',' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip[$address-index]`" />
+ </set>
+ </outcome>
+ <outcome value='false'>
+ <set>
+ <parameter name='cdl' value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip[$address-index]`" />
+ </set>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + $const.underscore
+ + $network-key
+ + '_ips'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$cdl`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ <outcome value='ipv6'>
+ <block>
+ <for silentFailure='true' index='address-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip_length`' >
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + $const.underscore
+ + $network-key
+ + $const.v6-ip
+ + $const.underscore
+ + $address-index`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip[$address-index]`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ <switch test='`$address-index > 0`'>
+ <outcome value='true'>
+ <set>
+ <parameter name='cdl' value="`$cdl + ',' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip[$address-index]`" />
+ </set>
+ </outcome>
+ <outcome value='false'>
+ <set>
+ <parameter name='cdl' value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-information-items.network-information-item[$address-family-index].network-ips.network-ip[$address-index]`" />
+ </set>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + $const.underscore
+ + $network-key
+ + '_v6_ips'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$cdl`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ <switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length > 0`'>
+ <outcome value='true'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + $const.underscore
+ + $network-key
+ + '_vlan_filter'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].segmentation-id`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ <set>
+ <parameter name='public-cdl' value='' />
+ <parameter name='private-cdl' value='' />
+ <parameter name='all-cdl' value='' />
+ </set>
+ <for silentFailure='true' index='related-network-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length`' >
+ <block>
+ <switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.is-private`'>
+ <outcome value='true'>
+ <switch test='`$private-cdl`'>
+ <outcome value=''>
+ <set>
+ <parameter name='private-cdl'
+ value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.upper-tag-id`' />
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='private-cdl'
+ value="',' + `$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.upper-tag-id`" />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='false'>
+ <switch test='`$public-cdl`'>
+ <outcome value=''>
+ <set>
+ <parameter name='public-cdl'
+ value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.upper-tag-id`' />
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='public-cdl'
+ value="',' + `$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.upper-tag-id`" />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <switch test='`$all-cdl`'>
+ <outcome value=''>
+ <set>
+ <parameter name='all-cdl'
+ value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.upper-tag-id`' />
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='all-cdl'
+ value="',' + `$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.upper-tag-id`" />
+ </set>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ <switch test='`$private-cdl`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + $const.underscore
+ + $network-key
+ + '_private_vlans'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$private-cdl`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <switch test='`$public-cdl`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + $const.underscore
+ + $network-key
+ + '_public_vlans'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$public-cdl`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-type
+ + $const.underscore
+ + $network-key
+ + '_guest_vlans'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$all-cdl`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ <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`' >
+ <block>
+ <for silentFailure='true' index='vnfc-network-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >
+ <switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='port-index' value='0' />
+ </set>
+ <for silentFailure='true' index='vnfc-port-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port_length`' >
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type
+ + '_subint_'
+ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role
+ + '_port_'
+ + $port-index
+ + '_subintcount'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data_length`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ <switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[0].floating-ips.floating-ip-v4`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type
+ + '_subint_'
+ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role
+ + '_port_'
+ + $port-index
+ + '_floating_ip'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[0].floating-ips.floating-ip-v4`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[0].floating-ips.floating-ip-v6`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type
+ + '_subint_'
+ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role
+ + '_port_'
+ + $port-index
+ + '_floating_v6_ip'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[0].floating-ips.floating-ip-v6`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <set>
+ <parameter name='vlan-cdl' value='' />
+ <parameter name='net-names-cdl' value='' />
+ <parameter name='net-id-cdl' value='' />
+ <parameter name='ipv4-ips-cdl' value='' />
+ <parameter name='ipv6-ips-cdl' value='' />
+ </set>
+ <for silentFailure='true' index='vnic-sub-interface-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data_length`' >
+ <block>
+ <switch test='`$vlan-cdl`'>
+ <outcome value=''>
+ <set>
+ <parameter name='vlan-cdl' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].vlan-tag-id`' />
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='vlan-cdl' value="`$vlan-cdl + ',' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].vlan-tag-id`" />
+ </set>
+ </outcome>
+ </switch>
+ <switch test='`$net-names-cdl`'>
+ <outcome value=''>
+ <set>
+ <parameter name='net-names-cdl' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-name`' />
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='net-names-cdl' value="`$net-names-cdl + ',' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-name`" />
+ </set>
+ </outcome>
+ </switch>
+ <switch test='`$net-id-cdl`'>
+ <outcome value=''>
+ <set>
+ <parameter name='net-id-cdl' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-id`' />
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='net-id-cdl' value="`$net-id-cdl + ',' + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-id`" />
+ </set>
+ </outcome>
+ </switch>
+ <for silentFailure='true' index='nii-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-information-items.network-information-item_length`' >
+ <switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-information-items.network-information-item[$nii-index].ip-version`'>
+ <outcome value='ipv4'>
+ <block>
+ <for silentFailure='true' index='ip-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-information-items.network-information-item[$nii-index].network-ips.network-ip_length`' >
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type
+ + $const.underscore
+ + $vnfc-network-index
+ + '_subint_'
+ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role
+ + '_port_'
+ + $port-index
+ + '_ip_'
+ + $ip-index`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-information-items.network-information-item[$nii-index].network-ips.network-ip[$ip-index]`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='ipv6'>
+ <block>
+ <for silentFailure='true' index='ip-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-information-items.network-information-item[$nii-index].network-ips.network-ip_length`' >
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type
+ + $const.underscore
+ + $vnfc-network-index
+ + '_subint_'
+ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role
+ + '_port_'
+ + $port-index
+ + '_v6_ip_'
+ + $ip-index`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].vnic-sub-interfaces.sub-interface-network-data[$vnic-sub-interface-index].network-information-items.network-information-item[$nii-index].network-ips.network-ip[$ip-index]`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ </block>
+ </for>
+ <switch test='`$vlan-cdl`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type
+ + $const.underscore
+ + $vnfc-network-index
+ + '_subint_'
+ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role
+ + '_port_'
+ + $port-index
+ + '_vlan_ids'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$vlan-cdl`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <switch test='`$net-names-cdl`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type
+ + $const.underscore
+ + $vnfc-network-index
+ + '_subint_'
+ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role
+ + '_port_'
+ + $port-index
+ + '_net_names'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$net-names-cdl`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <switch test='`$net-id-cdl`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-type
+ + $const.underscore
+ + $vnfc-network-index
+ + '_subint_'
+ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-ports.vnfc-port[$vnfc-port-index].common-sub-interface-role
+ + '_port_'
+ + $port-index
+ + '_net_ids'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$net-id-cdl`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <set>
+ <parameter name='port-index' value='`$port-index + 1`' />
+ </set>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ <for silentFailure='true' index='az-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone_length`' >
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`'availability_zone_'
+ + $az-index`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone[$az-index]`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </for>
+ <for silentFailure='true' index='vnf-network-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >
+ <block>
+ <set>
+ <parameter name='network-key' value='' />
+ </set>
+ <set>
+ <parameter name='network-role' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-role`' />
+ </set>
+ <for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >
+ <block>
+ <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`' >
+ <switch test='`$network-role ==
+ $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role`'>
+ <outcome value='true'>
+ <block>
+ <switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role-tag`'>
+ <outcome value=''>
+ <set>
+ <parameter name='network-key' value='`network-role`' />
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='network-key' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role-tag`' />
+ </set>
+ </outcome>
+ </switch>
+ <break/>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ <switch test='`$network-key`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <break/>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ <switch test='`$network-key`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$network-key
+ + '_net_id'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].neutron-id`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$network-key
+ + '_net_name'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-name`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].contrail-network-fqdn`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$network-key
+ + '_net_fqdn'`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].contrail-network-fqdn
+`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ </switch>
+ <set>
+ <parameter name='found-ipv4' value='false' />
+ <parameter name='found-ipv6' value='false' />
+ </set>
+ <for silentFailure='true' index='subnet-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data_length`' >
+ <block>
+ <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-index].ip-version`'>
+ <outcome value='ipv4'>
+ <switch test='`$found-ipv4`'>
+ <outcome value='false'>
+ <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-index].subnet-id`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$network-key
+ + $const.subnet-id`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-index].subnet-id`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ <set>
+ <parameter name='found-ipv4' value='true' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='ipv6'>
+ <switch test='`$found-ipv6`'>
+ <outcome value='false'>
+ <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-index].subnet-id`'>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-parameters.param[$output-index].name'
+ value="`$network-key
+ + $const.v6-subnet-id`" />
+ <parameter name='tmp.vf-module-parameters.param[$output-index].value'
+ value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-index].subnet-id`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ <set>
+ <parameter name='found-ipv6' value='true' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </for>
+ <block>
+ <switch test='`$tmp.vf-module-topology.vf-module-parameters.param_length`'>
+ <outcome value='0'>
+ <block></block>
+ </outcome>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='tmp.preload-parameters.' value='`$tmp.vf-module-topology.vf-module-parameters.`' />
+ </set>
+ </outcome>
+ </switch>
+ <set>
+ <parameter name='tmp.vf-module-topology.vf-module-parameters.' value='`$tmp.vf-module-parameters.`' />
+ </set>
+ <for silentFailure='true' index='preload-index' start='0' end='`$tmp.preload-parameters.param_length`' >
+ <block>
+ <set>
+ <parameter name='found-match' value='false' />
+ </set>
+ <for index='cur-index' start='0' end='`$output-index`' >
+ <switch test='`$tmp.vf-module-topology.vf-module-parameters.param[$cur-index].name
+ == $tmp.preload-parameters.param[$preload-index].name`'>
+ <outcome value='true'>
+ <block>
+ <set>
+ <parameter name='$tmp.vf-module-topology.vf-module-parameters.param[$cur-index].value' value='`$tmp.preload-parameters.param[$preload-index].value`' />
+ </set>
+ <set>
+ <parameter name='found-match' value='true' />
+ </set>
+ <break/>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ <switch test='`$found-match`'>
+ <outcome value='false'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-topology.vf-module-parameters.param[$output-index].name'
+ value="`$tmp.preload-parameters.param[$preload-index].name`" />
+ <parameter name='tmp.vf-module-topology.vf-module-parameters.param[$output-index].value'
+ value="`$tmp.preload-parameters.param[$preload-index].value`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ <for silentFailure='true' index='input-index' start='0' end='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`' >
+ <block>
+ <set>
+ <parameter name='found-match' value='false' />
+ </set>
+ <for index='cur-index' start='0' end='`$output-index`' >
+ <switch test='`$tmp.vf-module-topology.vf-module-parameters.param[$cur-index].name
+ == $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$input-index].name`'>
+ <outcome value='true'>
+ <block>
+ <set>
+ <parameter name='$tmp.vf-module-topology.vf-module-parameters.param[$cur-index].value'
+ value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$input-index].value`' />
+ </set>
+ <set>
+ <parameter name='found-match' value='true' />
+ </set>
+ <break/>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ <switch test='`$found-match`'>
+ <outcome value='false'>
+ <block>
+ <set>
+ <parameter name='tmp.vf-module-topology.vf-module-parameters.param[$output-index].name'
+ value="`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$input-index].name`" />
+ <parameter name='tmp.vf-module-topology.vf-module-parameters.param[$output-index].value'
+ value="`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$input-index].value`" />
+ </set>
+ <set>
+ <parameter name='output-index' value='`$output-index + 1`' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ <set>
+ <parameter name='$tmp.vf-module-topology.vf-module-parameters.param_length' value='`$output-index`' />
+ </set>
+ <set>
+ <parameter name='tmp.vf-module-topology.sdnc-generated-cloud-resources' value='true' />
+ </set>
+ </block>
+ </block>
+ </method>
+</service-logic>
\ No newline at end of file |