Skip to main content

Control ClickOS Domains (and get unimon data)

Project description

Unimon Control 🎛

Unimon Control is port of ClickOS Control into Python. This hopes to make life easier for future edits given the amou t of string handling required from this program...

This currently supports all the same features as the original ClickOS Control so can be used as a stand in replacement. This program does not depend on libxenstore, but does depend on pyxs.

See the README for ClickOS Control here.

Installation

Install using pip (for python 3):

pip install --user unimon-ctl
sudo unimon-ctl -h

(script should be added to ~/.local/bin by default)

Or use with Docker:

docker run --rm -it -v /var/run/xenstored/socket:/var/run/xenstored/socket willfantom/unimon-ctl -h

Re-Implemented ClickOS-Ctl Features

  • Use xenstore to communicate with clickos instance ✅
  • Install/Remove click configs to clickos domains ✅
    • via install/remove sub commands
  • Start/Stop clickos routers ✅
    • via start/stop sub commands

Added Features

  • Get list of clickos domain's routers and states ✅
    • via list sub command
  • Check state of specific router ✅
    • via state sub command
  • Prints some emoji ✅
  • Pythony (can be installed via pip) 🐍
  • Dockery (can be ran using Docker) 🐳

Notice

This has been made as part of my PhD work, so will not be maintained beyond the feature set I require.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for unimon-ctl, version 0.1.1a0
Filename, size File type Python version Upload date Hashes
Filename, size unimon_ctl-0.1.1a0-py3-none-any.whl (23.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size unimon-ctl-0.1.1a0.tar.gz (9.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page