ActivitySpec - Correcting logger messages
[sdc.git] / common / openecomp-tosca-datatype / src / main / resources / globalTypes / openecomp / nodes.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: openecomp/nodes.yml
19   version: '1.0'
20   
21 imports:
22 - openecomp_index:
23     file: _index.yml
24
25 node_types:
26
27   org.openecomp.resource.vl.nodes.network.Network:
28     derived_from: tosca.nodes.network.Network
29     properties:
30       vendor:
31         type: string
32         required: false
33       vl_name:
34         type: string
35         required: false
36     capabilities:
37       end_point:
38         type: tosca.capabilities.Endpoint
39
40   org.openecomp.resource.abstract.nodes.AbstractSubstitute:
41     derived_from: tosca.nodes.Root
42     properties:
43       service_template_filter:
44         description: Substitution Filter
45         type: org.openecomp.datatypes.substitution.SubstitutionFiltering
46         status: SUPPORTED
47         required: true
48
49   org.openecomp.resource.vl.extVL:
50     derived_from: org.openecomp.resource.vl.nodes.network.Network
51     description: VF Tenant oam protected network
52     properties:
53       network_type:
54         description: OPENECOMP supported network types.
55         type: string
56         required: true
57       network_role:
58         description: |
59           Unique label that defines the role that this network performs.   example: vce oam network, vnat sr-iov1 network
60         type: string
61         required: true
62       network_scope:
63         description: |
64           Uniquely identifies the network scope. Valid values for the network scope   includes: VF - VF-level network. Intra-VF network which connects the VFCs (VMs) inside the VF. SERVICE - Service-level network. Intra-Service network which connects  the VFs within the service GLOBAL - Global network which can be shared by multiple services
65         type: string
66         constraints:
67         - valid_values:
68           - VF
69           - SERVICE
70           - GLOBAL
71       network_technology:
72         description: OPENECOMP supported network technology
73         type: string
74         required: true
75       network_ecomp_naming:
76         type: org.openecomp.datatypes.EcompNaming
77         required: true
78       network_homing:
79         type: org.openecomp.datatypes.EcompHoming
80         required: true
81       network_assignments:
82         type: org.openecomp.datatypes.network.NetworkAssignments
83         required: true
84       provider_network:
85         type: org.openecomp.datatypes.network.ProviderNetwork
86         required: true
87       network_flows:
88         type: org.openecomp.datatypes.network.NetworkFlows
89         required: false
90
91
92   org.openecomp.resource.vfc.nodes.Compute:
93     derived_from: tosca.nodes.Compute
94     capabilities:
95       disk.ephemeral.size:
96         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
97         type: org.openecomp.capabilities.metric.Ceilometer
98         occurrences:
99         - 1
100         - UNBOUNDED
101       instance:
102         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
103         type: org.openecomp.capabilities.metric.Ceilometer
104         occurrences:
105         - 1
106         - UNBOUNDED
107       memory:
108         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
109         type: org.openecomp.capabilities.metric.Ceilometer
110         occurrences:
111         - 1
112         - UNBOUNDED
113       disk.iops:
114         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
115         type: org.openecomp.capabilities.metric.Ceilometer
116         occurrences:
117         - 1
118         - UNBOUNDED
119       disk.device.read.requests:
120         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
121         type: org.openecomp.capabilities.metric.Ceilometer
122         occurrences:
123         - 1
124         - UNBOUNDED
125       cpu.delta:
126         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
127         type: org.openecomp.capabilities.metric.Ceilometer
128         occurrences:
129         - 1
130         - UNBOUNDED
131       disk.capacity:
132         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
133         type: org.openecomp.capabilities.metric.Ceilometer
134         occurrences:
135         - 1
136         - UNBOUNDED
137       disk.device.read.bytes:
138         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
139         type: org.openecomp.capabilities.metric.Ceilometer
140         occurrences:
141         - 1
142         - UNBOUNDED
143       disk.write.bytes:
144         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
145         type: org.openecomp.capabilities.metric.Ceilometer
146         occurrences:
147         - 1
148         - UNBOUNDED
149       disk.latency:
150         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
151         type: org.openecomp.capabilities.metric.Ceilometer
152         occurrences:
153         - 1
154         - UNBOUNDED
155       disk.device.read.bytes.rate:
156         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
157         type: org.openecomp.capabilities.metric.Ceilometer
158         occurrences:
159         - 1
160         - UNBOUNDED
161       disk.usage:
162         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
163         type: org.openecomp.capabilities.metric.Ceilometer
164         occurrences:
165         - 1
166         - UNBOUNDED
167       cpu_util:
168         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
169         type: org.openecomp.capabilities.metric.Ceilometer
170         occurrences:
171         - 1
172         - UNBOUNDED
173       disk.device.allocation:
174         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
175         type: org.openecomp.capabilities.metric.Ceilometer
176         occurrences:
177         - 1
178         - UNBOUNDED
179       disk.write.requests.rate:
180         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
181         type: org.openecomp.capabilities.metric.Ceilometer
182         occurrences:
183         - 1
184         - UNBOUNDED
185       disk.write.bytes.rate:
186         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
187         type: org.openecomp.capabilities.metric.Ceilometer
188         occurrences:
189         - 1
190         - UNBOUNDED
191       disk.device.latency:
192         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
193         type: org.openecomp.capabilities.metric.Ceilometer
194         occurrences:
195         - 1
196         - UNBOUNDED
197       cpu:
198         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
199         type: org.openecomp.capabilities.metric.Ceilometer
200         occurrences:
201         - 1
202         - UNBOUNDED
203       disk.device.write.requests:
204         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
205         type: org.openecomp.capabilities.metric.Ceilometer
206         occurrences:
207         - 1
208         - UNBOUNDED
209       disk.device.write.bytes:
210         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
211         type: org.openecomp.capabilities.metric.Ceilometer
212         occurrences:
213         - 1
214         - UNBOUNDED
215       disk.read.requests:
216         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
217         type: org.openecomp.capabilities.metric.Ceilometer
218         occurrences:
219         - 1
220         - UNBOUNDED
221       disk.root.size:
222         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
223         type: org.openecomp.capabilities.metric.Ceilometer
224         occurrences:
225         - 1
226         - UNBOUNDED
227       disk.device.write.bytes.rate:
228         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
229         type: org.openecomp.capabilities.metric.Ceilometer
230         occurrences:
231         - 1
232         - UNBOUNDED
233       vcpus:
234         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
235         type: org.openecomp.capabilities.metric.Ceilometer
236         occurrences:
237         - 1
238         - UNBOUNDED
239       disk.device.iops:
240         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
241         type: org.openecomp.capabilities.metric.Ceilometer
242         occurrences:
243         - 1
244         - UNBOUNDED
245       disk.device.usage:
246         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
247         type: org.openecomp.capabilities.metric.Ceilometer
248         occurrences:
249         - 1
250         - UNBOUNDED
251       disk.device.read.requests.rate:
252         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
253         type: org.openecomp.capabilities.metric.Ceilometer
254         occurrences:
255         - 1
256         - UNBOUNDED
257       disk.device.write.requests.rate:
258         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
259         type: org.openecomp.capabilities.metric.Ceilometer
260         occurrences:
261         - 1
262         - UNBOUNDED
263       disk.allocation:
264         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
265         type: org.openecomp.capabilities.metric.Ceilometer
266         occurrences:
267         - 1
268         - UNBOUNDED
269       disk.read.bytes.rate:
270         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
271         type: org.openecomp.capabilities.metric.Ceilometer
272         occurrences:
273         - 1
274         - UNBOUNDED
275       disk.read.bytes:
276         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
277         type: org.openecomp.capabilities.metric.Ceilometer
278         occurrences:
279         - 1
280         - UNBOUNDED
281       memory.usage:
282         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
283         type: org.openecomp.capabilities.metric.Ceilometer
284         occurrences:
285         - 1
286         - UNBOUNDED
287       disk.device.capacity:
288         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
289         type: org.openecomp.capabilities.metric.Ceilometer
290         occurrences:
291         - 1
292         - UNBOUNDED
293       memory.resident:
294         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
295         type: org.openecomp.capabilities.metric.Ceilometer
296         occurrences:
297         - 1
298         - UNBOUNDED
299       disk.write.requests:
300         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
301         type: org.openecomp.capabilities.metric.Ceilometer
302         occurrences:
303         - 1
304         - UNBOUNDED
305
306   org.openecomp.resource.abstract.nodes.DFAbstractSubstitute:
307     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
308     properties:
309       license_feature_group_ref:
310         description: refrence to license feature group
311         type: string
312         status: SUPPORTED
313         required: true
314     requirements:
315     - deployment_flavor:
316         capability: org.openecomp.capabilities.attachment.DeploymentFlavor
317         node: org.openecomp.resource.nodes.DeploymentFlavor
318         relationship: org.openecomp.relationships.AttachesTo
319         occurrences:
320         - 1
321         - UNBOUNDED
322
323   org.openecomp.resource.abstract.nodes.ComplexVFC:
324     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
325
326   org.openecomp.resource.abstract.nodes.VFC:
327     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
328     properties:
329       high_availablity:
330         description: high_availablity
331         type: string
332         status: SUPPORTED
333         required: false
334       vm_image_name:
335         description: Master image_name volume id
336         type: string
337         status: SUPPORTED
338         required: true
339       vm_flavor_name:
340         description: Master image_name volume id
341         type: string
342         status: SUPPORTED
343         required: true
344       nfc_naming_code:
345         description: nfc code for instance naming
346         type: string
347         status: SUPPORTED
348         required: false
349       nfc_code:
350         type: string
351         description: nfc code
352         status: SUPPORTED
353         required: false
354       nfc_function:
355         type: string
356         description: nfc function
357         status: SUPPORTED
358         required: false
359       vm_type_tag:
360         description: vm type based on naming Convention
361         type: string
362         status: SUPPORTED
363         required: false
364       vfc_naming:
365         description: vfc naming
366         type: org.openecomp.datatypes.Naming
367         status: SUPPORTED
368         required: false
369       min_instances:
370         description: Minimum number of VFC Instances
371         type: integer
372         status: SUPPORTED
373         default: 0
374         required: false
375         constraints:
376         - greater_or_equal: 0
377       max_instances:
378         description: Maximum number of VFC Instances
379         type: integer
380         status: SUPPORTED
381         required: false
382         constraints:
383         - greater_or_equal: 1
384
385   org.openecomp.resource.vl.ELine:
386     derived_from: org.openecomp.resource.vl.nodes.network.Network
387     capabilities:
388       linkable:
389         type: tosca.capabilities.network.Linkable
390         occurrences:
391         - 0
392         - 2
393
394   org.openecomp.resource.cp.nodes.network.v2.SubInterface:
395     derived_from: tosca.nodes.Root
396     properties:
397       ip_address:
398         description: Allow the user to set a fixed IP address. Note that this address is a request to the provider which they will attempt to fulfill but may not be able to dependent on the network the port is associated with.
399         type: string
400         required: false
401       order:
402         description: 'The order of the NIC on the compute instance (e.g. eth2). Note:
403           when binding more than one port to a single compute (aka multi vNICs) and
404           ordering is desired, it is *mandatory* that all ports will be set with an
405           order value and. The order values must represent a positive, arithmetic
406           progression that starts with 0 (e.g. 0, 1, 2, ..., n).'
407         type: integer
408         default: 0
409         required: false
410         constraints:
411         - greater_or_equal: 0
412       is_default:
413         description: Set is_default=true to apply a default gateway route on the running compute instance to the associated network gateway. Only one port that is associated to single compute node can set as default=true.
414         type: boolean
415         default: false
416         required: false
417       ip_range_start:
418         description: Defines the starting IP of a range to be allocated for the compute instances that are associated by this Port. Without setting this property the IP allocation is done from the entire CIDR block of the network.
419         type: string
420         required: false
421       ip_range_end:
422         description: Defines the ending IP of a range to be allocated for the compute instances that are associated by this Port. Without setting this property the IP allocation is done from the entire CIDR block of the network.
423         type: string
424         required: false
425     attributes:
426       ip_address:
427         description: The IP address would be assigned to the associated compute instance.
428         type: string
429     requirements:
430     - subinterface_link:
431         capability: tosca.capabilities.network.Linkable
432         relationship: tosca.relationships.network.LinksTo
433     - binding:
434         capability: tosca.capabilities.network.Bindable
435         relationship: tosca.relationships.network.BindsTo
436
437   org.openecomp.resource.cp.nodes.network.SubInterface:
438     derived_from: tosca.nodes.network.Port
439
440   org.openecomp.resource.vl.internalVL:
441     derived_from: org.openecomp.resource.vl.nodes.network.Network
442     description: The AT&T internal (VF-level) Virtual Link
443
444   org.openecomp.resource.cp.nodes.network.Port:
445     derived_from: tosca.nodes.network.Port  
446     properties:
447       subinterface_indicator:
448         description: identifies if Port is having Sub Interface
449         type: boolean
450         required: false
451         default: false
452       network_role_tag:
453         description: Must correlate to the set of defined â€œnetwork-role�? tag identifiers from the associated HEAT template
454         type: string
455         required: true
456       mac_requirements:
457         description: identifies MAC address assignments to the CP
458         type: org.openecomp.datatypes.network.MacRequirements
459         required: false
460       vlan_requirements:
461         description: identifies vlan address assignments to the CP
462         type: list
463         entry_schema:
464           type: org.openecomp.datatypes.network.VlanRequirements
465         required: false
466       ip_requirements:
467         description: identifies IP requirements to the CP
468         type: list
469         entry_schema:
470           type: org.openecomp.datatypes.network.IpRequirements
471         required: true
472       network_role:
473         description: identical to VL network_role
474         type: string
475         required: false
476       order:
477         description: The order of the CP on the compute instance (e.g. eth2).
478         type: integer
479         required: false
480       exCP_naming:
481         description: CP Name
482         type: org.openecomp.datatypes.Naming
483         required: false
484       subnetpoolid:
485         description: subnet pool id
486         type: string
487         required: false
488     capabilities:
489       network.incoming.packets.rate:
490         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
491         type: org.openecomp.capabilities.metric.Ceilometer
492         occurrences:
493         - 1
494         - UNBOUNDED
495       network.outgoing.bytes:
496         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
497         type: org.openecomp.capabilities.metric.Ceilometer
498         occurrences:
499         - 1
500         - UNBOUNDED
501       network.outgoing.packets.rate:
502         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
503         type: org.openecomp.capabilities.metric.Ceilometer
504         occurrences:
505         - 1
506         - UNBOUNDED
507       network.outpoing.packets:
508         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
509         type: org.openecomp.capabilities.metric.Ceilometer
510         occurrences:
511         - 1
512         - UNBOUNDED
513       network.incoming.bytes.rate:
514         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
515         type: org.openecomp.capabilities.metric.Ceilometer
516         occurrences:
517         - 1
518         - UNBOUNDED
519       network.incoming.bytes:
520         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
521         type: org.openecomp.capabilities.metric.Ceilometer
522         occurrences:
523         - 1
524         - UNBOUNDED
525       network.outgoing.bytes.rate:
526         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
527         type: org.openecomp.capabilities.metric.Ceilometer
528         occurrences:
529         - 1
530         - UNBOUNDED
531       network.incoming.packets:
532         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
533         type: org.openecomp.capabilities.metric.Ceilometer
534         occurrences:
535         - 1
536         - UNBOUNDED
537       forwarder:
538         type: org.openecomp.capabilities.Forwarder
539
540   org.openecomp.resource.nodes.DeploymentFlavor:
541     derived_from: tosca.nodes.Root
542     capabilities:
543       deployment_flavor:
544         description: Allowed deployment flavors of an abstract node
545         type: org.openecomp.capabilities.attachment.DeploymentFlavor
546         occurrences:
547         - 1
548         - UNBOUNDED
549
550   org.openecomp.resource.cp.extCP:
551     derived_from: tosca.nodes.Root
552     description: The AT&T Connection Point base type all other CP derive from
553     properties:
554       network_role:
555         description: identical to VL network_role
556         type: string
557         required: true
558       order:
559         description: The order of the CP on the compute instance (e.g. eth2).
560         type: integer
561         required: true
562       network_role_tag:
563         description: Must correlate to the set of defined â€œnetwork-role�? tag identifiers from the associated HEAT template
564         type: string
565         required: true
566       mac_requirements:
567         description: identifies MAC address assignments to the CP
568         type: org.openecomp.datatypes.network.MacRequirements
569         required: false
570       vlan_requirements:
571         description: identifies vlan address assignments to the CP
572         type: list
573         entry_schema:
574           type: org.openecomp.datatypes.network.VlanRequirements
575         required: false
576       ip_requirements:
577         description: identifies IP requirements to the CP
578         type: list
579         entry_schema:
580           type: org.openecomp.datatypes.network.IpRequirements
581         required: true
582     capabilities:
583       internal_connectionPoint:
584         type: tosca.capabilities.Node
585         valid_source_types:
586         - tosca.nodes.network.Port
587     requirements:
588     - virtualLink:
589         capability: tosca.capabilities.network.Linkable
590         relationship: tosca.relationships.network.LinksTo
591     - virtualBinding:
592         capability: tosca.capabilities.network.Bindable
593         relationship: tosca.relationships.network.BindsTo
594     - external_virtualLink:
595         capability: tosca.capabilities.network.Linkable
596         node: org.openecomp.resource.vl.nodes.network.Network
597         relationship: tosca.relationships.network.LinksTo
598
599   org.openecomp.resource.vfc.nodes.volume:
600     derived_from: tosca.nodes.BlockStorage
601     
602   ### Node types related to Deployment Flavors
603   org.openecomp.resource.abstract.nodes.VnfConfiguration:
604     derived_from: tosca.nodes.Root
605     description: a container for the available flavors
606     properties:
607       allowed_flavors:
608         description: a collection of all available flavor valuesets
609         type: map
610         entry_schema:
611           type: org.openecomp.datatypes.flavors.DeploymentFlavor
612
613   org.openecomp.resource.abstract.nodes.MultiFlavorVFC:
614     derived_from: org.openecomp.resource.abstract.nodes.VFC
615     description: Multi flavored VFC node
616     properties:
617       images:
618         type: map
619         entry_schema:
620           type: org.openecomp.datatypes.ImageInfo
621         required: false
622
623   ## New node types for Port Mirroring
624   org.openecomp.nodes.ServiceProxy:
625     derived_from: tosca.nodes.Root
626
627   org.openecomp.nodes.PortMirroringConfiguration:
628     derived_from: tosca.nodes.Root
629     requirements:
630     - source:
631         capability: org.openecomp.capabilities.PortMirroring
632         occurrences:
633         - 1
634         - UNBOUNDED
635     - collector:
636         capability: org.openecomp.capabilities.PortMirroring
637         occurrences:
638         - 1
639         - 1
640
641   org.openecomp.resource.cp.v2.extCP:
642     derived_from: org.openecomp.resource.cp.nodes.network.Port
643     description: The SDC External Connection Point base type
644     capabilities:
645       port_mirroring:
646         type: org.openecomp.capabilities.PortMirroring
647
648   org.openecomp.resource.cp.v2.extNeutronCP:
649     derived_from: org.openecomp.resource.cp.v2.extCP
650     properties:
651       port_security_enabled:
652         type: boolean
653         description: Flag to enable/disable port security on the network
654         required: false
655         status: SUPPORTED
656       device_id:
657         type: string
658         description: Device ID of this port
659         required: false
660         status: SUPPORTED
661       qos_policy:
662         type: string
663         description: The name or ID of QoS policy to attach to this network
664         required: false
665         status: SUPPORTED
666       allowed_address_pairs:
667         type: list
668         description: Additional MAC/IP address pairs allowed to pass through the port
669         required: false
670         status: SUPPORTED
671         entry_schema:
672           type: org.openecomp.datatypes.heat.network.AddressPair
673       binding:vnic_type:
674         type: string
675         description: The vnic type to be bound on the neutron port
676         required: false
677         status: SUPPORTED
678         constraints:
679         - valid_values:
680           - macvtap
681           - direct
682           - normal
683       value_specs:
684         type: map
685         description: Extra parameters to include in the request
686         required: false
687         default: {
688           }
689         status: SUPPORTED
690         entry_schema:
691           type: string
692       device_owner:
693         type: string
694         description: Name of the network owning the port
695         required: false
696         status: SUPPORTED
697       network:
698         type: string
699         description: Network this port belongs to
700         required: false
701         status: SUPPORTED
702       replacement_policy:
703         type: string
704         description: Policy on how to respond to a stack-update for this resource
705         required: false
706         default: AUTO
707         status: SUPPORTED
708         constraints:
709         - valid_values:
710           - REPLACE_ALWAYS
711           - AUTO
712       security_groups:
713         type: list
714         description: List of security group names or IDs
715         required: false
716         status: SUPPORTED
717         entry_schema:
718           type: string
719       fixed_ips:
720         type: list
721         description: Desired IPs for this port
722         required: false
723         status: SUPPORTED
724         entry_schema:
725           type: org.openecomp.datatypes.heat.neutron.port.FixedIps
726       mac_address:
727         type: string
728         description: MAC address to give to this port
729         required: false
730         status: SUPPORTED
731       admin_state_up:
732         type: boolean
733         description: A boolean value specifying the administrative status of the network
734         required: false
735         default: true
736         status: SUPPORTED
737       name:
738         type: string
739         description: A symbolic name for this port
740         required: false
741         status: SUPPORTED
742     attributes:
743       tenant_id:
744         type: string
745         description: Tenant owning the port
746         status: SUPPORTED
747       network_id:
748         type: string
749         description: Unique identifier for the network owning the port
750         status: SUPPORTED
751       qos_policy_id:
752         type: string
753         description: The QoS policy ID attached to this network
754         status: SUPPORTED
755       show:
756         type: string
757         description: Detailed information about resource
758         status: SUPPORTED
759       subnets:
760         type: list
761         description: Subnets of this network
762         status: SUPPORTED
763         entry_schema:
764           type: string
765       status:
766         type: string
767         description: The status of the network
768         status: SUPPORTED
769     capabilities:
770       attachment:
771         type: tosca.capabilities.Attachment
772         occurrences:
773         - 1
774         - UNBOUNDED
775       binding:
776         type: tosca.capabilities.network.Bindable
777         valid_source_types:
778         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
779         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
780         occurrences:
781         - 0
782         - UNBOUNDED
783
784   org.openecomp.resource.cp.v2.extContrailCP:
785     derived_from: org.openecomp.resource.cp.v2.extCP
786     properties:
787       static_routes:
788         type: list
789         description: An ordered list of static routes to be added to this interface
790         required: false
791         status: SUPPORTED
792         entry_schema:
793           type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute
794       virtual_network:
795         type: string
796         description: Virtual Network for this interface
797         required: true
798         status: SUPPORTED
799       static_route:
800         type: boolean
801         description: Static route enabled
802         required: false
803         default: false
804         status: SUPPORTED
805       allowed_address_pairs:
806         type: list
807         description: List of allowed address pair for this interface
808         required: false
809         status: SUPPORTED
810         entry_schema:
811           type: org.openecomp.datatypes.heat.network.contrail.AddressPair
812       shared_ip:
813         type: boolean
814         description: Shared ip enabled
815         required: false
816         default: false
817         status: SUPPORTED
818       ip_address:
819         type: string
820         description: IP for this interface
821         required: false
822         status: SUPPORTED
823       interface_type:
824         type: string
825         description: Interface type
826         required: true
827         status: SUPPORTED
828         constraints:
829         - valid_values:
830           - management
831           - left
832           - right
833           - other
834     attributes:
835       fq_name:
836         type: string
837         description: fq_name
838         status: SUPPORTED
839
840   org.openecomp.resource.cp.v2.extVirtualMachineInterfaceCP:
841     derived_from: org.openecomp.resource.cp.v2.extCP
842     properties:
843       name:
844         description: Virtual Machine Interface name
845         type: string
846         status: SUPPORTED
847         required: false
848       security_group_refs:
849         description: List of security groups.
850         type: list
851         status: SUPPORTED
852         entry_schema:
853           type: string
854         required: false
855       virtual_network_refs:
856         description: List of virtual networks.
857         type: list
858         status: SUPPORTED
859         entry_schema:
860           type: string
861         required: false
862       virtual_machine_interface_properties:
863         description: virtual machine interface properties.
864         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties
865         status: SUPPORTED
866         required: false
867       port_tuple_refs:
868         description: List of port tuples.
869         type: list
870         status: SUPPORTED
871         entry_schema:
872           type: string
873         required: false
874       virtual_machine_interface_mac_addresses:
875         description: List of mac addresses.
876         type: list
877         status: SUPPORTED
878         entry_schema:
879           type: string
880         required: false
881       virtual_machine_interface_allowed_address_pairs:
882         description: Virtual Machine Interface allowed address pairs.
883         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
884         status: SUPPORTED
885         required: false
886     attributes:
887       fq_name:
888         description: The FQ name of the Virtual Network.
889         type: string
890         status: SUPPORTED
891       show:
892         description: All attributes.
893         type: string
894         status: SUPPORTED
895     capabilities:
896       binding:
897         type: tosca.capabilities.network.Bindable
898         occurrences:
899         - 0
900         - UNBOUNDED
901         valid_source_types:
902         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
903         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
904
905   org.openecomp.nodes.ForwardingPath:
906     derived_from: tosca.nodes.Root
907     properties:
908       target_range:
909         type: list
910         entry_schema:
911           description: Identifier of the reciever port of the VNF or the service
912           type: integer
913       protocol:
914         type: string
915         description: protocol type that runs on the link
916     requirements:
917     - forwarder:
918         capability: org.openecomp.capabilities.Forwarder
919         relationship: org.openecomp.relationships.ForwardsTo
920         occurrences: [ 0, UNBOUNDED ]