summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/threeNestedLevelsDiffVmTypePattern1B/out/Nested_oam_1ServiceTemplate.yaml
blob: 7089c10490ab5883c207ae27e8085fae26bb3055 (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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: Nested_oam_1
imports:
- openecomp_heat_index:
    file: openecomp-heat/_index.yml
- GlobalSubstitutionTypes:
    file: GlobalSubstitutionTypesServiceTemplate.yaml
node_types:
  org.openecomp.resource.vfc.compute.nodes.heat.oam:
    derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
topology_template:
  inputs:
    port_oam01_port_mac_requirements:
      type: org.openecomp.datatypes.network.MacRequirements
      required: true
    port_oam01_port_subnetpoolid:
      type: string
      required: true
    port_oam01_port_order:
      type: integer
      required: true
    port_oam01_port_ip_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.IpRequirements
    port_oam01_port_security_groups:
      type: list
      required: true
      entry_schema:
        type: json
    port_oam01_port_network:
      type: list
      required: true
      entry_schema:
        type: string
    index_value:
      type: integer
      description: Index value of this substitution service template runtime instance
      required: false
      default: 0
      constraints:
      - greater_or_equal: 0
    port_oam01_port_replacement_policy:
      type: list
      required: true
      entry_schema:
        type: string
    vm_flavor_name:
      type: string
      required: true
    port_oam01_port_subinterface_indicator:
      type: list
      required: true
      entry_schema:
        type: boolean
    vm_image_name:
      type: string
      required: true
    port_oam01_port_network_role:
      type: string
      required: true
    port_oam01_port_fixed_ips:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.heat.neutron.port.FixedIps
    port_oam01_port_exCP_naming:
      type: org.openecomp.datatypes.Naming
      required: true
    compute_oam_availability_zone:
      type: list
      required: true
      entry_schema:
        type: string
    port_oam01_port_network_role_tag:
      type: string
      required: true
    compute_oam_name:
      type: list
      required: true
      entry_schema:
        type: string
    port_oam01_port_vlan_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.VlanRequirements
  node_templates:
    oam_oam01_port:
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        replacement_policy:
          get_input:
          - port_oam01_port_replacement_policy
          - index_value
        mac_requirements:
          get_input: port_oam01_port_mac_requirements
        order:
          get_input: port_oam01_port_order
        security_groups:
          get_input:
          - port_oam01_port_security_groups
          - index_value
        exCP_naming:
          get_input: port_oam01_port_exCP_naming
        vlan_requirements:
          get_input: port_oam01_port_vlan_requirements
        subinterface_indicator:
          get_input:
          - port_oam01_port_subinterface_indicator
          - index_value
        ip_requirements:
          get_input: port_oam01_port_ip_requirements
        network_role_tag:
          get_input: port_oam01_port_network_role_tag
        network_role:
          get_input: port_oam01_port_network_role
        subnetpoolid:
          get_input: port_oam01_port_subnetpoolid
        fixed_ips:
          get_input:
          - port_oam01_port_fixed_ips
          - index_value
        network:
          get_input:
          - port_oam01_port_network
          - index_value
      requirements:
      - binding:
          capability: tosca.capabilities.network.Bindable
          node: oam
          relationship: tosca.relationships.network.BindsTo
    oam:
      type: org.openecomp.resource.vfc.compute.nodes.heat.oam
      properties:
        availability_zone:
          get_input:
          - compute_oam_availability_zone
          - index_value
        flavor:
          get_input: vm_flavor_name
        image:
          get_input: vm_image_name
        name:
          get_input:
          - compute_oam_name
          - index_value
  substitution_mappings:
    node_type: org.openecomp.resource.abstract.nodes.oam_1
    capabilities:
      cpu_oam:
      - oam
      - cpu
      network.outgoing.packets.rate_oam_oam01_port:
      - oam_oam01_port
      - network.outgoing.packets.rate
      binding_oam_oam01_port:
      - oam_oam01_port
      - binding
      network.outgoing.bytes.rate_oam_oam01_port:
      - oam_oam01_port
      - network.outgoing.bytes.rate
      disk.usage_oam:
      - oam
      - disk.usage
      memory.resident_oam:
      - oam
      - memory.resident
      disk.device.write.bytes_oam:
      - oam
      - disk.device.write.bytes
      disk.read.bytes_oam:
      - oam
      - disk.read.bytes
      scalable_oam:
      - oam
      - scalable
      attachment_oam_oam01_port:
      - oam_oam01_port
      - attachment
      network.incoming.bytes_oam_oam01_port:
      - oam_oam01_port
      - network.incoming.bytes
      feature_oam:
      - oam
      - feature
      disk.allocation_oam:
      - oam
      - disk.allocation
      disk.device.usage_oam:
      - oam
      - disk.device.usage
      network.incoming.packets.rate_oam_oam01_port:
      - oam_oam01_port
      - network.incoming.packets.rate
      binding_oam:
      - oam
      - binding
      disk.device.read.bytes.rate_oam:
      - oam
      - disk.device.read.bytes.rate
      disk.write.bytes.rate_oam:
      - oam
      - disk.write.bytes.rate
      disk.device.write.bytes.rate_oam:
      - oam
      - disk.device.write.bytes.rate
      disk.device.allocation_oam:
      - oam
      - disk.device.allocation
      disk.ephemeral.size_oam:
      - oam
      - disk.ephemeral.size
      feature_oam_oam01_port:
      - oam_oam01_port
      - feature
      disk.write.requests_oam:
      - oam
      - disk.write.requests
      disk.capacity_oam:
      - oam
      - disk.capacity
      instance_oam:
      - oam
      - instance
      network.outpoing.packets_oam_oam01_port:
      - oam_oam01_port
      - network.outpoing.packets
      disk.root.size_oam:
      - oam
      - disk.root.size
      memory_oam:
      - oam
      - memory
      cpu.delta_oam:
      - oam
      - cpu.delta
      disk.device.write.requests_oam:
      - oam
      - disk.device.write.requests
      disk.device.read.requests.rate_oam:
      - oam
      - disk.device.read.requests.rate
      network.outgoing.bytes_oam_oam01_port:
      - oam_oam01_port
      - network.outgoing.bytes
      disk.write.requests.rate_oam:
      - oam
      - disk.write.requests.rate
      disk.device.latency_oam:
      - oam
      - disk.device.latency
      disk.device.iops_oam:
      - oam
      - disk.device.iops
      vcpus_oam:
      - oam
      - vcpus
      disk.device.write.requests.rate_oam:
      - oam
      - disk.device.write.requests.rate
      forwarder_oam_oam01_port:
      - oam_oam01_port
      - forwarder
      disk.device.read.bytes_oam:
      - oam
      - disk.device.read.bytes
      host_oam:
      - oam
      - host
      endpoint_oam:
      - oam
      - endpoint
      network.incoming.bytes.rate_oam_oam01_port:
      - oam_oam01_port
      - network.incoming.bytes.rate
      disk.device.read.requests_oam:
      - oam
      - disk.device.read.requests
      disk.iops_oam:
      - oam
      - disk.iops
      disk.read.bytes.rate_oam:
      - oam
      - disk.read.bytes.rate
      cpu_util_oam:
      - oam
      - cpu_util
      os_oam:
      - oam
      - os
      memory.usage_oam:
      - oam
      - memory.usage
      disk.latency_oam:
      - oam
      - disk.latency
      disk.write.bytes_oam:
      - oam
      - disk.write.bytes
      disk.read.requests_oam:
      - oam
      - disk.read.requests
      disk.device.capacity_oam:
      - oam
      - disk.device.capacity
      network.incoming.packets_oam_oam01_port:
      - oam_oam01_port
      - network.incoming.packets
    requirements:
      local_storage_oam:
      - oam
      - local_storage
      dependency_oam_oam01_port:
      - oam_oam01_port
      - dependency
      link_oam_oam01_port:
      - oam_oam01_port
      - link
      dependency_oam:
      - oam
      - dependency
n class="p">: org.openecomp.datatypes.heat.neutron.port.FixedIps port_FSB2_Internal_2_exCP_naming: type: org.openecomp.datatypes.Naming required: true node_templates: FSB1_FSB1_Internal: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: get_input: port_FSB1_Internal_exCP_naming vlan_requirements: get_input: port_FSB1_Internal_vlan_requirements subinterface_indicator: get_input: - port_FSB1_Internal_subinterface_indicator - index_value ip_requirements: get_input: port_FSB1_Internal_ip_requirements network_role_tag: get_input: port_FSB1_Internal_network_role_tag mac_requirements: get_input: port_FSB1_Internal_mac_requirements order: get_input: port_FSB1_Internal_order network_role: get_input: port_FSB1_Internal_network_role subnetpoolid: get_input: port_FSB1_Internal_subnetpoolid network: get_input: - port_FSB1_Internal_network - index_value mac_address: get_input: port_FSB1_Internal_mac_address requirements: - binding: capability: tosca.capabilities.network.Bindable node: FSB1 relationship: tosca.relationships.network.BindsTo FSB1_FSB2_Internal_1: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: get_input: port_FSB2_Internal_1_exCP_naming vlan_requirements: get_input: port_FSB2_Internal_1_vlan_requirements subinterface_indicator: get_input: - port_FSB2_Internal_1_subinterface_indicator - index_value ip_requirements: get_input: port_FSB2_Internal_1_ip_requirements network_role_tag: get_input: port_FSB2_Internal_1_network_role_tag mac_requirements: get_input: port_FSB2_Internal_1_mac_requirements order: get_input: port_FSB2_Internal_1_order network_role: get_input: port_FSB2_Internal_1_network_role subnetpoolid: get_input: port_FSB2_Internal_1_subnetpoolid network: get_input: - port_FSB2_Internal_1_network - index_value mac_address: get_input: port_FSB2_Internal_1_mac_address requirements: - binding: capability: tosca.capabilities.network.Bindable node: FSB1 relationship: tosca.relationships.network.BindsTo FSB1_FSB2_Internal_2: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: get_input: port_FSB2_Internal_2_exCP_naming vlan_requirements: get_input: port_FSB2_Internal_2_vlan_requirements subinterface_indicator: get_input: - port_FSB2_Internal_2_subinterface_indicator - index_value ip_requirements: get_input: port_FSB2_Internal_2_ip_requirements network_role_tag: get_input: port_FSB2_Internal_2_network_role_tag mac_requirements: get_input: port_FSB2_Internal_2_mac_requirements order: get_input: port_FSB2_Internal_2_order network_role: get_input: port_FSB2_Internal_2_network_role subnetpoolid: get_input: port_FSB2_Internal_2_subnetpoolid network: get_input: - port_FSB2_Internal_2_network - index_value mac_address: get_input: port_FSB2_Internal_2_mac_address requirements: - binding: capability: tosca.capabilities.network.Bindable node: FSB1 relationship: tosca.relationships.network.BindsTo FSB1_FSB1_OAM: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: get_input: port_FSB1_OAM_exCP_naming vlan_requirements: get_input: port_FSB1_OAM_vlan_requirements subinterface_indicator: get_input: - port_FSB1_OAM_subinterface_indicator - index_value ip_requirements: get_input: port_FSB1_OAM_ip_requirements network_role_tag: get_input: port_FSB1_OAM_network_role_tag mac_requirements: get_input: port_FSB1_OAM_mac_requirements order: get_input: port_FSB1_OAM_order network_role: get_input: port_FSB1_OAM_network_role subnetpoolid: get_input: port_FSB1_OAM_subnetpoolid fixed_ips: get_input: - port_FSB1_OAM_fixed_ips - index_value network: get_input: - port_FSB1_OAM_network - index_value requirements: - binding: capability: tosca.capabilities.network.Bindable node: FSB1 relationship: tosca.relationships.network.BindsTo FSB1: type: org.openecomp.resource.vfc.nodes.heat.FSB1 properties: availability_zone: get_input: - compute_FSB1_availability_zone - index_value flavor: get_input: vm_flavor_name metadata: get_input: - compute_FSB1_metadata - index_value name: get_input: - compute_FSB1_name - index_value artifacts: nimbus-ethernet-gw: type: tosca.artifacts.Deployment file: ../Artifacts/nimbus-ethernet-gw nimbus-ethernet: type: tosca.artifacts.Deployment file: ../Artifacts/nimbus-ethernet substitution_mappings: node_type: org.openecomp.resource.abstract.nodes.FSB1 capabilities: network.incoming.bytes.rate_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - network.incoming.bytes.rate network.outgoing.bytes_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - network.outgoing.bytes disk.capacity_FSB1: - FSB1 - disk.capacity disk.read.bytes.rate_FSB1: - FSB1 - disk.read.bytes.rate disk.device.latency_FSB1: - FSB1 - disk.device.latency binding_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - binding binding_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - binding disk.allocation_FSB1: - FSB1 - disk.allocation disk.read.bytes_FSB1: - FSB1 - disk.read.bytes disk.device.capacity_FSB1: - FSB1 - disk.device.capacity cpu_util_FSB1: - FSB1 - cpu_util disk.device.write.requests.rate_FSB1: - FSB1 - disk.device.write.requests.rate network.outgoing.bytes.rate_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - network.outgoing.bytes.rate disk.root.size_FSB1: - FSB1 - disk.root.size network.incoming.packets.rate_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - network.incoming.packets.rate network.incoming.packets.rate_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - network.incoming.packets.rate feature_FSB1: - FSB1 - feature network.incoming.packets.rate_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - network.incoming.packets.rate network.outgoing.bytes_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - network.outgoing.bytes network.incoming.packets_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - network.incoming.packets network.incoming.packets_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - network.incoming.packets forwarder_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - forwarder memory.resident_FSB1: - FSB1 - memory.resident network.incoming.packets.rate_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - network.incoming.packets.rate forwarder_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - forwarder cpu_FSB1: - FSB1 - cpu disk.write.requests.rate_FSB1: - FSB1 - disk.write.requests.rate feature_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - feature instance_FSB1: - FSB1 - instance disk.device.read.bytes.rate_FSB1: - FSB1 - disk.device.read.bytes.rate network.outpoing.packets_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - network.outpoing.packets network.outgoing.bytes.rate_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - network.outgoing.bytes.rate network.outgoing.bytes.rate_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - network.outgoing.bytes.rate network.outgoing.bytes_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - network.outgoing.bytes network.outgoing.bytes_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - network.outgoing.bytes cpu.delta_FSB1: - FSB1 - cpu.delta network.outpoing.packets_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - network.outpoing.packets disk.write.bytes_FSB1: - FSB1 - disk.write.bytes binding_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - binding disk.device.read.requests.rate_FSB1: - FSB1 - disk.device.read.requests.rate feature_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - feature disk.device.read.requests_FSB1: - FSB1 - disk.device.read.requests disk.ephemeral.size_FSB1: - FSB1 - disk.ephemeral.size binding_FSB1: - FSB1 - binding disk.device.write.bytes_FSB1: - FSB1 - disk.device.write.bytes network.outgoing.packets.rate_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - network.outgoing.packets.rate network.outgoing.packets.rate_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - network.outgoing.packets.rate network.outgoing.packets.rate_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - network.outgoing.packets.rate binding_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - binding attachment_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - attachment network.incoming.packets_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - network.incoming.packets attachment_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - attachment network.incoming.bytes_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - network.incoming.bytes memory_FSB1: - FSB1 - memory network.incoming.packets_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - network.incoming.packets network.outpoing.packets_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - network.outpoing.packets disk.device.read.bytes_FSB1: - FSB1 - disk.device.read.bytes disk.device.usage_FSB1: - FSB1 - disk.device.usage disk.write.bytes.rate_FSB1: - FSB1 - disk.write.bytes.rate scalable_FSB1: - FSB1 - scalable disk.usage_FSB1: - FSB1 - disk.usage network.outpoing.packets_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - network.outpoing.packets network.incoming.bytes_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - network.incoming.bytes network.incoming.bytes_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - network.incoming.bytes host_FSB1: - FSB1 - host disk.device.allocation_FSB1: - FSB1 - disk.device.allocation os_FSB1: - FSB1 - os vcpus_FSB1: - FSB1 - vcpus disk.write.requests_FSB1: - FSB1 - disk.write.requests network.incoming.bytes_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - network.incoming.bytes disk.device.write.bytes.rate_FSB1: - FSB1 - disk.device.write.bytes.rate network.outgoing.bytes.rate_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - network.outgoing.bytes.rate endpoint_FSB1: - FSB1 - endpoint network.outgoing.packets.rate_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - network.outgoing.packets.rate network.incoming.bytes.rate_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - network.incoming.bytes.rate network.incoming.bytes.rate_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - network.incoming.bytes.rate network.incoming.bytes.rate_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - network.incoming.bytes.rate disk.latency_FSB1: - FSB1 - disk.latency memory.usage_FSB1: - FSB1 - memory.usage feature_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - feature disk.read.requests_FSB1: - FSB1 - disk.read.requests disk.device.write.requests_FSB1: - FSB1 - disk.device.write.requests attachment_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - attachment forwarder_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - forwarder feature_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - feature attachment_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - attachment disk.iops_FSB1: - FSB1 - disk.iops forwarder_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - forwarder disk.device.iops_FSB1: - FSB1 - disk.device.iops requirements: link_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - link link_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - link dependency_FSB1_FSB1_OAM: - FSB1_FSB1_OAM - dependency dependency_FSB1: - FSB1 - dependency link_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - link dependency_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - dependency link_FSB1_FSB1_Internal: - FSB1_FSB1_Internal - link local_storage_FSB1: - FSB1 - local_storage dependency_FSB1_FSB2_Internal_2: - FSB1_FSB2_Internal_2 - dependency dependency_FSB1_FSB2_Internal_1: - FSB1_FSB2_Internal_1 - dependency