Install the Open vSwitch (OVS) plug-in on a dedicated compute node
  1. Install the Open vSwitch plug-in and its dependencies:

    # apt-get install neutron-plugin-openvswitch-agent openvswitch-datapath-dkms
  2. Restart Open vSwitch:

    # service openvswitch-switch restart
  3. 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
  4. 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
  5. Configure the networking type that you chose when you set up the network node: either GRE tunneling or VLANs.

  6. 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 the firewall_driver value under the securitygroup 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]Warning

    You must use at least the No-Op firewall. Otherwise, Horizon and other OpenStack services cannot get and set required VM boot options.

  7. Now, return to the general OVS instructions.

Log a bug against this page


loading table of contents...