* [pve-devel] TrueNAS Storage Plugin
@ 2025-05-13 5:34 Lorne Guse via pve-devel
2025-05-13 8:53 ` Fabian Grünbichler
0 siblings, 1 reply; 2+ messages in thread
From: Lorne Guse via pve-devel @ 2025-05-13 5:34 UTC (permalink / raw)
To: pve-devel; +Cc: Lorne Guse
[-- Attachment #1: Type: message/rfc822, Size: 10531 bytes --]
From: Lorne Guse <boomshankerx@hotmail.com>
To: "pve-devel@lists.proxmox.com" <pve-devel@lists.proxmox.com>
Subject: TrueNAS Storage Plugin
Date: Tue, 13 May 2025 05:34:36 +0000
Message-ID: <CO1PR17MB53060FFAB141E6E3AAE7D309D096A@CO1PR17MB5306.namprd17.prod.outlook.com>
I'm working on an update to https://github.com/TheGrandWazoo/freenas-proxmox
My repo can be found here: https://github.com/boomshankerx/proxmox-truenas
I'm considering writing a pure TrueNAS plugin to fully utilize their WebSocket API. I think
I have a reasonable grasp on the existing storage plugins for ZFS over ISCSI however I'm not sure how to go about developing the UI component for a brand new plugin.
The exiting plugins above inject some UI code via patch to accommodate some extra UI components. I imagine that this would be the case if I were to build a TrueNAS plugin from the ground up.
I'd like some suggestions if there are any to give.
Thank you
Lorne Guse
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [pve-devel] TrueNAS Storage Plugin
2025-05-13 5:34 [pve-devel] TrueNAS Storage Plugin Lorne Guse via pve-devel
@ 2025-05-13 8:53 ` Fabian Grünbichler
0 siblings, 0 replies; 2+ messages in thread
From: Fabian Grünbichler @ 2025-05-13 8:53 UTC (permalink / raw)
To: Proxmox VE development discussion
> Lorne Guse via pve-devel <pve-devel@lists.proxmox.com> hat am 13.05.2025 07:34 CEST geschrieben:
> I'm working on an update to https://github.com/TheGrandWazoo/freenas-proxmox
>
> My repo can be found here: https://github.com/boomshankerx/proxmox-truenas
>
> I'm considering writing a pure TrueNAS plugin to fully utilize their WebSocket API. I think
>
> I have a reasonable grasp on the existing storage plugins for ZFS over ISCSI however I'm not sure how to go about developing the UI component for a brand new plugin.
>
> The exiting plugins above inject some UI code via patch to accommodate some extra UI components. I imagine that this would be the case if I were to build a TrueNAS plugin from the ground up.
>
> I'd like some suggestions if there are any to give.
the rough plan (as previously discussed on this list, CCing Roland who might be interested as well)
would be for the plugin to provide a "UI schema", and the UI code to derive a basic form for adding
and editing the storage configuration based on that.
we are basically waiting for some third-party plugin developer to drive this feature together with
us - if you want to step up to do that it would be great!
a rough sketch:
- plugin gets a new property defining how each of its options should be presented on the UI
- an endpoint is added that returns the existing storage types + their schema
- JS code gets written that calls that endpoint and generates the 'add' and 'edit' windows
what's needed from the plugin dev side is mainly feedback on how the schema could/should
look like, what kind of control would be desirable, and of course, validation of the
implementation once it exists.
what we definitely don't want is to provide some sort of hookpoint for arbitrary JS code,
that is far too brittle.
hope this helps,
Fabian
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-13 8:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-13 5:34 [pve-devel] TrueNAS Storage Plugin Lorne Guse via pve-devel
2025-05-13 8:53 ` Fabian Grünbichler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal