cmdlib: Opportunistic locking on instance creation
authorMichael Hanselmann <hansmi@google.com>
Fri, 7 Dec 2012 12:29:49 +0000 (13:29 +0100)
committerMichael Hanselmann <hansmi@google.com>
Fri, 7 Dec 2012 12:36:45 +0000 (13:36 +0100)
commit1f1188c38779cd0701f2725eda2f4c00d74c1fe2
tree61e92c5fe5211840daf05941d3f8f30248597d57
parentb3c728dc6f916757627f3da6422a43318dfecf8b
cmdlib: Opportunistic locking on instance creation

Adds a new parameter to “OpInstanceCreate” and “OpInstanceMultiAlloc” to
use opportunistic locks.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
htest/Test/Ganeti/OpCodes.hs
htools/Ganeti/OpCodes.hs
htools/Ganeti/OpParams.hs
lib/opcodes.py