Bob Lantz
b78b99b695
monitor() should return on timeout; docstring changes
...
It appears that read() has been blocking for some time,
so for now it makes sense to change the documentation to
match the functionality!
It's not entirely clear if monitor() expects this functionality.
However, with the current blocking read() semantics, it should
definitely return (and not call read()) on a poll timeout.
So, we now return the poll() result from waitReadable() (which
should have done this already probably) and check it. In the
fullness of time, we still need to revisit the whole I/O API
and make sure that it is consistent, sane, correctly documented,
and used correctly in the examples.
See #588 for more comments.
2016-01-20 13:33:54 -08:00
Bob Lantz
a1bff4b035
Add python-pexpect to dependencies
...
It's used by tests and isn't large.
Fixes #587
2016-01-19 13:24:36 -08:00
Bob Lantz
0b673d7cb6
Update Ryu dependencies.
2016-01-19 13:23:43 -08:00
Bob Lantz
db134f36ae
Allow RemoteController to connect to correct port.
...
Fixes #584
2016-01-13 22:40:41 -08:00
Bob Lantz
f873068a2c
Add chown argument to change build dir owner
...
This allows Jenkins to delete a sudo build.
2016-01-13 17:16:07 -08:00
Bob Lantz
38a4000a97
Update to recent LTS and ubuntu releases.
...
Perhaps we should make this more algorithmic...
2016-01-12 01:16:26 -08:00
Bob Lantz
0f5e05c088
Handle openvswitch-testcontroller in ubuntu 15
2016-01-12 01:00:34 -08:00
Bob Lantz
65000d3245
Non-interactive installation on debian (respect -y flag!)
2016-01-11 19:18:15 -08:00
Bob Lantz
312ed1a4a5
Use our github forks of openflow, oflops for now
...
This enables us to test our changes for Ubuntu 15 (new gcc/c99)
before pushing upstream if desired.
2016-01-11 17:24:17 -08:00
lantz
ce5738b4a6
Merge pull request #533 from pichuang/node
...
Check for ovs-testcontroller in OVSController
2016-01-11 16:58:40 -08:00
lantz
447db4c77c
Merge pull request #526 from msvbhat/master
...
Fixing the install.sh in INSTALL file
2016-01-11 16:56:48 -08:00
lantz
b47aa5dadc
Merge pull request #558 from bregman-arie/master
...
Update install.sh to support RedHat distrubtion
2015-11-30 16:09:15 -08:00
lantz
af0215fb9f
Merge pull request #536 from jonohart/buildcpu
...
Add parameter for number of CPU cores to use in VM builds
2015-11-23 15:40:46 -08:00
lantz
2791333c70
Merge pull request #566 from moz/master
...
addNAT always use first switch
2015-11-23 15:33:12 -08:00
Tomasz Buchert
96ea5367db
mnexec: properly setup the mount namespace
...
Systemd's default is to mark the root mount as shared and it is
inherited as such by the new mount namespace. This means that any
mounts performed inthe new namespace will be visible by the rest of
the system, breaking privateDirs.
To restore a more sane behaviour, we explicitly mark all mounts
recursively as private, meaning that we will no longer see new mounts
from the root namespace, and our mounts will also not propagate to the
rest of the system.
Fixes #565
2015-11-18 11:47:50 -08:00
Rahman Pujianto
0298e9be7d
addNAT always use first switch
...
addNAT always use first switch even though another switch specified
2015-11-09 11:48:12 +07:00
Bob Lantz
7c6d645a0a
Workaround for cgdelete deleting cgroup but returning error
...
fixes #513
2015-10-22 16:34:05 -07:00
Arie Bregman
0c2fbaf187
Update install.sh to support RedHat distrubtion
...
Mininet installation will also work on RedHat distribution
2015-10-18 10:40:11 +03:00
Brian O'Connor
d254d7496c
Removing unnecessary braces in RemoteController
2015-09-23 16:02:55 -07:00
lantz
2c5d86f197
Merge pull request #555 from mininet/devel/of-port
...
Updating OpenFlow default port to 6653 (in Controller and RemoteController)
2015-09-23 15:36:04 -07:00
Brian O'Connor
8df24304d8
Updating OpenFlow default port to 6653
...
- Pass 6653 to controllers that Mininet starts
- Try to connect first on 6653 for RemoteController, then fallback to 6633
fixes #545
2015-09-22 17:29:50 -07:00
lantz
93b123761b
Merge pull request #541 from thinred/master
...
don't generate .pyc files on some makefile targets
2015-07-29 13:25:32 -07:00
Tomasz Buchert
cdbbb5b7a6
don't generate .pyc files on some makefile targets
2015-07-29 17:13:01 +02:00
Jonathan Hart
86af067e42
Add option for number of CPU cores to use for VM builds
2015-07-15 10:40:45 -07:00
Roan Huang
db3bffa971
Check for ovs-testcontroller in OVSController
...
The programe name changed from test-controller to ovs-testcontroller
Reference:
openvswitch/ovs 0bc1b46a38cca06023fdfa5d500c738ccdfa94e7
2015-07-07 00:11:57 +08:00
Bob Lantz
2cb17590c2
Remove blank line
...
I'm not sure whether we really need to turn off ip_forward before
flushing iptables, but it might possibly be useful to avoid certain
unexpected behavior.
2015-06-25 15:42:22 -07:00
Bob Lantz
f7601da006
Change quoting for '!'
2015-06-25 15:38:50 -07:00
lantz
65a0e5f3b6
Merge pull request #528 from pichuang/cluster
...
Fixed `whoami` output problem in cluster.py
2015-06-25 13:36:21 -07:00
Roan Huang
d5d66f1276
Fixed whoami output problem in cluster.py
...
Remove the last character when use `whoami`
2015-06-25 05:37:20 +00:00
Bob Lantz
9ed14fa0f4
Remove explicit NAT code and use built-in NAT functionality.
...
This API isn't great - we should try to improve it in the future.
2015-06-23 15:17:58 -07:00
lantz
f24ebc438e
Merge pull request #530 from jonohart/master
...
Enable NAT to use all interfaces.
2015-06-23 15:08:47 -07:00
Jonathan Hart
90d50dcbc4
Enable NAT to use all interfaces.
...
Also put the net.ipv4.ip_forward option back to what it was before on exit,
rather than always setting back to 0.
2015-06-23 13:57:19 -07:00
M S Vishwanath Bhat
ce2458c1df
INSTALL: Another trivial install.sh path fix
...
Signed-off-by: M S Vishwanath Bhat <msvbhat@gmail.com >
2015-06-14 14:12:23 +05:30
M S Vishwanath Bhat
8871893993
INSTALL: Fixing the path of install.sh
...
Signed-off-by: M S Vishwanath Bhat <msvbhat@gmail.com >
2015-06-14 14:02:31 +05:30
Bob Lantz
5f68be2273
Remove debug print
2015-06-11 00:16:55 -07:00
Bob Lantz
68ae67dc58
Support custom links in custom file
2015-06-10 20:35:53 -07:00
Bob Lantz
c4a85ab1d1
Add flush option to disable flushing iptables
2015-06-10 20:09:29 -07:00
Bob Lantz
ef3c885630
Add help regarding --nat [option=val...]
2015-06-10 20:08:44 -07:00
Bob Lantz
bb35d04102
Fix TorusTopo for UserSwitch
...
UserSwitch requires a 12-digit dpid.
2015-06-07 22:10:18 -07:00
Bob Lantz
ba05fd363b
Warn if bridge netfilter (firewall) is enabled
...
Newer linux kernels enable filtering on the linux bridge;
this can prevent it from working in mininet!
2015-06-05 16:10:21 -07:00
Brian O'Connor
e988b0f660
Merge pull request #522 from mininet/devel/torus
...
Adding number of hosts per switch option to torus topo
2015-06-05 01:45:01 -07:00
Brian O'Connor
b27cce08af
Adding number of hosts per switch option to torus topo
2015-05-27 23:45:19 -07:00
Bob Lantz
a38896c254
Avoid expanding a string into a list of chars
2015-05-16 08:24:15 -07:00
Bob Lantz
63ae13fcf9
Fix #520
2015-05-12 23:50:37 -07:00
Bob Lantz
c5f6d0ff17
Restore use of self.intf (if present) in addLink
...
fixes #515
2015-05-02 13:16:48 -07:00
Bob Lantz
ab8c4e9198
2.2.1rc1 -> 2.2.1
2015-04-16 16:05:30 -07:00
Bob Lantz
8daa4193c7
Fix typo
2015-04-15 16:21:55 -07:00
Bob Lantz
5c895eaad8
Added note on Raspberry Pi ;-)
2015-04-14 14:40:27 -07:00
Bob Lantz
435d0d68b3
-> 2.2.1rc1
2015-04-14 14:33:08 -07:00
Bob Lantz
66e9845f05
Add babisk
2015-04-13 17:58:47 -07:00