Revision d9a22528 lib/client/gnt_node.py
b/lib/client/gnt_node.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Google Inc.
|
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Google Inc. |
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
303 | 303 |
fmtoverride = dict.fromkeys(["pinst_list", "sinst_list", "tags"], |
304 | 304 |
(",".join, False)) |
305 | 305 |
|
306 |
cl = GetClient(query=False)
|
|
306 |
cl = GetClient(query=True)
|
|
307 | 307 |
|
308 | 308 |
return GenericList(constants.QR_NODE, selected_fields, args, opts.units, |
309 | 309 |
opts.separator, not opts.no_headers, |
... | ... | |
529 | 529 |
@return: the desired exit code |
530 | 530 |
|
531 | 531 |
""" |
532 |
# note: if this starts using RPC fields, and we haven't yet fixed |
|
533 |
# hconfd, then we should revert to query=False |
|
534 | 532 |
cl = GetClient(query=True) |
535 | 533 |
result = cl.QueryNodes(fields=["name", "pip", "sip", |
536 | 534 |
"pinst_list", "sinst_list", |
Also available in: Unified diff