Coder Social home page Coder Social logo

cavalier's Introduction

Run Test Suite Build Binaries published

Cavalier

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.

Short Demonstration Video

Getting Started

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.

Remarks on Java Web Start

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.

Java Web Start via IcedTea on Ubuntu 20.04

apt install icedtea-netx

Java Web Start via IcedTea on Fedora, CentOS 7, and CentOS 8

Yum is used intentionally here for compatibility across all of these platforms.

yum install icedtea-web

Java Web Start via OpenWebStart on Mac OS X

Brew is used here as an example. It can also be installed directly: OpenWebStart Installation Instructions

brew install --cask openwebstart

Java Web Start via OpenWebStart on Windows

It can be installed directly when following the instructions found here: OpenWebStart Installation Instructions

Running From The Repository

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.