Controller Node - Quantum Server
Install the Quantum server.
Create database ovs_quantum. See the section on the Core Plugins for the exact details.
Update the Quantum configuration file, /etc/quantum/quantum.conf:
[DEFAULT] core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2 control_exchange = quantum rabbit_host = controlnode notification_driver = quantum.openstack.common.notifier.rabbit_notifier
Update the plugin configuration file, /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini:
[DATABASE] sql_connection = mysql://root:root@controlnode:3306/ovs_quantum?charset=utf8 [OVS] network_vlan_ranges = physnet1 bridge_mappings = physnet1:br-eth0
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 Node - Nova compute
Install the Nova compute.
Update the nova configuration file, /etc/nova/nova.conf. Make sure the following is at the end of this file:
network_api_class=nova.network.quantumv2.api.API quantum_admin_username=quantum quantum_admin_password=servicepassword quantum_admin_auth_url=http://controlnode:35357/v2.0/ quantum_auth_strategy=keystone quantum_admin_tenant_name=servicetenant quantum_url=http://controlnode:9696/ libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
Restart the nova service
Compute and Network Node - 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:
[DEFAULT] core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2 control_exchange = quantum rabbit_host = controlnode notification_driver = quantum.openstack.common.notifier.rabbit_notifier
Update the plugin configuration file, /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini:
[DATABASE] sql_connection = mysql://root:root@controlnode:3306/ovs_quantum?charset=utf8 [OVS] network_vlan_ranges = physnet1 bridge_mappings = physnet1:br-eth0
Create the network bridge br-eth0 (All VM communication between the nodes will be done via eth0):
sudo ovs-vsctl add-br br-eth0 sudo ovs-vsctl add-port br-eth0 eth0
Start the Quantum L2 agent
Network Node - DHCP Agent
Install the DHCP agent.
Update the Quantum configuration file, /etc/quantum/quantum.conf:
[DEFAULT] core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2 control_exchange = quantum rabbit_host = controlnode notification_driver = quantum.openstack.common.notifier.rabbit_notifier
Update the DHCP configuration file /etc/quantum/dhcp_agent.ini:
interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
Start the DHCP agent