ansible.builtin.cnos_lldp (v2.9.27) — module

Manage LLDP configuration on Lenovo CNOS network devices.

| "added in version" 2.8 of ansible.builtin"

Authors: Anil Kumar Muraleedharan (@amuraleedhar)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

This module provides declarative management of LLDP service on Lenovc CNOS network devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Enable LLDP service
  cnos_lldp:
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Disable LLDP service
  cnos_lldp:
    state: absent

Inputs

    
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.

Outputs

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