Add primary_only flag to _LockInstancesNodes
authorGuido Trotter <ultrotter@google.com>
Mon, 8 Sep 2008 13:43:43 +0000 (13:43 +0000)
committerGuido Trotter <ultrotter@google.com>
Mon, 8 Sep 2008 13:43:43 +0000 (13:43 +0000)
commita82ce292c8b8375729b88c7d540d1325ab9df676
treea6ad17927ca6a30fb00f0a4be25d0b3df48a3ddc
parentaa74b82881a5913d8f983fcd6c63c00bf485c0c8
Add primary_only flag to _LockInstancesNodes

As the name says when the flag is on (the default is off) only the
primary nodes are locked, as opposed to all of them.

Reviewed-by: iustinp
lib/cmdlib.py