Merge "Change default local ovs connection timeout"

This commit is contained in:
Zuul 2019-04-05 04:18:55 +00:00 committed by Gerrit Code Review
commit 61e0ab0640
2 changed files with 9 additions and 2 deletions

View File

@ -113,11 +113,11 @@ ovs_opts = [
cfg.PortOpt('of_listen_port', default=6633,
help=_("Port to listen on for OpenFlow connections. "
"Used only for 'native' driver.")),
cfg.IntOpt('of_connect_timeout', default=30,
cfg.IntOpt('of_connect_timeout', default=300,
help=_("Timeout in seconds to wait for "
"the local switch connecting the controller. "
"Used only for 'native' driver.")),
cfg.IntOpt('of_request_timeout', default=10,
cfg.IntOpt('of_request_timeout', default=300,
help=_("Timeout in seconds to wait for a single "
"OpenFlow request. "
"Used only for 'native' driver.")),

View File

@ -0,0 +1,7 @@
---
other:
- |
In order to improve heavy load ovs agent restart success rate, instead
a retry or fullsync, the native driver ``of_connect_timeout`` and
``of_request_timeout`` are now set to 300s. The value does not have side
effect for the regular pressure ovs agent.