summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_lldp_interface.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_lldp_interface.py
parenta387c0878535f6af1d19800ff5bb2d60fa2f4e8a (diff)
downloadvyos-ansible-old-fbb82a0875dacc8200d3f663c3286104d0a1afbf.tar.gz
vyos-ansible-old-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_lldp_interface.py')
-rw-r--r--plugins/modules/vyos_lldp_interface.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/modules/vyos_lldp_interface.py b/plugins/modules/vyos_lldp_interface.py
index 2fd1bc5..911add0 100644
--- a/plugins/modules/vyos_lldp_interface.py
+++ b/plugins/modules/vyos_lldp_interface.py
@@ -46,6 +46,22 @@ options:
aggregate:
description: List of interfaces LLDP should be configured on.
type: list
+ elements: dict
+ suboptions:
+ name:
+ description:
+ - Name of the interface LLDP should be configured on.
+ required: True
+ type: str
+ state:
+ description:
+ - State of the LLDP configuration.
+ choices:
+ - present
+ - absent
+ - enabled
+ - disabled
+ type: str
state:
description:
- State of the LLDP configuration.