Revision 2af8b9c9 lib/client/gnt_group.py
b/lib/client/gnt_group.py | ||
---|---|---|
122 | 122 |
"ndparams": (_FmtDict, False), |
123 | 123 |
} |
124 | 124 |
|
125 |
cl = GetClient(query=True)
|
|
125 |
cl = GetClient() |
|
126 | 126 |
|
127 | 127 |
return GenericList(constants.QR_GROUP, desired_fields, args, None, |
128 | 128 |
opts.separator, not opts.no_headers, |
... | ... | |
140 | 140 |
@return: the desired exit code |
141 | 141 |
|
142 | 142 |
""" |
143 |
cl = GetClient(query=True)
|
|
143 |
cl = GetClient() |
|
144 | 144 |
|
145 | 145 |
return GenericListFields(constants.QR_GROUP, args, opts.separator, |
146 | 146 |
not opts.no_headers, cl=cl) |
... | ... | |
278 | 278 |
"""Shows info about node group. |
279 | 279 |
|
280 | 280 |
""" |
281 |
cl = GetClient(query=True)
|
|
281 |
cl = GetClient() |
|
282 | 282 |
selected_fields = ["name", |
283 | 283 |
"ndparams", "custom_ndparams", |
284 | 284 |
"diskparams", "custom_diskparams", |
... | ... | |
307 | 307 |
Currently it works only for ipolicy specs. |
308 | 308 |
|
309 | 309 |
""" |
310 |
cl = GetClient(query=True)
|
|
310 |
cl = GetClient() |
|
311 | 311 |
selected_fields = ["name"] |
312 | 312 |
if opts.include_defaults: |
313 | 313 |
selected_fields += ["ipolicy"] |
Also available in: Unified diff