NSX-v3 sensible HTTP connection defaults

This patch changes the defaults for the retries and http_timeout
conf properties in the nsx_v3 group of nsx.ini.

backport: liberty

Change-Id: I971701524e68a30fec580ef27faccdde46ccfd68
Closes-Bug: #1540463
This commit is contained in:
Boden R 2016-02-05 06:08:50 -07:00
parent e7012775a7
commit a28f99d78d
2 changed files with 2 additions and 2 deletions

View File

@ -356,7 +356,7 @@
# insecure = True
# The time in seconds before aborting a HTTP connection to a NSX manager.
# http_timeout = 75
# http_timeout = 10
# The time in seconds before aborting a HTTP read response from a NSX manager.
# http_read_timeout = 180

View File

@ -218,7 +218,7 @@ nsx_v3_opts = [
'"ca_file" will be used or if unsest the default '
'system root CAs will be used.')),
cfg.IntOpt('http_timeout',
default=75,
default=10,
help=_('Time before aborting a HTTP connection to a '
'NSX manager.')),
cfg.IntOpt('http_read_timeout',