Revision ab9e48d1 lib/client/gnt_network.py
b/lib/client/gnt_network.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2011, 2012 Google Inc. |
|
4 |
# Copyright (C) 2011, 2012, 2013 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 |
... | ... | |
167 | 167 |
"tags": (",".join, False), |
168 | 168 |
} |
169 | 169 |
|
170 |
cl = GetClient() |
|
170 |
cl = GetClient(query=True)
|
|
171 | 171 |
return GenericList(constants.QR_NETWORK, desired_fields, args, None, |
172 | 172 |
opts.separator, not opts.no_headers, |
173 | 173 |
verbose=opts.verbose, format_override=fmtoverride, |
... | ... | |
184 | 184 |
@return: the desired exit code |
185 | 185 |
|
186 | 186 |
""" |
187 |
cl = GetClient(query=True) |
|
188 |
|
|
187 | 189 |
return GenericListFields(constants.QR_NETWORK, args, opts.separator, |
188 |
not opts.no_headers) |
|
190 |
not opts.no_headers, cl=cl)
|
|
189 | 191 |
|
190 | 192 |
|
191 | 193 |
def ShowNetworkConfig(_, args): |
Also available in: Unified diff