There are a few open source implementations of LLDP. Others include openlldp and ladvd. As far as I'm aware this is the only one that can integrate with net-snmp to allow network mapping programs to remotely query the machine's cache of lldp data in the same way most switches do. Reproducible: Always
Created attachment 181317 [details] initial ebuild Note: At present this won't compile with the snmp USE flag enabled. This is because the current net-snmp ebuild (5.4.2.1) omits a few header files from its installation that are required for lldpd's snmp subagent to build successfully. Copying some files from the net-snmp source across as follows: cp agent/mibgroup/struct.h /usr/local/include/net-snmp/agent cp agent/mibgroup/util_funcs.h /usr/local/include/net-snmp cp agent/mibgroup/mibincl.h /usr/local/include/net-snmp/library cp agent/mibgroup/header_complex.h /usr/local/include/net-snmp/agent I guess this bit should be a bug for net-snmp...
Created attachment 181318 [details] files/lldpd.initd: init script
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Created attachment 198830 [details] net-misc/lldpd-0.4.0 new version attached.
Created attachment 198832 [details, diff] patch for net-analyzer/net-snmp (In reply to comment #1) > Note: At present this won't compile with the snmp USE flag enabled. This is > because the current net-snmp ebuild (5.4.2.1) omits a few header files from its > installation that are required for lldpd's snmp subagent to build successfully. I wrote a patch for net-analyzer/net-snmp to resolve this. Add epatch "${FILESDIR}/${PN}-fix-agent-headers.patch" to function src_unpack in the net-snmp ebuild.
net-misc/lldpd-0.5.6 has been committed to the Portage tree a few days ago.