diff --git a/lib/constants.py b/lib/constants.py index ffad1aac9c8f9268763f1d1d31ed4ed6d18df04e..e7d515401dad9224f64ecc5edcc4c95ca4cabc42 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -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) +