aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-core/src/test/resources/heatTreeArtifactsValidationOutput/ocgmgr_nested_volume.yaml
blob: cf354d97da2897da56f5401ee0c30f602c0d2b95 (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
heat_template_version: 2015-04-30
description: Nested volume file for ocg mgrs
parameters:

  index:
    type: number
    label: Volume index
    description: number of volumes to spin up
    constraints:
      - allowed_values: [0, 1, 2]
  size:
    type: number
    label: Volume Size
    description: size of the cinder volumes
    constraints:
      - range: { min: 50, max: 400 }
  volume_type:
    type: string
    label: Volume Type
    description: type of cinder volumes
  vnf_name:
    type: string
    label: VNF Name
    description: vnf name


resources:
  ocgmgr_volume_0:
    type: OS::Cinder::Volume
    properties:
      size: {get_param: size}
      volume_type: {get_param: volume_type}
      name:
        str_replace:
          template: VF_NAME_STACK_NAME_INDEX
          params:
            VF_NAME: {get_param: vnf_name}
            STACK_NAME: {get_param: 'OS::stack_name'}
            INDEX: {get_param: index}


outputs:
  ocgmgr_volume_id_0:
    description: the ocgmgr volume uuids
    value: {get_resource: ocgmgr_volume_0}