Commit d1240007 authored by Iustin Pop's avatar Iustin Pop
Browse files

Rename OpRedistributeConfig and LURedistributeConfig


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent a2f7ab92
......@@ -580,7 +580,7 @@ Redistribute Config
Current State and shortcomings
++++++++++++++++++++++++++++++
Currently LURedistributeConfig triggers a copy of the updated
Currently LUClusterRedistConf triggers a copy of the updated
configuration file to all master candidates and of the ssconf files to
all nodes. There are other files which are maintained manually but which
are important to keep in sync. These are:
......
......@@ -217,7 +217,7 @@ def RedistributeConfig(opts, args):
@return: the desired exit code
"""
op = opcodes.OpRedistributeConfig()
op = opcodes.OpClusterRedistConf()
SubmitOrSend(op, opts)
return 0
......
......@@ -3044,7 +3044,7 @@ def _RedistributeAncillaryFiles(lu, additional_nodes=None, additional_vm=True):
_UploadHelper(lu, vm_nodes, fname)
class LURedistributeConfig(NoHooksLU):
class LUClusterRedistConf(NoHooksLU):
"""Force the redistribution of cluster configuration.
This is a very simple LU.
......
......@@ -531,7 +531,7 @@ class OpSetClusterParams(OpCode):
]
class OpRedistributeConfig(OpCode):
class OpClusterRedistConf(OpCode):
"""Force a full push of the cluster configuration.
"""
......
......@@ -185,7 +185,7 @@ class R_2_redist_config(baserlib.R_Generic):
"""Redistribute configuration to all nodes.
"""
return baserlib.SubmitJob([opcodes.OpRedistributeConfig()])
return baserlib.SubmitJob([opcodes.OpClusterRedistConf()])
class R_2_cluster_modify(baserlib.R_Generic):
......
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