diff options
| author | Josh Kearney <josh@jk0.org> | 2011-07-08 17:12:14 -0500 |
|---|---|---|
| committer | Josh Kearney <josh@jk0.org> | 2011-07-08 17:12:14 -0500 |
| commit | 209bf1ef495d2d599ef51e207e8de0694dec9790 (patch) | |
| tree | 329b98caafc342d45c6e7e7fff86cade5ce96a21 /nova | |
| parent | 42765b2763260a9cae702585df1f0b9343937284 (diff) | |
Add a flag to disable ec2 or osapi.
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/flags.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/flags.py b/nova/flags.py index 57a4ecf2f..49355b436 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -305,6 +305,8 @@ DEFINE_string('rabbit_virtual_host', '/', 'rabbit virtual host') DEFINE_integer('rabbit_retry_interval', 10, 'rabbit connection retry interval') DEFINE_integer('rabbit_max_retries', 12, 'rabbit connection attempts') DEFINE_string('control_exchange', 'nova', 'the main exchange to connect to') +DEFINE_list('enabled_apis', ['ec2', 'osapi'], + 'list of APIs to enable by default') DEFINE_string('ec2_host', '$my_ip', 'ip of api server') DEFINE_string('ec2_dmz_host', '$my_ip', 'internal ip of api server') DEFINE_integer('ec2_port', 8773, 'cloud controller port') |
