[pve-devel] new plugin architecture for storage modules

Alexandre DERUMIER aderumier at odiso.com
Wed May 23 08:40:12 CEST 2012


Oh great, good job !

I'll look at it and try to implement my nexenta plugin.



Also I'm currently testing ceph/rados block with some ceph users,seem to works fine and easy to implement. (no kernel module need,on qemu-kvm with librbd).
Ceph community is nice and very helpfull and I'm also in contact with Intank, the new company of ceph creator.
Rados block is stable now (and commercialy supported),so I think I'll do a plugin module too.

What do you think about it ?

For Ceph, I need to build pve-qemu-kvm with librdb , libraries are available on a official ceph debian repository (squeeze and wheezy)
(basicly we need 3 packages, librbd-dev for build, then librbd and ceph-common (tools) packages)
What is the best way to include them in proxmox ? add ceph repository to proxmox ? or adding ceph packages in proxmox git ? 



Thanks again Diemar!


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: pve-devel at pve.proxmox.com, "Alexandre DERUMIER (aderumier at odiso.com)" <aderumier at odiso.com> 
Envoyé: Mercredi 23 Mai 2012 08:27:34 
Objet: new plugin architecture for storage modules 



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 





-- 

-- 




	Alexandre D erumier 
Ingénieur Système 
Fixe : 03 20 68 88 90 
Fax : 03 20 68 90 81 
45 Bvd du Général Leclerc 59100 Roubaix - France 
12 rue Marivaux 75002 Paris - France 
	


More information about the pve-devel mailing list