Skip to content

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

Open
inspurSDN wants to merge 1 commit intosonic-net:masterfrom
inspurSDN:sc_pr
Open

Lldp_syncd parse system capacities in wrong method, update sys_cap(key) : value#51
inspurSDN wants to merge 1 commit intosonic-net:masterfrom
inspurSDN:sc_pr

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