Add constants for a ping confd request
authorGuido Trotter <ultrotter@google.com>
Mon, 10 Aug 2009 10:48:32 +0000 (11:48 +0100)
committerGuido Trotter <ultrotter@google.com>
Wed, 12 Aug 2009 09:54:13 +0000 (10:54 +0100)
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/constants.py

index 302e0c9..91c6e31 100644 (file)
@@ -625,10 +625,12 @@ MASTER_POOL_SIZE_DEFAULT = 10
 
 CONFD_PROTOCOL_VERSION = 1
 
+CONFD_REQ_PING = 0
 CONFD_REQ_NODE_ROLE_BYNAME = 1
 CONFD_REQ_NODE_PIP_BY_INSTANCE_IP = 2
 
 CONFD_REQS = frozenset([
+  CONFD_REQ_PING,
   CONFD_REQ_NODE_ROLE_BYNAME,
   CONFD_REQ_NODE_PIP_BY_INSTANCE_IP,
   ])