projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert default root partition to msdos style
[ganeti-local]
/
lib
/
opcodes.py
diff --git
a/lib/opcodes.py
b/lib/opcodes.py
index
36939d4
..
ad32783
100644
(file)
--- a/
lib/opcodes.py
+++ b/
lib/opcodes.py
@@
-319,7
+319,7
@@
class OpAddNode(OpCode):
class OpQueryNodes(OpCode):
"""Compute the list of nodes."""
OP_ID = "OP_NODE_QUERY"
class OpQueryNodes(OpCode):
"""Compute the list of nodes."""
OP_ID = "OP_NODE_QUERY"
- __slots__ = ["output_fields", "names"]
+ __slots__ = ["output_fields", "names", "use_locking"]
class OpQueryNodeVolumes(OpCode):
class OpQueryNodeVolumes(OpCode):
@@
-337,6
+337,7
@@
class OpSetNodeParams(OpCode):
"force",
"master_candidate",
"offline",
"force",
"master_candidate",
"offline",
+ "drained",
]
# instance opcodes
]
# instance opcodes
@@
-423,6
+424,7
@@
class OpMigrateInstance(OpCode):
"""
OP_ID = "OP_INSTANCE_MIGRATE"
"""
OP_ID = "OP_INSTANCE_MIGRATE"
+ OP_DSC_FIELD = "instance_name"
__slots__ = ["instance_name", "live", "cleanup"]
__slots__ = ["instance_name", "live", "cleanup"]
@@
-450,7
+452,7
@@
class OpDeactivateInstanceDisks(OpCode):
class OpQueryInstances(OpCode):
"""Compute the list of instances."""
OP_ID = "OP_INSTANCE_QUERY"
class OpQueryInstances(OpCode):
"""Compute the list of instances."""
OP_ID = "OP_INSTANCE_QUERY"
- __slots__ = ["output_fields", "names"]
+ __slots__ = ["output_fields", "names", "use_locking"]
class OpQueryInstanceData(OpCode):
class OpQueryInstanceData(OpCode):
@@
-488,7
+490,7
@@
class OpDiagnoseOS(OpCode):
class OpQueryExports(OpCode):
"""Compute the list of exported images."""
OP_ID = "OP_BACKUP_QUERY"
class OpQueryExports(OpCode):
"""Compute the list of exported images."""
OP_ID = "OP_BACKUP_QUERY"
- __slots__ = ["nodes"]
+ __slots__ = ["nodes", "use_locking"]
class OpExportInstance(OpCode):
class OpExportInstance(OpCode):