community / community.network / 5.0.2 / module / cnos_lldp Manage LLDP configuration on Lenovo CNOS network devices. Authors: Anil Kumar Muraleedharan (@amuraleedhar)community.network.cnos_lldp (5.0.2) — module
Install with ansible-galaxy collection install community.network:==5.0.2
collections: - name: community.network version: 5.0.2
This module provides declarative management of LLDP service on Lenovc CNOS network devices.
- name: Enable LLDP service community.network.cnos_lldp: state: present
- name: Disable LLDP service community.network.cnos_lldp: state: absent
state: choices: - present - absent default: present description: - State of the LLDP configuration. If value is I(present) lldp will be enabled else if it is I(absent) it will be disabled.
commands: description: The list of configuration mode commands to send to the device returned: always, except for the platforms that use Netconf transport to manage the device. sample: - lldp timer 1024 - lldp trap-interval 330 type: list