The current test case has issues while calling the testutils.dp_poll function. It will check all the received packets on the devices. According to the purpose of this test, we need to have the option --relax to ignore unrelated packets received on targeted interfaces and only care about if the certain packet is mirrored back to this target interfaces. Thus, it is better to use the function verify_packet_any_port.
The current test case has issues while calling the
testutils.dp_pollfunction. It will check all the received packets on the devices. According to the purpose of this test, we need to have the option--relaxto ignore unrelated packets received on targeted interfaces and only care about if the certain packet is mirrored back to this target interfaces. Thus, it is better to use the functionverify_packet_any_port.