← Back to team overview

maas-devel team mailing list archive

Re: Allow API to use <system_id | hostname> for all operations that currently require the system_id

 

>
> > @Andres & al. don't you think that, if you had access (through a very
> clear
> > call to the CLI) to the system_id of a node using its hostname, this
> would
> > solve your usability problem?
>
> 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.
>

I'm not against having to write scripts using the API. I agree that the CLI
won't solve every single problem we have out there, but at least, we should
make sure that the basics are well supported and usable. For example, the
only way to adding/removing tags (if not scripted) is via the CLI. Right,
now, we basically deal with this on the daily basis and something that
could take us 10 seconds to do, is taking us minutes. And this is from real
user experience.

>
> 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.
>
> --
> Mailing list: https://launchpad.net/~maas-devel
> Post to     : maas-devel@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maas-devel
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Andres Rodriguez
Engineering Manager, HWE Team
Canonical USA, Inc.

Follow ups

References