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.
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.
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
Added output line to ping that is closer to ping program output
Fixed divide by 0 error in ping command when no packets are sentfixes #143
tests: run all tests with OVS, IVS, and userspace switches
Each switch gets its own class so that the test results are listed separately.
Removing unused import in mininet/link.py
Style changes in mininet/node.py and removing used import in mininet/link.py
CPULimitedHost cleanup() calls superclass methodfixes #161
clean: kill ivs processes
clean: don't wait forever for ovsdb
This could happen if OVS was installed but not running.
Clean up intfs in root NS, and avoid deleting HW intfs
It appears that under certain conditions, such as when anamespace exits, both ends of a veth pair may get dumpedinto the root namespace. We therefore now remove an interfaceboth from its home namespace and from the root namespace.
IVSSwitch: remove namespace warnings
IVS works fine using --innamespace.
IVSSwitch: use ovs-ofctl for dpctl functionality
IVSSwitch: add support for dpctl
dpctl is not included with IVS. The user will need to obtain it from theOpenFlow reference repository.
test_hifi: use SWITCH to pick the switch class
add support for the IVS virtual switch
IVS is an open source virtual switch available for download athttps://github.com/floodlight/ivs. It uses the openvswitchkernel module.
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 nowthis enables one or the other depending on the dpopts setting.
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 thinkabout it and also see if any one is using it...
Ensure dpid is a valid hex string in OVSSwitch
Fix some pylint messages.
Add Switch.connected() and OVSSwitch.controllerUUIDs()
Minor comment change and text change.
Clean up (and fix) OVSSwitch fast reconnect