alliedtelesis.awplus.awplus_static_route (1.2.2) — module

Manage static IP routes on AlliedWare Plus network 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.2.2


Add to requirements.yml

  collections:
    - name: alliedtelesis.awplus
      version: 1.2.2

Description

This module provides declarative management of static IP routes on AlliedWare Plus network devices.

Inputs

    
vrf:
    description:
    - VRF of the static route.

mask:
    description:
    - Network prefix mask of the static route.

state:
    choices:
    - present
    - absent
    default: present
    description:
    - State of the static route configuration.

prefix:
    description:
    - Network prefix of the static route.

next_hop:
    description:
    - Next hop IP of the static route.

aggregate:
    description: List of static route definitions.

interface:
    description:
    - Interface of the static route.

admin_distance:
    description:
    - Admin distance of the static route.

Outputs

commands:
  description: The list of configuration mode commands to send to the device
  returned: always
  sample:
  - ip route 192.168.2.0 255.255.255.0 10.0.0.1
  type: list