b8f946f1611483140dd99927192a657e3bee665a
[sdc.git] / openecomp-be / lib / openecomp-sdc-enrichment-lib / openecomp-sdc-enrichment-impl / src / test / resources / mock / toscaGlobalServiceTemplates / 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_openecomp_1_0
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         default: false
369         required: false
370       min_instances:
371         description: Minimum number of VFC Instances
372         type: integer
373         status: SUPPORTED
374         default: 0
375         required: false
376         constraints:
377         - greater_or_equal: 0
378       max_instances:
379         description: Maximum number of VFC Instances
380         type: integer
381         status: SUPPORTED
382         required: false
383         constraints:
384         - greater_or_equal: 1
385
386   org.openecomp.resource.vl.ELine:
387     derived_from: org.openecomp.resource.vl.nodes.network.Network
388     capabilities:
389       linkable:
390         type: tosca.capabilities.network.Linkable
391         occurrences:
392         - 0
393         - 2
394
395   org.openecomp.resource.cp.nodes.network.v2.SubInterface:
396     derived_from: tosca.nodes.Root
397     properties:
398       ip_address:
399         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.
400         type: string
401         required: false
402       order:
403         description: 'The order of the NIC on the compute instance (e.g. eth2). Note:
404           when binding more than one port to a single compute (aka multi vNICs) and
405           ordering is desired, it is *mandatory* that all ports will be set with an
406           order value and. The order values must represent a positive, arithmetic
407           progression that starts with 0 (e.g. 0, 1, 2, ..., n).'
408         type: integer
409         default: 0
410         required: false
411         constraints:
412         - greater_or_equal: 0
413       is_default:
414         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.
415         type: boolean
416         default: false
417         required: false
418       ip_range_start:
419         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.
420         type: string
421         required: false
422       ip_range_end:
423         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.
424         type: string
425         required: false
426     attributes:
427       ip_address:
428         description: The IP address would be assigned to the associated compute instance.
429         type: string
430     requirements:
431     - subinterface_link:
432         capability: tosca.capabilities.network.Linkable
433         relationship: tosca.relationships.network.LinksTo
434     - binding:
435         capability: tosca.capabilities.network.Bindable
436         relationship: tosca.relationships.network.BindsTo
437
438   org.openecomp.resource.cp.nodes.network.SubInterface:
439     derived_from: tosca.nodes.network.Port
440
441   org.openecomp.resource.vl.internalVL:
442     derived_from: org.openecomp.resource.vl.nodes.network.Network
443     description: The AT&T internal (VF-level) Virtual Link
444
445   org.openecomp.resource.cp.nodes.network.Port:
446     derived_from: tosca.nodes.network.Port  
447     properties:
448       subinterface_indicator:
449         description: identifies if Port is having Sub Interface
450         type: boolean
451         required: false
452         default: false
453       network_role_tag:
454         description: Must correlate to the set of defined â€œnetwork-role�? tag identifiers from the associated HEAT template
455         type: string
456         required: true
457       mac_requirements:
458         description: identifies MAC address assignments to the CP
459         type: org.openecomp.datatypes.network.MacRequirements
460         required: false
461       vlan_requirements:
462         description: identifies vlan address assignments to the CP
463         type: list
464         entry_schema:
465           type: org.openecomp.datatypes.network.VlanRequirements
466         required: false
467       ip_requirements:
468         description: identifies IP requirements to the CP
469         type: list
470         entry_schema:
471           type: org.openecomp.datatypes.network.IpRequirements
472         required: true
473       network_role:
474         description: identical to VL network_role
475         type: string
476         required: false
477       order:
478         description: The order of the CP on the compute instance (e.g. eth2).
479         type: integer
480         required: false
481       exCP_naming:
482         description: CP Name
483         type: org.openecomp.datatypes.Naming
484         required: false
485       subnetpoolid:
486         description: subnet pool id
487         type: string
488         required: false
489     capabilities:
490       network.incoming.packets.rate:
491         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
492         type: org.openecomp.capabilities.metric.Ceilometer
493         occurrences:
494         - 1
495         - UNBOUNDED
496       network.outgoing.bytes:
497         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
498         type: org.openecomp.capabilities.metric.Ceilometer
499         occurrences:
500         - 1
501         - UNBOUNDED
502       network.outgoing.packets.rate:
503         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
504         type: org.openecomp.capabilities.metric.Ceilometer
505         occurrences:
506         - 1
507         - UNBOUNDED
508       network.outpoing.packets:
509         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
510         type: org.openecomp.capabilities.metric.Ceilometer
511         occurrences:
512         - 1
513         - UNBOUNDED
514       network.incoming.bytes.rate:
515         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
516         type: org.openecomp.capabilities.metric.Ceilometer
517         occurrences:
518         - 1
519         - UNBOUNDED
520       network.incoming.bytes:
521         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
522         type: org.openecomp.capabilities.metric.Ceilometer
523         occurrences:
524         - 1
525         - UNBOUNDED
526       network.outgoing.bytes.rate:
527         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
528         type: org.openecomp.capabilities.metric.Ceilometer
529         occurrences:
530         - 1
531         - UNBOUNDED
532       network.incoming.packets:
533         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
534         type: org.openecomp.capabilities.metric.Ceilometer
535         occurrences:
536         - 1
537         - UNBOUNDED
538
539   org.openecomp.resource.nodes.DeploymentFlavor:
540     derived_from: tosca.nodes.Root
541     capabilities:
542       deployment_flavor:
543         description: Allowed deployment flavors of an abstract node
544         type: org.openecomp.capabilities.attachment.DeploymentFlavor
545         occurrences:
546         - 1
547         - UNBOUNDED
548
549   org.openecomp.resource.cp.extCP:
550     derived_from: tosca.nodes.Root
551     description: The AT&T Connection Point base type all other CP derive from
552     properties:
553       network_role:
554         description: identical to VL network_role
555         type: string
556         required: true
557       order:
558         description: The order of the CP on the compute instance (e.g. eth2).
559         type: integer
560         required: true
561       network_role_tag:
562         description: Must correlate to the set of defined â€œnetwork-role�? tag identifiers from the associated HEAT template
563         type: string
564         required: true
565       mac_requirements:
566         description: identifies MAC address assignments to the CP
567         type: org.openecomp.datatypes.network.MacRequirements
568         required: false
569       vlan_requirements:
570         description: identifies vlan address assignments to the CP
571         type: list
572         entry_schema:
573           type: org.openecomp.datatypes.network.VlanRequirements
574         required: false
575       ip_requirements:
576         description: identifies IP requirements to the CP
577         type: list
578         entry_schema:
579           type: org.openecomp.datatypes.network.IpRequirements
580         required: true
581     capabilities:
582       internal_connectionPoint:
583         type: tosca.capabilities.Node
584         valid_source_types:
585         - tosca.nodes.network.Port
586     requirements:
587     - virtualLink:
588         capability: tosca.capabilities.network.Linkable
589         relationship: tosca.relationships.network.LinksTo
590     - virtualBinding:
591         capability: tosca.capabilities.network.Bindable
592         relationship: tosca.relationships.network.BindsTo
593     - external_virtualLink:
594         capability: tosca.capabilities.network.Linkable
595         node: org.openecomp.resource.vl.nodes.network.Network
596         relationship: tosca.relationships.network.LinksTo
597
598   org.openecomp.resource.vfc.nodes.volume:
599     derived_from: tosca.nodes.BlockStorage
600     
601   ### Node types related to Deployment Flavors
602   org.openecomp.resource.abstract.nodes.VnfConfiguration:
603     derived_from: tosca.nodes.Root
604     description: a container for the available flavors
605     properties:
606       allowed_flavors:
607         description: a collection of all available flavor valuesets
608         type: map
609         entry_schema:
610           type: org.openecomp.datatypes.flavors.DeploymentFlavor
611
612   org.openecomp.resource.abstract.nodes.MultiFlavorVFC:
613     derived_from: org.openecomp.resource.abstract.nodes.VFC
614     description: Multi flavored VFC node
615     properties:
616       images:
617         type: map
618         entry_schema:
619           type: org.openecomp.datatypes.ImageInfo
620         required: false
621
622   ## New node types for Port Mirroring
623   org.openecomp.nodes.ServiceProxy:
624     derived_from: tosca.nodes.Root
625
626   org.openecomp.nodes.PortMirroringConfiguration:
627     derived_from: tosca.nodes.Root
628     requirements:
629     - source:
630         capability: org.openecomp.capabilities.PortMirroring
631         occurrences:
632         - 1
633         - UNBOUNDED
634     - collector:
635         capability: org.openecomp.capabilities.PortMirroring
636         occurrences:
637         - 1
638         - 1
639
640   org.openecomp.resource.cp.v2.extCP:
641     derived_from: org.openecomp.resource.cp.nodes.network.Port
642     description: The SDC External Connection Point base type
643     capabilities:
644       port_mirroring:
645         type: org.openecomp.capabilities.PortMirroring
646
647   org.openecomp.resource.cp.v2.extNeutronCP:
648     derived_from: org.openecomp.resource.cp.v2.extCP
649     properties:
650       port_security_enabled:
651         type: boolean
652         description: Flag to enable/disable port security on the network
653         required: false
654         status: SUPPORTED
655       device_id:
656         type: string
657         description: Device ID of this port
658         required: false
659         status: SUPPORTED
660       qos_policy:
661         type: string
662         description: The name or ID of QoS policy to attach to this network
663         required: false
664         status: SUPPORTED
665       allowed_address_pairs:
666         type: list
667         description: Additional MAC/IP address pairs allowed to pass through the port
668         required: false
669         status: SUPPORTED
670         entry_schema:
671           type: org.openecomp.datatypes.heat.network.AddressPair
672       binding:vnic_type:
673         type: string
674         description: The vnic type to be bound on the neutron port
675         required: false
676         status: SUPPORTED
677         constraints:
678         - valid_values:
679           - macvtap
680           - direct
681           - normal
682       value_specs:
683         type: map
684         description: Extra parameters to include in the request
685         required: false
686         default: {
687           }
688         status: SUPPORTED
689         entry_schema:
690           type: string
691       device_owner:
692         type: string
693         description: Name of the network owning the port
694         required: false
695         status: SUPPORTED
696       network:
697         type: string
698         description: Network this port belongs to
699         required: false
700         status: SUPPORTED
701       replacement_policy:
702         type: string
703         description: Policy on how to respond to a stack-update for this resource
704         required: false
705         default: AUTO
706         status: SUPPORTED
707         constraints:
708         - valid_values:
709           - REPLACE_ALWAYS
710           - AUTO
711       security_groups:
712         type: list
713         description: List of security group names or IDs
714         required: false
715         status: SUPPORTED
716         entry_schema:
717           type: string
718       fixed_ips:
719         type: list
720         description: Desired IPs for this port
721         required: false
722         status: SUPPORTED
723         entry_schema:
724           type: org.openecomp.datatypes.heat.neutron.port.FixedIps
725       mac_address:
726         type: string
727         description: MAC address to give to this port
728         required: false
729         status: SUPPORTED
730       admin_state_up:
731         type: boolean
732         description: A boolean value specifying the administrative status of the network
733         required: false
734         default: true
735         status: SUPPORTED
736       name:
737         type: string
738         description: A symbolic name for this port
739         required: false
740         status: SUPPORTED
741     attributes:
742       tenant_id:
743         type: string
744         description: Tenant owning the port
745         status: SUPPORTED
746       network_id:
747         type: string
748         description: Unique identifier for the network owning the port
749         status: SUPPORTED
750       qos_policy_id:
751         type: string
752         description: The QoS policy ID attached to this network
753         status: SUPPORTED
754       show:
755         type: string
756         description: Detailed information about resource
757         status: SUPPORTED
758       subnets:
759         type: list
760         description: Subnets of this network
761         status: SUPPORTED
762         entry_schema:
763           type: string
764       status:
765         type: string
766         description: The status of the network
767         status: SUPPORTED
768     capabilities:
769       attachment:
770         type: tosca.capabilities.Attachment
771         occurrences:
772         - 1
773         - UNBOUNDED
774       binding:
775         type: tosca.capabilities.network.Bindable
776         valid_source_types:
777         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
778         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
779         occurrences:
780         - 0
781         - UNBOUNDED
782
783   org.openecomp.resource.cp.v2.extContrailCP:
784     derived_from: org.openecomp.resource.cp.v2.extCP
785     properties:
786       static_routes:
787         type: list
788         description: An ordered list of static routes to be added to this interface
789         required: false
790         status: SUPPORTED
791         entry_schema:
792           type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute
793       virtual_network:
794         type: string
795         description: Virtual Network for this interface
796         required: true
797         status: SUPPORTED
798       static_route:
799         type: boolean
800         description: Static route enabled
801         required: false
802         default: false
803         status: SUPPORTED
804       allowed_address_pairs:
805         type: list
806         description: List of allowed address pair for this interface
807         required: false
808         status: SUPPORTED
809         entry_schema:
810           type: org.openecomp.datatypes.heat.network.contrail.AddressPair
811       shared_ip:
812         type: boolean
813         description: Shared ip enabled
814         required: false
815         default: false
816         status: SUPPORTED
817       ip_address:
818         type: string
819         description: IP for this interface
820         required: false
821         status: SUPPORTED
822       interface_type:
823         type: string
824         description: Interface type
825         required: true
826         status: SUPPORTED
827         constraints:
828         - valid_values:
829           - management
830           - left
831           - right
832           - other
833     attributes:
834       fq_name:
835         type: string
836         description: fq_name
837         status: SUPPORTED
838
839   org.openecomp.resource.cp.v2.extVirtualMachineInterfaceCP:
840     derived_from: org.openecomp.resource.cp.v2.extCP
841     properties:
842       name:
843         description: Virtual Machine Interface name
844         type: string
845         status: SUPPORTED
846         required: false
847       security_group_refs:
848         description: List of security groups.
849         type: list
850         status: SUPPORTED
851         entry_schema:
852           type: string
853         required: false
854       virtual_network_refs:
855         description: List of virtual networks.
856         type: list
857         status: SUPPORTED
858         entry_schema:
859           type: string
860         required: false
861       virtual_machine_interface_properties:
862         description: virtual machine interface properties.
863         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties
864         status: SUPPORTED
865         required: false
866       port_tuple_refs:
867         description: List of port tuples.
868         type: list
869         status: SUPPORTED
870         entry_schema:
871           type: string
872         required: false
873       virtual_machine_interface_mac_addresses:
874         description: List of mac addresses.
875         type: list
876         status: SUPPORTED
877         entry_schema:
878           type: string
879         required: false
880       virtual_machine_interface_allowed_address_pairs:
881         description: Virtual Machine Interface allowed address pairs.
882         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
883         status: SUPPORTED
884         required: false
885     attributes:
886       fq_name:
887         description: The FQ name of the Virtual Network.
888         type: string
889         status: SUPPORTED
890       show:
891         description: All attributes.
892         type: string
893         status: SUPPORTED
894     capabilities:
895       binding:
896         type: tosca.capabilities.network.Bindable
897         occurrences:
898         - 0
899         - UNBOUNDED
900         valid_source_types:
901         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
902         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
903
904   tosca.nodes.nfv.NS.vEPC_NS:
905     derived_from: tosca.nodes.nfv.NS
906     properties:
907       vendor:
908         default: ChinaMobile
909         required: false
910         type: string
911       csarVersion:
912         default: v1.0
913         required: false
914         type: string
915       name:
916         default: vEPC_NS
917         required: false
918         type: string
919       csarProvider:
920         default: ChinaMobile
921         required: false
922         type: string
923       id:
924         default: vEPC_NS
925         required: false
926         type: string
927       version:
928         default: v1.0
929         required: false
930         type: string
931       csarType:
932         default: NSAR
933         required: false
934         type: string
935     requirements:
936     - virtualLink:
937         capability: tosca.capabilities.nfv.VirtualLinkable
938         occurrences:
939         - 0
940         - UNBOUNDED
941
942   tosca.nodes.nfv.NS.vIMS_NS:
943     derived_from: tosca.nodes.nfv.NS
944     properties:
945       vendor:
946         default: ChinaMobile
947         required: false
948         type: string
949       csarVersion:
950         default: v1.0
951         required: false
952         type: string
953       name:
954         default: vIMS_NS
955         required: false
956         type: string
957       csarProvider:
958         default: ChinaMobile
959         required: false
960         type: string
961       id:
962         default: vIMS_NS
963         required: false
964         type: string
965       version:
966         default: v1.0
967         required: false
968         type: string
969       csarType:
970         default: NSAR
971         required: false
972         type: string
973     requirements:
974     - virtualLink:
975         capability: tosca.capabilities.nfv.VirtualLinkable
976         occurrences:
977         - 0
978         - UNBOUNDED
979
980   tosca.nodes.nfv.NS:
981     derived_from: tosca.nodes.Root
982     properties:
983       vendor:
984         required: false
985         type: string
986       name:
987         required: false
988         type: string
989       id:
990         required: false
991         type: string
992       version:
993         required: false
994         type: string
995     requirements:
996     - virtualLink:
997         capability: tosca.capabilities.nfv.VirtualLinkable
998         occurrences:
999         - 0
1000         - UNBOUNDED
1001
1002   tosca.nodes.nfv.VDU.Compute:
1003     attributes:
1004       private_address:
1005         type: string
1006       public_address:
1007         type: string
1008       networks:
1009         type: string
1010       ports:
1011         type: string
1012     capabilities:
1013       scalable:
1014         type: tosca.capabilities.Scalable
1015       virtual_compute:
1016         type: tosca.capabilities.nfv.VirtualCompute
1017       endpoint:
1018         type: tosca.capabilities.Endpoint.Admin
1019       os:
1020         type: tosca.capabilities.OperatingSystem
1021       virtual_binding:
1022         type: tosca.capabilities.nfv.VirtualBindable
1023       host:
1024         type: tosca.capabilities.Container
1025       binding:
1026         type: tosca.capabilities.network.Bindable
1027       monitoring_parameter:
1028         type: tosca.capabilities.nfv.Metric
1029     derived_from: tosca.nodes.Root
1030     properties:
1031       configurable_properties:
1032         entry_schema:
1033           type: tosca.datatypes.nfv.VnfcConfigurableProperties
1034         type: map
1035       name:
1036         type: string
1037       nfvi_constraints:
1038         entry_schema:
1039           type: string
1040         required: false
1041         type: list
1042       descrption:
1043         type: string
1044       boot_order:
1045         entry_schema:
1046           type: string
1047         required: false
1048         type: list
1049     requirements:
1050     - local_storage:
1051         capability: tosca.capabilities.Attachment
1052         occurrences:
1053         - 0
1054         - UNBOUNDED
1055     - virtual_storage:
1056         capability: tosca.capabilities.nfv.VirtualStorage
1057         occurrences:
1058         - 0
1059         - UNBOUNDED
1060
1061   tosca.nodes.nfv.VDU.VirtualStorage:
1062     capabilities:
1063       virtual_storage:
1064         type: tosca.capabilities.nfv.VirtualStorage
1065     derived_from: tosca.nodes.Root
1066     properties:
1067       id:
1068         type: string
1069       size_of_storage:
1070         type: string
1071       rdma_enabled:
1072         required: false
1073         type: boolean
1074       type_of_storage:
1075         type: string
1076
1077   tosca.nodes.nfv.VduCpd:
1078     derived_from: tosca.nodes.Root
1079     properties:
1080       virtual_network_interface_requirements:
1081         entry_schema:
1082           type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements
1083         required: false
1084         type: list
1085       role:
1086         constraints:
1087         - valid_values:
1088           - root
1089           - leaf
1090         required: false
1091         type: string
1092       bitrate_requirement:
1093         required: false
1094         type: integer
1095       description:
1096         required: false
1097         type: string
1098       layer_protocol:
1099         constraints:
1100         - valid_values:
1101           - ethernet
1102           - mpls
1103           - odu2
1104           - ipv4
1105           - ipv6
1106           - pseudo_wire
1107         type: string
1108       address_data:
1109         entry_schema:
1110           type: tosca.datatype.nfv.AddressData
1111         required: false
1112         type: list
1113     requirements:
1114     - virtual_binding:
1115         capability: tosca.capabilities.nfv.VirtualBindable
1116         occurrences:
1117         - 0
1118         - UNBOUNDED
1119     - virtual_link:
1120         capability: tosca.capabilities.nfv.VirtualBindable
1121         occurrences:
1122         - 0
1123         - UNBOUNDED
1124   tosca.nodes.nfv.ext.ImageFile:
1125     capabilities:
1126       guest_os:
1127         type: tosca.capabilities.nfv.ext.GuestOs
1128       image_fle:
1129         type: tosca.capabilities.nfv.ext.ImageFile
1130     derived_from: tosca.nodes.Root
1131     properties:
1132       file_url:
1133         required: false
1134         type: string
1135       container_type:
1136         required: false
1137         type: string
1138       name:
1139         required: false
1140         type: string
1141       disk_format:
1142         required: false
1143         type: string
1144       version:
1145         required: false
1146         type: string
1147   tosca.nodes.nfv.ext.LocalStorage:
1148     capabilities:
1149       local_attachment:
1150         type: tosca.capabilities.nfv.ext.LocalAttachment
1151     derived_from: tosca.nodes.Root
1152     properties:
1153       size:
1154         required: false
1155         type: string
1156       disk_type:
1157         required: false
1158         type: string
1159   tosca.nodes.nfv.ext.zte.CP:
1160     capabilities:
1161       forwarder:
1162         type: tosca.capabilities.nfv.Forwarder
1163     derived_from: tosca.nodes.Root
1164     properties:
1165       guest_os_mtu:
1166         required: false
1167         type: integer
1168       bandwidth:
1169         required: false
1170         type: integer
1171       interface_name:
1172         required: false
1173         type: string
1174       allowed_address_pairs:
1175         entry_schema:
1176           type: tosca.datatypes.nfv.ext.AddressPairs
1177         required: false
1178         type: list
1179       ip_address:
1180         required: false
1181         type: string
1182       bond:
1183         required: false
1184         type: string
1185       proxiedVNFs:
1186         entry_schema:
1187           type: string
1188         required: false
1189         type: list
1190       sfc_encapsulation:
1191         required: false
1192         type: string
1193       floating_ip_address:
1194         required: false
1195         type: tosca.datatypes.nfv.ext.FloatingIP
1196       service_ip_address:
1197         required: false
1198         type: string
1199       mac_address:
1200         required: false
1201         type: string
1202       proxiedVNFtype:
1203         required: false
1204         type: string
1205       macbond:
1206         required: false
1207         type: string
1208       vnic_type:
1209         required: false
1210         type: string
1211       direction:
1212         required: false
1213         type: string
1214       order:
1215         required: false
1216         type: integer
1217     requirements:
1218     - forwarder:
1219         capability: tosca.capabilities.nfv.Forwarder
1220         occurrences:
1221         - 0
1222         - UNBOUNDED
1223     - virtualbinding:
1224         capability: tosca.capabilities.nfv.VirtualBindable
1225         occurrences:
1226         - 0
1227         - UNBOUNDED
1228     - virtualLink:
1229         capability: tosca.capabilities.nfv.VirtualBindable
1230         occurrences:
1231         - 0
1232         - UNBOUNDED
1233   tosca.nodes.nfv.ext.zte.VDU:
1234     capabilities:
1235       scalable:
1236         type: tosca.capabilities.Scalable
1237       monitoring_parameter:
1238         type: tosca.capabilities.nfv.Metric
1239       nfv_compute:
1240         type: tosca.capabilities.nfv.ext.Compute.Container.Architecture
1241       virtualbinding:
1242         type: tosca.capabilities.nfv.VirtualBindable
1243     derived_from: tosca.nodes.Root
1244     properties:
1245       manual_scale_select_vim:
1246         required: false
1247         type: boolean
1248       vdu_type:
1249         required: false
1250         type: string
1251       watchdog:
1252         required: false
1253         type: tosca.datatypes.nfv.ext.zte.WatchDog
1254       name:
1255         required: false
1256         type: string
1257       local_affinity_antiaffinity_rule:
1258         required: false
1259         type: tosca.datatypes.nfv.ext.LocalAffinityOrAntiAffinityRule
1260       support_scaling:
1261         required: false
1262         type: boolean
1263       storage_policy:
1264         required: false
1265         type: string
1266       key_vdu:
1267         required: false
1268         type: boolean
1269       location_info:
1270         required: false
1271         type: tosca.datatypes.nfv.ext.LocationInfo
1272       inject_data_list:
1273         entry_schema:
1274           type: tosca.datatypes.nfv.ext.InjectData
1275         required: false
1276         type: list
1277     requirements:
1278     - guest_os:
1279         capability: tosca.capabilities.nfv.ext.GuestOs
1280         occurrences:
1281         - 0
1282         - UNBOUNDED
1283     - local_storage:
1284         capability: tosca.capabilities.nfv.ext.LocalAttachment
1285         occurrences:
1286         - 0
1287         - UNBOUNDED
1288     - volume_storage:
1289         capability: tosca.capabilities.Attachment
1290         occurrences:
1291         - 0
1292         - UNBOUNDED
1293     - dependency:
1294         capability: tosca.capabilities.Node
1295         occurrences:
1296         - 0
1297         - UNBOUNDED
1298   tosca.nodes.nfv.ext.zte.VL:
1299     capabilities:
1300       virtual_linkable:
1301         type: tosca.capabilities.nfv.VirtualLinkable
1302     derived_from: tosca.nodes.Root
1303     properties:
1304       segmentation_id:
1305         required: false
1306         type: string
1307       network_name:
1308         required: false
1309         type: string
1310       is_predefined:
1311         required: false
1312         type: boolean
1313       mtu:
1314         required: false
1315         type: integer
1316       dns_nameservers:
1317         entry_schema:
1318           type: string
1319         required: false
1320         type: list
1321       physical_network:
1322         required: false
1323         type: string
1324       dhcp_enabled:
1325         required: false
1326         type: boolean
1327       network_id:
1328         required: false
1329         type: string
1330       host_routes:
1331         entry_schema:
1332           type: tosca.datatypes.nfv.ext.HostRouteInfo
1333         required: false
1334         type: list
1335       ip_version:
1336         required: false
1337         type: integer
1338       vendor:
1339         required: false
1340         type: string
1341       name:
1342         required: false
1343         type: string
1344       start_ip:
1345         required: false
1346         type: string
1347       vlan_transparent:
1348         required: false
1349         type: boolean
1350       cidr:
1351         required: false
1352         type: string
1353       gateway_ip:
1354         required: false
1355         type: string
1356       network_type:
1357         required: false
1358         type: string
1359       end_ip:
1360         required: false
1361         type: string
1362       location_info:
1363         required: false
1364         type: tosca.datatypes.nfv.ext.LocationInfo
1365   tosca.nodes.nfv.ext.zte.VNF:
1366     capabilities:
1367       forwarder:
1368         type: tosca.capabilities.nfv.Forwarder
1369     derived_from: tosca.nodes.Root
1370     properties:
1371       request_reclassification:
1372         required: false
1373         type: boolean
1374       domain_type:
1375         required: false
1376         type: string
1377       nsh_aware:
1378         required: false
1379         type: boolean
1380       plugin_info:
1381         required: false
1382         type: string
1383       adjust_vnf_capacity:
1384         required: false
1385         type: boolean
1386       vnfd_version:
1387         required: false
1388         type: string
1389       vmnumber_overquota_alarm:
1390         required: false
1391         type: boolean
1392       custom_properties:
1393         entry_schema:
1394           type: string
1395         required: false
1396         type: map
1397       version:
1398         required: false
1399         type: string
1400       cross_dc:
1401         required: false
1402         type: boolean
1403       script_info:
1404         required: false
1405         type: string
1406       vendor:
1407         required: false
1408         type: string
1409       is_shared:
1410         required: false
1411         type: boolean
1412       name:
1413         required: false
1414         type: string
1415       vnf_extend_type:
1416         required: false
1417         type: string
1418       id:
1419         required: false
1420         type: string
1421       vnf_type:
1422         required: false
1423         type: string
1424       is_sfc_proxy:
1425         required: false
1426         type: boolean
1427     requirements:
1428     - forwarder:
1429         capability: tosca.capabilities.nfv.Forwarder
1430         occurrences:
1431         - 0
1432         - UNBOUNDED
1433     - virtualLink:
1434         capability: tosca.capabilities.nfv.VirtualLinkable
1435         occurrences:
1436         - 0
1437         - UNBOUNDED
1438
1439   tosca.nodes.nfv.VnfVirtualLinkDesc:
1440     capabilities:
1441       monitoring_parameters:
1442         type: tosca.capabilities.nfv.Metric
1443       virtual_linkable:
1444         type: tosca.capabilities.nfv.VirtualLinkable
1445     derived_from: tosca.nodes.Root
1446     properties:
1447       vl_flavours:
1448         entry_schema:
1449           type: string
1450         type: map
1451       description:
1452         required: false
1453         type: string
1454       test_access:
1455         entry_schema:
1456           type: string
1457         required: false
1458         type: list
1459       connectivity_type:
1460         type: tosca.datatypes.nfv.ConnectivityType