Revision f38ea602 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
2606 | 2606 |
("nicparams", None, _TOr(_TDict, _TNone)), |
2607 | 2607 |
("drbd_helper", None, _TOr(_TString, _TNone)), |
2608 | 2608 |
("default_iallocator", None, _TMaybeString), |
2609 |
("reserved_lvs", None, _TOr(_TListOf(_TNonEmptyString), _TNone)), |
|
2609 | 2610 |
] |
2610 | 2611 |
REQ_BGL = False |
2611 | 2612 |
|
... | ... | |
2876 | 2877 |
if self.op.default_iallocator is not None: |
2877 | 2878 |
self.cluster.default_iallocator = self.op.default_iallocator |
2878 | 2879 |
|
2880 |
if self.op.reserved_lvs is not None: |
|
2881 |
self.cluster.reserved_lvs = self.op.reserved_lvs |
|
2882 |
|
|
2879 | 2883 |
self.cfg.Update(self.cluster, feedback_fn) |
2880 | 2884 |
|
2881 | 2885 |
|
Also available in: Unified diff