[ClusterLabs] crm shell RA completion

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Mon Feb 20 07:43:52 UTC 2017


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?

Regards,
Ulrich






More information about the Users mailing list