forked from sonic-net/sonic-buildimage
-
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.
Fix system capabilities parsing issue. (sonic-net#111)
* Fix system capabilities parsing issue. For lldp_rem_sys_cap_supported, lldp_rem_sys_cap_enabled, lldp_loc_sys_cap_supported, and lldp_loc_sys_cap_enabled objects, shall converts string to hex bytes. * Extract as a function for system capability parsing * Add mock data and test case for lldpLocSysCapSupported * Add test cases for lldpLocSysCapEnabled, lldpRemSysCapSupported, and lldpRemSysCapEnabled.
- Loading branch information
1 parent
e364884
commit 28f9e5d
Showing
3 changed files
with
64 additions
and
2 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
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