Skip to content

A command line tool to connect to Swinburne's Smart Rack Solution.

License

Notifications You must be signed in to change notification settings

losuler/smart-rack-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Rack CLI

A command line tool to connect to Swinburne's Smart Rack Solution.


srs is a small command line tool for connecting to Swinburne University's Smart Rack Solution which automates the the kit selection and booking, connection via ssh and powering off and release of devices.

Requires

In order to connect to Smart Rack you are required to be connected to the Swinburne VPN. For all operating systems it's recommended to use OpenConnect (an open source client for Cisco's AnyConnect SSL VPN).

It is packaged in most Linux distros (as a CLI tool and in NetworkManager upstream), as a package in MacPorts and Homebrew for macOS and as a client on Windows.

Linux

sshpass

sshpass has been packaged on most Linux distros.

macOS

sshpass

On MacPorts, sshpass has been packaged in the offical repo.

On Homebrew sshpass is not in the official repo. However a Homebrew Tap exists, the source of which is here. This can be installed by running brew install hudochenkov/sshpass/sshpass.

Windows

putty

It's also recommended to use the official Windows Terminal over the pre-installed Command Prompt.

Usage

Run by extracting and executing the binary named srs from the latest release archive for your system.

A kit will be randomly selected from those not in use. For each router or switch you would like to connect to, start a seperate process.

Note: Answering y to the prompt to shutdown and release will effect ALL routers and switches booked.

Cisco

To close the ssh session, type Ctrl+] followed by quit.

To disable inline log messages, enter no logging console in configure terminal mode.

About

A command line tool to connect to Swinburne's Smart Rack Solution.

Resources

License

Stars

Watchers

Forks

Packages

No packages published