Statistics
| Branch: | Tag: | Revision:

mininet / mininet @ 896c4cbc

# Date Author Comment
32507498 09/11/2013 07:00 PM Bob Lantz

Initial text and version updates for 2.1.0

d13505b6 08/26/2013 10:29 PM Brian O'Connor

updating setup to include examples

b635fd9e 08/15/2013 12:29 AM Brian O'Connor

Some cleanup and style fixes for fixlimits

867a6d67 08/14/2013 10:04 PM Brian O'Connor

Cleaned up sysctl and rlimit test and set
Use files instead of sysctl to set limits

b20c9470 08/12/2013 11:22 PM Brian O'Connor

add sysctl test and set
fixes #184

98cb3359 08/10/2013 12:10 AM Brian O'Connor

fixed comment in cli.py

9281719d 08/10/2013 12:07 AM Brian O'Connor

Made net compliant with dict semantics and added function comments
Fixed locals bug (now they are persisent across calls)

8e04a9f8 08/09/2013 07:20 PM Brian O'Connor

Replaced nodelist and nodemap in CLI with mn
Updated Mininet to be more compliant with dict
Fixes #182

6df4371d 08/06/2013 10:16 PM Brian O'Connor

Removing test prints from user switch merge

be13072f 08/06/2013 10:13 PM Brian O'Connor

Merge branch 'adf-userswitch-tclink' of github.com:adferguson/mininet into adferguson-adf-userswitch-tclink
Only sleep and reapply if slicing is enabled

Conflicts:
mininet/node.py

1e5cdfd8 08/02/2013 08:36 PM Brian O'Connor

Merge branch 'master' of github.com:mininet/mininet

bb0006b6 08/02/2013 08:35 PM Brian O'Connor

Merging MurphyMc LinearTopo pull request

786117dd 08/01/2013 01:20 AM Bob Lantz

Merge branch 'ivs' of https://github.com/rlane/mininet into rlane-ivs

Conflicts:
util/install.sh

fixes #159

43ba774e 07/31/2013 01:31 AM Brian O'Connor

Merge pull request #181 from mininet/devel/ping

pingall now reports fraction received

f7439671 07/31/2013 01:28 AM Brian O'Connor

pingall now reports fraction received
fixes #168

9c4b7343 07/30/2013 06:52 PM Bob Lantz

Fix indentation in LinearTopo()

5b48a7d9 07/30/2013 06:51 PM Bob Lantz

Reimplemented and corrected Graph as MultiGraph
fixes #172

4316be95 07/26/2013 09:43 PM Brian O'Connor

Prevent Mininet from crashing when display not set
fixes #173

d5f57784 07/24/2013 12:05 AM Brian O'Connor

Merge branch 'master' of github.com:mininet/mininet

1ecc63df 07/24/2013 12:03 AM Brian O'Connor

improved check for downed link in parsePingFull
fixes #176

1e4e8b70 07/23/2013 05:14 AM Brian O'Connor

Merge pull request #174 from pantuza/master

Dynamic Network with Remote Controller example; Extended LinearTopo

92112315 07/19/2013 10:56 PM Brian O'Connor

Simplified and refactored examples/dynamicnet.py
Extended LinearTopo to support mulitple hosts per switch

0a543602 07/19/2013 12:50 AM Rich Lane

IVSSwitch: support running IVS in a namespace

This change uses the `Node.cmd` method instead of `Popen`. The `cmd` method
sends the input to a shell which may be in another namespace (if --innamespace
is in use), while `Popen` would always run in the root namespace.

5c242637 07/18/2013 08:50 PM Rich Lane

clean: send SIGTERM before SIGKILL

IVS needs to be sent SIGTERM so it has a chance to clean up the kernel
datapath.

433ca2ec 07/13/2013 08:31 PM Piyush Srivastava

Fix issue with mountCgroups not recognizing mounted cgroup

Changed mountCgroups to use the file /proc/mounts (instead of the
current case where it uses the less reliable
(http://www.mail-archive.com/lxc-devel@lists.sourceforge.net/msg00455.html)
/etc/mtab thorugh the mount program

fec98e27 07/11/2013 06:30 PM Brian O'Connor

Added output line to ping that is closer to ping program output

c188bee3 07/11/2013 06:17 PM Brian O'Connor

Fixed divide by 0 error in ping command when no packets are sent
fixes #143

0e2cc609 07/10/2013 06:19 PM Rich Lane

tests: run all tests with OVS, IVS, and userspace switches

Each switch gets its own class so that the test results are listed separately.

5d529edf 07/09/2013 11:34 PM Brian O'Connor

Removing unused import in mininet/link.py

59eeeadb 07/09/2013 11:30 PM Brian O'Connor

Style changes in mininet/node.py and removing used import in mininet/link.py

5c019d2a 07/09/2013 10:48 PM Brian O'Connor

CPULimitedHost cleanup() calls superclass method
fixes #161

60abb344 07/09/2013 03:36 PM Rich Lane

clean: kill ivs processes

94ff77f2 07/09/2013 03:34 PM Rich Lane

clean: don't wait forever for ovsdb

This could happen if OVS was installed but not running.

10be691b 07/05/2013 02:27 AM Bob Lantz

Clean up intfs in root NS, and avoid deleting HW intfs

It appears that under certain conditions, such as when a
namespace exits, both ends of a veth pair may get dumped
into the root namespace. We therefore now remove an interface
both from its home namespace and from the root namespace.

71ffb002 07/01/2013 11:05 PM Rich Lane

IVSSwitch: remove namespace warnings

IVS works fine using --innamespace.

803c0a6e 06/30/2013 01:11 AM Rich Lane

IVSSwitch: use ovs-ofctl for dpctl functionality

91261b27 06/28/2013 12:56 AM Rich Lane

IVSSwitch: add support for dpctl

dpctl is not included with IVS. The user will need to obtain it from the
OpenFlow reference repository.

812c91cc 06/27/2013 09:50 PM Rich Lane

test_hifi: use SWITCH to pick the switch class

27da832d 06/27/2013 09:50 PM Rich Lane

add support for the IVS virtual switch

IVS is an open source virtual switch available for download at
https://github.com/floodlight/ivs. It uses the openvswitch
kernel module.

aa554d98 06/26/2013 01:21 PM Bob Lantz

Workaround: add default dpopts='--no-slicing' to UserSwitch

This disables slicing by default but fixes bandwidth limits.
Eventually we want to enable both to work together, but for now
this enables one or the other depending on the dpopts setting.

804c4bbf 06/26/2013 01:14 PM Bob Lantz

Workaround: add dpopts to UserSwitch

Currently, slicing on the user switch breaks bandwidth limits.
We don't yet have a good way of using both of them at the same time.
I'm inclined to turn off slicing by default, but I have to think
about it and also see if any one is using it...

1a658054 06/26/2013 12:00 PM Bob Lantz

Ensure dpid is a valid hex string in OVSSwitch

33e39a24 06/26/2013 03:26 AM Bob Lantz

Fix some pylint messages.

538a856c 06/26/2013 03:16 AM Bob Lantz

Add Switch.connected() and OVSSwitch.controllerUUIDs()

877e7efb 06/26/2013 02:39 AM Bob Lantz

Minor comment change and text change.

bdd43bea 06/26/2013 02:31 AM Bob Lantz

Clean up (and fix) OVSSwitch fast reconnect

12758046 06/25/2013 07:51 PM Bob Lantz

Fix setDefaultRoute to work with passed parameters.

e5d7b380 06/21/2013 01:51 AM Brandon Heller

topo: make new minimal Graph object a Graph, not a DiGraph

Fixes another Graph regression relative to NetworkX.

RipL broke because the NetworkX Graph object that was used previously
for topologies is an undirected graph:

import networkx as nx
g=nx.Graph()...

4e1630e1 06/20/2013 11:27 PM Brandon Heller

topo: add getitem for Graph

Commit 65c35b65 'Remove networkx dependency' broke this line from RipL:

nodes = [n for n in self.g[name] if self.layer(n)  layer]

To work around this, RipL code would have to be changed to something
like this:

nodes = [n for n in self.g.data[name] if self.layer(n)  layer]...
448ac9dc 06/19/2013 07:22 PM Bob

Merge pull request #150 from MurphyMc/ovs_fast_reconnect

node: Make OVS switches reconnect quickly

dd21df3c 06/18/2013 12:09 AM Bob Lantz

Don't flush ALL routes and enable OPTIONAL default route/gw

fixes #152 hopefully

3df07feb 06/06/2013 11:28 PM Murphy McCauley

node: Make OVS switches reconnect quickly

Ordinarily, OVS switches back off when they can't reach their controllers.
Under the type of scenarios where Mininet is used, I think this is
probably just inconvenient. This patch set controllers to attempt to
reconnect every second.

153d598d 06/06/2013 11:23 PM Murphy McCauley

node: Allow OVSSwitch to run in userspace mode

This adds a datapath parameter to OVSSwitch which allows one to tell OVS to
run in userspace mode rather than kernel mode. From the commandline, this
is --switch=ovsk,datapath=user.

Note that this makes "ovsk" and the OVSKernelSwitch alias misnomers. Since...

a22e2618 06/06/2013 11:18 PM Murphy McCauley

topo: Add host count param to LinearTopo

Previously, LinearTopo took one parameter (k), which controlled the number
of switches; each of these got one host. This adds a second parameter (j),
which controls the number of hosts per switch, defaulting to 1 (as before)....

5fae96eb 06/03/2013 10:37 PM Bob Lantz

Change to only split once so that cargs='--foo=1 --bar=2' works.
fixes #144

e3d07bc1 05/29/2013 05:10 AM Bob Lantz

Add 'x' command to open an X11 tunnel (and run a client)
fixes #142

e5754ae9 05/23/2013 08:31 PM Shaun Crampton

Fix method name mismatch for setDefaultRoute.

2485d57f 05/22/2013 10:40 PM Bob Lantz

Edits to pass code check and make style consistent.

65c35b65 05/22/2013 10:24 PM ryanc

Remove networkx dependency

Conflicts:

util/install.sh

closes #100

1ea5c91f 05/22/2013 10:06 PM Bob Lantz

Update host's IP address during name-IP substitution
fixes #139

76c5b9d0 05/22/2013 10:03 PM Bob Lantz

Add ovs-controller to shutdown list

229f112f 04/29/2013 09:04 PM Bob Lantz

Change OVSSwitch.dpctl() to call ovs-ofctl

This should fix the problem of dump-flows not showing the OpenFlow
flow table flows and only showing cached kernel flow table flows.

fixes #136

3236d33b 04/21/2013 07:47 PM Andrew Ferguson

allow user switch to be used with TCIntf's

0f6bf4ce 04/10/2013 03:10 AM Bob Lantz

start xterm with TERM=ansi to preserve title from bash.bashrc
fixes #128

e09254ee 03/30/2013 09:50 PM Andrew Ferguson

Adjust numbering to support tc-based switch QoS
both the reference switch and Open vSwitch assume ids with major 1
can be used for tc-based QoS

e5a15ced 03/29/2013 01:14 AM Bob Lantz

Change popen() to detach from terminal/process group.
This may or may not be the right thing to do - an alternative
would be to ignore SIGINT, but that would make the popen()
job unkillable by normal means! So we'll try this and see
how well it works.
Fixes #124

c771b2d7 03/24/2013 11:14 PM Bob Lantz

Add source node option to moveIntf() (note: low-level API!!)
In the future we may wish to enable moving interfaces across
nodes which are not in the root NS, and this would provide
the low-level mechanism to do so.
closes #122

477e84ad 03/24/2013 10:58 PM Bob Lantz

More code check nits.

3482d941 03/24/2013 09:48 PM Bob Lantz

Fix code check.

1bf1a4d5 03/23/2013 01:38 AM Bob Lantz

Tag node bash processes and add attach script
Try invoking bash processes with -s mininet:host,
for easy identification of hosts. This enables
easy attachment using the util/m script.
closes #121

a0f69d98 03/22/2013 10:48 PM Bob Lantz

Change makeTerm() to tunnel X11 using socat if needed
For local display, allow local root access
For remote display, tunnel with socat/mnexec
This should enable wireshark in hosts and fix #119

8204a1b6 03/13/2013 11:16 PM Bob Lantz

fix --ipbase: fix ipAdd() and remove unused default from ipStr()

bd558875 03/09/2013 02:28 AM Bob Lantz

Add net['h1'] and for node in net support
thanks to Brian O'Connor for reminder + suggestion
closes #114

31fe4f1b 03/07/2013 01:26 AM Bob Lantz

Fix pmonitor() to not return blank lines on EOF
fixes #109 (hopefully)

23c70f60 03/01/2013 03:14 AM Bob Lantz

Add px command which uses exec() vs. py's eval()
This is necessary since exec() isn't really a function, and
eval can't evaluate statements.
fixes #104

0aefb0e0 12/20/2012 12:11 AM Bob Lantz

Fix Node.MAC to return intf.MAC rather than intf.IP
Fixes #89 ; Thanks to Nikhil S. Menon for the bug report

c8b85746 12/01/2012 05:00 AM Bob Lantz

pass code check

21366afc 12/01/2012 04:57 AM Bob Lantz

2.0.0rc1 -> 2.0.0 final

b453e006 11/26/2012 11:22 PM Brandon Heller

node: verify telnet installation for controller checking

Reported-by: Julius Bachnick

https://mailman.stanford.edu/pipermail/mininet-discuss/2012-November/001349.html

163a6cf3 11/16/2012 06:56 AM Bob Lantz

Fix whitespace error.

ab594b6a 11/16/2012 06:54 AM Bob Lantz

Merge branch '2.0dev' into 2.0merge

Conflicts:
.gitignore
.pylint
examples/miniedit.py
mininet/node.py
mininet/util.py
util/install.sh
util/vm/install-mininet-vm.sh

3744638e 11/15/2012 08:50 AM Brandon Heller

node: add OVS passive listening support

915c6d4a 11/15/2012 08:50 AM Brandon Heller

node: Use space, rather than comma, to separate controllers
for OVS

Otherwise, OVS thinks the second controller is a parameter of the first, and
only creates one controller entry as seen in 'ovs-vsctl show'.

03c3123b 11/14/2012 06:47 PM Brandon Heller

test_hifi: Fix occasional test breakage

Source of error: regex to parse ps output had a single space, rather
than handling any amount of whitespace before the CPU percentage. When
that percentage would drop below 10.0, an space would be printed,
confusing the regex....

1f1d590c 11/14/2012 03:57 PM Brandon Heller

test: Improve unit tests to verify basic functionality

Also a more complete ping test that parses all output to the CLI.

These tests expand the hifi-specific ones to not just cover whether
a topology can be created with options, but whether those options...

fcd01592 11/14/2012 03:55 PM Brandon Heller

Move CPU limit into net, to be reused in future unit tests

e1205a8a 11/14/2012 08:43 AM Brandon Heller

Add a simple unit test for link/host creation with options

bf208cde 11/14/2012 06:44 AM Brandon Heller

Fix SSHD example by generalizing input intf args

A number of functions in node.py look like this:
return self.intf( intf ).<other stuff>

Previously, self.intf(...) in Node would expect a string name for an
interface and return None if an object was passed in instead of a...

bcfb3009 11/14/2012 05:32 AM Brandon Heller

small refactor: put function to ensure root in util

Two benefits:
- One place to change if in the future, a more granular method of
root access is used (like the BigSwitch patch).
- Makes this reusable by stuff like examples/baresshd.py that use
the low-level Mininet API.

8a1264e2 11/14/2012 04:53 AM Brandon Heller

Fix 'cgroups not mounted' error in U12.10

'mount' shows something slightly different in Ubuntu 12.10:

cgroup on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755)

Note the lack of a plural on first word cgroup, which has changed.

Still mounted at /sys/fs/cgroup, so check for both possibilities...

2e089b5e 11/14/2012 01:17 AM Brandon Heller

pep8: Fix E127 continuation line over-indented

There are a bunch of these remaining, but I don't think the right course is
to 'fix' all of them to make pep8 happy, but instead to either change
the test in pep8 to consider that a continuation line may itself...

edf60032 11/14/2012 12:59 AM Brandon Heller

pep8: fix E128 continuation line under-indented errors

I wasn't sure this was worth fixing at first, but it does look more readable
now.

c0095746 11/14/2012 12:08 AM Brandon Heller

pep8: Fix E121/126, continuation line indention

33d548b4 11/13/2012 11:01 PM Brandon Heller

pep8: Fix E121 continuation line indentation is not a multiple of four

615ebb7a 11/13/2012 10:56 PM Brandon Heller

pep8: Fix E125 continuation line does not distinguish itself from next logical line

7a506047 11/13/2012 10:46 PM Brandon Heller

pep8: Fix E711, comparisons to None should use 'is' or 'is not'

Lengthy discussion of why this is a good thing (I didn't know) at SO:

http://stackoverflow.com/questions/2209755/python-operation-vs-is-not

0bd5c651 11/13/2012 10:39 PM Brandon Heller

pep8: Fix E203 whitespace before punctutation

1052f8a0 11/13/2012 10:36 PM Brandon Heller

pep8: Fix E271/E272, spaces before/after keyword

21b2c2c4 11/04/2012 04:38 AM Bob Lantz

VERSION -> 2.0.0rc1

4b1dc93b 10/30/2012 11:58 PM Bob Lantz

Avoid modifying keyword parameter dictionary in customized()