dummy: Introduce new --enable-dummy=system option.
authorBen Pfaff <blp@nicira.com>
Sat, 13 Jun 2015 23:58:49 +0000 (16:58 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 16 Jun 2015 15:21:38 +0000 (08:21 -0700)
commit8420c7ad4ee9ba244edf3df143a7ffe7c9047c2b
tree726fcd9be27c4e11b08693af188b2f65fb0cebff
parent7a82d3056973b2306b91fc2798f2d412f70aa19d
dummy: Introduce new --enable-dummy=system option.

Until now there have been two variants for --enable-dummy:

    * --enable-dummy: This adds support for "dummy" dpif and netdev.

    * --enable-dummy=override: In addition, this replaces *every* existing
      dpif and netdev by the dummy type.

The latter is useful for testing but it defeats the possibility of using
the userspace native tunneling implementation (because all the tunnel
netdevs get replaced by dummy netdevs).  Thus, this commit adds a third
variant:

    * --enable-dummy=system: This replaces the "system" dpif and netdev
      by dummies but leaves the others untouched.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Alex Wang <alexw@nicira.com>
lib/dpif-netdev.c
lib/dummy.c
lib/dummy.h
lib/netdev-dummy.c
vswitchd/ovs-vswitchd.c