43b2e5eff4
#### Why I did it when adding and removing ports after init stage we saw two issues: first: In several cases, after removing a port, lldpmgr is continuing to try to add a port to lldp with lldpcli command. the execution of this command is continuing to fail since the port is not existing anymore. second: after adding a port, we sometimes see this warning messgae: "Command failed 'lldpcli configure ports Ethernet18 lldp portidsubtype local etp5b': 2021-07-27T14:16:54 [WARN/lldpctl] cannot find port Ethernet18" we added these changes in order to solve it. #### How I did it port create events are taken from app db only. lldpcli command is executed only when linux port is up. when delete port event is received we remove this command from pending_cmds dictionary #### How to verify it manual tests and running lldp tests #### Description for the changelog Dynamic port configuration - solve lldp issues when adding/removing ports |
||
---|---|---|
.. | ||
base_image_files | ||
critical_processes | ||
docker-lldp-init.sh | ||
Dockerfile.j2 | ||
lldpd | ||
lldpd.conf.j2 | ||
lldpdSysDescr.conf.j2 | ||
lldpmgrd | ||
start.sh | ||
supervisord.conf.j2 | ||
waitfor_lldp_ready.sh |