Bob Lantz
226a1dc391
Minor edits
2013-09-11 12:00:13 -07:00
Bob Lantz
ec810dd6db
minor edits
2013-09-11 12:00:13 -07:00
Bob Lantz
5493212578
Add tests for OVS user switch (skipping hifi test for now)
...
test_hifi.py currently fails for OVS when datapath=user -
we should look at this and fix it.
2013-09-11 12:00:13 -07:00
Bob Lantz
45d365f98b
Need a few more skipUnless() checks.
2013-09-11 12:00:12 -07:00
Bob Lantz
94324e3f46
Skip IVS and UserSwitch tests if they are not installed
2013-09-11 12:00:12 -07:00
Bob Lantz
d2762938b7
Increase timeout (for lengthy hifi test)
2013-09-11 12:00:12 -07:00
Bob Lantz
765d126ee9
Delete leftover TAP interface from OVS with datapath=user
...
fixes #199
2013-09-11 12:00:12 -07:00
Bob Lantz
896c4cbccc
Edits for 2.1.0
2013-09-11 12:00:12 -07:00
Bob Lantz
325074981c
Initial text and version updates for 2.1.0
2013-09-11 12:00:12 -07:00
Bob Lantz
b26f38a6aa
Added CONTRIBUTORS file
2013-09-11 12:00:12 -07:00
Bob Lantz
67f9d8f655
Remove qcow2 post conversion; drop unused etree dep
2013-08-26 11:46:25 -07:00
Bob Lantz
c353e60913
correction: pexpect.timeout -> TIMEOUT
2013-08-25 18:06:22 -07:00
Bob Lantz
662fb712bc
Detect failed iso download; begin virt-image support
2013-08-25 17:42:15 -07:00
Bob Lantz
28165f7b4e
Check make test results
2013-08-25 16:27:43 -07:00
Bob Lantz
dbcfda77d9
Update release URLS - should probably clean this up.
2013-08-25 15:51:56 -07:00
Bob Lantz
1dfa7776e1
Change to extract kernel and initrd
2013-08-25 15:25:04 -07:00
Bob Lantz
40a9c15345
Remove gigantic doxypy/texlive/fonts from install.sh -a
...
fixes #192
2013-08-25 13:55:50 -07:00
Bob Lantz
3dc3e066aa
Update build directory name to include date.
2013-08-24 13:57:36 -07:00
Bob Lantz
bbf808c347
Get rid of unused pexpect import.
2013-08-23 21:27:01 -07:00
Bob Lantz
4556e06fcf
Fix erroneous tab hit before commit.
2013-08-23 21:25:07 -07:00
Bob Lantz
f605a4e430
Works, more or less.
2013-08-23 20:33:25 -07:00
Bob Lantz
fa1758b950
First draft of new world order (create build image from iso)
2013-08-23 17:26:46 -07:00
Bob Lantz
14903d6a05
Final gasp of cloud image version.
2013-08-22 18:40:10 -07:00
Bob Lantz
94954177e5
Added support for creating a volume rather than a raw partition.
2013-08-21 21:18:11 -07:00
Bob Lantz
85dfac5c06
Many more improvements.
2013-08-20 13:31:15 -07:00
Bob Lantz
860bcc02c6
Minor changes and script evolution.
2013-08-20 13:31:15 -07:00
Bob Lantz
4daeeff0e3
Created first revision of VM build script.
2013-08-20 13:31:15 -07:00
Bob Lantz
786117dd49
Merge branch 'ivs' of https://github.com/rlane/mininet into rlane-ivs
...
Conflicts:
util/install.sh
fixes #159
2013-07-31 18:20:18 -07:00
Bob Lantz
9c4b734361
Fix indentation in LinearTopo()
2013-07-30 11:52:53 -07:00
Bob Lantz
5b48a7d92c
Reimplemented and corrected Graph as MultiGraph
...
fixes #172
2013-07-30 11:51:32 -07:00
Bob Lantz
679a3f1915
Don't stop data network controllers twice.
2013-07-09 14:34:37 -07:00
Bob Lantz
e2eb95a29f
Add $ to avoid h1 matching h10
2013-07-06 14:14:25 -07:00
Bob Lantz
10be691b86
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.
2013-07-04 19:27:57 -07:00
Bob Lantz
fcdb6d8a54
Remove unneeded line.
2013-07-04 00:45:08 -07:00
Bob Lantz
32502bbd1a
Add controlnet.py example.
2013-07-04 00:41:30 -07:00
Bob Lantz
aa554d985d
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.
2013-06-26 06:21:59 -07:00
Bob Lantz
804c4bbfa6
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...
2013-06-26 06:14:43 -07:00
Bob Lantz
1a658054ab
Ensure dpid is a valid hex string in OVSSwitch
2013-06-26 05:00:30 -07:00
Bob Lantz
33e39a2471
Fix some pylint messages.
2013-06-25 20:26:06 -07:00
Bob Lantz
538a856c2f
Add Switch.connected() and OVSSwitch.controllerUUIDs()
2013-06-25 20:16:25 -07:00
Bob Lantz
877e7efb5f
Minor comment change and text change.
2013-06-25 19:39:53 -07:00
Bob Lantz
bdd43beaf3
Clean up (and fix) OVSSwitch fast reconnect
2013-06-25 19:31:27 -07:00
Bob Lantz
307d60a0c8
Replace /etc/hostname entirely; clarify sources.list edit
2013-06-25 16:35:26 -07:00
Bob Lantz
12758046e1
Fix setDefaultRoute to work with passed parameters.
2013-06-25 12:51:43 -07:00
Bob
9aaf87c19b
Fix typo.
2013-06-25 01:06:00 -06:00
Bob
400bbbac11
Update archive for 13.04
2013-06-25 01:04:45 -06:00
Bob
226eae97cb
Add script completion message
2013-06-24 14:34:53 -06:00
Bob Lantz
2de621cda0
"file blocks" -> "disk blocks"
2013-06-19 17:27:33 -07:00
Bob Lantz
5c5a1eae8a
Use dd to zero out disk space (hopefully faster)
2013-06-19 17:26:39 -07:00
Bob Lantz
8f113b48cc
vm_cleanup: add apt-get autoremove, and zero disk blocks
2013-06-19 16:58:00 -07:00
Bob Lantz
949e0b3aff
Separate VM finalization as install.sh -tc
2013-06-19 16:32:54 -07:00
Bob
448ac9dcd4
Merge pull request #150 from MurphyMc/ovs_fast_reconnect
...
node: Make OVS switches reconnect quickly
2013-06-19 12:22:28 -07:00
Bob Lantz
dd21df3ce4
Don't flush ALL routes and enable OPTIONAL default route/gw
...
fixes #152 hopefully
2013-06-17 17:09:54 -07:00
Bob Lantz
3484389dcd
Add NAT script to examples.
2013-06-12 14:57:13 -07:00
Bob
ace0977930
Merge pull request #149 from MurphyMc/ovs_userspace_v2
...
node: Allow OVSSwitch to run in userspace mode
2013-06-06 18:35:39 -07:00
Bob Lantz
2a079911b5
Clarify controllers.py and add RemoteController
2013-06-03 17:10:12 -07:00
Bob Lantz
5fae96eb6e
Change to only split once so that cargs='--foo=1 --bar=2' works.
...
fixes #144
2013-06-03 15:37:56 -07:00
Bob Lantz
e3d07bc1a0
Add 'x' command to open an X11 tunnel (and run a client)
...
fixes #142
2013-05-28 22:10:27 -07:00
Bob
f53866d0c0
Merge pull request #140 from fasaxc/patch-1
...
Fix method name mismatch for setDefaultRoute.
This seems to be logically correct according to the intention of the code, but it may cause some trouble because routes will now be flushed by Mininet.configHosts().
2013-05-23 15:38:41 -07:00
Bob Lantz
294bbad407
Display usage information if there are extra arguments
...
Fixes #130
2013-05-22 18:04:35 -07:00
Bob
83e43a42d9
Merge pull request #135 from adferguson/adf-vm-script-fix
...
tiny fix to vm script
2013-05-22 16:02:43 -07:00
Bob Lantz
2485d57f66
Edits to pass code check and make style consistent.
2013-05-22 15:40:12 -07:00
Bob Lantz
1ea5c91fcc
Update host's IP address during name-IP substitution
...
fixes #139
2013-05-22 15:06:10 -07:00
Bob Lantz
76c5b9d021
Add ovs-controller to shutdown list
2013-05-22 15:03:48 -07:00
Bob Lantz
229f112ff3
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
2013-04-29 14:04:46 -07:00
Bob Lantz
6c22e057cc
Avoid false matches and detect multiple host processes
2013-04-12 13:30:50 -07:00
Bob Lantz
7bc10ebc7a
Fix X11 forwarding (broken by no IPv6) for real
2013-04-09 23:26:08 -07:00
Bob Lantz
c3f975aef8
Move IPv6 disable to 'other', and fix X11 forwarding
...
should fix #128
2013-04-09 22:46:49 -07:00
Bob Lantz
0f6bf4ce84
start xterm with TERM=ansi to preserve title from bash.bashrc
...
fixes #128
2013-04-09 20:10:55 -07:00
Bob Lantz
33c7e46492
Use __NR_setns so that setns has the right syscall # in 32-bit mode
...
fixes #127
2013-04-09 19:38:36 -07:00
Bob
7c920edc29
Merge pull request #125 from adferguson/adf-tc-renumber
...
Adjust numbering to support tc-based switch QoS
This looks fine to me - probably we want to change the way this works eventually, but for now renumbering it is fine and we can change the numbering later if desired.
2013-04-09 14:59:41 -07:00
Bob Lantz
e5a15ced01
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
2013-03-28 18:14:24 -07:00
Bob Lantz
c771b2d75a
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
2013-03-24 16:14:04 -07:00
Bob Lantz
477e84adba
More code check nits.
2013-03-24 15:58:48 -07:00
Bob Lantz
3482d941e1
Fix code check.
2013-03-24 14:48:20 -07:00
Bob Lantz
1bf1a4d5e9
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
2013-03-22 18:38:33 -07:00
Bob Lantz
a0f69d98df
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
2013-03-22 15:48:51 -07:00
Bob Lantz
4b8b4b73e1
Clean up options and fix of13 to use sudo for netbee
2013-03-21 16:44:44 -07:00
Bob Lantz
eca5a151a4
Fix usage message to note correct options and OS compatibility.
...
closes #85
2013-03-21 14:38:46 -07:00
Bob
4efd372223
Merge pull request #116 from yamahata/install-test-mar-2013
...
tools/install.sh: catch up oftest change
Looks fine to me.
2013-03-21 14:12:50 -07:00
Bob Lantz
8838c30ea1
Remove non-functional --prefixlen (use --ipbase instead)
2013-03-13 16:18:04 -07:00
Bob Lantz
8204a1b694
fix --ipbase: fix ipAdd() and remove unused default from ipStr()
2013-03-13 16:16:20 -07:00
Bob Lantz
bd558875f3
Add net['h1'] and for node in net support
...
thanks to Brian O'Connor for reminder + suggestion
closes #114
2013-03-08 18:28:21 -08:00
Bob Lantz
31fe4f1bd0
Fix pmonitor() to not return blank lines on EOF
...
fixes #109 (hopefully)
2013-03-06 17:26:52 -08:00
Bob Lantz
dcb3036b70
Change to use addLink() interface for symmetry/consistency.
2013-03-06 16:55:47 -08:00
Bob Lantz
9734d9d7fa
Add configuration to disable IPv6, since old method no longer works.
...
fixes #108
2013-03-06 16:06:59 -08:00
Bob Lantz
23c70f609d
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
2013-02-28 19:14:37 -08:00
Bob Lantz
f018137207
Updated to reflect new controllers.py and old controllers2.py
2013-02-28 17:59:14 -08:00
Bob Lantz
ad09c1e086
Add new example of making a custom Switch() class.
2013-02-28 17:56:36 -08:00
Bob Lantz
31e1ff7154
Rename controllers.py to controllers2.py since it's less convenient.
2013-02-28 17:55:41 -08:00
Bob Lantz
8b8bb37598
Remove unnecessary addHost() function, and clarify things a bit.
...
Fixes #102
2013-02-28 17:40:48 -08:00
Bob Lantz
0aefb0e036
Fix Node.MAC(intf) to return intf.MAC() rather than intf.IP()
...
Fixes #89 ; Thanks to Nikhil S. Menon for the bug report
2012-12-19 16:11:57 -08:00
Bob Lantz
5879c492d8
Minor clarifications.
2012-12-02 15:39:17 -08:00
Bob Lantz
ee66d53c54
Clean up INSTALL and make it markdown-friendly
...
Also fixed a few errors like the time it takes to install,
some references to NOX, etc..
Left in noxcore ref, since you can still install it.
2012-12-02 15:29:53 -08:00
Bob
f95c4a4712
Update INSTALL: git clone from github.com
...
Thanks to @xdhanz for the catch, and pull request
closes #84
2012-12-02 15:00:46 -08:00
Bob Lantz
c8b857465b
pass code check
2012-11-30 21:00:23 -08:00
Bob Lantz
21366afc54
2.0.0rc1 -> 2.0.0 final
2012-11-30 20:57:53 -08:00
Bob Lantz
0ce366b5d2
Add sudoers entry for current user using whoami
2012-11-19 17:30:09 -08:00
Bob Lantz
b96e1596b2
Change to use Intf() class rather than string for interface.
...
Was broken in 2.0.0rc1
2012-11-19 15:02:38 -08:00
Bob Lantz
3569838542
Updated for new Topo API
2012-11-19 12:32:50 -08:00