feat(xo-server/rest-api): rolling_update pool action
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user