Commit 3d5a69c2 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

cyclades: Include project in server management commands

parent a8c939e2
...@@ -109,6 +109,7 @@ class Command(ListCommand): ...@@ -109,6 +109,7 @@ class Command(ListCommand):
"deleted": ("deleted", "Whether the server is deleted or not"), "deleted": ("deleted", "Whether the server is deleted or not"),
"suspended": ("suspended", "Whether the server is administratively" "suspended": ("suspended", "Whether the server is administratively"
" suspended"), " suspended"),
"project": ("project", "The project UUID"),
} }
fields = ["id", "name", "user.uuid", "state", "flavor", "image.id", fields = ["id", "name", "user.uuid", "state", "flavor", "image.id",
......
...@@ -67,6 +67,7 @@ class Command(SynnefoCommand): ...@@ -67,6 +67,7 @@ class Command(SynnefoCommand):
'name': server.name, 'name': server.name,
'owner_uuid': userid, 'owner_uuid': userid,
'owner_name': usercache.get_name(userid), 'owner_name': usercache.get_name(userid),
'project': server.project,
'created': utils.format_date(server.created), 'created': utils.format_date(server.created),
'updated': utils.format_date(server.updated), 'updated': utils.format_date(server.updated),
'image': image, 'image': image,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment