aboutsummaryrefslogtreecommitdiffstats
path: root/resources/resource-TestFyx-template.yml
blob: 1d6426b472490db04be00b010095fcb55e025ea9 (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
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
tosca_definitions_version: tosca_simple_yaml_1_1
metadata:
  invariantUUID: 4b8712de-254b-4dae-8f16-b3d63c9f2d49
  UUID: faf6c8f0-b096-44e2-88e9-4527451a71ff
  name: Test-fyx
  description: Application Test VF
  type: VF
  category: Application L4+
  subcategory: Application Server
  resourceVendor: zte
  resourceVendorRelease: '1.0'
  resourceVendorModelNumber: ''
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-Test-fyx-interface:
    file: resource-TestFyx-template-interface.yml
- resource-ExtCP:
    file: resource-Extcp-template.yml
- resource-Compute:
    file: resource-Compute-template.yml
- resource-BlockStorage:
    file: resource-Blockstorage-template.yml
- resource-ContrailVirtualNetwork:
    file: resource-Contrailvirtualnetwork-template.yml
- resource-ContrailPort:
    file: resource-Contrailport-template.yml
- resource-ObjectStorage:
    file: resource-Objectstorage-template.yml
topology_template:
  inputs:
    nf_naming:
      type: org.openecomp.datatypes.Naming
      default:
        ecomp_generated_naming: true
    nf_naming_code:
      type: string
      default: {
        }
    nf_function:
      type: string
      default: {
        }
    availability_zone_max_count:
      type: integer
      default: 1
    nf_role:
      type: string
      default: {
        }
    max_instances:
      type: integer
      default: {
        }
    min_instances:
      type: integer
      default: {
        }
    nf_type:
      type: string
      default: {
        }
  node_templates:
    VDU-B:
      type: tosca.nodes.Compute
      metadata:
        invariantUUID: 96ac4c35-bdc2-4018-b022-d7df39507d7d
        UUID: 0da94c51-2271-4ee2-ae13-cd89f46dbdff
        customizationUUID: ea43f19d-770e-4ed4-9d5a-1f4999366fde
        version: '1.0'
        name: Compute
        description: Represents a real or virtual machine or server. Information specified on the Compute node will be used to find the machine that fits the given requirements in the cloud available machines. If no sizing information are specified the cloud provider default machine will be used. It is strongly recommended to specify the required CPUs and memory at least.
        type: VFC
        category: Generic
        subcategory: Infrastructure
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
    ContrailPort 0:
      type: org.openecomp.resource.cp.nodes.heat.network.contrail.Port
      metadata:
        invariantUUID: 740aef05-3c26-4fc9-ab83-ef889801af59
        UUID: 67110e55-8b3b-4595-9e7f-b76a8e5b78c8
        customizationUUID: 37d74cc1-d060-4cbc-8a23-b0b81424e984
        version: '2.0'
        name: ContrailPort
        description: Represents a logical entity that associates between Compute and Network normative types for contrail.
        type: CP
        category: Generic
        subcategory: Network Elements
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
      properties:
        mac_requirements:
          mac_count_required:
            is_required: false
        static_route: false
        shared_ip: false
        exCP_naming:
          ecomp_generated_naming: true
        is_default: false
      requirements:
      - link:
          capability: tosca.capabilities.network.Linkable
          node: ContrailVirtualNetwork 0
          relationship: tosca.relationships.network.LinksTo
      - binding:
          capability: tosca.capabilities.network.Bindable
          node: VDU-B
          relationship: tosca.relationships.network.BindsTo
    VDU-C:
      type: tosca.nodes.Compute
      metadata:
        invariantUUID: 96ac4c35-bdc2-4018-b022-d7df39507d7d
        UUID: 0da94c51-2271-4ee2-ae13-cd89f46dbdff
        customizationUUID: 8e76a90e-4ec3-4177-bdef-92ce55934f9d
        version: '1.0'
        name: Compute
        description: Represents a real or virtual machine or server. Information specified on the Compute node will be used to find the machine that fits the given requirements in the cloud available machines. If no sizing information are specified the cloud provider default machine will be used. It is strongly recommended to specify the required CPUs and memory at least.
        type: VFC
        category: Generic
        subcategory: Infrastructure
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
    ContrailPort 1:
      type: org.openecomp.resource.cp.nodes.heat.network.contrail.Port
      metadata:
        invariantUUID: 740aef05-3c26-4fc9-ab83-ef889801af59
        UUID: 67110e55-8b3b-4595-9e7f-b76a8e5b78c8
        customizationUUID: 723cf043-6243-4a82-b220-d3fa548ce79f
        version: '2.0'
        name: ContrailPort
        description: Represents a logical entity that associates between Compute and Network normative types for contrail.
        type: CP
        category: Generic
        subcategory: Network Elements
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
      properties:
        mac_requirements:
          mac_count_required:
            is_required: false
        static_route: false
        shared_ip: false
        exCP_naming:
          ecomp_generated_naming: true
        is_default: false
      requirements:
      - link:
          capability: tosca.capabilities.network.Linkable
          node: ContrailVirtualNetwork 0
          relationship: tosca.relationships.network.LinksTo
      - binding:
          capability: tosca.capabilities.network.Bindable
          node: VDU-A
          relationship: tosca.relationships.network.BindsTo
    BlockStorage 0:
      type: tosca.nodes.BlockStorage
      metadata:
        invariantUUID: 0b40dcd5-3d95-4dd4-bf9b-22b2f10755b8
        UUID: 9ad49f03-2aa2-48e2-8fae-82d3b7f81788
        customizationUUID: 9239f0fc-eaaa-400d-bca1-8510841fa651
        version: '1.0'
        name: BlockStorage
        description: Represents a server-local block storage device (i.e., not shared) offering evenly sized blocks of data from which raw storage volumes can be created.
        type: VFC
        category: Generic
        subcategory: Infrastructure
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
    VDU-A:
      type: tosca.nodes.Compute
      metadata:
        invariantUUID: 96ac4c35-bdc2-4018-b022-d7df39507d7d
        UUID: 0da94c51-2271-4ee2-ae13-cd89f46dbdff
        customizationUUID: 35ccbeed-443d-4899-9042-82433aea3c01
        version: '1.0'
        name: Compute
        description: Represents a real or virtual machine or server. Information specified on the Compute node will be used to find the machine that fits the given requirements in the cloud available machines. If no sizing information are specified the cloud provider default machine will be used. It is strongly recommended to specify the required CPUs and memory at least.
        type: VFC
        category: Generic
        subcategory: Infrastructure
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
    ExtCP 0:
      type: org.openecomp.resource.cp.extCP
      metadata:
        invariantUUID: 68f72152-2c57-4099-8bbc-aedb388a8f81
        UUID: 41d5a4a1-346e-4b47-a08f-936572916657
        customizationUUID: 94e2a43c-2c99-487f-a74b-d82edbbd1d5f
        version: '2.0'
        name: ExtCP
        description: The AT&T Connection Point base type all other CP derive from
        type: CP
        category: Generic
        subcategory: Network Elements
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
      properties:
        mac_requirements:
          mac_count_required:
            is_required: false
        exCP_naming:
          ecomp_generated_naming: true
      requirements:
      - virtualBinding:
          capability: tosca.capabilities.network.Bindable
          node: VDU-C
          relationship: tosca.relationships.network.BindsTo
    ObjectStorage 0:
      type: tosca.nodes.ObjectStorage
      metadata:
        invariantUUID: 4e89d2a8-ff83-47f8-9788-4aef40feaf0e
        UUID: e7217097-ada2-42b9-81af-ccf525514796
        customizationUUID: 42cc06c5-3bf2-480b-8c30-aac34c48e39f
        version: '1.0'
        name: ObjectStorage
        description: Represents storage that provides the ability to store data as objects (or BLOBs of data) without consideration for the underlying filesystem or devices.
        type: VFC
        category: Generic
        subcategory: Infrastructure
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
    ContrailVirtualNetwork 0:
      type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
      metadata:
        invariantUUID: 86b02009-8634-44f1-a22f-dc685460c95d
        UUID: 4ebcc4a7-d648-4b7b-a23c-a094ec89b7f0
        customizationUUID: d320316b-e61e-44f4-991d-e06f5fa3f9d2
        version: '1.0'
        name: ContrailVirtualNetwork
        description: Represents a network service with optional subnets and advanced configurations.
        type: VL
        category: Generic
        subcategory: Network Elements
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
      properties:
        dhcp_enabled: true
        ip_version: 4
  substitution_mappings:
    node_type: org.openecomp.resource.vf.TestFyx
    capabilities:
      extcp0.feature:
      - ExtCP 0
      - feature
      compute0.binding:
      - Compute 0
      - binding
      contrailport1.network.outgoing.packets.rate:
      - ContrailPort 1
      - network.outgoing.packets.rate
      objectstorage0.feature:
      - ObjectStorage 0
      - feature
      compute1.binding:
      - Compute 1
      - binding
      contrailport0.network.incoming.packets.rate:
      - ContrailPort 0
      - network.incoming.packets.rate
      compute1.endpoint:
      - Compute 1
      - endpoint
      contrailport1.network.incoming.packets:
      - ContrailPort 1
      - network.incoming.packets
      objectstorage0.storage_endpoint:
      - ObjectStorage 0
      - storage_endpoint
      compute2.binding:
      - Compute 2
      - binding
      contrailport1.network.incoming.bytes.rate:
      - ContrailPort 1
      - network.incoming.bytes.rate
      contrailport1.network.outpoing.packets:
      - ContrailPort 1
      - network.outpoing.packets
      contrailport0.network.incoming.packets:
      - ContrailPort 0
      - network.incoming.packets
      contrailport0.feature:
      - ContrailPort 0
      - feature
      compute1.host:
      - Compute 1
      - host
      compute0.endpoint:
      - Compute 0
      - endpoint
      contrailport1.feature:
      - ContrailPort 1
      - feature
      blockstorage0.attachment:
      - BlockStorage 0
      - attachment
      contrailvirtualnetwork0.end_point:
      - ContrailVirtualNetwork 0
      - end_point
      contrailport0.network.outgoing.packets.rate:
      - ContrailPort 0
      - network.outgoing.packets.rate
      compute2.os:
      - Compute 2
      - os
      compute0.os:
      - Compute 0
      - os
      compute1.scalable:
      - Compute 1
      - scalable
      contrailport1.network.incoming.bytes:
      - ContrailPort 1
      - network.incoming.bytes
      contrailvirtualnetwork0.attachment:
      - ContrailVirtualNetwork 0
      - attachment
      contrailvirtualnetwork0.link:
      - ContrailVirtualNetwork 0
      - link
      extcp0.internal_connectionPoint:
      - ExtCP 0
      - internal_connectionPoint
      contrailport1.network.incoming.packets.rate:
      - ContrailPort 1
      - network.incoming.packets.rate
      contrailport0.network.outgoing.bytes.rate:
      - ContrailPort 0
      - network.outgoing.bytes.rate
      compute2.endpoint:
      - Compute 2
      - endpoint
      blockstorage0.feature:
      - BlockStorage 0
      - feature
      contrailvirtualnetwork0.feature:
      - ContrailVirtualNetwork 0
      - feature
      compute0.feature:
      - Compute 0
      - feature
      compute0.host:
      - Compute 0
      - host
      compute1.feature:
      - Compute 1
      - feature
      contrailport1.network.outgoing.bytes:
      - ContrailPort 1
      - network.outgoing.bytes
      compute0.scalable:
      - Compute 0
      - scalable
      compute2.feature:
      - Compute 2
      - feature
      compute2.scalable:
      - Compute 2
      - scalable
      contrailport0.network.outgoing.bytes:
      - ContrailPort 0
      - network.outgoing.bytes
      contrailport1.network.outgoing.bytes.rate:
      - ContrailPort 1
      - network.outgoing.bytes.rate
      contrailport0.network.outpoing.packets:
      - ContrailPort 0
      - network.outpoing.packets
      compute2.host:
      - Compute 2
      - host
      contrailport0.network.incoming.bytes:
      - ContrailPort 0
      - network.incoming.bytes
      compute1.os:
      - Compute 1
      - os
      contrailport0.network.incoming.bytes.rate:
      - ContrailPort 0
      - network.incoming.bytes.rate
    requirements:
      compute2.local_storage:
      - Compute 2
      - local_storage
      extcp0.virtualBinding:
      - ExtCP 0
      - virtualBinding
      blockstorage0.dependency:
      - BlockStorage 0
      - dependency
      contrailport0.dependency:
      - ContrailPort 0
      - dependency
      compute2.dependency:
      - Compute 2
      - dependency
      extcp0.dependency:
      - ExtCP 0
      - dependency
      contrailport0.link:
      - ContrailPort 0
      - link
      compute1.local_storage:
      - Compute 1
      - local_storage
      contrailport0.binding:
      - ContrailPort 0
      - binding
      compute0.local_storage:
      - Compute 0
      - local_storage
      contrailport1.dependency:
      - ContrailPort 1
      - dependency
      contrailport1.binding:
      - ContrailPort 1
      - binding
      compute1.dependency:
      - Compute 1
      - dependency
      compute0.dependency:
      - Compute 0
      - dependency
      extcp0.external_virtualLink:
      - ExtCP 0
      - external_virtualLink
      contrailport1.link:
      - ContrailPort 1
      - link
      objectstorage0.dependency:
      - ObjectStorage 0
      - dependency
      contrailvirtualnetwork0.dependency:
      - ContrailVirtualNetwork 0
      - dependency
      extcp0.virtualLink:
      - ExtCP 0
      - virtualLink