Closed zbud-msft closed 1 month ago
The pre-commit check detected issues in the files touched by this pull request. The pre-commit check is a mandatory check, please fix detected issues.
Detailed pre-commit check results:
trim trailing whitespace.................................................PassedTo run the pre-commit checks locally, you can follow below steps:
pre-commit
package is installed:
sudo pip install pre-commit
pre-commit install
pre-commit
pre-commit run --from-ref <commit_id> --to-ref <commit_id>
The pre-commit check detected issues in the files touched by this pull request. The pre-commit check is a mandatory check, please fix detected issues.
Detailed pre-commit check results:
trim trailing whitespace.................................................PassedTo run the pre-commit checks locally, you can follow below steps:
pre-commit
package is installed:
sudo pip install pre-commit
pre-commit install
pre-commit
pre-commit run --from-ref <commit_id> --to-ref <commit_id>
The pre-commit check detected issues in the files touched by this pull request. The pre-commit check is a mandatory check, please fix detected issues.
Detailed pre-commit check results:
trim trailing whitespace.................................................PassedTo run the pre-commit checks locally, you can follow below steps:
pre-commit
package is installed:
sudo pip install pre-commit
pre-commit install
pre-commit
pre-commit run --from-ref <commit_id> --to-ref <commit_id>
The pre-commit check detected issues in the files touched by this pull request. The pre-commit check is a mandatory check, please fix detected issues.
Detailed pre-commit check results:
trim trailing whitespace.................................................PassedTo run the pre-commit checks locally, you can follow below steps:
pre-commit
package is installed:
sudo pip install pre-commit
pre-commit install
pre-commit
pre-commit run --from-ref <commit_id> --to-ref <commit_id>
Hi @StormLiangMS, can we have this in 202311?
@zbud-msft PR conflicts with 202405 branch
Description of PR
Summary: Fixes # (issue) 26636373
Type of change
Back port request
Approach
What is the motivation for this PR?
Add support for dhcp-relay-discard event, which we use ptfadapter to and ptf.testutils to send a dhcp discover packet to a port that has no ipv4 address assigned.
Add support for dhcp-relay-disparity event which uses same repro for dhcp-relay-disparity but at greater intervals and packets sent due to dhcpmon configuration
How did you do it?
Added new testcase that triggered sending dhcp discover packet which will trigger event.
How did you verify/test it?
Pipeline/Manual test
run_events_test.run_test L0027 INFO | events received:
run_events_test.run_test L0027 INFO | events received:
run_events_test.run_test L0027 INFO | events received:
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation