Add functions to determine how port should be opened based on type.
authorJustin Pettit <jpettit@nicira.com>
Wed, 14 Nov 2012 23:50:20 +0000 (15:50 -0800)
committerJustin Pettit <jpettit@nicira.com>
Fri, 16 Nov 2012 20:35:55 +0000 (12:35 -0800)
commit0aeaabc8dbccef7593dc19e891a3f5bbef1991cd
tree4d787178ca17caa89ea41d6f99b8383a22784bf6
parent78a2d59c1c7fd057e1ca888c92f2f86efcf8b53a
Add functions to determine how port should be opened based on type.

Depending on the port and type of datapath, a port may need to be opened
as a different type of device than it's configured.  For example, an
"internal" port on a "dummy" datapath should opened as a "dummy" port.
This commit adds the ability for a dpif to provide this information to a
caller.  It will be used in a future commit.

Signed-off-by: Justin Pettit <jpettit@nicira.com>
lib/dpif-linux.c
lib/dpif-netdev.c
lib/dpif-provider.h
lib/dpif.c
lib/dpif.h
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c
ofproto/ofproto.h