← 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

 

* Blake Rouse <blake.rouse@xxxxxxxxxxxxx> [2014-05-29 09:22]:
> I think having tag management in the WebUI would also help. Having the
> ability to select multiple nodes, and add or remove a tag would be great,
> and a huge time saver. It would actually remove the need from me to use the
> cli on OIL, most of the time.

+1

Also, being able to apply node operations under tag view:

http://$HOST/MAAS/tags/sm15k/view/

shows me specific machines under that tag.  I often want to apply a node
operation (like stop) against all of these nodes.   The main node
interface lists all nodes (in oil we have quite a few spanning multiple
pages*), and the filter box doesn't let you filter by tag.

Some UI changes here would remove the need to resort to CLI.

* having a show-all or some way to apply operations against a tag (to be
  applied to all machines with said tag) would be very much appreciated.


> 
> 
> https://bugs.launchpad.net/maas/+bug/1294759
> 
> 
> On Thu, May 29, 2014 at 10:17 AM, Andres Rodriguez <
> andres.rodriguez@xxxxxxxxxxxxx> wrote:
> 
> > > @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.
> >
> > --
> > 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
> >
> >

> -- 
> 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


-- 
Ryan Harper
Canonical, Ltd.

Attachment: pgpSCJiYalzlI.pgp
Description: PGP signature


References