summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_l3_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_l3_interface.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_l3_interface.py')
-rw-r--r--plugins/modules/vyos_l3_interface.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/modules/vyos_l3_interface.py b/plugins/modules/vyos_l3_interface.py
index 676d6ec..25f24a6 100644
--- a/plugins/modules/vyos_l3_interface.py
+++ b/plugins/modules/vyos_l3_interface.py
@@ -41,18 +41,45 @@ options:
name:
description:
- Name of the L3 interface.
+ type: str
ipv4:
description:
- IPv4 of the L3 interface.
+ type: str
ipv6:
description:
- IPv6 of the L3 interface.
+ type: str
aggregate:
description: List of L3 interfaces definitions
+ type: list
+ elements: dict
+ suboptions:
+ name:
+ description:
+ - Name of the L3 interface.
+ type: str
+ required: True
+ ipv4:
+ description:
+ - IPv4 of the L3 interface.
+ type: str
+ ipv6:
+ description:
+ - IPv6 of the L3 interface.
+ type: str
+ state:
+ description:
+ - State of the L3 interface configuration.
+ type: str
+ choices:
+ - present
+ - absent
state:
description:
- State of the L3 interface configuration.
default: present
+ type: str
choices:
- present
- absent