From bc84ffa7dffb2a1eba0ba7cb145e083e963dec7e Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Sat, 15 Jan 2011 12:55:42 +0100 Subject: [PATCH] Rename OpPostInitCluster and LUPostInitCluster MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: RenΓ© Nussbaumer <rn@google.com> --- lib/client/gnt_cluster.py | 2 +- lib/cmdlib.py | 2 +- lib/opcodes.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/client/gnt_cluster.py b/lib/client/gnt_cluster.py index 3f45a5b46..3b67ada8b 100644 --- a/lib/client/gnt_cluster.py +++ b/lib/client/gnt_cluster.py @@ -145,7 +145,7 @@ def InitCluster(opts, args): primary_ip_version=primary_ip_version, prealloc_wipe_disks=opts.prealloc_wipe_disks, ) - op = opcodes.OpPostInitCluster() + op = opcodes.OpClusterPostInit() SubmitOpCode(op, opts=opts) return 0 diff --git a/lib/cmdlib.py b/lib/cmdlib.py index 1aac802eb..342c8495d 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -1089,7 +1089,7 @@ def _CheckIAllocatorOrNode(lu, iallocator_slot, node_slot): " iallocator.") -class LUPostInitCluster(LogicalUnit): +class LUClusterPostInit(LogicalUnit): """Logical unit for running hooks after cluster initialization. """ diff --git a/lib/opcodes.py b/lib/opcodes.py index 24c8bdd6f..6f4135756 100644 --- a/lib/opcodes.py +++ b/lib/opcodes.py @@ -371,7 +371,7 @@ class OpCode(BaseOpCode): # cluster opcodes -class OpPostInitCluster(OpCode): +class OpClusterPostInit(OpCode): """Post cluster initialization. This opcode does not touch the cluster at all. Its purpose is to run hooks -- GitLab