[pve-devel] [PATCH 16/16] add qm move (storage migration)

Alexandre DERUMIER aderumier at odiso.com
Tue Jan 22 12:11:03 CET 2013


Oops, Indeed, wrong copy/paste ;)

I'll remake the patch


----- Mail original ----- 

De: "Michael Rasmussen" <mir at datanom.net> 
À: "Alexandre Derumier" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mardi 22 Janvier 2013 11:59:29 
Objet: Re: [pve-devel] [PATCH 16/16] add qm move (storage migration) 

On Tue, 22 Jan 2013 10:11:58 +0100 
Alexandre Derumier <aderumier at odiso.com> wrote: 

> __PACKAGE__->register_method({ 
> + name => 'move_vm', 
> + path => '{vmid}/move', 
> + method => 'PUT', 
> + protected => 1, 
> + proxyto => 'node', 
> + description => "Move volume to different storage.", 
> + permissions => { 
> + check => ['perm', '/vms/{vmid}', [ 'VM.Config.Disk' ]], 
> + }, 
> + parameters => { 
> + additionalProperties => 0, 
> + properties => { 
> + node => get_standard_option('pve-node'), 
> + vmid => get_standard_option('pve-vmid'), 
> + skiplock => get_standard_option('skiplock'), 
> + disk => { 
> + type => 'string', 
> + description => "The disk you want to resize.", 
Shouldn't the description not be "The disk you want to move"? 

-- 
Hilsen/Regards 
Michael Rasmussen 

Get my public GnuPG keys: 
michael <at> rasmussen <dot> cc 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E 
mir <at> datanom <dot> net 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C 
mir <at> miras <dot> org 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 
-------------------------------------------------------------- 
Klatu barada nikto. 



More information about the pve-devel mailing list