Este conteúdo não está disponível no idioma selecionado.
7.4. Configure the Plug-in Agent
Configure the agent associated with the plug-in used in your environment. If you are using the ML2 plug-in configure the Open vSwitch agent.
7.4.1. Configure the Open vSwitch Plug-in Agent Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
You must install and enable the ML2 plug-in before configuring it. See Section 7.2.1.1, “Enable the ML2 Plug-in”.
The Open vSwitch plug-in has a corresponding agent. When the Open vSwitch plug-in is in use, all nodes in the environment that handle data packets must have the agent installed and configured. This includes all Compute nodes and systems hosting the dedicated DHCP and L3 agents.
Note
Open vSwitch support for TCP segmentation offload (TSO) and Generic Segmentation Offload (GSO) to VXLAN and GRE is enabled by default.
Procedure 7.11. Configuring the Open vSwitch Plug-in Agent
- Start the
openvswitchservice:systemctl start openvswitch.service
# systemctl start openvswitch.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Configure the
openvswitchservice to start at boot time:systemctl enable openvswitch.service
# systemctl enable openvswitch.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Each host running the Open vSwitch agent requires an Open vSwitch bridge called
br-int, which is used for private network traffic. This bridge is created automatically.Warning
Thebr-intbridge is required for the agent to function correctly. Once created, do not remove or otherwise modify thebr-intbridge. - Set the value of the
bridge_mappingsconfiguration key to a comma-separated list of physical networks and the network bridges associated with them:openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini \ ovs bridge_mappings PHYSNET:BRIDGE
# openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini \ ovs bridge_mappings PHYSNET:BRIDGECopy to Clipboard Copied! Toggle word wrap Toggle overflow Replace PHYSNET with the name of a physical network, and replace BRIDGE with the name of the network bridge. - Start the
neutron-openvswitch-agentservice:systemctl start neutron-openvswitch-agent.service
# systemctl start neutron-openvswitch-agent.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Configure the
neutron-openvswitch-agentservice to start at boot time:systemctl enable neutron-openvswitch-agent.service
# systemctl enable neutron-openvswitch-agent.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Configure the
neutron-ovs-cleanupservice to start at boot time. This service ensures that the OpenStack Networking agents maintain full control over the creation and management of tap devices:systemctl enable neutron-ovs-cleanup.service
# systemctl enable neutron-ovs-cleanup.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow