controlnode - Neutron Server
Neutron configuration file
/etc/neutron/neutron.conf
:[DEFAULT] core_plugin = neutron.plugins.linuxbridge.lb_neutron_plugin.LinuxBridgePluginV2 rabbit_host = controlnode allow_overlapping_ips = True host = controlnode agent_down_time = 5
Update the plug-in configuration file
/etc/neutron/plugins/linuxbridge/linuxbridge_conf.ini
:[vlans] tenant_network_type = vlan network_vlan_ranges = physnet1:1000:2999 [database] connection = mysql://root:[email protected]:3306/neutron_linux_bridge retry_interval = 2 [linux_bridge] physical_interface_mappings = physnet1:eth0
HostA and HostB - L2 Agent
Neutron configuration file
/etc/neutron/neutron.conf
:[DEFAULT] rabbit_host = controlnode rabbit_password = openstack # host = HostB on hostb host = HostA
Update the plug-in configuration file
/etc/neutron/plugins/linuxbridge/linuxbridge_conf.ini
:[vlans] tenant_network_type = vlan network_vlan_ranges = physnet1:1000:2999 [database] connection = mysql://root:[email protected]:3306/neutron_linux_bridge retry_interval = 2 [linux_bridge] physical_interface_mappings = physnet1:eth0
Update the nova configuration file
/etc/nova/nova.conf
:[DEFAULT] network_api_class=nova.network.neutronv2.api.API neutron_admin_username=neutron neutron_admin_password=servicepassword neutron_admin_auth_url=http://controlnode:35357/v2.0/ neutron_auth_strategy=keystone neutron_admin_tenant_name=servicetenant neutron_url=http://100.1.1.10:9696/ firewall_driver=nova.virt.firewall.NoopFirewallDriver
HostA and HostB - DHCP Agent
Update the DHCP configuration file
/etc/neutron/dhcp_agent.ini
:[DEFAULT] interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver