c0fd672ee9bb0dcad9e3cbd080c9bf5e255f984b
[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     capabilities:
44       network.incoming.packets.rate:
45         type: org.openecomp.capabilities.metric.Ceilometer
46         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
47         properties:
48           unit:
49             type: string
50             description: Unit of the metric value
51             required: true
52             default: packet/s
53             status: SUPPORTED
54           name:
55             type: string
56             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
57             required: true
58             default: network.incoming.packets.rate
59             status: SUPPORTED
60           description:
61             type: string
62             description: Description of the metric
63             required: false
64             default: Average rate of incoming packets
65             status: SUPPORTED
66           type:
67             type: string
68             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
69             required: true
70             default: Gauge
71             status: SUPPORTED
72           category:
73             type: string
74             description: Category of the metric, for an example, compute, disk, network, storage and etc.
75             required: false
76             default: network
77             status: SUPPORTED
78         occurrences:
79         - 1
80         - UNBOUNDED
81       forwarder:
82         type: org.openecomp.capabilities.Forwarder
83       network.outgoing.bytes:
84         type: org.openecomp.capabilities.metric.Ceilometer
85         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
86         properties:
87           unit:
88             type: string
89             description: Unit of the metric value
90             required: true
91             default: B
92             status: SUPPORTED
93           name:
94             type: string
95             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
96             required: true
97             default: network.outgoing.bytes
98             status: SUPPORTED
99           description:
100             type: string
101             description: Description of the metric
102             required: false
103             default: Number of outgoing bytes
104             status: SUPPORTED
105           type:
106             type: string
107             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
108             required: true
109             default: Cumulative
110             status: SUPPORTED
111           category:
112             type: string
113             description: Category of the metric, for an example, compute, disk, network, storage and etc.
114             required: false
115             default: network
116             status: SUPPORTED
117         occurrences:
118         - 1
119         - UNBOUNDED
120       network.outgoing.packets.rate:
121         type: org.openecomp.capabilities.metric.Ceilometer
122         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
123         properties:
124           unit:
125             type: string
126             description: Unit of the metric value
127             required: true
128             default: packet/s
129             status: SUPPORTED
130           name:
131             type: string
132             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
133             required: true
134             default: network.outgoing.packets.rate
135             status: SUPPORTED
136           description:
137             type: string
138             description: Description of the metric
139             required: false
140             default: Average rate of outgoing packets
141             status: SUPPORTED
142           type:
143             type: string
144             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
145             required: true
146             default: Gauge
147             status: SUPPORTED
148           category:
149             type: string
150             description: Category of the metric, for an example, compute, disk, network, storage and etc.
151             required: false
152             default: network
153             status: SUPPORTED
154         occurrences:
155         - 1
156         - UNBOUNDED
157       network.outpoing.packets:
158         type: org.openecomp.capabilities.metric.Ceilometer
159         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
160         properties:
161           unit:
162             type: string
163             description: Unit of the metric value
164             required: true
165             default: packet
166             status: SUPPORTED
167           name:
168             type: string
169             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
170             required: true
171             default: network.outpoing.packets
172             status: SUPPORTED
173           description:
174             type: string
175             description: Description of the metric
176             required: false
177             default: Number of outgoing packets
178             status: SUPPORTED
179           type:
180             type: string
181             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
182             required: true
183             default: Cumulative
184             status: SUPPORTED
185           category:
186             type: string
187             description: Category of the metric, for an example, compute, disk, network, storage and etc.
188             required: false
189             default: network
190             status: SUPPORTED
191         occurrences:
192         - 1
193         - UNBOUNDED
194       network.incoming.bytes.rate:
195         type: org.openecomp.capabilities.metric.Ceilometer
196         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
197         properties:
198           unit:
199             type: string
200             description: Unit of the metric value
201             required: true
202             default: B/s
203             status: SUPPORTED
204           name:
205             type: string
206             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
207             required: true
208             default: network.incoming.bytes.rate
209             status: SUPPORTED
210           description:
211             type: string
212             description: Description of the metric
213             required: false
214             default: Average rate of incoming bytes
215             status: SUPPORTED
216           type:
217             type: string
218             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
219             required: true
220             default: Gauge
221             status: SUPPORTED
222           category:
223             type: string
224             description: Category of the metric, for an example, compute, disk, network, storage and etc.
225             required: false
226             default: network
227             status: SUPPORTED
228         occurrences:
229         - 1
230         - UNBOUNDED
231       network.incoming.bytes:
232         type: org.openecomp.capabilities.metric.Ceilometer
233         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
234         properties:
235           unit:
236             type: string
237             description: Unit of the metric value
238             required: true
239             default: B
240             status: SUPPORTED
241           name:
242             type: string
243             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
244             required: true
245             default: network.incoming.bytes
246             status: SUPPORTED
247           description:
248             type: string
249             description: Description of the metric
250             required: false
251             default: Number of incoming bytes
252             status: SUPPORTED
253           type:
254             type: string
255             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
256             required: true
257             default: Cumulative
258             status: SUPPORTED
259           category:
260             type: string
261             description: Category of the metric, for an example, compute, disk, network, storage and etc.
262             required: false
263             default: network
264             status: SUPPORTED
265         occurrences:
266         - 1
267         - UNBOUNDED
268       network.outgoing.bytes.rate:
269         type: org.openecomp.capabilities.metric.Ceilometer
270         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
271         properties:
272           unit:
273             type: string
274             description: Unit of the metric value
275             required: true
276             default: B/s
277             status: SUPPORTED
278           name:
279             type: string
280             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
281             required: true
282             default: network.outgoing.bytes.rate
283             status: SUPPORTED
284           description:
285             type: string
286             description: Description of the metric
287             required: false
288             default: Average rate of outgoing bytes
289             status: SUPPORTED
290           type:
291             type: string
292             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
293             required: true
294             default: Gauge
295             status: SUPPORTED
296           category:
297             type: string
298             description: Category of the metric, for an example, compute, disk, network, storage and etc.
299             required: false
300             default: network
301             status: SUPPORTED
302         occurrences:
303         - 1
304         - UNBOUNDED
305       network.incoming.packets:
306         type: org.openecomp.capabilities.metric.Ceilometer
307         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
308         properties:
309           unit:
310             type: string
311             description: Unit of the metric value
312             required: true
313             default: packet
314             status: SUPPORTED
315           name:
316             type: string
317             description: Ceilometer metric type name to monitor. (The name ceilometer is using)
318             required: true
319             default: network.incoming.packets
320             status: SUPPORTED
321           description:
322             type: string
323             description: Description of the metric
324             required: false
325             default: Number of incoming packets
326             status: SUPPORTED
327           type:
328             type: string
329             description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
330             required: true
331             default: Cumulative
332             status: SUPPORTED
333           category:
334             type: string
335             description: Category of the metric, for an example, compute, disk, network, storage and etc.
336             required: false
337             default: network
338             status: SUPPORTED
339         occurrences:
340         - 1
341         - UNBOUNDED