fix tosca template bugs
[modeling/etsicatalog.git] / catalog / pub / utils / toscaparser / testdata / ns / service-vims / Definitions / data.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 tosca_definitions_version: tosca_simple_yaml_1_1
15 data_types:
16   tosca.datatypes.Root:
17     description: The TOSCA root Data Type all other TOSCA base Data Types derive from
18   integer:
19     derived_from: tosca.datatypes.Root
20   string:
21     derived_from: tosca.datatypes.Root
22   boolean:
23     derived_from: tosca.datatypes.Root
24   float:
25     derived_from: tosca.datatypes.Root
26   list:
27     derived_from: tosca.datatypes.Root
28   map:
29     derived_from: tosca.datatypes.Root
30   json:
31     derived_from: tosca.datatypes.Root
32   scalar-unit:
33     derived_from: tosca.datatypes.Root
34   scalar-unit.size:
35     derived_from: scalar-unit
36   scalar-unit.time:
37     derived_from: scalar-unit
38   scalar-unit.frequency:
39     derived_from: scalar-unit
40   tosca.datatypes.Credential:
41     derived_from: tosca.datatypes.Root
42     properties:
43       protocol:
44         type: string
45         required: false
46       token_type:
47         type: string
48         default: password
49       token:
50         type: string
51       keys:
52         type: map
53         required: false
54         entry_schema:
55           type: string
56       user:
57         type: string
58         required: false
59   org.openecomp.datatypes.PortMirroringConnectionPointDescription:
60     derived_from: tosca.datatypes.Root
61     properties:
62       nf_type:
63         type: string
64       nfc_type:
65         type: string
66       network_role:
67         type: string
68       pps_capacity:
69         type: string
70   tosca.datatypes.TimeInterval:
71     derived_from: tosca.datatypes.Root
72     properties:
73       start_time:
74         type: timestamp
75         required: true
76       end_time:
77         type: timestamp
78         required: true
79   tosca.datatypes.network.NetworkInfo:
80     derived_from: tosca.datatypes.Root
81     properties:
82       network_name:
83         type: string
84       network_id:
85         type: string
86       addresses:
87         type: list
88         entry_schema:
89           type: string
90   tosca.datatypes.network.PortInfo:
91     derived_from: tosca.datatypes.Root
92     properties:
93       port_name:
94         type: string
95       port_id:
96         type: string
97       network_id:
98         type: string
99       mac_address:
100         type: string
101       addresses:
102         type: list
103         entry_schema:
104           type: string
105   tosca.datatypes.network.PortDef:
106     derived_from: integer
107     constraints:
108     - in_range:
109       - 1
110       - 65535
111   tosca.datatypes.network.PortSpec:
112     derived_from: tosca.datatypes.Root
113     properties:
114       protocol:
115         type: string
116         required: true
117         default: tcp
118         constraints:
119         - valid_values:
120           - udp
121           - tcp
122           - igmp
123       target:
124         type: tosca.datatypes.network.PortDef
125       target_range:
126         type: range
127         constraints:
128         - in_range:
129           - 1
130           - 65535
131       source:
132         type: tosca.datatypes.network.PortDef
133       source_range:
134         type: range
135         constraints:
136         - in_range:
137           - 1
138           - 65535
139   org.openecomp.datatypes.heat.network.AddressPair:
140     derived_from: tosca.datatypes.Root
141     description: MAC/IP address pairs
142     properties:
143       mac_address:
144         type: string
145         description: MAC address
146         required: false
147         status: SUPPORTED
148       ip_address:
149         type: string
150         description: IP address
151         required: false
152         status: SUPPORTED
153   org.openecomp.datatypes.heat.network.subnet.HostRoute:
154     derived_from: tosca.datatypes.Root
155     description: Host route info for the subnet
156     properties:
157       destination:
158         type: string
159         description: The destination for static route
160         required: false
161         status: SUPPORTED
162       nexthop:
163         type: string
164         description: The next hop for the destination
165         required: false
166         status: SUPPORTED
167   org.openecomp.datatypes.heat.network.AllocationPool:
168     derived_from: tosca.datatypes.Root
169     description: The start and end addresses for the allocation pool
170     properties:
171       start:
172         type: string
173         description: Start address for the allocation pool
174         required: false
175         status: SUPPORTED
176       end:
177         type: string
178         description: End address for the allocation pool
179         required: false
180         status: SUPPORTED
181   org.openecomp.datatypes.heat.network.neutron.Subnet:
182     derived_from: tosca.datatypes.Root
183     description: A subnet represents an IP address block that can be used for assigning IP addresses to virtual instances
184     properties:
185       tenant_id:
186         type: string
187         description: The ID of the tenant who owns the network
188         required: false
189         status: SUPPORTED
190       enable_dhcp:
191         type: boolean
192         description: Set to true if DHCP is enabled and false if DHCP is disabled
193         required: false
194         default: true
195         status: SUPPORTED
196       ipv6_address_mode:
197         type: string
198         description: IPv6 address mode
199         required: false
200         status: SUPPORTED
201         constraints:
202         - valid_values:
203           - dhcpv6-stateful
204           - dhcpv6-stateless
205           - slaac
206       ipv6_ra_mode:
207         type: string
208         description: IPv6 RA (Router Advertisement) mode
209         required: false
210         status: SUPPORTED
211         constraints:
212         - valid_values:
213           - dhcpv6-stateful
214           - dhcpv6-stateless
215           - slaac
216       value_specs:
217         type: map
218         description: Extra parameters to include in the request
219         required: false
220         default: {}
221         status: SUPPORTED
222         entry_schema:
223           type: string
224       allocation_pools:
225         type: list
226         description: The start and end addresses for the allocation pools
227         required: false
228         status: SUPPORTED
229         entry_schema:
230           type: org.openecomp.datatypes.heat.network.AllocationPool
231       subnetpool:
232         type: string
233         description: The name or ID of the subnet pool
234         required: false
235         status: SUPPORTED
236       dns_nameservers:
237         type: list
238         description: A specified set of DNS name servers to be used
239         required: false
240         default: []
241         status: SUPPORTED
242         entry_schema:
243           type: string
244       host_routes:
245         type: list
246         description: The gateway IP address
247         required: false
248         status: SUPPORTED
249         entry_schema:
250           type: org.openecomp.datatypes.heat.network.subnet.HostRoute
251       ip_version:
252         type: integer
253         description: The gateway IP address
254         required: false
255         default: 4
256         status: SUPPORTED
257         constraints:
258         - valid_values:
259           - '4'
260           - '6'
261       name:
262         type: string
263         description: The name of the subnet
264         required: false
265         status: SUPPORTED
266       prefixlen:
267         type: integer
268         description: Prefix length for subnet allocation from subnet pool
269         required: false
270         status: SUPPORTED
271         constraints:
272         - greater_or_equal: 0
273       cidr:
274         type: string
275         description: The CIDR
276         required: false
277         status: SUPPORTED
278       gateway_ip:
279         type: string
280         description: The gateway IP address
281         required: false
282         status: SUPPORTED
283   org.openecomp.datatypes.heat.novaServer.network.PortExtraProperties:
284     derived_from: tosca.datatypes.Root
285     description: Nova server network expand properties for port
286     properties:
287       port_security_enabled:
288         type: boolean
289         description: Flag to enable/disable port security on the port
290         required: false
291         status: SUPPORTED
292       mac_address:
293         type: string
294         description: MAC address to give to this port
295         required: false
296         status: SUPPORTED
297       admin_state_up:
298         type: boolean
299         description: The administrative state of this port
300         required: false
301         default: true
302         status: SUPPORTED
303       qos_policy:
304         type: string
305         description: The name or ID of QoS policy to attach to this port
306         required: false
307         status: SUPPORTED
308       allowed_address_pairs:
309         type: list
310         description: Additional MAC/IP address pairs allowed to pass through the port
311         required: false
312         status: SUPPORTED
313         entry_schema:
314           type: org.openecomp.datatypes.heat.network.AddressPair
315       binding:vnic_type:
316         type: string
317         description: The vnic type to be bound on the neutron port
318         required: false
319         status: SUPPORTED
320         constraints:
321         - valid_values:
322           - macvtap
323           - direct
324           - normal
325       value_specs:
326         type: map
327         description: Extra parameters to include in the request
328         required: false
329         default: {}
330         status: SUPPORTED
331         entry_schema:
332           type: string
333   org.openecomp.datatypes.heat.novaServer.network.AddressInfo:
334     derived_from: tosca.datatypes.network.NetworkInfo
335     description: Network addresses with corresponding port id
336     properties:
337       port_id:
338         type: string
339         description: Port id
340         required: false
341         status: SUPPORTED
342   org.openecomp.datatypes.heat.neutron.port.FixedIps:
343     derived_from: tosca.datatypes.Root
344     description: subnet/ip_address
345     properties:
346       subnet:
347         type: string
348         description: Subnet in which to allocate the IP address for this port
349         required: false
350         status: SUPPORTED
351       ip_address:
352         type: string
353         description: IP address desired in the subnet for this port
354         required: false
355         status: SUPPORTED
356       subnet_id:
357         type: string
358         description: Subnet in which to allocate the IP address for this port
359         required: false
360         status: SUPPORTED
361   org.openecomp.datatypes.heat.FileInfo:
362     derived_from: tosca.datatypes.Root
363     description: Heat File Info
364     properties:
365       file:
366         type: string
367         description: The required URI string (relative or absolute) which can be used to locate the file
368         required: true
369         status: SUPPORTED
370       file_type:
371         type: string
372         description: The type of the file
373         required: true
374         status: SUPPORTED
375         constraints:
376         - valid_values:
377           - base
378           - env
379           - volume
380           - network
381   org.openecomp.datatypes.heat.contrail.network.rule.PortPairs:
382     derived_from: tosca.datatypes.Root
383     description: source and destination port pairs
384     properties:
385       start_port:
386         type: string
387         description: Start port
388         required: false
389         status: SUPPORTED
390       end_port:
391         type: string
392         description: End port
393         required: false
394         status: SUPPORTED
395   org.openecomp.datatypes.heat.contrail.network.rule.Rule:
396     derived_from: tosca.datatypes.Root
397     description: policy rule
398     properties:
399       src_ports:
400         type: list
401         description: Source ports
402         required: false
403         status: SUPPORTED
404         entry_schema:
405           type: org.openecomp.datatypes.heat.contrail.network.rule.PortPairs
406       protocol:
407         type: string
408         description: Protocol
409         required: false
410         status: SUPPORTED
411       dst_addresses:
412         type: list
413         description: Destination addresses
414         required: false
415         status: SUPPORTED
416         entry_schema:
417           type: org.openecomp.datatypes.heat.contrail.network.rule.VirtualNetwork
418       apply_service:
419         type: string
420         description: Service to apply
421         required: false
422         status: SUPPORTED
423       dst_ports:
424         type: list
425         description: Destination ports
426         required: false
427         status: SUPPORTED
428         entry_schema:
429           type: org.openecomp.datatypes.heat.contrail.network.rule.PortPairs
430       src_addresses:
431         type: list
432         description: Source addresses
433         required: false
434         status: SUPPORTED
435         entry_schema:
436           type: org.openecomp.datatypes.heat.contrail.network.rule.VirtualNetwork
437       direction:
438         type: string
439         description: Direction
440         required: false
441         status: SUPPORTED
442   org.openecomp.datatypes.heat.contrail.network.rule.RuleList:
443     derived_from: tosca.datatypes.Root
444     description: list of policy rules
445     properties:
446       policy_rule:
447         type: list
448         description: Contrail network rule
449         required: false
450         status: SUPPORTED
451         entry_schema:
452           type: org.openecomp.datatypes.heat.contrail.network.rule.Rule
453   org.openecomp.datatypes.heat.contrail.network.rule.VirtualNetwork:
454     derived_from: tosca.datatypes.Root
455     description: source and destination addresses
456     properties:
457       virtual_network:
458         type: string
459         description: Virtual network
460         required: false
461         status: SUPPORTED
462   org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule:
463     derived_from: tosca.datatypes.Root
464     description: Rules Pairs
465     properties:
466       remote_group_id:
467         type: string
468         description: The remote group ID to be associated with this security group rule
469         required: false
470         status: SUPPORTED
471       protocol:
472         type: string
473         description: The protocol that is matched by the security group rule
474         required: false
475         status: SUPPORTED
476         constraints:
477         - valid_values:
478           - tcp
479           - udp
480           - icmp
481       ethertype:
482         type: string
483         description: Ethertype of the traffic
484         required: false
485         default: IPv4
486         status: SUPPORTED
487         constraints:
488         - valid_values:
489           - IPv4
490           - IPv6
491       port_range_max:
492         type: integer
493         description: 'The maximum port number in the range that is matched by the
494           security group rule. '
495         required: false
496         status: SUPPORTED
497         constraints:
498         - in_range:
499           - 0
500           - 65535
501       remote_ip_prefix:
502         type: string
503         description: The remote IP prefix (CIDR) to be associated with this security group rule
504         required: false
505         status: SUPPORTED
506       remote_mode:
507         type: string
508         description: Whether to specify a remote group or a remote IP prefix
509         required: false
510         default: remote_ip_prefix
511         status: SUPPORTED
512         constraints:
513         - valid_values:
514           - remote_ip_prefix
515           - remote_group_id
516       direction:
517         type: string
518         description: The direction in which the security group rule is applied
519         required: false
520         default: ingress
521         status: SUPPORTED
522         constraints:
523         - valid_values:
524           - egress
525           - ingress
526       port_range_min:
527         type: integer
528         description: The minimum port number in the range that is matched by the security group rule.
529         required: false
530         status: SUPPORTED
531         constraints:
532         - in_range:
533           - 0
534           - 65535
535   org.openecomp.datatypes.heat.substitution.SubstitutionFiltering:
536     derived_from: tosca.datatypes.Root
537     description: Substitution Filter
538     properties:
539       substitute_service_template:
540         type: string
541         description: Substitute Service Template
542         required: true
543         status: SUPPORTED
544       index_value:
545         type: integer
546         description: Index value of the substitution service template runtime instance
547         required: false
548         default: 0
549         status: SUPPORTED
550         constraints:
551         - greater_or_equal: 0
552       count:
553         type: string
554         description: Count
555         required: false
556         default: 1
557         status: SUPPORTED
558       scaling_enabled:
559         type: boolean
560         description: Indicates whether service scaling is enabled
561         required: false
562         default: true
563         status: SUPPORTED
564       mandatory:
565         type: boolean
566         description: Mandatory
567         required: false
568         default: true
569         status: SUPPORTED
570   org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefDataSequence:
571     derived_from: tosca.datatypes.Root
572     description: network policy refs data sequence
573     properties:
574       network_policy_refs_data_sequence_major:
575         type: integer
576         description: Network Policy ref data sequence Major
577         required: false
578         status: SUPPORTED
579       network_policy_refs_data_sequence_minor:
580         type: integer
581         description: Network Policy ref data sequence Minor
582         required: false
583         status: SUPPORTED
584   org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefData:
585     derived_from: tosca.datatypes.Root
586     description: network policy refs data
587     properties:
588       network_policy_refs_data_sequence:
589         type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefDataSequence
590         description: Network Policy ref data sequence
591         required: false
592         status: SUPPORTED
593   org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnet:
594     derived_from: tosca.datatypes.Root
595     description: Network Ipam Ref Data Subnet
596     properties:
597       network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
598         type: string
599         description: Network ipam refs data ipam subnets ip prefix len
600         required: false
601         status: SUPPORTED
602       network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
603         type: string
604         description: Network ipam refs data ipam subnets ip prefix
605         required: false
606         status: SUPPORTED
607   org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnetList:
608     derived_from: tosca.datatypes.Root
609     description: Network Ipam Ref Data Subnet List
610     properties:
611       network_ipam_refs_data_ipam_subnets_subnet:
612         type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnet
613         description: Network ipam refs data ipam subnets
614         required: false
615         status: SUPPORTED
616       network_ipam_refs_data_ipam_subnets_addr_from_start:
617         type: string
618         description: Network ipam refs data ipam subnets addr from start
619         required: false
620         status: SUPPORTED
621   org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.IpamRefData:
622     derived_from: tosca.datatypes.Root
623     description: Network Ipam Ref Data
624     properties:
625       network_ipam_refs_data_ipam_subnets:
626         type: list
627         description: Network ipam refs data ipam subnets
628         required: false
629         status: SUPPORTED
630         entry_schema:
631           type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnetList
632   org.openecomp.datatypes.heat.contrailV2.network.rule.SrcVirtualNetwork:
633     derived_from: tosca.datatypes.Root
634     description: source addresses
635     properties:
636       network_policy_entries_policy_rule_src_addresses_virtual_network:
637         type: string
638         description: Source addresses Virtual network
639         required: false
640         status: SUPPORTED
641   org.openecomp.datatypes.heat.contrailV2.network.rule.DstVirtualNetwork:
642     derived_from: tosca.datatypes.Root
643     description: destination addresses
644     properties:
645       network_policy_entries_policy_rule_dst_addresses_virtual_network:
646         type: string
647         description: Destination addresses Virtual network
648         required: false
649         status: SUPPORTED
650   org.openecomp.datatypes.heat.contrailV2.network.rule.DstPortPairs:
651     derived_from: tosca.datatypes.Root
652     description: destination port pairs
653     properties:
654       network_policy_entries_policy_rule_dst_ports_start_port:
655         type: string
656         description: Start port
657         required: false
658         status: SUPPORTED
659       network_policy_entries_policy_rule_dst_ports_end_port:
660         type: string
661         description: End port
662         required: false
663         status: SUPPORTED
664   org.openecomp.datatypes.heat.contrailV2.network.rule.SrcPortPairs:
665     derived_from: tosca.datatypes.Root
666     description: source port pairs
667     properties:
668       network_policy_entries_policy_rule_src_ports_start_port:
669         type: string
670         description: Start port
671         required: false
672         status: SUPPORTED
673       network_policy_entries_policy_rule_src_ports_end_port:
674         type: string
675         description: End port
676         required: false
677         status: SUPPORTED
678   org.openecomp.datatypes.heat.contrailV2.network.rule.ActionList:
679     derived_from: tosca.datatypes.Root
680     description: Action List
681     properties:
682       network_policy_entries_policy_rule_action_list_simple_action:
683         type: string
684         description: Simple Action
685         required: false
686         status: SUPPORTED
687       network_policy_entries_policy_rule_action_list_apply_service:
688         type: list
689         description: Apply Service
690         required: false
691         status: SUPPORTED
692         entry_schema:
693           type: string
694   org.openecomp.datatypes.heat.contrailV2.network.rule.Rule:
695     derived_from: tosca.datatypes.Root
696     description: policy rule
697     properties:
698       network_policy_entries_policy_rule_dst_addresses:
699         type: list
700         description: Destination addresses
701         required: false
702         status: SUPPORTED
703         entry_schema:
704           type: org.openecomp.datatypes.heat.contrailV2.network.rule.DstVirtualNetwork
705       network_policy_entries_policy_rule_dst_ports:
706         type: list
707         description: Destination ports
708         required: false
709         status: SUPPORTED
710         entry_schema:
711           type: org.openecomp.datatypes.heat.contrailV2.network.rule.DstPortPairs
712       network_policy_entries_policy_rule_protocol:
713         type: string
714         description: Protocol
715         required: false
716         status: SUPPORTED
717       network_policy_entries_policy_rule_src_addresses:
718         type: list
719         description: Source addresses
720         required: false
721         status: SUPPORTED
722         entry_schema:
723           type: org.openecomp.datatypes.heat.contrailV2.network.rule.SrcVirtualNetwork
724       network_policy_entries_policy_rule_direction:
725         type: string
726         description: Direction
727         required: false
728         status: SUPPORTED
729       network_policy_entries_policy_rule_src_ports:
730         type: list
731         description: Source ports
732         required: false
733         status: SUPPORTED
734         entry_schema:
735           type: org.openecomp.datatypes.heat.contrailV2.network.rule.SrcPortPairs
736       network_policy_entries_policy_rule_action_list:
737         type: org.openecomp.datatypes.heat.contrailV2.network.rule.ActionList
738         description: Action list
739         required: false
740         status: SUPPORTED
741   org.openecomp.datatypes.heat.contrailV2.network.rule.RuleList:
742     derived_from: tosca.datatypes.Root
743     description: list of policy rules
744     properties:
745       network_policy_entries_policy_rule:
746         type: list
747         description: Contrail network rule
748         required: false
749         status: SUPPORTED
750         entry_schema:
751           type: org.openecomp.datatypes.heat.contrailV2.network.rule.Rule
752   org.openecomp.datatypes.heat.network.contrail.port.StaticRoute:
753     derived_from: tosca.datatypes.Root
754     description: static route
755     properties:
756       prefix:
757         type: string
758         description: Route prefix
759         required: false
760         status: SUPPORTED
761       next_hop:
762         type: string
763         description: Next hop
764         required: false
765         status: SUPPORTED
766       next_hop_type:
767         type: string
768         description: Next hop type
769         required: false
770         status: SUPPORTED
771   org.openecomp.datatypes.heat.network.contrail.AddressPair:
772     derived_from: tosca.datatypes.Root
773     description: Address Pair
774     properties:
775       address_mode:
776         type: string
777         description: Address mode active-active or active-standy
778         required: false
779         status: SUPPORTED
780         constraints:
781         - valid_values:
782           - active-active
783           - active-standby
784       prefix:
785         type: string
786         description: IP address prefix
787         required: false
788         status: SUPPORTED
789       mac_address:
790         type: string
791         description: Mac address
792         required: false
793         status: SUPPORTED
794   org.openecomp.datatypes.heat.network.contrail.InterfaceData:
795     derived_from: tosca.datatypes.Root
796     description: Interface Data
797     properties:
798       static_routes:
799         type: list
800         description: An ordered list of static routes to be added to this interface
801         required: false
802         status: SUPPORTED
803         entry_schema:
804           type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute
805       virtual_network:
806         type: string
807         description: Virtual Network for this interface
808         required: true
809         status: SUPPORTED
810       allowed_address_pairs:
811         type: list
812         description: List of allowed address pair for this interface
813         required: false
814         status: SUPPORTED
815         entry_schema:
816           type: org.openecomp.datatypes.heat.network.contrail.AddressPair
817       ip_address:
818         type: string
819         description: IP for this interface
820         required: false
821         status: SUPPORTED
822   org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties:
823     derived_from: tosca.datatypes.Root
824     description: Virtual Machine Interface Properties.
825     properties:
826       virtual_machine_interface_properties_service_interface_type:
827         type: string
828         description: Service Interface Type.
829         required: false
830         status: SUPPORTED
831   org.openecomp.datatypes.Root:
832     derived_from: tosca.datatypes.Root
833     description: |
834       The ECOMP root Data Type all other Data Types derive from
835     properties:
836       supplemental_data:
837         type: map
838         entry_schema:
839           description: |
840             A placeholder for missing properties that would be included in future ecomp model versions. fromat <key>:<value>
841           type: string
842   org.openecomp.datatypes.AssignmentRequirements:
843     derived_from: org.openecomp.datatypes.Root
844     properties:
845       is_required:
846         description: |
847           "true" indicates that assignment is required
848         type: boolean
849         default: false
850         required: true
851       count:
852         description: number of assignments required
853         type: integer
854         required: false
855   org.openecomp.datatypes.network.SubnetAssignments:
856     derived_from: org.openecomp.datatypes.Root
857     properties:
858       ip_network_address_plan:
859         type: string
860         required: false
861         description: Reference to EIPAM, VLAN or other address plan ID used to assign subnets to this network
862       dhcp_enabled:
863         type: boolean
864         required: false
865         description: \"true\" indicates the network has 1 or more policies
866       ip_version:
867         type: integer
868         constraints:
869         - valid_values:
870           - 4
871           - 6
872         required: true
873         description: The IP version of the subnet
874       cidr_mask:
875         type: integer
876         required: true
877         description: The default subnet CIDR mask
878       min_subnets_count:
879         type: integer
880         default: 1
881         required: true
882         description: Quantity of subnets that must be initially assigned
883   org.openecomp.datatypes.network.IPv4SubnetAssignments:
884     derived_from: org.openecomp.datatypes.network.SubnetAssignments
885     properties:
886       use_ipv4:
887         type: boolean
888         required: true
889         description: Indicates IPv4 subnet assignments
890   org.openecomp.datatypes.network.IPv6SubnetAssignments:
891     derived_from: org.openecomp.datatypes.network.SubnetAssignments
892     properties:
893       use_ipv6:
894         type: boolean
895         required: true
896         description: Indicates IPv6 subnet assignments
897   org.openecomp.datatypes.network.NetworkAssignments:
898     derived_from: org.openecomp.datatypes.Root
899     properties:
900       ecomp_generated_network_assignment:
901         type: boolean
902         required: true
903         default: false
904         description: |
905           \"true\" indicates that the network assignments will be auto-generated by ECOMP \"false\" indicates operator-supplied Network assignments file upload is required (e.g. VID will present prompt to operator to upload operator-supplied Network assignments file).
906       is_shared_network:
907         type: boolean
908         required: true
909         description: \"true\" means this network is shared by multiple Openstack tenants
910       is_external_network:
911         type: boolean
912         required: true
913         default: false
914         description: |
915           \"true\" means this Contrail external network
916       ipv4_subnet_default_assignment:
917         type: org.openecomp.datatypes.network.IPv4SubnetAssignments
918         required: true
919         description: IPv4 defualt subnet assignments
920       ipv6_subnet_default_assignment:
921         type: org.openecomp.datatypes.network.IPv6SubnetAssignments
922         required: true
923         description: IPv6 defualt subnet assignments
924   org.openecomp.datatypes.network.ProviderNetwork:
925     derived_from: org.openecomp.datatypes.Root
926     properties:
927       is_provider_network:
928         type: boolean
929         required: true
930         description: \"true\" indicates that this a Neutron provider type of network
931       physical_network_name:
932         type: string
933         required: false
934         constraints:
935         - valid_values:
936           - Physnet41
937           - Physnet42
938           - Physnet43
939           - Physnet44
940           - Physnet21
941           - Physnet22
942         description: |
943           Identifies the NUMA processor cluster to which this physical network interface belongs. NUMA instance correlates to the first digit of the Physical Network Name suffix (e.g. \"01\" = NUMA 0, \"11\" = NUMA 1)
944       numa:
945         type: string
946         required: false
947         constraints:
948         - valid_values:
949           - NUMA 0
950           - NUMA 1
951         description: |
952           PNIC instance within the NUMA processor cluster PNIC Instance correlates to the second digit of the Physical Network Name suffix (e.g. "01" = PNIC 1, "02" = "PNIC 2)
953       pnic_instance:
954         type: integer
955         required: false
956         description: PNIC instance within the NUMA processor cluster
957   org.openecomp.datatypes.network.NetworkFlows:
958     derived_from: org.openecomp.datatypes.Root
959     properties:
960       is_network_policy:
961         type: boolean
962         required: false
963         default: false
964         description: \"true\" indicates the network has 1 or more policies
965       network_policy:
966         type: string
967         required: false
968         description: 'Identifies the specific Cloud network policy that must be applied
969           to this network (source: from Policy Manager).'
970       is_bound_to_vpn:
971         type: boolean
972         required: false
973         default: false
974         description: \"true\" indicates the network has 1 or more vpn bindings
975       vpn_binding:
976         type: string
977         required: false
978         description: 'Identifies the specific VPN Binding entry in A&AI that must
979           be applied when creating this network (source: A&AI)'
980   org.openecomp.datatypes.network.VlanRequirements:
981     derived_from: org.openecomp.datatypes.Root
982     properties:
983       vlan_range_plan:
984         type: string
985         required: true
986         description: reference to a vlan range plan
987       vlan_type:
988         type: string
989         required: true
990         constraints:
991         - valid_values:
992           - c-tag
993           - s-tag
994         description: identifies the vlan type (e.g., c-tag)
995       vlan_count:
996         type: integer
997         required: true
998         description: identifies the number of vlan tags to assign to the CP from the plan
999   org.openecomp.datatypes.network.IpRequirements:
1000     derived_from: org.openecomp.datatypes.Root
1001     properties:
1002       ip_version:
1003         type: integer
1004         required: true
1005         constraints:
1006         - valid_values:
1007           - 4
1008           - 6
1009       ip_count:
1010         description: identifies the number of ip address to assign to the CP from the plan
1011         type: integer
1012         required: false
1013       floating_ip_count:
1014         type: integer
1015         required: false
1016       subnet_role:
1017         type: string
1018         required: false
1019       assingment_method:
1020         type: string
1021         required: true
1022         constraints:
1023         - valid_values:
1024           - fixed
1025           - dhcp
1026       dhcp_enabled:
1027         type: boolean
1028         required: false
1029       ip_count_required:
1030         description: identifies the number of ip address to assign to the CP from the plan
1031         type: org.openecomp.datatypes.AssignmentRequirements
1032         required: false
1033       floating_ip_count_required:
1034         type: org.openecomp.datatypes.AssignmentRequirements
1035         required: false
1036       ip_address_plan_name:
1037         type: string
1038         required: false
1039       vrf_name:
1040         type: string
1041         required: false
1042   org.openecomp.datatypes.network.MacAssignments:
1043     derived_from: org.openecomp.datatypes.Root
1044     properties:
1045       mac_range_plan:
1046         type: string
1047         required: true
1048         description: reference to a MAC address range plan
1049       mac_count:
1050         type: integer
1051         required: true
1052         description: identifies the number of MAC addresses to assign to the CP from the plan
1053   org.openecomp.datatypes.EcompHoming:
1054     derived_from: org.openecomp.datatypes.Root
1055     properties:
1056       ecomp_selected_instance_node_target:
1057         type: boolean
1058         required: true
1059         default: false
1060         description: |
1061           \"true\" indicates that the target deployment node for this instance will be auto-selected by ECOMP \"false\" indicates operator-supplied instance target deployment node required (e.g. VID will present a prompt to operator and collect the operator-selected target node for the deployment of this Network instance).
1062       homing_policy:
1063         type: string
1064         required: false
1065         description: Referenc to a service level homing policy that ECOMP will use for instance deployment target node
1066       instance_node_target:
1067         type: string
1068         required: false
1069         description: Instance target deployment node
1070   org.openecomp.datatypes.EcompNaming:
1071     derived_from: org.openecomp.datatypes.Root
1072     properties:
1073       ecomp_generated_naming:
1074         type: boolean
1075         required: true
1076         default: true
1077         description: |
1078           \"true\" indicates that the name for the instance will be auto-generated by ECOMP. \"false\" indicates operator-supplied name required (e.g. VID will present prompt to operator and collect the operator-supplied instance name).
1079       naming_policy:
1080         type: string
1081         required: false
1082         description: Referenc to naming policy that ECOMP will use when the name is auto-generated
1083   org.openecomp.datatypes.network.MacRequirements:
1084     derived_from: org.openecomp.datatypes.Root
1085     properties:
1086       mac_range_plan:
1087         description: reference to a MAC address range plan
1088         type: string
1089         required: false
1090       mac_count:
1091         description: identifies the number of MAC addresses to assign to the CP from the plan
1092         type: integer
1093         required: false
1094       mac_count_required:
1095         description: identifies the number of MAC addresses to assign to the CP from the plan
1096         type: org.openecomp.datatypes.AssignmentRequirements
1097   org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairIp:
1098     derived_from: tosca.datatypes.Root
1099     description: Virtual Machine Sub Interface Address Pair IP.
1100     properties:
1101       ip_prefix:
1102         type: string
1103         description: IP Prefix.
1104         required: false
1105         status: SUPPORTED
1106       ip_prefix_len:
1107         type: integer
1108         description: IP Prefix Len.
1109         required: false
1110         status: SUPPORTED
1111   org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.MacAddress:
1112     derived_from: tosca.datatypes.Root
1113     description: Virtual Machine Sub Interface Mac Address.
1114     properties:
1115       mac_address:
1116         type: list
1117         description: Mac Addresses List.
1118         required: false
1119         status: SUPPORTED
1120         entry_schema:
1121           type: string
1122   org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.Properties:
1123     derived_from: tosca.datatypes.Root
1124     description: Virtual Machine Sub Interface VLAN Properties.
1125     properties:
1126       sub_interface_vlan_tag:
1127         type: string
1128         description: Sub Interface VLAN Tag.
1129         required: false
1130         status: SUPPORTED
1131   org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPair:
1132     derived_from: tosca.datatypes.Root
1133     description: Virtual Machine Sub Interface Address Pair.
1134     properties:
1135       address_mode:
1136         type: string
1137         description: Address Mode.
1138         required: false
1139         status: SUPPORTED
1140       ip:
1141         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairIp
1142         description: IP.
1143         required: false
1144         status: SUPPORTED
1145       mac:
1146         type: string
1147         description: Mac.
1148         required: false
1149         status: SUPPORTED
1150   org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs:
1151     derived_from: tosca.datatypes.Root
1152     description: Virtual Machine Sub Interface Address Pairs.
1153     properties:
1154       allowed_address_pair:
1155         type: list
1156         description: Addresses pair List.
1157         required: false
1158         status: SUPPORTED
1159         entry_schema:
1160           type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPair
1161   org.openecomp.datatypes.Naming:
1162     derived_from: org.openecomp.datatypes.Root
1163     properties:
1164       ecomp_generated_naming:
1165         description: |
1166           "true" indicates that the name for the instance will be auto-generated by ECOMP. "false" indicates operator-supplied name required (e.g. VID will present prompt to operator and collect the operator-supplied instance name).
1167         type: boolean
1168         default: true
1169         required: true
1170       naming_policy:
1171         description: Reference to naming policy that ECOMP will use when the name is auto-generated
1172         type: string
1173         required: false
1174       instance_name:
1175         description: indicates operator-supplied name required (e.g. VID will present prompt to operator and collect the operator-supplied instance name).
1176         type: string
1177         required: false
1178   org.openecomp.datatypes.flavors.ComputeFlavor:
1179     derived_from: tosca.datatypes.Root
1180     properties:
1181       num_cpus:
1182         type: integer
1183       disk_size:
1184         type: scalar-unit.size
1185       mem_size:
1186         type: scalar-unit.size
1187   org.openecomp.datatypes.flavors.LicenseFlavor:
1188     derived_from: tosca.datatypes.Root
1189     properties:
1190       feature_group_uuid:
1191         type: string
1192   org.openecomp.datatypes.flavors.VendorInfo:
1193     derived_from: tosca.datatypes.Root
1194     properties:
1195       manufacturer_reference_number:
1196         type: string
1197       vendor_model:
1198         type: string
1199   org.openecomp.datatypes.flavors.DeploymentFlavor:
1200     derived_from: tosca.datatypes.Root
1201     properties:
1202       sp_part_number:
1203         type: string
1204       vendor_info:
1205         type: org.openecomp.datatypes.flavors.VendorInfo
1206       compute_flavor:
1207         type: org.openecomp.datatypes.flavors.ComputeFlavor
1208       license_flavor:
1209         type: org.openecomp.datatypes.flavors.LicenseFlavor
1210         required: false
1211   org.openecomp.datatypes.ImageInfo:
1212     derived_from: tosca.datatypes.Root
1213     properties:
1214       software_version:
1215         type: string
1216       file_name:
1217         type: string
1218       file_hash:
1219         type: string
1220         description: checksum/signature
1221       file_hash_type:
1222         type: string
1223         required: false
1224         default: md5
1225   tosca.datatypes.nfv.VnfcConfigurableProperties:
1226     derived_from: tosca.datatypes.Root
1227     properties:
1228       additional_vnfc_configurable_properties:
1229         type: map
1230         entry_schema:
1231           type: string
1232         required: false
1233   tosca.datatypes.nfv.RequestedAdditionalCapability:
1234     derived_from: tosca.datatypes.Root
1235     properties:
1236       support_mandatory:
1237         type: boolean
1238         required: true
1239       min_requested_additional_capability_version:
1240         type: string
1241         required: false
1242       preferred_requested_additional_capability_version:
1243         type: string
1244         required: false
1245       requested_additional_capability_name:
1246         type: string
1247         required: true
1248       target_performance_parameters:
1249         type: map
1250         entry_schema:
1251           type: string
1252         required: true
1253   tosca.datatypes.nfv.VirtualMemory:
1254     derived_from: tosca.datatypes.Root
1255     properties:
1256       virtual_mem_size:
1257         type: scalar-unit.size
1258         required: true
1259       virtual_mem_oversubscription_policy:
1260         type: string
1261         required: false
1262       numa_enabled:
1263         type: boolean
1264         required: false
1265   tosca.datatypes.nfv.VirtualCpuPinning:
1266     derived_from: tosca.datatypes.Root
1267     properties:
1268       cpu_pinning_policy:
1269         type: string
1270         constraints:
1271         - valid_values:
1272           - static
1273           - dynamic
1274         required: false
1275       cpu_pinning_map:
1276         type: map
1277         entry_schema:
1278           type: string
1279         required: false
1280   tosca.datatypes.nfv.VirtualCpu:
1281     derived_from: tosca.datatypes.Root
1282     properties:
1283       cpu_architecture:
1284         type: string
1285         required: false
1286       num_virtual_cpu:
1287         type: integer
1288         required: true
1289       virtual_cpu_clock:
1290         type: scalar-unit.frequency
1291         required: false
1292       virtual_cpu_oversubscription_policy:
1293         type: string
1294         required: false
1295       virtual_cpu_pinning:
1296         type: tosca.datatypes.nfv.VirtualCpuPinning
1297         required: false
1298   tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements:
1299     derived_from: tosca.datatypes.Root
1300     properties:
1301       name:
1302         type: string
1303         required: false
1304       description:
1305         type: string
1306         required: false
1307       support_mandatory:
1308         type: boolean
1309         required: true
1310       requirement:
1311         type: string
1312         required: true
1313   tosca.datatypes.nfv.L2AddressData:
1314     derived_from: tosca.datatypes.Root
1315     properties:
1316       address:
1317         type: string
1318         required: false
1319   tosca.datatypes.nfv.L3AddressData:
1320     derived_from: tosca.datatypes.Root
1321     properties:
1322       ip_address_assignment:
1323         type: boolean
1324         required: true
1325       floating_ip_activated:
1326         type: boolean
1327         required: true
1328       ip_address_type:
1329         type: string
1330         required: false
1331         constraints:
1332         - valid_values:
1333           - ipv4
1334           - ipv6
1335       number_of_ip_address:
1336         type: integer
1337         required: false
1338   tosca.datatype.nfv.AddressData:
1339     properties:
1340       address_type:
1341         constraints:
1342         - valid_values:
1343           - mac_address
1344           - ip_address
1345         type: string
1346       l2_address_data:
1347         required: false
1348         type: tosca.datatypes.nfv.L2AddressData
1349       l3_address_data:
1350         required: false
1351         type: tosca.datatypes.nfv.L3AddressData
1352   tosca.datatypes.nfv.ConnectivityType:
1353     derived_from: tosca.datatypes.Root
1354     properties:
1355       layer_protocol:
1356         type: string
1357         required: true
1358         constraints:
1359         - valid_values:
1360           - ethernet
1361           - mpls
1362           - odu2
1363           - ipv4
1364           - ipv6
1365           - pseudo_wire
1366       flow_pattern:
1367         type: string
1368         required: false
1369   tosca.datatypes.nfv.VlFlavour:
1370     derived_from: tosca.datatypes.Root
1371     properties:
1372       flavourId:
1373         type: string
1374   tosca.datatypes.nfv.ext.AddressPairs:
1375     properties:
1376       ip:
1377         type: string
1378         required: false
1379       mac:
1380         type: string
1381         required: false
1382   tosca.datatypes.nfv.ext.FloatingIP:
1383     properties:
1384       external_network:
1385         type: string
1386         required: false
1387       ip_address:
1388         type: string
1389         required: false
1390   tosca.datatypes.nfv.ext.LocationInfo:
1391     properties:
1392       availability_zone:
1393         type: string
1394         required: false
1395       vimid:
1396         type: integer
1397         required: false
1398       tenant:
1399         type: string
1400         required: false
1401   tosca.datatypes.nfv.ext.HostRouteInfo:
1402     properties:
1403       destination:
1404         type: string
1405         required: false
1406       nexthop:
1407         type: string
1408         required: false
1409   tosca.datatypes.nfv.ext.InjectData:
1410     properties:
1411       file_name:
1412         type: string
1413         required: false
1414       file_data:
1415         type: string
1416         required: false
1417   tosca.datatypes.nfv.ext.zte.WatchDog:
1418     properties:
1419       enable_delay:
1420         type: integer
1421         required: false
1422       action:
1423         type: string
1424         required: false
1425   tosca.datatypes.nfv.ext.LocalAffinityOrAntiAffinityRule:
1426     properties:
1427       scope:
1428         type: string
1429         required: false
1430       affinity_antiaffinity:
1431         type: string
1432         required: false