mcpu: Verify node allocation lock mode
authorMichael Hanselmann <hansmi@google.com>
Mon, 26 Nov 2012 06:02:35 +0000 (07:02 +0100)
committerMichael Hanselmann <hansmi@google.com>
Fri, 7 Dec 2012 12:35:35 +0000 (13:35 +0100)
commite9a81214bac0ed808c42a893a96284588abddd78
treebb63e90243f031a7e4ee8faf8c6c6b3e9e8bd525
parentba6eda59e98a62893585b777b549b75fb1073740
mcpu: Verify node allocation lock mode

Add verification code to mcpu to check an LU's locks. Two whitelists are
provided to exclude LUs from the two tests.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
lib/mcpu.py
test/ganeti.mcpu_unittest.py