"for tenant %(tenant_id)s")
+class MultiportNotFound(exceptions.QuantumException):
+ """Multiport cannot be found"""
+ message = _("Multiports %(port_id)s could not be found " \
+ "for tenant %(tenant_id)s")
+
+
class PortProfileInvalidDelete(exceptions.QuantumException):
"""Port profile cannot be deleted since its being used"""
message = _("Port profile %(profile_id)s could not be deleted " \
451: "CredentialNotFound",
452: "QoSNotFound",
453: "NovatenantNotFound",
+ 454: "MultiportNotFound",
470: "serviceUnavailable",
471: "pluginFault"}
This indicates that the server did not find the Credential specified
in the HTTP request
- code: 460, title: Credential not Found
+ code: 451, title: Credential not Found
"""
code = 451
title = 'Credential Not Found'
This indicates that the server did not find the QoS specified
in the HTTP request
- code: 480, title: QoS not Found
+ code: 452, title: QoS not Found
"""
code = 452
title = 'QoS Not Found'
This indicates that the server did not find the Novatenant specified
in the HTTP request
- code: 480, title: Nova tenant not Found
+ code: 453, title: Nova tenant not Found
"""
code = 453
title = 'Nova tenant Not Found'
+ ' the specified identifier.')
+class MultiportNotFound(webob.exc.HTTPClientError):
+ """
+ subclass of :class:`~HTTPClientError`
+
+ This indicates that the server did not find the Multiport specified
+ in the HTTP request
+
+ code: 454, title: Multiport not Found
+ """
+ code = 454
+ title = 'Multiport Not Found'
+ explanation = ('Unable to find Multiport with'
+ + ' the specified identifier.')
+
+
class RequestedStateInvalid(webob.exc.HTTPClientError):
"""
subclass of :class:`~HTTPClientError`