Deactivate disks: allow skipping hypervisor checks
authorIustin Pop <iustin@google.com>
Wed, 26 Jan 2011 16:45:10 +0000 (17:45 +0100)
committerIustin Pop <iustin@google.com>
Wed, 26 Jan 2011 16:53:53 +0000 (17:53 +0100)
commitc9c41373b52bd354b47fd6a4682daa5d03e3367f
treef8c8eebd9ca23fbc64c3cde9be00590f2d239e85
parentafc3c26056d52f125dcacfd0792738e640e94525
Deactivate disks: allow skipping hypervisor checks

In some cases (e.g. the hypervisor not running at all), we might want
to force disk deactivation, skipping the hypervisor checks. I believe
this is not a good thing to do all the time, so this patch adds the
force option to allow manual selection of this operation mode.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/client/gnt_instance.py
lib/cmdlib.py
lib/opcodes.py
man/gnt-instance.rst