Re: [pve-devel] [PATCH manager 1/3] add onlineonly and sharedonly to migrateall api call

2016-12-01 Thread Dietmar Maurer
> > + sharedonly => { > > + description => "Migrate only those guests with only shared > > storage", > > + optional => 1, > > + type => 'boolean' > > + }, > > + onlineonly => { > > + description => "Migrate only those guests with only share

Re: [pve-devel] [PATCH manager 1/3] add onlineonly and sharedonly to migrateall api call

2016-12-01 Thread Dietmar Maurer
> @@ -1538,6 +1553,16 @@ __PACKAGE__->register_method ({ > type => 'integer', > minimum => 1 > }, > + sharedonly => { > + description => "Migrate only those guests with only shared > storage", > + optional => 1, > +

[pve-devel] [PATCH manager 1/3] add onlineonly and sharedonly to migrateall api call

2016-12-01 Thread Dominik Csapak
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