diff options
author | Michael Lando <ml636r@att.com> | 2017-07-12 00:54:52 +0300 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2017-07-12 01:55:12 +0300 |
commit | dd60339b06d252fcb1382aa97ab3d65b37dad021 (patch) | |
tree | c1551ce67cd77ca810ad5f579eb3617af86be85f /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/multipleReferencesToSameNestedFilesWithSameComputeType/in/module_8_vson_dcl_volume.yaml | |
parent | ab146a193c43e9be0e9efeac7bab2690a7ba2d33 (diff) |
[sdc] rebase update
Change-Id: I8f1fc7150975122dd9f3f4e653b9983064b399a6
Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/multipleReferencesToSameNestedFilesWithSameComputeType/in/module_8_vson_dcl_volume.yaml')
1 files changed, 116 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/multipleReferencesToSameNestedFilesWithSameComputeType/in/module_8_vson_dcl_volume.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/multipleReferencesToSameNestedFilesWithSameComputeType/in/module_8_vson_dcl_volume.yaml new file mode 100644 index 0000000000..ba12ebcbd1 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/multipleReferencesToSameNestedFilesWithSameComputeType/in/module_8_vson_dcl_volume.yaml @@ -0,0 +1,116 @@ +heat_template_version: 2014-10-16 +################################# +# Author: Dmitry Orzhehovsky +# Email: dorzheho@cisco.com +################################# + +description: > + Creates Cinder volumes. + Cinder volume is a storage in the form of block devices. + It can be used, for example, for providing storage to instance. + Volume supports creation from snapshot, backup or image. + Also volume can be created only by size. + The template creates volumes for vSON DC leaders + (Virtual Function Component DCL). + +parameters: + + vnf_name: + type: string + label: VF name + description: Unique name for this VF instance. + + vf_module_name: + type: string + label: VF module name + description: Unique name for this VF module instance. + + availability_zone_0: + type: string + label: Availability zone 0 + description: First availability zone. + + availability_zone_1: + type: string + label: Availability zone 1 + description: Second availability zone. + + vson_dcl_volume_size_0: + type: number + label: Cinder volume ID 0 size + description: > + Size of the first Cinder volume. Measured in gigabytes. + + vson_dcl_volume_size_1: + type: number + label: Cinder volume ID 1 size + description: > + Size of the second Cinder volume. Measured in gigabytes. + + vson_dcl_volume_size_2: + type: number + label: Cinder volume ID 2 size + description: > + Size of the third Cinder volume. Measured in gigabytes. + +resources: + + vson_dcl_volume_0: + type: OS::Cinder::Volume + properties: + name: + str_replace: + template: VNF_NAME_dcl_volume_0 + params: + VNF_NAME: { get_param: vnf_name} + metadata: + vnf_name: {get_param: vnf_name} + vf_module_name: {get_param: vf_module_name} + availability_zone: {get_param: availability_zone_0} + size: {get_param: vson_dcl_volume_size_0} + description: Cinder volume for the first vSON DC leader. + + vson_dcl_volume_1: + type: OS::Cinder::Volume + properties: + name: + str_replace: + template: VNF_NAME_dcl_volume_1 + params: + VNF_NAME: { get_param: vnf_name} + metadata: + vnf_name: {get_param: vnf_name} + vf_module_name: {get_param: vf_module_name} + availability_zone: {get_param: availability_zone_1} + size: {get_param: vson_dcl_volume_size_1} + description: Cinder volume for the second vSON DC leader. + + vson_dcl_volume_2: + type: OS::Cinder::Volume + properties: + name: + str_replace: + template: VNF_NAME_dcl_volume_2 + params: + VNF_NAME: { get_param: vnf_name} + metadata: + vnf_name: {get_param: vnf_name} + vf_module_name: {get_param: vf_module_name} + availability_zone: {get_param: availability_zone_0} + size: {get_param: vson_dcl_volume_size_2} + description: Cinder volume for the third vSON DC leader. + +outputs: + + vson_dcl_volume_id_0: + value: {get_resource: vson_dcl_volume_0} + description: ID of the first vSON DC leader volume. + + vson_dcl_volume_id_1: + value: {get_resource: vson_dcl_volume_1} + description: ID of the second vSON DC leader volume. + + vson_dcl_volume_id_2: + value: {get_resource: vson_dcl_volume_2} + description: ID of the third vSON DC leader volume. + |