diff options
author | 2019-02-26 22:23:52 +0000 | |
---|---|---|
committer | 2019-02-26 15:07:39 -0800 | |
commit | 01b71d17c727fb1e839a95863116f42951b67611 (patch) | |
tree | bf397b1560713e96e2b731028ec429721acfc041 /docs | |
parent | b76c884a5f782d77cc59d46979039dffc9f44952 (diff) |
[VNFRQTS] updated vm_role requirements
Change-Id: Ia34d02fac97d118ea6990e23664840581e00565d
Issue-ID: VNFRQTS-556
Signed-off-by: weinstock, alan <aw2574@att.com>
Signed-off-by: stark, steven <steven.stark@att.com>
Diffstat (limited to 'docs')
2 files changed, 24 insertions, 17 deletions
diff --git a/docs/Chapter5/Heat/ONAP Heat Resource ID and Parameter Naming Convention/Nova Metadata Parameters.rst b/docs/Chapter5/Heat/ONAP Heat Resource ID and Parameter Naming Convention/Nova Metadata Parameters.rst index b88181d..31cb896 100644 --- a/docs/Chapter5/Heat/ONAP Heat Resource ID and Parameter Naming Convention/Nova Metadata Parameters.rst +++ b/docs/Chapter5/Heat/ONAP Heat Resource ID and Parameter Naming Convention/Nova Metadata Parameters.rst @@ -307,10 +307,8 @@ part of the orchestration process. vm_role ^^^^^^^^^ -The ``OS::Nova::Server`` Resource ``metadata`` map value parameter ``vm-role`` +The ``OS::Nova::Server`` Resource ``metadata`` map value parameter ``vm_role`` is a ``metadata`` tag that describes the role of the Virtual Machine. -The ``vm_role`` is stored in ONAP’s A&AI module and is -available for use by other ONAP components and/or north bound systems. .. req:: :id: R-85328 @@ -329,15 +327,18 @@ available for use by other ONAP components and/or north bound systems. .. req:: :id: R-95430 :target: VNF - :keyword: MUST - :validation_mode: static - :updated: casablanca + :keyword: MAY + :validation_mode: none + :updated: dublin If a VNF's Heat Orchestration Template's ``OS::Nova::Server`` resource property ``metadata`` key/value pair ``vm_role`` value is obtained via - ``get_param``, the parameter **MUST** be declared as ``vm_role`` - and the parameter **MUST** be defined as type: ``string``. + ``get_param``, the parameter **MAY** be declared as + + * ``vm_role`` and the parameter defined as ``type: string``. + * ``vm_roles`` and the parameter defined as ``type: comma_delimited_list``. + * ``{vm-type}_vm_role`` and the parameter defined as ``type: string``. .. req:: :id: R-67597 @@ -375,7 +376,7 @@ Defining the ``vm_role`` as the ``{vm-type}`` is a recommended convention type: string description: Unique role for this VM -*Example: 'vm-role' Definition: Hard Coded in +*Example: 'vm_role' Definition: Hard Coded in OS::Nova::Resource metadata property* .. code-block:: yaml @@ -389,7 +390,7 @@ OS::Nova::Resource metadata property* metadata: vm_role: dns -*Example 'vm-role' Definition: Defined in Environment file +*Example 'vm_role' Definition: Defined in Environment file and retrieved via 'get_param'* .. code-block:: yaml diff --git a/docs/Chapter5/Heat/ONAP Heat Resource ID and Parameter Naming Convention/{vm-type}.rst b/docs/Chapter5/Heat/ONAP Heat Resource ID and Parameter Naming Convention/{vm-type}.rst index 7d6a6c2..ea1984a 100644 --- a/docs/Chapter5/Heat/ONAP Heat Resource ID and Parameter Naming Convention/{vm-type}.rst +++ b/docs/Chapter5/Heat/ONAP Heat Resource ID and Parameter Naming Convention/{vm-type}.rst @@ -46,8 +46,8 @@ Requirements in this document will explain it in further detail. :id: R-82481 :target: VNF :keyword: MUST - :validation_mode: static - :updated: casablanca + :validation_mode: none + :updated: dublin A VNF's Heat Orchestration Template's Resource property parameter that is associated with a unique Virtual Machine type **MUST** include @@ -56,11 +56,17 @@ Requirements in this document will explain it in further detail. 1.) The Resource ``OS::Nova::Server`` property ``availability_zone`` parameter **MUST NOT** be prefixed with a common ``{vm-type}`` identifier, - 2.) The Resource ``OS::Nova::Server`` eight mandatory and optional - ``metadata`` - parameters (i.e., ``vnf_name``, ``vnf_id``, ``vf_module_id``, - ``vf_module_name``, ``vm_role``, - ``vf_module_index``, ``environment_context``, ``workload_context``) + 2.) The Resource ``OS::Nova::Server`` mandatory and optional + ``metadata`` parameters + + * ``vnf_name`` + * ``vnf_id`` + * ``vf_module_id`` + * ``vf_module_name`` + * ``vf_module_index`` + * ``environment_context`` + * ``workload_context`` + **MUST NOT** be prefixed with a common ``{vm-type}`` identifier. .. req:: |