Revision 08f8c82c lib/opcodes.py
b/lib/opcodes.py | ||
---|---|---|
1314 | 1314 |
] |
1315 | 1315 |
|
1316 | 1316 |
|
1317 |
class OpGroupEvacuate(OpCode): |
|
1318 |
"""Evacuate a node group in the cluster.""" |
|
1319 |
OP_DSC_FIELD = "group_name" |
|
1320 |
OP_PARAMS = [ |
|
1321 |
_PGroupName, |
|
1322 |
_PEarlyRelease, |
|
1323 |
("iallocator", None, ht.TMaybeString, "Iallocator for computing solution"), |
|
1324 |
("target_groups", None, ht.TOr(ht.TNone, ht.TListOf(ht.TNonEmptyString)), |
|
1325 |
"Destination group names or UUIDs"), |
|
1326 |
] |
|
1327 |
|
|
1328 |
|
|
1317 | 1329 |
# OS opcodes |
1318 | 1330 |
class OpOsDiagnose(OpCode): |
1319 | 1331 |
"""Compute the list of guest operating systems.""" |
Also available in: Unified diff