ActivitySpec - Correcting logger messages
[sdc.git] / common / onap-tosca-datatype / src / main / resources / globalTypes / openecomp-heat / 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-heat/nodes.yml
19   version: '1.0'
20
21 imports:
22 - heat_index:
23     file: _index.yml
24
25 node_types:
26
27   org.openecomp.resource.abstract.nodes.contrail.AbstractSubstitute:
28     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
29     properties:
30       availability_zone:
31         description: Availability zone to create servers in
32         type: string
33         status: SUPPORTED
34         required: false
35       static_routes_list:
36         description: Static routes enabled
37         type: list
38         status: SUPPORTED
39         entry_schema:
40           type: boolean
41         required: false
42       availability_zone_enable:
43         description: Indicates availability zone is enabled
44         type: boolean
45         status: SUPPORTED
46         default: false
47         required: false
48       service_template_name:
49         description: Service template name
50         type: string
51         status: SUPPORTED
52         required: false
53       ordered_interfaces:
54         description: Indicates if service interface are ordered
55         type: boolean
56         status: SUPPORTED
57         default: false
58         required: false
59       flavor:
60         description: flavor
61         type: string
62         status: SUPPORTED
63         required: false
64       image_name:
65         description: Image name
66         type: string
67         status: SUPPORTED
68         required: true
69       service_type:
70         description: Service type
71         type: string
72         status: SUPPORTED
73         required: true
74         constraints:
75         - valid_values:
76           - firewall
77           - analyzer
78           - source-nat
79           - loadbalancer
80       service_interface_type_list:
81         description: List of interface types
82         type: list
83         status: SUPPORTED
84         entry_schema:
85           type: string
86           constraints:
87           - valid_values:
88             - management
89             - left
90             - right
91             - other
92         required: true
93       service_instance_name:
94         description: Service instance name
95         type: string
96         status: SUPPORTED
97         required: true
98       interface_list:
99         description: List of interfaces
100         type: list
101         status: SUPPORTED
102         entry_schema:
103           type: org.openecomp.datatypes.heat.network.contrail.InterfaceData
104         required: false
105       service_mode:
106         description: Service mode
107         type: string
108         status: SUPPORTED
109         required: true
110         constraints:
111         - valid_values:
112           - transparent
113           - in-network
114           - in-network-nat
115       shared_ip_list:
116         description: Shared ips enabled
117         type: list
118         status: SUPPORTED
119         entry_schema:
120           type: boolean
121         required: false
122     attributes:
123       tenant_id:
124         description: Tenant id of the Service Instance
125         type: string
126         status: SUPPORTED
127       fq_name:
128         description: The FQ name of the service instance
129         type: string
130         status: SUPPORTED
131       service_template_name:
132         description: Service Template of the Service Instance
133         type: string
134         status: SUPPORTED
135       show:
136         description: All attributes
137         type: string
138         status: SUPPORTED
139       active_vms:
140         description: Number of service VMs active for this Service Instance
141         type: string
142         status: SUPPORTED
143       service_instance_name:
144         description: The name of the service instance
145         type: string
146         status: SUPPORTED
147       virtual_machines:
148         description: Service VMs for the Service Instance
149         type: string
150         status: SUPPORTED
151       status:
152         description: Status of the service instance
153         type: string
154         status: SUPPORTED
155         
156
157   org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface:
158     derived_from: org.openecomp.resource.cp.nodes.network.Port
159     properties:
160       name:
161         description: Virtual Machine Interface name
162         type: string
163         status: SUPPORTED
164         required: false
165       security_group_refs:
166         description: List of security groups.
167         type: list
168         status: SUPPORTED
169         entry_schema:
170           type: string
171         required: false
172       virtual_network_refs:
173         description: List of virtual networks.
174         type: list
175         status: SUPPORTED
176         entry_schema:
177           type: string
178         required: false
179       virtual_machine_interface_properties:
180         description: virtual machine interface properties.
181         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties
182         status: SUPPORTED
183         required: false
184       port_tuple_refs:
185         description: List of port tuples.
186         type: list
187         status: SUPPORTED
188         entry_schema:
189           type: string
190         required: false
191       virtual_machine_interface_mac_addresses:
192         description: List of mac addresses.
193         type: list
194         status: SUPPORTED
195         entry_schema:
196           type: string
197         required: false
198       virtual_machine_interface_allowed_address_pairs:
199         description: Virtual Machine Interface allowed address pairs.
200         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
201         status: SUPPORTED
202         required: false      
203
204     attributes:
205       fq_name:
206         description: The FQ name of the Virtual Network.
207         type: string
208         status: SUPPORTED
209       show:
210         description: All attributes.
211         type: string
212         status: SUPPORTED
213     capabilities:
214       binding:
215         type: tosca.capabilities.network.Bindable
216         occurrences:
217         - 0
218         - UNBOUNDED
219         valid_source_types:
220         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
221         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
222
223
224   org.openecomp.resource.vfc.rules.nodes.heat.network.contrail.NetworkRules:
225     derived_from: tosca.nodes.Root
226     properties:
227       entries:
228         description: A symbolic name for this contrail network rule
229         type: org.openecomp.datatypes.heat.contrail.network.rule.RuleList
230         status: SUPPORTED
231         required: false
232       name:
233         description: A symbolic name for this contrail network rule
234         type: string
235         status: SUPPORTED
236         required: false
237     attributes:
238       tenant_id:
239         description: tenant_id
240         type: string
241         status: SUPPORTED
242       fq_name:
243         description: fq_name
244         type: string
245         status: SUPPORTED
246       show:
247         description: All attributes.
248         type: string
249         status: SUPPORTED
250       rules:
251         description: List of rules
252         type: list
253         status: SUPPORTED
254         entry_schema:
255           type: string
256     requirements:
257     - network:
258         capability: tosca.capabilities.Attachment
259         node: tosca.nodes.network.Network
260         relationship: org.openecomp.relationships.AttachesTo
261         occurrences:
262         - 0
263         - UNBOUNDED
264
265   org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules:
266     derived_from: tosca.nodes.Root
267     properties:
268       description:
269         description: Description of the security group
270         type: string
271         status: SUPPORTED
272         required: false
273       name:
274         description: A symbolic name for this security group, which is not required to be unique.
275         type: string
276         status: SUPPORTED
277         required: false
278       rules:
279         description: List of security group rules
280         type: list
281         status: SUPPORTED
282         entry_schema:
283           type: org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule
284         required: false
285     attributes:
286       show:
287         description: Detailed information about resource
288         type: string
289         status: SUPPORTED
290     requirements:
291     - port:
292         capability: tosca.capabilities.Attachment
293         node: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
294         relationship: org.openecomp.relationships.AttachesTo
295         occurrences:
296         - 0
297         - UNBOUNDED
298
299   org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork:
300     derived_from: org.openecomp.resource.vl.nodes.network.Network
301     properties:
302       shared:
303         description: Is virtual network shared
304         type: string
305         status: SUPPORTED
306         required: false
307       forwarding_mode:
308         description: forwarding mode of the virtual network
309         type: string
310         status: SUPPORTED
311         required: false
312       external:
313         description: Is virtual network external
314         type: string
315         status: SUPPORTED
316         required: false
317       allow_transit:
318         description: Whether this network should be transitive.
319         type: string
320         status: SUPPORTED
321         required: false
322       flood_unknown_unicast:
323         description: flood L2 packets on network
324         type: string
325         status: SUPPORTED
326         required: false
327       route_targets:
328         description: route targets associated with the virtual network
329         type: list
330         status: SUPPORTED
331         entry_schema:
332           type: string
333         required: false
334       subnets:
335         description: Network related subnets
336         type: map
337         status: SUPPORTED
338         entry_schema:
339           type: org.openecomp.datatypes.heat.network.neutron.Subnet
340         required: false
341     attributes:
342       fq_name:
343         description: fq_name
344         type: string
345         status: SUPPORTED
346       show:
347         description: All attributes.
348         type: string
349         status: SUPPORTED
350       subnets_name:
351         description: Subnets name of this network
352         type: list
353         status: SUPPORTED
354         entry_schema:
355           type: string
356       subnets_show:
357         description: Detailed information about each subnet
358         type: map
359         status: SUPPORTED
360         entry_schema:
361           type: string
362       subnets:
363         description: Network related subnets
364         type: map
365         status: SUPPORTED
366         entry_schema:
367           type: org.openecomp.datatypes.heat.network.neutron.Subnet
368     capabilities:
369       attachment:
370         type: tosca.capabilities.Attachment
371         occurrences:
372         - 1
373         - UNBOUNDED
374
375   org.openecomp.resource.vfc.nodes.heat.nova.Server:
376     derived_from: org.openecomp.resource.vfc.nodes.Compute
377     properties:
378       admin_pass:
379         description: The administrator password for the server
380         type: string
381         status: SUPPORTED
382         required: false
383       availability_zone:
384         description: Availability zone to create servers in
385         type: string
386         status: SUPPORTED
387         required: false
388       image:
389         description: The ID or name of the image to boot with
390         type: string
391         status: SUPPORTED
392         required: false
393       image_update_policy:
394         description: Policy on how to apply an image-id update
395         type: string
396         status: SUPPORTED
397         default: REBUILD
398         required: false
399         constraints:
400         - valid_values:
401           - REBUILD_PRESERVE_EPHEMERAL
402           - REPLACE
403           - REBUILD
404       metadata:
405         description: Arbitrary JSON metadata to store for this server
406         type: json
407         status: SUPPORTED
408         required: false
409       contrail_service_instance_ind:
410         description: Nova server related to service instance indicator
411         type: boolean
412         status: SUPPORTED
413         default: false
414         required: false
415       user_data_update_policy:
416         description: Policy on how to apply a user_data update
417         type: string
418         status: SUPPORTED
419         default: REPLACE
420         required: false
421         constraints:
422         - valid_values:
423           - REPLACE
424           - IGNORE
425       flavor_update_policy:
426         description: Policy on how to apply a flavor update
427         type: string
428         status: SUPPORTED
429         default: RESIZE
430         required: false
431         constraints:
432         - valid_values:
433           - RESIZE
434           - REPLACE
435       user_data:
436         description: User data script to be executed by cloud-init
437         type: string
438         status: SUPPORTED
439         default: ''
440         required: false
441       flavor:
442         description: The ID or name of the flavor to boot onto
443         type: string
444         status: SUPPORTED
445         required: true
446       key_name:
447         description: Name of keypair to inject into the server
448         type: string
449         status: SUPPORTED
450         required: false
451       reservation_id:
452         description: A UUID for the set of servers being requested
453         type: string
454         status: SUPPORTED
455         required: false
456       security_groups:
457         description: List of security group names or IDs
458         type: list
459         status: SUPPORTED
460         entry_schema:
461           type: string
462         default: []
463         required: false
464       config_drive:
465         description: enable config drive on the server
466         type: boolean
467         status: SUPPORTED
468         required: false
469       personality:
470         description: A map of files to create/overwrite on the server upon boot
471         type: map
472         status: SUPPORTED
473         entry_schema:
474           type: string
475         default: {}
476         required: false
477       software_config_transport:
478         description: How the server should receive the metadata required for software configuration
479         type: string
480         status: SUPPORTED
481         default: POLL_SERVER_CFN
482         required: false
483         constraints:
484         - valid_values:
485           - POLL_SERVER_CFN
486           - POLL_SERVER_HEAT
487           - POLL_TEMP_URL
488           - ZAQAR_MESSAGE
489       user_data_format:
490         description: How the user_data should be formatted for the server
491         type: string
492         status: SUPPORTED
493         default: HEAT_CFNTOOLS
494         required: false
495         constraints:
496         - valid_values:
497           - SOFTWARE_CONFIG
498           - RAW
499           - HEAT_CFNTOOLS
500       diskConfig:
501         description: Control how the disk is partitioned when the server is created
502         type: string
503         status: SUPPORTED
504         required: false
505         constraints:
506         - valid_values:
507           - AUTO
508           - MANUAL
509       name:
510         description: Server name
511         type: string
512         status: SUPPORTED
513         required: false
514       scheduler_hints:
515         description: Arbitrary key-value pairs specified by the client to help boot a server
516         type: map
517         status: SUPPORTED
518         entry_schema:
519           type: string
520         required: false
521     attributes:
522       accessIPv4:
523         description: The manually assigned alternative public IPv4 address of the server
524         type: string
525         status: SUPPORTED
526       addresses:
527         description: A dict of all network addresses with corresponding port_id
528         type: map
529         status: SUPPORTED
530         entry_schema:
531           type: org.openecomp.datatypes.heat.novaServer.network.AddressInfo
532       accessIPv6:
533         description: The manually assigned alternative public IPv6 address of the server
534         type: string
535         status: SUPPORTED
536       instance_name:
537         description: AWS compatible instance name
538         type: string
539         status: SUPPORTED
540       name:
541         description: Name of the server
542         type: string
543         status: SUPPORTED
544       show:
545         description: Detailed information about resource
546         type: string
547         status: SUPPORTED
548       console_urls:
549         description: URLs of servers consoles
550         type: string
551         status: SUPPORTED
552
553   org.openecomp.resource.vfc.rules.nodes.heat.network.contrailV2.NetworkRules:
554     derived_from: tosca.nodes.Root
555     properties:
556       name:
557         description: A symbolic name for this contrail v2 network rule
558         type: string
559         status: SUPPORTED
560         required: false
561       network_policy_entries:
562         description: A symbolic name for this contrail v2 network rule
563         type: org.openecomp.datatypes.heat.contrailV2.network.rule.RuleList
564         status: SUPPORTED
565         required: false
566     attributes:
567       fq_name:
568         description: fq_name
569         type: string
570         status: SUPPORTED
571     requirements:
572     - network:
573         capability: tosca.capabilities.Attachment
574         node: tosca.nodes.network.Network
575         relationship: org.openecomp.relationships.AttachesTo
576         occurrences:
577         - 0
578         - UNBOUNDED
579
580   org.openecomp.resource.cp.nodes.heat.network.neutron.Port:
581     derived_from: org.openecomp.resource.cp.nodes.network.Port
582     properties:
583       port_security_enabled:
584         description: Flag to enable/disable port security on the network
585         type: boolean
586         status: SUPPORTED
587         required: false
588       device_id:
589         description: Device ID of this port
590         type: string
591         status: SUPPORTED
592         required: false
593       qos_policy:
594         description: The name or ID of QoS policy to attach to this network
595         type: string
596         status: SUPPORTED
597         required: false
598       allowed_address_pairs:
599         description: Additional MAC/IP address pairs allowed to pass through the port
600         type: list
601         status: SUPPORTED
602         entry_schema:
603           type: org.openecomp.datatypes.heat.network.AddressPair
604         required: false
605       binding:vnic_type:
606         description: The vnic type to be bound on the neutron port
607         type: string
608         status: SUPPORTED
609         required: false
610         constraints:
611         - valid_values:
612           - macvtap
613           - direct
614           - normal
615       value_specs:
616         description: Extra parameters to include in the request
617         type: map
618         status: SUPPORTED
619         entry_schema:
620           type: string
621         default: {}
622         required: false
623       device_owner:
624         description: Name of the network owning the port
625         type: string
626         status: SUPPORTED
627         required: false
628       network:
629         description: Network this port belongs to
630         type: string
631         status: SUPPORTED
632         required: false
633       replacement_policy:
634         description: Policy on how to respond to a stack-update for this resource
635         type: string
636         status: SUPPORTED
637         default: AUTO
638         required: false
639         constraints:
640         - valid_values:
641           - REPLACE_ALWAYS
642           - AUTO
643       security_groups:
644         description: List of security group names or IDs
645         type: list
646         status: SUPPORTED
647         entry_schema:
648           type: string
649         required: false
650       fixed_ips:
651         description: Desired IPs for this port
652         type: list
653         status: SUPPORTED
654         entry_schema:
655           type: org.openecomp.datatypes.heat.neutron.port.FixedIps
656         required: false
657       mac_address:
658         description: MAC address to give to this port
659         type: string
660         status: SUPPORTED
661         required: false
662       admin_state_up:
663         description: A boolean value specifying the administrative status of the network
664         type: boolean
665         status: SUPPORTED
666         default: true
667         required: false
668       name:
669         description: A symbolic name for this port
670         type: string
671         status: SUPPORTED
672         required: false
673     attributes:
674       tenant_id:
675         description: Tenant owning the port
676         type: string
677         status: SUPPORTED
678       network_id:
679         description: Unique identifier for the network owning the port
680         type: string
681         status: SUPPORTED
682       qos_policy_id:
683         description: The QoS policy ID attached to this network
684         type: string
685         status: SUPPORTED
686       show:
687         description: Detailed information about resource
688         type: string
689         status: SUPPORTED
690       subnets:
691         description: Subnets of this network
692         type: list
693         status: SUPPORTED
694         entry_schema:
695           type: string
696       status:
697         description: The status of the network
698         type: string
699         status: SUPPORTED
700     capabilities:
701       attachment:
702         type: tosca.capabilities.Attachment
703         occurrences:
704         - 1
705         - UNBOUNDED
706       binding:
707         type: tosca.capabilities.network.Bindable
708         occurrences:
709         - 0
710         - UNBOUNDED
711         valid_source_types:
712         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
713         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
714
715   org.openecomp.resource.vl.nodes.heat.network.neutron.Net:
716     derived_from: org.openecomp.resource.vl.nodes.network.Network
717     properties:
718       dhcp_agent_ids:
719         description: The IDs of the DHCP agent to schedule the network
720         type: list
721         status: SUPPORTED
722         entry_schema:
723           type: string
724         required: false
725       tenant_id:
726         description: The ID of the tenant which will own the network
727         type: string
728         status: SUPPORTED
729         required: false
730       port_security_enabled:
731         description: Flag to enable/disable port security on the network
732         type: boolean
733         status: SUPPORTED
734         required: false
735       shared:
736         description: Whether this network should be shared across all tenants
737         type: boolean
738         status: SUPPORTED
739         default: false
740         required: false
741       admin_state_up:
742         description: A boolean value specifying the administrative status of the network
743         type: boolean
744         status: SUPPORTED
745         default: true
746         required: false
747       qos_policy:
748         description: The name or ID of QoS policy to attach to this network
749         type: string
750         status: SUPPORTED
751         required: false
752       subnets:
753         description: Network related subnets
754         type: map
755         status: SUPPORTED
756         entry_schema:
757           type: org.openecomp.datatypes.heat.network.neutron.Subnet
758         required: false
759       value_specs:
760         description: Extra parameters to include in the request
761         type: map
762         status: SUPPORTED
763         entry_schema:
764           type: string
765         default: {}
766         required: false
767     attributes:
768       qos_policy_id:
769         description: The QoS policy ID attached to this network
770         type: string
771         status: SUPPORTED
772       show:
773         description: Detailed information about resource
774         type: string
775         status: SUPPORTED
776       subnets_name:
777         description: Subnets name of this network
778         type: list
779         status: SUPPORTED
780         entry_schema:
781           type: string
782       subnets:
783         description: Network related subnets
784         type: map
785         status: SUPPORTED
786         entry_schema:
787           type: org.openecomp.datatypes.heat.network.neutron.Subnet
788       mtu:
789         description: The maximum transmission unit size(in bytes) for the network
790         type: scalar-unit.size
791         status: SUPPORTED
792       status:
793         description: The status of the network
794         type: string
795         status: SUPPORTED
796     capabilities:
797       attachment:
798         type: tosca.capabilities.Attachment
799         occurrences:
800         - 1
801         - UNBOUNDED
802
803   org.openecomp.resource.cp.nodes.heat.network.contrail.Port:
804     derived_from: org.openecomp.resource.cp.nodes.network.Port
805     properties:
806       static_routes:
807         description: An ordered list of static routes to be added to this interface
808         type: list
809         status: SUPPORTED
810         entry_schema:
811           type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute
812         required: false
813       virtual_network:
814         description: Virtual Network for this interface
815         type: string
816         status: SUPPORTED
817         required: true
818       static_route:
819         description: Static route enabled
820         type: boolean
821         status: SUPPORTED
822         default: false
823         required: false
824       allowed_address_pairs:
825         description: List of allowed address pair for this interface
826         type: list
827         status: SUPPORTED
828         entry_schema:
829           type: org.openecomp.datatypes.heat.network.contrail.AddressPair
830         required: false
831       shared_ip:
832         description: Shared ip enabled
833         type: boolean
834         status: SUPPORTED
835         default: false
836         required: false
837       ip_address:
838         description: IP for this interface
839         type: string
840         status: SUPPORTED
841         required: false
842       interface_type:
843         description: Interface type
844         type: string
845         status: SUPPORTED
846         required: true
847         constraints:
848         - valid_values:
849           - management
850           - left
851           - right
852           - other
853     attributes:
854       fq_name:
855         description: fq_name
856         type: string
857         status: SUPPORTED
858
859   org.openecomp.resource.vfc.nodes.heat.contrail.Compute:
860     derived_from: org.openecomp.resource.vfc.nodes.Compute
861     properties:
862       flavor:
863         description: flavor
864         type: string
865         status: SUPPORTED
866         required: false
867       image_name:
868         description: Image name
869         type: string
870         status: SUPPORTED
871         required: true
872       availability_zone:
873         description: Availability zone to create servers in
874         type: string
875         status: SUPPORTED
876         required: false
877       service_type:
878         description: Service type
879         type: string
880         status: SUPPORTED
881         required: true
882         constraints:
883         - valid_values:
884           - firewall
885           - analyzer
886           - source-nat
887           - loadbalancer
888       availability_zone_enable:
889         description: Indicates availability zone is enabled
890         type: boolean
891         status: SUPPORTED
892         default: false
893         required: false
894       service_template_name:
895         description: Service template name
896         type: string
897         status: SUPPORTED
898         required: false
899       service_instance_name:
900         description: Service instance name
901         type: string
902         status: SUPPORTED
903         required: true
904       service_mode:
905         description: Service mode
906         type: string
907         status: SUPPORTED
908         required: true
909         constraints:
910         - valid_values:
911           - transparent
912           - in-network
913           - in-network-nat
914     attributes:
915       tenant_id:
916         description: Tenant id of the VM
917         type: string
918         status: SUPPORTED
919       fq_name:
920         description: fq_name
921         type: string
922         status: SUPPORTED
923       show:
924         description: All attributes
925         type: string
926         status: SUPPORTED
927       active_vms:
928         description: Number of active VMs
929         type: string
930         status: SUPPORTED
931       virtual_machines:
932         description: VMs of this compute
933         type: string
934         status: SUPPORTED
935       status:
936         description: status of the compute
937         type: string
938         status: SUPPORTED
939
940   org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface:
941     derived_from: org.openecomp.resource.cp.nodes.network.v2.SubInterface
942     properties:
943       virtual_machine_interface_refs:
944         description: List of virtual machine interface.
945         type: list
946         status: SUPPORTED
947         entry_schema:
948           type: string
949         required: false
950       name:
951         description: Virtual Machine Sub Interface VLAN name
952         type: string
953         status: SUPPORTED
954         required: false
955       virtual_network_refs:
956         description: List of virtual networks.
957         type: list
958         status: SUPPORTED
959         entry_schema:
960           type: string
961         required: false
962       virtual_machine_interface_properties:
963         description: virtual machine interface properties.
964         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.Properties
965         status: SUPPORTED
966         required: false
967       virtual_machine_interface_allowed_address_pairs:
968         description: Virtual Machine Sub Interface allowed address pairs.
969         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
970         status: SUPPORTED
971         required: false
972       virtual_machine_interface_mac_addresses:
973         description: List of mac addresses.
974         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.MacAddress
975         status: SUPPORTED
976         required: false
977       security_group_refs:
978         description: List of security groups.
979         type: list
980         status: SUPPORTED
981         entry_schema:
982           type: string
983         required: false
984       port_tuple_refs:
985         description: List of port tuples.
986         type: list
987         status: SUPPORTED
988         entry_schema:
989           type: string
990         required: false
991     attributes:
992       fq_name:
993         description: The FQ name of the Virtual Network.
994         type: string
995         status: SUPPORTED
996       show:
997         description: All attributes.
998         type: string
999         status: SUPPORTED
1000     requirements:
1001     - binding:
1002         capability: tosca.capabilities.network.Bindable
1003         node: org.openecomp.resource.cp.nodes.network.Port
1004         relationship: tosca.relationships.network.BindsTo
1005         occurrences:
1006         - 1
1007         - 1
1008
1009   org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface:
1010     derived_from: org.openecomp.resource.cp.nodes.network.SubInterface
1011     properties:
1012       virtual_machine_interface_refs:
1013         description: List of virtual machine interface.
1014         type: list
1015         status: SUPPORTED
1016         entry_schema:
1017           type: string
1018         required: false
1019       name:
1020         description: Virtual Machine Sub Interface VLAN name
1021         type: string
1022         status: SUPPORTED
1023         required: false
1024       virtual_network_refs:
1025         description: List of virtual networks.
1026         type: list
1027         status: SUPPORTED
1028         entry_schema:
1029           type: string
1030         required: false
1031       virtual_machine_interface_properties:
1032         description: virtual machine interface properties.
1033         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.Properties
1034         status: SUPPORTED
1035         required: false
1036       virtual_machine_interface_allowed_address_pairs:
1037         description: Virtual Machine Sub Interface allowed address pairs.
1038         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
1039         status: SUPPORTED
1040         required: false
1041       virtual_machine_interface_mac_addresses:
1042         description: List of mac addresses.
1043         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.MacAddress
1044         status: SUPPORTED
1045         required: false
1046       security_group_refs:
1047         description: List of security groups.
1048         type: list
1049         status: SUPPORTED
1050         entry_schema:
1051           type: string
1052         required: false
1053       port_tuple_refs:
1054         description: List of port tuples.
1055         type: list
1056         status: SUPPORTED
1057         entry_schema:
1058           type: string
1059         required: false
1060     attributes:
1061       fq_name:
1062         description: The FQ name of the Virtual Network.
1063         type: string
1064         status: SUPPORTED
1065       show:
1066         description: All attributes.
1067         type: string
1068         status: SUPPORTED
1069     requirements:
1070     - binding:
1071         capability: tosca.capabilities.network.Bindable
1072         node: org.openecomp.resource.cp.nodes.network.Port
1073         relationship: tosca.relationships.network.BindsTo
1074         occurrences:
1075         - 1
1076         - 1
1077
1078   org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork:
1079     derived_from: org.openecomp.resource.vl.nodes.network.Network
1080     properties:
1081       network_ipam_refs_data:
1082         description: IPAM references Data
1083         type: list
1084         status: SUPPORTED
1085         entry_schema:
1086           type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.IpamRefData
1087         required: false
1088       network_policy_refs_data:
1089         description: Policy references data
1090         type: list
1091         status: SUPPORTED
1092         entry_schema:
1093           type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefData
1094         required: false
1095       network_ipam_refs:
1096         description: IPAM references
1097         type: list
1098         status: SUPPORTED
1099         entry_schema:
1100           type: string
1101         required: false
1102       network_policy_refs:
1103         description: Policy references
1104         type: list
1105         status: SUPPORTED
1106         entry_schema:
1107           type: string
1108         required: false
1109       subnets:
1110         description: Network related subnets
1111         type: map
1112         status: SUPPORTED
1113         entry_schema:
1114           type: org.openecomp.datatypes.heat.network.neutron.Subnet
1115         required: false
1116     attributes:
1117       fq_name:
1118         description: fq_name
1119         type: string
1120         status: SUPPORTED
1121       subnets_name:
1122         description: Subnets name of this network
1123         type: list
1124         status: SUPPORTED
1125         entry_schema:
1126           type: string
1127       subnets_show:
1128         description: Detailed information about each subnet
1129         type: map
1130         status: SUPPORTED
1131         entry_schema:
1132           type: string
1133       subnets:
1134         description: Network related subnets
1135         type: map
1136         status: SUPPORTED
1137         entry_schema:
1138           type: org.openecomp.datatypes.heat.network.neutron.Subnet
1139     capabilities:
1140       attachment:
1141         type: tosca.capabilities.Attachment
1142         occurrences:
1143         - 1
1144         - UNBOUNDED
1145
1146   org.openecomp.resource.vfc.nodes.heat.cinder.Volume:
1147     derived_from: org.openecomp.resource.vfc.nodes.volume
1148     properties:
1149       availability_zone:
1150         description: The availability zone in which the volume will be created
1151         type: string
1152         status: SUPPORTED
1153         required: false
1154       image:
1155         description: If specified, the name or ID of the image to create the volume from
1156         type: string
1157         status: SUPPORTED
1158         required: false
1159       metadata:
1160         description: Key/value pairs to associate with the volume
1161         type: map
1162         status: SUPPORTED
1163         entry_schema:
1164           type: string
1165         required: false
1166       volume_type:
1167         description: If specified, the type of volume to use, mapping to a specific backend
1168         type: string
1169         status: SUPPORTED
1170         required: false
1171       description:
1172         description: A description of the volume
1173         type: string
1174         status: SUPPORTED
1175         required: false
1176       device_type:
1177         description: Device type
1178         type: string
1179         status: SUPPORTED
1180         required: false
1181         constraints:
1182         - valid_values:
1183           - cdrom
1184           - disk
1185       disk_bus:
1186         description: 'Bus of the device: hypervisor driver chooses a suitable default
1187           if omitted'
1188         type: string
1189         status: SUPPORTED
1190         required: false
1191         constraints:
1192         - valid_values:
1193           - ide
1194           - lame_bus
1195           - scsi
1196           - usb
1197           - virtio
1198       backup_id:
1199         description: If specified, the backup to create the volume from
1200         type: string
1201         status: SUPPORTED
1202         required: false
1203       source_volid:
1204         description: If specified, the volume to use as source
1205         type: string
1206         status: SUPPORTED
1207         required: false
1208       boot_index:
1209         description: Integer used for ordering the boot disks
1210         type: integer
1211         status: SUPPORTED
1212         required: false
1213       size:
1214         description: The requested storage size (default unit is MB)
1215         type: scalar-unit.size
1216         status: SUPPORTED
1217         required: false
1218         constraints:
1219         - greater_or_equal: 1 GB
1220       read_only:
1221         description: Enables or disables read-only access mode of volume
1222         type: boolean
1223         status: SUPPORTED
1224         required: false
1225       name:
1226         description: A name used to distinguish the volume
1227         type: string
1228         status: SUPPORTED
1229         required: false
1230       scheduler_hints:
1231         description: Arbitrary key-value pairs specified by the client to help the Cinder scheduler creating a volume
1232         type: map
1233         status: SUPPORTED
1234         entry_schema:
1235           type: string
1236         required: false
1237       swap_size:
1238         description: The size of the swap, in MB
1239         type: scalar-unit.size
1240         status: SUPPORTED
1241         required: false
1242       delete_on_termination:
1243         description: Indicate whether the volume should be deleted when the server is terminated
1244         type: boolean
1245         status: SUPPORTED
1246         required: false
1247       multiattach:
1248         description: Whether allow the volume to be attached more than once
1249         type: boolean
1250         status: SUPPORTED
1251         required: false
1252     attributes:
1253       display_description:
1254         description: Description of the volume
1255         type: string
1256         status: SUPPORTED
1257       attachments:
1258         description: The list of attachments of the volume
1259         type: string
1260         status: SUPPORTED
1261         entry_schema:
1262           type: string
1263       encrypted:
1264         description: Boolean indicating if the volume is encrypted or not
1265         type: boolean
1266         status: SUPPORTED
1267       show:
1268         description: Detailed information about resource
1269         type: string
1270         status: SUPPORTED
1271       created_at:
1272         description: The timestamp indicating volume creation
1273         type: timestamp
1274         status: SUPPORTED
1275       display_name:
1276         description: Name of the volume
1277         type: string
1278         status: SUPPORTED
1279       metadata_values:
1280         description: Key/value pairs associated with the volume in raw dict form
1281         type: map
1282         status: SUPPORTED
1283         entry_schema:
1284           type: string
1285       bootable:
1286         description: Boolean indicating if the volume can be booted or not
1287         type: boolean
1288         status: SUPPORTED
1289       status:
1290         description: The current status of the volume
1291         type: string
1292         status: SUPPORTED