getDevices(self,
limit=200,
params=None,
fields=None)
| source code
|
Retrieves a list of devices.
@type limit: integer
@param limit: (optional) Number of items to return
@type params: dictionary
@param params: (optional) Key-value pair of filters for this search
e.g. params={'name': 'localhost'}
@type fields: list of strings
@param fields: (optional) list of indexed fields to retrieve, if None
then attempts to retrive values for all indexes we have in SOLR.
e.g. fields=["name", "osModel", "productionState"]
|