[pve-devel] [PATCH storage/manager] add storage api/gui

Dominik Csapak d.csapak at proxmox.com
Mon Jul 30 10:25:58 CEST 2018


this series adds the api and gui to create

lvm
lvmthin
directory

storage from an empty disk.
leave it simple at the moment (no destroy/edit, only single disks)

zfs will be the next one

pve-storage:

Dominik Csapak (8):
  add an option to include pvs in lvm_vgs
  add API for LVM management
  add type and skipsmart to /nodes/NODE/disks/list
  extend list_thinpools for multiple vgs and more information
  add metadata_size and _used to lv list
  pvesm scanthinlvm: make vg optional and add verbose flag
  add API for LVMThin management
  add API for add Directory storage

 PVE/API2/Disks.pm            |  47 ++++++-
 PVE/API2/Disks/Directory.pm  | 291 +++++++++++++++++++++++++++++++++++++++++++
 PVE/API2/Disks/LVM.pm        | 180 ++++++++++++++++++++++++++
 PVE/API2/Disks/LVMThin.pm    | 144 +++++++++++++++++++++
 PVE/API2/Disks/Makefile      |   8 ++
 PVE/API2/Makefile            |   1 +
 PVE/API2/Storage/Scan.pm     |   8 +-
 PVE/Storage/LVMPlugin.pm     |  31 ++++-
 PVE/Storage/LvmThinPlugin.pm |  19 ++-
 9 files changed, 715 insertions(+), 14 deletions(-)
 create mode 100644 PVE/API2/Disks/Directory.pm
 create mode 100644 PVE/API2/Disks/LVM.pm
 create mode 100644 PVE/API2/Disks/LVMThin.pm
 create mode 100644 PVE/API2/Disks/Makefile

pve-manager:

Dominik Csapak (4):
  move DiskSelector to its own file, for generic use
  add LVM List/Create Gui
  add LVMThin list/create gui
  add Directory list/create gui

 www/manager6/Makefile             |   4 +
 www/manager6/ceph/OSD.js          |  79 +--------------
 www/manager6/form/DiskSelector.js |  79 +++++++++++++++
 www/manager6/node/Config.js       |  21 ++++
 www/manager6/node/Directory.js    | 159 ++++++++++++++++++++++++++++++
 www/manager6/node/LVM.js          | 188 ++++++++++++++++++++++++++++++++++++
 www/manager6/node/LVMThin.js      | 198 ++++++++++++++++++++++++++++++++++++++
 7 files changed, 651 insertions(+), 77 deletions(-)
 create mode 100644 www/manager6/form/DiskSelector.js
 create mode 100644 www/manager6/node/Directory.js
 create mode 100644 www/manager6/node/LVM.js
 create mode 100644 www/manager6/node/LVMThin.js

-- 
2.11.0





More information about the pve-devel mailing list