aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/nimbus/hot-nimbus-oam-volumes_v1.0.yaml
blob: 9e120547b4ff2d9044dabd518a493f3dd1732b9a (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:  2013-05-23

parameters:
    pcrf_oam_vol_size:
     type: number
     label: Cinder volume size
     description: the size of the Cinder volume
    pcrf_oam_vol_name_1:
     type: string
     label: OAM volume name 1
     description: Assigning name to volume
    pcrf_oam_vol_name_2:
     type: string
     label: OAM volume name 2
     description: Assigning name to volume
    pcrf_oam_volume_silver-1:
     type: string
     label: vm volume type
     description: the name of the target volume backend for OAM1
    pcrf_oam_volume_silver-2:
     type: string
     label: vm volume type
     description: the name of the target volume backend for OAM2

resources:
  pcrf_oam_volume_1:
    type: OS::Cinder::Volume
    properties:
      size: {get_param: pcrf_oam_vol_size}
      volume_type: {get_param: pcrf_oam_volume_silver-1}
      name: {get_param: pcrf_oam_vol_name_1}

  pcrf_oam_volume_2:
    type: OS::Cinder::Volume
    properties:
      size: {get_param: pcrf_oam_vol_size}
      volume_type: {get_param: pcrf_oam_volume_silver-2}
      name: {get_param: pcrf_oam_vol_name_2}
outputs:
  pcrf_oam_volume_id_1:
    description: the oam 001 volume id
    value: { get_resource: pcrf_oam_volume_1 }
  pcrf_oam_volume_id_2:
    description: the oam 002 volume id
    value: { get_resource: pcrf_oam_volume_2 }