vswitch: Avoid knowledge of details specific to Linux datapaths.
authorBen Pfaff <blp@nicira.com>
Mon, 6 Jul 2009 18:06:36 +0000 (11:06 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 6 Jul 2009 18:06:36 +0000 (11:06 -0700)
commitd3d22744a7408ec3d6d9eac255862b5761166c2d
tree1c3470809299d42c2a2ba2994cce96301dc7ee89
parenta165b67e53a835c623c13de4a0df5f4d7bc9db25
vswitch: Avoid knowledge of details specific to Linux datapaths.

At startup, the vswitch needs to delete datapaths that are not configured
by the administrator.  Until now this was done by knowing the possible
names of Linux datapaths.  This commit cleans up by allowing each
datapath class to enumerate its existing datapaths and their names.
lib/dpif-linux.c
lib/dpif-netdev.c
lib/dpif-provider.h
lib/dpif.c
lib/dpif.h
vswitchd/bridge.c