Commit 792af3ad authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Rename (Op|LU)OutOfBand to (Op|LU)OobCommand


Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 50d54091
......@@ -476,7 +476,7 @@ def PowerNode(opts, args):
oob_command = "power-%s" % command
op = opcodes.OpOutOfBand(node_name=node, command=oob_command)
op = opcodes.OpOobCommand(node_name=node, command=oob_command)
result = SubmitOpCode(op, opts=opts)
if result:
if oob_command == constants.OOB_POWER_STATUS:
......
......@@ -3234,7 +3234,7 @@ def _CheckDiskConsistency(lu, dev, node, on_primary, ldisk=False):
return result
class LUOutOfBand(NoHooksLU):
class LUOobCommand(NoHooksLU):
"""Logical unit for OOB handling.
"""
......
......@@ -211,7 +211,7 @@ class Processor(object):
opcodes.OpTestAllocator: cmdlib.LUTestAllocator,
opcodes.OpTestJobqueue: cmdlib.LUTestJobqueue,
# OOB lu
opcodes.OpOutOfBand: cmdlib.LUOutOfBand,
opcodes.OpOobCommand: cmdlib.LUOobCommand,
}
def __init__(self, context, ec_id):
......
......@@ -370,9 +370,9 @@ class OpQueryFields(OpCode):
]
class OpOutOfBand(OpCode):
class OpOobCommand(OpCode):
"""Interact with OOB."""
OP_ID = "OP_OUT_OF_BAND"
OP_ID = "OP_OOB_COMMAND"
__slots__ = [
"node_name",
"command",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment