NSX|V3+P: Transalte nsxlib ServiceUnavailable exception
to HTTPServiceUnavailable Change-Id: I5f9159368dfbb4a0935afc9b83d72aba2dfc58b2
This commit is contained in:
parent
c301b45a4a
commit
2147b82089
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue