feat(xo-server/rest-api): rolling_update pool action

This commit is contained in:
Julien Fontanet
2023-05-17 14:07:38 +02:00
parent 9cf8f8f492
commit deeb399046
2 changed files with 6 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
- [Proxy] Make proxy address editable (PR [#6816](https://github.com/vatesfr/xen-orchestra/pull/6816))
- [Home/Host] Displays a warning for hosts with HVM disabled [#6823](https://github.com/vatesfr/xen-orchestra/issues/6823) (PR [#6834](https://github.com/vatesfr/xen-orchestra/pull/6834))
- [OVA import] Workaround for OVA generated by Oracle VM with faulty size in metadata [#6824](https://github.com/vatesfr/xen-orchestra/issues/6824)
- [REST API] _Rolling Pool Update_ action available `pools/<uuid>/actions/rolling_update`
### Bug fixes

View File

@@ -151,6 +151,11 @@ export default class RestApi {
collections.restore = { id: 'restore' }
collections.tasks = { id: 'tasks' }
collections.pools.actions = {
__proto__: null,
rolling_update: ({ xoObject }) => app.rollingPoolUpdate(xoObject).then(noop),
}
collections.vms.actions = {
__proto__: null,