11 # iproute2 package that supports namespaces). |
11 # iproute2 package that supports namespaces). |
12 use_namespaces = False |
12 use_namespaces = False |
13 |
13 |
14 # If use_namespaces is set as False then the agent can only configure one |
14 # If use_namespaces is set as False then the agent can only configure one |
15 # router. |
15 # router. |
16 |
|
17 # This is done by setting the specific router_id. |
16 # This is done by setting the specific router_id. |
18 # router_id = |
17 # router_id = |
19 |
18 |
20 # Each L3 agent can be associated with at most one external network. This |
19 # When external_network_bridge is set, each L3 agent can be associated |
21 # value should be set to the UUID of that external network. If empty, |
20 # with no more than one external network. This value should be set to the UUID |
22 # the agent will enforce that only a single external networks exists and |
21 # of that external network. To allow L3 agent support multiple external |
23 # use that external network id |
22 # networks, both the external_network_bridge and gateway_external_network_id |
|
23 # must be left empty. |
24 # gateway_external_network_id = |
24 # gateway_external_network_id = |
25 |
25 |
26 # Indicates that this L3 agent should also handle routers that do not have |
26 # Indicates that this L3 agent should also handle routers that do not have |
27 # an external network gateway configured. This option should be True only |
27 # an external network gateway configured. This option should be True only |
28 # for a single agent in a Neutron deployment, and may be False for all agents |
28 # for a single agent in a Neutron deployment, and may be False for all agents |
29 # if all routers must have an external network gateway |
29 # if all routers must have an external network gateway |
30 # handle_internal_only_routers = True |
30 # handle_internal_only_routers = True |
31 |
31 |
32 # Name of bridge used for external network traffic. This should be set to |
32 # Name of bridge used for external network traffic. This should be set to |
33 # empty value for the linux bridge |
33 # empty value for the linux bridge. when this parameter is set, each L3 agent |
|
34 # can be associated with no more than one external network. |
34 external_network_bridge = |
35 external_network_bridge = |
|
36 |
|
37 # TCP Port used by Neutron metadata server |
|
38 # metadata_port = 9697 |
|
39 |
|
40 # Send this many gratuitous ARPs for HA setup. Set it below or equal to 0 |
|
41 # to disable this feature. |
|
42 # send_arp_for_ha = 3 |
35 |
43 |
36 # seconds between re-sync routers' data if needed |
44 # seconds between re-sync routers' data if needed |
37 # periodic_interval = 40 |
45 # periodic_interval = 40 |
38 |
46 |
39 # seconds to start to sync routers' data after |
47 # seconds to start to sync routers' data after |
40 # starting agent |
48 # starting agent |
41 # periodic_fuzzy_delay = 5 |
49 # periodic_fuzzy_delay = 5 |
42 |
50 |
43 # enable_metadata_proxy, which is true by default, can be set to False |
51 # enable_metadata_proxy, which is true by default, can be set to False |
44 # if the Nova metadata server is not available |
52 # if the Nova metadata server is not available |
45 enable_metadata_proxy = False |
53 enable_metadata_proxy = True |
|
54 |
|
55 # Location of Metadata Proxy UNIX domain socket |
|
56 # metadata_proxy_socket = $state_path/metadata_proxy |
|
57 |
|
58 # router_delete_namespaces, which is false by default, can be set to True if |
|
59 # namespaces can be deleted cleanly on the host running the L3 agent. |
|
60 # Do not enable this until you understand the problem with the Linux iproute |
|
61 # utility mentioned in https://bugs.launchpad.net/neutron/+bug/1052535 and |
|
62 # you are sure that your version of iproute does not suffer from the problem. |
|
63 # If True, namespaces will be deleted when a router is destroyed. |
|
64 # router_delete_namespaces = False |
|
65 |
|
66 # The working mode for the agent. Allowed values are: |
|
67 # - legacy: this preserves the existing behavior where the L3 agent is |
|
68 # deployed on a centralized networking node to provide L3 services |
|
69 # like DNAT, and SNAT. Use this mode if you do not want to adopt DVR. |
|
70 # - dvr: this mode enables DVR functionality, and must be used for an L3 |
|
71 # agent that runs on a compute host. |
|
72 # - dvr_snat: this enables centralized SNAT support in conjunction with |
|
73 # DVR. This mode must be used for an L3 agent running on a centralized |
|
74 # node (or in single-host deployments, e.g. devstack). |
|
75 # agent_mode = legacy |
|
76 |
|
77 # Location to store keepalived and all HA configurations |
|
78 # ha_confs_path = $state_path/ha_confs |
|
79 |
|
80 # VRRP authentication type AH/PASS |
|
81 # ha_vrrp_auth_type = PASS |
|
82 |
|
83 # VRRP authentication password |
|
84 # ha_vrrp_auth_password = |
|
85 |
|
86 # The advertisement interval in seconds |
|
87 # ha_vrrp_advert_int = 2 |
46 |
88 |
47 # Name of the datalink that connects to an external network. By default it's |
89 # Name of the datalink that connects to an external network. By default it's |
48 # set to net0. |
90 # set to net0. |
49 # external_network_datalink = net0 |
91 # external_network_datalink = net0 |
50 |
92 |