1 tosca_definitions_version: tosca_simple_yaml_1_0_0
3 template_name: vlan_subinterface_dual
6 file: CommonGlobalTypesServiceTemplate.yaml
7 - NovaServerGlobalTypes:
8 file: NovaServerGlobalTypesServiceTemplate.yaml
9 - NeutronPortGlobalTypes:
10 file: NeutronPortGlobalTypesServiceTemplate.yaml
11 - NeutronSecurityRulesGlobalTypes:
12 file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
13 - NeutronNetGlobalTypes:
14 file: NeutronNetGlobalTypesServiceTemplate.yaml
15 - CinderVolumeGlobalTypes:
16 file: CinderVolumeGlobalTypesServiceTemplate.yaml
17 - ContrailVirtualNetworkGlobalType:
18 file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
19 - ContrailNetworkRuleGlobalType:
20 file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
21 - AbstractSubstituteGlobalTypes:
22 file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
23 - ContrailV2VirtualMachineInterfaceGlobalType:
24 file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
25 - ContrailComputeGlobalTypes:
26 file: ContrailComputeGlobalTypesServiceTemplate.yaml
27 - ContrailPortGlobalTypes:
28 file: ContrailPortGlobalTypesServiceTemplate.yaml
29 - ContrailAbstractSubstituteGlobalTypes:
30 file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
31 - ContrailV2VirtualNetworkGlobalType:
32 file: ContrailV2VirtualNetworkGlobalTypeServiceTemplate.yaml
33 - ContrailV2NetworkRuleGlobalType:
34 file: ContrailV2NetworkRuleGlobalTypeServiceTemplate.yaml
35 - ContrailV2VLANSubInterfaceGlobalType:
36 file: ContrailV2VLANSubInterfaceGlobalTypeServiceTemplate.yaml
37 - GlobalSubstitutionTypes:
38 file: GlobalSubstitutionTypesServiceTemplate.yaml
45 description: List of VLAN IDs to use for subinterfaces
52 description: Parent Contrail interface
57 description: virtual IPv6 address associated with subinterfaces
62 description: virtual IPv4 address associated with subinterfaces
67 description: MAC address to use for subinterface
72 description: IPv6 address associated with subinterfaces
73 subinterface_name_prefix:
77 description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
78 subinterface_instance_index:
82 description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
87 description: IPv4 address associated with subinterfaces
92 description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
96 contrail_vmi_subinterface:
97 type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
99 virtual_machine_interface_refs:
100 - get_input: parent_interface
106 get_input: subinterface_name_prefix
110 - get_input: subinterface_instance_index
111 virtual_network_refs:
114 - get_input: subinterface_instance_index
115 virtual_machine_interface_properties:
116 sub_interface_vlan_tag:
119 - get_input: subinterface_instance_index
120 virtual_machine_interface_allowed_address_pairs:
121 allowed_address_pair:
122 - address_mode: active-standby
125 get_input: virtual_ip_address
128 get_input: mac_address
129 - address_mode: active-standby
132 get_input: virtual_ipv6_address
135 get_input: mac_address
136 virtual_machine_interface_mac_addresses:
138 - get_input: mac_address
140 vlan_subinterface_dual_group:
141 type: org.openecomp.groups.heat.HeatStack
143 heat_file: ../Artifacts/vlan_subinterface_dual.yaml
145 HOT template to instantiate a single Contrail VLAN sub-interface with associated instance IP addresses and allowed address pairs
147 - contrail_vmi_subinterface
148 substitution_mappings:
149 node_type: org.openecomp.resource.abstract.nodes.heat.vlan_subinterface_dual
151 binding_contrail_vmi_subinterface:
152 - contrail_vmi_subinterface
154 link_contrail_vmi_subinterface:
155 - contrail_vmi_subinterface