merged with rev.1485
This commit is contained in:
@@ -450,6 +450,15 @@ class NoNetworksFound(NotFound):
|
||||
message = _("No networks defined.")
|
||||
|
||||
|
||||
class NetworkNotFoundForProject(NotFound):
|
||||
message = _("Either Network uuid %(network_uuid)s is not present or "
|
||||
"is not assigned to the project %(project_id)s.")
|
||||
|
||||
|
||||
class NetworkHostNotSet(NovaException):
|
||||
message = _("Host is not set to the network (%(network_id)s).")
|
||||
|
||||
|
||||
class DatastoreNotFound(NotFound):
|
||||
message = _("Could not find the datastore reference(s) which the VM uses.")
|
||||
|
||||
@@ -483,6 +492,19 @@ class FixedIpNotFoundForHost(FixedIpNotFound):
|
||||
message = _("Host %(host)s has zero fixed ips.")
|
||||
|
||||
|
||||
class FixedIpNotFoundForNetwork(FixedIpNotFound):
|
||||
message = _("Fixed IP address (%(address)s) does not exist in "
|
||||
"network (%(network_uuid)s).")
|
||||
|
||||
|
||||
class FixedIpAlreadyInUse(NovaException):
|
||||
message = _("Fixed IP address %(address)s is already in use.")
|
||||
|
||||
|
||||
class FixedIpInvalid(Invalid):
|
||||
message = _("Fixed IP address %(address)s is invalid.")
|
||||
|
||||
|
||||
class NoMoreFixedIps(Error):
|
||||
message = _("Zero fixed ips available.")
|
||||
|
||||
@@ -568,6 +590,16 @@ class SecurityGroupNotFoundForRule(SecurityGroupNotFound):
|
||||
message = _("Security group with rule %(rule_id)s not found.")
|
||||
|
||||
|
||||
class SecurityGroupExistsForInstance(Invalid):
|
||||
message = _("Security group %(security_group_id)s is already associated"
|
||||
" with the instance %(instance_id)s")
|
||||
|
||||
|
||||
class SecurityGroupNotExistsForInstance(Invalid):
|
||||
message = _("Security group %(security_group_id)s is not associated with"
|
||||
" the instance %(instance_id)s")
|
||||
|
||||
|
||||
class MigrationNotFound(NotFound):
|
||||
message = _("Migration %(migration_id)s could not be found.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user