Extend the node description by isMaster
authorKlaus Aehlig <aehlig@google.com>
Mon, 15 Apr 2013 12:54:23 +0000 (14:54 +0200)
committerKlaus Aehlig <aehlig@google.com>
Fri, 19 Apr 2013 11:53:59 +0000 (13:53 +0200)
commit6c332a37450dfdf231ddaa75f1b98e0ceb39a71f
tree163b7d666546e62bb36af2892f1f29522297de4e
parent2ab65a5db84dc7154a11f3ed050725ab8d5c7248
Extend the node description by isMaster

Extend the description of the node by the property
of being the master node; also provide and appropriate
setter function. This property will be used, e.g., by
hroller to schedule reboot of the master last.

Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
src/Ganeti/HTools/Backend/Rapi.hs
src/Ganeti/HTools/Node.hs