From: Lorne Guse via pve-devel <pve-devel@lists.proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Cc: Lorne Guse <boomshankerx@hotmail.com>
Subject: [pve-devel] TrueNAS Storage Plugin
Date: Sun, 6 Jul 2025 01:29:54 +0000 [thread overview]
Message-ID: <mailman.1051.1751765437.395.pve-devel@lists.proxmox.com> (raw)
[-- Attachment #1: Type: message/rfc822, Size: 12277 bytes --]
From: Lorne Guse <boomshankerx@hotmail.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: TrueNAS Storage Plugin
Date: Sun, 6 Jul 2025 01:29:54 +0000
Message-ID: <DM6PR17MB34668F90D7CB7351706189B5D04CA@DM6PR17MB3466.namprd17.prod.outlook.com>
Apparently I missed the response to my last message. I intend to start development on a pure TrueNAS storage plugin next week. I believe TrueNAS API now has all the functionality needed to remove the need for ssh+root.
I'm going to be starting by mapping TrueNAS API methods to functions in Plugin.pm, ZFSPoolPlugin.pm, and ZFSPlugin.pm.
I don't know who Roland is but any collaboration would be welcome.
> Lorne Guse via pve-devel <pve-devel at lists.proxmox.com<https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>> 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
[-- 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
next reply other threads:[~2025-07-06 1:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-06 1:29 Lorne Guse via pve-devel [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-13 5:34 Lorne Guse via pve-devel
2025-05-13 8:53 ` Fabian Grünbichler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mailman.1051.1751765437.395.pve-devel@lists.proxmox.com \
--to=pve-devel@lists.proxmox.com \
--cc=boomshankerx@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.