Network Cloud onboarding model sync with sdc model
[sdc.git] / catalog-be / src / main / resources / import / tosca / heat-types / globalPort / globalPort.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 node_types:
3   org.openecomp.resource.cp.nodes.network.Port:
4     derived_from: tosca.nodes.network.Port
5     properties:
6       network_role: 
7         type: string
8         required: true
9         description: identical to VL network_role
10       order:
11         type: integer
12         required: true
13         description: The order of the CP on the compute instance (e.g. eth2).
14       network_role_tag:
15         description: Must correlate to the set of defined “network-role�? tag identifiers from the associated HEAT template
16         type: string
17         required: true
18       mac_requirements:
19         description: identifies MAC address assignments to the CP
20         type: org.openecomp.datatypes.network.MacRequirements
21         required: false
22       vlan_requirements:
23         description: identifies vlan address assignments to the CP
24         type: list
25         entry_schema:
26           type: org.openecomp.datatypes.network.VlanRequirements
27         required: false
28       ip_requirements:
29         description: identifies IP requirements to the CP
30         type: list
31         entry_schema:
32           type: org.openecomp.datatypes.network.IpRequirements
33         required: true  
34       exCP_naming:
35           type: org.openecomp.datatypes.Naming
36       subnetpoolid:
37           type: string       
38       subinterface_indicator:
39         description: identifies if Port is having Sub Interface
40         type: boolean
41         required: false
42         default: false
43       related_networks:
44         type: list
45         description: Related Networks List.
46         required: false
47         entry_schema:
48           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
49     capabilities:
50       network.incoming.packets.rate:
51         type: org.openecomp.capabilities.metric.Ceilometer
52         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
53         properties:
54           unit:
55             type: string
56             description: Unit of the metric value
57             required: true
58             default: packet/s
59             status: SUPPORTED
60           name:
61             type: string
62             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
63             required: true
64             default: network.incoming.packets.rate
65             status: SUPPORTED
66           description:
67             type: string
68             description: Description of the metric
69             required: false
70             default: Average rate of incoming packets
71             status: SUPPORTED
72           type:
73             type: string
74             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
75             required: true
76             default: Gauge
77             status: SUPPORTED
78           category:
79             type: string
80             description: Category of the metric, for an example, compute, disk, network, storage and etc.
81             required: false
82             default: network
83             status: SUPPORTED
84         occurrences:
85         - 1
86         - UNBOUNDED
87       forwarder:
88         type: org.openecomp.capabilities.Forwarder
89       network.outgoing.bytes:
90         type: org.openecomp.capabilities.metric.Ceilometer
91         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
92         properties:
93           unit:
94             type: string
95             description: Unit of the metric value
96             required: true
97             default: B
98             status: SUPPORTED
99           name:
100             type: string
101             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
102             required: true
103             default: network.outgoing.bytes
104             status: SUPPORTED
105           description:
106             type: string
107             description: Description of the metric
108             required: false
109             default: Number of outgoing bytes
110             status: SUPPORTED
111           type:
112             type: string
113             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
114             required: true
115             default: Cumulative
116             status: SUPPORTED
117           category:
118             type: string
119             description: Category of the metric, for an example, compute, disk, network, storage and etc.
120             required: false
121             default: network
122             status: SUPPORTED
123         occurrences:
124         - 1
125         - UNBOUNDED
126       network.outgoing.packets.rate:
127         type: org.openecomp.capabilities.metric.Ceilometer
128         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
129         properties:
130           unit:
131             type: string
132             description: Unit of the metric value
133             required: true
134             default: packet/s
135             status: SUPPORTED
136           name:
137             type: string
138             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
139             required: true
140             default: network.outgoing.packets.rate
141             status: SUPPORTED
142           description:
143             type: string
144             description: Description of the metric
145             required: false
146             default: Average rate of outgoing packets
147             status: SUPPORTED
148           type:
149             type: string
150             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
151             required: true
152             default: Gauge
153             status: SUPPORTED
154           category:
155             type: string
156             description: Category of the metric, for an example, compute, disk, network, storage and etc.
157             required: false
158             default: network
159             status: SUPPORTED
160         occurrences:
161         - 1
162         - UNBOUNDED
163       network.outpoing.packets:
164         type: org.openecomp.capabilities.metric.Ceilometer
165         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
166         properties:
167           unit:
168             type: string
169             description: Unit of the metric value
170             required: true
171             default: packet
172             status: SUPPORTED
173           name:
174             type: string
175             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
176             required: true
177             default: network.outpoing.packets
178             status: SUPPORTED
179           description:
180             type: string
181             description: Description of the metric
182             required: false
183             default: Number of outgoing packets
184             status: SUPPORTED
185           type:
186             type: string
187             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
188             required: true
189             default: Cumulative
190             status: SUPPORTED
191           category:
192             type: string
193             description: Category of the metric, for an example, compute, disk, network, storage and etc.
194             required: false
195             default: network
196             status: SUPPORTED
197         occurrences:
198         - 1
199         - UNBOUNDED
200       network.incoming.bytes.rate:
201         type: org.openecomp.capabilities.metric.Ceilometer
202         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
203         properties:
204           unit:
205             type: string
206             description: Unit of the metric value
207             required: true
208             default: B/s
209             status: SUPPORTED
210           name:
211             type: string
212             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
213             required: true
214             default: network.incoming.bytes.rate
215             status: SUPPORTED
216           description:
217             type: string
218             description: Description of the metric
219             required: false
220             default: Average rate of incoming bytes
221             status: SUPPORTED
222           type:
223             type: string
224             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
225             required: true
226             default: Gauge
227             status: SUPPORTED
228           category:
229             type: string
230             description: Category of the metric, for an example, compute, disk, network, storage and etc.
231             required: false
232             default: network
233             status: SUPPORTED
234         occurrences:
235         - 1
236         - UNBOUNDED
237       network.incoming.bytes:
238         type: org.openecomp.capabilities.metric.Ceilometer
239         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
240         properties:
241           unit:
242             type: string
243             description: Unit of the metric value
244             required: true
245             default: B
246             status: SUPPORTED
247           name:
248             type: string
249             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
250             required: true
251             default: network.incoming.bytes
252             status: SUPPORTED
253           description:
254             type: string
255             description: Description of the metric
256             required: false
257             default: Number of incoming bytes
258             status: SUPPORTED
259           type:
260             type: string
261             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
262             required: true
263             default: Cumulative
264             status: SUPPORTED
265           category:
266             type: string
267             description: Category of the metric, for an example, compute, disk, network, storage and etc.
268             required: false
269             default: network
270             status: SUPPORTED
271         occurrences:
272         - 1
273         - UNBOUNDED
274       network.outgoing.bytes.rate:
275         type: org.openecomp.capabilities.metric.Ceilometer
276         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
277         properties:
278           unit:
279             type: string
280             description: Unit of the metric value
281             required: true
282             default: B/s
283             status: SUPPORTED
284           name:
285             type: string
286             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
287             required: true
288             default: network.outgoing.bytes.rate
289             status: SUPPORTED
290           description:
291             type: string
292             description: Description of the metric
293             required: false
294             default: Average rate of outgoing bytes
295             status: SUPPORTED
296           type:
297             type: string
298             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
299             required: true
300             default: Gauge
301             status: SUPPORTED
302           category:
303             type: string
304             description: Category of the metric, for an example, compute, disk, network, storage and etc.
305             required: false
306             default: network
307             status: SUPPORTED
308         occurrences:
309         - 1
310         - UNBOUNDED
311       network.incoming.packets:
312         type: org.openecomp.capabilities.metric.Ceilometer
313         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
314         properties:
315           unit:
316             type: string
317             description: Unit of the metric value
318             required: true
319             default: packet
320             status: SUPPORTED
321           name:
322             type: string
323             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
324             required: true
325             default: network.incoming.packets
326             status: SUPPORTED
327           description:
328             type: string
329             description: Description of the metric
330             required: false
331             default: Number of incoming packets
332             status: SUPPORTED
333           type:
334             type: string
335             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
336             required: true
337             default: Cumulative
338             status: SUPPORTED
339           category:
340             type: string
341             description: Category of the metric, for an example, compute, disk, network, storage and etc.
342             required: false
343             default: network
344             status: SUPPORTED
345         occurrences:
346         - 1
347         - UNBOUNDED