diff options
| author | Anthony Young <sleepsonthefloor@gmail.com> | 2010-12-22 02:19:38 -0800 |
|---|---|---|
| committer | Anthony Young <sleepsonthefloor@gmail.com> | 2010-12-22 02:19:38 -0800 |
| commit | f98bb2b2dee4a0ff67a6548646a852686092c53f (patch) | |
| tree | a847e7439994839dd04931ab68e20ababac1ed4b /nova/api | |
| parent | d118660d1ba860842f539f5e42a1182dc70c3dbe (diff) | |
| download | nova-f98bb2b2dee4a0ff67a6548646a852686092c53f.tar.gz nova-f98bb2b2dee4a0ff67a6548646a852686092c53f.tar.xz nova-f98bb2b2dee4a0ff67a6548646a852686092c53f.zip | |
connecting ajax proxy to rabbit to allow token based security
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/cloud.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py index 2ca95c70a..e4ef552b0 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -464,6 +464,10 @@ class CloudController(object): {"method": "get_ajax_console", "args": {"instance_id": instance_ref['id']}}) + rpc.cast(context, '%s' % FLAGS.ajax_proxy_topic, + {"method": "authorize", + "args": {"token": "token", "host": "host", "port":8000}}) + return {"url": output } def describe_volumes(self, context, volume_id=None, **kwargs): |
