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
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,
" 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)
return clustername
-class LUSetClusterParams(LogicalUnit):
+class LUClusterSetParams(LogicalUnit):
"""Change the parameters of the cluster.
"""
]
-class OpSetClusterParams(OpCode):
+class OpClusterSetParams(OpCode):
"""Change the parameters of the cluster.
@type vg_name: C{str} or C{None}
@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])