[pve-devel] Integration of FreeNAS iSCSI target initiator in Proxmox Enterprise repo

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jun 9 09:28:56 CEST 2020


On 6/8/20 5:16 PM, Michael Rasmussen wrote:
> On Mon, 8 Jun 2020 15:00:11 +0200
> Thomas Lamprecht <t.lamprecht at proxmox.com> wrote:
> 
>>
>> You can effectively provide a full custom plugin, so it has not more
>> limitations than any existing one. What extra functionality regarding
>> interface ABI would the FreeNAS Plugin require?
>>
> I seem to have read somewhere that a custom plugin could not get access
> to individual volumes.
> 

As said, it's loaded as it was a storage plugin shipped by us with the single
addition of having some API compatibility checking to ensure that it's only
load if actually compatible.

Effectively it can have the signature of the base plugin:
https://git.proxmox.com/?p=pve-storage.git;a=blob;f=PVE/Storage/Plugin.pm;h=7f04e85ae8cd00748f3286a6fdaae64992ff22d8;hb=a43a796c6436ec54c47b7c1a758335692125f534

Among that there are list-, create-, delete-, snapshot-, activate- and deactivate-,
map-, unmap- volume methods in the class signature, so full volume control and not
more than we call from user sites.




More information about the pve-devel mailing list