NSX|V3+P: Transalte nsxlib ServiceUnavailable exception

to HTTPServiceUnavailable

Change-Id: I5f9159368dfbb4a0935afc9b83d72aba2dfc58b2
This commit is contained in:
asarfaty 2020-07-06 12:21:51 +02:00 committed by Adit Sarfaty
parent c301b45a4a
commit 2147b82089
1 changed files with 2 additions and 0 deletions

View File

@ -188,6 +188,8 @@ class NsxPluginV3Base(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
webob.exc.HTTPBadRequest, webob.exc.HTTPBadRequest,
nsx_exc.NsxPluginTemporaryError: nsx_exc.NsxPluginTemporaryError:
webob.exc.HTTPServiceUnavailable, webob.exc.HTTPServiceUnavailable,
nsx_lib_exc.ServiceUnavailable:
webob.exc.HTTPServiceUnavailable,
nsx_lib_exc.TooManyRequests: nsx_lib_exc.TooManyRequests:
webob.exc.HTTPServiceUnavailable webob.exc.HTTPServiceUnavailable
}) })