blob: 8dd378ccbd6be9285af21da84b038973495720c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
heat_template_version: 2013-05-23
description: HOT template for vMME Cinder Volumes
parameters:
volume_type:
type: string
label: volume type
description: volume type SolidFire
volume_size:
type: number
label: volume size
description: my volume size 320GB
FSB_1_image:
type: string
label: MME_FSB1
description: MME_FSB1_16ACP03_GA
FSB_2_image:
type: string
label: MME_FSB2
description: MME_FSB2_16ACP03_GA
resources:
FSB1_volume:
type: OS::Cinder::Volume
properties:
name:
list_join: ['_', [{get_param: 'OS::stack_name'}, 'FSB1_Vol_1']]
FSB2_volume:
type: OS::Cinder::Volume
properties:
name:
list_join: ['_', [{get_param: 'OS::stack_id'}, 'FSB1_Vol_2']]
FSB3_volume:
type: OS::Cinder::Volume
properties:
name:
list_join: ['_', [{get_param: 'OS::project_id'}, 'FSB1_Vol_3']]
outputs:
FSB1_volume_id:
description: ID of Cinder Volume for FSB1
value: {get_resource: FSB1_volume}
FSB2_volume_id:
description: ID of Cinder Volume for FSB2
value: {get_resource: FSB2_volume}
FSB3_volume_id:
description: ID of Cinder Volume for FSB3
value: {get_resource: FSB3_volume}
|