> > + sharedonly => {
> > + description => "Migrate only those guests with only shared
> > storage",
> > + optional => 1,
> > + type => 'boolean'
> > + },
> > + onlineonly => {
> > + description => "Migrate only those guests with only share
> @@ -1538,6 +1553,16 @@ __PACKAGE__->register_method ({
> type => 'integer',
> minimum => 1
> },
> + sharedonly => {
> + description => "Migrate only those guests with only shared
> storage",
> + optional => 1,
> +
this adds two optional filters to the migrateall api call:
onlineonly:
migrates only vms/ct which are online, ct now in restart mode
sharedonly:
migrates only vms/ct which have all disks/volumes/mp on shared storage
or marked as shared
Signed-off-by: Dominik Csapak
---
PVE/API2/Nodes.pm | 35