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
parent c6bf85ef63
commit e4724a3a3c

View File

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