Configuring the Open vSwitch driver and agent
The Open vSwitch mechanism driver is included with the ML2 plugin, and was installed in Chapter 3, Installing Neutron. The following sections will walk you through the configuration of OpenStack Networking so that you can utilize the Open vSwitch driver and agent.
Note
While the Linux bridge and Open vSwitch agents and drivers can coexist in the same environment, they should not be installed and configured simultaneously on the same host.
Installing the Open vSwitch agent
To install the Open vSwitch agent, issue the following command on compute02
, compute03
, and snat01
:
# apt install neutron-plugin-openvswitch-agent
Dependencies, such as Open vSwitch components openvswitch-common
and openvswitch-switch
, will be installed. If prompted to overwrite existing configuration files, type N
at the [default=N]
prompt.
Updating the Open vSwitch agent configuration file
The Open vSwitch agent uses a configuration file located at /etc/neutron/plugins/ml2/openvswitch_agent...