ba7f7888f6
Adds a new section 'permutations' for 'repeat' function to decide whether to do nested loops to iterate over all the permutations of the elements in the given lists, the default value is True if no specify and keep the same behavior as before. For example: repeat: template: network: %net% port: %port% ip: %ip% for_each: %net%: [n1, n2] %port%: [p1, p2] %ip%: [ip1, ip2] permutations: False Will be resolve to: [{network: n1, port: p1, ip: ip1}, {network: n2, port: p2, ip: ip2}] Change-Id: I2a008400fb71453f6a78656f2e041ae2efa098a2 Blueprint: improve-repeat-function |
||
---|---|---|
.. | ||
advanced_topics.rst | ||
basic_resources.rst | ||
cfn.rst | ||
composition.rst | ||
contrib.rst | ||
environment.rst | ||
existing_templates.rst | ||
functions.rst | ||
hello_world.rst | ||
hot_guide.rst | ||
hot_spec.rst | ||
index.rst | ||
openstack.rst | ||
software_deployment.rst | ||
unsupported.rst |