SHARE
TWEET

/etc/neutron/l3_agent.ini

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