Commit d817d49f authored by Iustin Pop's avatar Iustin Pop
Browse files

Rename OpAddNode and LUAddNode


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent c873d91c
......@@ -197,7 +197,7 @@ def AddNode(opts, args):
bootstrap.SetupNodeDaemon(cluster_name, node, opts.ssh_key_check)
op = opcodes.OpAddNode(node_name=args[0], secondary_ip=sip,
op = opcodes.OpNodeAdd(node_name=args[0], secondary_ip=sip,
readd=opts.readd, group=opts.nodegroup,
vm_capable=opts.vm_capable, ndparams=opts.ndparams,
master_capable=opts.master_capable)
......
......@@ -3929,7 +3929,7 @@ class LUModifyNodeStorage(NoHooksLU):
(self.op.name, self.op.node_name))
class LUAddNode(LogicalUnit):
class LUNodeAdd(LogicalUnit):
"""Logical unit for adding node to the cluster.
"""
......
......@@ -596,7 +596,7 @@ class OpRemoveNode(OpCode):
]
class OpAddNode(OpCode):
class OpNodeAdd(OpCode):
"""Add a node to the cluster.
@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