Link-Layer Discovery Protocol is an industry standard protocol which enables network devices to exchange information about themselves with their neighbors connected over network links. This in turn can be used to locate other devices connected to a particular device and port.
The lldpd Debian package provides a lightweight lldpd daemon which implements this protocol and can be installed on Debian/Ubuntu based hosts to advertise the LLDP notifications to other devices. This might be useful in more complex environments with multiple layers of infrastructure comprised of physical hosts, virtual machines and containers.
debops.lldpd role can be used to install and manage the
lldpd service and by default will try to distinguish virtualized
hosts (VMs, containers) from physical ones to make their management easier by
changing their "ChassisID" attribute to reflect their virtualized status.
debops.lldpd - Install and configure LLDP service using Ansible Copyright (C) 2021 Maciej Delmanowski <firstname.lastname@example.org> Copyright (C) 2021 DebOps <https://debops.org/> SPDX-License-Identifier: GPL-3.0-or-later This Ansible role is part of DebOps. DebOps is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation. DebOps is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with DebOps. If not, see https://www.gnu.org/licenses/.