ActivitySpec - Correcting logger messages
[sdc.git] / common / openecomp-tosca-datatype / src / main / resources / globalTypes / onap / data.yml
1 #
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 #      http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13 #
14
15 tosca_definitions_version: tosca_simple_yaml_1_1
16
17 metadata:
18   filename: onap/data.yml
19   version: '1.0'
20
21 imports:
22 - onap_index:
23     file: _index.yml
24
25 data_types:
26
27   tosca.datatypes.nfv.RequestedAdditionalCapability:
28     derived_from: tosca.datatypes.Root
29     properties:
30       support_mandatory:
31         type: boolean
32         required: true
33       min_requested_additional_capability_version:
34         type: string
35         required: false
36       preferred_requested_additional_capability_version:
37         type: string
38         required: false
39       requested_additional_capability_name:
40         type: string
41         required: true
42       target_performance_parameters:
43         type: map
44         entry_schema:
45           type: string
46         required: true
47   tosca.datatypes.nfv.VirtualMemory:
48     derived_from: tosca.datatypes.Root
49     properties:
50       virtual_mem_size:
51         type: string
52         required: true
53       virtual_mem_oversubscription_policy:
54         type: string
55         required: false
56       numa_enabled:
57         type: boolean
58         required: false
59   tosca.datatypes.nfv.VirtualCpu:
60     derived_from: tosca.datatypes.Root
61     properties:
62       cpu_architecture:
63         type: string
64         required: false
65       num_virtual_cpu:
66         type: integer
67         required: true
68       virtual_cpu_clock:
69         type: scalar-unit.frequency
70         required: false
71       virtual_cpu_oversubscription_policy:
72         type: string
73         required: false
74       virtual_cpu_pinning:
75         type: tosca.datatypes.nfv.VirtualCpuPinning
76         required: false
77   tosca.datatypes.nfv.VirtualCpuPinning:
78     derived_from: tosca.datatypes.Root
79     properties:
80       cpu_pinning_policy:
81         type: string
82         constraints:
83           - valid_values: [ static, dynamic ]
84         required: false
85       cpu_pinning_map:
86         type: map
87         entry_schema:
88           type: string
89         required: false
90   tosca.datatypes.nfv.VnfcConfigurableProperties:
91     properties:
92       additional_vnfc_configurable_properties:
93         entry_schema:
94           type: string
95         required: false
96         type: map
97   tosca.datatypes.nfv.L3AddressData:
98     properties:
99       number_of_ip_address:
100         required: false
101         type: integer
102       ip_address_assignment:
103         type: boolean
104       ip_address_type:
105         constraints:
106         - valid_values:
107           - ipv4
108           - ipv6
109         required: false
110         type: string
111       floating_ip_activated:
112         type: string
113   tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements:
114     properties:
115       name:
116         required: false
117         type: string
118       support_mandatory:
119         type: boolean
120       description:
121         required: false
122         type: string
123       requirement:
124         entry_schema:
125           type: string
126         type: map
127   tosca.datatype.nfv.AddressData:
128     properties:
129       address_type:
130         constraints:
131         - valid_values:
132           - mac_address
133           - ip_address
134         type: string
135       l2_address_data:
136         required: false
137         type: tosca.datatypes.nfv.L2AddressData
138       l3_address_data:
139         required: false
140         type: tosca.datatypes.nfv.L3AddressData
141   tosca.datatypes.nfv.L2AddressData: {}
142   tosca.datatypes.nfv.ConnectivityType:
143     properties:
144       layer_protocol:
145         constraints:
146         - valid_values:
147           - ethernet
148           - mpls
149           - odu2
150           - ipv4
151           - ipv6
152           - pseudo_wire
153         type: string
154       flow_pattern:
155         required: false
156         type: string
157   tosca.datatypes.nfv.ext.FloatingIP:
158     properties:
159       external_network:
160         required: false
161         type: string
162       ip_address:
163         required: false
164         type: string
165   tosca.datatypes.nfv.ext.AddressPairs:
166     properties:
167       ip:
168         required: false
169         type: string
170       mac:
171         required: false
172         type: string
173   tosca.datatypes.nfv.ext.InjectData:
174     properties:
175       file_name:
176         required: false
177         type: string
178       file_data:
179         required: false
180         type: string
181   tosca.datatypes.nfv.ext.zte.WatchDog:
182     properties:
183       enable_delay:
184         required: false
185         type: integer
186       action:
187         required: false
188         type: string
189   tosca.datatypes.nfv.ext.LocalAffinityOrAntiAffinityRule:
190     properties:
191       scope:
192         required: false
193         type: string
194       affinity_antiaffinity:
195         required: false
196         type: string
197   tosca.datatypes.nfv.ext.LocationInfo:
198     properties:
199       availability_zone:
200         required: false
201         type: string
202       vimid:
203         required: false
204         type: integer
205       tenant:
206         required: false
207         type: string
208   tosca.datatypes.nfv.ext.HostRouteInfo:
209     properties:
210       destination:
211         required: false
212         type: string
213       nexthop:
214         required: false
215         type: string