URL Button / TFTP

Post your feature requests here
Post Reply
itdept
Posts: 5
Joined: Thu May 15, 2025 11:42 am

Thu May 15, 2025 1:18 pm

Hi Folks!

I'm just evaluating Unimus and I'm quite happy so far.
I was able to update an Aruba spare switch quite easily and like to leave some requests:

1. It would be nice to see in "Devices" next to "Open CLI" an additional Button: "Open URL" to have fast access to that device's admin URL.
Per default it is the device's IP, but you could overwrite that in with "Edit".

2. I run unimus on Debian and added a TFTP Server. It would be so helpful to get access to a specific folder (/srv/tftp) to upload, delete, rename firmwarefiles direct in unimus. I'ts a bit annoying to download that file, push it via scp to the unimus server, connect to bash, and move that file as root to /srv/tftp.

3. Also within topic 3 it would be nice to directly export a backup to the tftp folder for recovery purpose.

4. There is already a Request: viewtopic.php?f=10&t=2030


Thanks a lot!
Matt
Tommy.c
Posts: 10
Joined: Fri Jan 31, 2025 6:52 pm

Thu May 15, 2025 7:08 pm

Hey Matt,

1. The “Open CLI” button is a built in Terminal Client that has Unimus handling the entire connection. I guess we could open a sub window to allow the user to access the Web Interface, but without the drivers Unimus would not be able to login automatically for the user. (which is a useful feature with the CLI Terminal)
We are currently working on web interface drivers, possibly in the future we could duplicate the CLI terminal functionality, but currently that isn’t possible.

I will talk to the dev team and see if we can get it in the feature request list.

2. That’s an interesting feature request. Effectively you would be exporting to a folder from inside of Unimus. I will bring it to the team, but I suspect that there’s probably some security implications to that.

You use scripting to remove a couple steps from your workflow. using the Unimus API you can run a command like:
curl -H "Accept: application/json" -H "Authorization: Bearer <token>" "http://<example.unimus>/api/v2/devices/<deviceId>/backups/latest"

(Stolen from: https://wiki.unimus.net/display/UNPUB/F ... testbackup)

3. I must be missing something, this seems like what #2 was, could you enlighten me about what I am missing?

4. Yep, it’s on our “to do” list, though I do not believe we have it on the road map yet. (Unless you mean the advanced device info, which we are currently working on at the moment)
itdept
Posts: 5
Joined: Thu May 15, 2025 11:42 am

Fri May 16, 2025 6:40 am

Tommy.c wrote:
Thu May 15, 2025 7:08 pm
Hey Matt,

1. The “Open CLI” button is a built in Terminal Client that has Unimus handling the entire connection. I guess we could open a sub window to allow the user to access the Web Interface, but without the drivers Unimus would not be able to login automatically for the user. (which is a useful feature with the CLI Terminal)
We are currently working on web interface drivers, possibly in the future we could duplicate the CLI terminal functionality, but currently that isn’t possible.

I will talk to the dev team and see if we can get it in the feature request list.

That sound good. A simple Button just to access the website would be neat. No need for automatic login.

Tommy.c wrote:
Thu May 15, 2025 7:08 pm

2. That’s an interesting feature request. Effectively you would be exporting to a folder from inside of Unimus. I will bring it to the team, but I suspect that there’s probably some security implications to that.

You use scripting to remove a couple steps from your workflow. using the Unimus API you can run a command like:
curl -H "Accept: application/json" -H "Authorization: Bearer <token>" "http://<example.unimus>/api/v2/devices/<deviceId>/backups/latest"

(Stolen from: https://wiki.unimus.net/display/UNPUB/F ... testbackup)
If you using standard tfpd server on a Linux machine you could change the TFTP folder to point inside a unimus folder
Tommy.c wrote:
Thu May 15, 2025 7:08 pm

3. I must be missing something, this seems like what #2 was, could you enlighten me about what I am missing?
Sorry, It should be:

3. Also within topic 2 it would be nice to directly export a backup to the tftp folder for recovery purpose.
In this case you could fetch that exported config to bring up a new device easily.
Tommy.c wrote:
Thu May 15, 2025 7:08 pm


4. Yep, it’s on our “to do” list, though I do not believe we have it on the road map yet. (Unless you mean the advanced device info, which we are currently working on at the moment)
Tommy.c
Posts: 10
Joined: Fri Jan 31, 2025 6:52 pm

Thu May 29, 2025 6:59 pm

Okay, I see where your going with #3. I assumed that setting the export folder would be apart of #2. Makes sense and the Devs and I are discussing.

Secondly, I was reminded of: https://blog.unimus.net/unimus-backup-exporter/ which while it doesn't match your needs perfectly, it does give you all the tools necessary to script pulling specific or general backups to a folder.

I will continue to harass the Devs for you and will keep you posted on what they say.
Post Reply