diff options
| author | Florian Haas <florian@hastexo.com> | 2012-06-05 20:56:00 +0200 |
|---|---|---|
| committer | Florian Haas <florian@hastexo.com> | 2012-06-05 21:42:51 +0200 |
| commit | 42998d0a6fe1bed7876aadf604cf74f6c4eaff78 (patch) | |
| tree | 29745a4d6b4426167e92b4b5446b8f64a3dab602 | |
| parent | 9a020a6ecf5d0ec1a49e8f52ce1c8908ae51e2b5 (diff) | |
| download | nova-42998d0a6fe1bed7876aadf604cf74f6c4eaff78.tar.gz nova-42998d0a6fe1bed7876aadf604cf74f6c4eaff78.tar.xz nova-42998d0a6fe1bed7876aadf604cf74f6c4eaff78.zip | |
More meaningful help messages for libvirt migration options
Change-Id: I08f4724a7ef664cfebba57c5c9495494853289a8
Reference: http://libvirt.org/html/libvirt-libvirt.html#virDomainMigrate
| -rw-r--r-- | Authors | 1 | ||||
| -rw-r--r-- | nova/virt/libvirt/connection.py | 10 |
2 files changed, 7 insertions, 4 deletions
@@ -68,6 +68,7 @@ Eric Day <eday@oddments.org> Eric Windisch <eric@cloudscaling.com> Evan Callicoat <diopter@gmail.com> Ewan Mellor <ewan.mellor@citrix.com> +Florian Haas <florian@hastexo.com> François Charlier <francois.charlier@enovance.com> Gabe Westmaas <gabe.westmaas@rackspace.com> Gabriel Hurley <gabriel@strikeawe.com> diff --git a/nova/virt/libvirt/connection.py b/nova/virt/libvirt/connection.py index 11c9841b3..0cfcf2993 100644 --- a/nova/virt/libvirt/connection.py +++ b/nova/virt/libvirt/connection.py @@ -114,17 +114,19 @@ libvirt_opts = [ help='Sync virtual and real mouse cursors in Windows VMs'), cfg.StrOpt('live_migration_uri', default="qemu+tcp://%s/system", - help='Define protocol used by live_migration feature'), + help='Migration target URI ' + '(any included "%s" is replaced with ' + 'the migration target hostname)'), cfg.StrOpt('live_migration_flag', default='VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER', - help='Define live migration behavior.'), + help='Migration flags to be set for live migration'), cfg.StrOpt('block_migration_flag', default='VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, ' 'VIR_MIGRATE_NON_SHARED_INC', - help='Define block migration behavior.'), + help='Migration flags to be set for block migration'), cfg.IntOpt('live_migration_bandwidth', default=0, - help='Define live migration behavior'), + help='Maximum bandwidth to be used during migration, in Mbps'), cfg.StrOpt('snapshot_image_format', default=None, help='Snapshot image format (valid options are : ' |
