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
- via
- Start/Stop clickos routers ✅
- via
start
/stop
sub commands
- via
Added Features
- Get list of clickos domain's routers and states ✅
- via
list
sub command
- via
- Check state of specific router ✅
- via
state
sub command
- via
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file unimon-ctl-0.1.1a0.tar.gz
.
File metadata
- Download URL: unimon-ctl-0.1.1a0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebfd52ed2b2f609fecdf8eba9820fdf4ab3644b62758a0bf6c756b5aa67ba0f8 |
|
MD5 | 061a5102e1634f0d660ed415835662ac |
|
BLAKE2b-256 | ffb6b1d751a9388580444fb201d7581b3a86c15b1c987504f09e18c3e4b5381e |
File details
Details for the file unimon_ctl-0.1.1a0-py3-none-any.whl
.
File metadata
- Download URL: unimon_ctl-0.1.1a0-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b04891b003a569b53e10d5759da288fc9dfe8004c624ffdd0138a54ad30bfe |
|
MD5 | 6fd4b3431b61ce4988df3dfda1e89e57 |
|
BLAKE2b-256 | 381cb33ff2b6f03129ec2adb14df8c159b700047cfb9571c9a7620db845d6df0 |