Separate OpenFlow port numbers from datapath ones.
authorJustin Pettit <jpettit@nicira.com>
Sat, 29 Sep 2012 00:56:07 +0000 (17:56 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 2 Nov 2012 05:54:27 +0000 (22:54 -0700)
commite1b1d06afdee407ccfa3c4c257b8dcfbcdd004ff
tree0a77beb74639dd09db8fcd4d45e7fc631a05f98c
parentf7b8e494663204684c088c91951f83909217f894
Separate OpenFlow port numbers from datapath ones.

In a future commit, we will make multiple bridges share a single backing
datapath.  Our simple mapping from datapath to OpenFlow port numbers
won't work, since we'll want the same OpenFlow port numbers on different
bridges.  For example, the OFPP_LOCAL port must be the same on all
bridges, but will have to be a different datapath port on the converged
datapath.

This commit makes it the responsibility of ofproto to assign the
OpenFlow port numbers instead of doing a simple translation from the
datapath ones.

Signed-off-by: Justin Pettit <jpettit@nicira.com>
NEWS
lib/odp-util.h
ofproto/ofproto-dpif-sflow.c
ofproto/ofproto-dpif-sflow.h
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c
tests/learn.at
tests/ofproto.at