Ask Your Question

Revision history [back]

There's no way to use the repeat function outside of a resource, as you've no doubt discovered. The best alternative is really to generate the template using some external system (e.g. jinja templating).

However, another option is to use a ResourceGroup. You can't just create a group of OS::Neutron::Port resources though, you have to define another template that contains a port resource and has parameters for the index and the list of netNames, and then select the appropriate name from the list inside the template.