[pve-devel] pve-storage : dynamic plugin loading ?

2012-12-28 Thread Alexandre DERUMIER
Hi Dietmar,

Do you think it's possible to add dynamic plugin loading in pve-storage ?

instead:
use PVE::Storage::Plugin;
use PVE::Storage::DirPlugin;
use PVE::Storage::LVMPlugin;
use PVE::Storage::NFSPlugin;
use PVE::Storage::ISCSIPlugin;
use PVE::Storage::RBDPlugin;
use PVE::Storage::SheepdogPlugin;
use PVE::Storage::ISCSIDirectPlugin;
use PVE::Storage::NexentaPlugin;
use PVE::Storage::NetappPNFSPlugin;

# load and initialize all plugins
PVE::Storage::DirPlugin-register();
PVE::Storage::LVMPlugin-register();
PVE::Storage::NFSPlugin-register();
PVE::Storage::ISCSIPlugin-register();
PVE::Storage::RBDPlugin-register();
PVE::Storage::SheepdogPlugin-register();
PVE::Storage::ISCSIDirectPlugin-register();
PVE::Storage::NexentaPlugin-register();
PVE::Storage::NetappPNFSPlugin-register();


Having something like (I don't know how to do this in perl ;)

use PVE::Storage::*
PVE::Storage::*-register();


I don't know if this can be a security or performance problem, but it could 
easier to develop some third party plugin (like my netapp plugin),
If you don't have time, or hardware to test it by example.

What do you think about it ?


___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] pve-storage : dynamic plugin loading ?

2012-12-28 Thread Dietmar Maurer
 I don't know if this can be a security or performance problem, but it could
 easier to develop some third party plugin (like my netapp plugin), If you 
 don't
 have time, or hardware to test it by example.
 
 What do you think about it ?

No, I do not want that. Instead, I want to include those plugins.



___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] pve-storage : dynamic plugin loading ?

2012-12-28 Thread Dietmar Maurer
 No, I do not want that. Instead, I want to include those plugins.
 
 Ok,Thanks.
 
 For my own need, I would like to have netapp plugin and template-cloning
 for the end of January, do you think it'll be ok for you ?

We work full time on pve here. But we also have to do support, maintain the 
repositories,
do testing, prepare releases, fix bugs, ...

So I can't promise a fixed date, sorry.
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] pve-storage : dynamic plugin loading ?

2012-12-28 Thread Alexandre DERUMIER
We work full time on pve here. But we also have to do support, maintain the 
repositories, 
do testing, prepare releases, fix bugs, ... 

So I can't promise a fixed date, sorry. 

Yes, Sure I understand, no problem. I can keep working on my seperate branch. 
(Just take time to rebase sometimes)


- Mail original - 

De: Dietmar Maurer diet...@proxmox.com 
À: Alexandre DERUMIER aderum...@odiso.com 
Cc: pve-devel@pve.proxmox.com 
Envoyé: Vendredi 28 Décembre 2012 09:44:23 
Objet: RE: [pve-devel] pve-storage : dynamic plugin loading ? 

 No, I do not want that. Instead, I want to include those plugins. 
 
 Ok,Thanks. 
 
 For my own need, I would like to have netapp plugin and template-cloning 
 for the end of January, do you think it'll be ok for you ? 

We work full time on pve here. But we also have to do support, maintain the 
repositories, 
do testing, prepare releases, fix bugs, ... 

So I can't promise a fixed date, sorry. 
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel