sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
176 stars 704 forks source link

[Test Gap][lldp][T0/T1] Check the completeness of LLDP interfaces' entries in the APPL_DB #13937

Open ZhaohuiS opened 1 month ago

ZhaohuiS commented 1 month ago

Test Gap Description

Need a test gap to cover lldp index missing issue in APPL_DB. Current lldp test case only check the lldp neighbors existing or not, it doesn't check lldp entries in APPL_DB. Before PR https://github.com/sonic-net/sonic-dbsyncd/pull/64. some of interfaces are missing in snmp mib, it could cause safety check failure during buildout phase. But in fact, lldp neighbors are existing, just missing interface lldp entries in APPL_DB.

Test Plan

a new test script for lldp entries in APPL_DB checks needs to be added To check if all interfaces lldp entries are existing in APPL_DB while interface flap or after reboot, etc

Test environment

202311 and later image all hwskus

Attach files (if any)

No response

ZhaohuiS commented 1 month ago

testplan https://github.com/sonic-net/sonic-mgmt/pull/14080