diff options
| author | Josh Kearney <josh@jk0.org> | 2011-06-28 17:05:41 -0500 |
|---|---|---|
| committer | Josh Kearney <josh@jk0.org> | 2011-06-28 17:05:41 -0500 |
| commit | d59e576dfeccdbd7ee82ea2803b57e24dcba2c22 (patch) | |
| tree | ea8c17a46c7fe9f354e48aa6b9aa754586d13875 /nova/exception.py | |
| parent | d0ff8a737111e9155fd59816afa5c4fc2b34bb4c (diff) | |
| parent | 9ae4fbdef0a5f4c925c7e3d546edea06e608e39b (diff) | |
| download | nova-d59e576dfeccdbd7ee82ea2803b57e24dcba2c22.tar.gz nova-d59e576dfeccdbd7ee82ea2803b57e24dcba2c22.tar.xz nova-d59e576dfeccdbd7ee82ea2803b57e24dcba2c22.zip | |
Merged trunk
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index f3893d239..5d02e3179 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -361,6 +361,10 @@ class NoFixedIpsFoundForInstance(NotFound): class FloatingIpNotFound(NotFound): + message = _("Floating ip %(floating_ip)s not found") + + +class FloatingIpNotFoundForFixedAddress(NotFound): message = _("Floating ip not found for fixed address %(fixed_ip)s.") @@ -504,6 +508,11 @@ class InstanceMetadataNotFound(NotFound): "key %(metadata_key)s.") +class InstanceTypeExtraSpecsNotFound(NotFound): + message = _("Instance Type %(instance_type_id)s has no extra specs with " + "key %(extra_specs_key)s.") + + class LDAPObjectNotFound(NotFound): message = _("LDAP object could not be found") @@ -597,3 +606,11 @@ class MigrationError(NovaException): class MalformedRequestBody(NovaException): message = _("Malformed message body: %(reason)s") + + +class PasteConfigNotFound(NotFound): + message = _("Could not find paste config at %(path)s") + + +class PasteAppNotFound(NotFound): + message = _("Could not load paste app '%(name)s' from %(path)s") |
