Removing exceptions as well (previously only API faults were removed)
This commit is contained in:
parent
a0d562044d
commit
dee04055e6
@ -105,24 +105,12 @@ class PortInUse(QuantumException):
|
||||
"is plugged into the logical port.")
|
||||
|
||||
|
||||
class PortIsDown(QuantumException):
|
||||
message = _("Unable to perform operation on port %(port_id)s " \
|
||||
"for network %(net_id)s. The port is currently " \
|
||||
"administratively down.")
|
||||
|
||||
|
||||
class AlreadyAttached(QuantumException):
|
||||
message = _("Unable to plug the attachment %(att_id)s into port " \
|
||||
"%(port_id)s for network %(net_id)s. The attachment is " \
|
||||
"already plugged into port %(att_port_id)s")
|
||||
|
||||
|
||||
class NetworkNameExists(QuantumException):
|
||||
message = _("Unable to set network name to %(net_name). " \
|
||||
"Network with id %(net_id) already has this name for " \
|
||||
"tenant %(tenant_id)")
|
||||
|
||||
|
||||
class Duplicate(Error):
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user