alliedtelesis.awplus.awplus_lldp_interfaces (1.0.0) — module

Manage link layer discovery protocol (LLDP) attributes of interfaces on AlliedWare Plus devices.

| "added in version" 2.9 of alliedtelesis.awplus"

Authors: Cheng Yi Kok (@cyk19)

preview | supported by network

Install collection

Install with ansible-galaxy collection install alliedtelesis.awplus:==1.0.0


Add to requirements.yml

  collections:
    - name: alliedtelesis.awplus
      version: 1.0.0

Description

This module manages link layer discovery protocol (LLDP) attributes of interfaces on AlliedWare Plus devices.

Inputs

    
state:
    choices:
    - merged
    - replaced
    - overridden
    - deleted
    default: merged
    description:
    - The state of the configuration after module completion
    type: str

config:
    description: A dictionary of LLDP options
    elements: dict
    suboptions:
      med_tlv_select:
        description:
        - Selection of LLDP MED TLVs to send
        - NOTE, if med-tlv-select is configured idempotency won't be maintained as AlliedWare
          Plus device doesn't record configured med-tlv-select options is already configured
          or not from the device side. If you try to apply med-tlv-select option in every
          play run, Ansible will show changed as True.
        suboptions:
          inventory_management:
            description:
            - LLDP MED Inventory Management TLV
            type: bool
        type: dict
      name:
        description:
        - Full name of the interface
        required: true
        type: str
      receive:
        description:
        - Enable LLDP reception on interface.
        type: bool
      tlv_select:
        description:
        - Selection of LLDP type-length-value i.e. TLVs to send
        - NOTE, if tlv-select is configured idempotency won't be maintained as AlliedWare
          Plus device doesn't record configured tlv-select options. As such, Ansible cannot
          verify if the respective tlv-select options is already configured or not from
          the device side. If you try to applu tlv-select option in every play run, Ansible
          will show changed as True.
        suboptions:
          power_management:
            description:
            - IEEE 802.3 DTE Power via MDI TLC
            type: bool
        type: dict
      transmit:
        description:
        - Enable LLDP transmission on interface
        type: bool
    type: list

Outputs

after:
  description: The resulting configuration model invocation.
  returned: when changed
  sample: "The configuration returned will always be in the same format\n of the parameters\
    \ above.\n"
before:
  description: The configuration prior to the model invocation.
  returned: always
  sample: "The configuration returned will always be in the same format\n of the parameters\
    \ above.\n"
commands:
  description: The set of commands pushed to the remote device.
  returned: always
  sample:
  - command 1
  - command 2
  - command 3
  type: list