Revision 32f93223

b/daemons/ganeti-masterd
231 231
      op = opcodes.OpQueryNodes(names=names, output_fields=fields)
232 232
      return self._Query(op)
233 233

  
234
    elif method == luxi.REQ_QUERY_EXPORTS:
235
      nodes = args
236
      op = opcodes.OpQueryExports(nodes=nodes)
237
      return self._Query(op)
238

  
234 239
    else:
235 240
      raise ValueError("Invalid operation")
236 241

  
b/lib/luxi.py
49 49
REQ_QUERY_JOBS = "QueryJobs"
50 50
REQ_QUERY_INSTANCES = "QueryInstances"
51 51
REQ_QUERY_NODES = "QueryNodes"
52
REQ_QUERY_EXPORTS = "QueryExports"
52 53

  
53 54
DEF_CTMO = 10
54 55
DEF_RWTO = 60
......
296 297
  def QueryNodes(self, names, fields):
297 298
    return self.CallMethod(REQ_QUERY_NODES, (names, fields))
298 299

  
300
  def QueryExports(self, nodes):
301
    return self.CallMethod(REQ_QUERY_EXPORTS, nodes)
302

  
299 303
# TODO: class Server(object)

Also available in: Unified diff