[PATCH-SERIES 0/2] fix #3420: implement custom type-text for storage pools

Joshua Huber jhuber at blockbridge.com
Tue Apr 5 19:09:13 CEST 2022


A small patch series (and my first!) adding the 'type-text' property
to storage pool configuration. This property, if specified, is used as
a fallback value in pve-manager's StorageView widget.

This allows:

1) Custom out-of-tree storage plugins to supply a properly-formatted
   value.
2) Administrative customization of how any storage pool is presented
   in the web UI.
3) Other consumers of the API could use this to provide consistency
   between command line tools (e.g., pvesm) and pve-manager's web UI.

For #2 to work for built-in storage types, the fallback ordering would
need to be changed in pve-manager. That seemed to be a bit too
far-reaching for my first PVE patch series, so I left it as-is.

I (very recently) submitted a signed CLA to office at proxmox.com, so
that probably needs a bit of time before it's approved and on file.

NB: This is also the first time I've used git send-email. ;)

Any and all feedback welcome!




More information about the pve-devel mailing list