Merge "Clamp uses new Loop implementation by default"
[clamp.git] / src / test / resources / example / sdc / expected-result / policy-data.yaml
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 imports:
16 - data.yml
17 policy_types:
18   tosca.policies.Root:
19     description: The TOSCA Policy Type all other TOSCA Policy Types derive from
20   tosca.policies.Placement:
21     derived_from: tosca.policies.Root
22     description: The TOSCA Policy Type definition that is used to govern placement of TOSCA nodes or groups of nodes.
23   tosca.policies.Scaling:
24     derived_from: tosca.policies.Root
25     description: The TOSCA Policy Type definition that is used to govern scaling of TOSCA nodes or groups of nodes.
26   tosca.policies.Update:
27     derived_from: tosca.policies.Root
28     description: The TOSCA Policy Type definition that is used to govern update of TOSCA nodes or groups of nodes.
29   tosca.policies.Performance:
30     derived_from: tosca.policies.Root
31     description: The TOSCA Policy Type definition that is used to declare performance requirements for TOSCA nodes or groups of nodes.
32   org.openecomp.policies.placement.Antilocate:
33     derived_from: tosca.policies.Placement
34     description: My placement policy for separation based upon container type value
35     properties:
36       name:
37         type: string
38         description: The name of the policy
39         required: false
40         status: SUPPORTED
41       container_type:
42         type: string
43         description: container type
44         required: false
45         status: SUPPORTED
46         constraints:
47         - valid_values:
48           - host
49           - region
50           - compute
51   org.openecomp.policies.placement.Colocate:
52     derived_from: tosca.policies.Placement
53     description: Keep associated nodes (groups of nodes) based upon affinity value
54     properties:
55       name:
56         type: string
57         description: The name of the policy
58         required: false
59         status: SUPPORTED
60       affinity:
61         type: string
62         description: affinity
63         required: true
64         status: SUPPORTED
65         constraints:
66         - valid_values:
67           - host
68           - region
69           - compute
70   org.openecomp.policies.placement.valet.Diversity:
71     derived_from: tosca.policies.Placement
72     description: Valet Diversity
73     properties:
74       level:
75         type: string
76         description: diversity
77         required: false
78         default: host
79         status: SUPPORTED
80         constraints:
81         - valid_values:
82           - host
83           - rack
84   org.openecomp.policies.placement.valet.Exclusivity:
85     derived_from: tosca.policies.Placement
86     description: Valet Exclusivity
87     properties:
88       level:
89         type: string
90         description: exclusivity
91         required: false
92         default: host
93         status: SUPPORTED
94         constraints:
95         - valid_values:
96           - host
97           - rack
98   org.openecomp.policies.placement.valet.Affinity:
99     derived_from: tosca.policies.Placement
100     description: Valet Affinity
101     properties:
102       level:
103         type: string
104         description: affinity
105         required: false
106         default: host
107         status: SUPPORTED
108         constraints:
109         - valid_values:
110           - host
111           - rack
112   org.openecomp.policies.scaling.Fixed:
113     derived_from: tosca.policies.Scaling
114     properties:
115       quantity:
116         description: the exact number of instances to keep up
117         type: integer
118         required: true
119   org.openecomp.policies.External:
120     derived_from: tosca.policies.Root
121     description: externally managed policy (for example, type="network assignment", source="Policy Manager", name="route target")
122     properties:
123       source:
124         type: string
125         description: The name of the server that exposes the policy with predefined type and name.
126         required: false
127       type:
128         type: string
129         description: The type (category) of the policy same as it is defined in the source.
130         required: false
131       name:
132         type: string
133         description: The name of the policy, that related to specific type, same as it is defined in the source.
134         required: false
135   tosca.policies.Monitoring:
136     derived_from: tosca.policies.Root
137     description: A base policy type for all policies that governs monitoring provisioning
138   onap.policies.monitoring.cdap.tca.hi.lo.app:
139     derived_from: tosca.policies.Monitoring
140     version: 1.0.0
141     properties:
142       tca_policy:
143         type: map
144         description: TCA Policy JSON
145         entry_schema:
146           type: onap.datatypes.monitoring.tca_policy
147 data_types:
148   tosca.datatypes.Root:
149     description: The TOSCA root Data Type all other TOSCA base Data Types derive from
150   integer:
151     derived_from: tosca.datatypes.Root
152   string:
153     derived_from: tosca.datatypes.Root
154   boolean:
155     derived_from: tosca.datatypes.Root
156   float:
157     derived_from: tosca.datatypes.Root
158   list:
159     derived_from: tosca.datatypes.Root
160   map:
161     derived_from: tosca.datatypes.Root
162   json:
163     derived_from: tosca.datatypes.Root
164   scalar-unit:
165     derived_from: tosca.datatypes.Root
166   scalar-unit.size:
167     derived_from: scalar-unit
168   scalar-unit.time:
169     derived_from: scalar-unit
170   scalar-unit.frequency:
171     derived_from: scalar-unit
172   tosca.datatypes.Credential:
173     derived_from: tosca.datatypes.Root
174     properties:
175       protocol:
176         type: string
177         required: false
178       token_type:
179         type: string
180         default: password
181       token:
182         type: string
183       keys:
184         type: map
185         required: false
186         entry_schema:
187           type: string
188       user:
189         type: string
190         required: false
191   org.openecomp.datatypes.PortMirroringConnectionPointDescription:
192     derived_from: tosca.datatypes.Root
193     properties:
194       nf_naming_code:
195         type: string
196       nfc_naming_code:
197         type: string
198       network_role:
199         type: string
200       pps_capacity:
201         type: string
202       nf_type:
203         type: string
204         description: deprecated
205       nfc_type:
206         type: string
207         description: deprecated
208   tosca.datatypes.TimeInterval:
209     derived_from: tosca.datatypes.Root
210     properties:
211       start_time:
212         type: timestamp
213         required: true
214       end_time:
215         type: timestamp
216         required: true
217   tosca.datatypes.network.NetworkInfo:
218     derived_from: tosca.datatypes.Root
219     properties:
220       network_name:
221         type: string
222       network_id:
223         type: string
224       addresses:
225         type: list
226         entry_schema:
227           type: string
228   tosca.datatypes.network.PortInfo:
229     derived_from: tosca.datatypes.Root
230     properties:
231       port_name:
232         type: string
233       port_id:
234         type: string
235       network_id:
236         type: string
237       mac_address:
238         type: string
239       addresses:
240         type: list
241         entry_schema:
242           type: string
243   tosca.datatypes.network.PortDef:
244     derived_from: integer
245     constraints:
246     - in_range:
247       - 1
248       - 65535
249   tosca.datatypes.network.PortSpec:
250     derived_from: tosca.datatypes.Root
251     properties:
252       protocol:
253         type: string
254         required: true
255         default: tcp
256         constraints:
257         - valid_values:
258           - udp
259           - tcp
260           - igmp
261       target:
262         type: tosca.datatypes.network.PortDef
263       target_range:
264         type: range
265         constraints:
266         - in_range:
267           - 1
268           - 65535
269       source:
270         type: tosca.datatypes.network.PortDef
271       source_range:
272         type: range
273         constraints:
274         - in_range:
275           - 1
276           - 65535
277   org.openecomp.datatypes.heat.network.AddressPair:
278     derived_from: tosca.datatypes.Root
279     description: MAC/IP address pairs
280     properties:
281       mac_address:
282         type: string
283         description: MAC address
284         required: false
285         status: SUPPORTED
286       ip_address:
287         type: string
288         description: IP address
289         required: false
290         status: SUPPORTED
291   org.openecomp.datatypes.heat.network.subnet.HostRoute:
292     derived_from: tosca.datatypes.Root
293     description: Host route info for the subnet
294     properties:
295       destination:
296         type: string
297         description: The destination for static route
298         required: false
299         status: SUPPORTED
300       nexthop:
301         type: string
302         description: The next hop for the destination
303         required: false
304         status: SUPPORTED
305   org.openecomp.datatypes.heat.network.AllocationPool:
306     derived_from: tosca.datatypes.Root
307     description: The start and end addresses for the allocation pool
308     properties:
309       start:
310         type: string
311         description: Start address for the allocation pool
312         required: false
313         status: SUPPORTED
314       end:
315         type: string
316         description: End address for the allocation pool
317         required: false
318         status: SUPPORTED
319   org.openecomp.datatypes.heat.network.neutron.Subnet:
320     derived_from: tosca.datatypes.Root
321     description: A subnet represents an IP address block that can be used for assigning IP addresses to virtual instances
322     properties:
323       tenant_id:
324         type: string
325         description: The ID of the tenant who owns the network
326         required: false
327         status: SUPPORTED
328       enable_dhcp:
329         type: boolean
330         description: Set to true if DHCP is enabled and false if DHCP is disabled
331         required: false
332         default: true
333         status: SUPPORTED
334       ipv6_address_mode:
335         type: string
336         description: IPv6 address mode
337         required: false
338         status: SUPPORTED
339         constraints:
340         - valid_values:
341           - dhcpv6-stateful
342           - dhcpv6-stateless
343           - slaac
344       ipv6_ra_mode:
345         type: string
346         description: IPv6 RA (Router Advertisement) mode
347         required: false
348         status: SUPPORTED
349         constraints:
350         - valid_values:
351           - dhcpv6-stateful
352           - dhcpv6-stateless
353           - slaac
354       value_specs:
355         type: map
356         description: Extra parameters to include in the request
357         required: false
358         default: {}
359         status: SUPPORTED
360         entry_schema:
361           type: string
362       allocation_pools:
363         type: list
364         description: The start and end addresses for the allocation pools
365         required: false
366         status: SUPPORTED
367         entry_schema:
368           type: org.openecomp.datatypes.heat.network.AllocationPool
369       subnetpool:
370         type: string
371         description: The name or ID of the subnet pool
372         required: false
373         status: SUPPORTED
374       dns_nameservers:
375         type: list
376         description: A specified set of DNS name servers to be used
377         required: false
378         default: []
379         status: SUPPORTED
380         entry_schema:
381           type: string
382       host_routes:
383         type: list
384         description: The gateway IP address
385         required: false
386         status: SUPPORTED
387         entry_schema:
388           type: org.openecomp.datatypes.heat.network.subnet.HostRoute
389       ip_version:
390         type: integer
391         description: The gateway IP address
392         required: false
393         default: 4
394         status: SUPPORTED
395         constraints:
396         - valid_values:
397           - '4'
398           - '6'
399       name:
400         type: string
401         description: The name of the subnet
402         required: false
403         status: SUPPORTED
404       prefixlen:
405         type: integer
406         description: Prefix length for subnet allocation from subnet pool
407         required: false
408         status: SUPPORTED
409         constraints:
410         - greater_or_equal: 0
411       cidr:
412         type: string
413         description: The CIDR
414         required: false
415         status: SUPPORTED
416       gateway_ip:
417         type: string
418         description: The gateway IP address
419         required: false
420         status: SUPPORTED
421   org.openecomp.datatypes.heat.novaServer.network.PortExtraProperties:
422     derived_from: tosca.datatypes.Root
423     description: Nova server network expand properties for port
424     properties:
425       port_security_enabled:
426         type: boolean
427         description: Flag to enable/disable port security on the port
428         required: false
429         status: SUPPORTED
430       mac_address:
431         type: string
432         description: MAC address to give to this port
433         required: false
434         status: SUPPORTED
435       admin_state_up:
436         type: boolean
437         description: The administrative state of this port
438         required: false
439         default: true
440         status: SUPPORTED
441       qos_policy:
442         type: string
443         description: The name or ID of QoS policy to attach to this port
444         required: false
445         status: SUPPORTED
446       allowed_address_pairs:
447         type: list
448         description: Additional MAC/IP address pairs allowed to pass through the port
449         required: false
450         status: SUPPORTED
451         entry_schema:
452           type: org.openecomp.datatypes.heat.network.AddressPair
453       binding:vnic_type:
454         type: string
455         description: The vnic type to be bound on the neutron port
456         required: false
457         status: SUPPORTED
458         constraints:
459         - valid_values:
460           - macvtap
461           - direct
462           - normal
463       value_specs:
464         type: map
465         description: Extra parameters to include in the request
466         required: false
467         default: {}
468         status: SUPPORTED
469         entry_schema:
470           type: string
471   org.openecomp.datatypes.heat.novaServer.network.AddressInfo:
472     derived_from: tosca.datatypes.network.NetworkInfo
473     description: Network addresses with corresponding port id
474     properties:
475       port_id:
476         type: string
477         description: Port id
478         required: false
479         status: SUPPORTED
480   org.openecomp.datatypes.heat.neutron.port.FixedIps:
481     derived_from: tosca.datatypes.Root
482     description: subnet/ip_address
483     properties:
484       subnet:
485         type: string
486         description: Subnet in which to allocate the IP address for this port
487         required: false
488         status: SUPPORTED
489       ip_address:
490         type: string
491         description: IP address desired in the subnet for this port
492         required: false
493         status: SUPPORTED
494       subnet_id:
495         type: string
496         description: Subnet in which to allocate the IP address for this port
497         required: false
498         status: SUPPORTED
499   org.openecomp.datatypes.heat.FileInfo:
500     derived_from: tosca.datatypes.Root
501     description: Heat File Info
502     properties:
503       file:
504         type: string
505         description: The required URI string (relative or absolute) which can be used to locate the file
506         required: true
507         status: SUPPORTED
508       file_type:
509         type: string
510         description: The type of the file
511         required: true
512         status: SUPPORTED
513         constraints:
514         - valid_values:
515           - base
516           - env
517           - volume
518           - network
519   org.openecomp.datatypes.heat.contrail.network.rule.PortPairs:
520     derived_from: tosca.datatypes.Root
521     description: source and destination port pairs
522     properties:
523       start_port:
524         type: string
525         description: Start port
526         required: false
527         status: SUPPORTED
528       end_port:
529         type: string
530         description: End port
531         required: false
532         status: SUPPORTED
533   org.openecomp.datatypes.heat.contrail.network.rule.Rule:
534     derived_from: tosca.datatypes.Root
535     description: policy rule
536     properties:
537       src_ports:
538         type: list
539         description: Source ports
540         required: false
541         status: SUPPORTED
542         entry_schema:
543           type: org.openecomp.datatypes.heat.contrail.network.rule.PortPairs
544       protocol:
545         type: string
546         description: Protocol
547         required: false
548         status: SUPPORTED
549       dst_addresses:
550         type: list
551         description: Destination addresses
552         required: false
553         status: SUPPORTED
554         entry_schema:
555           type: org.openecomp.datatypes.heat.contrail.network.rule.VirtualNetwork
556       apply_service:
557         type: string
558         description: Service to apply
559         required: false
560         status: SUPPORTED
561       dst_ports:
562         type: list
563         description: Destination ports
564         required: false
565         status: SUPPORTED
566         entry_schema:
567           type: org.openecomp.datatypes.heat.contrail.network.rule.PortPairs
568       src_addresses:
569         type: list
570         description: Source addresses
571         required: false
572         status: SUPPORTED
573         entry_schema:
574           type: org.openecomp.datatypes.heat.contrail.network.rule.VirtualNetwork
575       direction:
576         type: string
577         description: Direction
578         required: false
579         status: SUPPORTED
580   org.openecomp.datatypes.heat.contrail.network.rule.RuleList:
581     derived_from: tosca.datatypes.Root
582     description: list of policy rules
583     properties:
584       policy_rule:
585         type: list
586         description: Contrail network rule
587         required: false
588         status: SUPPORTED
589         entry_schema:
590           type: org.openecomp.datatypes.heat.contrail.network.rule.Rule
591   org.openecomp.datatypes.heat.contrail.network.rule.VirtualNetwork:
592     derived_from: tosca.datatypes.Root
593     description: source and destination addresses
594     properties:
595       virtual_network:
596         type: string
597         description: Virtual network
598         required: false
599         status: SUPPORTED
600   org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule:
601     derived_from: tosca.datatypes.Root
602     description: Rules Pairs
603     properties:
604       remote_group_id:
605         type: string
606         description: The remote group ID to be associated with this security group rule
607         required: false
608         status: SUPPORTED
609       protocol:
610         type: string
611         description: The protocol that is matched by the security group rule
612         required: false
613         status: SUPPORTED
614         constraints:
615         - valid_values:
616           - tcp
617           - udp
618           - icmp
619       ethertype:
620         type: string
621         description: Ethertype of the traffic
622         required: false
623         default: IPv4
624         status: SUPPORTED
625         constraints:
626         - valid_values:
627           - IPv4
628           - IPv6
629       port_range_max:
630         type: integer
631         description: 'The maximum port number in the range that is matched by the
632           security group rule. '
633         required: false
634         status: SUPPORTED
635         constraints:
636         - in_range:
637           - 0
638           - 65535
639       remote_ip_prefix:
640         type: string
641         description: The remote IP prefix (CIDR) to be associated with this security group rule
642         required: false
643         status: SUPPORTED
644       remote_mode:
645         type: string
646         description: Whether to specify a remote group or a remote IP prefix
647         required: false
648         default: remote_ip_prefix
649         status: SUPPORTED
650         constraints:
651         - valid_values:
652           - remote_ip_prefix
653           - remote_group_id
654       direction:
655         type: string
656         description: The direction in which the security group rule is applied
657         required: false
658         default: ingress
659         status: SUPPORTED
660         constraints:
661         - valid_values:
662           - egress
663           - ingress
664       port_range_min:
665         type: integer
666         description: The minimum port number in the range that is matched by the security group rule.
667         required: false
668         status: SUPPORTED
669         constraints:
670         - in_range:
671           - 0
672           - 65535
673   org.openecomp.datatypes.heat.substitution.SubstitutionFiltering:
674     derived_from: tosca.datatypes.Root
675     description: Substitution Filter
676     properties:
677       substitute_service_template:
678         type: string
679         description: Substitute Service Template
680         required: true
681         status: SUPPORTED
682       index_value:
683         type: integer
684         description: Index value of the substitution service template runtime instance
685         required: false
686         default: 0
687         status: SUPPORTED
688         constraints:
689         - greater_or_equal: 0
690       count:
691         type: string
692         description: Count
693         required: false
694         default: 1
695         status: SUPPORTED
696       scaling_enabled:
697         type: boolean
698         description: Indicates whether service scaling is enabled
699         required: false
700         default: true
701         status: SUPPORTED
702       mandatory:
703         type: boolean
704         description: Mandatory
705         required: false
706         default: true
707         status: SUPPORTED
708   org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefDataSequence:
709     derived_from: tosca.datatypes.Root
710     description: network policy refs data sequence
711     properties:
712       network_policy_refs_data_sequence_major:
713         type: integer
714         description: Network Policy ref data sequence Major
715         required: false
716         status: SUPPORTED
717       network_policy_refs_data_sequence_minor:
718         type: integer
719         description: Network Policy ref data sequence Minor
720         required: false
721         status: SUPPORTED
722   org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefData:
723     derived_from: tosca.datatypes.Root
724     description: network policy refs data
725     properties:
726       network_policy_refs_data_sequence:
727         type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefDataSequence
728         description: Network Policy ref data sequence
729         required: false
730         status: SUPPORTED
731   org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnet:
732     derived_from: tosca.datatypes.Root
733     description: Network Ipam Ref Data Subnet
734     properties:
735       network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
736         type: string
737         description: Network ipam refs data ipam subnets ip prefix len
738         required: false
739         status: SUPPORTED
740       network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
741         type: string
742         description: Network ipam refs data ipam subnets ip prefix
743         required: false
744         status: SUPPORTED
745   org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnetList:
746     derived_from: tosca.datatypes.Root
747     description: Network Ipam Ref Data Subnet List
748     properties:
749       network_ipam_refs_data_ipam_subnets_subnet:
750         type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnet
751         description: Network ipam refs data ipam subnets
752         required: false
753         status: SUPPORTED
754       network_ipam_refs_data_ipam_subnets_addr_from_start:
755         type: string
756         description: Network ipam refs data ipam subnets addr from start
757         required: false
758         status: SUPPORTED
759   org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.IpamRefData:
760     derived_from: tosca.datatypes.Root
761     description: Network Ipam Ref Data
762     properties:
763       network_ipam_refs_data_ipam_subnets:
764         type: list
765         description: Network ipam refs data ipam subnets
766         required: false
767         status: SUPPORTED
768         entry_schema:
769           type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnetList
770   org.openecomp.datatypes.heat.contrailV2.network.rule.SrcVirtualNetwork:
771     derived_from: tosca.datatypes.Root
772     description: source addresses
773     properties:
774       network_policy_entries_policy_rule_src_addresses_virtual_network:
775         type: string
776         description: Source addresses Virtual network
777         required: false
778         status: SUPPORTED
779   org.openecomp.datatypes.heat.contrailV2.network.rule.DstVirtualNetwork:
780     derived_from: tosca.datatypes.Root
781     description: destination addresses
782     properties:
783       network_policy_entries_policy_rule_dst_addresses_virtual_network:
784         type: string
785         description: Destination addresses Virtual network
786         required: false
787         status: SUPPORTED
788   org.openecomp.datatypes.heat.contrailV2.network.rule.DstPortPairs:
789     derived_from: tosca.datatypes.Root
790     description: destination port pairs
791     properties:
792       network_policy_entries_policy_rule_dst_ports_start_port:
793         type: string
794         description: Start port
795         required: false
796         status: SUPPORTED
797       network_policy_entries_policy_rule_dst_ports_end_port:
798         type: string
799         description: End port
800         required: false
801         status: SUPPORTED
802   org.openecomp.datatypes.heat.contrailV2.network.rule.SrcPortPairs:
803     derived_from: tosca.datatypes.Root
804     description: source port pairs
805     properties:
806       network_policy_entries_policy_rule_src_ports_start_port:
807         type: string
808         description: Start port
809         required: false
810         status: SUPPORTED
811       network_policy_entries_policy_rule_src_ports_end_port:
812         type: string
813         description: End port
814         required: false
815         status: SUPPORTED
816   org.openecomp.datatypes.heat.contrailV2.network.rule.ActionList:
817     derived_from: tosca.datatypes.Root
818     description: Action List
819     properties:
820       network_policy_entries_policy_rule_action_list_simple_action:
821         type: string
822         description: Simple Action
823         required: false
824         status: SUPPORTED
825       network_policy_entries_policy_rule_action_list_apply_service:
826         type: list
827         description: Apply Service
828         required: false
829         status: SUPPORTED
830         entry_schema:
831           type: string
832   org.openecomp.datatypes.heat.contrailV2.network.rule.Rule:
833     derived_from: tosca.datatypes.Root
834     description: policy rule
835     properties:
836       network_policy_entries_policy_rule_dst_addresses:
837         type: list
838         description: Destination addresses
839         required: false
840         status: SUPPORTED
841         entry_schema:
842           type: org.openecomp.datatypes.heat.contrailV2.network.rule.DstVirtualNetwork
843       network_policy_entries_policy_rule_dst_ports:
844         type: list
845         description: Destination ports
846         required: false
847         status: SUPPORTED
848         entry_schema:
849           type: org.openecomp.datatypes.heat.contrailV2.network.rule.DstPortPairs
850       network_policy_entries_policy_rule_protocol:
851         type: string
852         description: Protocol
853         required: false
854         status: SUPPORTED
855       network_policy_entries_policy_rule_src_addresses:
856         type: list
857         description: Source addresses
858         required: false
859         status: SUPPORTED
860         entry_schema:
861           type: org.openecomp.datatypes.heat.contrailV2.network.rule.SrcVirtualNetwork
862       network_policy_entries_policy_rule_direction:
863         type: string
864         description: Direction
865         required: false
866         status: SUPPORTED
867       network_policy_entries_policy_rule_src_ports:
868         type: list
869         description: Source ports
870         required: false
871         status: SUPPORTED
872         entry_schema:
873           type: org.openecomp.datatypes.heat.contrailV2.network.rule.SrcPortPairs
874       network_policy_entries_policy_rule_action_list:
875         type: org.openecomp.datatypes.heat.contrailV2.network.rule.ActionList
876         description: Action list
877         required: false
878         status: SUPPORTED
879   org.openecomp.datatypes.heat.contrailV2.network.rule.RuleList:
880     derived_from: tosca.datatypes.Root
881     description: list of policy rules
882     properties:
883       network_policy_entries_policy_rule:
884         type: list
885         description: Contrail network rule
886         required: false
887         status: SUPPORTED
888         entry_schema:
889           type: org.openecomp.datatypes.heat.contrailV2.network.rule.Rule
890   org.openecomp.datatypes.heat.network.contrail.port.StaticRoute:
891     derived_from: tosca.datatypes.Root
892     description: static route
893     properties:
894       prefix:
895         type: string
896         description: Route prefix
897         required: false
898         status: SUPPORTED
899       next_hop:
900         type: string
901         description: Next hop
902         required: false
903         status: SUPPORTED
904       next_hop_type:
905         type: string
906         description: Next hop type
907         required: false
908         status: SUPPORTED
909   org.openecomp.datatypes.heat.network.contrail.AddressPair:
910     derived_from: tosca.datatypes.Root
911     description: Address Pair
912     properties:
913       address_mode:
914         type: string
915         description: Address mode active-active or active-standy
916         required: false
917         status: SUPPORTED
918         constraints:
919         - valid_values:
920           - active-active
921           - active-standby
922       prefix:
923         type: string
924         description: IP address prefix
925         required: false
926         status: SUPPORTED
927       mac_address:
928         type: string
929         description: Mac address
930         required: false
931         status: SUPPORTED
932   org.openecomp.datatypes.heat.network.contrail.InterfaceData:
933     derived_from: tosca.datatypes.Root
934     description: Interface Data
935     properties:
936       static_routes:
937         type: list
938         description: An ordered list of static routes to be added to this interface
939         required: false
940         status: SUPPORTED
941         entry_schema:
942           type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute
943       virtual_network:
944         type: string
945         description: Virtual Network for this interface
946         required: true
947         status: SUPPORTED
948       allowed_address_pairs:
949         type: list
950         description: List of allowed address pair for this interface
951         required: false
952         status: SUPPORTED
953         entry_schema:
954           type: org.openecomp.datatypes.heat.network.contrail.AddressPair
955       ip_address:
956         type: string
957         description: IP for this interface
958         required: false
959         status: SUPPORTED
960   org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties:
961     derived_from: tosca.datatypes.Root
962     description: Virtual Machine Interface Properties.
963     properties:
964       virtual_machine_interface_properties_service_interface_type:
965         type: string
966         description: Service Interface Type.
967         required: false
968         status: SUPPORTED
969   org.openecomp.datatypes.Root:
970     derived_from: tosca.datatypes.Root
971     description: |
972       The ECOMP root Data Type all other Data Types derive from
973     properties:
974       supplemental_data:
975         type: map
976         entry_schema:
977           description: |
978             A placeholder for missing properties that would be included in future ecomp model versions. fromat <key>:<value>
979           type: string
980   org.openecomp.datatypes.AssignmentRequirements:
981     derived_from: org.openecomp.datatypes.Root
982     properties:
983       is_required:
984         description: |
985           "true" indicates that assignment is required
986         type: boolean
987         default: false
988         required: true
989       count:
990         description: number of assignments required
991         type: integer
992         required: false
993   org.openecomp.datatypes.network.SubnetAssignments:
994     derived_from: org.openecomp.datatypes.Root
995     properties:
996       ip_network_address_plan:
997         type: string
998         required: false
999         description: Reference to EIPAM, VLAN or other address plan ID used to assign subnets to this network
1000       dhcp_enabled:
1001         type: boolean
1002         required: false
1003         description: \"true\" indicates the network has 1 or more policies
1004       ip_version:
1005         type: integer
1006         constraints:
1007         - valid_values:
1008           - 4
1009           - 6
1010         required: true
1011         description: The IP version of the subnet
1012       cidr_mask:
1013         type: integer
1014         required: true
1015         description: The default subnet CIDR mask
1016       min_subnets_count:
1017         type: integer
1018         default: 1
1019         required: true
1020         description: Quantity of subnets that must be initially assigned
1021   org.openecomp.datatypes.network.IPv4SubnetAssignments:
1022     derived_from: org.openecomp.datatypes.network.SubnetAssignments
1023     properties:
1024       use_ipv4:
1025         type: boolean
1026         required: true
1027         description: Indicates IPv4 subnet assignments
1028   org.openecomp.datatypes.network.IPv6SubnetAssignments:
1029     derived_from: org.openecomp.datatypes.network.SubnetAssignments
1030     properties:
1031       use_ipv6:
1032         type: boolean
1033         required: true
1034         description: Indicates IPv6 subnet assignments
1035   org.openecomp.datatypes.network.NetworkAssignments:
1036     derived_from: org.openecomp.datatypes.Root
1037     properties:
1038       ecomp_generated_network_assignment:
1039         type: boolean
1040         required: true
1041         default: false
1042         description: |
1043           \"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).
1044       is_shared_network:
1045         type: boolean
1046         required: true
1047         description: \"true\" means this network is shared by multiple Openstack tenants
1048       is_external_network:
1049         type: boolean
1050         required: true
1051         default: false
1052         description: |
1053           \"true\" means this Contrail external network
1054       ipv4_subnet_default_assignment:
1055         type: org.openecomp.datatypes.network.IPv4SubnetAssignments
1056         required: true
1057         description: IPv4 defualt subnet assignments
1058       ipv6_subnet_default_assignment:
1059         type: org.openecomp.datatypes.network.IPv6SubnetAssignments
1060         required: true
1061         description: IPv6 defualt subnet assignments
1062       related_networks:
1063         type: list
1064         required: false
1065         description: Related Networks List.
1066         entry_schema:
1067           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
1068       is_trunked:
1069         type: boolean
1070         required: true
1071         description: \"true\" indicates that network is trunked
1072         default: false
1073   org.openecomp.datatypes.network.ProviderNetwork:
1074     derived_from: org.openecomp.datatypes.Root
1075     properties:
1076       is_provider_network:
1077         type: boolean
1078         required: true
1079         description: \"true\" indicates that this a Neutron provider type of network
1080       physical_network_name:
1081         type: string
1082         required: false
1083         constraints:
1084         - valid_values:
1085           - Physnet41
1086           - Physnet42
1087           - Physnet43
1088           - Physnet44
1089           - Physnet21
1090           - Physnet22
1091           - sriovnet1
1092           - sriovnet2
1093           - oam
1094         description: |
1095           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)
1096       numa:
1097         type: string
1098         required: false
1099         constraints:
1100         - valid_values:
1101           - NUMA 0
1102           - NUMA 1
1103         description: |
1104           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)
1105       pnic_instance:
1106         type: integer
1107         required: false
1108         description: PNIC instance within the NUMA processor cluster
1109   org.openecomp.datatypes.network.NetworkFlows:
1110     derived_from: org.openecomp.datatypes.Root
1111     properties:
1112       is_network_policy:
1113         type: boolean
1114         required: false
1115         default: false
1116         description: \"true\" indicates the network has 1 or more policies
1117       network_policy:
1118         type: string
1119         required: false
1120         description: 'Identifies the specific Cloud network policy that must be applied
1121           to this network (source: from Policy Manager).'
1122       is_bound_to_vpn:
1123         type: boolean
1124         required: false
1125         default: false
1126         description: \"true\" indicates the network has 1 or more vpn bindings
1127       vpn_binding:
1128         type: string
1129         required: false
1130         description: 'Identifies the specific VPN Binding entry in A&AI that must
1131           be applied when creating this network (source: A&AI)'
1132   org.openecomp.datatypes.network.VlanRequirements:
1133     derived_from: org.openecomp.datatypes.Root
1134     properties:
1135       vlan_range_plan:
1136         type: string
1137         required: true
1138         description: reference to a vlan range plan
1139       vlan_type:
1140         type: string
1141         required: true
1142         constraints:
1143         - valid_values:
1144           - c-tag
1145           - s-tag
1146         description: identifies the vlan type (e.g., c-tag)
1147       vlan_count:
1148         type: integer
1149         required: true
1150         description: identifies the number of vlan tags to assign to the CP from the plan
1151   org.openecomp.datatypes.network.IpRequirements:
1152     derived_from: org.openecomp.datatypes.Root
1153     properties:
1154       ip_version:
1155         type: integer
1156         required: true
1157         constraints:
1158         - valid_values:
1159           - 4
1160           - 6
1161       ip_count:
1162         description: identifies the number of ip address to assign to the CP from the plan
1163         type: integer
1164         required: false
1165       floating_ip_count:
1166         type: integer
1167         required: false
1168       subnet_role:
1169         type: string
1170         required: false
1171       assingment_method:
1172         type: string
1173         required: true
1174         constraints:
1175         - valid_values:
1176           - fixed
1177           - dhcp
1178       dhcp_enabled:
1179         type: boolean
1180         required: false
1181       ip_count_required:
1182         description: identifies the number of ip address to assign to the CP from the plan
1183         type: org.openecomp.datatypes.AssignmentRequirements
1184         required: false
1185       floating_ip_count_required:
1186         type: org.openecomp.datatypes.AssignmentRequirements
1187         required: false
1188       ip_address_plan_name:
1189         type: string
1190         required: false
1191       vrf_name:
1192         type: string
1193         required: false
1194   org.openecomp.datatypes.network.MacAssignments:
1195     derived_from: org.openecomp.datatypes.Root
1196     properties:
1197       mac_range_plan:
1198         type: string
1199         required: true
1200         description: reference to a MAC address range plan
1201       mac_count:
1202         type: integer
1203         required: true
1204         description: identifies the number of MAC addresses to assign to the CP from the plan
1205   org.openecomp.datatypes.EcompHoming:
1206     derived_from: org.openecomp.datatypes.Root
1207     properties:
1208       ecomp_selected_instance_node_target:
1209         type: boolean
1210         required: true
1211         default: false
1212         description: |
1213           \"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).
1214       homing_policy:
1215         type: string
1216         required: false
1217         description: Referenc to a service level homing policy that ECOMP will use for instance deployment target node
1218       instance_node_target:
1219         type: string
1220         required: false
1221         description: Instance target deployment node
1222   org.openecomp.datatypes.EcompNaming:
1223     derived_from: org.openecomp.datatypes.Root
1224     properties:
1225       ecomp_generated_naming:
1226         type: boolean
1227         required: true
1228         default: true
1229         description: |
1230           \"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).
1231       naming_policy:
1232         type: string
1233         required: false
1234         description: Referenc to naming policy that ECOMP will use when the name is auto-generated
1235   org.openecomp.datatypes.network.MacRequirements:
1236     derived_from: org.openecomp.datatypes.Root
1237     properties:
1238       mac_range_plan:
1239         description: reference to a MAC address range plan
1240         type: string
1241         required: false
1242       mac_count:
1243         description: identifies the number of MAC addresses to assign to the CP from the plan
1244         type: integer
1245         required: false
1246       mac_count_required:
1247         description: identifies the number of MAC addresses to assign to the CP from the plan
1248         type: org.openecomp.datatypes.AssignmentRequirements
1249   org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairIp:
1250     derived_from: tosca.datatypes.Root
1251     description: Virtual Machine Sub Interface Address Pair IP.
1252     properties:
1253       ip_prefix:
1254         type: string
1255         description: IP Prefix.
1256         required: false
1257         status: SUPPORTED
1258       ip_prefix_len:
1259         type: integer
1260         description: IP Prefix Len.
1261         required: false
1262         status: SUPPORTED
1263   org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.MacAddress:
1264     derived_from: tosca.datatypes.Root
1265     description: Virtual Machine Sub Interface Mac Address.
1266     properties:
1267       mac_address:
1268         type: list
1269         description: Mac Addresses List.
1270         required: false
1271         status: SUPPORTED
1272         entry_schema:
1273           type: string
1274   org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.Properties:
1275     derived_from: tosca.datatypes.Root
1276     description: Virtual Machine Sub Interface VLAN Properties.
1277     properties:
1278       sub_interface_vlan_tag:
1279         type: string
1280         description: Sub Interface VLAN Tag.
1281         required: false
1282         status: SUPPORTED
1283   org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPair:
1284     derived_from: tosca.datatypes.Root
1285     description: Virtual Machine Sub Interface Address Pair.
1286     properties:
1287       address_mode:
1288         type: string
1289         description: Address Mode.
1290         required: false
1291         status: SUPPORTED
1292       ip:
1293         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairIp
1294         description: IP.
1295         required: false
1296         status: SUPPORTED
1297       mac:
1298         type: string
1299         description: Mac.
1300         required: false
1301         status: SUPPORTED
1302   org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs:
1303     derived_from: tosca.datatypes.Root
1304     description: Virtual Machine Sub Interface Address Pairs.
1305     properties:
1306       allowed_address_pair:
1307         type: list
1308         description: Addresses pair List.
1309         required: false
1310         status: SUPPORTED
1311         entry_schema:
1312           type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPair
1313   org.openecomp.datatypes.Naming:
1314     derived_from: org.openecomp.datatypes.Root
1315     properties:
1316       ecomp_generated_naming:
1317         description: |
1318           "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).
1319         type: boolean
1320         default: true
1321         required: true
1322       naming_policy:
1323         description: Reference to naming policy that ECOMP will use when the name is auto-generated
1324         type: string
1325         required: false
1326       instance_name:
1327         description: indicates operator-supplied name required (e.g. VID will present prompt to operator and collect the operator-supplied instance name).
1328         type: string
1329         required: false
1330   org.openecomp.datatypes.flavors.ComputeFlavor:
1331     derived_from: tosca.datatypes.Root
1332     properties:
1333       num_cpus:
1334         type: integer
1335       disk_size:
1336         type: scalar-unit.size
1337       mem_size:
1338         type: scalar-unit.size
1339   org.openecomp.datatypes.flavors.LicenseFlavor:
1340     derived_from: tosca.datatypes.Root
1341     properties:
1342       feature_group_uuid:
1343         type: string
1344   org.openecomp.datatypes.flavors.VendorInfo:
1345     derived_from: tosca.datatypes.Root
1346     properties:
1347       manufacturer_reference_number:
1348         type: string
1349       vendor_model:
1350         type: string
1351   org.openecomp.datatypes.flavors.DeploymentFlavor:
1352     derived_from: tosca.datatypes.Root
1353     properties:
1354       sp_part_number:
1355         type: string
1356       vendor_info:
1357         type: org.openecomp.datatypes.flavors.VendorInfo
1358       compute_flavor:
1359         type: org.openecomp.datatypes.flavors.ComputeFlavor
1360       license_flavor:
1361         type: org.openecomp.datatypes.flavors.LicenseFlavor
1362         required: false
1363   org.openecomp.datatypes.ImageInfo:
1364     derived_from: tosca.datatypes.Root
1365     properties:
1366       software_version:
1367         type: string
1368       file_name:
1369         type: string
1370       file_hash:
1371         type: string
1372         description: checksum/signature
1373       file_hash_type:
1374         type: string
1375         required: false
1376         default: md5
1377   org.openecomp.datatypes.network.RelatedNetworksAssignments:
1378     derived_from: org.openecomp.datatypes.Root
1379     properties:
1380       related_network_role:
1381         type: string
1382         description: The network role of the related network, sharing provider network.
1383         required: false
1384   tosca.datatypes.nfv.VnfcConfigurableProperties:
1385     derived_from: tosca.datatypes.Root
1386     properties:
1387       additional_vnfc_configurable_properties:
1388         type: map
1389         entry_schema:
1390           type: string
1391         required: false
1392   tosca.datatypes.nfv.RequestedAdditionalCapability:
1393     derived_from: tosca.datatypes.Root
1394     properties:
1395       support_mandatory:
1396         type: boolean
1397         required: true
1398       min_requested_additional_capability_version:
1399         type: string
1400         required: false
1401       preferred_requested_additional_capability_version:
1402         type: string
1403         required: false
1404       requested_additional_capability_name:
1405         type: string
1406         required: true
1407       target_performance_parameters:
1408         type: map
1409         entry_schema:
1410           type: string
1411         required: true
1412   tosca.datatypes.nfv.VirtualMemory:
1413     derived_from: tosca.datatypes.Root
1414     properties:
1415       virtual_mem_size:
1416         type: scalar-unit.size
1417         required: true
1418       virtual_mem_oversubscription_policy:
1419         type: string
1420         required: false
1421       vdu_memory_requirements:
1422         type: map
1423         entry_schema:
1424           type: string
1425         required: false
1426       numa_enabled:
1427         type: boolean
1428         required: false
1429   tosca.datatypes.nfv.VirtualCpuPinning:
1430     derived_from: tosca.datatypes.Root
1431     properties:
1432       cpu_pinning_policy:
1433         type: string
1434         constraints:
1435         - valid_values:
1436           - static
1437           - dynamic
1438         required: false
1439       cpu_pinning_map:
1440         type: map
1441         entry_schema:
1442           type: string
1443         required: false
1444   tosca.datatypes.nfv.VirtualCpu:
1445     derived_from: tosca.datatypes.Root
1446     properties:
1447       cpu_architecture:
1448         type: string
1449         required: false
1450       num_virtual_cpu:
1451         type: integer
1452         required: true
1453       virtual_cpu_clock:
1454         type: scalar-unit.frequency
1455         required: false
1456       virtual_cpu_oversubscription_policy:
1457         type: string
1458         required: false
1459       vdu_cpu_requirements:
1460         type: map
1461         entry_schema:
1462           type: string
1463         required: false
1464       virtual_cpu_pinning:
1465         type: tosca.datatypes.nfv.VirtualCpuPinning
1466         required: false
1467   tosca.datatypes.nfv.LogicalNodeData:
1468     derived_from: tosca.datatypes.Root
1469     properties:
1470       logical_node_requirements:
1471         type: map
1472         entry_schema:
1473           type: string
1474         required: false
1475   tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements:
1476     derived_from: tosca.datatypes.Root
1477     properties:
1478       name:
1479         type: string
1480         required: false
1481       description:
1482         type: string
1483         required: false
1484       support_mandatory:
1485         type: boolean
1486         required: true
1487       requirement:
1488         type: string
1489         required: false
1490       network_interface_requirements:
1491         type: map
1492         entry_schema:
1493           type: string
1494         required: true
1495       nic_io_requirements:
1496         type: tosca.datatypes.nfv.LogicalNodeData
1497         required: false
1498   tosca.datatypes.nfv.injectFile:
1499     derived_from: tosca.datatypes.Root
1500     properties:
1501       source_path:
1502         type: string
1503         required: true
1504       dest_path:
1505         type: string
1506         required: true
1507   tosca.datatypes.nfv.L2AddressData:
1508     derived_from: tosca.datatypes.Root
1509     properties:
1510       mac_address_assignment:
1511         type: boolean
1512         required: true
1513       address:
1514         type: string
1515         required: false
1516   tosca.datatypes.nfv.L3AddressData:
1517     derived_from: tosca.datatypes.Root
1518     properties:
1519       ip_address_assignment:
1520         type: boolean
1521         required: true
1522       floating_ip_activated:
1523         type: boolean
1524         required: true
1525       ip_address_type:
1526         type: string
1527         required: false
1528         constraints:
1529         - valid_values:
1530           - ipv4
1531           - ipv6
1532       number_of_ip_address:
1533         type: integer
1534         required: false
1535       fixed_ip_address:
1536         type: list
1537         entry_schema:
1538           type: string
1539         required: false
1540   tosca.datatypes.nfv.AddressData:
1541     properties:
1542       address_type:
1543         constraints:
1544         - valid_values:
1545           - mac_address
1546           - ip_address
1547         type: string
1548         required: true
1549       l2_address_data:
1550         required: false
1551         type: tosca.datatypes.nfv.L2AddressData
1552       l3_address_data:
1553         required: false
1554         type: tosca.datatypes.nfv.L3AddressData
1555   tosca.datatypes.nfv.ConnectivityType:
1556     derived_from: tosca.datatypes.Root
1557     properties:
1558       layer_protocol:
1559         type: string
1560         required: true
1561         constraints:
1562         - valid_values:
1563           - ethernet
1564           - mpls
1565           - odu2
1566           - ipv4
1567           - ipv6
1568           - pseudo_wire
1569       flow_pattern:
1570         type: string
1571         required: false
1572         constraints:
1573         - valid_values:
1574           - Line
1575           - Tree
1576           - Mesh
1577   tosca.datatypes.nfv.VlFlavour:
1578     derived_from: tosca.datatypes.Root
1579     properties:
1580       flavourId:
1581         type: string
1582   tosca.datatypes.nfv.ext.AddressPairs:
1583     properties:
1584       ip:
1585         type: string
1586         required: false
1587       mac:
1588         type: string
1589         required: false
1590   tosca.datatypes.nfv.ext.FloatingIP:
1591     properties:
1592       external_network:
1593         type: string
1594         required: false
1595       ip_address:
1596         type: string
1597         required: false
1598   tosca.datatypes.nfv.ext.LocationInfo:
1599     properties:
1600       availability_zone:
1601         type: string
1602         required: false
1603       vimid:
1604         type: integer
1605         required: false
1606       tenant:
1607         type: string
1608         required: false
1609   tosca.datatypes.nfv.ext.HostRouteInfo:
1610     properties:
1611       destination:
1612         type: string
1613         required: false
1614       nexthop:
1615         type: string
1616         required: false
1617   tosca.datatypes.nfv.ext.InjectData:
1618     properties:
1619       file_name:
1620         type: string
1621         required: false
1622       file_data:
1623         type: string
1624         required: false
1625   tosca.datatypes.nfv.ext.zte.WatchDog:
1626     properties:
1627       enable_delay:
1628         type: integer
1629         required: false
1630       action:
1631         type: string
1632         required: false
1633   tosca.datatypes.nfv.ext.LocalAffinityOrAntiAffinityRule:
1634     properties:
1635       scope:
1636         type: string
1637         required: false
1638       affinity_antiaffinity:
1639         type: string
1640         required: false
1641   tosca.datatypes.nfv.VduProfile:
1642     derived_from: tosca.datatypes.Root
1643     properties:
1644       min_number_of_instances:
1645         type: integer
1646         required: true
1647       max_number_of_instances:
1648         type: integer
1649         required: true
1650       watchdog:
1651         type: string
1652         required: true
1653       vmBootUpTimeOut:
1654         type: integer
1655         required: false
1656   tosca.datatypes.nfv.LinkBitRateRequirements:
1657     derived_from: tosca.datatypes.Root
1658     properties:
1659       root:
1660         type: integer
1661         required: true
1662       leaf:
1663         type: integer
1664         required: true
1665   tosca.datatypes.nfv.Qos:
1666     derived_from: tosca.datatypes.Root
1667     properties:
1668       latency:
1669         type: integer
1670         required: true
1671       packet_delay_variation:
1672         type: integer
1673         required: true
1674       packet_loss_ratio:
1675         type: float
1676         constraints:
1677         - in_range:
1678           - 0.0
1679           - 1.0
1680         required: false
1681   tosca.datatypes.nfv.VlProfile:
1682     derived_from: tosca.datatypes.Root
1683     properties:
1684       max_bit_rate_requirements:
1685         type: tosca.datatypes.nfv.LinkBitRateRequirements
1686         required: true
1687       min_bit_rate_requirements:
1688         type: tosca.datatypes.nfv.LinkBitRateRequirements
1689         required: true
1690       qos:
1691         type: tosca.datatypes.nfv.Qos
1692         required: false
1693       initiationParameters:
1694         type: map
1695         entry_schema:
1696           type: string
1697         required: false
1698       cidr:
1699         type: string
1700         required: false
1701       networkName:
1702         type: string
1703         required: false
1704       startIp:
1705         type: string
1706         required: false
1707       endIp:
1708         type: string
1709         required: false
1710       gatewayIp:
1711         type: string
1712         required: false
1713       segmentationId:
1714         type: integer
1715         required: false
1716       physicalNetwork:
1717         type: string
1718         required: false
1719       networkType:
1720         type: string
1721         required: false
1722         constraints:
1723         - valid_values:
1724           - VLAN
1725           - VXLAN
1726       dhcpEnabled:
1727         type: boolean
1728         required: false
1729       vlanTransparent:
1730         type: boolean
1731         required: false
1732   tosca.datatypes.nfv.VduLevel:
1733     derived_from: tosca.datatypes.Root
1734     properties:
1735       number_of_instances:
1736         type: integer
1737         required: true
1738   tosca.datatypes.nfv.ScaleInfo:
1739     derived_from: tosca.datatypes.Root
1740     properties:
1741       scaleLevel:
1742         type: integer
1743         required: true
1744   tosca.datatypes.nfv.ScaleAspect:
1745     derived_from: tosca.datatypes.Root
1746     properties:
1747       name:
1748         type: string
1749         required: true
1750       description:
1751         type: string
1752         required: true
1753       associated_group:
1754         type: string
1755         required: false
1756       max_scale_level:
1757         type: integer
1758         required: true
1759   tosca.datatypes.nfv.InstantiationLevel:
1760     derived_from: tosca.datatypes.Root
1761     properties:
1762       description:
1763         type: string
1764         required: true
1765       vdu_levels:
1766         type: map
1767         required: true
1768         entry_schema:
1769           type: tosca.datatypes.nfv.VduLevel
1770       scale_info:
1771         type: map
1772         required: false
1773         entry_schema:
1774           type: tosca.datatypes.nfv.ScaleInfo
1775   tosca.datatypes.nfv.VnfScaleOperationConfiguration:
1776     derived_from: tosca.datatypes.Root
1777     properties:
1778       scaling_by_more_than_one_step_supported:
1779         type: boolean
1780   tosca.datatypes.nfv.VnfScaleToLevelOperationConfiguration:
1781     derived_from: tosca.datatypes.Root
1782     properties:
1783       arbitrary_target_levels_supported:
1784         type: boolean
1785   tosca.datatypes.nfv.VnfHealOperationConfiguration:
1786     derived_from: tosca.datatypes.Root
1787     properties:
1788       causes:
1789         type: list
1790         entry_schema:
1791           type: string
1792   tosca.datatypes.nfv.VnfTerminateOperationConfiguration:
1793     derived_from: tosca.datatypes.Root
1794     properties:
1795       min_graceful_termination_timeout:
1796         type: integer
1797       max_recommended_graceful_termination_timeout:
1798         type: integer
1799   tosca.datatypes.nfv.VnfOperateOperationConfiguration:
1800     derived_from: tosca.datatypes.Root
1801     properties:
1802       min_graceful_termination_timeout:
1803         type: integer
1804       max_recommended_graceful_termination_timeout:
1805         type: integer
1806   tosca.datatypes.nfv.VnfLcmOperationsConfiguration:
1807     derived_from: tosca.datatypes.Root
1808     properties:
1809       scale:
1810         type: tosca.datatypes.nfv.VnfScaleOperationConfiguration
1811       scale_to_level:
1812         type: tosca.datatypes.nfv.VnfScaleToLevelOperationConfiguration
1813       heal:
1814         type: tosca.datatypes.nfv.VnfHealOperationConfiguration
1815       terminate:
1816         type: tosca.datatypes.nfv.VnfTerminateOperationConfiguration
1817       operate:
1818         type: tosca.datatypes.nfv.VnfOperateOperationConfiguration
1819   tosca.datatypes.nfv.CpProtocolData:
1820     derived_from: tosca.datatypes.Root
1821     properties:
1822       asscociated_layer_protocol:
1823         type: string
1824         constraints:
1825         - valid_values:
1826           - ethernet
1827           - mpls
1828           - odu2
1829           - ipv4
1830           - ipv6
1831           - pseudo-wire
1832         required: true
1833       address_data:
1834         type: tosca.datatypes.nfv.AddressData
1835         required: false
1836   tosca.datatypes.nfv.VnfConfigurableProperties:
1837     derived_from: tosca.datatypes.Root
1838     properties:
1839       is_autoscale_enabled:
1840         type: boolean
1841         required: false
1842       is_autoheal_enabled:
1843         type: boolean
1844         required: false
1845   tosca.datatypes.nfv.VnfInfoModifiableAttributesExtensions:
1846     derived_from: tosca.datatypes.Root
1847     properties:
1848       description:
1849         type: string
1850         required: false
1851   tosca.datatypes.nfv.VnfInfoModifiableAttributesMetadata:
1852     derived_from: tosca.datatypes.Root
1853     properties:
1854       description:
1855         type: string
1856         required: false
1857   tosca.datatypes.nfv.VnfInfoModifiableAttributes:
1858     derived_from: tosca.datatypes.Root
1859     properties:
1860       extensions:
1861         type: tosca.datatypes.nfv.VnfInfoModifiableAttributesExtensions
1862         required: false
1863       metadata:
1864         type: tosca.datatypes.nfv.VnfInfoModifiableAttributesMetadata
1865         required: false
1866   onap.datatypes.monitoring.metricsPerEventName:
1867     derived_from: tosca.datatypes.Root
1868     properties:
1869       controlLoopSchemaType:
1870         constraints:
1871         - valid_values:
1872           - VM
1873           - VNF
1874         description: Specifies Control Loop Schema Type for the event Name e.g. VNF, VM
1875         required: true
1876         type: string
1877       eventName:
1878         description: Event name to which thresholds need to be applied
1879         required: true
1880         type: string
1881       policyName:
1882         description: TCA Policy Scope Name
1883         required: true
1884         type: string
1885       policyScope:
1886         description: TCA Policy Scope
1887         required: true
1888         type: string
1889       policyVersion:
1890         description: TCA Policy Scope Version
1891         required: true
1892         type: string
1893       thresholds:
1894         description: Thresholds associated with eventName
1895         entry_schema:
1896           type: onap.datatypes.monitoring.thresholds
1897         required: true
1898         type: list
1899   onap.datatypes.monitoring.tca_policy:
1900     derived_from: tosca.datatypes.Root
1901     properties:
1902       domain:
1903         constraints:
1904         - equal: measurementsForVfScaling
1905         default: measurementsForVfScaling
1906         description: Domain name to which TCA needs to be applied
1907         required: true
1908         type: string
1909       metricsPerEventName:
1910         description: Contains eventName and threshold details that need to be applied to given eventName
1911         entry_schema:
1912           type: onap.datatypes.monitoring.metricsPerEventName
1913         required: true
1914         type: list
1915   onap.datatypes.monitoring.thresholds:
1916     derived_from: tosca.datatypes.Root
1917     properties:
1918       closedLoopControlName:
1919         description: Closed Loop Control Name associated with the threshold
1920         required: true
1921         type: string
1922       closedLoopEventStatus:
1923         constraints:
1924         - valid_values:
1925           - ONSET
1926           - ABATED
1927         description: Closed Loop Event Status of the threshold
1928         required: true
1929         type: string
1930       direction:
1931         constraints:
1932         - valid_values:
1933           - LESS
1934           - LESS_OR_EQUAL
1935           - GREATER
1936           - GREATER_OR_EQUAL
1937           - EQUAL
1938         description: Direction of the threshold
1939         required: true
1940         type: string
1941       fieldPath:
1942         constraints:
1943         - valid_values:
1944           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta
1945           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta
1946           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta
1947           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta
1948           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta
1949           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta
1950           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta
1951           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated
1952           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated
1953           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated
1954           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated
1955           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated
1956           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated
1957           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated
1958           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta
1959           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta
1960           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta
1961           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta
1962           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta
1963           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta
1964           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta
1965           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated
1966           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated
1967           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated
1968           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated
1969           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated
1970           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated
1971           - $.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated
1972           - $.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle
1973           - $.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt
1974           - $.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice
1975           - $.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq
1976           - $.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal
1977           - $.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem
1978           - $.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait
1979           - $.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage
1980           - $.event.measurementsForVfScalingFields.meanRequestLatency
1981           - $.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered
1982           - $.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached
1983           - $.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured
1984           - $.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree
1985           - $.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed
1986           - $.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value
1987         description: Json field Path as per CEF message which needs to be analyzed for TCA
1988         required: true
1989         type: string
1990       severity:
1991         constraints:
1992         - valid_values:
1993           - CRITICAL
1994           - MAJOR
1995           - MINOR
1996           - WARNING
1997           - NORMAL
1998         description: Threshold Event Severity
1999         required: true
2000         type: string
2001       thresholdValue:
2002         description: Threshold value for the field Path inside CEF message
2003         required: true
2004         type: integer
2005       version:
2006         description: Version number associated with the threshold
2007         required: true
2008         type: string