Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 807 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 807 Bytes

puppet-lldp

Overview

Link Layer Discovery Protocol aka LLDP is usefull to discover neighbors connected on your servers. This module will install lldptool binary to find out the name and port of the switch where your server is connected on.

Environment

  • Tested with RedHat OS family upper or equal than version 6
  • Enable LLDP feature on each switch

Usage:

If you want to deploy this feature on each server you can use facts to filter cases as follows:

if $::virtual == 'physical' and $::operatingsystem == 'CentOS' and $::operatingsystemrelease =~ /^6/ {
   include lldp
}

Ouptut Example:

switch_name_eth0 => N5K1
switch_name_eth1 => N5K2
switch_port_eth0 => Ethernet116/1/22
switch_port_eth1 => Ethernet117/1/22