[pve-devel] [PATCH] improve and consolidate disk storage selector

Dominik Csapak d.csapak at proxmox.com
Wed Nov 8 10:53:11 CET 2017


this series is a new version of my patches 4/17-12/17 from the series
'gui storage and other improvements'

instead of getting all plugin information in the /version call
we now get it with every call to /nodes/nodeid/storage

which is where we actually need it, but means that we have to
touch 2 packages

pve-storage:

Dominik Csapak (3):
  add select to plugindata for iscsi(direct)
  add 'format' parameter to storage list call
  whitespace cleanup

 PVE/API2/Storage/Status.pm       | 14 ++++++++++----
 PVE/Storage.pm                   | 10 ++++++++--
 PVE/Storage/ISCSIDirectPlugin.pm |  3 ++-
 PVE/Storage/ISCSIPlugin.pm       |  1 +
 4 files changed, 21 insertions(+), 7 deletions(-)

pve-manager:

Dominik Csapak (8):
  add new DiskStorageSelector.js
  move lxc mountpoint edit from ResourceEdit.js to MPEdit.js
  use DiskStorageSelector in qemu/HDEdit.js
  use DiskStorageSelector in qemu/HDEfi.js
  use DiskStorageSelector in qemu/Clone.js
  use DiskStorageSelector in qemu/HDMove.js
  use DiskStorageSelector in lxc/MPEdit.js
  reset FileSelector grid when changing the storage

 www/manager6/Makefile                    |   2 +
 www/manager6/form/DiskStorageSelector.js | 116 +++++++++
 www/manager6/form/FileSelector.js        |   5 +-
 www/manager6/form/StorageSelector.js     |   4 +-
 www/manager6/lxc/CreateWizard.js         |   2 +-
 www/manager6/lxc/MPEdit.js               | 350 +++++++++++++++++++++++++++
 www/manager6/lxc/ResourceEdit.js         | 401 -------------------------------
 www/manager6/qemu/Clone.js               |  70 +-----
 www/manager6/qemu/HDEdit.js              |  83 +------
 www/manager6/qemu/HDEfi.js               |  71 +-----
 www/manager6/qemu/HDMove.js              |  55 +----
 11 files changed, 510 insertions(+), 649 deletions(-)
 create mode 100644 www/manager6/form/DiskStorageSelector.js
 create mode 100644 www/manager6/lxc/MPEdit.js




More information about the pve-devel mailing list