History | View | Annotate | Download (5.38 KB)
Remove blank line
I'm not sure whether we really need to turn off ip_forward beforeflushing iptables, but it might possibly be useful to avoid certainunexpected behavior.
Change quoting for '!'
Enable NAT to use all interfaces.
Also put the net.ipv4.ip_forward option back to what it was before on exit,rather than always setting back to 0.
Remove debug print
Add flush option to disable flushing iptables
Warn if bridge netfilter (firewall) is enabled
Newer linux kernels enable filtering on the linux bridge;this can prevent it from working in mininet!
Spacing tweaks for pep8 checker
Call super(deleteIntfs)
Maybe this is better - maybe not. ;-p
Fixing pylint errors
Remove trailing whitespace. ;-/
Updating NAT class to use gateway interface
Also, passing CLI args to NAT constructor
fixes #437
Remove unused imports
Add setup() and dpctl() methods for LinuxBridge
Also adds docstrings.Fixes #422
moving NAT to nodelib
add connected() to LinuxBridge
Add alias + switch: { 'ovs': OVSSwitch, 'lxbr': LinuxBridge }
Add nodelib.py, a library of new node types