The service_plugin should be set in /etc/neutron/neutron.conf:
【service_plugins = router,lbaas】
The interface_driver and device_driver should be set in /etc/neutron/lbaas_agent.ini. Since the load balancer will be haproxy, set the device_driver accordingly:
【device_driver = neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver】
根据自己的实际环境开始对应的驱动
The interface_driver will depend on the core L2 plugin being used.
For OpenVSwitch:
【interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver】
For linuxbridge:
【interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver】
重启 neutron-server service 和 neutron-lbaas-agent service进程
# service neutron-server restart
# service neutron-lbaas-agent restart