The Mirantis Cloud Platform supports port trunking which enables you to attach a virtual machine to multiple Neutron networks using VLANs as a local encapsulation to differentiate traffic for each network as it goes in and out of a single virtual machine network interface (VIF).
Using network trunking is particularly beneficial in the following use cases:
The current limitation of network trunking support is that MCP supports only Neutron OVS with DPDK and the Open vSwitch firewall driver enabled. Other Neutron ML2 plugins, such as Linux Bridge and OVN, are not supported. If you use security groups and network trunking, MCP automatically enables the native Open vSwitch firewall driver.
To enable network trunking:
Log in to the Salt Master node.
Open the cluster.<NAME>.openstack.init.yml
file for editing.
Set the neutron_enable_vlan_aware_vms
parameter to True
:
parameters:
_param:
neutron_enable_vlan_aware_vms: True
...
Re-run Salt configuration:
salt -C 'I@neutron:server' state.sls neutron
salt -C 'I@neutron:gateway' state.sls neutron
salt -C 'I@neutron:compute' state.sls neutron
See also