Statistics
| Branch: | Tag: | Revision:

mininet / mininet / node.py @ 4219b229

History | View | Annotate | Download (54.9 KB)

# Date Author Comment
4e644d74 11/24/2014 07:27 PM lantz

Merge pull request #450 from mininet/sw-cmd

adding deleteIntfs option to switches and corresponding CLI command

50774e40 11/23/2014 07:11 PM Bob Lantz

Remove unused imports

273c4e94 11/23/2014 07:09 PM Bob Lantz

Fix typo. ;-p

c273f490 11/23/2014 07:06 PM Bob Lantz

type( foo ) is bar -> isinstance( foo, bar )

9a8bdfd7 11/23/2014 06:59 PM Bob Lantz

use isinstance( obj, basestring) to allow unicode strings

fixes #448

b57e5d93 11/22/2014 02:33 AM Brian O'Connor

adding deleteIntfs option to switches and corresponding CLI command

f5164f86 11/20/2014 02:24 AM Rich Lane

IVSSwitch: turn off verbose logging by default

Most users don't need this much logging and it slows down the switch.

a64f8c28 11/12/2014 11:17 PM Bob Lantz

Don't blow away parameters that aren't specified in node.config()

c7921fe4 11/07/2014 09:29 AM Brian O'Connor

Merge pull request #432 from mininet/devel/fallback

Fall back to OVSBridge if no controller is available for default switch

ccd3276d 11/06/2014 02:43 AM Bob Lantz

Raise exception if DefaultController cannot find a controller

f51eddef 11/06/2014 02:41 AM Bob Lantz

Return controller correctly.

4f8aa1d8 11/06/2014 12:49 AM Bob Lantz

Don't check rt_runtime_us for CFS scheduler

820c3be7 11/05/2014 01:20 AM Bob Lantz

Reorganize CFS and RT default/error conditions.

a562ca1b 11/05/2014 12:27 AM Bob Lantz

Move RT check into its own method, and save value.

658761d9 11/05/2014 12:09 AM lantz

Merge pull request #419 from cdburkard/patches/rt_failure_output

fix silent failures when rt cannot be assigned - will follow up on this

1b69ea13 11/04/2014 11:24 AM Bob Lantz

Merge branch 'fallback' of https://github.com/thinred/mininet into thinred-fallback

Conflicts:
bin/mn
mininet/node.py

6e5ac34b 11/04/2014 04:01 AM Bob Lantz

Update module comment.

08d611f4 11/01/2014 03:30 AM Cody Burkard

fix silent failures when rt cannot be assigned

6a363f65 10/31/2014 11:59 AM cody burkard

unmount private directories after use

736db20c 10/31/2014 11:43 AM cody burkard

merge HostWithPrivateDirs into Host

098bede0 10/03/2014 03:09 AM Bob Lantz

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.

fa7edec7 09/26/2014 11:47 PM lantz

Merge pull request #391 from cdburkard/patches/fix_popen

workaround: attach to cgroup first, then mount namespace

686a9993 09/26/2014 10:42 PM cody burkard

add Ryu controller to mininet

e16c5fe9 09/26/2014 05:51 AM cody burkard

attach to cgroup first, then mount namespace

73ef3e9a 09/21/2014 07:43 AM Brian O'Connor

Merge pull request #375 from cdburkard/patches/multi_core_rt

fix host --rt

3e8df323 09/21/2014 06:21 AM Brian O'Connor

Merge pull request #374 from cdburkard/patches/rt

check if RT_GROUP_SCHED is enabled in kernel

c265deed 09/05/2014 06:07 AM Bob Lantz

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...

58324bdc 09/04/2014 07:24 PM cody burkard

check if RT_GROUP_SCHED is enabled in kernel

04c1c098 09/04/2014 05:46 PM cody burkard

wall clock time makes rt quota independent of nprocs

d4ca1db6 08/30/2014 02:34 AM Brian O'Connor

Merge pull request #364 from cdburkard/patches/testCPULimit

Fix output of backgrounded processes

ce167380 08/27/2014 06:07 PM cody burkard

clean up logic for backgrounded processes

c11d5773 08/27/2014 03:44 PM cody burkard

parse pid printed when backgrounding a process

c75ff7ec 08/27/2014 05:34 AM cody burkard

fixes for LinkDelay test in test_hifi

92075113 08/27/2014 02:59 AM lantz

Merge pull request #342 from cdburkard/devel/startup

improve startup performance, largely by removing unnecessary ifconfigs

16a384ab 08/21/2014 07:16 PM lantz

Merge pull request #353 from mininet/devel/nat

Adding NAT class to NodeLib

6a69c2f6 08/21/2014 03:04 AM lantz

Merge pull request #356 from cdburkard/patches/stop_controller

fix for controller shutdown - send SIGHUP rather than SIGKILL

c9b844a7 08/19/2014 06:51 AM cody burkard

added controller.stop() back in

604ad455 08/19/2014 06:24 AM cody burkard

kill all child processes to avoid race condition and no controller shutdown

c0e7e349 08/15/2014 09:44 PM lantz

Merge pull request #337 from ggee/ovsProtocol

Add parameter to set protocol list in OVSSwitch.

db0f36f4 08/14/2014 07:18 AM Brian O'Connor

Fixing Node.monitor() to read entire prompt marker.

Applying @cdburkard fix to #322

4015e066 08/14/2014 05:09 AM Brian O'Connor

moving NAT to nodelib

735080a8 08/14/2014 02:51 AM Brian O'Connor

Merge branch 'master' into nat

161e7997 08/14/2014 02:49 AM Brian O'Connor

Fixing Node.monitor() to read entire prompt marker.

Applying @cdburkard fix to #322

417d7978 08/14/2014 12:35 AM cody burkard

merging master

41a54f05 08/14/2014 12:33 AM cody burkard

adding comments and removing random access spaces

39a3b73f 08/13/2014 03:04 PM Tomasz Buchert

fallback to ovsb when no OF controller is unavailable

e8623fdc 08/13/2014 02:55 PM Tomasz Buchert

introducing OVSBridge

a280501f 08/07/2014 08:40 PM Brian O'Connor

Merge branch 'master' into nat

Conflicts:
mininet/net.py
mininet/node.py

88763cfb 08/01/2014 08:22 PM cody burkard

removed more unnecessary ifconfigs

19dd7f70 08/01/2014 07:18 PM cody burkard

switched back to node.cmd for OVS commands. this is faster..

42cdda38 08/01/2014 06:27 PM cody burkard

added some documentation

a2d0ea78 08/01/2014 06:00 PM cody burkard

fixed issue with regex matching

e9d034bd 08/01/2014 06:00 PM cody burkard

adding old changes

a3d51b77 08/01/2014 06:00 PM cody burkard

few small fixes to syntax errors

eba13f0c 08/01/2014 06:00 PM cody burkard

removed many of the commands being run to maximize startup performance

628e8406 08/01/2014 01:27 AM Brian O'Connor

Reverting the disable signals change

78a32e93 08/01/2014 01:23 AM Brian O'Connor

Merge branch 'master' into devel/pty

84ce84f5 07/19/2014 02:10 AM Gregory Gee

Add parameter to set protocol list in OVSSwitch. Allows setting OpenFlow version.
s2 = net.addSwitch( 's2', protocols='OpenFlow13' )

00d19634 07/16/2014 01:21 AM Cody Burkard

revised comment on defaultController function

5ac3cde2 07/15/2014 10:48 PM Cody Burkard

restructured defaultController into a function

796b281b 07/14/2014 08:09 PM Cody Burkard

fixed command parameter

72fd120d 07/12/2014 02:04 AM Cody Burkard

added default controller class

191df1cb 07/10/2014 12:47 AM Brian O'Connor

Adding listen socket to UserSwitch when there is no listenPort set

3b484491 07/08/2014 11:27 PM lantz

Merge pull request #315 from cdburkard/patches/fix_bindpy

Added support for mount namespaces in bind.py

3b24bd7a 07/08/2014 09:22 AM Bob Lantz

Restore non-mnexec pid detection for background commands

e9013d76 07/08/2014 04:58 AM Bob Lantz

Fix pid regex to eat \r\n

c49b216c 07/08/2014 04:55 AM Bob Lantz

Set default printPid back to True

16ddf656 07/08/2014 04:51 AM Bob Lantz

Fix findPid since pty uses \r\n as line ending

9c3ecfe3 07/02/2014 05:53 PM Cody Burkard

conforming to mininet style

771850b9 07/02/2014 01:04 AM Bob Lantz

Possibly faster check for sentinel.

355696f3 07/02/2014 12:55 AM Bob Lantz

Don't set self.waiting twice

82e0e9f3 07/01/2014 08:49 AM Bob Lantz

Avoid overhead of another process (env) in startShell()

549f1ebc 06/27/2014 11:41 PM Bob Lantz

Attach a pty to each node's bash process

This should enable node commands that are expecting a tty to
behave better.

00803bcd 06/27/2014 08:05 PM Bob Lantz

Whitespace changes in OVSSwitch.

af2f67d9 06/26/2014 04:29 PM Cody Burkard

added documentation for HostWithPrivateDirs

752c2d6e 06/21/2014 06:54 AM Cody Burkard

mountprivatedirs is no longer needed

6a81b6df 06/19/2014 10:08 PM Cody Burkard

added persistence option to HostWithPrivateDirs. also attached mount namespaces when mnexec -a is specified

893cf61c 06/11/2014 11:17 PM Brian O'Connor

Merge pull request #313 from cdburkard/master

ovs port numbering bug fix

91092338 06/10/2014 06:44 PM Cody Burkard

Added support for mount namespaces in bind.py. Also moved it to the node class as a host type.

00c3238e 05/28/2014 09:31 PM lantz

Merge pull request #310 from rlane/ivs-verbose

IVSSwitch: add an option to control the --verbose flag

4579b303 05/28/2014 08:46 PM Cody

conforming to mininet python style

32d3c2bc 05/28/2014 07:56 PM Cody

removing debugging messages

ba43451b 05/28/2014 07:42 PM Cody

rearranged code for elegance

f1e42ba5 05/28/2014 06:50 PM Cody

adding ovs version detection to fix port numbering bug

163a66c6 05/22/2014 08:06 PM Rich Lane

IVSSwitch: add an option to control the --verbose flag

876e66e5 05/22/2014 07:36 PM Rich Lane

net: allow batch shutdown of multiple types of switches

Each switch class will be called to shutdown its own instances.

93cd5583 05/22/2014 07:22 PM Rich Lane

IVSSwitch: support batch shutdown

Not a single command like the OVS one, but it still greatly decreases the
shutdown time.

This does assume that stop() is called after batchShutdown(), which is true in
the current mininet code.

5cb4a542 05/03/2014 08:21 PM Gregory Gee

Add ability for for OVS switch start connect to controllers using protocols other than TCP.

net.addController( 'c0', protocol='ssl' )

This now allows OVS to connect to a controller using SSL. The default of protocol is 'tcp'
as it currently is.

14e14f1b 04/14/2014 01:44 AM lantz

Merge pull request #286 from lantz/devel/ovsbatch

Enable batch startup/shutdown of OVS

Not perfect, but it moves us forward at least.

bffe0452 04/01/2014 06:50 PM lantz

Merge pull request #290 from backb1/patch/netstatnumeric

Netstat: do not resolve addresses

a7eb5576 03/18/2014 06:04 PM Rich Lane

IVSSwitch: wait for ivs to terminate before tearing down node

This was a problem when running IVS in a container. IVS would begin the process
of closing controller connections on receiving SIGTERM, but often mininet would
have continued on and removed the control network interface from the container...

2e19ceb0 03/01/2014 02:45 AM Bob Lantz

Use a single ovs-vsctl command for speed/atomicity

3e2eb713 02/17/2014 08:23 AM Bob Lantz

Fix default of in-band control for OVS.
fixes #279

06115a04 02/07/2014 01:56 AM Bob Lantz

Add support for batch shutdown of OVS switches.

This saves about 10 seconds for a 200 switch network.

74c71bc8 02/04/2014 01:55 AM Bob Lantz

Minor tweak of return value.

0b5609f5 02/04/2014 01:52 AM Bob Lantz

Check (and canonicalize) dpid arguments to Switch()

This seems slightly ugly, but it has bitten many people.

Closes #268

29988c8b 01/30/2014 12:54 AM Bob Lantz

Canonicalize dpid by removing colons and padding with zeros
closes #268

0dd96ebc 01/24/2014 09:59 PM Andrew Ferguson

userspace switch can be reached on unix port by dpctl

28454708 01/20/2014 10:45 PM Andrew Ferguson

don't crash when link is TCLink but without options

caused by optimized return in link.py#275 in TCIntf.config()

2200d8d1 12/14/2013 07:12 PM Rich Lane

node: kill entire process group in terminate

mnexec already puts the shell into its own process group. Killing the entire
process group cleans up after any background processes the user left running.