projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02f7fe5
)
Use new RPC call in “gnt-node list”
author
Michael Hanselmann
<hansmi@google.com>
Wed, 6 Aug 2008 08:28:06 +0000
(08:28 +0000)
committer
Michael Hanselmann
<hansmi@google.com>
Wed, 6 Aug 2008 08:28:06 +0000
(08:28 +0000)
Reviewed-by: iustinp
scripts/gnt-node
patch
|
blob
|
history
diff --git
a/scripts/gnt-node
b/scripts/gnt-node
index
c75737f
..
439d9d8
100755
(executable)
--- a/
scripts/gnt-node
+++ b/
scripts/gnt-node
@@
-78,8
+78,7
@@
def ListNodes(opts, args):
else:
selected_fields = opts.output.split(",")
- op = opcodes.OpQueryNodes(output_fields=selected_fields, names=[])
- output = SubmitOrSend(op, opts)
+ output = GetClient().QueryNodes([], selected_fields)
if not opts.no_headers:
headers = {