shine icon indicating copy to clipboard operation
shine copied to clipboard

Display host lists as regrouped ClusterShell nodesets

Open degremont opened this issue 10 years ago • 4 comments

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 avatar Apr 04 '14 17:04 degremont

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 avatar Apr 05 '14 14:04 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

degremont avatar Apr 08 '14 18:04 degremont

  • Milestone: 1.4 --> 1.5

Original comment by: degremont

degremont avatar Apr 30 '15 09:04 degremont

  • Milestone: 1.5 --> 1.6

Original comment by: degremont

degremont avatar May 24 '17 13:05 degremont