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

Manage LLDP configuration on Mellanox ONYX network devices

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

Authors: Samer Deeb (@samerd)

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 configuration on Mellanox ONYX network devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Enable LLDP protocol
  onyx_lldp:
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Disable LLDP protocol
  onyx_lldp:
    state: lldp

Inputs

    
state:
    choices:
    - present
    - absent
    default: present
    description:
    - State of the LLDP protocol configuration.

Outputs

commands:
  description: The list of configuration mode commands to send to the device
  returned: always.
  sample:
  - lldp
  type: list