Advertisement
AshrafHassan

l3_agent.ini

Feb 16th, 2016
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.41 KB | None | 0 0
  1. # cat /etc/neutron/l3_agent.ini
  2. [DEFAULT]
  3. # Show debugging output in log (sets DEBUG log level output)
  4. # debug = False
  5. debug = False
  6.  
  7. # L3 requires that an interface driver be set. Choose the one that best
  8. # matches your plugin.
  9. # interface_driver =
  10. interface_driver =neutron.agent.linux.interface.OVSInterfaceDriver
  11.  
  12. # Example of interface_driver option for OVS based plugins (OVS, Ryu, NEC)
  13. # that supports L3 agent
  14. # interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
  15.  
  16. # Use veth for an OVS interface or not.
  17. # Support kernels with limited namespace support
  18. # (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
  19. # ovs_use_veth = False
  20.  
  21. # Example of interface_driver option for LinuxBridge
  22. # interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
  23.  
  24. # Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
  25. # iproute2 package that supports namespaces). This option is deprecated and
  26. # will be removed in a future release, at which point the old behavior of
  27. # use_namespaces = True will be enforced.
  28. use_namespaces = True
  29. # use_namespaces = True
  30.  
  31. # If use_namespaces is set as False then the agent can only configure one router.
  32.  
  33. # This is done by setting the specific router_id.
  34. # router_id =
  35.  
  36. # When external_network_bridge is set, each L3 agent can be associated
  37. # with no more than one external network. This value should be set to the UUID
  38. # of that external network. To allow L3 agent support multiple external
  39. # networks, both the external_network_bridge and gateway_external_network_id
  40. # must be left empty.
  41. # gateway_external_network_id =
  42.  
  43. # With IPv6, the network used for the external gateway does not need
  44. # to have an associated subnet, since the automatically assigned
  45. # link-local address (LLA) can be used. However, an IPv6 gateway address
  46. # is needed for use as the next-hop for the default route. If no IPv6
  47. # gateway address is configured here, (and only then) the neutron router
  48. # will be configured to get its default route from router advertisements (RAs)
  49. # from the upstream router; in which case the upstream router must also be
  50. # configured to send these RAs.
  51. # The ipv6_gateway, when configured, should be the LLA of the interface
  52. # on the upstream router. If a next-hop using a global unique address (GUA)
  53. # is desired, it needs to be done via a subnet allocated to the network
  54. # and not through this parameter.
  55. # ipv6_gateway =
  56.  
  57. # Indicates that this L3 agent should also handle routers that do not have
  58. # an external network gateway configured.  This option should be True only
  59. # for a single agent in a Neutron deployment, and may be False for all agents
  60. # if all routers must have an external network gateway
  61. # handle_internal_only_routers = True
  62. handle_internal_only_routers = True
  63.  
  64. # Name of bridge used for external network traffic. This should be set to
  65. # empty value for the linux bridge. when this parameter is set, each L3 agent
  66. # can be associated with no more than one external network.
  67. # external_network_bridge = br-ex
  68. external_network_bridge = br-ex
  69.  
  70. # TCP Port used by Neutron metadata server
  71. # metadata_port = 9697
  72. metadata_port = 9697
  73.  
  74. # Send this many gratuitous ARPs for HA setup. Set it below or equal to 0
  75. # to disable this feature.
  76. # send_arp_for_ha = 3
  77. send_arp_for_ha = 3
  78.  
  79. # seconds between re-sync routers' data if needed
  80. # periodic_interval = 40
  81. periodic_interval = 40
  82.  
  83. # seconds to start to sync routers' data after
  84. # starting agent
  85. # periodic_fuzzy_delay = 5
  86. periodic_fuzzy_delay = 5
  87.  
  88. # enable_metadata_proxy, which is true by default, can be set to False
  89. # if the Nova metadata server is not available
  90. # enable_metadata_proxy = True
  91. enable_metadata_proxy = True
  92.  
  93. # Iptables mangle mark used to mark metadata valid requests
  94. # metadata_access_mark = 0x1
  95.  
  96. # Iptables mangle mark used to mark ingress from external network
  97. # external_ingress_mark = 0x2
  98.  
  99. # router_delete_namespaces, which is false by default, can be set to True if
  100. # namespaces can be deleted cleanly on the host running the L3 agent.
  101. # Do not enable this until you understand the problem with the Linux iproute
  102. # utility mentioned in https://bugs.launchpad.net/neutron/+bug/1052535 and
  103. # you are sure that your version of iproute does not suffer from the problem.
  104. # If True, namespaces will be deleted when a router is destroyed.
  105. # router_delete_namespaces = False
  106. router_delete_namespaces = False
  107.  
  108. # Timeout for ovs-vsctl commands.
  109. # If the timeout expires, ovs commands will fail with ALARMCLOCK error.
  110. # ovs_vsctl_timeout = 10
  111.  
  112. # The working mode for the agent. Allowed values are:
  113. # - legacy: this preserves the existing behavior where the L3 agent is
  114. #   deployed on a centralized networking node to provide L3 services
  115. #   like DNAT, and SNAT. Use this mode if you do not want to adopt DVR.
  116. # - dvr: this mode enables DVR functionality, and must be used for an L3
  117. #   agent that runs on a compute host.
  118. # - dvr_snat: this enables centralized SNAT support in conjunction with
  119. #   DVR. This mode must be used for an L3 agent running on a centralized
  120. #   node (or in single-host deployments, e.g. devstack).
  121. # agent_mode = legacy
  122. agent_mode = legacy
  123.  
  124. # Location to store keepalived and all HA configurations
  125. # ha_confs_path = $state_path/ha_confs
  126.  
  127. # VRRP authentication type AH/PASS
  128. # ha_vrrp_auth_type = PASS
  129.  
  130. # VRRP authentication password
  131. # ha_vrrp_auth_password =
  132.  
  133. # The advertisement interval in seconds
  134. # ha_vrrp_advert_int = 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement