Fix sanity errors

Fix sanity errors
This commit is contained in:
Komal Uttamrao Patil 2021-02-15 13:41:16 -08:00 committed by GitHub
parent 01d73089ed
commit 419ea61eab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 127 additions and 136 deletions
.ansible-lint
changelogs
galaxy.yml
plugins
doc_fragments
modules
roles
os9_aaa
os9_acl/tasks
os9_bgp/tasks
os9_copy_config
os9_dcb
os9_dns/tasks
os9_ecmp/tasks
os9_interface/tasks
os9_lag/tasks
os9_lldp/tasks
os9_logging
os9_ntp/tasks
os9_prefix_list/tasks
os9_sflow/tasks
os9_snmp/tasks
os9_system/tasks
os9_users/tasks
os9_vlan/tasks
os9_vlt/tasks
os9_vrf/tasks
os9_vrrp
os9_xstp
tests/sanity

2
.ansible-lint Normal file
View file

@ -0,0 +1,2 @@
skip_list:
- '208'

View file

@ -4,6 +4,15 @@ Ansible Network Collection for Dell EMC OS9 Release Notes
.. contents:: Topics
v1.0.4
======
Release Summary
---------------
- Fixed sanity error found during the sanity tst of automation hub upload
- Fix issue in using list of strings for commands argument for os10_command module (https://github.com/ansible-collections/dellemc.os9/issues/15)
v1.0.3
======

View file

@ -92,8 +92,16 @@ releases:
- 1.0.2.yaml
release_date: '2020-08-18'
1.0.3:
chnages:
changes:
release_summary: Added bug fixes for bugs found during System Test.
fragments:
- 1.0.3.yaml
release_date: '2020-10-09'
1.0.4:
changes:
bugfixes:
- Fixed sanity error found during the sanity tst of automation hub upload
- Fix issue in using list of strings for commands argument for os10_command module (https://github.com/ansible-collections/dellemc.os9/issues/15)
fragments:
- 1.0.4.yaml
release_date: '2021-02-15'

View file

@ -9,7 +9,7 @@ name: os9
namespace: dellemc
readme: README.md
tags: [dell, dellemc, os9, emc, networking]
version: 1.0.3
version: 1.0.4
repository: 'https://github.com/ansible-collections/dellemc.os9'
documentation: 'https://github.com/ansible-collections/dellemc.os9/tree/master/docs'
homepage: 'https://github.com/ansible-collections/dellemc.os9'

View file

@ -61,7 +61,6 @@ options:
task, the value of environment variable C(ANSIBLE_NET_AUTHORIZE) will be
used instead.
type: bool
default: false
auth_pass:
description:
- Specifies the password to use if required to enter privileged mode on the

View file

@ -36,7 +36,6 @@ options:
module is not returned until the condition is satisfied or
the number of retries has expired.
type: list
elements: dict
required: true
wait_for:
description:
@ -171,7 +170,7 @@ def main():
"""
argument_spec = dict(
# { command: <str>, prompt: <str>, response: <str> }
commands=dict(type='list', elements='dict', required=True),
commands=dict(type='list', required=True),
wait_for=dict(type='list', elements='str'),
match=dict(default='all', choices=['all', 'any']),

View file

@ -2,7 +2,9 @@
---
galaxy_info:
author: Dell EMC Networking Engineering
description: The os9_aaa role facilitates the configuration of Authentication Authorization Acccounting (AAA) attributes in devices running Dell EMC Networking Operating Systems.
description: >
The os9_aaa role facilitates the configuration of Authentication Authorization Acccounting (AAA) attributes
in devices running Dell EMC Networking Operating Systems.
license: GPLv3
min_ansible_version: 2.9.6

View file

@ -10,7 +10,7 @@
register: generate_output
- name: "Provisioning AAA configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_aaa.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning ACL configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_acl.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning BGP configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_bgp.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -3,8 +3,8 @@
galaxy_info:
author: Dell EMC Networking Engineering
description: >
This role shall be used to push the backup running configuration into the device.
This role shall merge the configuration in the template file with the running configuration of the device
This role shall be used to push the backup running configuration into the device.
This role shall merge the configuration in the template file with the running configuration of the device
license: GPLv3
min_ansible_version: 2.9.6

View file

@ -1,7 +1,7 @@
---
# tasks file for dellemc.os9.os9_copy_config
- name: "Merge the config file to running configuration for OS9"
os9_config:
dellemc.os9.os9_config:
src: "{{ hostname }}.j2"
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -2,7 +2,9 @@
---
galaxy_info:
author: Dell EMC Networking Engineering
description: The os9_dcb role facilitates the configuration of Data Center Bridging (DCB) attributes in devices running Dell EMC Networking Operating Systems.
description: >
The os9_dcb role facilitates the configuration of Data Center Bridging (DCB) attributes in devices
running Dell EMC Networking Operating Systems.
license: GPLv3
min_ansible_version: 2.9.6

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning DCB configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_dcb.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning DNS configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_dns.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -10,7 +10,7 @@
register: generate_output
- name: "Provisioning ECMP configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_ecmp.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning interface configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_interface.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning LAG configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_lag.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning LLDP configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_lldp.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -1,4 +1,3 @@
# Copyright (c) 2020 Dell Inc.
---
galaxy_info:

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning logging configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_logging.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning NTP configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_ntp.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning prefix list configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_prefix_list.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning sflow configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_sflow.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning SNMP configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_snmp.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning system configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_system.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning users configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_users.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning VLAN configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_vlan.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning VLT configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_vlt.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning VRF configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_vrf.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -3,8 +3,8 @@
galaxy_info:
author: Dell EMC Networking Engineering
description: >
The os9_vrrp role facilitates the configuration of Virtual Router Redundancy Protocol (VRRP) attributes in
devices running Dell EMC Networking Operating Systems.
The os9_vrrp role facilitates the configuration of Virtual Router Redundancy Protocol (VRRP) attributes in
devices running Dell EMC Networking Operating Systems.
license: GPLv3
min_ansible_version: 2.9.6

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning VRRP configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_vrrp.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -10,7 +10,6 @@ galaxy_info:
platforms:
- name: os9
galaxy_tags:
- networking
- dell

View file

@ -9,7 +9,7 @@
register: generate_output
- name: "Provisioning xSTP configuration for os9"
os9_config:
dellemc.os9.os9_config:
src: os9_xstp.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
# notify: save config os9

View file

@ -1,3 +1,4 @@
plugins/action/os9.py action-plugin-docs
plugins/modules/os9_config.py validate-modules:parameter-list-no-elements
plugins/modules/os9_facts.py validate-modules:parameter-list-no-elements
plugins/modules/os9_command.py validate-modules:parameter-list-no-elements

View file

@ -1,3 +1,4 @@
plugins/action/os9.py action-plugin-docs
plugins/modules/os9_config.py validate-modules:parameter-list-no-elements
plugins/modules/os9_facts.py validate-modules:parameter-list-no-elements
plugins/modules/os9_command.py validate-modules:parameter-list-no-elements

View file

@ -1,31 +1 @@
plugins/module_utils/network/dellos9/dellos9.py future-import-boilerplate
plugins/module_utils/network/dellos9/dellos9.py metaclass-boilerplate
plugins/modules/dellos9_command.py validate-modules:doc-default-does-not-match-spec
plugins/modules/dellos9_command.py validate-modules:doc-missing-type
plugins/modules/dellos9_command.py validate-modules:doc-required-mismatch
plugins/modules/dellos9_command.py validate-modules:parameter-list-no-elements
plugins/modules/dellos9_command.py validate-modules:parameter-type-not-in-doc
plugins/modules/dellos9_command.py validate-modules:undocumented-parameter
plugins/modules/dellos9_config.py validate-modules:doc-default-does-not-match-spec
plugins/modules/dellos9_config.py validate-modules:doc-missing-type
plugins/modules/dellos9_config.py validate-modules:doc-required-mismatch
plugins/modules/dellos9_config.py validate-modules:parameter-list-no-elements
plugins/modules/dellos9_config.py validate-modules:parameter-type-not-in-doc
plugins/modules/dellos9_config.py validate-modules:undocumented-parameter
plugins/modules/dellos9_facts.py validate-modules:doc-default-does-not-match-spec
plugins/modules/dellos9_facts.py validate-modules:doc-missing-type
plugins/modules/dellos9_facts.py validate-modules:doc-required-mismatch
plugins/modules/dellos9_facts.py validate-modules:parameter-list-no-elements
plugins/modules/dellos9_facts.py validate-modules:parameter-type-not-in-doc
plugins/modules/dellos9_facts.py validate-modules:undocumented-parameter
plugins/action/dellos9.py action-plugin-docs # base class for deprecated network platform modules using `connection: local`
plugins/doc_fragments/dellos9.py future-import-boilerplate
plugins/doc_fragments/dellos9.py metaclass-boilerplate
tests/unit/mock/path.py future-import-boilerplate
tests/unit/mock/path.py metaclass-boilerplate
tests/unit/mock/yaml_helper.py future-import-boilerplate
tests/unit/mock/yaml_helper.py metaclass-boilerplate
tests/unit/modules/conftest.py future-import-boilerplate
tests/unit/modules/conftest.py metaclass-boilerplate
tests/unit/modules/utils.py future-import-boilerplate
tests/unit/modules/utils.py metaclass-boilerplate
plugins/action/os9.py action-plugin-docs