TunnelController

class mtf.network_port.tunnel_controller.TunnelController
__init__(channel_name: str)
set_vlan(tap_name: str = '', inner_vlan: c_ulong = 0, outer_vlan: c_ulong = 0, inner_vlan_ethertype: c_ushort = 33024, outer_vlan_ethertype: c_ushort = 37120, inner_priority_tag: c_ubyte = 0, outer_priority_tag: c_ubyte = 0, inner_cfi: c_bool = False, outer_cfi: c_bool = False) None
set_physical_callback(callback_funtion=None) None
set_virtual_callback(tap_name: str = '', callback_funtion=None) None
start() None
stop() None