ansible / ansible.builtin / v2.4.6.0-1 / module / vyos_lldp_interface Manage LLDP interfaces configuration on VyOS network devices | "added in version" 2.4 of ansible.builtin" Authors: Ricardo Carrillo Cruz (@rcarrillocruz) preview | supported by networkansible.builtin.vyos_lldp_interface (v2.4.6.0-1) — module
pip
Install with pip install ansible==2.4.6.0.post1
This module provides declarative management of LLDP interfaces configuration on VyOS network devices.
- name: Enable LLDP on eth1 net_lldp_interface: state: present
- name: Enable LLDP on specific interfaces net_lldp_interface: interfaces: - eth1 - eth2 state: present
- name: Disable LLDP globally net_lldp_interface: state: disabled
- name: Create aggregate of LLDP interface configurations vyos_lldp_interface: aggregate: - name: eth1 - name: eth2 state: present
- name: Delete aggregate of LLDP interface configurations vyos_lldp_interface: aggregate: - name: eth1 - name: eth2 state: absent
name: description: - Name of the interface LLDP should be configured on. state: choices: - present - absent - enabled - disabled default: present description: - State of the LLDP configuration. aggregate: description: List of interfaces LLDP should be configured on.
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: - set service lldp eth1 - set service lldp eth2 disable type: list