]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NSX: Add ability to retry on 503's returned by the controller
authorarmando-migliaccio <armamig@gmail.com>
Fri, 7 Mar 2014 02:39:44 +0000 (18:39 -0800)
committerarmando-migliaccio <armamig@gmail.com>
Fri, 7 Mar 2014 02:57:17 +0000 (18:57 -0800)
commitcb99c08e968685c6f59bab2e49f86d56a2ec509d
tree0eeee6dbf6db5bfb0200cf2a9a36eb550151e366
parent005fec677c3bf8b2aa0df68c4aedc2b708ec7caf
NSX: Add ability to retry on 503's returned by the controller

There are a number of circumstances where the NSX controller
may return 503. Currently the API client does not retry, so
this patch adds a retry logic with timeout.

Closes-bug: #1284277

Change-Id: I85df087d5ae409e6cb5c35eb171e89346abe81f4
neutron/plugins/vmware/api_client/eventlet_request.py