alliedtelesis.awplus.awplus_lacp (1.2.2) — module

Manage Global Link Aggregation Control Protocol (LACP) on AlliedWare Plus devices.

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

Authors: Ansible Network Engineer

preview | supported by network

Install collection

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


Add to requirements.yml

  collections:
    - name: alliedtelesis.awplus
      version: 1.2.2

Description

Manages the global attributes of AlliedWare Plus Link Aggregation Control Protocol (LACP)

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Using merged
#
# Before state:
# -------------
# awplus#show lacp sys-id
# System Priority: 0x8000 (32768)
# MAC Address: 001a.eb94.27bb

- name: Merge provided configuration with device configuration
  alliedtelesis.awplus.awplus_lacp:
    config:
      system:
        priority: 123
    state: merged
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# After state:
# ------------
# aw1#show lacp sys-id
# System Priority: 0x007b (123)
# MAC Address: 001a.eb94.27bb


# Using deleted
#
# Before state:
# -------------
# aw1#show lacp sys-id
# System Priority: 0x007b (123)
# MAC Address: 001a.eb94.27bb

- name: Delete global lacp attibute
  alliedtelesis.awplus.awplus_lacp:
    state: deleted

Inputs

    
state:
    choices:
    - merged
    - deleted
    default: merged
    description:
    - The state the configuration should be left in
    type: str

config:
    description: The provided configuration.
    suboptions:
      system:
        description: This option sets the default system parameters for LACP.
        suboptions:
          priority:
            description:
            - LACP system priority. Lower numerical values have higher priorities. Integer
              range 1-65535.
            required: true
            type: int
        type: dict
    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:
  - lacp system-priority 6700
  type: list