Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display host lists as regrouped ClusterShell nodesets #178

Open
degremont opened this issue Apr 4, 2014 · 4 comments
Open

Display host lists as regrouped ClusterShell nodesets #178

degremont opened this issue Apr 4, 2014 · 4 comments
Milestone

Comments

@degremont
Copy link
Collaborator

Automatically display host lists as regrouped ClusterShell nodesets when possible. Add a command line option to disable that behavior.

Eg.
# shine status -n @rack1
=== FILESYSTEM STATUS (fs) ===
TYPE # STATUS NODES
---- - ------ -----
CLI 38 mounted @rack1

Reported by: kcgthb

@degremont
Copy link
Collaborator Author

Thanks for the patch. I like the idea.

I'm only concern about performances considerations as regroup could be expensive in some configurations. It will probably require some improvements. Instead of using "noregroup=False", use "regroup=True".
I'm thinking about an option in shine.conf to control the default behaviour. Something like how color behaves. Controling the group source used when regrouping could be interesting too.

Original comment by: degremont

@degremont
Copy link
Collaborator Author

Doing regroup=True was my first approach. Except I didn't find a good argument to justify adding an option to every shine command I type. :) So I made it the default display, with an option to disable it.

Having an option in shine.conf sounds like a good solution too.

Original comment by: kcgthb

@degremont
Copy link
Collaborator Author

  • Milestone: 1.4 --> 1.5

Original comment by: degremont

@degremont
Copy link
Collaborator Author

  • Milestone: 1.5 --> 1.6

Original comment by: degremont

@degremont degremont added this to the 1.6 milestone May 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant