]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Removing exceptions as well (previously only API faults were removed)
authorSalvatore Orlando <salvatore.orlando@eu.citrix.com>
Wed, 10 Aug 2011 12:12:00 +0000 (13:12 +0100)
committerSalvatore Orlando <salvatore.orlando@eu.citrix.com>
Wed, 10 Aug 2011 12:12:00 +0000 (13:12 +0100)
quantum/common/exceptions.py

index 0a971eb6a832e684fd83394aa42f07de974a4d29..816851f7a57d7bdccc3fe66e8a034ce66e915cd6 100644 (file)
@@ -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