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

Introduce optional parameters for 'rabbitmqctl list_queues', to filter down/up queues. #688

Closed
Ayanda-D opened this issue Mar 14, 2016 · 4 comments

Comments

@Ayanda-D
Copy link
Contributor

Initially proposed as part of #357.

Adding optional parameters for list_queues to display up or down queues only would also be useful. Possible usage would maybe be as follows;
list_queues [--up] [--down] [-p <vhostpath>] [<queueinfoitem> ...]

@binarin
Copy link
Contributor

binarin commented Mar 24, 2016

I'm going to implement it for master in #683
Is the stable version needed at all or it could just wait for the PR above?

@michaelklishin
Copy link
Member

@binarin we wouldn't mind shipping it in 3.6.x.

@binarin
Copy link
Contributor

binarin commented Mar 24, 2016

rabbit_cli.hrl contains --offline and --online options, may I use them instead of --down and --up?

@michaelklishin
Copy link
Member

@binarin that sounds reasonable. I wouldn't mind using --available and --unavailable over --up and --down if we were after the most descriptive names.

I personally think that --online and --offline are good enough.

binarin pushed a commit to binarin/rabbitmq-test that referenced this issue Mar 24, 2016
binarin pushed a commit to binarin/rabbitmq-common that referenced this issue Mar 24, 2016
binarin pushed a commit to binarin/rabbitmq-server that referenced this issue Mar 24, 2016
binarin pushed a commit to binarin/rabbitmq-test that referenced this issue Mar 24, 2016
binarin pushed a commit to binarin/rabbitmq-server that referenced this issue Mar 24, 2016
@michaelklishin michaelklishin added this to the 3.6.2 milestone Mar 24, 2016
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

3 participants