use 'uuid' field in networks table rather than 'bridge'. Specify project_id when creating instance in unit test

This commit is contained in:
Dan Wendlandt
2011-08-28 11:37:19 -07:00
parent 6f8f9c7b82
commit d5b4893837
7 changed files with 57 additions and 22 deletions

View File

@@ -411,6 +411,10 @@ class NetworkNotFoundForBridge(NetworkNotFound):
message = _("Network could not be found for bridge %(bridge)s")
class NetworkNotFoundForUUID(NetworkNotFound):
message = _("Network could not be found for uuid %(uuid)s")
class NetworkNotFoundForCidr(NetworkNotFound):
message = _("Network could not be found with cidr %(cidr)s.")