l3_agent.ini

L3 agent 相关的配置信息。
当存在外部网桥的时候,每个 agent 最多只能关联到一个外部网络。

  1. [DEFAULT]
  2. # Show debugging output in log (sets DEBUG log level output)
  3. # debug = False
  4. # L3 requires that an interface driver be set. Choose the one that best
  5. # matches your plugin.
  6. # interface_driver =
  7. # Example of interface_driver option for OVS based plugins (OVS, Ryu, NEC)
  8. # that supports L3 agent
  9. # interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
  10. # Use veth for an OVS interface or not.
  11. # Support kernels with limited namespace support
  12. # (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
  13. # ovs_use_veth = False
  14. # Example of interface_driver option for LinuxBridge
  15. # interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
  16. # Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
  17. # iproute2 package that supports namespaces).
  18. # use_namespaces = True
  19. # If use_namespaces is set as False then the agent can only configure one router.
  20. # This is done by setting the specific router_id.
  21. # router_id =
  22. # When external_network_bridge is set, each L3 agent can be associated
  23. # with no more than one external network. This value should be set to the UUID
  24. # of that external network. To allow L3 agent support multiple external
  25. # networks, both the external_network_bridge and gateway_external_network_id
  26. # must be left empty.
  27. # gateway_external_network_id =
  28. # Indicates that this L3 agent should also handle routers that do not have
  29. # an external network gateway configured. This option should be True only
  30. # for a single agent in a Neutron deployment, and may be False for all agents
  31. # if all routers must have an external network gateway
  32. # handle_internal_only_routers = True
  33. # Name of bridge used for external network traffic. This should be set to
  34. # empty value for the linux bridge. when this parameter is set, each L3 agent
  35. # can be associated with no more than one external network.
  36. # external_network_bridge = br-ex
  37. # TCP Port used by Neutron metadata server
  38. # metadata_port = 9697
  39. # Send this many gratuitous ARPs for HA setup. Set it below or equal to 0
  40. # to disable this feature.
  41. # send_arp_for_ha = 3
  42. # seconds between re-sync routers' data if needed
  43. # periodic_interval = 40
  44. # seconds to start to sync routers' data after
  45. # starting agent
  46. # periodic_fuzzy_delay = 5
  47. # enable_metadata_proxy, which is true by default, can be set to False
  48. # if the Nova metadata server is not available
  49. # enable_metadata_proxy = True
  50. # Location of Metadata Proxy UNIX domain socket
  51. # metadata_proxy_socket = $state_path/metadata_proxy
  52. # router_delete_namespaces, which is false by default, can be set to True if
  53. # namespaces can be deleted cleanly on the host running the L3 agent.
  54. # Do not enable this until you understand the problem with the Linux iproute
  55. # utility mentioned in https://bugs.launchpad.net/neutron/+bug/1052535 and
  56. # you are sure that your version of iproute does not suffer from the problem.
  57. # If True, namespaces will be deleted when a router is destroyed.
  58. # router_delete_namespaces = False
  59. # Timeout for ovs-vsctl commands.
  60. # If the timeout expires, ovs commands will fail with ALARMCLOCK error.
  61. # ovs_vsctl_timeout = 10
  62. # The working mode for the agent. Allowed values are:
  63. # - legacy: this preserves the existing behavior where the L3 agent is
  64. # deployed on a centralized networking node to provide L3 services
  65. # like DNAT, and SNAT. Use this mode if you do not want to adopt DVR.
  66. # - dvr: this mode enables DVR functionality, and must be used for an L3
  67. # agent that runs on a compute host.
  68. # - dvr_snat: this enables centralized SNAT support in conjunction with
  69. # DVR. This mode must be used for an L3 agent running on a centralized
  70. # node (or in single-host deployments, e.g. devstack).
  71. # agent_mode = legacy
  72. # Location to store keepalived and all HA configurations
  73. # ha_confs_path = $state_path/ha_confs
  74. # VRRP authentication type AH/PASS
  75. # ha_vrrp_auth_type = PASS
  76. # VRRP authentication password
  77. # ha_vrrp_auth_password =
  78. # The advertisement interval in seconds
  79. # ha_vrrp_advert_int = 2