Ask Your Question
0

floatingip-list sort

asked 2015-03-05 05:53:43 -0600

agti gravatar image

updated 2015-03-05 05:54:46 -0600

is it possible to sort neutron floatingip-list result?

I tried with:

neutron floatingip-list --sort-key floating_ip_address --sort-dir asc

but it does not work

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-03-05 21:01:49 -0600

larsks gravatar image

The sorting feature is actually implemented on the server side. You will need to enable the allow_sorting parameter in the the DEFAULT section of /etc/neutron/neutron.conf in order for that to function correctly:

allow_sorting = True

After making this change, restart the neutron-server service.

edit flag offensive delete link more

Comments

Thanks a lot! This worked for me!

agti gravatar imageagti ( 2015-03-06 07:11:25 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-05 05:53:43 -0600

Seen: 152 times

Last updated: Mar 05 '15