Skip to main content

A utility for command line MaaS interrogation

Project description

|Version||Status||Downloads|Build Status

maas utility for a 1.8 maas region installation


Provide misc command line stuff for maas. The first one I need is the ability to determine the system_id given the machine name.


usage: [-h] [-p] [-t {json,yaml,text}]
                [-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}] [-s]

optional arguments:
  -h, --help            show this help message and exit
  -p, --pretty
                        Pretty only works if the output is json
  -t|--type {json,yaml,text}
                        Output type, json, yaml or text, text is the default
                        Log level (DEBUG,INFO,WARNING,ERROR,CRITICAL) default
                        is: INFO
  -s, --save            save select command line arguments (default is always)
                        in "/home/gfausak/.maasutil.conf" file node_by_name nodename


  • –pretty, make the output (json) pretty. yaml is already pretty. text is ugly. default is false.

  • –help, the usage message is printed.

  • –type, json or yaml or text (this is the OUTPUT type), default text.

  • —loglevel, for debugging, default INFO.

  • –save, save current arguments to persistent file in home directory, this file will be read as if it came from the command line in subsequent invocations of this program. To remove it you have to remove the ~/.maasutil.conf file manually. Do this for making pretty default, for example. the default is no save is done.


none yet

Examples node_by_name

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

maasutil-0.0.15.tar.gz (6.5 kB view hashes)

Uploaded source

Supported by

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