diff options
author | 2019-06-07 21:52:19 +0000 | |
---|---|---|
committer | 2019-06-07 21:58:50 +0000 | |
commit | 087ec0d1387930fe5d933f495c307a605ed8aa9d (patch) | |
tree | b9a09e4e2a726dfd0f860e51956b2461e41366b0 /docs/Chapter5/Heat/ONAP Heat Template Constructs.rst | |
parent | ad0e89a88920277386971e7945ede8bab0503967 (diff) |
[VNFRQTS] update OS::Nova::Server az req
Issue-ID: VNFRQTS-654
Signed-off-by: weinstock, alan <aw2574@att.com>
Change-Id: I25c552a6aa2966438c4ff5fcd8220d3483e3a6dd
Signed-off-by: weinstock, alan <aw2574@att.com>
Diffstat (limited to 'docs/Chapter5/Heat/ONAP Heat Template Constructs.rst')
-rw-r--r-- | docs/Chapter5/Heat/ONAP Heat Template Constructs.rst | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/docs/Chapter5/Heat/ONAP Heat Template Constructs.rst b/docs/Chapter5/Heat/ONAP Heat Template Constructs.rst index 16a2118..174cd74 100644 --- a/docs/Chapter5/Heat/ONAP Heat Template Constructs.rst +++ b/docs/Chapter5/Heat/ONAP Heat Template Constructs.rst @@ -330,19 +330,21 @@ This is required for ONAP to build the TOSCA model for the VNF. Availability Zone and ResourceGroups ++++++++++++++++++++++++++++++++++++ -The resource OS::Heat::ResourceGroup and the property availability_zone +The resource ``OS::Heat::ResourceGroup`` and the ``OS::Nova::Server`` +property ``availability_zone`` parameter has been an "issue" with a few VNFs since ONAP only supports -availability_zone as a string parameter and not as a +the ``availability_zone`` parameter as a string and not as a comma_delimited_list. This makes it difficult to use a -OS::Heat::ResourceGroup to create Virtual Machines in more than one +``OS::Heat::ResourceGroup`` to create ``OS::Nova::Server`` in more than one availability zone. There are numerous solutions to this issue. Below are two suggested usage patterns. -**Option 1:** create a CDL in the OS::Heat::ResourceGroup. In the -resource type: OS::Heat::ResourceGroup, create a comma_delimited_list -availability_zones by using the intrinsic function list_join. +**Option 1:** create a comma delimited list in the ``OS::Heat::ResourceGroup``. +In the resource ``OS::Heat::ResourceGroup``, create a comma_delimited_list +property ``availability_zones`` by concatenating the string +``availability_zone`` parameters. .. code-block:: yaml @@ -355,7 +357,7 @@ availability_zones by using the intrinsic function list_join. type: nested.yaml properties: index: index - availability_zones: { list_join: [',', [ { get_param: availability_zone_0 }, { get_param: availability_zone_1 } ] ] } + availability_zones: [ { get_param: availability_zone_0 }, { get_param: availability_zone_1 } ] In the nested heat |