From 10467efaba968c49ae24d25d8c113442efac62ea Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Thu, 24 Aug 2017 19:08:05 +0530 Subject: [PATCH] Tested against VYOS version (#28562) * Tested againset VYOS version Signed-off-by: Trishna Guha * fix duplicate dict key error vyos_command Signed-off-by: Trishna Guha --- lib/ansible/modules/network/vyos/vyos_banner.py | 4 +++- lib/ansible/modules/network/vyos/vyos_command.py | 1 + lib/ansible/modules/network/vyos/vyos_config.py | 2 ++ lib/ansible/modules/network/vyos/vyos_facts.py | 2 ++ lib/ansible/modules/network/vyos/vyos_interface.py | 2 ++ lib/ansible/modules/network/vyos/vyos_l3_interface.py | 2 ++ lib/ansible/modules/network/vyos/vyos_linkagg.py | 2 ++ lib/ansible/modules/network/vyos/vyos_lldp.py | 2 ++ lib/ansible/modules/network/vyos/vyos_lldp_interface.py | 2 ++ lib/ansible/modules/network/vyos/vyos_logging.py | 4 +++- lib/ansible/modules/network/vyos/vyos_static_route.py | 4 +++- lib/ansible/modules/network/vyos/vyos_system.py | 2 ++ lib/ansible/modules/network/vyos/vyos_user.py | 2 ++ 13 files changed, 28 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/network/vyos/vyos_banner.py b/lib/ansible/modules/network/vyos/vyos_banner.py index d7c93f576a..69c2be6110 100644 --- a/lib/ansible/modules/network/vyos/vyos_banner.py +++ b/lib/ansible/modules/network/vyos/vyos_banner.py @@ -27,12 +27,14 @@ DOCUMENTATION = """ --- module: vyos_banner version_added: "2.4" -author: "Trishna Guha (@trishnag)" +author: "Trishna Guha (@trishnaguha)" short_description: Manage multiline banners on VyOS devices description: - This will configure both pre-login and post-login banners on remote devices running VyOS. It allows playbooks to add or remote banner text from the active running configuration. +notes: + - Tested against VYOS 1.1.7 options: banner: description: diff --git a/lib/ansible/modules/network/vyos/vyos_command.py b/lib/ansible/modules/network/vyos/vyos_command.py index 8603f9dacb..ac79f68c81 100644 --- a/lib/ansible/modules/network/vyos/vyos_command.py +++ b/lib/ansible/modules/network/vyos/vyos_command.py @@ -86,6 +86,7 @@ options: default: 1 notes: + - Tested against VYOS 1.1.7 - Running C(show system boot-messages all) will cause the module to hang since VyOS is using a custom pager setting to display the output of that command. """ diff --git a/lib/ansible/modules/network/vyos/vyos_config.py b/lib/ansible/modules/network/vyos/vyos_config.py index 070e66e5b7..b0ad4d8d9c 100644 --- a/lib/ansible/modules/network/vyos/vyos_config.py +++ b/lib/ansible/modules/network/vyos/vyos_config.py @@ -34,6 +34,8 @@ description: configuration statements are based on `set` and `delete` commands in the device configuration. extends_documentation_fragment: vyos +notes: + - Tested against VYOS 1.1.7 options: lines: description: diff --git a/lib/ansible/modules/network/vyos/vyos_facts.py b/lib/ansible/modules/network/vyos/vyos_facts.py index 11f69c205a..9aaf8ccaae 100644 --- a/lib/ansible/modules/network/vyos/vyos_facts.py +++ b/lib/ansible/modules/network/vyos/vyos_facts.py @@ -33,6 +33,8 @@ description: module will always collect a base set of facts from the device and can enable or disable collection of additional facts. extends_documentation_fragment: vyos +notes: + - Tested against VYOS 1.1.7 options: gather_subset: description: diff --git a/lib/ansible/modules/network/vyos/vyos_interface.py b/lib/ansible/modules/network/vyos/vyos_interface.py index bef849e852..8325ea6133 100644 --- a/lib/ansible/modules/network/vyos/vyos_interface.py +++ b/lib/ansible/modules/network/vyos/vyos_interface.py @@ -33,6 +33,8 @@ short_description: Manage Interface on VyOS network devices description: - This module provides declarative management of Interfaces on VyOS network devices. +notes: + - Tested against VYOS 1.1.7 options: name: description: diff --git a/lib/ansible/modules/network/vyos/vyos_l3_interface.py b/lib/ansible/modules/network/vyos/vyos_l3_interface.py index acbb215d4a..146ed3a800 100644 --- a/lib/ansible/modules/network/vyos/vyos_l3_interface.py +++ b/lib/ansible/modules/network/vyos/vyos_l3_interface.py @@ -33,6 +33,8 @@ short_description: Manage L3 interfaces on VyOS network devices description: - This module provides declarative management of L3 interfaces on VyOS network devices. +notes: + - Tested against VYOS 1.1.7 options: name: description: diff --git a/lib/ansible/modules/network/vyos/vyos_linkagg.py b/lib/ansible/modules/network/vyos/vyos_linkagg.py index e1af1f76a7..48164de376 100644 --- a/lib/ansible/modules/network/vyos/vyos_linkagg.py +++ b/lib/ansible/modules/network/vyos/vyos_linkagg.py @@ -33,6 +33,8 @@ short_description: Manage link aggregation groups on VyOS network devices description: - This module provides declarative management of link aggregation groups on VyOS network devices. +notes: + - Tested against VYOS 1.1.7 options: name: description: diff --git a/lib/ansible/modules/network/vyos/vyos_lldp.py b/lib/ansible/modules/network/vyos/vyos_lldp.py index 93f054f203..04f3dd5cac 100644 --- a/lib/ansible/modules/network/vyos/vyos_lldp.py +++ b/lib/ansible/modules/network/vyos/vyos_lldp.py @@ -33,6 +33,8 @@ short_description: Manage LLDP configuration on VyOS network devices description: - This module provides declarative management of LLDP service on VyOS network devices. +notes: + - Tested against VYOS 1.1.7 options: state: description: diff --git a/lib/ansible/modules/network/vyos/vyos_lldp_interface.py b/lib/ansible/modules/network/vyos/vyos_lldp_interface.py index b701410eff..3c39b3f08f 100644 --- a/lib/ansible/modules/network/vyos/vyos_lldp_interface.py +++ b/lib/ansible/modules/network/vyos/vyos_lldp_interface.py @@ -33,6 +33,8 @@ short_description: Manage LLDP interfaces configuration on VyOS network devices description: - This module provides declarative management of LLDP interfaces configuration on VyOS network devices. +notes: + - Tested against VYOS 1.1.7 options: name: description: diff --git a/lib/ansible/modules/network/vyos/vyos_logging.py b/lib/ansible/modules/network/vyos/vyos_logging.py index d87b01e3ac..e432fec7ee 100644 --- a/lib/ansible/modules/network/vyos/vyos_logging.py +++ b/lib/ansible/modules/network/vyos/vyos_logging.py @@ -27,11 +27,13 @@ DOCUMENTATION = """ --- module: vyos_logging version_added: "2.4" -author: "Trishna Guha (@trishnag)" +author: "Trishna Guha (@trishnaguha)" short_description: Manage logging on network devices description: - This module provides declarative management of logging on Vyatta Vyos devices. +notes: + - Tested against VYOS 1.1.7 options: dest: description: diff --git a/lib/ansible/modules/network/vyos/vyos_static_route.py b/lib/ansible/modules/network/vyos/vyos_static_route.py index 4c2d020e48..c164412209 100644 --- a/lib/ansible/modules/network/vyos/vyos_static_route.py +++ b/lib/ansible/modules/network/vyos/vyos_static_route.py @@ -28,11 +28,13 @@ DOCUMENTATION = """ --- module: vyos_static_route version_added: "2.4" -author: "Trishna Guha (@trishnag)" +author: "Trishna Guha (@trishnaguha)" short_description: Manage static IP routes on Cisco VyOS network devices description: - This module provides declarative management of static IP routes on Vyatta VyOS network devices. +notes: + - Tested against VYOS 1.1.7 options: prefix: description: diff --git a/lib/ansible/modules/network/vyos/vyos_system.py b/lib/ansible/modules/network/vyos/vyos_system.py index 1fbe3f1532..0fc32a5bfd 100644 --- a/lib/ansible/modules/network/vyos/vyos_system.py +++ b/lib/ansible/modules/network/vyos/vyos_system.py @@ -33,6 +33,8 @@ description: This module can also be introspected to validate key parameters before returning successfully. extends_documentation_fragment: vyos +notes: + - Tested against VYOS 1.1.7 options: hostname: description: diff --git a/lib/ansible/modules/network/vyos/vyos_user.py b/lib/ansible/modules/network/vyos/vyos_user.py index 7ff16594c0..89dcbac607 100644 --- a/lib/ansible/modules/network/vyos/vyos_user.py +++ b/lib/ansible/modules/network/vyos/vyos_user.py @@ -35,6 +35,8 @@ description: either individual usernames or the collection of usernames in the current running config. It also supports purging usernames from the configuration that are not explicitly defined. +notes: + - Tested against VYOS 1.1.7 options: aggregate: description: