Use family in backend.StartMaster
authorManuel Franceschini <livewire@google.com>
Fri, 20 Aug 2010 08:12:15 +0000 (10:12 +0200)
committerManuel Franceschini <livewire@google.com>
Fri, 20 Aug 2010 11:12:03 +0000 (13:12 +0200)
commitd8e0caa63307971a62eefb65212e52bb77e59bed
treeaddf6332e58cd1f80af02d870d999b5587d3e210
parentf30445162de2947d87358cd779afed63163e7cea
Use family in backend.StartMaster

This patches changes the StartMaster method to consult the cluster
primary ip version when deciding whether to use arping or ndisc6 after
activating the master ip.

Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/backend.py
lib/bootstrap.py