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

[202311][lldp-syncd] Fix unexpected exception in snmp-subagent (#64) #67

Closed
wants to merge 1 commit into from

Commits on Aug 1, 2024

  1. [lldp-syncd] Fix unexpected exception in snmp-subagent (sonic-net#64)

    Separate deleted and changed scearios
    deleted interfaces, delete their table key
    changed interfaces
    if lldp_rem_time_mark is only changed key, just use hset its new value. Don't delete interface table key.
    If other keys are changed as well, delete interface key and use hmset to set the whole dict into DB, instead of using hset each item one by one. This will avoid interface exists but some of its keys are not added.
    
    Signed-off-by: Zhaohui Sun <[email protected]>
    ZhaohuiS committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    88759cf View commit details
    Browse the repository at this point in the history