Forge Home

lldp

Install LLDPD RPMS and start services

7,699 downloads

7,699 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.

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?