]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NSX: Make conn_idle_timeout configurable
authorAaron Rosen <aaronorosen@gmail.com>
Thu, 16 Oct 2014 11:11:42 +0000 (04:11 -0700)
committerAaron Rosen <aaronorosen@gmail.com>
Thu, 16 Oct 2014 11:20:06 +0000 (04:20 -0700)
commitdac4adc9e540fefd2db66545dc6c2a06ba57020c
treedceee5413a3daa436b03defd77687f4ad48458d1
parentf1f34e04836265e753924a3aadcaf3f1b1dc209e
NSX: Make conn_idle_timeout configurable

If there is a loadbalancer that sits between NSX and neutron usually it has
a default http_timeout on long lived http_connections. This can cause
connections that have not been used from neutron to nsx to be reset after
sometime. This patch makes the amount time we wait to reconnect the connection
configurable so one can set it to match the balancer timeout to avoid having
to try the connection if the loadbalaner has already timed it out.

closes-bug #1382000

Change-Id: Ifca76ca6c24a2002b46b1935fbb4fc63f15c5af1
etc/neutron/plugins/vmware/nsx.ini
neutron/plugins/vmware/api_client/base.py
neutron/plugins/vmware/common/config.py
neutron/tests/unit/vmware/test_nsx_opts.py