blob: 3e967891454dbcb6c154136bc68126a54730724b (
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
|
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_0:
type: number
label: Cinder volume size
description: the size of the Cinder volume
constraints:
- range: { min: 100, max: 400 }
ocgapp_volume_type_0:
type: string
label: vm volume type
description: the name of the target volume backend for ocgapp1
resources:
ocgapp_volume_0:
type: OS::Cinder::Volume
properties:
size: {get_param: ocgapp_volume_size_0 }
volume_type: {get_param: ocgapp_volume_type_0}
name:
str_replace:
template: VF_NAME_STACK_NAME_volume_1
params:
VF_NAME: { get_param: vnf_name }
STACK_NAME: { get_param: 'OS::stack_name' }
outputs:
ocgapp_volume_id_0:
description: the ocgapp volume id 0
value: { get_resource: ocgapp_volume_0 }
|