scale-network
scale-network copied to clipboard
Create lldp fake neighbors test for openwrt
Description
Relates to #33
There should be a good way to fake a neighbor in lldp to confirm that the agent in our openwrt img is working correctly. We might be able to use a library called scapy
Related resources:
- https://github.com/vincentbernat/lldpd/blob/master/tests/many-neighbors.py
- https://github.com/secdev/scapy/blob/master/scapy/contrib/lldp.py
- https://montcs.bloomu.edu/VM-LAN/LAN04.asn.scapy.html
- https://sourceforge.net/projects/lldpgenerator/ (uses scapy as library)
- https://www.trickster.dev/post/scapy-low-level-packet-hacking-toolkit-for-python/ (example of scapy)
Acceptance Criteria
-
lldpagent on openwrt is testable - able to incorporate into
serverspectests