From edec0990d48d668b7b542f17f9ed7bdbc22b48f5 Mon Sep 17 00:00:00 2001 From: "weinstock, alan" Date: Wed, 21 Nov 2018 22:53:17 +0000 Subject: [VNFRQTS] requirements for flat directories Change-Id: Ie354adbc6c9a9a27df1a1aa2b534336633071723 Issue-ID: VNFRQTS-495 Signed-off-by: weinstock, alan --- .../ONAP Heat Support of Environment Files.rst | 61 +--------------------- 1 file changed, 1 insertion(+), 60 deletions(-) (limited to 'docs/Chapter5/Heat/ONAP Heat Support of Environment Files.rst') diff --git a/docs/Chapter5/Heat/ONAP Heat Support of Environment Files.rst b/docs/Chapter5/Heat/ONAP Heat Support of Environment Files.rst index 35286f0..e8117ad 100644 --- a/docs/Chapter5/Heat/ONAP Heat Support of Environment Files.rst +++ b/docs/Chapter5/Heat/ONAP Heat Support of Environment Files.rst @@ -7,63 +7,4 @@ ONAP Heat Support of Environment Files ----------------------------------------- -The use of an environment file in OpenStack is optional. In ONAP, it is -mandatory. A Heat Orchestration Template uploaded to ONAP must have a -corresponding environment file, even if no parameters are required to -be enumerated. - -*(Note that ONAP does not programmatically enforce the use of -an environment file.)* - -As stated in :need:`R-38474`, :need:`R-81725`, and :need:`R-53433`: - - - * A VNF's Base Module **MUST** have a corresponding Environment File. - * A VNF's Incremental Module **MUST** have a corresponding Environment File. - * A VNF's Cinder Volume Module **MUST** have a corresponding environment - File. - -A nested heat template must not have an environment file; OpenStack does -not support it. - -The environment file must contain parameter values for the ONAP -Orchestration Constants and VNF Orchestration Constants. These -parameters are identical across all instances of a VNF type, and -expected to change infrequently. The ONAP Orchestration Constants are -associated with OS::Nova::Server image and flavor properties (See -:ref:`Property image` and :ref:`Property flavor`). Examples of VNF -Orchestration Constants are the networking parameters associated -with an internal network (e.g., private IP ranges) and Cinder -volume sizes. - -The environment file must not contain parameter values for parameters -that are instance specific (ONAP Orchestration Parameters, VNF -Orchestration Parameters). These parameters are supplied to the Heat by -ONAP at orchestration time. - -SDC Treatment of Environment Files -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Parameter values enumerated in the environment file are used by SDC as -the default value. However, the SDC user may use the SDC GUI to -overwrite the default values in the environment file. - -SDC generates a new environment file for distribution to SO based on -the uploaded environment file and the user provided GUI updates. The -user uploaded environment file is discarded when the new file is -created. Note that if the user did not change any values via GUI -updates, the SDC generated environment file will contain the same values -as the uploaded file. - -Use of Environment Files when using OpenStack "heat stack-create" CLI -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -When ONAP is instantiating the Heat Orchestration Template, certain -parameter must not be enumerated in the environment file. This document -provides the details of what parameters should not be enumerated. - -If the Heat Orchestration Template is to be instantiated from the -OpenStack Command Line Interface (CLI) using the command "heat -stack-create", all parameters must be enumerated in the environment -file. - +
-- cgit 1.2.3-korg