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
Bob Lantz
ea7c326017
Ignore emacs autosaves.
2012-03-20 15:50:44 -07:00
Bob Lantz
f85c1cefb4
Use upstream OVS packages.
2012-03-20 15:49:39 -07:00
Bob Lantz
9005ce3255
Whitespace fixes.
2012-03-20 15:48:06 -07:00
Bob Lantz
efc991547e
Add warning in defaultIntf() if host has no interfaces.
...
Possibly this should be in intf() instead, as intf() is assumed
to always succeed.
2012-03-20 15:46:54 -07:00
Bob Lantz
8bebd37759
Fix is_switch() to always succeed + whitespace edits.
2012-03-20 15:45:46 -07:00
Bob Lantz
e52d0ee1de
Fix to work with new Topo class.
2012-03-20 15:44:50 -07:00
Bob Lantz
ff56881946
Add TCLink for simplified tc-limited link creation.
2012-03-20 15:43:43 -07:00
Bob Lantz
5a8bb48951
Attempt at revised/simplified topo class:
...
- keys are strings
- metadata is simply a dict
- buildFromTopo greatly simplified
2012-03-20 00:17:30 -07:00
Bob Lantz
318ae55e35
Allow sendCmd( [ cmd, arg1, ... ] )
2012-03-20 00:10:11 -07:00
Bob Lantz
bf9c6ab7b4
Clarify comments and finally remove ControllerParams definition.
2012-03-12 00:29:55 -07:00
Bob Lantz
14c1926081
Use port 0 for control interface on switches.
2012-03-12 00:20:48 -07:00
Bob Lantz
d7e5dfc5b6
Minor tweaks: specify port, new repr()
2012-03-12 00:20:26 -07:00
Bob Lantz
8856d284c0
Fix CLI commands.
2012-03-11 19:44:04 -07:00
Bob Lantz
14ff3ad3d0
Fix codecheck and MininetWithControlNet.
2012-03-10 20:44:34 -08:00
Bob Lantz
1d814c606d
disabled-msg -> disabled for current pylint
2012-03-09 19:27:04 -08:00
Bob Lantz
82f483f559
Add support for specifying host IP range with --ipbase.
2012-03-09 17:44:47 -08:00
Bob Lantz
a49c85a610
Fix examples to work with new API (and vice-versa.)
2012-03-09 16:06:23 -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
9addfc13ce
Add OVSController to complete out-of-box Ubuntu experience.
2012-03-08 23:48:07 -08:00
Bob Lantz
d27a3c52b9
Allow various subsets of (delay, bw, loss) and clean up status output.
2012-03-08 22:08:40 -08:00
Bob Lantz
2db4268ba8
Fix NOX controller so that mn --controller nox,pyswitch,... works.
2012-03-08 22:07:19 -08:00
Bob Lantz
0dbfd3a636
Add CPULimitedHost to file comment.
2012-03-08 13:48:46 -08:00
Bob Lantz
a908fafad7
Change default to vanilla Intf. Also edit comments.
2012-03-08 13:48:25 -08:00
Bob Lantz
8688ca9249
Remove debugging message.
2012-03-08 13:40:03 -08:00
Bob Lantz
8a622c3a9a
Reorganize CPULimitedHost and add cgroup cleanup.
2012-03-08 13:39:28 -08:00
Bob Lantz
bf5becc7d5
Get rid of SWITCH_PORT_BASE since it's 1 for OF >= 1.0.
2012-03-08 13:38:46 -08:00
Bob Lantz
216a4b7c9d
Support for CFS bandwidth limiting.
...
Also trying to fix NOX cmdline opt, but broken at the moment.
2012-03-08 00:05:45 -08:00
Bob Lantz
cbe20c7587
Remove unused imports.
2012-03-08 00:05:25 -08:00
Bob Lantz
edf46e9570
Slightly cleaned up setParam to match node.py.
2012-03-07 23:38:08 -08:00
Bob Lantz
b1f90976a3
Remove default classes since Mininet() really handles them.
2012-03-07 00:03:38 -08:00
Bob Lantz
4ac1148e9f
Example/test of link and CPU bandwidth limits.
2012-03-06 23:52:26 -08:00
Bob Lantz
84a91a14a4
New configuration scheme and support for CPU limits (RT).
2012-03-06 23:52:00 -08:00
Bob Lantz
94c02695fd
Clarify precedence of default classes.
2012-03-06 23:50:46 -08:00
Bob Lantz
d8c88bedf3
Add custom() function for customizing constructors.
2012-03-06 23:49:51 -08:00
Bob Lantz
7d557fd759
Remove deprecated reference kernel switch.
2012-03-06 23:48:26 -08:00
Bob Lantz
551a3666eb
Tweak errRun; add errFail and numCores.
2012-03-05 15:01:08 -08:00
Bob Lantz
542fb6167e
Ignore build, dist and emacs autosaves.
2012-03-02 20:36:57 -08:00
Bob Lantz
ee222055f1
Use install(1) to install mnexec so that setup.py develop works.
2012-03-02 20:34:56 -08:00
Bob Lantz
03dd914edc
Tease out intfList() from intfNames().
2012-03-02 20:34:37 -08:00
Bob Lantz
a6bcad8f48
Intf and Link classes. Latter support bandwidth limits using tc.
2012-03-02 15:45:21 -08:00
Bob Lantz
6f446f6e55
Make pylint happy.
2012-03-02 15:45:10 -08:00
Bob Lantz
134a75ef38
Fix pylint complaint and add natural sort key function.
2012-03-02 15:43:07 -08:00
Bob Lantz
e6d8e974ce
Added errcheck target which only checks for errors.
2012-03-02 15:39:05 -08:00
Bob Lantz
176856bc9b
Added setting NOX_CORE_DIR in .bashrc - this should not be necessary.
2012-02-14 16:35:12 -08:00
Bob Lantz
7a106d9b0d
Script for installing mininet + tutorial into new VM.
2012-02-14 15:25:22 -08:00
Bob Lantz
de5d31184f
Ugh, typo.
2012-02-13 20:34:59 -08:00
Bob Lantz
65d46518c0
Don't crash if we can't uninstall kernel.
2012-02-13 20:33:59 -08:00
Bob Lantz
7a0ee56c80
openvswitch-switch needs python-argparse
2012-02-13 18:52:07 -08:00
Bob Lantz
1c0b54e52a
Update OVS build suffix.
2012-02-13 18:47:22 -08:00