summaryrefslogtreecommitdiffstats
path: root/nova/flags.py
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2012-01-06 12:57:37 -0800
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2012-01-24 16:54:23 +0000
commita4223f1d89ea7033cbae35790a0411ec439cdb6d (patch)
treebf3768b78a9ab8633b525b17579bc8326bbcab63 /nova/flags.py
parent91bc67d81a9711fbf5a0f0c46bbf1d87232391f8 (diff)
downloadnova-a4223f1d89ea7033cbae35790a0411ec439cdb6d.tar.gz
nova-a4223f1d89ea7033cbae35790a0411ec439cdb6d.tar.xz
nova-a4223f1d89ea7033cbae35790a0411ec439cdb6d.zip
KVM and XEN Disk Management Parity
Implements blueprint disk-configuration-parity This change splits local_gb into root_gb and ephemeral_gb. libvirt interpreted local_gb as what ephemeral_gb is now, whereas XenAPI interpreted local_gb as what root_gb is now. Change-Id: I496600991bac1e990326d4ded1607fee08209d68
Diffstat (limited to 'nova/flags.py')
-rw-r--r--nova/flags.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/nova/flags.py b/nova/flags.py
index 4345b4777..855ef8ed0 100644
--- a/nova/flags.py
+++ b/nova/flags.py
@@ -261,7 +261,7 @@ DEFINE_string('my_ip', _get_my_ip(), 'host ip address')
DEFINE_list('region_list',
[],
'list of region=fqdn pairs separated by commas')
-DEFINE_string('connection_type', 'libvirt', 'libvirt, xenapi or fake')
+DEFINE_string('connection_type', None, 'libvirt, xenapi or fake')
DEFINE_string('aws_access_key_id', 'admin', 'AWS Access ID')
DEFINE_string('aws_secret_access_key', 'admin', 'AWS Access Key')
# NOTE(sirp): my_ip interpolation doesn't work within nested structures
@@ -428,6 +428,10 @@ DEFINE_bool('start_guests_on_host_boot', False,
'Whether to restart guests when the host reboots')
DEFINE_bool('resume_guests_state_on_host_boot', False,
'Whether to start guests, that was running before the host reboot')
+DEFINE_string('default_ephemeral_format',
+ None,
+ 'The default format a ephemeral_volume will be formatted '
+ 'with on creation.')
DEFINE_string('root_helper', 'sudo',
'Command prefix to use for running commands as root')