blob: 4d477668d14f638cb7a11a14cf1b901632035f4a (
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
|
heat_template_version: '2013-05-23'
description: nsadkfl
parameters:
vnf_name:
type: string
label: VF name
description: Unique name for this VF instance.
volume_size:
type: number
description: Size in GB
constraints:
- range: { min: 100, max: 400 }
resources:
db_vol0:
type: OS::Cinder::Volume
properties:
name:
str_replace:
template: VNF_NAME_db_vol0
params:
VNF_NAME: {get_param: vnf_name}
volume_type: "solidfire"
volume_size: { get_param: volume_size }
db_vol1:
type: OS::Cinder::Volume
properties:
name:
str_replace:
template: VNF_NAME_db_vol1
params:
VNF_NAME: {get_param: vnf_name}
volume_type: "solidfire"
volume_size: { get_param: volume_size }
outputs:
db_vol0_id:
value: { get_resource: db_vol0 }
db_vol1_id:
value: { get_resource: db_vol1 }
|