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

Dominik Csapak d.csapak at proxmox.com
Fri Nov 10 14:49:16 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

changes since v1:
* renamed select to select_existing
* fixed typos
* documented parameters for DiskStorageSelector
* added missing storageContent in HDMove and HDEfi

pve-storage:

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

 PVE/API2/Storage/Status.pm       | 14 ++++++++++----
 PVE/Storage.pm                   | 12 ++++++++++--
 PVE/Storage/ISCSIDirectPlugin.pm |  3 ++-
 PVE/Storage/ISCSIPlugin.pm       |  1 +
 4 files changed, 23 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 | 137 +++++++++++
 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               |  70 +-----
 www/manager6/qemu/HDMove.js              |  56 +----
 11 files changed, 532 insertions(+), 648 deletions(-)
 create mode 100644 www/manager6/form/DiskStorageSelector.js
 create mode 100644 www/manager6/lxc/MPEdit.js

-- 
2.11.0





More information about the pve-devel mailing list