]> git.proxmox.com Git - mirror_ovs.git/commit
dpctl: Sort port listing in "show" command.
authorJustin Pettit <jpettit@ovn.org>
Thu, 12 May 2016 00:28:54 +0000 (17:28 -0700)
committerJustin Pettit <jpettit@ovn.org>
Mon, 16 May 2016 04:28:10 +0000 (21:28 -0700)
commit3ff1613e3554362719ea46e1ca8fdaee8c8bf778
tree351d31cf7e311ce6d387f8a4b83ca35277f98e5b
parente6b298ef73816355e94e22a7df0cd28414957087
dpctl: Sort port listing in "show" command.

The port listing did not consistently print in the same order.  While it
is a better user experience to see the ports printed in order, more
importantly, this fixes a unit test ("dpctl - add-if set-if del-if")
that would occasionally fail due to expecting that the ports are printed
in order.

Signed-off-by: Justin Pettit <jpettit@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
lib/dpctl.c