[ovs-git] Open vSwitch: dummy: Make --enable-dummy=override replace all dpifs, netdevs by dummies. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jan 19 10:26:30 PST 2012

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  0cbfe35d74ab5f585033844b6513273aa16cca11 (commit)
      from  a647150f01cf09eddc6d28bfec88b1bb8bab30df (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0cbfe35d74ab5f585033844b6513273aa16cca11
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0cbfe35d74ab5f585033844b6513273aa16cca11
Author: Ben Pfaff <blp at nicira.com>
dummy: Make --enable-dummy=override replace all dpifs, netdevs by dummies.
Plain "--enable-dummy" just creates new dummy dpif and netdev classes.
This commit makes "--enable-dummy=override" go a step farther and actually
delete and replace all the existing dpif and netdev classes by copies of
the dummy class.

This is useful for testing in an environment where changing the classes in
Bridge or Interface records is challenging.

Requested-by: Andrew Lambeth <wal at nicira.com>
Tested-by: Andrew Lambeth <wal at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 lib/dpif-netdev.c       |   68 ++++++++++++++++++++++++++--------------------
 lib/dummy.c             |   13 ++++++---
 lib/dummy.h             |   10 ++++---
 lib/netdev-dummy.c      |   24 +++++++++++++++-
 vswitchd/ovs-vswitchd.c |    6 ++--
 5 files changed, 78 insertions(+), 43 deletions(-)

Open vSwitch

More information about the git mailing list