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

mgr/balancer: add cmd to list all plans #21937

Merged
merged 1 commit into from May 16, 2018
Merged

mgr/balancer: add cmd to list all plans #21937

merged 1 commit into from May 16, 2018

Conversation

yanghonggang
Copy link
Contributor

@yanghonggang yanghonggang commented May 11, 2018

@yanghonggang
Copy link
Contributor Author

@liewegas please help to review

@@ -271,6 +271,11 @@ class Module(MgrModule):
"desc": "Show an optimization plan",
"perm": "r",
},
{
"cmd": "balancer list",
Copy link
Member

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

Copy link
Member

@liewegas liewegas left a 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!

@yanghonggang
Copy link
Contributor Author

@liewegas updated

@tchaikov
Copy link
Contributor

@yanghonggang could you update doc/mgr/balancer.rst with this newly added command?

Signed-off-by: Yang Honggang <yanghonggang@umcloud.com>
@yanghonggang
Copy link
Contributor Author

@tchaikov done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants