Create new _SafeShutdownInstanceDisks function
authorGuido Trotter <ultrotter@google.com>
Tue, 9 Sep 2008 10:40:39 +0000 (10:40 +0000)
committerGuido Trotter <ultrotter@google.com>
Tue, 9 Sep 2008 10:40:39 +0000 (10:40 +0000)
commit155d6c75c9ae2af0f3d6e8b13e075c38531b8afc
tree388aeab0d7cb5e21f9ed725cfdc91784b533bdda
parent3a5d730532c1ba8d27eb359babea1f17b2ea6242
Create new _SafeShutdownInstanceDisks function

This new function checks whether an instance is running, before shutting
down its disks. This is what the Exec() of LUDeactivateInstanceDisks
did, so that is replaced by a call to this function.

Reviewed-by: iustinp
lib/cmdlib.py