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

Rename OpSetClusterParams and LUSetClusterParams


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 5d01aca3
......@@ -716,7 +716,7 @@ hidden from the user and respectively the list of OSes which are
blacklisted from new installations.
These lists will be modifiable via ``gnt-os modify`` (implemented via
``OpSetClusterParams``), such that even not-yet-existing OSes can be
``OpClusterSetParams``), such that even not-yet-existing OSes can be
preseeded into a given state.
For the hidden OSes, they are fully functional except that they are not
......
......@@ -789,7 +789,7 @@ def SetClusterParams(opts, args):
else:
opts.reserved_lvs = utils.UnescapeAndSplit(opts.reserved_lvs, sep=",")
op = opcodes.OpSetClusterParams(vg_name=vg_name,
op = opcodes.OpClusterSetParams(vg_name=vg_name,
drbd_helper=drbd_helper,
enabled_hypervisors=hvlist,
hvparams=hvparams,
......
......@@ -269,7 +269,7 @@ def ModifyOS(opts, args):
" must be passed")
return 1
op = opcodes.OpSetClusterParams(os_hvp=os_hvp,
op = opcodes.OpClusterSetParams(os_hvp=os_hvp,
osparams=osp,
hidden_os=ohid,
blacklisted_os=oblk)
......
......@@ -2649,7 +2649,7 @@ class LUClusterRename(LogicalUnit):
return clustername
class LUSetClusterParams(LogicalUnit):
class LUClusterSetParams(LogicalUnit):
"""Change the parameters of the cluster.
"""
......
......@@ -486,7 +486,7 @@ class OpClusterRename(OpCode):
]
class OpSetClusterParams(OpCode):
class OpClusterSetParams(OpCode):
"""Change the parameters of the cluster.
@type vg_name: C{str} or C{None}
......
......@@ -198,7 +198,7 @@ class R_2_cluster_modify(baserlib.R_Generic):
@return: a job id
"""
op = baserlib.FillOpcode(opcodes.OpSetClusterParams, self.request_body,
op = baserlib.FillOpcode(opcodes.OpClusterSetParams, self.request_body,
None)
return baserlib.SubmitJob([op])
......
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