diff --git a/lib/client/gnt_cluster.py b/lib/client/gnt_cluster.py index 6a6efeb4606155a964f8c06c4e73a7014180b487..3f45a5b463a47e4fae35b08d1e27e42dcfce7e94 100644 --- a/lib/client/gnt_cluster.py +++ b/lib/client/gnt_cluster.py @@ -166,7 +166,7 @@ def DestroyCluster(opts, args): " destroy this cluster, supply the --yes-do-it option.") return 1 - op = opcodes.OpDestroyCluster() + op = opcodes.OpClusterDestroy() master = SubmitOpCode(op, opts=opts) # if we reached this, the opcode didn't fail; we can proceed to # shutdown all the daemons diff --git a/lib/cmdlib.py b/lib/cmdlib.py index e00262fe016239cf41ce0f0c85920d1606495701..1aac802eb0e7c4d0b4ef91d94652508cc0120882 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -1111,7 +1111,7 @@ class LUPostInitCluster(LogicalUnit): return True -class LUDestroyCluster(LogicalUnit): +class LUClusterDestroy(LogicalUnit): """Logical unit for destroying the cluster. """ diff --git a/lib/opcodes.py b/lib/opcodes.py index 1ac573bb67d7498b451b11babbe2347afc84bc11..24c8bdd6f0ae66c76f0dd4a01b72e1e924317a09 100644 --- a/lib/opcodes.py +++ b/lib/opcodes.py @@ -381,7 +381,7 @@ class OpPostInitCluster(OpCode): OP_ID = "OP_CLUSTER_POST_INIT" -class OpDestroyCluster(OpCode): +class OpClusterDestroy(OpCode): """Destroy the cluster. This opcode has no other parameters. All the state is irreversibly