From 365ae8fa099afe8e8edf419fe4b5059e5519e3c4 Mon Sep 17 00:00:00 2001 From: Andrew Klychkov Date: Fri, 22 Apr 2022 09:34:55 +0200 Subject: [PATCH] Fix sanity --- plugins/modules/onyx_command.py | 2 +- plugins/modules/onyx_facts.py | 2 +- plugins/modules/onyx_ntp.py | 2 ++ plugins/modules/onyx_ntp_servers_peers.py | 2 ++ plugins/modules/onyx_snmp.py | 2 ++ plugins/modules/onyx_snmp_hosts.py | 1 + plugins/modules/onyx_snmp_users.py | 1 + plugins/modules/onyx_syslog_remote.py | 1 + 8 files changed, 11 insertions(+), 2 deletions(-) diff --git a/plugins/modules/onyx_command.py b/plugins/modules/onyx_command.py index 719e8f2..d1f308e 100644 --- a/plugins/modules/onyx_command.py +++ b/plugins/modules/onyx_command.py @@ -18,7 +18,7 @@ argument that will cause the module to wait for a specific condition before returning or timing out if the condition is not met. - This module does not support running commands in configuration mode. - Please use M(onyx_config) to configure Mellanox ONYX devices. + Please use M(mellanox.onyx.onyx_config) to configure Mellanox ONYX devices. notes: - Tested on ONYX 3.6.4000 options: diff --git a/plugins/modules/onyx_facts.py b/plugins/modules/onyx_facts.py index 997d4df..9ecf72f 100644 --- a/plugins/modules/onyx_facts.py +++ b/plugins/modules/onyx_facts.py @@ -26,7 +26,7 @@ to a given subset. Possible values for this argument include all, version, module, and interfaces. Can specify a list of values to include a larger subset. Values can also be used - with an initial C(M(!)) to specify that a specific subset should + with an initial C(!) to specify that a specific subset should not be collected. required: false default: version diff --git a/plugins/modules/onyx_ntp.py b/plugins/modules/onyx_ntp.py index 6105f03..b0de45a 100644 --- a/plugins/modules/onyx_ntp.py +++ b/plugins/modules/onyx_ntp.py @@ -28,6 +28,7 @@ type: str ntp_authentication_keys: type: list + elements: dict description: - List of ntp authentication keys suboptions: @@ -54,6 +55,7 @@ type: str trusted_keys: type: list + elements: int description: - List of ntp trusted keys ''' diff --git a/plugins/modules/onyx_ntp_servers_peers.py b/plugins/modules/onyx_ntp_servers_peers.py index f49daa2..0328855 100644 --- a/plugins/modules/onyx_ntp_servers_peers.py +++ b/plugins/modules/onyx_ntp_servers_peers.py @@ -17,6 +17,7 @@ options: peer: type: list + elements: dict description: - List of ntp peers. suboptions: @@ -45,6 +46,7 @@ type: str server: type: list + elements: dict description: - List of ntp servers. suboptions: diff --git a/plugins/modules/onyx_snmp.py b/plugins/modules/onyx_snmp.py index 895d003..2367a6b 100644 --- a/plugins/modules/onyx_snmp.py +++ b/plugins/modules/onyx_snmp.py @@ -38,6 +38,7 @@ type: bool snmp_communities: type: list + elements: dict description: - List of snmp communities suboptions: @@ -96,6 +97,7 @@ type: bool snmp_permissions: type: list + elements: dict description: - Allow SNMPSET requests for items in a MIB. suboptions: diff --git a/plugins/modules/onyx_snmp_hosts.py b/plugins/modules/onyx_snmp_hosts.py index 93facf7..5d5f6f0 100644 --- a/plugins/modules/onyx_snmp_hosts.py +++ b/plugins/modules/onyx_snmp_hosts.py @@ -18,6 +18,7 @@ options: hosts: type: list + elements: dict description: - List of snmp hosts suboptions: diff --git a/plugins/modules/onyx_snmp_users.py b/plugins/modules/onyx_snmp_users.py index 7feeb2a..00c49c2 100644 --- a/plugins/modules/onyx_snmp_users.py +++ b/plugins/modules/onyx_snmp_users.py @@ -18,6 +18,7 @@ options: users: type: list + elements: dict description: - List of snmp users suboptions: diff --git a/plugins/modules/onyx_syslog_remote.py b/plugins/modules/onyx_syslog_remote.py index ca3e45f..49543f0 100644 --- a/plugins/modules/onyx_syslog_remote.py +++ b/plugins/modules/onyx_syslog_remote.py @@ -39,6 +39,7 @@ description: - Override log levels for this sink on a per-class basis type: list + elements: dict suboptions: override_class: description: