sonic-buildimage/dockers/docker-lldp
tomer-israel 43b2e5eff4 Dynamic port configuration - solve lldp issues when adding/removing ports (#9386)
#### 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
2022-03-27 19:30:16 -07:00
..
base_image_files [Monit] Deprecate the feature of monitoring the critical processes by Monit (#7676) 2021-06-04 10:16:53 -07:00
critical_processes [docker] Correct the lldp-syncd program name in critical_process file. (#4862) 2020-06-28 11:08:30 -07:00
docker-lldp-init.sh [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
Dockerfile.j2 [docker-lldp]: sonic advertise meaningful SysDescription instead of debian (#6114) 2021-01-06 12:24:57 -08:00
lldpd [dockers] Rename 'docker-lldp-sv2' to 'docker-lldp' (#4700) 2020-06-09 09:09:56 -07:00
lldpd.conf.j2 [lldp]: Add verification IPv4 address on LLDP conf Jinja2 Template (#5699) 2020-11-07 10:30:41 -08:00
lldpdSysDescr.conf.j2 [docker-lldp]: sonic advertise meaningful SysDescription instead of debian (#6114) 2021-01-06 12:24:57 -08:00
lldpmgrd Dynamic port configuration - solve lldp issues when adding/removing ports (#9386) 2022-03-27 19:30:16 -07:00
start.sh [docker-lldp]: sonic advertise meaningful SysDescription instead of debian (#6114) 2021-01-06 12:24:57 -08:00
supervisord.conf.j2 [dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7083) 2021-03-27 21:14:24 -07:00
waitfor_lldp_ready.sh [dockers] Rename 'docker-lldp-sv2' to 'docker-lldp' (#4700) 2020-06-09 09:09:56 -07:00