-
Notifications
You must be signed in to change notification settings - Fork 750
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test case for trap flow counter feature (#4456)
What is the motivation for this PR? Add test case for trap flow counter feature. How did you do it? This new test case is verifying the packet send number and packet rate. Test flow is like: * Enable and clear trap flow counter * Send packets via ptf * Verify the send number equals to the counter value, and the send rate is close to counter value How did you verify/test it? Manually run the test Any platform specific information? Any platform that support trap flow counter
- Loading branch information
1 parent
9d1e34c
commit c630ea1
Showing
2 changed files
with
218 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters