Mininet Python API Reference Manual
|
TCLink with default settings optimized for UserSwitch (txo=rxo=0/False). More...
Public Member Functions | |
def | __init__ (self, *args, **kwargs) |
Public Member Functions inherited from mininet.link.Link | |
def | __init__ (self, node1, node2, port1=None, port2=None, intfName1=None, intfName2=None, addr1=None, addr2=None, intf=Intf, cls1=None, cls2=None, params1=None, params2=None, fast=True, **params) |
Create veth link to another node, making two new interfaces. More... | |
def | intfName (self, node, n) |
Construct a canonical interface name node-ethN for interface n. | |
def | makeIntfPair (cls, intfname1, intfname2, addr1=None, addr2=None, node1=None, node2=None, deleteIntfs=True) |
Create pair of interfaces. More... | |
def | delete (self) |
Delete this link. | |
def | stop (self) |
Override to stop and clean up link as needed. | |
def | status (self) |
Return link status as a string. | |
def | __str__ (self) |
Additional Inherited Members | |
Public Attributes inherited from mininet.link.Link | |
fast | |
intf2 | |
intf1 | |
TCLink with default settings optimized for UserSwitch (txo=rxo=0/False).
Unfortunately with recent Linux kernels, enabling TX and RX checksum offload on veth pairs doesn't work well with
UserSwitch | either it gets terrible performance or TCP packets with bad checksums are generated, forwarded, and dropped due to having bad checksums! OVS and LinuxBridge seem to cope with this somehow, but it is likely to be an issue with many software Ethernet bridges. |