Network Management · Open vSwitch · Quantum

Vlan mode in OpenVswitch on OpenStack Grizzly

The following procedure is tested on OpenStack grizzly version running on Ubuntu 12.04

Before creation of any networks in the OpenStack setup, add the following lines in /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini under “[OVS]” section on all the machines of an OpenStack setup running Open vSwitch and Open vSwitch agents.

tenant_network_type=vlan
bridge_mappings=physnet1:br-eth1
enable_tunneling=False
network_vlan_ranges=physnet1:1000-2000
integration_bridge=br-int

Create and configure bridges on all machines running Quantum and OpenvSwitch components

ovs-vsctl add-br br-eth1
ovs-vsctl add-port br-eth1 eth1
ovs-vsctl add-br br-int

Restart appropriate services


/etc/init.d/openvswitch-switch restart

/etc/init.d/quantum-plugin-openvswitch-agent restart

If Quantum server is running in the machine. Restart it.


/etc/init.d/quantum-server restart

Now create networks as per the requirement, using Nova commands or the OpenStack Dashboard.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s