]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
BigSwitch: Widen range of HTTPExceptions caught
authorKevin Benton <blak111@gmail.com>
Fri, 7 Mar 2014 19:30:45 +0000 (11:30 -0800)
committerKevin Benton <blak111@gmail.com>
Wed, 12 Mar 2014 20:53:26 +0000 (13:53 -0700)
commit815dd8c4ea026b4064a853c7ad5bab47afec06b6
tree293f862ab2aa0a7003eb2b6c553d7713a106d7ad
parent2acc53aa39b962640564b2c35252711995324eb7
BigSwitch: Widen range of HTTPExceptions caught

In order to trigger a reconnect, the Big Switch
plugin was only checking for httplib.ImproperConnectionState
which doesn't include relevant exceptions that
indicate a reconnect is necessary. This patch
adjusts it to reconnect on any HTTPException.

Closes-Bug: #1289236
Change-Id: I4b389172dc4a53b0381e40005d8421f71b7d8522
neutron/plugins/bigswitch/servermanager.py
neutron/tests/unit/bigswitch/test_servermanager.py