diff options
author | 2018-07-11 20:15:47 +0300 | |
---|---|---|
committer | 2018-07-15 14:02:15 +0000 | |
commit | dece2c1d9149fce088669baa9621e7e4a6ce093a (patch) | |
tree | d93c6cc54ac115495cc9397cb347b8aa5a1af5f0 /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nestedundervolume/inputs/ocgapp_03_volume.yaml | |
parent | 874bd9ed420ce8c281450e730d6d1ed3e3dc688e (diff) |
Nested input params appears in MainServiceTemplate
When Nested heat belongs to Volume HEAT and Volume Heat was associated to main HEAT (parent)
input parameters came from such nested were appear in MainServiceTemplate.yaml (TOSCA)
Also these parameters had annotation in nestedServiceTemplate.yaml
Change-Id: I46fff53de502c7ec48b6e4c26087121be89dd0a1
Issue-ID: SDC-1498
Signed-off-by: eleonorali <eleonoral@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nestedundervolume/inputs/ocgapp_03_volume.yaml')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nestedundervolume/inputs/ocgapp_03_volume.yaml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nestedundervolume/inputs/ocgapp_03_volume.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nestedundervolume/inputs/ocgapp_03_volume.yaml new file mode 100644 index 0000000000..f67551f76d --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nestedundervolume/inputs/ocgapp_03_volume.yaml @@ -0,0 +1,35 @@ +heat_template_version: 2015-04-30 +#file version 2.3 +parameters: + vnf_name: + type: string + label: OCG VNF Name + description: OCG VNF Name + ocgapp_volume_size_2: + type: number + label: Cinder volume size + description: the size of the Cinder volume + constraints: + - range: { min: 100, max: 400 } + ocgapp_volume_type_2: + type: string + label: vm volume type + description: the name of the target volume backend for ocgapp1 + +resources: + ocgapp_volume_2: + type: OS::Cinder::Volume + properties: + size: {get_param: ocgapp_volume_size_2 } + volume_type: {get_param: ocgapp_volume_type_2} + name: + str_replace: + template: VF_NAME_STACK_NAME_volume_2 + params: + VF_NAME: { get_param: vnf_name } + STACK_NAME: { get_param: 'OS::stack_name' } + +outputs: + ocgapp_volume_id_2: + description: the ocgapp volume id 2 + value: { get_resource: ocgapp_volume_2 }
\ No newline at end of file |