Add primary/second nodes' group as query fields
authorMichael Hanselmann <hansmi@google.com>
Thu, 28 Jul 2011 11:37:20 +0000 (13:37 +0200)
committerMichael Hanselmann <hansmi@google.com>
Tue, 2 Aug 2011 09:08:26 +0000 (11:08 +0200)
commitfab9573b89baedede21254ac4242d18d986b5441
tree97a491067d6cbafec79ea99de1806509f6d4303d
parentd66bbe9fd8b49ee27f8c82ddc8f45eac29d4d75e
Add primary/second nodes' group as query fields

These will be very useful for ganeti-watcher as it needs to retrieve
instances by group.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/client/gnt_instance.py
lib/cmdlib.py
lib/query.py
test/ganeti.query_unittest.py