summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_ping.py
diff options
context:
space:
mode:
authorGomathiselviS <gomathiselvi@gmail.com>2020-07-24 16:16:03 -0400
committerGitHub <noreply@github.com>2020-07-24 20:16:03 +0000
commitfbb82a0875dacc8200d3f663c3286104d0a1afbf (patch)
treeae507874333cff6aea4e71e4032959e1168eb036 /plugins/modules/vyos_ping.py
parenta387c0878535f6af1d19800ff5bb2d60fa2f4e8a (diff)
downloadvyos.vyos-fbb82a0875dacc8200d3f663c3286104d0a1afbf.tar.gz
vyos.vyos-fbb82a0875dacc8200d3f663c3286104d0a1afbf.zip
[vyos] Fix sanity issues (#58)
[vyos] Fix sanity issues Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'plugins/modules/vyos_ping.py')
-rw-r--r--plugins/modules/vyos_ping.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/modules/vyos_ping.py b/plugins/modules/vyos_ping.py
index 91319178..0582c1f3 100644
--- a/plugins/modules/vyos_ping.py
+++ b/plugins/modules/vyos_ping.py
@@ -41,6 +41,7 @@ options:
description:
- The IP Address or hostname (resolvable by the device) of the remote node.
required: true
+ type: str
count:
description:
- Number of packets to send to check reachability.
@@ -49,6 +50,7 @@ options:
source:
description:
- The source interface or IP Address to use while sending the ping packet(s).
+ type: str
ttl:
description:
- The time-to-live value for the ICMP packet(s).
@@ -64,6 +66,7 @@ options:
state:
description:
- Determines if the expected result is success or fail.
+ type: str
choices:
- absent
- present