[pve-devel] [PATCH storage] prepare storage for lvmthin gui
Dietmar Maurer
dietmar at proxmox.com
Sat Feb 20 10:15:56 CET 2016
applied, also added it to the CLI
> On February 19, 2016 at 2:51 PM Dominik Csapak <d.csapak at proxmox.com> wrote:
>
>
> this patch adds an lvmthin scan to the api, so that we can get a list
> of thinpools for a specific vg via an api call
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> PVE/API2/Storage/Scan.pm | 35 +++++++++++++++++++++++++++++++++++
> PVE/Storage/LvmThinPlugin.pm | 14 ++++++++++++++
> 2 files changed, 49 insertions(+)
>
> diff --git a/PVE/API2/Storage/Scan.pm b/PVE/API2/Storage/Scan.pm
> index 7686e05..3e3f2c3 100644
> --- a/PVE/API2/Storage/Scan.pm
> +++ b/PVE/API2/Storage/Scan.pm
> @@ -239,6 +239,41 @@ __PACKAGE__->register_method ({
> }});
>
> __PACKAGE__->register_method ({
> + name => 'thinlvmscan',
changed to lvmthinscan
> + path => 'lvmthin',
> + method => 'GET',
More information about the pve-devel
mailing list