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
mgr/balancer: add cmd to list all plans #21937
Conversation
@liewegas please help to review |
src/pybind/mgr/balancer/module.py
Outdated
@@ -271,6 +271,11 @@ class Module(MgrModule): | |||
"desc": "Show an optimization plan", | |||
"perm": "r", | |||
}, | |||
{ | |||
"cmd": "balancer list", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's to 'balancer ls' to be consistent with other ceph cli commands
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Command naming aside, looks good!
@liewegas updated |
@yanghonggang could you update |
Signed-off-by: Yang Honggang <yanghonggang@umcloud.com>
@tchaikov done |
http://tracker.ceph.com/issues/37418
Signed-off-by: Yang Honggang yanghonggang@umcloud.com