Statistics
| Branch: | Tag: | Revision:

mininet / mininet @ e1205a8a

Name Size Revision Age Author Comment
  test e1205a8a over 8 years Brandon Heller Add a simple unit test for link/host creation w...
__init__.py 71 Bytes 80a8fa62 over 11 years Bob Lantz First crack at restoring mininet python style, ...
clean.py 2.01 KB a49c85a6 over 9 years Bob Lantz Fix examples to work with new API (and vice-ver...
cli.py 11.5 KB edf60032 over 8 years Brandon Heller pep8: fix E128 continuation line under-indented...
link.py 14.6 KB 2e089b5e over 8 years Brandon Heller pep8: Fix E127 continuation line over-indented ...
log.py 5.99 KB edf60032 over 8 years Brandon Heller pep8: fix E128 continuation line under-indented...
moduledeps.py 2.39 KB edf60032 over 8 years Brandon Heller pep8: fix E128 continuation line under-indented...
net.py 23.9 KB bcfb3009 over 8 years Brandon Heller small refactor: put function to ensure root in ...
node.py 39.7 KB bf208cde over 8 years Brandon Heller Fix SSHD example by generalizing input intf arg...
term.py 1.91 KB e3f6ecca about 11 years Bob Lantz Pass codecheck.
topo.py 7.25 KB 2e089b5e over 8 years Brandon Heller pep8: Fix E127 continuation line over-indented ...
topolib.py 1.12 KB ce15c4f6 almost 9 years Bob Lantz rename Topo() methods for consistency: add_node...
util.py 15.1 KB bcfb3009 over 8 years Brandon Heller small refactor: put function to ensure root in ...

Latest revisions

# Date Author Comment
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

View revisions

Also available in: Atom