As physical hardware ages we end up reliant on firmware that is difficult to connect to. In particular older servers often have web interfaces that require Flash and Java be detected in the browser to both login to them and then launch a KVM session.
For whatever reason you may find yourself working on such old hardware and might struggle to install the magic combination of browser, flash and Java at the correct versions in the correct places on the right operating system. Cavalier removes this obstacle by logging in via the API and downloading the JNLP file that Java Web Start can use to start the KVM session.
We use GitHub Actions and PyInstaller to build single file executables. These are unsigned so you may need to disable certain security checks to launch them. The files are available on the releases page.
You will need a Java implementation that supports Java Web Start (JWS). The Oracle JDK removed it starting in version 11. Projects like IcedTea and OpenWebStart are open source replacements. This app was tested with IcedTea on Linux.
A complication to the problem that Cavalier helps solve is the usage of Java Web Start by the CIMC. Java Web Start was removed in Java SE 11. Because this application actually launches the Java runtime installed on the system it also requires a functional implementation of Java Web Start to be installed in some cases.
apt install icedtea-netx
Yum is used intentionally here for compatibility across all of these platforms.
yum install icedtea-web
Brew is used here as an example. It can also be installed directly: OpenWebStart Installation Instructions
brew install --cask openwebstart
It can be installed directly when following the instructions found here: OpenWebStart Installation Instructions
If you'd like to run it directly from the repos that is possible. It's not currently posted to PyPI. This will install all of the necessary Python dependencies. The --editable
flag can be used for local development.
python -m pip install git+https://github.com/cdwlabs/cavalier.git