summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/cinder_volume_translation/inputfiles/hot_template.yml
blob: c1c6ebdc3021af1eae986893f772bbe319e53763 (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
heat_template_version:  2013-05-23

description: server template for vMME

parameters:

      volume_type:
        type: string
        label:  volume type
        description: volume type Gold

      volume_size:
        type: number
        label:  volume size
        description: my volume size 320GB

      FSB_1_image:
        type: string
        label: MME_FSB1
        description: MME_FSB1_15B-CP04-r5a01

      FSB_2_image:
        type: string
        label: MME_FSB2
        description: MME_FSB2_15B-CP04-r5a01

      FSB1_volume_name:
        type: string
        label: FSB1_volume
        description: FSB1_volume_1

      FSB2_volume_name:
        type: string
        label: FSB2_volume
        description: FSB2_volume_1

      stam:
        type: number
        label: stam
        description: stam

resources:

    FSB1_volume:
      type: OS::Cinder::Volume
      properties:
        size: 3
        volume_type: {get_param: volume_type}
        name: {get_param: FSB1_volume_name}
        image: {get_param: FSB_1_image}
        read_only: {get_param: stam}

    FSB2_volume:
      type: OS::Cinder::Volume
      properties:
        size: {get_param: volume_size}
        volume_type: {get_param: volume_type}
        name: {get_param: FSB2_volume_name}
        image: {get_param: FSB_2_image}
        read_only: 1

    FSB3_volume:
      type: OS::Cinder::Volume
      properties:
        size: 3
        volume_type: {get_param: volume_type}
        name: {get_param: FSB1_volume_name}
        image: {get_param: FSB_1_image}
        read_only: t

    FSB4_volume:
      type: OS::Cinder::Volume
      properties:
        size: {get_param: volume_size}
        volume_type: {get_param: volume_type}
        name: {get_param: FSB2_volume_name}
        image: {get_param: FSB_2_image}
        read_only: true