Whitespace changes in OVSSwitch.
Merge pull request #316 from cdburkard:patches/fix_remote_ip
fixed netParse bug that caused mininet crash when no ip prefix was specified
Merge pull request #313 from cdburkard/master
ovs port numbering bug fix
Merge pull request #310 from rlane/ivs-verbose
IVSSwitch: add an option to control the --verbose flag
conforming to mininet python style
removing debugging messages
rearranged code for elegance
adding ovs version detection to fix port numbering bug
net: allow batch shutdown of multiple types of switches
Each switch class will be called to shutdown its own instances.
IVSSwitch: support batch shutdown
Not a single command like the OVS one, but it still greatly decreases theshutdown time.
This does assume that stop() is called after batchShutdown(), which is true inthe current mininet code.
Merge pull request #303 from jhall11/pingall
Add a timeout parameter to the pingAll command
Add ability for for OVS switch start connect to controllers using protocols other than TCP.
net.addController( 'c0', protocol='ssl' )
This now allows OVS to connect to a controller using SSL. The default of protocol is 'tcp'as it currently is.
Merge pull request #286 from lantz/devel/ovsbatch
Enable batch startup/shutdown of OVS
Not perfect, but it moves us forward at least.
Merge pull request #290 from backb1/patch/netstatnumeric
Netstat: do not resolve addresses
Merge pull request #293 from backb1/patch/pingloss
Ping: packet loss should be a float
Merge pull request #289 from rlane/ivs-wait
IVSSwitch: wait for ivs to terminate before tearing down node
This was a problem when running IVS in a container. IVS would begin the processof closing controller connections on receiving SIGTERM, but often mininet wouldhave continued on and removed the control network interface from the container...
persistent command history
Saves readline history to ~/.mininet_history.
Don't look through all interfaces if you don't need to.
Use a single ovs-vsctl command for speed/atomicity
Enable batch shutdown for OVS.
assertTrue( a > b ) -> assertGreater( a, b ) for better messages
Fix default of in-band control for OVS.fixes #279
Add support for batch shutdown of OVS switches.
This saves about 10 seconds for a 200 switch network.
Clean things up slightly.
Try batch deleting OVS instances.
Remove mn links with dots in them (e.g. foo_bar-baz1.2-eth0)
Minor tweak of return value.
Check (and canonicalize) dpid arguments to Switch()
This seems slightly ugly, but it has bitten many people.
Merge pull request #263 from adferguson/clean-fix
adjust regex for finding mininet's links during cleanup
Canonicalize dpid by removing colons and padding with zeroscloses #268
Merge pull request #249 from yeasy/master
Close the file when done with it.
Merge pull request #252 from sieben/useless_parenthesis
Merge pull request #266 from adferguson/if_namesize
print error messages when making interfaces
userspace switch can be reached on unix port by dpctl
without this, thereis no indication in Mininet that creating aninterface has failed. for example, this may happen when the interfacename is too long (longer than IFNAMSIZ, which is 16 chars).
don't crash when link is TCLink but without options
caused by optimized return in link.py#275 in TCIntf.config()
link names of the form "a-b-ethN" were previously interpretedas "b-ethN". this change accepts link names with a dash, andrequires N to only contain digits.
Correct the comments of do_pingallfull() and do_iperfudp()
node: kill entire process group in terminate
mnexec already puts the shell into its own process group. Killing the entireprocess group cleans up after any background processes the user left running.
Do not resolve addresses
Minor codecheck fixes
2.1.0 -> 2.1.0+
fixing CLI host rewriting when host's default interface does not have an IP
Fix error wiki url.
IVSSwitch: bring up lo interface
setLogLevel('warning') to avoid test spam
fixed git download for testRemoteController in test_walkthrough.py
Merge branch 'master' of github.com:mininet/mininet
adding runner to mininet/test, added test_walkthrough.py
Merge pull request #210 from rlane/ivs-opts
IVSSwitch: support opts constructor parameter
This parameter is already supported by the other switch classes.
removing assert from util.py
Updated mininet/util.py to support better resource setting semantics and protected with try block
One last code check fix: line too long
Pass code check
add spaces to satisfy pylint ;-p
code check fixes & add comment spaces
print usage message for unknown command
Check for `Connected` in checkListening()
codecheck: removed unused variable in topo.py
removing todos in net.py
changed CLI to MininetFacade; a great deal of logic also changed
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.
Need a few more skipUnless() checks.
Skip IVS and UserSwitch tests if they are not installed
Delete leftover TAP interface from OVS with datapath=userfixes #199
Initial text and version updates for 2.1.0
updating setup to include examples
Some cleanup and style fixes for fixlimits
Cleaned up sysctl and rlimit test and setUse files instead of sysctl to set limits
add sysctl test and setfixes #184
fixed comment in cli.py
Made net compliant with dict semantics and added function commentsFixed locals bug (now they are persisent across calls)
Replaced nodelist and nodemap in CLI with mnUpdated Mininet to be more compliant with dictFixes #182
Removing test prints from user switch merge
Merge branch 'adf-userswitch-tclink' of github.com:adferguson/mininet into adferguson-adf-userswitch-tclinkOnly sleep and reapply if slicing is enabled
Merging MurphyMc LinearTopo pull request
Merge branch 'ivs' of https://github.com/rlane/mininet into rlane-ivs
Merge pull request #181 from mininet/devel/ping
pingall now reports fraction received
pingall now reports fraction receivedfixes #168
Fix indentation in LinearTopo()
Reimplemented and corrected Graph as MultiGraphfixes #172
Prevent Mininet from crashing when display not setfixes #173
improved check for downed link in parsePingFullfixes #176
Merge pull request #174 from pantuza/master
Dynamic Network with Remote Controller example; Extended LinearTopo
Simplified and refactored examples/dynamicnet.pyExtended LinearTopo to support mulitple hosts per switch
IVSSwitch: support running IVS in a namespace
This change uses the `Node.cmd` method instead of `Popen`. The `cmd` methodsends the input to a shell which may be in another namespace (if --innamespaceis in use), while `Popen` would always run in the root namespace.
clean: send SIGTERM before SIGKILL
IVS needs to be sent SIGTERM so it has a chance to clean up the kerneldatapath.
Fix issue with mountCgroups not recognizing mounted cgroup
Changed mountCgroups to use the file /proc/mounts (instead of thecurrent case where it uses the less reliable(http://email@example.com/msg00455.html)/etc/mtab thorugh the mount program