Add nova.exception.InvalidRPCConnectionReuse.
nova.rpc.common.ConnectionContext makes use of an exception that was not defined. This patch adds it. Change-Id: Ibfbd2fc56dbcc36c8f271d5bc8c6e1db04ce8c93
This commit is contained in:
@@ -247,6 +247,10 @@ class InvalidCidr(Invalid):
|
||||
message = _("Invalid cidr %(cidr)s.")
|
||||
|
||||
|
||||
class InvalidRPCConnectionReuse(Invalid):
|
||||
message = _("Invalid reuse of an RPC connection.")
|
||||
|
||||
|
||||
# Cannot be templated as the error syntax varies.
|
||||
# msg needs to be constructed when raised.
|
||||
class InvalidParameterValue(Invalid):
|
||||
|
Reference in New Issue
Block a user