summaryrefslogtreecommitdiffstats
path: root/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/service-BasicCnf-template.yml
blob: 1c342ba7cb6cf16aa53c00cb8bced8493e20de79 (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
tosca_definitions_version: tosca_simple_yaml_1_1
metadata:
  invariantUUID: 830857aa-604f-483b-a299-b63267698420
  UUID: 31e0cd50-0a84-42b4-a7a8-dd5d82e6907d
  name: basic_cnf
  description: service
  type: Service
  category: Network Service
  serviceType: ''
  serviceRole: ''
  instantiationType: A-la-carte
  serviceEcompNaming: 'true'
  ecompGeneratedNaming: 'true'
  namingPolicy: ''
  environmentContext: General_Revenue-Bearing
  serviceFunction: ''
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
- annotations:
    file: annotations.yml
- service-basic_cnf-interface:
    file: service-BasicCnf-template-interface.yml
- resource-basic_cnf:
    file: resource-BasicCnf-template.yml
- resource-basic_cnf-interface:
    file: resource-BasicCnf-template-interface.yml
topology_template:
  inputs:
    skip_post_instantiation_configuration:
      default: true
      type: boolean
      required: false
    controller_actor:
      default: SO-REF-DATA
      type: string
      required: false
    cds_model_version:
      type: string
      required: false
    cds_model_name:
      type: string
      required: false
    default_software_version:
      type: string
      required: false
  node_templates:
    basic_cnf 0:
      type: org.openecomp.resource.vf.BasicCnf
      metadata:
        invariantUUID: 39ea5e7d-ce9c-4808-852c-7eee93016e4e
        UUID: e41055ce-d879-44aa-b738-851be0dd9ca3
        customizationUUID: bd0d1395-84c0-4bb3-956a-4b183f60754d
        version: '1.0'
        name: basic_cnf
        description: VF
        type: VF
        category: Generic
        subcategory: Abstract
        resourceVendor: basicnf_vendor
        resourceVendorRelease: '1.0'
        resourceVendorModelNumber: ''
      properties:
        vf_module_id: PROVIDED_BY_ONAP
        skip_post_instantiation_configuration: true
        nf_naming:
          ecomp_generated_naming: true
        multi_stage_design: false
        controller_actor: SO-REF-DATA
        availability_zone_max_count: 1
        vnf_id: PROVIDED_BY_ONAP
        dummy_image_name: dummy
        vnf_name: PROVIDED_BY_ONAP
        dummy_name_0: dummy_1_0
        dummy_flavor_name: dummy.default
      capabilities:
        abstract_dummy.cpu_dummy:
          properties:
            name: cpu
        abstract_dummy.disk.device.read.requests.rate_dummy:
          properties:
            name: disk.device.read.requests.rate
        abstract_dummy.disk.capacity_dummy:
          properties:
            name: disk.capacity
        abstract_dummy.disk.write.bytes.rate_dummy:
          properties:
            name: disk.write.bytes.rate
        abstract_dummy.disk.usage_dummy:
          properties:
            name: disk.usage
        abstract_dummy.disk.latency_dummy:
          properties:
            name: disk.latency
        abstract_dummy.endpoint_dummy:
          properties:
            secure: true
        abstract_dummy.disk.allocation_dummy:
          properties:
            name: disk.allocation
        abstract_dummy.memory.usage_dummy:
          properties:
            name: memory.usage
        abstract_dummy.disk.device.iops_dummy:
          properties:
            name: disk.device.iops
        abstract_dummy.disk.root.size_dummy:
          properties:
            name: disk.root.size
        abstract_dummy.disk.read.bytes_dummy:
          properties:
            name: disk.read.bytes
        abstract_dummy.disk.device.latency_dummy:
          properties:
            name: disk.device.latency
        abstract_dummy.disk.iops_dummy:
          properties:
            name: disk.iops
        abstract_dummy.vcpus_dummy:
          properties:
            name: vcpus
        abstract_dummy.disk.device.allocation_dummy:
          properties:
            name: disk.device.allocation
        abstract_dummy.disk.device.read.requests_dummy:
          properties:
            name: disk.device.read.requests
        abstract_dummy.disk.device.read.bytes.rate_dummy:
          properties:
            name: disk.device.read.bytes.rate
        abstract_dummy.instance_dummy:
          properties:
            name: instance
        abstract_dummy.cpu_util_dummy:
          properties:
            name: cpu_util
        abstract_dummy.memory_dummy:
          properties:
            name: memory
        abstract_dummy.disk.device.write.bytes.rate_dummy:
          properties:
            name: disk.device.write.bytes.rate
        abstract_dummy.disk.device.write.requests_dummy:
          properties:
            name: disk.device.write.requests
        abstract_dummy.disk.write.requests_dummy:
          properties:
            name: disk.write.requests
        abstract_dummy.disk.device.write.requests.rate_dummy:
          properties:
            name: disk.device.write.requests.rate
        abstract_dummy.disk.device.usage_dummy:
          properties:
            name: disk.device.usage
        abstract_dummy.disk.device.read.bytes_dummy:
          properties:
            name: disk.device.read.bytes
        abstract_dummy.disk.device.capacity_dummy:
          properties:
            name: disk.device.capacity
        abstract_dummy.disk.read.bytes.rate_dummy:
          properties:
            name: disk.read.bytes.rate
        abstract_dummy.disk.device.write.bytes_dummy:
          properties:
            name: disk.device.write.bytes
        abstract_dummy.disk.read.requests_dummy:
          properties:
            name: disk.read.requests
        abstract_dummy.disk.write.requests.rate_dummy:
          properties:
            name: disk.write.requests.rate
        abstract_dummy.memory.resident_dummy:
          properties:
            name: memory.resident
        abstract_dummy.disk.write.bytes_dummy:
          properties:
            name: disk.write.bytes
        abstract_dummy.disk.ephemeral.size_dummy:
          properties:
            name: disk.ephemeral.size
        abstract_dummy.cpu.delta_dummy:
          properties:
            name: cpu.delta
        abstract_dummy.scalable_dummy:
          properties:
            min_instances: 1
            max_instances: 1
  groups:
    basic_cnf0..BasicCnf..base_dummy..module-0:
      type: org.openecomp.groups.VfModule
      metadata:
        vfModuleModelName: BasicCnf..base_dummy..module-0
        vfModuleModelInvariantUUID: f7ed621b-54c7-4edd-978d-765a63de766e
        vfModuleModelUUID: 32f3dd22-6eee-466a-87a5-0a8b6476c671
        vfModuleModelVersion: '1'
        vfModuleModelCustomizationUUID: 164773f7-58a2-4e3b-b544-2348edbc7ddc
      properties:
        min_vf_module_instances: 1
        vf_module_label: base_dummy
        max_vf_module_instances: 1
        vf_module_type: Base
        isBase: true
        initial_count: 1
        volume_group: false
  substitution_mappings:
    node_type: org.openecomp.service.BasicCnf
    capabilities:
      basic_cnf0.abstract_dummy.disk.device.read.requests.rate_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.read.requests.rate_dummy
      basic_cnf0.abstract_dummy.disk.latency_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.latency_dummy
      basic_cnf0.abstract_dummy.disk.device.latency_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.latency_dummy
      basic_cnf0.abstract_dummy.disk.write.requests.rate_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.write.requests.rate_dummy
      basic_cnf0.abstract_dummy.disk.ephemeral.size_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.ephemeral.size_dummy
      basic_cnf0.abstract_dummy.disk.device.write.requests.rate_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.write.requests.rate_dummy
      basic_cnf0.abstract_dummy.disk.iops_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.iops_dummy
      basic_cnf0.abstract_dummy.disk.read.requests_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.read.requests_dummy
      basic_cnf0.abstract_dummy.memory_dummy:
      - basic_cnf 0
      - abstract_dummy.memory_dummy
      basic_cnf0.abstract_dummy.disk.device.read.requests_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.read.requests_dummy
      basic_cnf0.abstract_dummy.host_dummy:
      - basic_cnf 0
      - abstract_dummy.host_dummy
      basic_cnf0.abstract_dummy.disk.read.bytes_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.read.bytes_dummy
      basic_cnf0.abstract_dummy.cpu_util_dummy:
      - basic_cnf 0
      - abstract_dummy.cpu_util_dummy
      basic_cnf0.abstract_dummy.disk.write.bytes.rate_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.write.bytes.rate_dummy
      basic_cnf0.abstract_dummy.disk.allocation_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.allocation_dummy
      basic_cnf0.abstract_dummy.instance_dummy:
      - basic_cnf 0
      - abstract_dummy.instance_dummy
      basic_cnf0.abstract_dummy.binding_dummy:
      - basic_cnf 0
      - abstract_dummy.binding_dummy
      basic_cnf0.abstract_dummy.disk.root.size_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.root.size_dummy
      basic_cnf0.abstract_dummy.disk.write.requests_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.write.requests_dummy
      basic_cnf0.abstract_dummy.vcpus_dummy:
      - basic_cnf 0
      - abstract_dummy.vcpus_dummy
      basic_cnf0.abstract_dummy.disk.read.bytes.rate_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.read.bytes.rate_dummy
      basic_cnf0.abstract_dummy.cpu_dummy:
      - basic_cnf 0
      - abstract_dummy.cpu_dummy
      basic_cnf0.abstract_dummy.disk.device.allocation_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.allocation_dummy
      basic_cnf0.abstract_dummy.disk.device.usage_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.usage_dummy
      basic_cnf0.abstract_dummy.disk.device.read.bytes.rate_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.read.bytes.rate_dummy
      basic_cnf0.abstract_dummy.cpu.delta_dummy:
      - basic_cnf 0
      - abstract_dummy.cpu.delta_dummy
      basic_cnf0.abstract_dummy.disk.usage_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.usage_dummy
      basic_cnf0.abstract_dummy.disk.capacity_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.capacity_dummy
      basic_cnf0.abstract_dummy.memory.usage_dummy:
      - basic_cnf 0
      - abstract_dummy.memory.usage_dummy
      basic_cnf0.abstract_dummy.endpoint_dummy:
      - basic_cnf 0
      - abstract_dummy.endpoint_dummy
      basic_cnf0.abstract_dummy.disk.device.capacity_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.capacity_dummy
      basic_cnf0.abstract_dummy.os_dummy:
      - basic_cnf 0
      - abstract_dummy.os_dummy
      basic_cnf0.abstract_dummy.memory.resident_dummy:
      - basic_cnf 0
      - abstract_dummy.memory.resident_dummy
      basic_cnf0.abstract_dummy.disk.write.bytes_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.write.bytes_dummy
      basic_cnf0.abstract_dummy.scalable_dummy:
      - basic_cnf 0
      - abstract_dummy.scalable_dummy
      basic_cnf0.abstract_dummy.disk.device.read.bytes_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.read.bytes_dummy
      basic_cnf0.abstract_dummy.disk.device.write.requests_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.write.requests_dummy
      basic_cnf0.abstract_dummy.disk.device.write.bytes_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.write.bytes_dummy
      basic_cnf0.abstract_dummy.feature_dummy:
      - basic_cnf 0
      - abstract_dummy.feature_dummy
      basic_cnf0.abstract_dummy.disk.device.iops_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.iops_dummy
      basic_cnf0.abstract_dummy.disk.device.write.bytes.rate_dummy:
      - basic_cnf 0
      - abstract_dummy.disk.device.write.bytes.rate_dummy
    properties:
      skip_post_instantiation_configuration:
      - skip_post_instantiation_configuration
      controller_actor:
      - controller_actor
      cds_model_version:
      - cds_model_version
      cds_model_name:
      - cds_model_name
      default_software_version:
      - default_software_version