alliedtelesis / alliedtelesis.awplus / 1.1.0 / module / awplus_ping Tests reachability using ping from AlliedWare Plus network devices | "added in version" 2.9 of alliedtelesis.awplus" Authors: Cheng Yi Kok (@cyk19), Isaac Daly (@dalyIsaac) preview | supported by communityalliedtelesis.awplus.awplus_ping (1.1.0) — module
Install with ansible-galaxy collection install alliedtelesis.awplus:==1.1.0
collections: - name: alliedtelesis.awplus version: 1.1.0
Tests reachability using ping from switch to a remote destination.
For a general purpose network module, see the M(net_ping) module.
For Windows targets, use the M(win_ping) module instead.
For targets running Python, use the M(ping) module instead.
vrf: default: default description: - The VRF to use for forwarding. dest: description: - The IP Address or hostname (resolvable by switch) of the remote node. required: true count: default: 5 description: - Number of packets to send. state: choices: - absent - present default: present description: - Determines if the expected result is success or fail. source: description: - The source IP Address.
commands: description: Show the command sent. returned: always sample: - ping vrf prod 10.40.40.40 count 20 source loopback0 type: list packet_loss: description: Percentage of packets lost. returned: always sample: 0% type: str packets_rx: description: Packets successfully received. returned: always sample: 20 type: int packets_tx: description: Packets successfully transmitted. returned: always sample: 20 type: int rtt: description: Show RTT stats. returned: always sample: avg: 2 max: 8 min: 1 type: dict