alliedtelesis.awplus.awplus_interfaces (1.0.0) — module

Manages attribute of AlliedWare Plus interfaces.

| "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

Manages attribute of AlliedWare Plus network interfaces

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 interface options
    suboptions:
      description:
        description:
        - Interface description.
        type: str
      duplex:
        choices:
        - full
        - half
        - auto
        description:
        - Interface link status. Applicable for Ethernet interfaces only, either in half
          duplex, full duplex or in automatic state which negotiates the duplex automatically.
        type: str
      enabled:
        default: true
        description:
        - Administrative state of the interface.
        - Set the value to C(true) to administratively enable the interface or C(false)
          to disable it.
        type: bool
      mtu:
        description:
        - MTU for a specific interface. Applicable for Ethernet interfaces only.
        - Refer to vendor documentation for valid values.
        type: int
      name:
        description:
        - Full name of interface, e.g. GigabitEthernet0/2, loopback999.
        required: true
        type: str
      speed:
        description:
        - Interface link speed. Applicable for Ethernet interfaces only.
        type: str
    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