Remove two exceptions already in neutron-lib

Since the InvalidIpForNetwork and InvalidContentType exception definitions
have already defined in neutron-lib, we don't need them in Neutron code.

Change-Id: I35afdf75a5e1fcb100f13f9ec3a0282192111e76
Signed-off-by: liusheng <liusheng@huawei.com>
This commit is contained in:
liusheng 2016-04-19 16:51:42 +08:00
parent 1a991f7786
commit d76a174d57
1 changed files with 0 additions and 9 deletions

View File

@ -77,11 +77,6 @@ class DNSNameServersExhausted(e.BadRequest):
"The number of DNS nameservers exceeds the limit %(quota)s.")
class InvalidIpForNetwork(e.BadRequest):
message = _("IP address %(ip_address)s is not a valid IP "
"for any of the subnets on the specified network.")
class FlatNetworkInUse(e.InUse):
message = _("Unable to create the flat network. "
"Physical network %(physical_network)s is in use.")
@ -153,10 +148,6 @@ class ExtensionsNotFound(e.NotFound):
message = _("Extensions not found: %(extensions)s.")
class InvalidContentType(e.NeutronException):
message = _("Invalid content type %(content_type)s.")
class GatewayConflictWithAllocationPools(e.InUse):
message = _("Gateway ip %(ip_address)s conflicts with "
"allocation pool %(pool)s.")