diff options
author | 2021-01-15 17:38:30 +0100 | |
---|---|---|
committer | 2021-01-18 16:58:27 +0100 | |
commit | f3b0ef4dc7cc21b273ea160781b5170b2d105e1a (patch) | |
tree | 04550aed49f28b599d2702a519ad7d51a855aac8 /openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/pm_dictionary_validator/valid_file/health_base_node.yaml | |
parent | bd5a1006210092f9ac5c48352cc94f6264e961ef (diff) |
Map VSP PM_DICTIONARY Type to VF PM_DICTIONARY Type
File defined in ZIP VSP package as PM_DICTIONARY will be now mapped to PM_DICTIONARY type in VF. Also PmDictionaryValidator is run on files with PM_DICTIONARY type in ZIP Manifest file, instead of file naming convention.
Issue-ID: SDC-3390
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
Change-Id: I2e21353b9e80b6bb68c4c6d408ad1ffa33314e7b
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/pm_dictionary_validator/valid_file/health_base_node.yaml')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/pm_dictionary_validator/valid_file/health_base_node.yaml | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/pm_dictionary_validator/valid_file/health_base_node.yaml b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/pm_dictionary_validator/valid_file/health_base_node.yaml new file mode 100644 index 0000000000..74e5051e98 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/pm_dictionary_validator/valid_file/health_base_node.yaml @@ -0,0 +1,65 @@ +heat_template_version: '2013-05-23' + +description: Heat template that deploys PnP PNF simulator + +parameters: + health_node_name_0: + type: string + label: Node name + description: Name of the node + # Flavors of each node + health_node_flavor_name: + type: string + label: Flavor + description: Type of instance (flavor) to be used for health node + # Images of each node + health_node_image_name: + type: string + label: Image name + description: OpenStack VM image to be used for node + # Others + private_net_id: + type: string + label: Private network name or ID + description: Private network + key_name: + type: string + label: Key pair name + description: Public/Private key pair name + vnf_id: + type: string + label: VNF ID + description: The VNF ID is provided by ONAP + vnf_name: + type: string + description: Unique name for this VNF instance + vf_module_id: + type: string + label: module ID + description: The Module ID is provided by ONAP + vf_module_name: + type: string + description: Unique name for VNF Module instance + dcae_collector_ip_0: + type: string + +resources: + health_node: + type: OS::Nova::Server + properties: + name: { get_param: health_node_name_0 } + key_name: { get_param: key_name } + image: { get_param: health_node_image_name } + flavor: { get_param: health_node_flavor_name } + networks: + - network: { get_param: private_net_id } + metadata: + vnf_name: { get_param: vnf_name } + vnf_id: { get_param: vnf_id } + vf_module_name: { get_param: vf_module_name } + vf_module_id: { get_param: vf_module_id } + +outputs: + oam_management_v4_address: + value: {get_attr: [health_node, networks, { get_param: private_net_id }, 0]} + |