forked from sonic-net/sonic-platform-daemons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding frequency grid validation for ZR optics (sonic-net#466)
* Update test_xcvrd.py Added test case for frequency config validation for ZR optics * Update xcvrd.py Added change to call validation routine for laser frequency grid check. * Added 100Ghz grid check * Addresses indentation xcvrd.py * Updated xcvrd.py with proper return enum values * Updated test cases for coverage * Update for code optimisation * Added frequency and grid information is failure cases * renamed the function to validate_frequency_and_grid
- Loading branch information
1 parent
759862e
commit 6655396
Showing
2 changed files
with
52 additions
and
11 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