Ask Your Question

floatingip-list sort

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

agti gravatar image

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

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

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

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


Thanks a lot! This worked for me!

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 243 times

Last updated: Mar 05 '15