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=Fals
enetwork_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.

李海涛

关于李海涛

李海涛 lihaitao 山水 lihato 开源软件研究与服务
此条目发表在知识积累分类目录。将固定链接加入收藏夹。