Merge "Add RouterNotFoundInRouterFactory exception"

This commit is contained in:
Zuul 2019-02-24 00:07:10 +00:00 committed by Gerrit Code Review
commit b39260e7c9
2 changed files with 9 additions and 0 deletions

View File

@ -77,6 +77,11 @@ class RouterNotCompatibleWithAgent(exceptions.NeutronException):
message = _("Router '%(router_id)s' is not compatible with this agent.")
class RouterNotFoundInRouterFactory(exceptions.NeutronException):
message = _("Router '%(router_id)s' with features '%(features)s' could "
"not be found in the router factory.")
class FloatingIpSetupException(exceptions.NeutronException):
def __init__(self, message=None):
self.message = message

View File

@ -0,0 +1,4 @@
---
features:
- Adds new L3 exception ``RouterNotFoundInRouterFactory`` in
``neutron_lib.exceptions.l3``.