gilesknap / maaspower

Provide MAAS power control via webhooks for various remote control power switches.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

maaspower

Code CI Docs CI Test Coverage Latest PyPI version Apache License

Power control webhook server for Canonical's MAAS. The requirements for such webhooks are defined here:

PyPI pip install maaspower
Source code https://github.com/gilesknap/maaspower
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

See https://gilesknap.github.io/maaspower for more detailed documentation.

About

Provide MAAS power control via webhooks for various remote control power switches.

License:Apache License 2.0


Languages

Language:Python 97.7%Language:Dockerfile 1.6%Language:Shell 0.8%