bc869cc6da494d331eaa98afe405cf172117cccb
[sdc.git] / openecomp-be / lib / openecomp-sdc-enrichment-lib / openecomp-sdc-enrichment-impl / src / test / resources / mock / toscaGlobalServiceTemplates / openecomp / data.yml
1 tosca_definitions_version: tosca_simple_openecomp_1_0
2 metadata:
3   filename: openecomp/data.yml
4   version: '1.0'
5 imports:
6 - openecomp_index:
7     file: _index.yml
8 data_types:
9   org.openecomp.datatypes.network.ProviderNetwork:
10     derived_from: org.openecomp.datatypes.Root
11     properties:
12       is_provider_network:
13         type: boolean
14         description: \"true\" indicates that this a Neutron provider type of network
15         required: true
16         status: SUPPORTED
17       physical_network_name:
18         type: string
19         description: |
20           Identifies the NUMA processor cluster to which this physical network interface belongs. NUMA instance correlates to the first digit of the Physical Network Name suffix (e.g. \"01\" = NUMA 0, \"11\" = NUMA 1)
21         required: false
22         status: SUPPORTED
23         constraints:
24         - valid_values:
25           - Physnet41
26           - Physnet42
27           - Physnet43
28           - Physnet44
29           - Physnet21
30           - Physnet22
31       numa:
32         type: string
33         description: |
34           PNIC instance within the NUMA processor cluster PNIC Instance correlates to the second digit of the Physical Network Name suffix (e.g. "01" = PNIC 1, "02" = "PNIC 2)
35         required: false
36         status: SUPPORTED
37         constraints:
38         - valid_values:
39           - NUMA 0
40           - NUMA 1
41       pnic_instance:
42         type: integer
43         description: PNIC instance within the NUMA processor cluster
44         required: false
45         status: SUPPORTED
46   org.openecomp.datatypes.DeploymentFlavor:
47     derived_from: tosca.datatypes.Root
48     description: Deployment Flavor
49     properties:
50       name:
51         type: string
52         description: Deployment Flavor Name
53         required: true
54         status: SUPPORTED
55       license_feature_group:
56         type: org.openecomp.datatypes.FeatureGroup
57         description: license feature group associated with Deployment Flavor
58         required: true
59         status: SUPPORTED
60       compute_size:
61         type: org.openecomp.datatypes.ComputeFlavor
62         description: Size of VM
63         required: true
64         status: SUPPORTED
65   org.openecomp.datatypes.FeatureGroup:
66     derived_from: tosca.datatypes.Root
67     description: License Feature Group
68     properties:
69       license_feature_group_ref:
70         type: string
71         description: Deployment Flavor Name
72         required: true
73         status: SUPPORTED
74       part_number:
75         type: string
76         description: refrence part number related to feature group
77         required: true
78         status: SUPPORTED
79   org.openecomp.datatypes.EcompHoming:
80     derived_from: org.openecomp.datatypes.Root
81     properties:
82       ecomp_selected_instance_node_target:
83         type: boolean
84         description: |
85           "true" indicates that the target deployment node for this instance will be
86           auto-selected by OPENECOMP "false" indicates operator-supplied instance target deployment
87            node required (e.g. VID will present a prompt to operator and collect the operator-selected target node for the deployment of this Network instance).
88         required: true
89         default: false
90         status: SUPPORTED
91       homing_policy:
92         type: string
93         description: Referenc to a service level homing policy that OPENECOMP will use for instance deployment target node
94         required: false
95         status: SUPPORTED
96       instance_node_target:
97         type: string
98         description: Instance target deployment node
99         required: false
100         status: SUPPORTED
101   org.openecomp.datatypes.AssignmentRequirements:
102     derived_from: org.openecomp.datatypes.Root
103     properties:
104       is_required:
105         type: boolean
106         description: |
107           "true" indicates that assignment is required
108         required: true
109         default: false
110         status: SUPPORTED
111       count:
112         type: integer
113         description: number of assignments required
114         required: false
115         status: SUPPORTED
116   org.openecomp.datatypes.network.IpRequirements:
117     derived_from: org.openecomp.datatypes.Root
118     properties:
119       ip_version:
120         type: integer
121         required: true
122         status: SUPPORTED
123         constraints:
124         - valid_values:
125           - 4
126           - 6
127       ip_count:
128         type: org.openecomp.datatypes.AssignmentRequirements
129         description: identifies the number of ip address to assign to the CP from the plan
130         required: true
131         status: SUPPORTED
132       floating_ip_count:
133         type: org.openecomp.datatypes.AssignmentRequirements
134         required: false
135         status: SUPPORTED
136       subnet_role:
137         type: string
138         required: false
139         status: SUPPORTED
140       assingment_method:
141         type: string
142         required: true
143         status: SUPPORTED
144         constraints:
145         - valid_values:
146           - fixed
147           - dhcp
148   org.openecomp.datatypes.network.PhysicalNetwork:
149     derived_from: org.openecomp.datatypes.Root
150     properties:
151       provider_network:
152         type: boolean
153         description: true indicates that this a Neutron provider type of network
154         required: true
155         status: SUPPORTED
156       physical_network_name:
157         type: string
158         description: |
159           Identifies the NUMA processor cluster to which this physical network interface belongs. NUMA instance correlates to the first digit of the Physical Network Name suffix (e.g. "01" = NUMA 0, "11" = NUMA 1)
160         required: false
161         status: SUPPORTED
162         constraints:
163         - valid_values:
164           - Physnet-SRIOV-1
165           - Physnet-SRIOV-2
166           - Physnet-SRIOV-11
167           - Physnet-SRIOV-12
168       numa:
169         type: string
170         description: |
171           PNIC instance within the NUMA processor cluster PNIC Instance correlates to the second digit of the Physical Network Name suffix (e.g. "01" = PNIC 1, "02" = "PNIC 2)
172         required: false
173         status: SUPPORTED
174         constraints:
175         - valid_values:
176           - NUMA 0
177           - NUMA 1
178       pnic_instance:
179         type: integer
180         description: PNIC instance within the NUMA processor cluster
181         required: false
182         status: SUPPORTED
183   org.openecomp.datatypes.network.VlanRequirements:
184     derived_from: org.openecomp.datatypes.Root
185     properties:
186       vlan_range_plan:
187         type: string
188         description: reference to a vlan range plan
189         required: true
190         status: SUPPORTED
191       vlan_type:
192         type: string
193         description: identifies the vlan type (e.g., c-tag)
194         required: true
195         status: SUPPORTED
196         constraints:
197         - valid_values:
198           - c-tag
199           - s-tag
200       vlan_count:
201         type: integer
202         description: identifies the number of vlan tags to assign to the CP from the plan
203         required: true
204         status: SUPPORTED
205   org.openecomp.datatypes.ComputeFlavor:
206     derived_from: tosca.datatypes.Root
207     description: Compute Flavor (Size)
208     properties:
209       name:
210         type: string
211         description: Compute Flavor Name
212         required: true
213         status: SUPPORTED
214       num_cpus:
215         type: integer
216         description: Number of cpu
217         required: true
218         status: SUPPORTED
219       disk_size:
220         type: scalar-unit.size
221         description: Disk size
222         required: true
223         status: SUPPORTED
224       mem_size:
225         type: scalar-unit.size
226         description: Memory size
227         required: true
228         status: SUPPORTED
229   org.openecomp.datatypes.network.MacAssignments:
230     derived_from: org.openecomp.datatypes.Root
231     properties:
232       mac_range_plan:
233         type: string
234         description: reference to a MAC address range plan
235         required: true
236         status: SUPPORTED
237       mac_count:
238         type: integer
239         description: identifies the number of MAC addresses to assign to the CP from the plan
240         required: true
241         status: SUPPORTED
242   org.openecomp.datatypes.network.MacRequirements:
243     derived_from: org.openecomp.datatypes.Root
244     properties:
245       mac_range_plan:
246         type: string
247         description: reference to a MAC address range plan
248         required: true
249         status: SUPPORTED
250       mac_count:
251         type: org.openecomp.datatypes.AssignmentRequirements
252         description: identifies the number of MAC addresses to assign to the CP from the plan
253         required: true
254         status: SUPPORTED
255   org.openecomp.datatypes.network.SubnetAssignments:
256     derived_from: org.openecomp.datatypes.Root
257     properties:
258       ip_network_address_plan:
259         type: string
260         description: Reference to EIPAM, VLAN or other address plan ID used to assign subnets to this network
261         required: false
262         status: SUPPORTED
263       dhcp_enabled:
264         type: boolean
265         description: \"true\" indicates the network has 1 or more policies
266         required: false
267         status: SUPPORTED
268       ip_version:
269         type: integer
270         description: The IP version of the subnet
271         required: true
272         status: SUPPORTED
273         constraints:
274         - valid_values:
275           - 4
276           - 6
277       cidr_mask:
278         type: integer
279         description: The default subnet CIDR mask
280         required: true
281         status: SUPPORTED
282       min_subnets_count:
283         type: integer
284         description: Quantity of subnets that must be initially assigned
285         required: true
286         default: 1
287         status: SUPPORTED
288   org.openecomp.datatypes.Artifact:
289     derived_from: org.openecomp.datatypes.Root
290     properties:
291       artifact_name:
292         type: string
293         description: Artifcat name
294         required: true
295         status: SUPPORTED
296       artifact_type:
297         type: string
298         description: Artifcat type
299         required: true
300         status: SUPPORTED
301       artifact_uuid:
302         type: string
303         description: Artifcat UUID
304         required: true
305         status: SUPPORTED
306       artifact_checksum:
307         type: string
308         description: Artifact checksum
309         required: true
310         status: SUPPORTED
311       artifact_url:
312         type: string
313         description: Artifcay URL. Can also include only the file name
314         required: true
315         status: SUPPORTED
316   org.openecomp.datatypes.network.IPv4SubnetAssignments:
317     derived_from: org.openecomp.datatypes.network.SubnetAssignments
318     properties:
319       use_ipv4:
320         type: boolean
321         description: Indicates IPv4 subnet assignments
322         required: true
323         status: SUPPORTED
324   org.openecomp.datatypes.Root:
325     derived_from: tosca.datatypes.Root
326     description: |
327       The AT&T root Data Type all other Data Types derive from
328     properties:
329       supplemental_data:
330         type: map
331         required: true
332         status: SUPPORTED
333         entry_schema:
334           description: |
335             A placeholder for missing properties that would be included in future openecomp model
336             versions. fromat <key>:<value>
337           type: string
338   org.openecomp.datatypes.substitution.SubstitutionFiltering:
339     derived_from: tosca.datatypes.Root
340     description: Substitution Filter
341     properties:
342       substitute_service_template:
343         type: string
344         description: Substitute Service Template
345         required: true
346         status: SUPPORTED
347       index_value:
348         type: integer
349         description: Index value of the substitution service template runtime instance
350         required: false
351         default: 0
352         status: SUPPORTED
353         constraints:
354         - greater_or_equal: 0
355       count:
356         type: string
357         description: Count
358         required: false
359         default: 1
360         status: SUPPORTED
361       scaling_enabled:
362         type: boolean
363         description: Indicates whether service scaling is enabled
364         required: false
365         default: true
366         status: SUPPORTED
367       mandatory:
368         type: boolean
369         description: Mandatory
370         required: false
371         status: SUPPORTED
372   org.openecomp.datatypes.network.NetworkFlows:
373     derived_from: org.openecomp.datatypes.Root
374     properties:
375       is_network_policy:
376         type: boolean
377         description: true indicates the network has 1 or more policies
378         required: false
379         default: false
380         status: SUPPORTED
381       network_policy:
382         type: string
383         description: Identifies the specific OPENECOMP Contrail network policy that must be applied to this network (source - from Policy Manager)
384         required: false
385         status: SUPPORTED
386       vpn_binding:
387         type: string
388         description: Identifies the specific VPN Binding entry in A&AI that must be applied when creating this network (source - A&AI)
389         required: false
390         status: SUPPORTED
391   org.openecomp.datatypes.network.NetworkAssignments:
392     derived_from: org.openecomp.datatypes.Root
393     properties:
394       ecomp_generated_network_assignment:
395         type: boolean
396         description: |
397           "true" indicates that the network assignments will be auto-generated by OPENECOMP "false" indicates operator-supplied Network assignments file upload is required (e.g. VID will present prompt to operator to upload operator-supplied Network assignments file).
398         required: true
399         default: false
400         status: SUPPORTED
401       network_assignments_file:
402         type: string
403         description: Filename of the template that specifies all of the configurable name/value pairs of Network assignments in this Network model
404         required: false
405         status: SUPPORTED
406       multi_tenant:
407         type: boolean
408         description: true means this network is shared by multiple Openstack tenants
409         required: true
410         default: true
411         status: SUPPORTED
412       min_subnets_count:
413         type: integer
414         description: Quantity of subnets that must be initially assigned
415         required: true
416         status: SUPPORTED
417       ip_network_address_plan:
418         type: string
419         description: Reference to EIPAM, VLAN or other address plan ID used to assign subnets to this network
420         required: true
421         status: SUPPORTED
422       vlan_network_address_plan:
423         type: string
424         description: Reference to VLAN or other address plan ID used to assign subnets to this network
425         required: true
426         status: SUPPORTED
427   org.openecomp.datatypes.network.IPv6SubnetAssignments:
428     derived_from: org.openecomp.datatypes.network.SubnetAssignments
429     properties:
430       use_ipv6:
431         type: boolean
432         description: Indicates IPv6 subnet assignments
433         required: true
434         status: SUPPORTED
435   org.openecomp.datatypes.EcompNaming:
436     derived_from: org.openecomp.datatypes.Root
437     properties:
438       ecomp_generated_naming:
439         type: boolean
440         description: |
441           "true" indicates that the name for the instance will be auto-generated by OPENECOMP. "false" indicates operator-supplied name required (e.g. VID will present prompt to operator and collect the operator-supplied instance name).
442         required: true
443         default: true
444         status: SUPPORTED
445       naming_policy:
446         type: string
447         description: Referenc to naming policy that OPENECOMP will use when the name is auto-generated
448         required: false
449         status: SUPPORTED
450   org.openecomp.datatypes.Naming:
451     derived_from: org.openecomp.datatypes.Root
452     properties:
453       ecomp_generated_naming:
454         type: boolean
455         description: |
456           "true" indicates that the name for the instance will be auto-generated by OPENECOMP. "false" indicates operator-supplied name required (e.g. VID will present prompt to operator and collect the operator-supplied instance name).
457         required: true
458         default: true
459         status: SUPPORTED
460   org.openecomp.datatypes.EcompGeneratedNaming:
461     derived_from: org.openecomp.datatypes.Naming
462     properties:
463       naming_policy:
464         type: string
465         description: Referenc to naming policy that OPENECOMP will use when the name is auto-generated
466         required: false
467         status: SUPPORTED
468   org.openecomp.datatypes.UserDefinedNaming:
469     derived_from: org.openecomp.datatypes.Naming
470     properties:
471       instance_name:
472         type: string
473         description: Reference to naming policy that OPENECOMP will use when the name is auto-generated
474         required: false
475         status: SUPPORTED