MCPcopy Create free account
hub / github.com/F-Stack/f-stack / test_os_udp

Method test_os_udp

dpdk/dts/tests/TestSuite_os_udp.py:26–40  ·  view source on GitHub ↗

Steps: Send a UDP packet. Verify: The packet with proper addresses arrives at the other TG port.

(self)

Source from the content-addressed store, hash-verified

24 self.configure_testbed_ipv4()
25
26 def test_os_udp(self) -> None:
27 """
28 Steps:
29 Send a UDP packet.
30 Verify:
31 The packet with proper addresses arrives at the other TG port.
32 """
33
34 packet = Ether() / IP() / UDP()
35
36 received_packets = self.send_packet_and_capture(packet)
37
38 expected_packet = self.get_expected_packet(packet)
39
40 self.verify_packets(expected_packet, received_packets)
41
42 def tear_down_suite(self) -> None:
43 """

Callers

nothing calls this directly

Calls 3

get_expected_packetMethod · 0.80
verify_packetsMethod · 0.80

Tested by

no test coverage detected