Controller node - Networking server
Install the Networking server.
See the section called “Install networking support on a dedicated controller node” for installation instructions.
Create database ovs_neutron.
See the section called “Install Networking services” for database creation details.
If not already configured, update the Networking
/etc/neutron/neutron.conf
configuration file to choose a plug-in and Identity Service user as necessary:[DEFAULT] core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2 control_exchange = neutron rabbit_host =
controller
rabbit_password =RABBIT_PASS
notification_driver = neutron.openstack.common.notifier.rabbit_notifier [database] connection = mysql://neutron:NEUTRON_DBPASS
@controller
/neutron [keystone_authtoken] admin_tenant_name=service admin_user=neutron admin_password=NEUTRON_PASS
Update the plug-in
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
configuration file with the bridge mappings:[ovs] network_vlan_ranges = physnet1 bridge_mappings = physnet1:br-eth0
Restart the Networking service:
# service neutron-server restart
Compute node - Compute
Install the
nova-compute
service.See the section called “Configure a Compute node” for installation instructions.
Update the Compute
/etc/nova/nova.conf
configuration file to make use of OpenStack Networking:network_api_class=nova.network.neutronv2.api.API neutron_admin_username=neutron neutron_admin_password=
NEUTRON_PASS
neutron_admin_auth_url=http://controller
:35357/v2.0/ neutron_auth_strategy=keystone neutron_admin_tenant_name=service neutron_url=http://controller
:9696/Restart the Compute services
# service nova-compute restart
Compute and Network node - L2 agent
Install and start Open vSwitch. Then, configure
neutron
accordingly.See the section called “Install and configure the Networking plug-ins” for detailed instructions.
Add the integration bridge to Open vSwitch:
# ovs-vsctl add-br br-int
Update the Networking
/etc/neutron/neutron.conf
configuration file:[DEFAULT] core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2 control_exchange = neutron rabbit_host =
controller
rabbit_password =RABBIT_PASS
notification_driver = neutron.openstack.common.notifier.rabbit_notifier [database] connection = mysql://neutron:NEUTRON_DBPASS
@controller
/neutronUpdate the plug-in
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
configuration file:[ovs] network_vlan_ranges = physnet1 bridge_mappings = physnet1:br-eth0
Create the br-eth0 network bridge to handle communication between nodes using eth0:
# ovs-vsctl add-br br-eth0 # ovs-vsctl add-port br-eth0 eth0
Restart the OpenStack Networking L2 agent:
# service neutron-openvswitch-agent restart
Network node - DHCP agent
Install the DHCP agent.
See the section called “Install Networking services on a dedicated network node” for generic installation instructions.
Update the Networking
/etc/neutron/neutron.conf
configuration file:[DEFAULT] core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2 control_exchange = neutron rabbit_host =
controller
rabbit_password =RABBIT_PASS
notification_driver = neutron.openstack.common.notifier.rabbit_notifierEnsure that the DHCP agent is using the correct plug-in my changing the configuration in
/etc/neutron/dhcp_agent.ini
:interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
Restart the DHCP agent:
# service neutron-dhcp-agent restart