kernelkit / infix

Linux :yellow_heart: NETCONF = Infix
https://kernelkit.org
GNU General Public License v2.0
50 stars 12 forks source link

Infamy: add LLDP discover/client/scanner #126

Closed troglobit closed 1 year ago

troglobit commented 1 year ago

The test infix_services/services_basic.py is disabled due to it failing intermittently. It fails befcause sometimes LLDP packets are not received by the test.

https://github.com/kernelkit/infix/actions/runs/6021644894/job/16334888103?pr=124

To speed up the test, and remove any uncertainties we need an LLDP scanner class in Infamy. This in turn requires, at the very least, socat in the Docker image.

troglobit commented 1 year ago

New docker image, v0.7, with socat introduced in f58a726

troglobit commented 1 year ago

Dunno what I was smoking, but ChatGPT does not know how to write a script to scan for LLDP neighbors using socat. Only way to reduce the risk of the discover test failing (due to missing LLDP frames) is to increasedecrease the TX interval, e.g. using txFast.

troglobit commented 1 year ago

Replaced with #181