Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
7.5. 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 or the Open vSwitch plug-in, configure the Open vSwitch agent. If you are using the Linux Bridge plug-in, configure the Linux Bridge agent.
7.5.1. Configure the Open vSwitch Plug-in Agent Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
You must install and enable the ML2 plug-in or the Open vSwitch plug-in before configuring it. See Section 7.2.1.1, “Enable the ML2 Plug-in” for the ML2 plug-in or Section 7.2.1.2, “Enable the Open vSwitch Plug-in” for the Open vSwitch 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.14. Configuring the Open vSwitch Plug-in Agent
- Start the
openvswitch
service:systemctl start openvswitch.service
# systemctl start openvswitch.service
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Configure the
openvswitch
service to start at boot time:systemctl enable openvswitch.service
# systemctl enable openvswitch.service
Copy 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-int
bridge is required for the agent to function correctly. Once created, do not remove or otherwise modify thebr-int
bridge. - Set the value of the
bridge_mappings
configuration 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:BRIDGE
Copy 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-agent
service:systemctl start neutron-openvswitch-agent.service
# systemctl start neutron-openvswitch-agent.service
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Configure the
neutron-openvswitch-agent
service to start at boot time:systemctl enable neutron-openvswitch-agent.service
# systemctl enable neutron-openvswitch-agent.service
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Configure the
neutron-ovs-cleanup
service 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.service
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
7.5.2. Configure the Linux Bridge Plug-in Agent Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
You must install and enable the Linux Bridge plug-in before configuring it. See Section 7.2.1.3, “Enable the Linux Bridge Plug-in”.
The Linux Bridge plug-in has a corresponding agent. When the Linux Bridge 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.
Procedure 7.15. Configuring the Linux Bridge Plug-in Agent
- Set the value of the
physical_interface_mappings
configuration key to a comma-separated list of physical networks and the VLAN ranges associated with them that are available for allocation to tenant networks:openstack-config --set /etc/neutron/plugin.ini \ LINUX_BRIDGE physical_interface_mappings PHYSNET:VLAN_START:VLAN_END
# openstack-config --set /etc/neutron/plugin.ini \ LINUX_BRIDGE physical_interface_mappings PHYSNET:VLAN_START:VLAN_END
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace the following values:- Replace PHYSNET with the name of a physical network.
- Replace VLAN_START with an identifier indicating the start of the VLAN range.
- Replace VLAN_END with an identifier indicating the end of the VLAN range.
- Start the
neutron-linuxbridge-agent
service:systemctl start neutron-linuxbridge-agent.service
# systemctl start neutron-linuxbridge-agent.service
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Configure the
neutron-linuxbridge-agent
service to start at boot time:systemctl enable neutron-linuxbridge-agent.service
# systemctl enable neutron-linuxbridge-agent.service
Copy to Clipboard Copied! Toggle word wrap Toggle overflow