Add Confd client to the Haskell code base
authorMichele Tartara <mtartara@google.com>
Fri, 14 Dec 2012 14:32:34 +0000 (14:32 +0000)
committerMichele Tartara <mtartara@google.com>
Thu, 20 Dec 2012 16:17:33 +0000 (17:17 +0100)
commit04063ba791874f6b12e4cc1c8b0c23441ceaa6c9
tree0d94d923bcec663a2be4784df77e101a22fdf872
parentd8e9131b47da88f2d5c7611263b3d4cd58c1ace7
Add Confd client to the Haskell code base

The client queries all the master candidates in parallel, until the minimum
number of replies, defined in the constant file, is received.
A timeout prevents the waiting from being of indefinite length.

The reply to be returned to the function that made the query is decided
according to the Confd design document.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Makefile.am
htools/Ganeti/Confd/Client.hs [new file with mode: 0644]
htools/Ganeti/Confd/Types.hs