diff options
author | weinstock, alan <aw2574@att.com> | 2018-11-14 18:45:32 +0000 |
---|---|---|
committer | weinstock, alan <aw2574@att.com> | 2018-11-14 18:48:59 +0000 |
commit | 74ee447eabe76e058e688d1b7d108998f6748a9c (patch) | |
tree | 2d33b05dc3172978bc63c9425ff650854cb51e64 /docs/Chapter5/Heat | |
parent | 1dd7d71889b72e595713c5900cd81a2ab5e8b2e6 (diff) |
[VNFRQTS] Txt in Nested Heat Temp Req
Change-Id: I1b5fe1c92072ab7fe856679877b25e86549263f4
Issue-ID: VNFRQTS-489
Signed-off-by: weinstock, alan <aw2574@att.com>
Diffstat (limited to 'docs/Chapter5/Heat')
-rw-r--r-- | docs/Chapter5/Heat/ONAP Heat Template Constructs.rst | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/docs/Chapter5/Heat/ONAP Heat Template Constructs.rst b/docs/Chapter5/Heat/ONAP Heat Template Constructs.rst index dc4bbc8..2627c7c 100644 --- a/docs/Chapter5/Heat/ONAP Heat Template Constructs.rst +++ b/docs/Chapter5/Heat/ONAP Heat Template Constructs.rst @@ -164,17 +164,13 @@ Template's ``OS::Nova::Server`` Resource ``metadata`` map value parameter ``environment_context`` is passed into a Nested YAML file, the parameter name ``environment_context`` **MUST NOT** change. -With nested templates, outputs are required to expose any resource -properties of the child templates to the parent template. Those would -not explicitly be declared as parameters but simply referenced as -``get_attribute`` targets against the "parent" resource. - -A parameter declared in the outputs: section of a nested template can -be accessed from the parent template as an attribute (i.e., via -``get_attr``) of the "pseudo resource" whose type is in the nested -template. In the case of a ``OS::Heat::ResourceGroup``, an output will be -an attribute of the ``OS::Heat::ResourceGroup`` itself, and will be an -array from the perspective of the parent template. +If a VNF's Heat Orchestration Template's nested YAML file is +required to expose a resource property to the invoking Heat Orchestration +Template, an ``outputs:`` statement +must be used in the nested YAML file. The invoking template +references the property by using the intrinsic function ``get_attr`` +that targets the resource invoking the nested YAML file and references +the parameter defined in the ``outputs`` section. .. req:: :id: R-17528 |