Revision 1aef3df8 lib/opcodes.py
b/lib/opcodes.py | ||
---|---|---|
1281 | 1281 |
] |
1282 | 1282 |
|
1283 | 1283 |
|
1284 |
class OpInstanceChangeGroup(OpCode): |
|
1285 |
"""Moves an instance to another node group.""" |
|
1286 |
OP_DSC_FIELD = "instance_name" |
|
1287 |
OP_PARAMS = [ |
|
1288 |
_PInstanceName, |
|
1289 |
_PEarlyRelease, |
|
1290 |
("iallocator", None, ht.TMaybeString, "Iallocator for computing solution"), |
|
1291 |
("target_groups", None, ht.TOr(ht.TNone, ht.TListOf(ht.TNonEmptyString)), |
|
1292 |
"Destination group names or UUIDs (defaults to \"all but current group\""), |
|
1293 |
] |
|
1294 |
|
|
1295 |
|
|
1284 | 1296 |
# Node group opcodes |
1285 | 1297 |
|
1286 | 1298 |
class OpGroupAdd(OpCode): |
Also available in: Unified diff