Revision a6682fdc
b/doc/design-2.2.rst | ||
---|---|---|
716 | 716 |
blacklisted from new installations. |
717 | 717 |
|
718 | 718 |
These lists will be modifiable via ``gnt-os modify`` (implemented via |
719 |
``OpSetClusterParams``), such that even not-yet-existing OSes can be
|
|
719 |
``OpClusterSetParams``), such that even not-yet-existing OSes can be
|
|
720 | 720 |
preseeded into a given state. |
721 | 721 |
|
722 | 722 |
For the hidden OSes, they are fully functional except that they are not |
b/lib/client/gnt_cluster.py | ||
---|---|---|
789 | 789 |
else: |
790 | 790 |
opts.reserved_lvs = utils.UnescapeAndSplit(opts.reserved_lvs, sep=",") |
791 | 791 |
|
792 |
op = opcodes.OpSetClusterParams(vg_name=vg_name,
|
|
792 |
op = opcodes.OpClusterSetParams(vg_name=vg_name,
|
|
793 | 793 |
drbd_helper=drbd_helper, |
794 | 794 |
enabled_hypervisors=hvlist, |
795 | 795 |
hvparams=hvparams, |
b/lib/client/gnt_os.py | ||
---|---|---|
269 | 269 |
" must be passed") |
270 | 270 |
return 1 |
271 | 271 |
|
272 |
op = opcodes.OpSetClusterParams(os_hvp=os_hvp,
|
|
272 |
op = opcodes.OpClusterSetParams(os_hvp=os_hvp,
|
|
273 | 273 |
osparams=osp, |
274 | 274 |
hidden_os=ohid, |
275 | 275 |
blacklisted_os=oblk) |
b/lib/cmdlib.py | ||
---|---|---|
2649 | 2649 |
return clustername |
2650 | 2650 |
|
2651 | 2651 |
|
2652 |
class LUSetClusterParams(LogicalUnit):
|
|
2652 |
class LUClusterSetParams(LogicalUnit):
|
|
2653 | 2653 |
"""Change the parameters of the cluster. |
2654 | 2654 |
|
2655 | 2655 |
""" |
b/lib/opcodes.py | ||
---|---|---|
486 | 486 |
] |
487 | 487 |
|
488 | 488 |
|
489 |
class OpSetClusterParams(OpCode):
|
|
489 |
class OpClusterSetParams(OpCode):
|
|
490 | 490 |
"""Change the parameters of the cluster. |
491 | 491 |
|
492 | 492 |
@type vg_name: C{str} or C{None} |
b/lib/rapi/rlib2.py | ||
---|---|---|
198 | 198 |
@return: a job id |
199 | 199 |
|
200 | 200 |
""" |
201 |
op = baserlib.FillOpcode(opcodes.OpSetClusterParams, self.request_body,
|
|
201 |
op = baserlib.FillOpcode(opcodes.OpClusterSetParams, self.request_body,
|
|
202 | 202 |
None) |
203 | 203 |
|
204 | 204 |
return baserlib.SubmitJob([op]) |
Also available in: Unified diff