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 d7c93f576ae..69c2be61105 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 8603f9dacb9..ac79f68c81a 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 070e66e5b76..b0ad4d8d9c9 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 11f69c205a8..9aaf8ccaae6 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 bef849e852f..8325ea61332 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 acbb215d4a0..146ed3a8003 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 e1af1f76a7c..48164de376f 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 93f054f203d..04f3dd5cace 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 b701410effd..3c39b3f08f5 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 d87b01e3acc..e432fec7ee2 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 4c2d020e48a..c1644122094 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 1fbe3f1532c..0fc32a5bfd1 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 7ff16594c06..89dcbac6071 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: