Bob Lantz
d4be92713a
Merge del-br into cmd, and add reconnectms param
...
With newer versions of OVS, this allows us to set up a switch
with a single OVS command (if reconnectms is zero.) If reconnectms
is specified, then it slows things down slightly (but not much.)
11 years ago
Bob Lantz
79f5d39db5
Comment edits and pass code check
11 years ago
Bob Lantz
6da3fcdef1
Add bridges s1-s3 to topology and explain some details
11 years ago
Bob Lantz
026130bd5f
pass code check
11 years ago
Bob Lantz
c1b48fb5c8
Stub out RemoteOVSSwitch.batchShutdown()
...
Eventually we should implement true batch shutdown.
In the mean time, we just ignore it. Note there's no good
way that I know of for a subclass to remove a superclass
method, so we changed the protocol a bit to require a return
value of True.
11 years ago
Bob Lantz
b1983548aa
Fix indentation error
11 years ago
Bob Lantz
c62812a944
Update cluster.py for new makeIntfPair
11 years ago
Bob Lantz
d66b96260a
Don't stop switches that we've already stopped.
...
Note that this also changes the way that links are deleted;
the reason is that the batch shutdown doesn't currently delete
the links, but OVSSwitch.stop() does. We may wish to revisit
this in the future.
11 years ago
Bob Lantz
d7e9c3bbfd
Add comment about redundant intf.delete()
11 years ago
Bob Lantz
7a4a865bdb
customize makeIntfPair to eliminate fastIntfPair
11 years ago
Bob Lantz
da4dcf3753
Add addresses to fastIntfPair() and fix codecheck
11 years ago
Bob Lantz
5383b0e603
Update comment to reflect OVS patch link limits
11 years ago
Bob Lantz
9d2e6404b3
add fastIntfPair to speed up link creation
11 years ago
Bob Lantz
91a73bd191
use isinstance( intf, OVSIntf )
11 years ago
Bob Lantz
c069542c5c
Add OVSLink/--link ovs, which uses OVS patch links when possible
11 years ago
Bob Lantz
127f35a9bc
Revert to using OVS default OpenFlow versions.
...
It makes sense to follow Open vSwitch's lead here.
OVS 2.3 enables OpenFlow 1.0 through 1.3 by default.
OVS 2.0 has incomplete support for 1.3, but you can enable
it with protocols=OpenFlow13
11 years ago
Bob Lantz
171e815122
Set OVSSwitch default protocols to OpenFlow10,OpenFlow13
...
For OVS versions 1.9 or earlier, this setting is ignored.
11 years ago
Bob Lantz
3ac5cafe53
Fix code minor code check errors
11 years ago
Bob Lantz
a7ad739036
Disable IPv6 via grub command line
...
Unfortunately disabling IPv6 via sysctl doesn't actually
disable it on all of the interfaces by default. Disabling
it via grub disables it entirely in the VM.
Helps with #454
11 years ago
Bob Lantz
a84bec9709
Disable splash and quiet individually (more robust)
11 years ago
Bob Lantz
05dbf82edb
Correctly set controller backoff for OVS.
...
Also report connected in standalone/bridge mode
Fixes #460
Conflicts:
mininet/node.py
11 years ago
Bob Lantz
c75eb47158
2.2.0rc1 -> 2.2.0
11 years ago
Bob Lantz
9945864a32
2.2.0rc1 -> 2.2.0rc2
...
Basically no changes except for whitespace and satisfying pep8.
11 years ago
Bob Lantz
beeea4b292
Exclude miniedit from pep8 checking for now
...
(Also untabbed comment lines, flagged by emacs et al.)
11 years ago
Bob Lantz
7a3159c9af
Spacing tweaks for pep8 checker
11 years ago
Bob Lantz
ccd6b5cd7d
version -> 2.2.0rc1 and update copyright date
11 years ago
Bob Lantz
908e85d9f9
Remove PLFMT since options are moved to .pylint
11 years ago
Bob Lantz
e341526f46
Raise line limit to 4000 for miniedit.py (see note)
...
Future versions of pylint will allow this to be disabled
in the file itself, so we can drop the limit back to
1500 or something more reasonable!!
11 years ago
Bob Lantz
03461ce908
Add 'slowtest' make target to test walkthrough, examples
11 years ago
Bob Lantz
8c37975d44
Remove erroneous self.cmd = None
11 years ago
Bob Lantz
4d55ef1132
Restore missing space in RT_GROUP_SCHED message
11 years ago
Bob Lantz
342d47cfb5
call to run() should be to runCmd()
11 years ago
Bob Lantz
554abdd57a
warn -> debug in connected; change IVS class comment
11 years ago
Bob Lantz
061598f011
Change from numeric to symbolic pylint error codes
11 years ago
Bob Lantz
d754a7ceea
Call super(deleteIntfs)
...
Maybe this is better - maybe not. ;-p
11 years ago
Bob Lantz
643c9f912f
More pylint changes...
11 years ago
Bob Lantz
4965421215
More pylint fixes...
11 years ago
Bob Lantz
18aab5b786
More pylint changes
11 years ago
Bob Lantz
b905dddf19
Reorganize and pass pylint
11 years ago
Bob Lantz
11a9c46904
Fix missing imports
11 years ago
Bob Lantz
b1ec912db5
Fixing pylint errors
11 years ago
Bob Lantz
db45b7c644
Parseable output format for newer pylint
11 years ago
Bob Lantz
2256a53830
Fix pylint error
11 years ago
Bob Lantz
03ef55672d
Add cleanup and fix pylint errors
11 years ago
Bob Lantz
c45bfab318
Add cleanup
11 years ago
Bob Lantz
b2fcab827d
Add cleanup and fix pylint errors
11 years ago
Bob Lantz
1471da95a9
Fix pylint errors
11 years ago
Bob Lantz
5a530af189
Remove trailing whitespace. ;-/
11 years ago
Bob Lantz
3c9f5ad56e
Disable pep8 whitespace errors
11 years ago
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.
11 years ago