alliedtelesis.awplus.awplus_vlans (1.0.0) — module

Manage VLANs on AlliedWare Plus devices.

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

Authors: Cheng Yi Kok (@cyk19), Isaac Daly (@dalyIsaac)

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 provides declarative management of VLANs 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 VLANs options
    elements: dict
    suboptions:
      name:
        description:
        - ASCII name of the VLAN
        - NOTE, I(name) should not be named/appended with I(default) as it is reserved
          for device default vlans.
        type: str
      state:
        choices:
        - enable
        - disable
        description:
        - Operational state of the VLAN
        type: str
      vlan_id:
        description:
        - ID of the VLAN. Range 1-4094
        required: true
        type: int
    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