alliedtelesis.awplus.awplus_lldp_global (1.0.0) — module

Configure and manage Link Layer Discovery Protocol(LLDP) attributes 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 configures and manages the Link Layer Discovery Protocol (LLDP) attributes on AlliedWare Plus platforms.

Inputs

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

config:
    description: A dictionary of LLDP options
    suboptions:
      enabled:
        description:
        - Enable LLDP
        type: bool
      holdtime:
        description:
        - LLDP holdtime (in sec) to be sent in packets.
        - Refer to vendor documentation for valid values.
        type: int
      reinit:
        description:
        - Specify the delay (in secs) for LLDP to initialize.
        - Refer to vendor documentation for valid values.
        - NOTE, if LLDP reinit is configured with a starting value, idempotency won't
          be maintained as the AlliedWare Plus device doesn't record the starting reinit
          configured value. As such, Ansible cannot verify if the respective starting
          reinit value is already configured or not from the device side. If you try to
          apply starting reinit value in every play run, Ansible will show changed as
          True. For any other reinit value, idempotency will be maintained since any other
          reinit value is recorded in the AlliedWare Plus device.
        type: int
      timer:
        description:
        - Specify the rate at which LLDP packets are sent (in sec).
        - Refer to vendor documentation for valid values.
        type: int
    type: dict

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