Register OpCode and Logical Unit in mcpu.py
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
opcodes.OpTestDelay: cmdlib.LUTestDelay,
opcodes.OpTestAllocator: cmdlib.LUTestAllocator,
opcodes.OpTestJobqueue: cmdlib.LUTestJobqueue,
+ # OOB lu
+ opcodes.OpOutOfBand: cmdlib.LUOutOfBand,
}
def __init__(self, context, ec_id):
]
+class OpOutOfBand(OpCode):
+ """Interact with OOB."""
+ OP_ID = "OP_OUT_OF_BAND"
+ __slots__ = [
+ "node_name",
+ "command",
+ "timeout",
+ ]
+
+
# node opcodes
class OpRemoveNode(OpCode):