Skip to content
Snippets Groups Projects
Commit eb64da59 authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Adding new OpCode for OOB


Register OpCode and Logical Unit in mcpu.py

Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 445f735d
No related branches found
No related tags found
No related merge requests found
......@@ -206,6 +206,8 @@ class Processor(object):
opcodes.OpTestDelay: cmdlib.LUTestDelay,
opcodes.OpTestAllocator: cmdlib.LUTestAllocator,
opcodes.OpTestJobqueue: cmdlib.LUTestJobqueue,
# OOB lu
opcodes.OpOutOfBand: cmdlib.LUOutOfBand,
}
def __init__(self, context, ec_id):
......
......@@ -369,6 +369,16 @@ class OpQueryFields(OpCode):
]
class OpOutOfBand(OpCode):
"""Interact with OOB."""
OP_ID = "OP_OUT_OF_BAND"
__slots__ = [
"node_name",
"command",
"timeout",
]
# node opcodes
class OpRemoveNode(OpCode):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment