shine
shine copied to clipboard
Display host lists as regrouped ClusterShell nodesets
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
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
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
- Milestone: 1.4 --> 1.5
Original comment by: degremont
- Milestone: 1.5 --> 1.6
Original comment by: degremont