-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API - create one.vmpool.infoextended #3076
Comments
I think the first option may be better. (At least straight-forward to implement) I don't know the specific workflow of your application, but getting the whole list of VMs will sooner or later impact the response time. So I'd recommend either caching the pool (using the new proposed API call) or using the new search functionality in 5.8. You can list VMs with a specific attribute IP="10.0.0.1" for example, that would probably give you a much sorter list... |
Hi Ruben - yes - I think, option 1 is the better way to go and also easy to be implemented on client side. |
* Add new function dump_extended * Add new API call one.vmpool.infoextended * Add parameter --extended in the CLI
* Add new function dump_extended * Add new API call one.vmpool.infoextended * Add parameter --extended in the CLI
* Add new function dump_extended * Add new API call one.vmpool.infoextended * Add parameter --extended in the CLI
* Add new function dump_extended * Add new API call one.vmpool.infoextended * Add parameter --extended in the CLI
* Add new function dump_extended * Add new API call one.vmpool.infoextended (ruby, JAVA, golang) * Add parameter --extended in the CLI for onevm Co-authored-by: Alejandro Huertas <[email protected]>
* Add new function dump_extended * Add new API call one.vmpool.infoextended (ruby, JAVA, golang) * Add parameter --extended in the CLI for onevm Co-authored-by: Alejandro Huertas <[email protected]> (cherry picked from commit 2ed170b)
(cherry picked from commit 9d507fe)
… info, not infoextended
Description
In 5.8 the API call one.vmpool.info was changed to return only a subset of information of the XML. This is a good idea in general to speed up the API calls.
The issue is now: If you rely on additional information which is not returned you need additional API calls for each VM the additional information is required for.
This finally increases massively the time for external processes.
Perhaps it is possible to enhance the API in two ways (optionally)
Use case
API driven additional interfaces/tools, monitoring etc.
Interface Changes
API: Add one.vmpool.infoextended call
Additional Context
none
Progress Status
The text was updated successfully, but these errors were encountered: