Merge "Add InvalidIpForNetworkClient exception"

This commit is contained in:
Jenkins 2014-10-15 03:39:41 +00:00 committed by Gerrit Code Review
commit 72c1473f11
2 changed files with 5 additions and 0 deletions

View File

@ -140,6 +140,10 @@ class IpAddressInUseClient(Conflict):
pass
class InvalidIpForNetworkClient(BadRequest):
pass
class OverQuotaClient(Conflict):
pass

View File

@ -666,6 +666,7 @@ class CLITestV20ExceptionHandler(CLITestV20Base):
('ExternalIpAddressExhausted',
exceptions.ExternalIpAddressExhaustedClient, 400),
('OverQuota', exceptions.OverQuotaClient, 409),
('InvalidIpForNetwork', exceptions.InvalidIpForNetworkClient, 400),
]
error_msg = 'dummy exception message'