heat/doc/source/template_guide
huangtianhua ba7f7888f6 Support 'permutations' for 'repeat' function
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
2017-07-18 09:32:15 +00:00
..
advanced_topics.rst Merge HOT Guide files into Template Guide 2015-06-25 11:14:50 +10:00
basic_resources.rst Remove usages of :linenos: in docs 2016-05-12 18:36:37 +03:00
cfn.rst Fix resources allocation in documentation 2015-04-07 14:15:47 +00:00
composition.rst Use 'openstack' commands instead in docs 2016-12-28 15:31:50 +08:00
contrib.rst Replace github with openstack git repo 2015-10-21 09:51:40 +08:00
environment.rst Use 'openstack' commands instead in docs 2016-12-28 15:31:50 +08:00
existing_templates.rst Merge HOT Guide files into Template Guide 2015-06-25 11:14:50 +10:00
functions.rst Use 'openstack' commands instead in docs 2016-12-28 15:31:50 +08:00
hello_world.rst Remove usages of :linenos: in docs 2016-05-12 18:36:37 +03:00
hot_guide.rst Update HOT template guide preface 2016-08-09 20:46:19 +09:00
hot_spec.rst Support 'permutations' for 'repeat' function 2017-07-18 09:32:15 +00:00
index.rst Aim first doc link list at end users 2015-10-06 11:38:14 +13:00
openstack.rst Fix resources allocation in documentation 2015-04-07 14:15:47 +00:00
software_deployment.rst Merge "Switch to heat-agents for docs" 2017-02-09 05:02:44 +00:00
unsupported.rst Add unsupported resources page to documentation 2015-05-28 14:58:46 -07:00