projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve mon-collector drbd CLI handling
[ganeti-local]
/
lib
/
rpc_defs.py
diff --git
a/lib/rpc_defs.py
b/lib/rpc_defs.py
index
6ecd2b2
..
20c349a
100644
(file)
--- a/
lib/rpc_defs.py
+++ b/
lib/rpc_defs.py
@@
-505,6
+505,11
@@
_MISC_CALLS = [
("hvname", None, "Hypervisor name"),
("hvfull", None, "Parameters to be validated"),
], None, None, "Validate hypervisor params"),
("hvname", None, "Hypervisor name"),
("hvfull", None, "Parameters to be validated"),
], None, None, "Validate hypervisor params"),
+ ("get_watcher_pause", SINGLE, None, constants.RPC_TMO_URGENT, [],
+ None, None, "Get watcher pause end"),
+ ("set_watcher_pause", MULTI, None, constants.RPC_TMO_URGENT, [
+ ("until", None, None),
+ ], None, None, "Set watcher pause end"),
]
CALLS = {
]
CALLS = {
@@
-522,6
+527,9
@@
CALLS = {
("jobqueue_rename", MULTI, None, constants.RPC_TMO_URGENT, [
("rename", None, None),
], None, None, "Rename job queue file"),
("jobqueue_rename", MULTI, None, constants.RPC_TMO_URGENT, [
("rename", None, None),
], None, None, "Rename job queue file"),
+ ("jobqueue_set_drain_flag", MULTI, None, constants.RPC_TMO_URGENT, [
+ ("flag", None, None),
+ ], None, None, "Set job queue drain flag"),
]),
"RpcClientBootstrap": _Prepare([
("node_start_master_daemons", SINGLE, None, constants.RPC_TMO_FAST, [
]),
"RpcClientBootstrap": _Prepare([
("node_start_master_daemons", SINGLE, None, constants.RPC_TMO_FAST, [