Bob Lantz
336958352a
Only use 80 hosts for linearbandwidth.py for now
...
In the long run, we should debug the performance issues
with kvm and Ubuntu 15. For now, however, we're relaxing
the constraints.
Closes #594
2016-01-26 15:40:59 -08:00
Bob Lantz
5dc15aeaaf
Tolerate slow startup/lost pings for now
...
In the long run we should troubleshoot the performance issue
on kvm/Ubuntu15, but for now we are relaxing the constraint.
Closes #593
2016-01-26 15:40:56 -08:00
Bob Lantz
9a22e2b737
Use ifconfig for interface verification.
...
Previously we were using both ip link and ifconfig - not only is
this inconsistent and redundant, but it also broke when newer
ip link changed the reported names of certain interfacs to
"h1-eth0@36:".
Fixes #592
2016-01-25 14:27:34 -08:00
Bob Lantz
0fac568a19
Rewrite tolerance to be saner (plus or minus 20%)
2016-01-22 13:52:15 -08:00
Bob Lantz
5365831de8
Use 0% loss when testing examples/simpleperf.py
...
Also clarified the code in test_simpleperf.py.
Fixes #590
2016-01-21 17:07:39 -08:00
Bob Lantz
db134f36ae
Allow RemoteController to connect to correct port.
...
Fixes #584
2016-01-13 22:40:41 -08:00
lantz
65a0e5f3b6
Merge pull request #528 from pichuang/cluster
...
Fixed `whoami` output problem in cluster.py
2015-06-25 13:36:21 -07:00
Roan Huang
d5d66f1276
Fixed whoami output problem in cluster.py
...
Remove the last character when use `whoami`
2015-06-25 05:37:20 +00:00
Bob Lantz
9ed14fa0f4
Remove explicit NAT code and use built-in NAT functionality.
...
This API isn't great - we should try to improve it in the future.
2015-06-23 15:17:58 -07:00
Bob Lantz
e5a5cd0070
customConstructor -> customClass
2015-03-18 15:18:02 -07:00
Bob Lantz
4ac45a3967
Fix super() arg in DataController
2015-02-04 04:43:23 -08:00
Bob Lantz
d7e01bb821
Pass code check
2015-02-04 04:43:02 -08:00
Bob Lantz
5f8547a5e0
Remove now-unused Link import
2015-02-04 04:28:57 -08:00
Bob Lantz
c1dc80571a
Correctly group switches for batch operations
2015-02-04 04:26:58 -08:00
Bob Lantz
7c0b56f9ba
Delete both tunnel interfaces
...
We also clean things up a bit and check for error messages,
which now can cause exceptions which should invoke cleanup.
2015-02-04 04:14:40 -08:00
Bob Lantz
19331ca287
use net.addLink() so that link is cleaned up
2015-02-03 16:02:07 -08:00
Bob Lantz
9483f6378f
Make sure DataController's interfaces are deleted
2015-02-03 15:30:16 -08:00
Bob Lantz
acdcf9b6ae
cluster: add batchStartup/Shutdown, cleanup
2015-01-27 15:27:26 -08:00
Bob Lantz
bdad3e8c8e
Merge OVSBatch into OVSSwitch
...
Note that we are changing the interface of batchStartup/Shutdown
slightly so that the method can choose not to start some of the
switches. We might wish to refine this a bit...
2015-01-26 18:01:20 -08:00
Bob Lantz
eafbd2a597
Change to OVSSwitch
2015-01-26 14:06:23 -08:00
Bob Lantz
79f5d39db5
Comment edits and pass code check
2015-01-17 13:56:37 -08:00
Bob Lantz
6da3fcdef1
Add bridges s1-s3 to topology and explain some details
2015-01-17 13:38:55 -08:00
Bob Lantz
026130bd5f
pass code check
2015-01-17 13:33:59 -08:00
Bob Lantz
c1b48fb5c8
Stub out RemoteOVSSwitch.batchShutdown()
...
Eventually we should implement true batch shutdown.
In the mean time, we just ignore it. Note there's no good
way that I know of for a subclass to remove a superclass
method, so we changed the protocol a bit to require a return
value of True.
2015-01-15 02:43:38 -08:00
Bob Lantz
c62812a944
Update cluster.py for new makeIntfPair
2015-01-15 02:29:51 -08:00
Bob Lantz
3ac5cafe53
Fix code minor code check errors
2015-01-06 16:26:33 -08:00
Bob Lantz
7a3159c9af
Spacing tweaks for pep8 checker
2014-12-08 15:10:32 -08:00
Bob Lantz
8c37975d44
Remove erroneous self.cmd = None
2014-12-04 09:03:46 -08:00
Bob Lantz
061598f011
Change from numeric to symbolic pylint error codes
2014-12-04 08:21:53 -08:00
Bob Lantz
643c9f912f
More pylint changes...
2014-12-04 05:55:57 -08:00
Bob Lantz
4965421215
More pylint fixes...
2014-12-04 02:57:36 -08:00
Bob Lantz
18aab5b786
More pylint changes
2014-12-04 00:51:05 -08:00
Bob Lantz
b1ec912db5
Fixing pylint errors
2014-12-02 23:00:50 -08:00
Bob Lantz
5a530af189
Remove trailing whitespace. ;-/
2014-12-01 15:39:44 -08:00
cody burkard
c2341cd47a
update examples README with new examples
2014-11-24 19:43:15 -08:00
lantz
015cd9e776
Merge pull request #443 from cdburkard/devel/cluster
...
use rcmd instead of quietRun when shutting down remote nodes
2014-11-24 12:30:52 -08:00
Bob Lantz
3d44bcdcc4
MiniNet -> Mininet
2014-11-23 17:32:11 -08:00
Bob Lantz
1817cbc3a4
Pass pyflakes
2014-11-23 17:31:43 -08:00
Bob Lantz
e0bf8ece3c
Minor code cleanup
2014-11-23 17:17:21 -08:00
Bob Lantz
37bdf14b49
Rename examples.{intfOptions,multiLink} -> {intfoptions,multilink}
2014-11-23 17:11:06 -08:00
Bob Lantz
292e69f89a
Renamed to intfoptions.py for consistency
2014-11-23 17:07:32 -08:00
Bob Lantz
dd876e69c8
DemoCLI -> ClusterCLI
2014-11-23 17:04:07 -08:00
cody burkard
34933ef741
use ControlPersist ssh option to create a ControlMaster connection that will not die when a node dies
2014-11-18 17:22:06 -08:00
cody burkard
bbf94cdb63
use rcmd instead of quietRun when shutting down remote nodes
2014-11-17 17:55:06 -08:00
Bob Lantz
dde2263fe7
Disable shared SSH connections by default.
...
Note that we do still provide a default if you specify
ControlPath=True
2014-11-12 13:29:58 -08:00
cody burkard
0676346aeb
fix plot command to work when standard classes are present
2014-11-07 05:10:06 -08:00
Bob Lantz
1955e90493
Minor cleanup.
2014-11-10 16:50:24 -08:00
Bob Lantz
222e87daeb
Rearrange init code slightly.
2014-11-10 16:48:20 -08:00
Bob Lantz
a89ccb789e
Fix problem of ssh'ing into "localhost" on a remote node.
2014-11-10 16:46:43 -08:00
lantz
2013b7ae81
Merge pull request #428 from cdburkard/patches/cluster_servers
...
standardize on localhost for local server's name
2014-11-10 16:23:59 -08:00