Merge lp:~jk0/nova/lp790900 into lp:~hudson-openstack/nova/trunk

Proposed by Josh Kearney
Status: Merged
Approved by: Josh Kearney
Approved revision: 1132
Merged at revision: 1134
Proposed branch: lp:~jk0/nova/lp790900
Merge into: lp:~hudson-openstack/nova/trunk
Diff against target: 23 lines (+2/-0)
2 files modified
nova/flags.py (+1/-0)
nova/rpc.py (+1/-0)
To merge this branch: bzr merge lp:~jk0/nova/lp790900
Reviewer Review Type Date Requested Status
Trey Morris (community) Approve
Vish Ishaya (community) Approve
Review via email: mp+63164@code.launchpad.net

Description of the change

Support SSL AMQP connections.

To post a comment you must log in.
Revision history for this message
Vish Ishaya (vishvananda) wrote :

hehe. That was easy.

review: Approve
Revision history for this message
Trey Morris (tr3buchet) wrote :

:)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'nova/flags.py'
2--- nova/flags.py 2011-05-24 20:19:09 +0000
3+++ nova/flags.py 2011-06-01 19:51:15 +0000
4@@ -296,6 +296,7 @@
5 'should we use fake network devices and addresses')
6 DEFINE_string('rabbit_host', 'localhost', 'rabbit host')
7 DEFINE_integer('rabbit_port', 5672, 'rabbit port')
8+DEFINE_bool('rabbit_use_ssl', False, 'connect over SSL')
9 DEFINE_string('rabbit_userid', 'guest', 'rabbit userid')
10 DEFINE_string('rabbit_password', 'guest', 'rabbit password')
11 DEFINE_string('rabbit_virtual_host', '/', 'rabbit virtual host')
12
13=== modified file 'nova/rpc.py'
14--- nova/rpc.py 2011-05-27 00:06:52 +0000
15+++ nova/rpc.py 2011-06-01 19:51:15 +0000
16@@ -65,6 +65,7 @@
17 if new or not hasattr(cls, '_instance'):
18 params = dict(hostname=FLAGS.rabbit_host,
19 port=FLAGS.rabbit_port,
20+ ssl=FLAGS.rabbit_use_ssl,
21 userid=FLAGS.rabbit_userid,
22 password=FLAGS.rabbit_password,
23 virtual_host=FLAGS.rabbit_virtual_host)