Returns more appropriate error when address pool is exhausted
Fixes bug 1086226 Change-Id: I97a73151a1ed42877116238a6a741c68c75e199a
This commit is contained in:
parent
64f2a38bc9
commit
b939b0749a
@ -47,6 +47,7 @@ FAULT_MAP = {exceptions.NotFound: webob.exc.HTTPNotFound,
|
||||
netaddr.AddrFormatError: webob.exc.HTTPBadRequest,
|
||||
AttributeError: webob.exc.HTTPBadRequest,
|
||||
ValueError: webob.exc.HTTPBadRequest,
|
||||
exceptions.IpAddressGenerationFailure: webob.exc.HTTPConflict,
|
||||
}
|
||||
|
||||
QUOTAS = quota.QUOTAS
|
||||
|
Loading…
x
Reference in New Issue
Block a user