ansible / ansible.builtin / v2.9.27 / module / cnos_lldp Manage LLDP configuration on Lenovo CNOS network devices. | "added in version" 2.8 of ansible.builtin" Authors: Anil Kumar Muraleedharan (@amuraleedhar) preview | supported by communityansible.builtin.cnos_lldp (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
This module provides declarative management of LLDP service on Lenovc CNOS network devices.
- name: Enable LLDP service cnos_lldp: state: present
- name: Disable LLDP service 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