Commit 89c52785 authored by Guido Trotter's avatar Guido Trotter
Browse files

constants: confd node roles



confd will return the node role as an integer, which represents one of
the mutually exclusive roles a node can be in.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent ea1518af
......@@ -628,3 +628,8 @@ CONFD_REQS = frozenset([
CONFD_REQ_NODE_PIP_BY_INSTANCE_IP,
])
(CONFD_NODE_ROLE_MASTER,
CONFD_NODE_ROLE_CANDIDATE,
CONFD_NODE_ROLE_OFFLINE,
CONFD_NODE_ROLE_DRAINED) = range(4)
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