Help msg about libvirt always default device names

Supplying a device name for any of the block devices specified as part
of the `nova boot` or `nova volume-attach` call will not be honoured by
any libvirt compute nodes.
We should modify documentation make this more clear.

Change-Id: I3209c2829225492df25ff9ab9098071372957bd5
Closes-Bug: 1479214
This commit is contained in:
Chung Chih, Hung 2015-11-20 06:53:39 +00:00
parent 9314c89dde
commit 47ee8b9676

@ -451,7 +451,8 @@ def _boot(cs, args):
"type=device type (e.g. disk, cdrom, ...; defaults to 'disk') "
"device=name of the device (e.g. vda, xda, ...; "
"if omitted, hypervisor driver chooses suitable device "
"depending on selected bus), "
"depending on selected bus; note the libvirt driver always "
"uses default device names), "
"size=size of the block device in MB(for swap) and in "
"GB(for other formats) "
"(if omitted, hypervisor driver calculates size), "
@ -2186,7 +2187,8 @@ def do_volume_delete(cs, args):
@cliutils.arg(
'device', metavar='<device>', default=None, nargs='?',
help=_('Name of the device e.g. /dev/vdb. '
'Use "auto" for autoassign (if supported)'))
'Use "auto" for autoassign (if supported). '
'Libvirt driver will use default device name.'))
def do_volume_attach(cs, args):
"""Attach a volume to a server."""
if args.device == 'auto':