community.general.onyx_lldp (0.1.1) — module

Manage LLDP configuration on Mellanox ONYX network devices

Authors: Samer Deeb (@samerd)

preview | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

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