Adding accessor methods for instance type metadata

This commit is contained in:
Lorin Hochstein
2011-05-27 13:03:36 -04:00
parent 6cd4020b85
commit b7683abcc3

View File

@@ -474,6 +474,11 @@ class InstanceMetadataNotFound(NotFound):
message = _("Instance %(instance_id)s has no metadata with "
"key %(metadata_key)s.")
class InstanceTypeMetadataNotFound(NotFound):
message = _("Instance Type %(instance_type_id)s has no metadata with "
"key %(metadata_key)s.")
class LDAPObjectNotFound(NotFound):
message = _("LDAP object could not be found")