Skip to main content

Power control webhook server for Canonical's MAAS

Project description

CI Coverage PyPI License

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.

Project details


Download files

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

Source Distribution

maaspower-1.0.0.tar.gz (3.5 MB view details)

Uploaded Source

Built Distribution

maaspower-1.0.0-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file maaspower-1.0.0.tar.gz.

File metadata

  • Download URL: maaspower-1.0.0.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for maaspower-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5f452e31dd4cf4efe3699a687a542a1aac7c57e93ad7e3244ef3b0da46df26d7
MD5 2d4bc50395d75dfa97f481bd28068415
BLAKE2b-256 582640852f83c2069e874d6552942a9e128bd54884f41d5b02191d27da1aa311

See more details on using hashes here.

File details

Details for the file maaspower-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: maaspower-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for maaspower-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc31a12b4f5c6dcc11377b327c05644193d26fc6032a6c398064dc2f461d1984
MD5 24fd6ecdfdeffd85735623e797676344
BLAKE2b-256 70e33e91560415a27ccdbd58c8dc46fad58a9b203f7997a6602511913f4b3184

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page