Bob Lantz
5a530af189
Remove trailing whitespace. ;-/
2014-12-01 15:39:44 -08:00
Bob Lantz
3c9f5ad56e
Disable pep8 whitespace errors
2014-12-01 15:38:38 -08:00
Bob Lantz
c5d9e0e03c
Set default route in one cmd line to avoid dc'ing root NS
...
Usually you won't want to create a node in the root namespace,
and usually you won't want to use the Mininet API to set your
(real) default route, but if you do then you will probably want
to use a single command line to avoid disconnecting an SSH
session while we wait for the reulst of the 'ip route del default
command.
2014-12-01 15:10:44 -08:00
lantz
7a411b6bb5
Merge pull request #453 from cdburkard/master
...
update examples README with new examples
2014-11-25 13:01:31 -08:00
Bob Lantz
4219b22978
2.2.0b2
2014-11-24 19:35:34 -08:00
lantz
08ab7e8de7
Merge pull request #452 from mininet/nat-cmd
...
Updating NAT class to use gateway interface
2014-11-24 19:13:33 -08:00
lantz
3ef6bcface
Additional info about --nat and LinuxRouter
2014-11-24 19:04:15 -08:00
lantz
015cd9e776
Merge pull request #443 from cdburkard/devel/cluster
...
use rcmd instead of quietRun when shutting down remote nodes
2014-11-24 12:30:52 -08:00
Bob Lantz
3d44bcdcc4
MiniNet -> Mininet
2014-11-23 17:32:11 -08:00
Bob Lantz
1817cbc3a4
Pass pyflakes
2014-11-23 17:31:43 -08:00
Bob Lantz
e0bf8ece3c
Minor code cleanup
2014-11-23 17:17:21 -08:00
Bob Lantz
37bdf14b49
Rename examples.{intfOptions,multiLink} -> {intfoptions,multilink}
2014-11-23 17:11:06 -08:00
Bob Lantz
292e69f89a
Renamed to intfoptions.py for consistency
2014-11-23 17:07:32 -08:00
Bob Lantz
dd876e69c8
DemoCLI -> ClusterCLI
2014-11-23 17:04:07 -08:00
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
lantz
596fd9d0c6
Merge pull request #449 from cdburkard/devel/cluster_controlPaths
...
use ControlPersist ssh option to fix ControlPath shutdown
2014-11-23 14:59:11 -08:00
Bob Lantz
474f68600e
Make pylint happier for no particular reason
2014-11-23 11:13:54 -08:00
Bob Lantz
50774e407c
Remove unused imports
2014-11-23 11:11:03 -08:00
Bob Lantz
8e63e2c540
Fix undefined sleep()
2014-11-23 11:10:43 -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
Bob Lantz
f0f9907b9d
Add setup() and dpctl() methods for LinuxBridge
...
Also adds docstrings.
Fixes #422
2014-11-19 09:32:56 -08:00
Bob Lantz
c4fc630413
Correctly call cli() rather than CLI()
2014-11-19 09:18:05 -08:00
Bob Lantz
aabbf29542
Revert to old "Adding controller" message
2014-11-19 08:58:17 -08:00
lantz
d37d6ecd99
Merge pull request #241 from moijes12/fix44
...
(pending) Create test_switchdpidassignment.py
2014-11-20 14:14:14 -08:00
Bob Lantz
e4db698184
Fix indentation error so we don't wait forever.
2014-11-19 05:58:36 -08:00
lantz
e661a4b1c3
Merge pull request #447 from rlane/ivs-verbose-off
...
IVSSwitch: turn off verbose logging by default
2014-11-20 11:56:42 -08:00
Bob Lantz
9e0c1549f4
Only uninstall ntpd on COW disk.
2014-11-19 04:59:23 -08:00
Bob Lantz
55b455e9ae
Fix typo in depend()
2014-11-19 03:20:48 -08:00
Bob Lantz
3534f77761
Remove extra git clone line
2014-11-12 18:31:10 -08:00
Bob Lantz
64bbaeccc4
Add doxygen-latex if needed (14.04+)
2014-11-12 17:45:36 -08:00
Bob Lantz
de002b0d9a
Remove ^S which was in this file (thanks emacs bindings)
2014-11-12 17:39:50 -08:00
Bob Lantz
307302ed32
Clarify dependencies
2014-11-12 15:52:53 -08:00
Bob Lantz
a60f77ad36
Clarify checking out a version, and add Debian/Fedora
2014-11-12 15:50:41 -08:00
Bob Lantz
383c3fb3e4
in-line documentation link
2014-11-12 15:50:24 -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
Bob Lantz
377d1b1cd8
2.2.0b0 -> 2.2.0b1
2014-11-12 13:33:34 -08:00
Bob Lantz
dde2263fe7
Disable shared SSH connections by default.
...
Note that we do still provide a default if you specify
ControlPath=True
2014-11-12 13:29:58 -08:00
Bob Lantz
434619053a
Satisfy pyflakes by making a local cli variable
2014-11-12 13:12:22 -08:00
Bob Lantz
b739cd11c8
Remove obsolete util.custom(), and make custom() a method
2014-11-12 13:08:36 -08:00
lantz
bc6ef0dad8
Merge pull request #435 from mininet/devel/custom
...
Adding support for multiple custom files
2014-11-12 12:25:46 -08:00
Bob Lantz
0f0fe82350
Fix typo, ugh.
2014-11-11 00:14:11 -08:00
Bob Lantz
6be4bfd026
Avoid mirrors.kernel.org for now
2014-11-10 23:31:08 -08:00
Bob Lantz
d9d209f34d
Update from official archive since mirror seems to be failing
2014-11-10 23:00:56 -08:00
Bob Lantz
2059786f7b
Use sudo -n when talking to VM
2014-11-10 22:45:42 -08:00
lantz
6008f987d3
Merge pull request #436 from cdburkard/patches/plot
...
fix plot command to work when standard classes are present
2014-11-11 11:54:56 -08:00
Bob Lantz
635e8f11f3
Add -q option to apt-get for quieter logging
2014-11-10 19:37:11 -08:00
Bob Lantz
9b5fa1d7ed
Always chdir() to current working directory.
2014-11-10 16:57:12 -08:00
Bob Lantz
1955e90493
Minor cleanup.
2014-11-10 16:50:24 -08:00
Bob Lantz
222e87daeb
Rearrange init code slightly.
2014-11-10 16:48:20 -08:00
Bob Lantz
a89ccb789e
Fix problem of ssh'ing into "localhost" on a remote node.
2014-11-10 16:46:43 -08:00
lantz
2013b7ae81
Merge pull request #428 from cdburkard/patches/cluster_servers
...
standardize on localhost for local server's name
2014-11-10 16:23:59 -08:00
Bob Lantz
3e1100b71a
Clarify MultiTopo docstrs and copy addLInk opts
...
Note: it's a bit confusing, but we need to copy the link
parameter dicts (since we update them with node info), but we
can share the node dicts. Perhaps we should copy the node
dicts as well...
2014-11-10 15:18:05 -08:00
lantz
086afe852b
Merge pull request #434 from cdburkard/patches/cluster_x11
...
wrap the title string in quotes so that bash interprets it correctly
2014-11-10 14:12:39 -08:00
Bob Lantz
abcdf18547
Uninstall ntpd to disable it more reliably
2014-11-10 14:09:35 -08:00
Bob Lantz
4a304688f4
Select TCP Reno and run iperf for a longer time interval
...
The hope is that this will make the results a bit more consistent
when running in a VM environment.
2014-11-10 12:39:55 -08:00
Bob Lantz
d3377bf911
Add seconds option to iperf()
2014-11-10 12:37:54 -08:00
Bob Lantz
481cbea10c
Update mininet docs ref to markdown format
2014-11-07 15:23:18 -08:00
Bob Lantz
b817cbc0ed
Update documentation link
2014-11-07 15:12:12 -08:00
lantz
15275048b6
Merge pull request #433 from mininet/devel/update-version-2.2b0
...
Initial update of README, text files and versions for 2.2.0b0
2014-11-07 16:58:12 -08:00
lantz
3baccfee3a
Merge pull request #416 from mininet/devel/multitopo
...
Multi-link topology support
2014-11-07 16:16:25 -08:00
Bob Lantz
bb76c21275
Use 2.2.0b0 for consistency with earlier Mininet releases
2014-11-07 15:08:15 -08:00
Bob Lantz
c92c4efb66
Add a few clarifying comments
2014-11-07 13:47:03 -08:00
Bob Lantz
39203484a6
Make port1, port2 truly optional and don't pass them to Link()
2014-11-07 13:42:50 -08:00
Bob Lantz
2a2d605074
Get rid of paramDict and simplify things a bit
2014-11-07 13:40:00 -08:00
Bob Lantz
083322a217
Draft update for Mininet 2.2b0
2014-11-06 12:05:55 -08:00
Bob Lantz
8225105cf2
Fix to allow more flexible version numbers
2014-11-06 12:05:33 -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
060d46a282
Set VM date based on host date.
...
This should fix #398 for real; note that if we try to shut down ntpd
right at boot, it doesn't work! ;-(
However, setting the Unix time in the traditional manner using seconds
since 1970 should do the trick!
2014-11-05 16:18:13 -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
lantz
ec9f02c7ab
Merge pull request #424 from cdburkard/devel/mergePrivate
...
merge HostWithPrivateDirs into Node
2014-11-04 15:09:20 -08:00
lantz
f75bee62b5
Merge pull request #429 from cdburkard/patches/cluster_m
...
ensure we retrieve a single PID when run on a cluster node
2014-11-04 12:49:08 -08:00
Bob Lantz
e77123cf0e
Remove unnecessary 0
2014-11-03 14:25:09 -08:00
Bob Lantz
8dea57d271
Ignore link info when sorting links.
2014-11-03 14:20:01 -08:00
Bob Lantz
634761b8a7
Fix edges() and add convertTo() to Topo() (with keys option)
2014-11-03 12:59:53 -08:00
Bob Lantz
01aac350fa
Remove unused edgeinfo
2014-11-03 12:43:52 -08:00
Bob Lantz
f6de358b06
Try to prime the pump to avoid PACKET_INs during iperf test
...
Background: the reference controller is reactive and installs exact
match rules. By attempting to start a telnet session we make sure that
the ARP caches and TCP flow rules are set up (in one direction at
least) before the test starts.
This is intended to help with #413
2014-10-31 15:06:15 -07:00
Bob Lantz
ba8ea8f0cc
Return (src, dst) in original order, and allow keys + data
2014-10-28 20:43:10 -07:00
Bob Lantz
eab4ea3fb9
Minor fixes
2014-10-28 17:05:00 -07:00
Bob Lantz
38ce329e7e
Allow Mininet() to accept multi-link topos w/correct params.
2014-10-28 16:06:53 -07:00
Bob Lantz
94f088d7e8
Allow natural sort to accept non-strings.
2014-10-28 16:06:53 -07:00
Bob Lantz
89fb081983
First crack at fixing multiple links
...
* Makes MultiGraph more like networkx.multigraph
* Adds converTo method
* Synchronizes node1 with xxx1 in link options
2014-10-28 15:50:06 -07:00
lantz
aae0affae4
Merge pull request #411 from cdburkard/devel/cli_usage
...
add cli usage information
2014-10-14 13:42:40 -07:00
lantz
8190e81ba8
Merge pull request #410 from cdburkard/patches/tshark_walkthrough_1404
...
support wireshark versions greater than 1.11 in test_walkthrough
2014-10-14 13:36:24 -07:00
lantz
16a2a6dc55
Merge pull request #400 from cdburkard/patches/fixEmptyPing
...
Mininet crashes when running ping between two hosts with no interfaces
2014-10-13 18:11:19 -07:00
lantz
b7999978f9
Merge pull request #409 from cdburkard/patches/cleanup_tests
...
if a test fails or exits with an error, run cleanup as a precaution
2014-10-13 18:06:44 -07:00
Bob Lantz
e1711f357a
Use server receive rate rather than client send()/buffering rate
...
Fixes #412
2014-10-13 17:52:47 -07:00
Bob Lantz
501eb4f916
Add more information for test condition failure
2014-10-13 13:52:43 -07:00
lantz
5eca0802d2
Merge pull request #407 from cdburkard/patches/baresshd_waitListening
...
wait for sshd to start in baresshd example
2014-10-10 12:33:45 -07:00
Bob Lantz
6159e923e6
Add VM port forwarding option: --forward tcp:2222:22
2014-10-09 14:30:09 -07:00
Bob Lantz
2ceb57915a
Merge branch 'cdburkard-patches/test_walkthrough'
2014-10-07 16:11:03 -07:00
Bob Lantz
61c144b9f6
Minor fixes to wireshark test
2014-10-07 16:08:57 -07:00
lantz
8537e8d9fa
Merge pull request #404 from cdburkard/patches/default_cli
...
use node.pexec() to update IP address of intf instead of node.cmd()
2014-10-07 14:27:46 -07:00