Add ht-based result checks to opcodes
authorMichael Hanselmann <hansmi@google.com>
Tue, 26 Jul 2011 11:12:11 +0000 (13:12 +0200)
committerMichael Hanselmann <hansmi@google.com>
Tue, 26 Jul 2011 11:19:07 +0000 (13:19 +0200)
commit1ce03fb1f2453e8a55941bcc95ab9c934a631fd1
tree2045ecf966f597640725c832575bdc0858f94651
parentae1a845c88bb928228db2e38bdbed7ff4ac01c9e
Add ht-based result checks to opcodes

This adds the infrastructure necessary to check opcode results using
ht-based functions. Checks are added for two opcodes.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/errors.py
lib/mcpu.py
lib/opcodes.py
test/ganeti.opcodes_unittest.py