Puppet Class: lldpd
- Defined in:
- manifests/init.pp
Overview
Installs and manages the LLDP agent.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'manifests/init.pp', line 32
class lldpd (
Optional[Array[String, 1]] $addresses,
Optional[Array[String, 1]] $chassis_id,
Optional[Integer[1, 4]] $class,
Variant[Boolean, Enum['force']] $enable_cdpv1,
Variant[Boolean, Enum['force']] $enable_cdpv2,
Variant[Boolean, Enum['force']] $enable_edp,
Variant[Boolean, Enum['force']] $enable_fdp,
Variant[Boolean, Enum['force']] $enable_lldp,
Variant[Boolean, Enum['force']] $enable_sonmp,
Boolean $enable_snmp,
Optional[Array[String, 1]] $interfaces,
String $package_name,
String $service_name,
Optional[Variant[Stdlib::Absolutepath, Tuple[Stdlib::IP::Address::NoSubnet, Stdlib::Port]]] $snmp_socket,
) {
contain lldpd::install
contain lldpd::config
contain lldpd::service
Class['lldpd::install'] -> Class['lldpd::config'] ~> Class['lldpd::service']
}
|