Commit 73d565a3 authored by Iustin Pop's avatar Iustin Pop
Browse files

Rename OpRemoveNode and LURemoveNode


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent ad8d0595
......@@ -438,7 +438,7 @@ def RemoveNode(opts, args):
@return: the desired exit code
"""
op = opcodes.OpRemoveNode(node_name=args[0])
op = opcodes.OpNodeRemove(node_name=args[0])
SubmitOpCode(op, opts=opts)
return 0
......
......@@ -3429,7 +3429,7 @@ class LUDiagnoseOS(NoHooksLU):
return output
class LURemoveNode(LogicalUnit):
class LUNodeRemove(LogicalUnit):
"""Logical unit for removing a node.
"""
......
......@@ -581,7 +581,7 @@ class OpOobCommand(OpCode):
# node opcodes
class OpRemoveNode(OpCode):
class OpNodeRemove(OpCode):
"""Remove a node.
@type node_name: C{str}
......
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