diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron/l3_agent.ini')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron/l3_agent.ini | 343 |
1 files changed, 295 insertions, 48 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/l3_agent.ini b/meta-openstack/recipes-devtools/python/python-neutron/l3_agent.ini index 1310c7e..f638097 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron/l3_agent.ini +++ b/meta-openstack/recipes-devtools/python/python-neutron/l3_agent.ini | |||
| @@ -1,65 +1,312 @@ | |||
| 1 | [DEFAULT] | 1 | [DEFAULT] |
| 2 | # Show debugging output in log (sets DEBUG log level output) | ||
| 3 | # debug = False | ||
| 4 | 2 | ||
| 5 | # L3 requires that an interface driver be set. Choose the one that best | 3 | # |
| 6 | # matches your plugin. | 4 | # From neutron.base.agent |
| 7 | # interface_driver = | 5 | # |
| 8 | 6 | ||
| 9 | # Example of interface_driver option for OVS based plugins (OVS, Ryu, NEC) | 7 | # Name of Open vSwitch bridge to use (string value) |
| 10 | # that supports L3 agent | 8 | #ovs_integration_bridge = br-int |
| 11 | interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver | ||
| 12 | 9 | ||
| 13 | # Use veth for an OVS interface or not. | 10 | # Uses veth for an OVS interface or not. Support kernels with limited namespace |
| 14 | # Support kernels with limited namespace support | 11 | # support (e.g. RHEL 6.5) so long as ovs_use_veth is set to True. (boolean |
| 15 | # (e.g. RHEL 6.5) so long as ovs_use_veth is set to True. | 12 | # value) |
| 16 | # ovs_use_veth = False | 13 | #ovs_use_veth = false |
| 17 | 14 | ||
| 18 | # Example of interface_driver option for LinuxBridge | 15 | # The driver used to manage the virtual interface. (string value) |
| 19 | # interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver | 16 | #interface_driver = <None> |
| 20 | 17 | ||
| 21 | # Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and | 18 | # Timeout in seconds for ovs-vsctl commands. If the timeout expires, ovs |
| 22 | # iproute2 package that supports namespaces). | 19 | # commands will fail with ALARMCLOCK error. (integer value) |
| 23 | # use_namespaces = True | 20 | #ovs_vsctl_timeout = 10 |
| 24 | 21 | ||
| 25 | # If use_namespaces is set as False then the agent can only configure one router. | 22 | # |
| 23 | # From neutron.l3.agent | ||
| 24 | # | ||
| 26 | 25 | ||
| 27 | # This is done by setting the specific router_id. | 26 | # The working mode for the agent. Allowed modes are: 'legacy' - this preserves |
| 28 | # router_id = | 27 | # the existing behavior where the L3 agent is deployed on a centralized |
| 28 | # networking node to provide L3 services like DNAT, and SNAT. Use this mode if | ||
| 29 | # you do not want to adopt DVR. 'dvr' - this mode enables DVR functionality and | ||
| 30 | # must be used for an L3 agent that runs on a compute host. 'dvr_snat' - this | ||
| 31 | # enables centralized SNAT support in conjunction with DVR. This mode must be | ||
| 32 | # used for an L3 agent running on a centralized node (or in single-host | ||
| 33 | # deployments, e.g. devstack). 'dvr_no_external' - this mode enables only | ||
| 34 | # East/West DVR routing functionality for a L3 agent that runs on a compute | ||
| 35 | # host, the North/South functionality such as DNAT and SNAT will be provided by | ||
| 36 | # the centralized network node that is running in 'dvr_snat' mode. This mode | ||
| 37 | # should be used when there is no external network connectivity on the compute | ||
| 38 | # host. (string value) | ||
| 39 | # Allowed values: dvr, dvr_snat, legacy, dvr_no_external | ||
| 40 | #agent_mode = legacy | ||
| 29 | 41 | ||
| 30 | # Each L3 agent can be associated with at most one external network. This | 42 | # TCP Port used by Neutron metadata namespace proxy. (port value) |
| 31 | # value should be set to the UUID of that external network. If empty, | 43 | # Minimum value: 0 |
| 32 | # the agent will enforce that only a single external networks exists and | 44 | # Maximum value: 65535 |
| 33 | # use that external network id | 45 | #metadata_port = 9697 |
| 34 | # gateway_external_network_id = | ||
| 35 | 46 | ||
| 36 | # Indicates that this L3 agent should also handle routers that do not have | 47 | # Indicates that this L3 agent should also handle routers that do not have an |
| 37 | # an external network gateway configured. This option should be True only | 48 | # external network gateway configured. This option should be True only for a |
| 38 | # for a single agent in a Neutron deployment, and may be False for all agents | 49 | # single agent in a Neutron deployment, and may be False for all agents if all |
| 39 | # if all routers must have an external network gateway | 50 | # routers must have an external network gateway. (boolean value) |
| 40 | # handle_internal_only_routers = True | 51 | #handle_internal_only_routers = true |
| 41 | 52 | ||
| 42 | # Name of bridge used for external network traffic. This should be set to | 53 | # DEPRECATED: When external_network_bridge is set, each L3 agent can be |
| 43 | # empty value for the linux bridge | 54 | # associated with no more than one external network. This value should be set |
| 44 | # external_network_bridge = br-ex | 55 | # to the UUID of that external network. To allow L3 agent support multiple |
| 56 | # external networks, both the external_network_bridge and | ||
| 57 | # gateway_external_network_id must be left empty. (string value) | ||
| 58 | # This option is deprecated for removal. | ||
| 59 | # Its value may be silently ignored in the future. | ||
| 60 | #gateway_external_network_id = | ||
| 45 | 61 | ||
| 46 | # TCP Port used by Neutron metadata server | 62 | # With IPv6, the network used for the external gateway does not need to have an |
| 47 | # metadata_port = 9697 | 63 | # associated subnet, since the automatically assigned link-local address (LLA) |
| 64 | # can be used. However, an IPv6 gateway address is needed for use as the next- | ||
| 65 | # hop for the default route. If no IPv6 gateway address is configured here, | ||
| 66 | # (and only then) the neutron router will be configured to get its default | ||
| 67 | # route from router advertisements (RAs) from the upstream router; in which | ||
| 68 | # case the upstream router must also be configured to send these RAs. The | ||
| 69 | # ipv6_gateway, when configured, should be the LLA of the interface on the | ||
| 70 | # upstream router. If a next-hop using a global unique address (GUA) is | ||
| 71 | # desired, it needs to be done via a subnet allocated to the network and not | ||
| 72 | # through this parameter. (string value) | ||
| 73 | #ipv6_gateway = | ||
| 48 | 74 | ||
| 49 | # Send this many gratuitous ARPs for HA setup. Set it below or equal to 0 | 75 | # Driver used for ipv6 prefix delegation. This needs to be an entry point |
| 50 | # to disable this feature. | 76 | # defined in the neutron.agent.linux.pd_drivers namespace. See setup.cfg for |
| 51 | # send_arp_for_ha = 3 | 77 | # entry points included with the neutron source. (string value) |
| 78 | #prefix_delegation_driver = dibbler | ||
| 52 | 79 | ||
| 53 | # seconds between re-sync routers' data if needed | 80 | # Allow running metadata proxy. (boolean value) |
| 54 | # periodic_interval = 40 | 81 | #enable_metadata_proxy = true |
| 55 | 82 | ||
| 56 | # seconds to start to sync routers' data after | 83 | # Iptables mangle mark used to mark metadata valid requests. This mark will be |
| 57 | # starting agent | 84 | # masked with 0xffff so that only the lower 16 bits will be used. (string |
| 58 | # periodic_fuzzy_delay = 5 | 85 | # value) |
| 86 | #metadata_access_mark = 0x1 | ||
| 59 | 87 | ||
| 60 | # enable_metadata_proxy, which is true by default, can be set to False | 88 | # Iptables mangle mark used to mark ingress from external network. This mark |
| 61 | # if the Nova metadata server is not available | 89 | # will be masked with 0xffff so that only the lower 16 bits will be used. |
| 62 | # enable_metadata_proxy = True | 90 | # (string value) |
| 91 | #external_ingress_mark = 0x2 | ||
| 63 | 92 | ||
| 64 | # Location of Metadata Proxy UNIX domain socket | 93 | # DEPRECATED: Name of bridge used for external network traffic. When this |
| 65 | # metadata_proxy_socket = $state_path/metadata_proxy | 94 | # parameter is set, the L3 agent will plug an interface directly into an |
| 95 | # external bridge which will not allow any wiring by the L2 agent. Using this | ||
| 96 | # will result in incorrect port statuses. This option is deprecated and will be | ||
| 97 | # removed in Ocata. (string value) | ||
| 98 | # This option is deprecated for removal. | ||
| 99 | # Its value may be silently ignored in the future. | ||
| 100 | #external_network_bridge = | ||
| 101 | |||
| 102 | # Seconds between running periodic tasks. (integer value) | ||
| 103 | #periodic_interval = 40 | ||
| 104 | |||
| 105 | # Number of separate API worker processes for service. If not specified, the | ||
| 106 | # default is equal to the number of CPUs available for best performance. | ||
| 107 | # (integer value) | ||
| 108 | #api_workers = <None> | ||
| 109 | |||
| 110 | # Number of RPC worker processes for service. (integer value) | ||
| 111 | #rpc_workers = 1 | ||
| 112 | |||
| 113 | # Number of RPC worker processes dedicated to state reports queue. (integer | ||
| 114 | # value) | ||
| 115 | #rpc_state_report_workers = 1 | ||
| 116 | |||
| 117 | # Range of seconds to randomly delay when starting the periodic task scheduler | ||
| 118 | # to reduce stampeding. (Disable by setting to 0) (integer value) | ||
| 119 | #periodic_fuzzy_delay = 5 | ||
| 120 | |||
| 121 | # Location to store keepalived/conntrackd config files (string value) | ||
| 122 | #ha_confs_path = $state_path/ha_confs | ||
| 123 | |||
| 124 | # VRRP authentication type (string value) | ||
| 125 | # Allowed values: AH, PASS | ||
| 126 | #ha_vrrp_auth_type = PASS | ||
| 127 | |||
| 128 | # VRRP authentication password (string value) | ||
| 129 | #ha_vrrp_auth_password = <None> | ||
| 130 | |||
| 131 | # The advertisement interval in seconds (integer value) | ||
| 132 | #ha_vrrp_advert_int = 2 | ||
| 133 | |||
| 134 | # Number of concurrent threads for keepalived server connection requests. More | ||
| 135 | # threads create a higher CPU load on the agent node. (integer value) | ||
| 136 | # Minimum value: 1 | ||
| 137 | #ha_keepalived_state_change_server_threads = (1 + <num_of_cpus>) / 2 | ||
| 138 | |||
| 139 | # The VRRP health check interval in seconds. Values > 0 enable VRRP health | ||
| 140 | # checks. Setting it to 0 disables VRRP health checks. Recommended value is 5. | ||
| 141 | # This will cause pings to be sent to the gateway IP address(es) - requires | ||
| 142 | # ICMP_ECHO_REQUEST to be enabled on the gateway. If gateway fails, all routers | ||
| 143 | # will be reported as master, and master election will be repeated in round- | ||
| 144 | # robin fashion, until one of the router restore the gateway connection. | ||
| 145 | # (integer value) | ||
| 146 | #ha_vrrp_health_check_interval = 0 | ||
| 147 | |||
| 148 | # Service to handle DHCPv6 Prefix delegation. (string value) | ||
| 149 | #pd_dhcp_driver = dibbler | ||
| 150 | |||
| 151 | # Location to store IPv6 RA config files (string value) | ||
| 152 | #ra_confs = $state_path/ra | ||
| 153 | |||
| 154 | # MinRtrAdvInterval setting for radvd.conf (integer value) | ||
| 155 | #min_rtr_adv_interval = 30 | ||
| 156 | |||
| 157 | # MaxRtrAdvInterval setting for radvd.conf (integer value) | ||
| 158 | #max_rtr_adv_interval = 100 | ||
| 159 | |||
| 160 | # | ||
| 161 | # From oslo.log | ||
| 162 | # | ||
| 163 | |||
| 164 | # If set to true, the logging level will be set to DEBUG instead of the default | ||
| 165 | # INFO level. (boolean value) | ||
| 166 | # Note: This option can be changed without restarting. | ||
| 167 | #debug = false | ||
| 168 | |||
| 169 | # The name of a logging configuration file. This file is appended to any | ||
| 170 | # existing logging configuration files. For details about logging configuration | ||
| 171 | # files, see the Python logging module documentation. Note that when logging | ||
| 172 | # configuration files are used then all logging configuration is set in the | ||
| 173 | # configuration file and other logging configuration options are ignored (for | ||
| 174 | # example, logging_context_format_string). (string value) | ||
| 175 | # Note: This option can be changed without restarting. | ||
| 176 | # Deprecated group/name - [DEFAULT]/log_config | ||
| 177 | #log_config_append = <None> | ||
| 178 | |||
| 179 | # Defines the format string for %%(asctime)s in log records. Default: | ||
| 180 | # %(default)s . This option is ignored if log_config_append is set. (string | ||
| 181 | # value) | ||
| 182 | #log_date_format = %Y-%m-%d %H:%M:%S | ||
| 183 | |||
| 184 | # (Optional) Name of log file to send logging output to. If no default is set, | ||
| 185 | # logging will go to stderr as defined by use_stderr. This option is ignored if | ||
| 186 | # log_config_append is set. (string value) | ||
| 187 | # Deprecated group/name - [DEFAULT]/logfile | ||
| 188 | #log_file = <None> | ||
| 189 | |||
| 190 | # (Optional) The base directory used for relative log_file paths. This option | ||
| 191 | # is ignored if log_config_append is set. (string value) | ||
| 192 | # Deprecated group/name - [DEFAULT]/logdir | ||
| 193 | #log_dir = <None> | ||
| 194 | |||
| 195 | # Uses logging handler designed to watch file system. When log file is moved or | ||
| 196 | # removed this handler will open a new log file with specified path | ||
| 197 | # instantaneously. It makes sense only if log_file option is specified and | ||
| 198 | # Linux platform is used. This option is ignored if log_config_append is set. | ||
| 199 | # (boolean value) | ||
| 200 | #watch_log_file = false | ||
| 201 | |||
| 202 | # Use syslog for logging. Existing syslog format is DEPRECATED and will be | ||
| 203 | # changed later to honor RFC5424. This option is ignored if log_config_append | ||
| 204 | # is set. (boolean value) | ||
| 205 | #use_syslog = false | ||
| 206 | |||
| 207 | # Enable journald for logging. If running in a systemd environment you may wish | ||
| 208 | # to enable journal support. Doing so will use the journal native protocol | ||
| 209 | # which includes structured metadata in addition to log messages.This option is | ||
| 210 | # ignored if log_config_append is set. (boolean value) | ||
| 211 | #use_journal = false | ||
| 212 | |||
| 213 | # Syslog facility to receive log lines. This option is ignored if | ||
| 214 | # log_config_append is set. (string value) | ||
| 215 | #syslog_log_facility = LOG_USER | ||
| 216 | |||
| 217 | # Log output to standard error. This option is ignored if log_config_append is | ||
| 218 | # set. (boolean value) | ||
| 219 | #use_stderr = false | ||
| 220 | |||
| 221 | # Format string to use for log messages with context. (string value) | ||
| 222 | #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s | ||
| 223 | |||
| 224 | # Format string to use for log messages when context is undefined. (string | ||
| 225 | # value) | ||
| 226 | #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s | ||
| 227 | |||
| 228 | # Additional data to append to log message when logging level for the message | ||
| 229 | # is DEBUG. (string value) | ||
| 230 | #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d | ||
| 231 | |||
| 232 | # Prefix each line of exception output with this format. (string value) | ||
| 233 | #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s | ||
| 234 | |||
| 235 | # Defines the format string for %(user_identity)s that is used in | ||
| 236 | # logging_context_format_string. (string value) | ||
| 237 | #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s | ||
| 238 | |||
| 239 | # List of package logging levels in logger=LEVEL pairs. This option is ignored | ||
| 240 | # if log_config_append is set. (list value) | ||
| 241 | #default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,oslo_messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO | ||
| 242 | |||
| 243 | # Enables or disables publication of error events. (boolean value) | ||
| 244 | #publish_errors = false | ||
| 245 | |||
| 246 | # The format for an instance that is passed with the log message. (string | ||
| 247 | # value) | ||
| 248 | #instance_format = "[instance: %(uuid)s] " | ||
| 249 | |||
| 250 | # The format for an instance UUID that is passed with the log message. (string | ||
| 251 | # value) | ||
| 252 | #instance_uuid_format = "[instance: %(uuid)s] " | ||
| 253 | |||
| 254 | # Interval, number of seconds, of log rate limiting. (integer value) | ||
| 255 | #rate_limit_interval = 0 | ||
| 256 | |||
| 257 | # Maximum number of logged messages per rate_limit_interval. (integer value) | ||
| 258 | #rate_limit_burst = 0 | ||
| 259 | |||
| 260 | # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG | ||
| 261 | # or empty string. Logs with level greater or equal to rate_limit_except_level | ||
| 262 | # are not filtered. An empty string means that all levels are filtered. (string | ||
| 263 | # value) | ||
| 264 | #rate_limit_except_level = CRITICAL | ||
| 265 | |||
| 266 | # Enables or disables fatal status of deprecations. (boolean value) | ||
| 267 | #fatal_deprecations = false | ||
| 268 | |||
| 269 | |||
| 270 | [agent] | ||
| 271 | |||
| 272 | # | ||
| 273 | # From neutron.az.agent | ||
| 274 | # | ||
| 275 | |||
| 276 | # Availability zone of this node (string value) | ||
| 277 | #availability_zone = nova | ||
| 278 | |||
| 279 | # | ||
| 280 | # From neutron.base.agent | ||
| 281 | # | ||
| 282 | |||
| 283 | # Seconds between nodes reporting state to server; should be less than | ||
| 284 | # agent_down_time, best if it is half or less than agent_down_time. (floating | ||
| 285 | # point value) | ||
| 286 | #report_interval = 30 | ||
| 287 | |||
| 288 | # Log agent heartbeats (boolean value) | ||
| 289 | #log_agent_heartbeats = false | ||
| 290 | |||
| 291 | # | ||
| 292 | # From neutron.l3.agent | ||
| 293 | # | ||
| 294 | |||
| 295 | # Extensions list to use (list value) | ||
| 296 | #extensions = | ||
| 297 | |||
| 298 | |||
| 299 | [ovs] | ||
| 300 | |||
| 301 | # | ||
| 302 | # From neutron.base.agent | ||
| 303 | # | ||
| 304 | |||
| 305 | # The interface for interacting with the OVSDB (string value) | ||
| 306 | # Allowed values: vsctl, native | ||
| 307 | #ovsdb_interface = native | ||
| 308 | |||
| 309 | # The connection string for the OVSDB backend. Will be used by ovsdb-client | ||
| 310 | # when monitoring and used for the all ovsdb commands when native | ||
| 311 | # ovsdb_interface is enabled (string value) | ||
| 312 | #ovsdb_connection = tcp:127.0.0.1:6640 | ||
