[VNFRQTS] updated requirement R-10834 96/88396/2
authorweinstock, alan <aw2574@att.com>
Thu, 23 May 2019 19:42:37 +0000 (19:42 +0000)
committerweinstock, alan <aw2574@att.com>
Thu, 23 May 2019 20:13:29 +0000 (20:13 +0000)
Issue-ID: VNFRQTS-646
Signed-off-by: weinstock, alan <aw2574@att.com>
Change-Id: Ida2e15c8beb34fdc9a9a20fb746295eb4603d4e1

docs/Chapter5/Heat/ONAP Heat Orchestration Template Format.rst

index a0c1edc..6e9ae53 100644 (file)
@@ -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