Remove TooManyExternalNetworks exception class

This exception type is not used anymore as Neutron now don't have
'gateway_external_network_id' config option which was removed in
[1].

[1] https://review.opendev.org/#/c/666409/

Depends-On: https://review.opendev.org/690908
Depends-On: https://review.opendev.org/710429
Change-Id: I3ba42cf3ed54e49e8bc6a6deede398643dd1c78c
This commit is contained in:
Slawek Kaplonski 2019-10-24 12:12:20 +02:00
parent 33b41fb595
commit 95bcd28dae
2 changed files with 0 additions and 10 deletions

View File

@ -440,11 +440,6 @@ class ExternalIpAddressExhausted(BadRequest):
"network %(net_id)s.")
class TooManyExternalNetworks(NeutronException):
"""An error due to more than one external networks existing."""
message = _("More than one external network exists.")
class InvalidConfigurationOption(NeutronException):
"""An error due to an invalid configuration option value.

View File

@ -279,11 +279,6 @@ class TestExceptions(base.BaseTestCase):
_("Unable to find any IP address on external network darpanet."),
net_id='darpanet')
def test_too_many_external_networks(self):
self._check_nexc(
ne.TooManyExternalNetworks,
_("More than one external network exists."))
def test_invalid_configuration_option(self):
self._check_nexc(
ne.InvalidConfigurationOption,