Power control webhook server for Canonical's MAAS
Project description
maaspower
Power control webhook server for Canonical's MAAS.
The requirements for such webhooks are defined here:
Source | https://github.com/gilesknap/maaspower |
---|---|
PyPI | pip install maaspower |
Docker | docker run ghcr.io/gilesknap/maaspower:latest |
Documentation | https://gilesknap.github.io/maaspower |
Releases | https://github.com/gilesknap/maaspower/releases |
This project implements MAAS power control for machines that do not already have a BMC type supported by MAAS. It uses webhooks to control any number of remote switching devices that can power cycle such machines.
The project uses an extensible architecture so more switching device types
may be added, see add_api
.
At present it supports two flavours of switching control:
- Command line interface. Anything that is controllable by a command line utility that can be installed on the machine running this webhook service.
- SmartThings API: a popular Samsung IoT protocol that is supported by thousands of devices
- Web UI controlled devices - uses selenium to connect to the web UI and control the device. A basic DSL describes the UI fields to scrape.
- Cisco IOS PoE Switches
from maaspower import __version__
print(f"Hello maaspower {__version__}")
Or if it is a commandline tool then you might put some example commands here:
python -m maaspower --version
See https://gilesknap.github.io/maaspower for more detailed documentation.
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 maaspower-0.8.0b1.tar.gz
.
File metadata
- Download URL: maaspower-0.8.0b1.tar.gz
- Upload date:
- Size: 3.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c771def80bb69baa4eb00d13fd65a72c3bededdd9452ada41badc7d314dff7e7 |
|
MD5 | a0eeb59bbf964e146e9ae33c34266b8c |
|
BLAKE2b-256 | 51fce948b6ee7ed878b49a2a7728ae41d01f5a5fed6cdcfbb6a981023f6f792a |
File details
Details for the file maaspower-0.8.0b1-py3-none-any.whl
.
File metadata
- Download URL: maaspower-0.8.0b1-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03b7831e9427cad8ef0fa743b7ebf655f261f9307a0f69089ba7620441745d41 |
|
MD5 | e36f7f184071e77135379daed43d8039 |
|
BLAKE2b-256 | 87cdf138b30c016310be1dc9f4acc3fd14ecd5777f2f88e075748a2bb76063dd |