aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-controller/src/test/resources/resource-examples/multipleModules/pxmc_mmn_volume.yaml
blob: debb8a96db99595fd829a4545510a20acf0e470c (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
heat_template_version: 2015-04-30

description: HOT creates MSP MMN Cinder Volumes under MobiSupport Tenant

parameters:
  mmn_volume_name_1:
    type: string
    label: Mobisupport MSP MMN Cinder Volume names
    description: Mobisupport MSP MMN Cinder Volume names

  mmn_volume_name_2:
    type: string
    label: Mobisupport MSP MMN Cinder Volume names
    description: Mobisupport MSP MMN Cinder Volume names

  mmn_volume_name_3:
    type: string
    label: Mobisupport MSP MMN Cinder Volume names
    description: Mobisupport MSP MMN Cinder Volume names

  mmn_volume_name_4:
    type: string
    label: Mobisupport MSP MMN Cinder Volume names
    description: Mobisupport MSP MMN Cinder Volume names

  mmn_volume_size_1:
    type: number
    label: Mobisupport MSP MMN Cinder Volume sizes
    description: Mobisupport MSP MMN Cinder Volume sizes

  mmn_volume_size_2:
    type: number
    label: Mobisupport MSP MMN Cinder Volume sizes
    description: Mobisupport MSP MMN Cinder Volume sizes

  mmn_volume_size_3:
    type: number
    label: Mobisupport MSP MMN Cinder Volume sizes
    description: Mobisupport MSP MMN Cinder Volume sizes

  mmn_volume_size_4:
    type: number
    label: Mobisupport MSP MMN Cinder Volume sizes
    description: Mobisupport MSP MMN Cinder Volume sizes

resources:
  mmn_data_volume_1:
    type: OS::Cinder::Volume
    properties:
      name: {get_param: mmn_volume_name_1}
      size: {get_param: mmn_volume_size_1}
              
  mmn_arch_volume_2:
    type: OS::Cinder::Volume
    properties:
      name: {get_param: mmn_volume_name_2}
      size: {get_param: mmn_volume_size_2}
         
  mmn_backup_volume_3:
    type: OS::Cinder::Volume
    properties:
      name: {get_param: mmn_volume_name_3}
      size: {get_param: mmn_volume_size_3}
               
  mmn_misc_volume_4:
    type: OS::Cinder::Volume
    properties:
      name: {get_param: mmn_volume_name_4}
      size: {get_param: mmn_volume_size_4}

outputs:
  mmn_data_volume_id_1:
    description: msp mmn data volume 1
    value: {get_resource: mmn_data_volume_1}
              
  mmn_arch_volume_id_2:
    description: msp mn arch volume 2
    value: {get_resource: mmn_arch_volume_2}
         
  mmn_backup_volume_id_3:
    description: msp mn backup volume 3
    value: {get_resource: mmn_backup_volume_3}
               
  mmn_misc_volume_id_4:
    description: msp mn volume 4
    value: {get_resource: mmn_misc_volume_4}