lbaas_agent.ini

配置 LBaaS agent 的相关信息,包括跟 Neutron 定期同步状态的频率等。

  1. [DEFAULT]
  2. # Show debugging output in log (sets DEBUG log level output).
  3. # debug = False
  4. # The LBaaS agent will resync its state with Neutron to recover from any
  5. # transient notification or rpc errors. The interval is number of
  6. # seconds between attempts.
  7. # periodic_interval = 10
  8. # LBaas requires an interface driver be set. Choose the one that best
  9. # matches your plugin.
  10. # interface_driver =
  11. # Example of interface_driver option for OVS based plugins (OVS, Ryu, NEC, NVP,
  12. # BigSwitch/Floodlight)
  13. # interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
  14. # Use veth for an OVS interface or not.
  15. # Support kernels with limited namespace support
  16. # (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
  17. # ovs_use_veth = False
  18. # Example of interface_driver option for LinuxBridge
  19. # interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
  20. # The agent requires drivers to manage the loadbalancer. HAProxy is the opensource version.
  21. # Multiple device drivers reflecting different service providers could be specified:
  22. # device_driver = path.to.provider1.driver.Driver
  23. # device_driver = path.to.provider2.driver.Driver
  24. # Default is:
  25. # device_driver = neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver
  26. [haproxy]
  27. # Location to store config and state files
  28. # loadbalancer_state_path = $state_path/lbaas
  29. # The user group
  30. # user_group = nogroup
  31. # When delete and re-add the same vip, send this many gratuitous ARPs to flush
  32. # the ARP cache in the Router. Set it below or equal to 0 to disable this feature.
  33. # send_gratuitous_arp = 3