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