Skip to content
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

Lldp_syncd parse system capacities in wrong method, update sys_cap(key) : value #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

inspurSDN
Copy link

  1. Parsing system capabilities is wrong, correct the bit shifting method
  2. Correct the key type(string) mapping with enum (int)
  3. Update unit test mock table data

-What I did
Correct the bit order and system capabilities key value mapping

-How I did it
Update shift bit method

-How to verify it
Check the lldp neighbor info in appl_db, the lldp_rem_sys_cap_supported will be stated the same value as lldp packet payload(capabilities)

2. Correct the key type(string) mapping with enum (int)
3. Update unit test mock table data
@inspurSDN
Copy link
Author

@lguohan Please review the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant