mininet-wifi中OVSKernelAP与UserAP的区别

OVSKernelAPUserAP的区别。
一个是openf vSwitch,一个是用户空间的。

from mininet.wifi.node import OVSKernelAP
OVSKernelAP = OVSAP
class OVSAP(AP):
    "Open vSwitch AP. Depends on ovs-vsctl."

    def __init__(self, name, failMode='secure', datapath='kernel',
                 inband=False, protocols=None,
                 reconnectms=1000, stp=False, batch=False, **params):
        """name: name for switch
           failMode: controller loss behavior (secure|open)
           datapath: userspace or kernel mode (kernel|user)
           inband: use in-band control (False)
           protocols: use specific OpenFlow version(s) (e.g. OpenFlow13)
                      Unspecified (or old OVS version) uses OVS default
           reconnectms: max reconnect timeout in ms (0/None for default)
           stp: enable STP (False, requires failMode=standalone)
           batch: enable batch startup (False)"""

猜你喜欢

转载自blog.csdn.net/caiqiiqi/article/details/79747596