diff options
author | 2019-05-23 19:42:37 +0000 | |
---|---|---|
committer | 2019-05-23 20:13:29 +0000 | |
commit | 0531bd6bf390d8c23505326c4524496983419654 (patch) | |
tree | 2a539a712a4e0dcf33e74ac37d381e6c7c224b60 /docs/Chapter5/Heat/ONAP Heat Orchestration Template Format.rst | |
parent | e9e154435369900f4a38ecfe3b94bfe468ae3a47 (diff) |
[VNFRQTS] updated requirement R-10834
Issue-ID: VNFRQTS-646
Signed-off-by: weinstock, alan <aw2574@att.com>
Change-Id: Ida2e15c8beb34fdc9a9a20fb746295eb4603d4e1
Diffstat (limited to 'docs/Chapter5/Heat/ONAP Heat Orchestration Template Format.rst')
-rw-r--r-- | docs/Chapter5/Heat/ONAP Heat Orchestration Template Format.rst | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/docs/Chapter5/Heat/ONAP Heat Orchestration Template Format.rst b/docs/Chapter5/Heat/ONAP Heat Orchestration Template Format.rst index a0c1edc..6e9ae53 100644 --- a/docs/Chapter5/Heat/ONAP Heat Orchestration Template Format.rst +++ b/docs/Chapter5/Heat/ONAP Heat Orchestration Template Format.rst @@ -563,21 +563,26 @@ be provided in place, or via a function .. req:: :id: R-10834 :target: VNF - :keyword: MUST + :keyword: MUST NOT :validation_mode: static - :updated: dublin + :updated: El Alto + + A VNF's Heat Orchestration Template resource attribute ``property:`` + **MUST NOT** use more than two levels of nested ``get_param`` intrinsic + functions when deriving a property value. SDC does not support nested + ``get_param`` with recursive lists (i.e., a list inside list). + The second ``get_param`` in a nested lookup must directly derive its value + without further calls to ``get_param`` functions. + + * Example of valid nesting: - If a VNF's Heat Orchestration Template resource attribute - ``property:`` uses a nested ``get_param``, the nested - ``get_param`` **MUST** reference an index. + * ``name: {get_param: [ {vm-type}_names, {get_param : index } ] }`` - That is, to obtain a property value, two ``get_param`` intrinsic - functions are used. The second ``get_param`` must be used - to obtain an index value used to reference a parameter value in - a parameter defined as ``type: comma_delimited_list``. For - example: + * Examples of invalid nesting. SDC will not support these examples since + there is an array inside array. - * ``name: {get_param: [ name, get_param: index ] }`` + * ``name: {get_param: [ {vm-type}_names, { get_param: [ indexlist, 0 ] } ] }`` + * ``name: {get_param: [ {vm-type}_names, { get_param: [ indexlist1, { get_param: indexlist2 } ] } ] }`` metadata |