[ClusterLabs] crm shell RA completion

Kristoffer Grönlund kgronlund at suse.com
Mon Feb 20 05:28:39 EST 2017


Ulrich Windl <Ulrich.Windl at rz.uni-regensburg.de> writes:

> Hi!
>
> I have a proposal for crm shell's RA completion: When pressing TAB after "ra info", crm shell suggests a long list of RAs. Wouldn't it preferable to complete only up to the next ':'?
>
> Consider this:
> crm(live)# ra info
> Display all 402 possibilities? (y or n)n
> crm(live)# ra info ocf:
> Display all 101 possibilities? (y or n)n
> crm(live)# ra info ocf:heartbeat:
> (a long list is displayed)
>
> So at the first level not all 402 RAs should be suggested but only the first level (like "ocf"), and at the second level not all 101 completions should be suggested, but only a few (like "heartbeat").
>
> What do you think?

Sounds good to me, yes. The completion is a bit wonky and tricky to get
right. Still a work in progress.

Cheers,
Kristoffer

>
> Regards,
> Ulrich
>
>
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://lists.clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>

-- 
// Kristoffer Grönlund
// kgronlund at suse.com




More information about the Users mailing list