You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of PR
Summary:
Fixessonic-net#3624
Mitigate the test gap: Test dhcp relay with source port ip in relay enabled.
Approach
What is the motivation for this PR?
Fixessonic-net#3624
Mitigate the test gap: Test dhcp relay with source port ip in relay enabled.
How did you do it?
Enhance dhcp_relay ptf test to verify the src_ip in relay packets
Add a fixture which modify deployment_id to 8 and enable source port ip in relay
Add a test case exactly same with test_dhcp_relay_default but include fixture enable_source_port_ip_in_relay.
How did you verify/test it?
Run on local dev vm,
dhcp_relay/test_dhcp_relay.py::test_interface_binding PASSED [ 12%]
dhcp_relay/test_dhcp_relay.py::test_dhcp_relay_default PASSED [ 25%]
dhcp_relay/test_dhcp_relay.py::test_dhcp_relay_with_source_port_ip_in_relay_enabled PASSED [ 37%]
dhcp_relay/test_dhcp_relay.py::test_dhcp_relay_after_link_flap PASSED [ 50%]
dhcp_relay/test_dhcp_relay.py::test_dhcp_relay_start_with_uplinks_down PASSED [ 62%]
dhcp_relay/test_dhcp_relay.py::test_dhcp_relay_unicast_mac PASSED [ 75%]
dhcp_relay/test_dhcp_relay.py::test_dhcp_relay_random_sport PASSED [ 87%]
dhcp_relay/test_dhcp_relay.py::test_dhcp_relay_counter SKIPPED (skip...) [100%]
and PR test will test it again.
co-authorized by: jianquanye@microsoft.com
Description
This is to test the new feature in sonic-net/sonic-buildimage#7055
The text was updated successfully, but these errors were encountered: