aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/ymlFiles/resource-SdWanTestVsp-template.yml
blob: 21e64fe072b6a6b344e976ded01048c46792da6c (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
tosca_definitions_version: tosca_simple_yaml_1_0
metadata:
  invariantUUID: 1a111111-1111-1111-1111-111111111111
  UUID: 2a111111-1111-1111-1111-111111111111
  name: SD-WAN-Test-VSP
  description: SD-WAN-Test-VSP
  type: VF
  category: Network L2-3
  subcategory: WAN Connectors
  resourceVendor: SCP-Test-VLM
  resourceVendorRelease: '1.0'
imports:
- nodes:
    file: nodes.yml
- datatypes:
    file: data.yml
- capabilities:
    file: capabilities.yml
- relationships:
    file: relationships.yml
- groups:
    file: groups.yml
- policies:
    file: policies.yml
- resource-SD-WAN-Test-VSP-interface:
    file: resource-SdWanTestVsp-template-interface.yml
- resource-SdWanTestVsp.nodes.DUMMY_server:
    file: resource-SdwantestvspNodesDummyServer-template.yml
topology_template:
  inputs:
    nf_naming:
      type: org.openecomp.datatypes.Naming
    nf_function:
      type: string
    nf_naming_code:
      type: string
    availability_zone_max_count:
      type: integer
      default: 1
    max_instances:
      type: integer
    nf_type:
      type: string
    DUMMY_flavor_name:
      type: string
      description: flavor name of PCRF PD instance
    DUMMY_image_name:
      type: string
      description: PCRF PD image name
    DUMMY_Role_net_name:
      type: string
      description: DUMMY network name
    DUMMY_server_name:
      type: string
      description: PCRF PD server name
    nf_role:
      type: string
    min_instances:
      type: integer
    DUMMY_vnf_id:
      type: string
      description: PCRF VNF Id
  node_templates:
    abstract_DUMMY_server:
      type: org.openecomp.resource.vfc.SdWanTestVsp.abstract.nodes.DUMMY_server
      metadata:
        invariantUUID: 3a111111-1111-1111-1111-111111111111
        UUID: 4a111111-1111-1111-1111-111111111111
        customizationUUID: 5a111111-1111-1111-1111-111111111111
        version: '1.0'
        name: SdWanTestVsp.nodes.DUMMY_server
        description: Not reusable inner VFC
        type: VFC
        category: Generic
        subcategory: Abstract
        resourceVendor: SCP-Test-VLM
        resourceVendorRelease: '1.0'
      properties:
        port_DUMMY_port_network:
        - get_input: DUMMY_Role_net_name
        index_value: 0
        port_DUMMY_port_ip_requirements:
        - - ip_version: 4
            ip_count_required:
              is_required: false
            floating_ip_count_required:
              is_required: false
        vm_flavor_name:
          get_input: DUMMY_flavor_name
        service_template_filter:
          substitute_service_template: Nested_DUMMY_serverServiceTemplate.yaml
          count: '1'
        port_DUMMY_port_network_role_tag:
        - '"DUMMY_Role"'
        vm_image_name:
          get_input: DUMMY_image_name
        vm_type_tag: DUMMY_server
        min_instances: 0
        compute_DUMMY_server_metadata:
        - vnf_id:
            get_input: DUMMY_vnf_id
        port_DUMMY_port_mac_requirements:
        - mac_count_required:
            is_required: false
        compute_DUMMY_server_name:
        - get_input: DUMMY_server_name
        nfc_naming_code: DUMMY_server
  groups:
    SdWanTestVsp..DUMMY..module-0:
      type: org.openecomp.groups.VfModule
      members:
      - abstract_DUMMY_server
      metadata:
        vfModuleModelName: SdWanTestVsp..DUMMY..module-0
        vfModuleModelInvariantUUID: 6a111111-1111-1111-1111-111111111111
        vfModuleModelUUID: 7a111111-1111-1111-1111-111111111111
        vfModuleModelVersion: '2'
      properties:
        min_vf_module_instances: 0
        vf_module_label: DUMMY
        max_vf_module_instances:
        vfc_list:
        vf_module_type: Expansion
        vf_module_description:
        initial_count: 0
        volume_group: false
        availability_zone_count:
    DUMMY_group:
      type: org.openecomp.groups.heat.HeatStack
      members:
      - abstract_DUMMY_server
      metadata:
        invariantUUID: 8a111111-1111-1111-1111-111111111111
        UUID: 9a111111-1111-1111-1111-111111111111
        version: '1'
        name: DUMMY_group
  substitution_mappings:
    node_type: org.openecomp.resource.vf.SdWanTestVsp
    capabilities:
      abstract_dummy_server.instance_DUMMY_server:
      - abstract_DUMMY_server
      - instance_DUMMY_server
      abstract_dummy_server.disk.device.write.bytes_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.write.bytes_DUMMY_server
      abstract_dummy_server.disk.device.capacity_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.capacity_DUMMY_server
      abstract_dummy_server.network.outgoing.bytes_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - network.outgoing.bytes_DUMMY_server_DUMMY_port
      abstract_dummy_server.os_DUMMY_server:
      - abstract_DUMMY_server
      - os_DUMMY_server
      abstract_dummy_server.host_DUMMY_server:
      - abstract_DUMMY_server
      - host_DUMMY_server
      abstract_dummy_server.memory_DUMMY_server:
      - abstract_DUMMY_server
      - memory_DUMMY_server
      abstract_dummy_server.disk.read.requests_DUMMY_server:
      - abstract_DUMMY_server
      - disk.read.requests_DUMMY_server
      abstract_dummy_server.feature_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - feature_DUMMY_server_DUMMY_port
      abstract_dummy_server.disk.device.write.requests.rate_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.write.requests.rate_DUMMY_server
      abstract_dummy_server.disk.ephemeral.size_DUMMY_server:
      - abstract_DUMMY_server
      - disk.ephemeral.size_DUMMY_server
      abstract_dummy_server.disk.allocation_DUMMY_server:
      - abstract_DUMMY_server
      - disk.allocation_DUMMY_server
      abstract_dummy_server.feature:
      - abstract_DUMMY_server
      - feature
      abstract_dummy_server.scalable_DUMMY_server:
      - abstract_DUMMY_server
      - scalable_DUMMY_server
      abstract_dummy_server.network.incoming.packets.rate_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - network.incoming.packets.rate_DUMMY_server_DUMMY_port
      abstract_dummy_server.binding_DUMMY_server:
      - abstract_DUMMY_server
      - binding_DUMMY_server
      abstract_dummy_server.disk.iops_DUMMY_server:
      - abstract_DUMMY_server
      - disk.iops_DUMMY_server
      abstract_dummy_server.network.incoming.bytes_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - network.incoming.bytes_DUMMY_server_DUMMY_port
      abstract_dummy_server.disk.read.bytes_DUMMY_server:
      - abstract_DUMMY_server
      - disk.read.bytes_DUMMY_server
      abstract_dummy_server.disk.write.bytes_DUMMY_server:
      - abstract_DUMMY_server
      - disk.write.bytes_DUMMY_server
      abstract_dummy_server.cpu.delta_DUMMY_server:
      - abstract_DUMMY_server
      - cpu.delta_DUMMY_server
      abstract_dummy_server.disk.capacity_DUMMY_server:
      - abstract_DUMMY_server
      - disk.capacity_DUMMY_server
      abstract_dummy_server.network.incoming.packets_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - network.incoming.packets_DUMMY_server_DUMMY_port
      abstract_dummy_server.cpu_DUMMY_server:
      - abstract_DUMMY_server
      - cpu_DUMMY_server
      abstract_dummy_server.memory.resident_DUMMY_server:
      - abstract_DUMMY_server
      - memory.resident_DUMMY_server
      abstract_dummy_server.disk.device.read.bytes_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.read.bytes_DUMMY_server
      abstract_dummy_server.disk.device.write.bytes.rate_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.write.bytes.rate_DUMMY_server
      abstract_dummy_server.disk.usage_DUMMY_server:
      - abstract_DUMMY_server
      - disk.usage_DUMMY_server
      abstract_dummy_server.disk.write.requests_DUMMY_server:
      - abstract_DUMMY_server
      - disk.write.requests_DUMMY_server
      abstract_dummy_server.endpoint_DUMMY_server:
      - abstract_DUMMY_server
      - endpoint_DUMMY_server
      abstract_dummy_server.memory.usage_DUMMY_server:
      - abstract_DUMMY_server
      - memory.usage_DUMMY_server
      abstract_dummy_server.disk.latency_DUMMY_server:
      - abstract_DUMMY_server
      - disk.latency_DUMMY_server
      abstract_dummy_server.disk.write.requests.rate_DUMMY_server:
      - abstract_DUMMY_server
      - disk.write.requests.rate_DUMMY_server
      abstract_dummy_server.disk.device.allocation_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.allocation_DUMMY_server
      abstract_dummy_server.disk.device.read.requests.rate_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.read.requests.rate_DUMMY_server
      abstract_dummy_server.disk.device.read.bytes.rate_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.read.bytes.rate_DUMMY_server
      abstract_dummy_server.disk.device.usage_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.usage_DUMMY_server
      abstract_dummy_server.disk.device.write.requests_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.write.requests_DUMMY_server
      abstract_dummy_server.vcpus_DUMMY_server:
      - abstract_DUMMY_server
      - vcpus_DUMMY_server
      abstract_dummy_server.disk.write.bytes.rate_DUMMY_server:
      - abstract_DUMMY_server
      - disk.write.bytes.rate_DUMMY_server
      abstract_dummy_server.network.outgoing.bytes.rate_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - network.outgoing.bytes.rate_DUMMY_server_DUMMY_port
      abstract_dummy_server.network.outpoing.packets_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - network.outpoing.packets_DUMMY_server_DUMMY_port
      abstract_dummy_server.network.outgoing.packets.rate_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - network.outgoing.packets.rate_DUMMY_server_DUMMY_port
      abstract_dummy_server.binding_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - binding_DUMMY_server_DUMMY_port
      abstract_dummy_server.cpu_util_DUMMY_server:
      - abstract_DUMMY_server
      - cpu_util_DUMMY_server
      abstract_dummy_server.attachment_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - attachment_DUMMY_server_DUMMY_port
      abstract_dummy_server.disk.device.latency_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.latency_DUMMY_server
      abstract_dummy_server.disk.root.size_DUMMY_server:
      - abstract_DUMMY_server
      - disk.root.size_DUMMY_server
      abstract_dummy_server.disk.device.iops_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.iops_DUMMY_server
      abstract_dummy_server.disk.read.bytes.rate_DUMMY_server:
      - abstract_DUMMY_server
      - disk.read.bytes.rate_DUMMY_server
      abstract_dummy_server.feature_DUMMY_server:
      - abstract_DUMMY_server
      - feature_DUMMY_server
      abstract_dummy_server.disk.device.read.requests_DUMMY_server:
      - abstract_DUMMY_server
      - disk.device.read.requests_DUMMY_server
      abstract_dummy_server.network.incoming.bytes.rate_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - network.incoming.bytes.rate_DUMMY_server_DUMMY_port
    requirements:
      abstract_dummy_server.local_storage_DUMMY_server:
      - abstract_DUMMY_server
      - local_storage_DUMMY_server
      abstract_dummy_server.dependency_DUMMY_server:
      - abstract_DUMMY_server
      - dependency_DUMMY_server
      abstract_dummy_server.link_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - link_DUMMY_server_DUMMY_port
      abstract_dummy_server.dependency_DUMMY_server_DUMMY_port:
      - abstract_DUMMY_server
      - dependency_DUMMY_server_DUMMY_port
      abstract_dummy_server.dependency:
      - abstract_DUMMY_server
      - dependency