Install the Open vSwitch plug-in and its dependencies:
# apt-get install neutron-plugin-openvswitch-agent openvswitch-datapath-dkms
Restart Open vSwitch:
# service openvswitch-switch restart
You must set some common configuration options no matter which networking technology you choose to use with Open vSwitch. You must add the
br-int
integration bridge, which connects to the VMs.# ovs-vsctl add-br br-int
You must set some common configuration options. You must configure Networking core to use OVS. Edit the
/etc/neutron/neutron.conf
file:core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
Configure the networking type that you chose when you set up the network node: either GRE tunneling or VLANs.
You must configure a firewall as well. You should use the same firewall plug-in that you chose to use when you set up the network node. To do this, edit
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
file and set thefirewall_driver
value under thesecuritygroup
to the same value used on the network node. For instance, if you chose to use the Hybrid OVS-IPTables plug-in, your configuration looks like this:[securitygroup] # Firewall driver for realizing neutron security group function. firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
Warning You must use at least the No-Op firewall. Otherwise, Horizon and other OpenStack services cannot get and set required VM boot options.
Now, return to the general OVS instructions.