Revision 02715459 scripts/gnt-cluster
b/scripts/gnt-cluster | ||
---|---|---|
140 | 140 |
nodes = opts.nodes |
141 | 141 |
op = opcodes.OpRunClusterCommand(command=command, nodes=nodes) |
142 | 142 |
result = SubmitOpCode(op) |
143 |
for node, sshcommand, output, exit_code in result:
|
|
143 |
for node, output, exit_code in result: |
|
144 | 144 |
print ("------------------------------------------------") |
145 | 145 |
print ("node: %s" % node) |
146 |
print ("command: %s" % sshcommand) |
|
147 | 146 |
print ("%s" % output) |
148 | 147 |
print ("return code = %s" % exit_code) |
149 | 148 |
|
Also available in: Unified diff