diff options
author | Rohit <rohitthakur2590@outlook.com> | 2020-06-01 13:05:52 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 07:35:52 +0000 |
commit | 06235439435396c852535c2569542939bf65ef43 (patch) | |
tree | ff9facb3636f13b205bea0d14c7b0c9b12e3f18a /plugins/modules/vyos_ping.py | |
parent | 24a6864db07e5f61cdd952a528d4fd6c147d8db4 (diff) | |
download | vyos-ansible-old-06235439435396c852535c2569542939bf65ef43.tar.gz vyos-ansible-old-06235439435396c852535c2569542939bf65ef43.zip |
[VyOS: ]all modules updated with FQCN and new doc changes (#33)
[VyOS: ]all modules updated with FQCN and new doc changes
Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'plugins/modules/vyos_ping.py')
-rw-r--r-- | plugins/modules/vyos_ping.py | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/plugins/modules/vyos_ping.py b/plugins/modules/vyos_ping.py index 3d5a903..9131917 100644 --- a/plugins/modules/vyos_ping.py +++ b/plugins/modules/vyos_ping.py @@ -23,13 +23,9 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type -ANSIBLE_METADATA = { - "metadata_version": "1.1", - "status": ["preview"], - "supported_by": "community", -} -DOCUMENTATION = """module: vyos_ping +DOCUMENTATION = """ +module: vyos_ping short_description: Tests reachability using ping from VyOS network devices description: - Tests reachability using ping from a VyOS device to a remote destination. @@ -37,6 +33,7 @@ description: - 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. +version_added: 1.0.0 author: - Nilashish Chakraborty (@NilashishC) options: @@ -83,23 +80,23 @@ extends_documentation_fragment: EXAMPLES = """ - name: Test reachability to 10.10.10.10 - vyos_ping: + vyos.vyos.vyos_ping: dest: 10.10.10.10 - name: Test reachability to 10.20.20.20 using source and ttl set - vyos_ping: + vyos.vyos.vyos_ping: dest: 10.20.20.20 source: eth0 ttl: 128 - name: Test unreachability to 10.30.30.30 using interval - vyos_ping: + vyos.vyos.vyos_ping: dest: 10.30.30.30 interval: 3 state: absent - name: Test reachability to 10.40.40.40 setting count and source - vyos_ping: + vyos.vyos.vyos_ping: dest: 10.40.40.40 source: eth1 count: 20 |