From 280f8015d06af1f41a3ef12e8300801c7a5e0d54 Mon Sep 17 00:00:00 2001 From: AviZi Date: Fri, 9 Jun 2017 02:39:56 +0300 Subject: [SDC-29] Amdocs OnBoard 1707 initial commit. Change-Id: Ie4d12a3f574008b792899b368a0902a8b46b5370 Signed-off-by: AviZi --- .../inputfiles/base_pronghorn_volume.yaml | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/getAttr/getAttrUnsupportedResource/inputfiles/base_pronghorn_volume.yaml (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/getAttr/getAttrUnsupportedResource/inputfiles/base_pronghorn_volume.yaml') diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/getAttr/getAttrUnsupportedResource/inputfiles/base_pronghorn_volume.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/getAttr/getAttrUnsupportedResource/inputfiles/base_pronghorn_volume.yaml new file mode 100644 index 0000000000..8355b63212 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/getAttr/getAttrUnsupportedResource/inputfiles/base_pronghorn_volume.yaml @@ -0,0 +1,77 @@ +heat_template_version: 2015-04-30 + +description: Pronghorn Data Volume + +parameters: + ### + # size of each database storage volume + ### + db_volume_size_0: + label: Data Volume Size + description: Size of the data volume + type: number + constraints: + - range: { min: 1, max: 2000 } + description: Volume size should be an integer between 1 and 2000 (GB) + + +resources: + ### + # define database storage volumes + # four volumes are created for each server + # these four volumes will be combined in a RAID 10 array + ### + db_volumes_0: + type: OS::Heat::ResourceGroup + properties: + count: 1 + resource_def: + type: OS::Cinder::Volume + properties: + name: db_volume_%index%_0 + size: { get_param: db_volume_size_0 } + db_volumes_1: + type: OS::Heat::ResourceGroup + properties: + count: 1 + resource_def: + type: OS::Cinder::Volume + properties: + name: db_volume_%index%_1 + size: { get_param: db_volume_size_0 } + db_volumes_2: + type: OS::Heat::ResourceGroup + properties: + count: 1 + resource_def: + type: OS::Cinder::Volume + properties: + name: db_volume_%index%_2 + size: { get_param: db_volume_size_0 } + db_volumes_3: + type: OS::Heat::ResourceGroup + properties: + count: 1 + resource_def: + type: OS::Cinder::Volume + properties: + name: db_volume_%index%_3 + size: { get_param: db_volume_size_0 } + + +outputs: + ### + # database storage volume outputs + ### + db_volume_id_0: + description: IDs of the database volumes + value: { get_attr: [db_volumes_0, refs, 1] } + # db_volume_id_1: + # description: IDs of the database volumes + # value: { get_attr: [db_volumes_1, refs, 1] } + # db_volume_id_2: + # description: IDs of the database volumes + # value: { get_attr: [db_volumes_2, refs, 1] } + # db_volume_id_3: + # description: IDs of the database volumes + # value: { get_attr: [db_volumes_3, refs, 1] } -- cgit 1.2.3-korg