Steps: Send a UDP packet. Verify: The packet with proper addresses arrives at the other TG port.
(self)
| 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 | """ |
nothing calls this directly
no test coverage detected