lantz
4e644d7465
Merge pull request #450 from mininet/sw-cmd
...
adding deleteIntfs option to switches and corresponding CLI command
2014-11-24 11:27:59 -08:00
Bob Lantz
50774e407c
Remove unused imports
2014-11-23 11:11:03 -08:00
Bob Lantz
273c4e9403
Fix typo. ;-p
2014-11-23 11:09:21 -08:00
Bob Lantz
c273f49077
type( foo ) is bar -> isinstance( foo, bar )
2014-11-23 11:06:12 -08:00
Bob Lantz
9a8bdfd765
use isinstance( obj, basestring) to allow unicode strings
...
fixes #448
2014-11-23 10:59:08 -08:00
Brian O'Connor
b57e5d93b8
adding deleteIntfs option to switches and corresponding CLI command
2014-11-21 18:33:06 -08:00
Rich Lane
f5164f86b7
IVSSwitch: turn off verbose logging by default
...
Most users don't need this much logging and it slows down the switch.
2014-11-19 18:24:49 -08:00
Bob Lantz
a64f8c28bd
Don't blow away parameters that aren't specified in node.config()
2014-11-12 15:17:17 -08:00
Brian O'Connor
c7921fe402
Merge pull request #432 from mininet/devel/fallback
...
Fall back to OVSBridge if no controller is available for default switch
2014-11-07 01:29:06 -08:00
Bob Lantz
ccd3276dcf
Raise exception if DefaultController cannot find a controller
2014-11-05 18:43:58 -08:00
Bob Lantz
f51eddef6d
Return controller correctly.
2014-11-05 18:41:00 -08:00
Bob Lantz
4f8aa1d8a0
Don't check rt_runtime_us for CFS scheduler
2014-11-05 16:49:28 -08:00
Bob Lantz
820c3be7df
Reorganize CFS and RT default/error conditions.
2014-11-04 17:20:35 -08:00
Bob Lantz
a562ca1be3
Move RT check into its own method, and save value.
2014-11-04 16:27:34 -08:00
lantz
658761d953
Merge pull request #419 from cdburkard/patches/rt_failure_output
...
fix silent failures when rt cannot be assigned - will follow up on this
2014-11-04 16:09:25 -08:00
Bob Lantz
1b69ea13f5
Merge branch 'fallback' of https://github.com/thinred/mininet into thinred-fallback
...
Conflicts:
bin/mn
mininet/node.py
2014-11-04 03:24:16 -08:00
Bob Lantz
6e5ac34bc2
Update module comment.
2014-11-03 20:01:22 -08:00
Cody Burkard
08d611f49b
fix silent failures when rt cannot be assigned
2014-10-31 20:30:36 -07:00
cody burkard
6a363f65e3
unmount private directories after use
2014-10-31 04:59:35 -07:00
cody burkard
736db20c9f
merge HostWithPrivateDirs into Host
2014-10-31 04:43:10 -07:00
Bob Lantz
098bede0ec
Wait for controller shutdown.
...
Unfortunately, this can slow things down a bit - perhaps
100-200 ms in the case of ovs-controller, but I am hoping that
it may help slightly with #399 .
2014-10-02 20:09:17 -07:00
lantz
fa7edec7c8
Merge pull request #391 from cdburkard/patches/fix_popen
...
workaround: attach to cgroup first, then mount namespace
2014-09-26 16:47:06 -07:00
cody burkard
686a9993f5
add Ryu controller to mininet
2014-09-26 15:42:15 -07:00
cody burkard
e16c5fe905
attach to cgroup first, then mount namespace
2014-09-25 22:51:48 -07:00
Brian O'Connor
73ef3e9a39
Merge pull request #375 from cdburkard/patches/multi_core_rt
...
fix host --rt
2014-09-21 00:43:25 -07:00
Brian O'Connor
3e8df323b3
Merge pull request #374 from cdburkard/patches/rt
...
check if RT_GROUP_SCHED is enabled in kernel
2014-09-20 23:21:06 -07:00
Bob Lantz
c265deedef
Cluster edition prototype: remote nodes and links.
...
We add a new experimental feature to allow Mininet to run across
a cluster of machines. This is currently implemented via a set
mix-in classes that provide remote nodes that are implemented
via a connection to a remote shell, and remote links which are
tunnels across servers. In this preliminary implementation,
both control and data connections are made via ssh, but this
could change in the future.
A MininetCluster class is provided which allows existing code
to be used with minimal modification - all that is required is
to provide a list of servers to use. A customizable placement
algorithm may also be specified. An experimental CLI subclass
is also provided to make it easier to examine node placement;
status and links commands can also check whether nodes and
tunnels are still running.
Although this is an experimental feature, it does include a
--cluster option to make it convenient to start up a Mininet
simulation over a cluster, and a script to assist with setting
up the prerequisite authentication via ssh key pairs.
The cluster feature is preliminary and missing some obvious
important features, such as parallel startup and multiple tunnel
types, which we hope to add in the future.
2014-09-04 23:07:01 -07:00
cody burkard
58324bdc50
check if RT_GROUP_SCHED is enabled in kernel
2014-09-04 12:24:18 -07:00
cody burkard
04c1c098ed
wall clock time makes rt quota independent of nprocs
2014-09-04 10:46:57 -07:00
Brian O'Connor
d4ca1db60b
Merge pull request #364 from cdburkard/patches/testCPULimit
...
Fix output of backgrounded processes
2014-08-29 19:34:32 -07:00
cody burkard
ce1673803f
clean up logic for backgrounded processes
2014-08-27 11:07:22 -07:00
cody burkard
c11d577349
parse pid printed when backgrounding a process
2014-08-27 08:44:08 -07:00
cody burkard
c75ff7ecd9
fixes for LinkDelay test in test_hifi
2014-08-26 22:34:34 -07:00
lantz
92075113d8
Merge pull request #342 from cdburkard/devel/startup
...
improve startup performance, largely by removing unnecessary ifconfigs
2014-08-26 19:59:12 -07:00
lantz
16a384ab4b
Merge pull request #353 from mininet/devel/nat
...
Adding NAT class to NodeLib
2014-08-21 14:16:41 -05:00
lantz
6a69c2f699
Merge pull request #356 from cdburkard/patches/stop_controller
...
fix for controller shutdown - send SIGHUP rather than SIGKILL
2014-08-20 22:04:51 -05:00
cody burkard
c9b844a721
added controller.stop() back in
2014-08-18 23:51:29 -07:00
cody burkard
604ad455ee
kill all child processes to avoid race condition and no controller shutdown
2014-08-18 23:24:18 -07:00
lantz
c0e7e34916
Merge pull request #337 from ggee/ovsProtocol
...
Add parameter to set protocol list in OVSSwitch.
2014-08-15 14:44:33 -07:00
Brian O'Connor
db0f36f431
Fixing Node.monitor() to read entire prompt marker.
...
Applying @cdburkard fix to #322
2014-08-14 00:18:37 -07:00
Brian O'Connor
4015e0666e
moving NAT to nodelib
2014-08-13 22:09:24 -07:00
Brian O'Connor
735080a84b
Merge branch 'master' into nat
2014-08-13 19:51:12 -07:00
Brian O'Connor
161e7997fa
Fixing Node.monitor() to read entire prompt marker.
...
Applying @cdburkard fix to #322
2014-08-13 19:49:08 -07:00
cody burkard
417d79780f
merging master
2014-08-13 17:35:34 -07:00
cody burkard
41a54f05cb
adding comments and removing random access spaces
2014-08-13 17:33:00 -07:00
Tomasz Buchert
39a3b73f85
fallback to ovsb when no OF controller is unavailable
2014-08-13 17:04:24 +02:00
Tomasz Buchert
e8623fdc91
introducing OVSBridge
2014-08-13 16:55:00 +02:00
Brian O'Connor
a280501ff1
Merge branch 'master' into nat
...
Conflicts:
mininet/net.py
mininet/node.py
2014-08-07 13:40:14 -07:00
cody burkard
88763cfbe1
removed more unnecessary ifconfigs
2014-08-01 13:22:02 -07:00
cody burkard
19dd7f70c1
switched back to node.cmd for OVS commands. this is faster..
2014-08-01 12:18:50 -07:00