Commit 6b273e78 authored by Iustin Pop's avatar Iustin Pop
Browse files

Rename OpRecreateInstanceDisks and LURecreateInstanceDisks


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 90ab1a95
......@@ -636,7 +636,7 @@ def RecreateDisks(opts, args):
else:
opts.disks = []
op = opcodes.OpRecreateInstanceDisks(instance_name=instance_name,
op = opcodes.OpInstanceRecreateDisks(instance_name=instance_name,
disks=opts.disks)
SubmitOrSend(op, opts)
return 0
......
......@@ -5272,7 +5272,7 @@ class LUReinstallInstance(LogicalUnit):
_ShutdownInstanceDisks(self, inst)
class LURecreateInstanceDisks(LogicalUnit):
class LUInstanceRecreateDisks(LogicalUnit):
"""Recreate an instance's missing disks.
"""
......
......@@ -953,7 +953,7 @@ class OpInstanceDeactivateDisks(OpCode):
]
class OpRecreateInstanceDisks(OpCode):
class OpInstanceRecreateDisks(OpCode):
"""Deactivate an instance's disks."""
OP_ID = "OP_INSTANCE_RECREATE_DISKS"
OP_DSC_FIELD = "instance_name"
......
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