[pve-devel] pve-manager/www: API for external plugins?

Roland Kammerer roland.kammerer at linbit.com
Thu Nov 3 11:28:09 CET 2022


Dear PVE devs,

I'm the maintainer of the linstor-proxmox plugin and thanks to your
storage plugin API we have a strong FLOSS and customer user base. What
would be nice for our users is better integration in the web GUI,
especially in "Datacenter -> Storage -> Add".

I'm not a web dev at all, I just patched in a new entry into
pvemanagerlib.js. From what I see in the Makefile that itself is just
the concatenated version of several .js files. Would it be possible to
have an extra "plugin.js" that then just includes all .js from some
/i/dont/know/plugins/ directory? I also saw that there is at least one
dict that glues things together (storageSchema in Utils.js), so there
probably would be some need to "register" external plugins into these
data structures. And that is where I stop showing my entire lack of web
development knowledge :).

Could you provide some kind of API that allows external plugins to
integrate into the GUI? Or maybe it even exists and I did not see it?

Thanks, rck




More information about the pve-devel mailing list