Implement stress option framework.
authorBen Pfaff <blp@nicira.com>
Tue, 30 Nov 2010 21:44:01 +0000 (13:44 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 30 Nov 2010 21:44:01 +0000 (13:44 -0800)
commitcc01d0bb79103a01aa0afc3484249fd518b877ea
tree801d758dae2d4088a27c94458ec9ffed6055f854
parent7fe079c253b8618ff7b8475a91cc6bdf7790c979
Implement stress option framework.

Stress options allow developers testing Open vSwitch to trigger behavior
that otherwise would occur only in corner cases.  Developers and testers
can thereby more easily discover bugs that would otherwise manifest only
rarely or nondeterministically.  Stress options may cause surprising
behavior even when they do not actually reveal bugs, so they should only be
enabled as part of testing Open vSwitch.

This commit implements the framework and adds a few example stress options.

This commit started from code written by Andrew Lambeth.

Suggested-by: Henrik Amren <henrik@nicira.com>
CC: Andrew Lambeth <wal@nicira.com>
12 files changed:
AUTHORS
lib/automake.mk
lib/netlink.c
lib/stream-fd.c
lib/stress-unixctl.man [new file with mode: 0644]
lib/stress.c [new file with mode: 0644]
lib/stress.h [new file with mode: 0644]
ofproto/ofproto.c
ovsdb/ovsdb-server.1.in
ovsdb/ovsdb-server.c
vswitchd/ovs-vswitchd.8.in
vswitchd/ovs-vswitchd.c