https://blueprints.launchpad.net/blazar/+spec/update-reserved-capacity
Support updating the capacity of an existing reservation.
The start date and the end date of a lease can be updated through the update lease request. However, the capacity of reserved resource cannot be changed once the reservation is created for now. The capacity should be able to be changed for improving the flexibility of resource usage requests.
The update_reservation() method of a resource plugin currently checks only the start_date and end_date of the request body. Change it to check other parameters, e.g., min, max, hypervisor_properties and resource_properties for the host plugin. And enable the update_reservation() method to update allocations.
The update_reservation() succeeds if all of the request parameters can be satisfied. Otherwise, it raises exceptions.
First target is the host plugin. For the host plugin, min, max, hypervisor_properties and resource_properties can be updated if an update request satisfies all of following conditions:
Otherwise, Blazar returns an error and nothing is updated.
None.
None.
None.
None.
None.
The resource allocation algorithm of resource plugins can be more complex. So the performance impact should be carefully tested.
None.
Developers of new resource plugins should consider this capability for the update_reservation() method.
None
Write a release note.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.