Commit 31c2a99e authored by Guido Trotter's avatar Guido Trotter
Browse files

Reply status constants for confd



These are valid values for the "status" field in objects.ConfdReply
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent b125e3b3
......@@ -628,6 +628,16 @@ CONFD_REQS = frozenset([
CONFD_REQ_NODE_PIP_BY_INSTANCE_IP,
])
CONFD_REPL_STATUS_OK = 0
CONFD_REPL_STATUS_ERROR = 1
CONFD_REPL_STATUS_NOTIMPLEMENTED = 2
CONFD_REPL_STATUSES = frozenset([
CONFD_REPL_STATUS_OK,
CONFD_REPL_STATUS_ERROR,
CONFD_REPL_STATUS_NOTIMPLEMENTED,
])
(CONFD_NODE_ROLE_MASTER,
CONFD_NODE_ROLE_CANDIDATE,
CONFD_NODE_ROLE_OFFLINE,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment