blob: 2419c1868a8ea5497a449d5a41f55365759771de (
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_3:
type: number
label: Cinder volume size
description: the size of the Cinder volume
constraints:
- range: { min: 100, max: 400 }
ocgapp_volume_type_3:
type: string
label: vm volume type
description: the name of the target volume backend for ocgapp1
resources:
ocgapp_volume_3:
type: OS::Cinder::Volume
properties:
size: {get_param: ocgapp_volume_size_3 }
volume_type: {get_param: ocgapp_volume_type_3}
name:
str_replace:
template: VF_NAME_STACK_NAME_volume_3
params:
VF_NAME: { get_param: vnf_name }
STACK_NAME: { get_param: 'OS::stack_name' }
outputs:
ocgapp_volume_id_3:
description: the ocgapp volume id 3
value: { get_resource: ocgapp_volume_3 }
|