Revision 02f7fe54 daemons/ganeti-masterd
b/daemons/ganeti-masterd | ||
---|---|---|
232 | 232 |
op = opcodes.OpQueryInstances(names=names, output_fields=fields) |
233 | 233 |
return self._Query(op) |
234 | 234 |
|
235 |
elif method == luxi.REQ_QUERY_NODES: |
|
236 |
(names, fields) = args |
|
237 |
op = opcodes.OpQueryNodes(names=names, output_fields=fields) |
|
238 |
return self._Query(op) |
|
239 |
|
|
235 | 240 |
else: |
236 | 241 |
raise ValueError("Invalid operation") |
237 | 242 |
|
Also available in: Unified diff