OpenStack Guide

3
Step 2: Configuring the AFM Plug-in
To configure the OpenVSwitch to support the AFM Plug-in:
1. On the Controller where the Neutron server is located, set the parameter in the ovs_quantum_plugin.ini file in
the /etc/quantum/plugins/openvswitch/ directory as shown in the following example:
sql_connection = mysql://<
username
>:<
password
>@<
mysql_host
>/ovs_quantum?charset=utf8
2. Set the OpenVSwitch plugin to the VLAN mode and the range of VLAN for each network as shown in the following
example:
tenant_network_type = vlan
enable_tunneling = False
network_vlan_ranges = default: <vlan_min>:<vlan_max>
3. Restart the Neutron server:
root@dev1-openstack06:~# service quantum-server restart
For more information about configuring OpenVSwitch plugin, see the
Openstack Network Admin Guide
at http://
docs.openstack.org/trunk/openstack-network/admin/content/index.html
11