Revision 6b273e78
b/lib/client/gnt_instance.py | ||
---|---|---|
636 | 636 |
else: |
637 | 637 |
opts.disks = [] |
638 | 638 |
|
639 |
op = opcodes.OpRecreateInstanceDisks(instance_name=instance_name,
|
|
639 |
op = opcodes.OpInstanceRecreateDisks(instance_name=instance_name,
|
|
640 | 640 |
disks=opts.disks) |
641 | 641 |
SubmitOrSend(op, opts) |
642 | 642 |
return 0 |
b/lib/cmdlib.py | ||
---|---|---|
5272 | 5272 |
_ShutdownInstanceDisks(self, inst) |
5273 | 5273 |
|
5274 | 5274 |
|
5275 |
class LURecreateInstanceDisks(LogicalUnit):
|
|
5275 |
class LUInstanceRecreateDisks(LogicalUnit):
|
|
5276 | 5276 |
"""Recreate an instance's missing disks. |
5277 | 5277 |
|
5278 | 5278 |
""" |
b/lib/opcodes.py | ||
---|---|---|
953 | 953 |
] |
954 | 954 |
|
955 | 955 |
|
956 |
class OpRecreateInstanceDisks(OpCode):
|
|
956 |
class OpInstanceRecreateDisks(OpCode):
|
|
957 | 957 |
"""Deactivate an instance's disks.""" |
958 | 958 |
OP_ID = "OP_INSTANCE_RECREATE_DISKS" |
959 | 959 |
OP_DSC_FIELD = "instance_name" |
Also available in: Unified diff