aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/cinder_volume_translation/expectedoutputfiles/MainServiceTemplate.yaml
blob: a9ad3c770e679ea472abc14e129aaf4b74dccf23 (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: Main
imports:
- openecomp_heat_index:
    file: openecomp-heat/_index.yml
topology_template:
  inputs:
    volume_type:
      label: volume type
      hidden: false
      immutable: false
      type: string
      description: volume type Gold
    FSB1_volume_name:
      label: FSB1_volume
      hidden: false
      immutable: false
      type: string
      description: FSB1_volume_1
    FSB_1_image:
      label: MME_FSB1
      hidden: false
      immutable: false
      type: string
      description: MME_FSB1_15B-CP04-r5a01
    volume_size:
      label: volume size
      hidden: false
      immutable: false
      type: float
      description: my volume size 320GB
    stam:
      label: stam
      hidden: false
      immutable: false
      type: float
      description: stam
    FSB_2_image:
      label: MME_FSB2
      hidden: false
      immutable: false
      type: string
      description: MME_FSB2_15B-CP04-r5a01
    FSB2_volume_name:
      label: FSB2_volume
      hidden: false
      immutable: false
      type: string
      description: FSB2_volume_1
  node_templates:
    FSB1_volume:
      type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
      properties:
        image:
          get_input: FSB_1_image
        volume_type:
          get_input: volume_type
        size: 3*1024
        read_only:
          get_input: stam
        name:
          get_input: FSB1_volume_name
    FSB2_volume:
      type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
      properties:
        image:
          get_input: FSB_2_image
        volume_type:
          get_input: volume_type
        size: '(get_input : volume_size) * 1024'
        read_only: true
        name:
          get_input: FSB2_volume_name
    FSB3_volume:
      type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
      properties:
        image:
          get_input: FSB_1_image
        volume_type:
          get_input: volume_type
        size: 3*1024
        read_only: true
        name:
          get_input: FSB1_volume_name
    FSB4_volume:
      type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
      properties:
        image:
          get_input: FSB_2_image
        volume_type:
          get_input: volume_type
        size: '(get_input : volume_size) * 1024'
        read_only: true
        name:
          get_input: FSB2_volume_name
  groups:
    hot_template_group:
      type: org.openecomp.groups.heat.HeatStack
      properties:
        heat_file: ../Artifacts/hot_template.yml
        description: server template for vMME
      members:
      - FSB1_volume
      - FSB2_volume
      - FSB3_volume
      - FSB4_volume