Skip to content

Latest commit

 

History

History
165 lines (97 loc) · 3.68 KB

REFERENCE.md

File metadata and controls

165 lines (97 loc) · 3.68 KB

Reference

Table of Contents

Classes

Classes

lldpd

Installs and manages the LLDP agent.

Examples

Declaring the class
include lldpd
Enabling CDPv1 and CDPv2
class { 'lldpd':
  enable_cdpv1 => true,
  enable_cdpv2 => true,
}
Enable SNMP support
class { 'lldpd':
  enable_snmp => true,
  snmp_socket => ['127.0.0.1', 705],
}

Parameters

The following parameters are available in the lldpd class:

addresses

Data type: Optional[Array[String, 1]]

List of IP addresses to advertise as the management addresses.

chassis_id

Data type: Optional[Array[String, 1]]

List of interfaces to use for choosing the MAC address used as the chassis ID.

class

Data type: Optional[Integer[1, 4]]

Set the LLDP-MED class.

enable_cdpv1

Data type: Variant[Boolean, Enum['force']]

Disable, enable, or force Cisco Discovery Protocol version 1. Both this and the below parameter are combined to form an overall CDP setting, not all combinations are supported by lldpd.

enable_cdpv2

Data type: Variant[Boolean, Enum['force']]

Disable, enable, or force Cisco Discovery Protocol version 2. Both this and the above parameter are combined to form an overall CDP setting, not all combinations are supported by lldpd.

enable_edp

Data type: Variant[Boolean, Enum['force']]

Disable, enable, or force the Extreme Discovery Protocol.

enable_fdp

Data type: Variant[Boolean, Enum['force']]

Disable, enable, or force the Foundry Discovery Protocol.

enable_lldp

Data type: Variant[Boolean, Enum['force']]

Disable, enable, or force the Link Layer Discovery Protocol.

enable_sonmp

Data type: Variant[Boolean, Enum['force']]

Disable, enable, or force the Nortel Discovery Protocol.

enable_snmp

Data type: Boolean

Enable or disable the SNMP AgentX sub-agent support.

interfaces

Data type: Optional[Array[String, 1]]

List of interfaces to advertise on.

package_name

Data type: String

The name of the package.

service_name

Data type: String

Name of the service.

snmp_socket

Data type: Optional[Variant[Stdlib::Absolutepath, Tuple[Stdlib::IP::Address::NoSubnet, Stdlib::Port]]]

The path or IP & port pair used to establish an SNMP AgentX connection.

lldpd::config

The lldpd::config class.

lldpd::install

The lldpd::install class.

lldpd::params

The lldpd::params class.

lldpd::service

The lldpd::service class.