summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorAlex Meade <alex.meade@rackspace.com>2011-07-06 14:47:41 -0400
committerAlex Meade <alex.meade@rackspace.com>2011-07-06 14:47:41 -0400
commit94a6af26e46d4df35294ad0bf4dc4883b7bf052e (patch)
tree44a1fa2767e7e0616a4113d40fc4492537e19b60 /nova/api
parent479b55aefadd88e59a6cd489a39df53fecc46bdf (diff)
Further test update and begin correcting serialization
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/images.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/nova/api/openstack/images.py b/nova/api/openstack/images.py
index bde9507c8..2e3d4f157 100644
--- a/nova/api/openstack/images.py
+++ b/nova/api/openstack/images.py
@@ -267,8 +267,9 @@ class ImageXMLSerializer(wsgi.XMLDictSerializer):
metadata = {
"attributes": {
"image": ["id", "name", "updated", "created", "status",
- "serverId", "progress", "serverRef"],
- "link": ["rel", "type", "href"],
+ "serverId", "progress"],
+ "link": ["rel", "href"],
+ "server": ["name", "id"],
},
}