ovs-ofctl: Support large number of ports with "show" command.
authorJustin Pettit <jpettit@nicira.com>
Sat, 5 May 2012 00:27:16 +0000 (17:27 -0700)
committerJustin Pettit <jpettit@nicira.com>
Tue, 8 May 2012 16:51:46 +0000 (09:51 -0700)
commitae0e7009320a4aceff41c53e0ce004cfc18b5f27
tree2913149125195a30f498b4d9f19788d3ca18cb21
parent5b5a3a674c975ed1ccfc38b4dae705d4fe4df0eb
ovs-ofctl: Support large number of ports with "show" command.

OpenFlow Features Reply messages prior to 1.3 can give users the wrong
impression about how many ports are on the system.  With this commit,
the command will check if the number of ports may be truncated.  If so,
it will send a Port Description stats request to get the complete list
and ignore the Features Reply port list.

Bug #11087

Signed-off-by: Justin Pettit <jpettit@nicira.com>
utilities/ovs-ofctl.c