EthernetPacket

class mtf.mtf_types.EthernetPacket

Ethernet packet class, to set and get the ethernet packet attributes

source_ip: str = None
destination_ip: str = None
source_mac: str = None
destination_mac: str = None
__init__(source_ip: str | None = None, destination_ip: str | None = None, source_mac: str | None = None, destination_mac: str | None = None, source_port: str | None = None, destination_port: str | None = None, eth_payload: list[int] | None = None, vlan_code: int | None = None) None
source_port: str = None
destination_port: str = None
eth_payload: list[int] = None
vlan_code: int = None