From: Salvatore Orlando Date: Wed, 10 Aug 2011 12:12:00 +0000 (+0100) Subject: Removing exceptions as well (previously only API faults were removed) X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=dee04055e6e8fa6868d815dfc8160c9b07b1467a;p=openstack-build%2Fneutron-build.git Removing exceptions as well (previously only API faults were removed) --- diff --git a/quantum/common/exceptions.py b/quantum/common/exceptions.py index 0a971eb6a..816851f7a 100644 --- a/quantum/common/exceptions.py +++ b/quantum/common/exceptions.py @@ -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