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

Michael Rasmussen mir at datanom.net
Tue Jan 22 11:59:29 CET 2013


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20130122/de4cf8e5/attachment.sig>


More information about the pve-devel mailing list