To install and configure the network node
Install the packages:
# apt-get install neutron-plugin-openvswitch-agent \ neutron-dhcp-agent neutron-l3-agent
Start Open vSwitch:
# service openvswitch-switch start
Add the integration bridge to the Open vSwitch:
# ovs-vsctl add-br br-int
Update the OpenStack Networking
/etc/neutron/neutron.confconfiguration file:rabbit_password = guest rabbit_host =
controllerrabbit_password =RABBIT_PASS[database] connection = mysql://neutron:NEUTRON_DBPASS@controller:3306/neutronUpdate the plug-in
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.iniconfiguration file:[ovs] tenant_network_type=vlan network_vlan_ranges = physnet1:1:4094 bridge_mappings = physnet1:br-eth1
Create the
br-eth1network bridge. All VM communication between the nodes occurs throughbr-eth1:# ovs-vsctl add-br br-eth1 # ovs-vsctl add-port br-eth1 eth1
Create the external network bridge to the Open vSwitch:
# ovs-vsctl add-br br-ex # ovs-vsctl add-port br-ex eth2
Edit the
/etc/neutron/l3_agent.inifile and add these lines:[DEFAULT] auth_url = http://
controller:35357/v2.0 admin_tenant_name = service admin_user = neutron admin_password =NEUTRON_PASSmetadata_ip =controlleruse_namespaces = TrueEdit the
/etc/neutron/api-paste.inifile and add these lines:[DEFAULT] auth_host =
controlleradmin_tenant_name = service admin_user = neutron admin_password =NEUTRON_PASSEdit the
/etc/neutron/dhcp_agent.inifile and add this line:use_namespaces = True
Restart networking services:
# service neutron-plugin-openvswitch-agent start # service neutron-dhcp-agent restart # service neutron-l3-agent restart

