Revision 60975797 lib/opcodes.py
b/lib/opcodes.py | ||
---|---|---|
229 | 229 |
__slots__ = [] |
230 | 230 |
|
231 | 231 |
|
232 |
class OpRepairDiskSizes(OpCode): |
|
233 |
"""Verify the disk sizes of the instances and fixes configuration |
|
234 |
mimatches. |
|
235 |
|
|
236 |
Parameters: optional instances list, in case we want to restrict the |
|
237 |
checks to only a subset of the instances. |
|
238 |
|
|
239 |
Result: a list of tuples, (instance, disk, new-size) for changed |
|
240 |
configurations. |
|
241 |
|
|
242 |
In normal operation, the list should be empty. |
|
243 |
|
|
244 |
@type instances: list |
|
245 |
@ivar instances: the list of instances to check, or empty for all instances |
|
246 |
|
|
247 |
""" |
|
248 |
OP_ID = "OP_CLUSTER_REPAIR_DISK_SIZES" |
|
249 |
__slots__ = ["instances"] |
|
250 |
|
|
251 |
|
|
232 | 252 |
class OpQueryConfigValues(OpCode): |
233 | 253 |
"""Query cluster configuration values.""" |
234 | 254 |
OP_ID = "OP_CLUSTER_CONFIG_QUERY" |
Also available in: Unified diff