Network node
 

To install and configure the network node

  1. Install the packages:

    # apt-get install neutron-plugin-openvswitch-agent \
    neutron-dhcp-agent neutron-l3-agent
  2. Start Open vSwitch:

    # service openvswitch-switch start
  3. Add the integration bridge to the Open vSwitch:

    # ovs-vsctl add-br br-int
  4. Update the OpenStack Networking /etc/neutron/neutron.conf configuration file:

    rabbit_password = guest
    rabbit_host = controller
    rabbit_password = RABBIT_PASS
    
    [database]
    connection = mysql://neutron:NEUTRON_DBPASS@controller:3306/neutron
  5. Update the plug-in /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini configuration file:

    [ovs]
    tenant_network_type=vlan
    network_vlan_ranges = physnet1:1:4094
    bridge_mappings = physnet1:br-eth1
  6. Create the br-eth1 network bridge. All VM communication between the nodes occurs through br-eth1:

    # ovs-vsctl add-br br-eth1
    # ovs-vsctl add-port br-eth1 eth1
  7. Create the external network bridge to the Open vSwitch:

    # ovs-vsctl add-br br-ex
    # ovs-vsctl add-port br-ex eth2
  8. Edit the /etc/neutron/l3_agent.ini file and add these lines:

    [DEFAULT]
    auth_url = http://controller:35357/v2.0
    admin_tenant_name = service
    admin_user = neutron
    admin_password = NEUTRON_PASS
    metadata_ip = controller
    use_namespaces = True
  9. Edit the /etc/neutron/api-paste.ini file and add these lines:

    [DEFAULT]
    auth_host = controller
    admin_tenant_name = service
    admin_user = neutron
    admin_password = NEUTRON_PASS
  10. Edit the /etc/neutron/dhcp_agent.ini file and add this line:

    use_namespaces = True
  11. Restart networking services:

    # service neutron-plugin-openvswitch-agent start
    # service neutron-dhcp-agent restart
    # service neutron-l3-agent restart
Log a bug against this page


loading table of contents...