lantz
d37d6ecd99
Merge pull request #241 from moijes12/fix44
...
(pending) Create test_switchdpidassignment.py
2014-11-20 14:14:14 -08:00
lantz
8190e81ba8
Merge pull request #410 from cdburkard/patches/tshark_walkthrough_1404
...
support wireshark versions greater than 1.11 in test_walkthrough
2014-10-14 13:36:24 -07:00
Bob Lantz
e1711f357a
Use server receive rate rather than client send()/buffering rate
...
Fixes #412
2014-10-13 17:52:47 -07:00
Cody Burkard
f341159300
support wireshark versions greater than 1.11
2014-10-13 10:52:37 -07:00
Bob Lantz
61c144b9f6
Minor fixes to wireshark test
2014-10-07 16:08:57 -07:00
cody burkard
e3ab3fc239
fix a few small issues with walkthrough tests
2014-10-02 11:10:17 -07:00
cody burkard
684092bae1
wait for switches to connect during test_nets
2014-09-27 06:43:39 -07:00
cody burkard
73adba8b81
print useful output for tests upon failure
2014-08-27 10:55:08 -07:00
cody burkard
c75ff7ecd9
fixes for LinkDelay test in test_hifi
2014-08-26 22:34:34 -07:00
cody burkard
84c1c24ce2
skip this because of poor UserSwitch performance
2014-08-13 17:06:00 -07:00
Brian O'Connor
9a11544d87
Merge pull request #332 from cdburkard/patches/fix_linear5
...
adding waitConnected to linear5 test
2014-07-14 16:12:43 -07:00
Cody Burkard
ea97dea902
adding waitConnected to linear5 test
2014-07-14 14:42:00 -07:00
Cody Burkard
93ddd92662
Revert "fixed default iperf formatting behavior"
...
This reverts commit 0e733c7754 .
2014-07-08 16:55:50 -07:00
Cody Burkard
3131c90344
rolled back to iperf format option, and changed 'cpu' variable to 'pct'
2014-07-08 16:53:45 -07:00
Cody Burkard
0e733c7754
fixed default iperf formatting behavior
2014-07-02 13:07:57 -07:00
Cody Burkard
342b743b13
set staticArp in testLinkDelay
2014-07-01 17:07:14 -07:00
Cody Burkard
4e76439c79
added support in iperf for different result formats. also added upper bounds for hifi tests
2014-06-16 23:33:38 -07:00
Bob Lantz
5e60ee266b
assertTrue( a > b ) -> assertGreater( a, b ) for better messages
2014-02-28 18:41:41 -08:00
moijes12
2fc5e46f1b
Update test_switchdpidassignment.py
2014-01-30 23:41:46 +05:30
Bob Lantz
17dbc7e055
Minor codecheck fixes
2013-12-11 18:33:54 -08:00
moijes12
09b06509a8
Create test_switchdpidassignment.py
...
Regression tests to verify switch datapath ID assignment.
2013-11-07 09:49:36 -08:00
Bob Lantz
ca5b0c56f0
setLogLevel('warning') to avoid test spam
2013-09-17 13:44:42 -07:00
Brian O'Connor
fc2a8fd59a
fixed git download for testRemoteController in test_walkthrough.py
2013-09-17 11:28:10 -07:00
Brian O'Connor
895ff6f452
adding runner to mininet/test, added test_walkthrough.py
2013-09-16 23:58:22 -07:00
Bob Lantz
e69355f78f
One last code check fix: line too long
2013-09-11 12:00:15 -07:00
Bob Lantz
9d14c841d7
Pass code check
2013-09-11 12:00:15 -07:00
Bob Lantz
5493212578
Add tests for OVS user switch (skipping hifi test for now)
...
test_hifi.py currently fails for OVS when datapath=user -
we should look at this and fix it.
2013-09-11 12:00:13 -07:00
Bob Lantz
45d365f98b
Need a few more skipUnless() checks.
2013-09-11 12:00:12 -07:00
Bob Lantz
94324e3f46
Skip IVS and UserSwitch tests if they are not installed
2013-09-11 12:00:12 -07:00
Rich Lane
0e2cc609df
tests: run all tests with OVS, IVS, and userspace switches
...
Each switch gets its own class so that the test results are listed separately.
2013-07-10 11:19:25 -07:00
Rich Lane
812c91cc9e
test_hifi: use SWITCH to pick the switch class
2013-06-27 14:50:59 -07:00
Brandon Heller
1f1d590c7a
test: Improve unit tests to verify basic functionality
...
Also a more complete ping test that parses all output to the CLI.
These tests expand the hifi-specific ones to not just cover whether
a topology can be created with options, but whether those options
are properly implemented within some tolerance, like CPU limits,
link bandwidth, delays, and even drops.
2012-11-14 07:57:17 -08:00
Brandon Heller
e1205a8a49
Add a simple unit test for link/host creation with options
2012-11-14 00:43:46 -08:00
Bob Lantz
8e3699eca6
Move init() into Mininet() and remove calls (since called automatically.)
...
Note: we should probably rename it "setup()" to avoid confusion.
2012-03-09 14:10:20 -08:00
Bob Lantz
e3c074b881
Remove deprecated ControllerParams (for now.)
2012-03-09 13:53:13 -08:00
Bob Lantz
1dcc047624
Changed to make 'output' the default log level.
2011-01-04 17:12:34 -08:00
Bob Lantz
6d2416ecbe
Removed test for reference kernel implementation, for now at least. ;-(
2010-08-16 23:02:04 -07:00
Bob Lantz
8423875b37
Change to use new interface to mn.run()
2010-03-24 17:03:27 -07:00
Brandon Heller
b055728fd5
Automatically load kernel module dependencies
...
Before this commit, you'd have to manually insert the kernel module for
OVS or OF kernel modules, and you couldn't run one regression test with
all 3.
Now, these are kmod insert/remove is handled automatically.
2010-03-14 03:53:16 -07:00
Bob Lantz
d44a5843d3
Reinstantiated inNamespace and routed control network.
...
We need to figure out how to specify the IP addresses for the
routed control network. For now I'm going back to 192.168.12x.y
Also changed controller params to use IP strings rather than
numbers. However, we still need to clarify what ControllerParams
is actually for.
2010-03-09 21:48:14 -08:00
Bob Lantz
5468377680
Removed blank line at EOF.
2010-02-27 13:55:12 -08:00
Bob Lantz
235415cf49
Ran unpep8 on test_nets.py.
2010-02-26 17:25:38 -08:00
Brandon Heller
723d068c51
Add static code checking for style and errors
...
This required a change to logging, which now uses a singleton pattern.
For all future checkins, 'make codecheck' should pass.
2010-01-09 17:59:43 -08:00
Brandon Heller
433a7cc88c
Make Ripcord-specific topologies optional
...
If ripcord.dctopo imports properly, then include its topologies in the
list of available ones. Also replace topo.py with new generic
topologies and update paths.
2010-01-03 03:53:23 -08:00
Brandon Heller
c98514ae44
Support more topologies
2010-01-03 02:44:08 -08:00
Brandon Heller
1bb4412ff3
Separate kernel and user switches into separate objects
2010-01-02 10:58:28 -08:00
Brandon Heller
8b5062a3a1
Move TreeNet to new Mininet API
...
Also remove all non-object-oriented legacy Mininet code and update
tests.
User-space compatibility is untested, but most of the code for it is
still in.
2009-12-26 14:25:48 -08:00
Brandon Heller
220890a0c9
Move utility functions out of mininet.py
...
Having a file with the same name as its package creates hard-to-diagnose
import error, so rename mininet.py to net.py. This commit moves utility
functions, generally those dealing with network namespaces and interface
management, into their own file.
Also fix a few minor formatting bugs and clean up logging code (which
had issues when multiple files would import mininet.logging_mod).
2009-12-20 09:32:43 -08:00
Brandon Heller
15f37cc292
Add LinearNet test case
2009-12-18 20:36:48 -08:00
Brandon Heller
ff43615ab1
Add example unit tests and Makefile target
2009-12-18 12:15:04 -08:00