Revision ec79568d lib/luxi.py
b/lib/luxi.py | ||
---|---|---|
357 | 357 |
def QueryJobs(self, job_ids, fields): |
358 | 358 |
return self.CallMethod(REQ_QUERY_JOBS, (job_ids, fields)) |
359 | 359 |
|
360 |
def QueryInstances(self, names, fields): |
|
361 |
return self.CallMethod(REQ_QUERY_INSTANCES, (names, fields)) |
|
360 |
def QueryInstances(self, names, fields, use_locking):
|
|
361 |
return self.CallMethod(REQ_QUERY_INSTANCES, (names, fields, use_locking))
|
|
362 | 362 |
|
363 |
def QueryNodes(self, names, fields): |
|
364 |
return self.CallMethod(REQ_QUERY_NODES, (names, fields)) |
|
363 |
def QueryNodes(self, names, fields, use_locking):
|
|
364 |
return self.CallMethod(REQ_QUERY_NODES, (names, fields, use_locking))
|
|
365 | 365 |
|
366 |
def QueryExports(self, nodes): |
|
367 |
return self.CallMethod(REQ_QUERY_EXPORTS, nodes)
|
|
366 |
def QueryExports(self, nodes, use_locking):
|
|
367 |
return self.CallMethod(REQ_QUERY_EXPORTS, (nodes, use_locking))
|
|
368 | 368 |
|
369 | 369 |
def QueryConfigValues(self, fields): |
370 | 370 |
return self.CallMethod(REQ_QUERY_CONFIG_VALUES, fields) |
Also available in: Unified diff