The applDB still contains entries of LLDP neighbor(s) even when the neighbor goes offline.
Steps to reproduce:
1. shutdown the interface connected to a lldp neighbor.
2. start redis-cli
3. run 'keys "*LLDP*"
4. notice disabled neighbors still in applDB
On my testbed I did:
root@sonic:~# ifconfig eth0 down
root@sonic:~# ifconfig Ethernet0 down
<<< waited until TTL (120s) expired >>>
root@sonic:~# redis-cli -n 0
127.0.0.1:6379> keys "*LLDP*"
1) "LLDP_ENTRY_TABLE:Ethernet0" <<=== should not be here
2) "LLDP_LOC_CHASSIS"
3) "LLDP_ENTRY_TABLE:eth0" <<=== should not be here
127.0.0.1:6379>
The applDB still contains entries of LLDP neighbor(s) even when the neighbor goes offline.
Steps to reproduce:
On my testbed I did:
From Linux's perspective, there are no neighbors:
version information: