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

lldpd should not open a tfport if the dpd link doesn't exist #15

Open
Nieuwejaar opened this issue Sep 20, 2024 · 0 comments
Open

lldpd should not open a tfport if the dpd link doesn't exist #15

Nieuwejaar opened this issue Sep 20, 2024 · 0 comments
Assignees

Comments

@Nieuwejaar
Copy link
Collaborator

After restarting dpd, the qsfp0/0 uplink was not recreated by RPW. Despite that, lldpd continued to listen on tfportqsfp0_0, which prevented tfportd from cleaning up the link:

root@oxz_switch1:~# dladm show-tfport tfportqsfp0_0                                                                  
LINK        SOURCE      PORT        MACADDRESS                                                                       
tfportqsfp0_0 tfpkt0    320         a8:40:25:5:6:23                                                                  
root@oxz_switch1:~# dladm delete-tfport tfportqsfp0_0                                                                
dladm: tfport deletion failed: link busy
root@oxz_switch1:~# svcadm disable lldpd                                                                             
root@oxz_switch1:~# dladm delete-tfport tfportqsfp0_0                                                                
root@oxz_switch1:~# 

lldpd should shut down an interface's link thread if its interface goes away.

@Nieuwejaar Nieuwejaar self-assigned this Sep 20, 2024
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

No branches or pull requests

1 participant