To install and configure the compute node
Install the packages:
# apt-get install openvswitch-switch neutron-plugin-openvswitch-agent
Start the OpenvSwitch service:
# service openvswitch-switch start
Create the integration bridge:
# ovs-vsctl add-br br-int
Create the
br-eth1
network bridge. All VM communication between the nodes occurs throughbr-eth1
:# ovs-vsctl add-br br-eth1 # ovs-vsctl add-port br-eth1 eth1
Edit the OpenStack Networking
/etc/neutron/neutron.conf
configuration file and add this line:rabbit_password = guest rabbit_host =
controller
rabbit_password =RABBIT_PASS
[database] connection = mysql://neutron:NEUTRON_DBPASS
@controller
:3306/neutronEdit the
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
file and add these lines:[ovs] tenant_network_type = vlan network_vlan_ranges = physnet1:1:4094 bridge_mappings = physnet1:br-eth1
Restart the OpenvSwitch Neutron plug-in agent:
# service neutron-plugin-openvswitch-agent restart