[pve-devel] [RFC PATCH storage 0/2] add lvm management api

Dominik Csapak d.csapak at proxmox.com
Mon Jul 23 15:16:58 CEST 2018


this series is the first try to add a disk management api
beginning with lvm (the easiest)

i am most interested in feedback on code style (e.g. leaving the functionality
in the api calls or move them to a different package, etc.) and api interface,
so that i can begin to create apis for lvmthin, directory and zfs

also i will soon begin to create a gui for this

Dominik Csapak (2):
  add an option to include pvs in lvm_vgs
  add API for LVM management

 PVE/API2/Disks.pm        |   8 ++-
 PVE/API2/Disks/LVM.pm    | 180 +++++++++++++++++++++++++++++++++++++++++++++++
 PVE/API2/Disks/Makefile  |   6 ++
 PVE/API2/Makefile        |   1 +
 PVE/Storage/LVMPlugin.pm |  28 ++++++++
 5 files changed, 222 insertions(+), 1 deletion(-)
 create mode 100644 PVE/API2/Disks/LVM.pm
 create mode 100644 PVE/API2/Disks/Makefile

-- 
2.11.0





More information about the pve-devel mailing list