Quantum Service
Install the Quantum service.
Create plugin database ovs_quantum. See the section on the Core Plugins for the exact details. Create user quantum with password openstack.
Update the Quantum configuration file, /etc/quantum/quantum.conf:
[DEFAULT] core_plugin=quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2 rabbit_password = openstack
Update the plugin configuration file, /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini:
[DATABASE] sql_connection=mysql://quantum:openstack@localhost/ovs_quantum?charset=utf8 [OVS] tenant_network_type=vlan network_vlan_ranges = physnet1:1:4094
Update the api-paste configuration file to include the keystone user, /etc/quantum/api-paste.ini:
[filter:authtoken] admin_tenant_name=servicetenant admin_user=quantum admin_password=servicepassword
Start the Quantum service
Compute Nodes - L2 Agent
Install the L2 agent.
Add the integration bridge to the Open vSwitch:
sudo ovs-vsctl add-br br-int
Update the Quantum configuration file, /etc/quantum/quantum.conf:
rabbit_password = openstack rabbit_host = 100.1.1.10
Update the plugin configuration file, /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini:
[OVS] tenant_network_type=vlan network_vlan_ranges = physnet1:1:4094 bridge_mappings = physnet1:br-eth1
Create the network bridge br-eth1 (All VM communication between the nodes will be done via eth1):
sudo ovs-vsctl add-br br-eth1 sudo ovs-vsctl add-port br-eth1 eth1
Update the nova configuration file, /etc/nova/nova.conf:
[DEFAULT] network_api_class=nova.network.quantumv2.api.API quantum_admin_username=quantum quantum_admin_password=servicepassword quantum_admin_auth_url=http://100.1.1.10:35357/v2.0/ quantum_auth_strategy=keystone quantum_admin_tenant_name=servicetenant quantum_url=http://100.1.1.10:9696/ libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
Restart the nova service
Start the Quantum L2 agent
Compute Node A - DHCP Agent
Install the DHCP agent.
Update the Quantum configuration file, /etc/quantum/quantum.conf:
rabbit_password = openstack rabbit_host = 100.1.1.10
Update the DHCP configuration file, , /etc/quantum/dhcp_agent.ini:
interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
Start the DHCP agent
Compute Node B - L3 Agent
Install the L3 agent.
Add the external network bridge to the Open vSwitch:
sudo ovs-vsctl add-br br-ex
Add the physical interface, for example eth2, that is connected to the outside network to this bridge:
sudo ovs-vsctl add-port br-ex eth2
Update the L3 configuration file, /etc/quantum/l3_agent.ini:
[DEFAULT] auth_url=http://100.1.1.10:35357/v2.0/ admin_user=quantum admin_password=servicepassword admin_tenant_name=servicetenant interface_driver=quantum.agent.linux.interface.OVSInterfaceDriver
Start the L3 agent