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: fcd6db6103790f1e2812a3d78d52aca097defe44 (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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: Main
imports:
  ContrailComputeGlobalTypes:
    file: ContrailComputeGlobalTypesServiceTemplate.yaml
  CinderVolumeGlobalTypes:
    file: CinderVolumeGlobalTypesServiceTemplate.yaml
  ContrailVirtualNetworkGlobalType:
    file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
  AbstractSubstituteGlobalTypes:
    file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
  ContrailPortGlobalTypes:
    file: ContrailPortGlobalTypesServiceTemplate.yaml
  NeutronPortGlobalTypes:
    file: NeutronPortGlobalTypesServiceTemplate.yaml
  NeutronNetGlobalTypes:
    file: NeutronNetGlobalTypesServiceTemplate.yaml
  CommonGlobalTypes:
    file: CommonGlobalTypesServiceTemplate.yaml
  ContrailAbstractSubstituteGlobalTypes:
    file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
  ContrailNetworkRuleGlobalType:
    file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
  NeutronSecurityRulesGlobalTypes:
    file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
  NovaServerGlobalTypes:
    file: NovaServerGlobalTypesServiceTemplate.yaml
  ContrailV2VirtualMachineInterfaceGlobalType:
    file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
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:
      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