[Maas-devel] Allow API to use <system_id | hostname> for all operations that currently require the system_id

Julian Edwards julian.edwards at canonical.com
Fri May 30 01:08:06 UTC 2014


On 29/05/14 23:49, Gavin Panella wrote:
> Were scripts possible to write in straight Python, using a Python
> client API, we'd make a lot of people happy. Then the CLI becomes all
> about satisfying humans, and something like jsonpath would make this
> even more powerful.
> 
> Some might argue that we should also make the CLI good for scripting
> from sh/bash, much like some might argue ridiculously that we ought to
> inject heroin into kids to prevent them from using it.
> 

Totally agree - I don't want to encourage anyone to write any more shell
script. You might as well leave the needles next to the heroin if you do
that.

I'd be up for making a proper Python client library too.  It can't be
that much work.  Let's discuss it on our team call later.




More information about the Maas-devel mailing list