tests: Define new ADD_OF_PORTS macro for ofproto tests.
authorJustin Pettit <jpettit@nicira.com>
Thu, 4 Oct 2012 07:51:41 +0000 (00:51 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 2 Nov 2012 05:54:27 +0000 (22:54 -0700)
commitf7b8e494663204684c088c91951f83909217f894
tree966b6b424e9fc02c41062f5b4c2477ec1a564891
parentb0408fcacca150694d116d4ead3930757e545bbf
tests: Define new ADD_OF_PORTS macro for ofproto tests.

A future commit will break the relation between OpenFlow and datapath
port numbers.  The new ADD_OF_PORTS macro adds an interface to a bridge
and configures it such that both the OpenFlow and datapath port numbers
are the same.  This is important in tests that deal with both OpenFlow
and datapath port numbers (e.g., ones that use ofproto/trace).

Signed-off-by: Justin Pettit <jpettit@nicira.com>
tests/ofproto-dpif.at
tests/ofproto-macros.at