[pve-devel] new plugin architecture for storage modules

Dietmar Maurer dietmar at proxmox.com
Wed May 23 08:27:34 CEST 2012


Hi all,

I just uploaded the new plugin code. This is more or less a code cleanup, because it simply moves related code into separate files.

There is a new base class for all plugins: pve-common/data/PVE/SectionConfig.pm. That class handles the whole configuration file parsing/writing.

file pve-storage/PVE/Storage/Plugin.pm: base class for Storage plugins (extend SectionConfig.pm)
file pve-storage/PVE/Storage/DirPlugin.pm: Directory storage
file pve-storage/PVE/Storage/NFSPlugin.pm: NFS storage
file pve-storage/PVE/Storage/LVMPlugin.pm: LVM storage
file pve-storage/PVE/Storage/ISCSIPlugin.pm: ISCSI storage

Note: new pve-access-control now also use plugins for the domain configuration.

- Dietmar


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/cgi-bin/mailman/private/pve-devel/attachments/20120523/84824bee/attachment.html>


More information about the pve-devel mailing list