Forge Home

lldp

Install LLDPD RPMS and start services

7,762 downloads

7,762 latest version

4.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 1.1.1 (latest)
released Feb 4th 2016
This version is compatible with:
  • ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'byron-lldp', '1.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add byron-lldp
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install byron-lldp --version 1.1.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

byron/lldp — version 1.1.1 Feb 4th 2016

Table of Contents

  1. Overview
  2. Module Description - Why LLDP?
  3. Setup - The basics of getting started with lldp
  4. Usage - Configuration options and additional functionality
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Overview

This module installs & starts lldpd

Module Description

If you want to be able to do LLDP on your switching gear, this module installs the supported daemons.

lldpd supports several discovery protocols and is smart enough to select the right protocol on each interface:

  • LLDP, of course
  • CDP (Cisco)
  • EDP (Extreme)
  • SONMP (Nortel)
  • FDP (Foundry)

It is able to advertise the following TLV:

  • System name and description
  • Port name and description
  • VLAN ID and names
  • IPv4/IPv6 management address
  • MAC/PHY information
  • MDI power (802.3af and 802.3at)
  • Link aggregation
  • Network policies (LLDP-MED)
  • Location (LLDP-MED)
  • Inventory (LLDP-MED)

More info on LLDPD: http://vincentbernat.github.io/lldpd/

Setup

What lldp affects

  • installs native lldpd for Ubuntu/Debian
  • Installs OpenSuse RPMS for all Redhat Distros
  • Sets LLDPD service to start

Beginning with lldp

class { '::lldp': }

Usage

Nothing fancy, it just is a simple file/service module. You can disable the yum repo by setting the params to false if you want to simply use your own repos with lldpd rpms

Limitations

I test against Debian & Redhat. PR's for other platforms happily accepted.

Development

Super simple module built on the awesome Puppet Module Skeleton framework (https://github.com/garethr/puppet-module-skeleton) . Open a PR if you have anything you would like to add or fork and make it your own

I would like to see modules and the community move to puppet 4 en masse. What can we do to make that happen?