filter VM listing server-side
|Category:||Core & System|
I would like the option to filter the API output server-side - often, I'm finding myself in need of just a few fields of all the data stored about a VM, and this is very inefficient at large numbers of VMs, if basically all I want is a list of just two or three columns of data.
To keep backwards compatibility, I would recommend to add an option to the listing queries to specify a list of columns I want to receive. Either use a single-value with a field separator, or use multiple fields, e.g.
this will make scaling a lot simpler for large installations.
#3 Updated by Ruben S. Montero over 7 years ago
This will probably need to be implemented client-side. There are no processing problems currently in the core to get all the information, so there is no need to move client processing (filtering) to the core.
There are libraries and XML parsers that let you process the XML in chunks.
This is a problem of the current client API, so this performance improvement will be exposed there.