/puppet-ladvd

:repeat: Puppet module to install, deploy and configure ladvd.

Primary LanguagePuppetISC LicenseISC

puppet-ladvd License badge Puppet badge

Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Development

Overview

The ladvd module enables you to install, deploy, and configure ladvd.

Module Description

Ladvd is a lldp / cdp / edp / fdp / ndp sender for Unix. Ladvd uses link-layer advertisements to inform switches about connected hosts, which simplifies Ethernet switch management. It does this by forking into a privileged parent which handles all raw sockets (and certain ioctls), and an unprivileged child which creates and parses all packets. Every 30 seconds the child generates advertisement frames reflecting the current system state. Interfaces (bridge, bonding, wireless), capabilities (bridging, forwarding, wireless) and addresses (IPv4, IPv6) are detected dynamically. Secondly ladvd can listen for incoming frames and utilize these for various features (protocol auto-enable, logging, interface descriptions).

https://github.com/sspans/ladvd

Setup

You can use all the variables you can find in the manual : http://www.linuxcertif.com/man/8/ladvd/. We use all default values in templates.

class { 'ladvd':
  enable  => true,
}

Usage

Run as daemon

class { 'ladvd':
  package       => true,
  service       => true,
  enable        => true,
  ladvd_options => '-a -r'
}

Run one time

class { 'ladvd':
  package       => true,
  service       => false,
  enable        => true,
  ladvd_options => '-a -o'
}

Development

Dalenys modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can't access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve so feel free to contribute on GitHub.

Thanks https://github.com/puppetlabs/ for help to write this README :)

    ╚⊙ ⊙╝
  ╚═(███)═╝
 ╚═(███)═╝
╚═(███)═╝
 ╚═(███)═╝
  ╚═(███)═╝
   ╚═(███)═╝