[pve-devel] [PATCH 3/5] Do not expose every value from storage.cfg as PMXCFG_*, and instead expose those few 'usefull' values like portal, target, pool, etc. Everything else should be handled by helpe

2014-04-12 Thread Pablo Ruiz García
Signed-off-by: Pablo Ruiz García --- PVE/Storage/ZFSPlugin.pm | 16 +++- 1 files changed, 3 insertions(+), 13 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 80fc0ea..ac8eb0a 100644 --- a/PVE/Storage/ZFSPlugin.pm +++ b/PVE/Storage/ZFSPlugin.pm @

[pve-devel] [PATCH 4/5] Added existing LunCmd code rewritten as independent scripts

2014-04-12 Thread Pablo Ruiz García
Signed-off-by: Pablo Ruiz García --- zfs-helpers/Common.pm | 285 zfs-helpers/comstar | 114 ++ zfs-helpers/iet | 488 zfs-helpers/istgt | 593 + 4 files chan

[pve-devel] [PATCH 1/5] This patch refactors ZFS's LUN management code, removing the existing LunCmds implementations, in favor of a single lun management infraestructure which just invokes a 'managem

2014-04-12 Thread Pablo Ruiz García
The 'protocol' which proxmox uses to communicate with the helper is simply based on exposing a set of environment variables along with a few command line arguments which are passed to helper script. This is based on the same concept around CGI, AGI, and other similar decoupled invocation protocols.

[pve-devel] [PATCH 5/5] Implemented --remote option to zfs helper scripts, allowing local vs remote execution.

2014-04-12 Thread Pablo Ruiz García
Signed-off-by: Pablo Ruiz García --- zfs-helpers/comstar | 12 ++-- zfs-helpers/iet | 20 zfs-helpers/istgt | 36 +--- 3 files changed, 47 insertions(+), 21 deletions(-) diff --git a/zfs-helpers/comstar b/zfs-helpers/comst

[pve-devel] New Feature: ZFS 'generic' support for LUN management. (Take 3 ; ])

2014-04-12 Thread Pablo Ruiz García
Hello, This is a new version of my ZFS's LUN management code refactor, this time completely removing 'embedded' LunCmd drivers, and adding them as independent perl scripts to pve-storage repo. ZFSPlugin functionality has been tested and it works fine with our one zfs-helper, also, I've tried to

[pve-devel] [PATCH 2/5] Remove now deprecated LunCmd drivers.

2014-04-12 Thread Pablo Ruiz García
Signed-off-by: Pablo Ruiz García --- PVE/Storage/LunCmd/Comstar.pm | 102 --- PVE/Storage/LunCmd/Iet.pm | 478 - PVE/Storage/LunCmd/Istgt.pm | 580 - PVE/Storage/LunCmd/Makefile |5 - PVE/Storage/Makefile