How to script MAAS with Python

The python-libmaas client library provides access to various MAAS endpoints, so that you can write Python scripts to control MAAS. This page provides links to the necessary references and instructions.

Library endpoints

Currently, the library provides eight endpoints:

  • account
  • boot-sources and boot-resources
  • machines, devices, region controllers, rack controllers
  • events
  • configuration
  • tags
  • version
  • zones

See the API documentation for more info.

Using python-libmaas

Kick-start your journey with these useful external links:

For hands-on examples to get you up and running, visit the Python libmaas client guide.

For package details on PyPI, consult this external link.


Last updated a day ago.