diff options
author | Brian Waldon <brian.waldon@rackspace.com> | 2011-03-15 20:37:37 -0400 |
---|---|---|
committer | Brian Waldon <brian.waldon@rackspace.com> | 2011-03-15 20:37:37 -0400 |
commit | c42d79b58eccaebab14274adf09128d890e920f7 (patch) | |
tree | 968f2589d81a27500df63e18bc5683c2a0399908 | |
parent | bee1951ac78688e49939aee4e2285ef0ff89adb2 (diff) | |
download | nova-c42d79b58eccaebab14274adf09128d890e920f7.tar.gz nova-c42d79b58eccaebab14274adf09128d890e920f7.tar.xz nova-c42d79b58eccaebab14274adf09128d890e920f7.zip |
adding imageRef and flavorRef attributes to servers serialization metadata
-rw-r--r-- | nova/api/openstack/servers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py index de67cbc4a..dc62882eb 100644 --- a/nova/api/openstack/servers.py +++ b/nova/api/openstack/servers.py @@ -46,7 +46,8 @@ class Controller(wsgi.Controller): 'application/xml': { "attributes": { "server": ["id", "imageId", "name", "flavorId", "hostId", - "status", "progress", "adminPass"]}}} + "status", "progress", "adminPass", "flavorRef", + "imageRef"]}}} def __init__(self): self.compute_api = compute.API() |