canonical / charm-lldpd

LLDPd charm
Other
1 stars 8 forks source link

Overview

Purpose of this charm is to install and configure LLDP daemon (lldpd). LLDP is used by network administrators to detect how machines are connected to switches and routers.

Usage

Start by installing the lldpd charm and relating it to another application, e.g.

juju deploy ubuntu juju deploy lldpd

juju integrate lldpd ubuntu

Being a subordinate charm it needs to be related to an application running on physical machine, in the above case the Ubuntu charm.

Scale out Usage

By scaling your application, subordinate charm will get installed automatically.

Known Limitations and Issues

Deploying LLDP to an LXD container or virtual machine may not work as expected due to network bridges for virtual infrastructure not passing through LLDP frames.

Configuration

By default, LLDPd will listen on all interfaces and pick, more or less, a random systemid. Two given configuration options allow user to specify which interfaces will be used to broadcast LLDP data and which will be used for systemid.

One additional option, i40e-lldp-stop, is included because some Intel NICs block user-space LLDP generated data and instead broadcast their own. By setting this option to True (default), NIC's built-in LLDP daemon will be disabled, if such a NIC has been discovered on the system.