Enhance cli.GetOnlineNodes query/filtering
authorIustin Pop <iustin@google.com>
Wed, 17 Mar 2010 15:49:59 +0000 (16:49 +0100)
committerIustin Pop <iustin@google.com>
Wed, 17 Mar 2010 16:22:37 +0000 (17:22 +0100)
commite9e26bb3845201ea3ac40a622a9451c402bc5deb
treea6991623ac24af9bde26af0c75f7f7cd5ad83be7
parent25a8792cb981df1979ce383248499ed207d203a4
Enhance cli.GetOnlineNodes query/filtering

This patch allows GetOnlineNodes to return the secondary IPs instead of
the node names, and to provide filtering of the master node (required to
be done in this function in case we return the secondary IPs).

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/cli.py