aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/nested-no-computeServiceTemplate.yaml
blob: cb521520a9dff5c7200df446d1a69776e96f09c0 (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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: nested-no-compute
imports:
- openecomp_heat_index:
    file: openecomp-heat/_index.yml
- GlobalSubstitutionTypes:
    file: GlobalSubstitutionTypesServiceTemplate.yaml
topology_template:
  inputs:
    cmaui_names:
      hidden: false
      immutable: false
      type: list
      description: CMAUI1, CMAUI2 server names
      entry_schema:
        type: string
    p1:
      hidden: false
      immutable: false
      type: string
      description: UID of OAM network
    p2:
      hidden: false
      immutable: false
      type: string
      description: UID of OAM network
    cmaui_image:
      hidden: false
      immutable: false
      type: string
      description: Image for CMAUI server
    cmaui_flavor:
      hidden: false
      immutable: false
      type: string
      description: Flavor for CMAUI server
    packet_internal_network_name:
      hidden: false
      immutable: false
      type: string
    packet_external_network_name:
      hidden: false
      immutable: false
      type: string
    security_group_name:
      hidden: false
      immutable: false
      type: list
      description: CMAUI1, CMAUI2 server names
      entry_schema:
        type: string
    availability_zone_0:
      label: availabilityzone name
      hidden: false
      immutable: false
      type: string
      description: availabilityzone name
    cmaui_oam_ips:
      hidden: false
      immutable: false
      type: string
    net:
      hidden: false
      immutable: false
      type: string
  node_templates:
    cmaui_port_12:
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        replacement_policy: AUTO
        ip_requirements:
        - ip_version: 4
          ip_count_required:
            is_required: true
          floating_ip_count_required:
            is_required: false
        fixed_ips:
        - ip_address:
            get_input:
            - cmaui_oam_ips
            - 0
        mac_requirements:
          mac_count_required:
            is_required: false
        network: packet_external_network
      requirements:
      - link:
          capability: tosca.capabilities.network.Linkable
          node: packet_external_network
          relationship: tosca.relationships.network.LinksTo
    cmaui_port_11:
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        replacement_policy: AUTO
        ip_requirements:
        - ip_version: 4
          ip_count_required:
            is_required: true
          floating_ip_count_required:
            is_required: false
        fixed_ips:
        - ip_address:
            get_input:
            - cmaui_oam_ips
            - 0
        mac_requirements:
          mac_count_required:
            is_required: false
        network: packet_internal_network
      requirements:
      - link:
          capability: tosca.capabilities.network.Linkable
          node: packet_internal_network
          relationship: tosca.relationships.network.LinksTo
    packet_external_network:
      type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
      properties:
        network_name:
          get_input: packet_external_network_name
    packet_internal_network:
      type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
      properties:
        network_name:
          get_input: packet_internal_network_name
  groups:
    nested-no-compute_group:
      type: org.openecomp.groups.heat.HeatStack
      properties:
        heat_file: ../Artifacts/nested-no-compute.yml
        description: nested1
      members:
      - cmaui_port_12
      - cmaui_port_11
      - packet_external_network
      - packet_internal_network
  outputs:
    no_compute_attr_1:
      description: no_compute_attr_1
      value: packet_external_network
  substitution_mappings:
    node_type: org.openecomp.resource.abstract.nodes.heat.nested-no-compute
    capabilities:
      network.outgoing.bytes.rate_cmaui_port_11:
      - cmaui_port_11
      - network.outgoing.bytes.rate
      network.outgoing.bytes.rate_cmaui_port_12:
      - cmaui_port_12
      - network.outgoing.bytes.rate
      network.outpoing.packets_cmaui_port_11:
      - cmaui_port_11
      - network.outpoing.packets
      network.outpoing.packets_cmaui_port_12:
      - cmaui_port_12
      - network.outpoing.packets
      forwarder_cmaui_port_11:
      - cmaui_port_11
      - forwarder
      forwarder_cmaui_port_12:
      - cmaui_port_12
      - forwarder
      end_point_packet_internal_network:
      - packet_internal_network
      - end_point
      feature_cmaui_port_12:
      - cmaui_port_12
      - feature
      feature_cmaui_port_11:
      - cmaui_port_11
      - feature
      link_packet_internal_network:
      - packet_internal_network
      - link
      feature_packet_internal_network:
      - packet_internal_network
      - feature
      network.incoming.bytes.rate_cmaui_port_11:
      - cmaui_port_11
      - network.incoming.bytes.rate
      network.incoming.bytes.rate_cmaui_port_12:
      - cmaui_port_12
      - network.incoming.bytes.rate
      end_point_packet_external_network:
      - packet_external_network
      - end_point
      network.outgoing.bytes_cmaui_port_11:
      - cmaui_port_11
      - network.outgoing.bytes
      network.outgoing.bytes_cmaui_port_12:
      - cmaui_port_12
      - network.outgoing.bytes
      attachment_packet_internal_network:
      - packet_internal_network
      - attachment
      network.outgoing.packets.rate_cmaui_port_12:
      - cmaui_port_12
      - network.outgoing.packets.rate
      binding_cmaui_port_12:
      - cmaui_port_12
      - binding
      network.outgoing.packets.rate_cmaui_port_11:
      - cmaui_port_11
      - network.outgoing.packets.rate
      binding_cmaui_port_11:
      - cmaui_port_11
      - binding
      attachment_cmaui_port_12:
      - cmaui_port_12
      - attachment
      attachment_cmaui_port_11:
      - cmaui_port_11
      - attachment
      network.incoming.packets.rate_cmaui_port_12:
      - cmaui_port_12
      - network.incoming.packets.rate
      network.incoming.packets.rate_cmaui_port_11:
      - cmaui_port_11
      - network.incoming.packets.rate
      attachment_packet_external_network:
      - packet_external_network
      - attachment
      network.incoming.bytes_cmaui_port_12:
      - cmaui_port_12
      - network.incoming.bytes
      network.incoming.packets_cmaui_port_11:
      - cmaui_port_11
      - network.incoming.packets
      network.incoming.packets_cmaui_port_12:
      - cmaui_port_12
      - network.incoming.packets
      network.incoming.bytes_cmaui_port_11:
      - cmaui_port_11
      - network.incoming.bytes
      link_packet_external_network:
      - packet_external_network
      - link
      feature_packet_external_network:
      - packet_external_network
      - feature
    requirements:
      dependency_cmaui_port_11:
      - cmaui_port_11
      - dependency
      dependency_cmaui_port_12:
      - cmaui_port_12
      - dependency
      binding_cmaui_port_12:
      - cmaui_port_12
      - binding
      dependency_packet_internal_network:
      - packet_internal_network
      - dependency
      binding_cmaui_port_11:
      - cmaui_port_11
      - binding
      dependency_packet_external_network:
      - packet_external_network
      - dependency