Make LUInstanceSetParams handle pnode parameter
authorKlaus Aehlig <aehlig@google.com>
Thu, 14 Mar 2013 11:52:47 +0000 (12:52 +0100)
committerGuido Trotter <ultrotter@google.com>
Tue, 2 Apr 2013 11:01:46 +0000 (13:01 +0200)
commit75248363fe1fd8569c12c4ed537eaf95d3b9af2b
tree54d52f54cffa87c65b893cd4c08cede420d8396a
parentd2204b1a4b7afde158f565a05208bb88ee59645c
Make LUInstanceSetParams handle pnode parameter

If pnode is set LUInstanceSetParams now sets the primary node
accordingly. Unless force is set, it is verified that the instance
is no longer running on the old node.

Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/cmdlib.py