tests: Rewrite unit tests to not expect bridge with odp zero.
authorJustin Pettit <jpettit@nicira.com>
Sun, 14 Oct 2012 00:45:00 +0000 (17:45 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 2 Nov 2012 05:54:27 +0000 (22:54 -0700)
commite44768b75576ad3800fa21deef87d92307ca7a74
tree54d55350d2cec253075b8775616fd42f6363f382
parente1b1d06afdee407ccfa3c4c257b8dcfbcdd004ff
tests: Rewrite unit tests to not expect bridge with odp zero.

A future commit will make all bridges of a particular type share a
single backing datapath.  That backing datapath will have a datapath
port number of zero and bridges will be assigned other numbers.  This
commit modifies the tests so that they don't expect port zero.

It adopts the convention that bridges of type "dummy" with a name of the
form "br<n>" will be assigned a port number of 100+<n>.

Signed-off-by: Justin Pettit <jpettit@nicira.com>
lib/dpif-netdev.c
tests/learn.at
tests/ofproto-dpif.at
tests/ofproto.at
tests/ovs-vsctl.at