Bob Lantz
df600200a7
CPULimiteHost.popen(): set cgroup and (optionally) RT priority
2012-04-13 15:50:45 -07:00
Bob Lantz
089e8130e4
Add popen() to regular hosts (cpu limited in progress)
2012-04-13 15:50:45 -07:00
Bob Lantz
e78e8fb56a
Add support for attaching to network namespace using setns(2)
2012-04-13 15:50:45 -07:00
Bob Lantz
669e420cc4
Add default value mems=0 for memory placement.
2012-04-13 07:38:35 +00:00
Bob Lantz
5507550c53
Fix wireshark dissector install on 11.10
2012-04-11 13:20:18 -07:00
Bob Lantz
7cb340b7c9
Pass code check.
2012-04-10 00:12:37 +00:00
Bob Lantz
92b601aba9
Allow fail-mode to be set.
...
Probably we should have a generic mechanism to specify OVS options.
2012-04-10 00:12:03 +00:00
Bob Lantz
350fdbfe50
Allow modules (node.py) to be 1500 lines. Maybe reduce this someday.
2012-04-10 00:02:56 +00:00
Bob Lantz
548580d817
Allow lists of nodes to be passed to getNodeByName
...
....which should perhaps be renamed!!!
2012-04-09 23:54:17 +00:00
Bob Lantz
149a1f5639
Apparently errRun isn't as flexible as I thought...
2012-04-08 20:49:21 -07:00
Bob Lantz
197b083fbc
Add static cpu (and memory) assignment.
2012-04-08 20:49:12 -07:00
Bob Lantz
a7648e78fb
Add mountCgroups() and tweak/correct fixLimits()
2012-04-08 20:49:04 -07:00
Bob Lantz
50202e1246
Off by one... I dislike range()
2012-04-05 21:38:02 -07:00
Bob Lantz
a4338de38c
Fix error message.
2012-04-05 20:57:29 -07:00
Bob Lantz
d08d101eba
Added simpleperf.py to examples.
2012-04-03 18:49:39 -07:00
Bob Lantz
32f7847bca
Change doxypy.py to doxypy.
2012-04-03 17:50:59 -07:00
Bob Lantz
1bb990357f
Added multipoll and multiping examples.
2012-04-03 17:32:55 -07:00
Bob Lantz
a9c28885f3
Bring up loopback interface when configuring hosts.
2012-04-03 17:22:28 -07:00
Bob Lantz
d776bd3a4f
Add handle 10: to netem for hifi compat, reconfiguration.
2012-04-02 16:39:37 -07:00
Bob Lantz
5d6fda932d
Add openvswitch-datapath-dkms if no datapath installed.
2012-03-31 21:30:16 -07:00
Bob Lantz
c1a6ae2b48
Remove blank line.
2012-03-31 21:29:56 -07:00
Bob Lantz
78606a35c9
Removed unused param in add_link.
2012-03-31 21:29:27 -07:00
Bob Lantz
1dd3de0d04
Remove unused burst.
2012-03-31 21:29:09 -07:00
Bob Lantz
ece14ff4b5
Check out CS244 branch for class.
2012-03-31 20:48:12 -07:00
Bob Lantz
e5653fb63b
Change back to match mininet-hifi, except for max_queue_len=1000.
2012-03-27 00:31:37 -07:00
Bob Lantz
3f61ea7104
Restore deleted deleteIntfs in OVSSwitch.stop()
2012-03-25 22:10:04 -07:00
Bob Lantz
2ec866d2c5
TCLink: pass correct parameters to superclass.
2012-03-25 20:18:35 -07:00
Bob Lantz
26c61734da
Add cgroup and ethtool dependencies for mininet (w/hifi integration.)
2012-03-25 15:41:02 -07:00
Bob Lantz
e1246c3741
Simplify port specification.
...
For the moment, I've removed the ability to specify
a dict of options without using **. This is a slightly
unfortunate trade-off since it simplifies implementation
at the expense of making the API slightly less convenient
(if somewhat more consistent.)
2012-03-25 15:39:18 -07:00
Bob Lantz
2d924f8a65
Add Mininet object to locals as 'net'
2012-03-25 15:38:32 -07:00
Bob Lantz
00d9b78035
Reinstate more complicated test.
2012-03-23 18:41:25 -07:00
Bob Lantz
612b21cbe7
Pass code check.
2012-03-23 18:38:49 -07:00
Bob Lantz
8139695d46
Use 's%s' for bw speedup; change burst to fix tbf and htb performance.
2012-03-23 18:37:32 -07:00
Bob Lantz
e8146dd130
Change to allow addLink() without specifying ports.
2012-03-23 18:36:13 -07:00
Bob Lantz
44af37bc2b
Change default period to 100 ms, which seems to help cfs at least...
...
rt is still somewhat broken.
2012-03-23 18:18:48 -07:00
Bob Lantz
beb05a71c8
Move dumpNetConnections to util() because it's useful!
2012-03-23 18:17:49 -07:00
Bob Lantz
74ea006d92
Increase the quota and cpu fraction to get max cfs performance.
2012-03-23 18:17:08 -07:00
Bob Lantz
335ba99b60
Add --switch ovsl for legacy OVS.
2012-03-23 13:33:31 -07:00
Bob Lantz
8dcefd5ff9
Fix OVS legacy switch.
2012-03-23 13:33:12 -07:00
Bob Lantz
28833d864c
Retry deleting cgroup for the moment because it seems flaky.
...
Ultimately we may wish to create a mininet/ cgroup and do a recursive
delete at the end.
2012-03-22 19:08:45 -07:00
Bob Lantz
a5af91d0d3
Have errFail report cmd and stderr as well as exit code.
2012-03-22 19:08:09 -07:00
Bob Lantz
4deb735425
Simple cpu limiting example.
2012-03-22 14:44:20 -07:00
Bob Lantz
f89d9a4d6b
Fix typo inadvertently saved in editor.
2012-03-22 14:43:52 -07:00
Bob Lantz
d1b29d58df
Fix printing pid for background tasks.
2012-03-22 14:43:27 -07:00
Bob Lantz
ba8d4f9bd6
Add verySimpleLimit() for debugging.
2012-03-21 23:31:20 -07:00
Bob Lantz
0b7c277ec2
Save parameters for future reference (e.g. OVS/tc workaround.)
2012-03-21 23:07:40 -07:00
Bob Lantz
1aec55d960
Workaround: reapply tc config after OVS destroys it.
2012-03-21 22:39:46 -07:00
Bob Lantz
595427842c
Make CPULimitedHost method sig friendlier, and make 'cfs' default sched.
2012-03-21 17:28:00 -07:00
Bob Lantz
41245f5087
Add getNodeByName for hifi compatibility.
2012-03-21 17:27:40 -07:00
Bob Lantz
b684ff7844
Fix convenience configuration methods.
2012-03-20 16:23:17 -07:00