mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Clarify which ping module to use (#34935)
* Clarify which ping module to use Ensure each of the ping modules link to each other ping - Requires Python on remote-node nxos_ping - Only on Cisco NXOS ios_ping - Only on Cisco IOS net_ping - For network devices win_ping - only for Windows
This commit is contained in:
parent
4ba7b005f5
commit
db61f8f967
5 changed files with 26 additions and 3 deletions
|
@ -13,9 +13,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
DOCUMENTATION = r'''
|
||||
---
|
||||
module: ios_ping
|
||||
short_description: Tests reachability using ping from IOS switch
|
||||
short_description: Tests reachability using ping from Cisco IOS network devices
|
||||
description:
|
||||
- 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.
|
||||
author:
|
||||
- Jacob McGill (@jmcgill298)
|
||||
version_added: '2.4'
|
||||
|
@ -45,6 +48,10 @@ options:
|
|||
- The VRF to use for forwarding.
|
||||
required: false
|
||||
default: default
|
||||
notes:
|
||||
- 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.
|
||||
'''
|
||||
|
||||
EXAMPLES = r'''
|
||||
|
|
|
@ -29,6 +29,9 @@ version_added: "2.1"
|
|||
short_description: Tests reachability using ping from Nexus switch.
|
||||
description:
|
||||
- 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.
|
||||
author:
|
||||
- Jason Edelman (@jedelman8)
|
||||
- Gabriele Gerbino (@GGabriele)
|
||||
|
@ -57,6 +60,10 @@ options:
|
|||
- Determines if the expected result is success or fail.
|
||||
choices: [ absent, present ]
|
||||
default: present
|
||||
notes:
|
||||
- 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.
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -21,6 +21,8 @@ author: "Jacob McGill (@jmcgill298)"
|
|||
short_description: Tests reachability using ping from a network device
|
||||
description:
|
||||
- Tests reachability using ping from network device to a remote destination.
|
||||
- For Windows targets, use the M(win_ping) module instead.
|
||||
- For targets running Python, use the M(ping) module instead.
|
||||
options:
|
||||
count:
|
||||
description:
|
||||
|
@ -46,6 +48,9 @@ options:
|
|||
- The VRF to use for forwarding.
|
||||
required: false
|
||||
default: default
|
||||
notes:
|
||||
- For Windows targets, use the M(win_ping) module instead.
|
||||
- For targets running Python, use the M(ping) module instead.
|
||||
'''
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue