alliedtelesis / alliedtelesis.awplus / 1.0.0 / module / awplus_l3_interfaces Manage Layer-3 interface on AlliedWare Plus devices. | "added in version" 2.9 of alliedtelesis.awplus" Authors: Cheng Yi Kok (@cyk19) preview | supported by networkalliedtelesis.awplus.awplus_l3_interfaces (1.0.0) — module
Install with ansible-galaxy collection install alliedtelesis.awplus:==1.0.0
collections: - name: alliedtelesis.awplus version: 1.0.0
This module provides declarative management of Layer-3 interface on AlliedWare Plus devices
state: choices: - merged - replaced - overridden - deleted default: merged description: - The state of the configuration after module completion type: str config: description: A dictionary of Layer-3 interface options elements: dict suboptions: ipv4: description: - IPv4 address to be set for Layer-3 interface mentioned in I(name) option. The address format is <ipv4 address>/<mask>, the mask is number in range 0-32 eg. 192.168.0.1/24 elements: dict suboptions: address: description: - Configures the IPv4 address for Interface type: str dhcp_client: description: - Configures and specifies client-id to use over DHCP ip. Note, this option shall work only when dhcp is configures as IP. - GigabitEthernet interface number type: int dhcp_hostname: description: - Configures and specifies value for hostname option over DHCP ip. Note, this option shall work only when dhcp is configured as IP. type: str secondary: description: - Configures the IP address as a secondary address. type: bool type: list ipv6: description: - IPv6 address to be set for the Layer-3 interface mentioned in I(name) option. - The address format is <ipv6 address>/<mask>, the mask is number in range 0-128 eg. fd5f:12c9:2201:1::1/64 elements: dict suboptions: address: description: - Configures the IPv6 address for interface type: str type: list name: description: - Full name of the interface required: true type: str type: list
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