-
Notifications
You must be signed in to change notification settings - Fork 707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Test gap] Test dhcp_relay with source port ip enabled #14653
base: master
Are you sure you want to change the base?
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hold on.. |
Hi @lolyu does dualtor need this test? It would affect source IP sent from relay to DHCP server |
If it is a generic feature on T0, dualtor will need it. |
@lolyu What do you mean by 'dhcp-relay will enable source port ip on t0'? From my understanding and research, In the buildimage, only when deployment_id==8, we enable source ip in relay. |
Description of PR
Summary:
Fixes #3624
Mitigate the test gap: Test dhcp relay with source port ip in relay enabled.
Type of change
Back port request
Approach
What is the motivation for this PR?
Fixes #3624
Mitigate the test gap: Test dhcp relay with source port ip in relay enabled.
How did you do it?
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.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation