net_lldp – Manage LLDP service configuration on network devices¶
New in version 2.4.
|Removed in Ansible:|
|Why:||Updated modules released with more functionality|
|Alternative:||Use platform-specific “[netos]_lldp_global” module|
- This module provides declarative management of LLDP service configuration on network devices.
State of the LLDP service configuration.
- This module is supported on
ansible_network_osnetwork platforms. See the Network Platform Options for details.
- name: Enable LLDP service net_lldp: state: present - name: Disable LLDP service net_lldp: state: absent
Common return values are documented here, the following are the fields unique to this module:
|always, except for the platforms that use Netconf transport to manage the device.||
The list of configuration mode commands to send to the device
['set service lldp']