[pve-devel] Custom Storage Plugin

Alexander Schmid alex at modula-shop-systems.de
Thu May 18 09:50:08 CEST 2017


For the Custom Storage Plugins it would be great to have a way for the 
plugin to inject some ExtJS.

So, the Plugin could add a Controller that registers with some component 
queries to events in the GUI and i.e. show a meaninful dialog in 
Datacenter / Storage.

Of course, the Plugin-Developer then needs some understanding of ExtJS 
to make use of controllers and provide working dialogs in the gui.

Am 18.05.17 um 09:08 schrieb Dmitry Petuhov:
> 18.05.2017 06:59, Dietmar Maurer wrote:
> >> However when going to the Summary page for a lizardfs storage Instance
> >> it shows the usages details etc correctly, but the Type comes up as
> >> "Unknown"
> > You need to patch the GUI code to display something else.
> >
> > 
> https://git.proxmox.com/?p=pve-manager.git;a=blob;f=www/manager6/Utils.js;h=d1ada771f02bc37ca56edfe27de190f43ca4ece8;hb=HEAD#l777
> Maybe it would be better to add some property to plugins and display 
> it directly in GUI?
>
> Or just show raw value for all plugins, because for most plugins it 
> differs from displayed value only by case of letters.
>
> Or at least do something like that:
> } else {
>     return value;
> }
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel





More information about the pve-devel mailing list