summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-01-04 21:59:31 +0000
committerGerrit Code Review <review@openstack.org>2012-01-04 21:59:31 +0000
commit7e9db618f41fd7afcc2479bd472643a87e9bd949 (patch)
tree4afd2069e16df0b93c2f27707f968d19e47bcae4 /nova/api
parent7fb11ad981b2e0d123a1f615770792f8c2bcee20 (diff)
parent5ff9619f3989d7baec00eb397d265439d6e87d9c (diff)
downloadnova-7e9db618f41fd7afcc2479bd472643a87e9bd949.tar.gz
nova-7e9db618f41fd7afcc2479bd472643a87e9bd949.tar.xz
nova-7e9db618f41fd7afcc2479bd472643a87e9bd949.zip
Merge "Add instance_name field to console detail command which will give the caller the necessary information to actually connect."
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/v2/consoles.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/api/openstack/v2/consoles.py b/nova/api/openstack/v2/consoles.py
index ad0d8cbb4..1c832f316 100644
--- a/nova/api/openstack/v2/consoles.py
+++ b/nova/api/openstack/v2/consoles.py
@@ -39,6 +39,7 @@ def _translate_detail_keys(cons):
info = {'id': cons['id'],
'console_type': pool['console_type'],
'password': cons['password'],
+ 'instance_name': cons['instance_name'],
'port': cons['port'],
'host': pool['public_hostname']}
return dict(console=info)