Artifact was not associated
[sdc.git] / openecomp-be / lib / openecomp-sdc-validation-lib / openecomp-sdc-validation-core / src / test / resources / heatTreeArtifactsValidationOutput / ocgapp_volume.yaml
1 heat_template_version: 2015-04-30 
2
3 description: OCG template for the APP volumes
4 #file version 1.0
5 parameters:
6   vnf_name:
7     type: string
8     label: OCG VNF Name
9     description: OCG VNF Name
10   ocgapp_volume_size_0:
11     type: number
12     label: Cinder volume 1 size
13     description: the size of the Cinder volume
14     constraints:
15       - range: { min: 50, max: 400 }
16   ocgapp_volume_type_0:
17     type: string
18     label: app vm 1 volume type
19     description: the name of the target volume backend for the first OCG APP
20   volume_count:
21     type: number
22     label: volume count
23     description: num of volumes needed
24     constraints:
25       - allowed_values: [1,2,4]
26
27 resources:
28
29   ocgapp_volume_resource_group:
30     type: OS::Heat::ResourceGroup
31     properties:
32       count: {get_param: volume_count}
33       index_var: index
34       resource_def:
35         type: ocgapp_nested_volume.yaml
36         properties:
37           index: index
38           size: {get_param: ocgapp_volume_size_0}
39           volume_type: {get_param: ocgapp_volume_type_0}
40           vnf_name: {get_param: vnf_name}
41
42 outputs:
43   ocgapp_volume_ids:
44     description: ocgapp volume ids
45     value: {get_attr: [ocgapp_volume_resource_group, ocgapp_volume_id_0]}