Commit 0091b480 authored by Iustin Pop's avatar Iustin Pop
Browse files

Rename OpMoveInstance and LUMoveInstance


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 75c866c2
......@@ -870,7 +870,7 @@ def MoveInstance(opts, args):
if not AskUser(usertext):
return 1
op = opcodes.OpMoveInstance(instance_name=instance_name,
op = opcodes.OpInstanceMove(instance_name=instance_name,
target_node=opts.node,
shutdown_timeout=opts.shutdown_timeout)
SubmitOrSend(op, opts, cl=cl)
......
......@@ -5737,7 +5737,7 @@ class LUInstanceMigrate(LogicalUnit):
return env, nl, nl_post
class LUMoveInstance(LogicalUnit):
class LUInstanceMove(LogicalUnit):
"""Move an instance by data-copying.
"""
......
......@@ -906,7 +906,7 @@ class OpInstanceMigrate(OpCode):
]
class OpMoveInstance(OpCode):
class OpInstanceMove(OpCode):
"""Move an instance.
This move (with shutting down an instance and data copying) to an
......
......@@ -661,7 +661,7 @@ class Burner(object):
self.instances)
for tnode, instance in mytor:
Log("instance %s", instance, indent=1)
op = opcodes.OpMoveInstance(instance_name=instance,
op = opcodes.OpInstanceMove(instance_name=instance,
target_node=tnode)
self.ExecOrQueue(instance, [op])
......
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