ssconf.CheckMasterCandidate
authorGuido Trotter <ultrotter@google.com>
Tue, 14 Jul 2009 10:35:04 +0000 (12:35 +0200)
committerGuido Trotter <ultrotter@google.com>
Thu, 6 Aug 2009 16:36:06 +0000 (17:36 +0100)
commit3f71b464ad5cdd1f1b53f2a31a4eef4e2a5550cc
tree7d193300a95a1217cfcd1100a5e173e82fbbeb6d
parentf208978a68d2e4145254f2047eff977e97d262f5
ssconf.CheckMasterCandidate

This function checks that the current node is a master candidate, and
terminates otherwise. It will be used upon ganeti-confd startup.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/constants.py
lib/ssconf.py