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 these 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
- TPLink Kasa Smart Plugs
See https://gilesknap.github.io/maaspower for more detailed documentation.
Metadata
Release files for maaspower 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| maaspower-1.0.0.tar.gz | 3.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| maaspower-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.6 MB
Release files / maaspower-1.0.0.tar.gz
| Download URL | maaspower-1.0.0.tar.gz |
|---|---|
| Size | 3.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f452e31dd4cf4efe3699a687a542a1aac7c57e93ad7e3244ef3b0da46df26d7
|
|
BLAKE2b-256 checksum How to use checksums |
582640852f83c2069e874d6552942a9e128bd54884f41d5b02191d27da1aa311
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / maaspower-1.0.0-py3-none-any.whl
| Download URL | maaspower-1.0.0-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc31a12b4f5c6dcc11377b327c05644193d26fc6032a6c398064dc2f461d1984
|
|
BLAKE2b-256 checksum How to use checksums |
70e33e91560415a27ccdbd58c8dc46fad58a9b203f7997a6602511913f4b3184
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|