diff options
| author | Devin Carlen <devin.carlen@gmail.com> | 2010-09-15 17:40:12 -0700 |
|---|---|---|
| committer | Devin Carlen <devin.carlen@gmail.com> | 2010-09-15 17:40:12 -0700 |
| commit | 01a757ee7bc3624c17dbbcfd3bc65d3e2f674b03 (patch) | |
| tree | a2bfcbdd4747d61d715ee64c4b7535b0aa32a0be /nova/flags.py | |
| parent | e21c310ced6992cf2eb33b372cd4e5e69a79d140 (diff) | |
| download | nova-01a757ee7bc3624c17dbbcfd3bc65d3e2f674b03.tar.gz nova-01a757ee7bc3624c17dbbcfd3bc65d3e2f674b03.tar.xz nova-01a757ee7bc3624c17dbbcfd3bc65d3e2f674b03.zip | |
Added iptables host initial configuration
Diffstat (limited to 'nova/flags.py')
| -rw-r--r-- | nova/flags.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nova/flags.py b/nova/flags.py index 7b0c95a3c..55b452fc3 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -184,7 +184,9 @@ DEFINE_string('rabbit_userid', 'guest', 'rabbit userid') DEFINE_string('rabbit_password', 'guest', 'rabbit password') DEFINE_string('rabbit_virtual_host', '/', 'rabbit virtual host') DEFINE_string('control_exchange', 'nova', 'the main exchange to connect to') -DEFINE_string('ec2_url', 'http://127.0.0.1:8773/services/Cloud', +DEFINE_string('cc_ip', '127.0.0.1', 'ip of api server') +DEFINE_integer('cc_port', 8773, 'cloud controller port') +DEFINE_string('ec2_url', 'http://%s:%s/services/Cloud' % (FLAGS.cc_ip, FLAGS.cc_port), 'Url to ec2 api server') DEFINE_string('default_image', 'ami-11111', @@ -220,3 +222,4 @@ DEFINE_string('host', socket.gethostname(), # UNUSED DEFINE_string('node_availability_zone', 'nova', 'availability zone of this node') + |
