diff --git a/lib/constants.py b/lib/constants.py index 91ce86ba99db540dd34e9618670bd6de345c15ec..ffad1aac9c8f9268763f1d1d31ed4ed6d18df04e 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -617,3 +617,14 @@ NICC_DEFAULTS = { } MASTER_POOL_SIZE_DEFAULT = 10 + +CONFD_PROTOCOL_VERSION = 1 + +CONFD_REQ_NODE_ROLE_BYNAME = 1 +CONFD_REQ_NODE_PIP_BY_INSTANCE_IP = 2 + +CONFD_REQS = frozenset([ + CONFD_REQ_NODE_ROLE_BYNAME, + CONFD_REQ_NODE_PIP_BY_INSTANCE_IP, + ]) +