From fbb82a0875dacc8200d3f663c3286104d0a1afbf Mon Sep 17 00:00:00 2001 From: GomathiselviS Date: Fri, 24 Jul 2020 16:16:03 -0400 Subject: [vyos] Fix sanity issues (#58) [vyos] Fix sanity issues Reviewed-by: https://github.com/apps/ansible-zuul --- plugins/modules/vyos_l3_interface.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'plugins/modules/vyos_l3_interface.py') 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 -- cgit v1.2.3