Configuring the L3 agent with Open vSwitch
The Neutron Layer-3 agent is responsible for creating and managing virtual routers on the Neutron Network node and creating floating IP address that can be attached to virtual machine instances. It is responsible for tenant network connectivity to external public networks. Neutron supports using either LinuxBridge or Open vSwitch as an implementation driver for Layer-3 routing services.
In this recipe, we will configure Neutron L3 agent with Open vSwitch to allow external network connectivity from an existing tenant network.
Getting ready
First, make sure that IP forwarding is enabled on the Neutron network node. Edit the /etc/sysctl.conf
file to contain the following parameters:
net.ipv4.ip_forward=1
Run the command # sysctl -p
to amend the changes.
How to do it…
Proceed with the following steps:
Using the
openstack-config
command, edit the main neutron configuration file, and under theDEFUALT
section, enable the L3 service plugin:[root@neutron-node...