Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PicOS network modules #51418

Closed
wants to merge 30 commits into from
Closed

PicOS network modules #51418

wants to merge 30 commits into from

Conversation

bw957
Copy link

@bw957 bw957 commented Jan 29, 2019

SUMMARY

picos_facts is the first of PicOS modules to be submitted

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

picos_facts

ADDITIONAL INFORMATION
  • Added following files:
    ansible/lib/ansible/modules/network/picos/init.py
    ansible/lib/ansible/modules/network/picos/picos_facts.py
    ansible/lib/ansible/module_utils/network/picos/init.py
    ansible/lib/ansible/module_utils/network/picos/picos.py
    ansible/test/units/modules/network/picos/init.py
    ansible/test/units/modules/network/picos/picos_module.py
    ansible/test/units/modules/network/picos/test_picos_facts.py
    ansible/test/units/modules/network/picos/fixtures/cat_sys_class_swmon_hwinfo_serial_number
    ansible/test/units/modules/network/picos/fixtures/hostname
    ansible/test/units/modules/network/picos/fixtures/license_s
    ansible/test/units/modules/network/picos/fixtures/version

  • added entry in
    ansible/docs/docsite/rst/dev_guide/developing_module_utilities.rst


@ansibot
Copy link
Contributor

ansibot commented Jan 29, 2019

@ansibot
Copy link
Contributor

ansibot commented Jan 29, 2019

@bw957, just so you are aware we have a dedicated Working Group for network.
You can find other people interested in this in #ansible-network on Freenode IRC
For more information about communities, meetings and agendas see https://github.com/ansible/community

click here for bot help

@ansibot ansibot added affects_2.8 This issue/PR affects Ansible v2.8 core_review In order to be merged, this PR must follow the core review workflow. docs This issue/PR relates to or includes documentation. module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. networking Network category new_contributor This PR is the first contribution by a new community member. new_module This PR includes a new module. new_plugin This PR includes a new plugin. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team. test This PR relates to tests. labels Jan 29, 2019
@ansibot
Copy link
Contributor

ansibot commented Jan 29, 2019

The test ansible-test sanity --test pylint [explain] failed with 9 errors:

lib/ansible/module_utils/network/picos/__init__.py:1:0: trailing-newlines Trailing newlines
lib/ansible/module_utils/network/picos/picos.py:51:83: bad-whitespace No space allowed around keyword argument assignment def run_command(module, command_list, command_string, command_pattern, description = ''):                                                                                    ^
lib/ansible/module_utils/network/picos/picos.py:64:40: trailing-whitespace Trailing whitespace
lib/ansible/module_utils/network/picos/picos.py:75:20: undefined-variable Undefined variable 'commans'
lib/ansible/modules/network/picos/__init__.py:1:0: trailing-newlines Trailing newlines
test/units/modules/network/picos/__init__.py:1:0: trailing-newlines Trailing newlines
test/units/modules/network/picos/test_picos_facts.py:24:0: multiple-imports Multiple imports on one line (json, re)
test/units/modules/network/picos/test_picos_facts.py:57:0: anomalous-backslash-in-string Anomalous backslash in string: '\W'. String constant might be missing an r prefix.
test/units/modules/network/picos/test_picos_facts.py:84:55: bad-whitespace Exactly one space required after comma         set_module_args(dict(gather_subset=['-hardware','-config']))                                                        ^

The test ansible-test sanity --test boilerplate [explain] failed with 2 errors:

lib/ansible/modules/network/picos/__init__.py:0:0: missing: __metaclass__ = type
lib/ansible/modules/network/picos/__init__.py:0:0: missing: from __future__ import (absolute_import, division, print_function)

The test ansible-test sanity --test empty-init [explain] failed with 3 errors:

lib/ansible/module_utils/network/picos/__init__.py:0:0: empty __init__.py required
lib/ansible/modules/network/picos/__init__.py:0:0: empty __init__.py required
test/units/modules/network/picos/__init__.py:0:0: empty __init__.py required

The test ansible-test sanity --test pep8 [explain] failed with 12 errors:

lib/ansible/module_utils/network/picos/__init__.py:1:1: W391 blank line at end of file
lib/ansible/module_utils/network/picos/picos.py:44:5: E265 block comment should start with '# '
lib/ansible/module_utils/network/picos/picos.py:51:83: E251 unexpected spaces around keyword / parameter equals
lib/ansible/module_utils/network/picos/picos.py:51:85: E251 unexpected spaces around keyword / parameter equals
lib/ansible/module_utils/network/picos/picos.py:64:41: W291 trailing whitespace
lib/ansible/modules/network/picos/__init__.py:1:1: W391 blank line at end of file
test/units/modules/network/picos/__init__.py:1:1: W391 blank line at end of file
test/units/modules/network/picos/picos_module.py:31:1: E303 too many blank lines (3)
test/units/modules/network/picos/test_picos_facts.py:24:12: E401 multiple imports on one line
test/units/modules/network/picos/test_picos_facts.py:56:17: E265 block comment should start with '# '
test/units/modules/network/picos/test_picos_facts.py:57:18: W605 invalid escape sequence '\W'
test/units/modules/network/picos/test_picos_facts.py:84:56: E231 missing whitespace after ','

The test ansible-test sanity --test shebang [explain] failed with 1 error:

lib/ansible/module_utils/network/picos/picos.py:0:0: should not have a shebang

click here for bot help

@ansibot ansibot removed the core_review In order to be merged, this PR must follow the core review workflow. label Jan 29, 2019
@ansibot
Copy link
Contributor

ansibot commented Jan 30, 2019

The test ansible-test sanity --test pylint [explain] failed with 4 errors:

lib/ansible/module_utils/network/picos/__init__.py:1:0: trailing-newlines Trailing newlines
lib/ansible/module_utils/network/picos/picos.py:75:20: undefined-variable Undefined variable 'commans'
lib/ansible/modules/network/picos/__init__.py:1:0: trailing-newlines Trailing newlines
test/units/modules/network/picos/__init__.py:1:0: trailing-newlines Trailing newlines

The test ansible-test sanity --test boilerplate [explain] failed with 2 errors:

lib/ansible/modules/network/picos/__init__.py:0:0: missing: __metaclass__ = type
lib/ansible/modules/network/picos/__init__.py:0:0: missing: from __future__ import (absolute_import, division, print_function)

The test ansible-test sanity --test empty-init [explain] failed with 3 errors:

lib/ansible/module_utils/network/picos/__init__.py:0:0: empty __init__.py required
lib/ansible/modules/network/picos/__init__.py:0:0: empty __init__.py required
test/units/modules/network/picos/__init__.py:0:0: empty __init__.py required

The test ansible-test sanity --test pep8 [explain] failed with 3 errors:

lib/ansible/module_utils/network/picos/__init__.py:1:1: W391 blank line at end of file
lib/ansible/modules/network/picos/__init__.py:1:1: W391 blank line at end of file
test/units/modules/network/picos/__init__.py:1:1: W391 blank line at end of file

click here for bot help

@ansibot ansibot removed the ci_verified Changes made in this PR are causing tests to fail. label Jan 30, 2019
@ansibot
Copy link
Contributor

ansibot commented Jan 30, 2019

The test ansible-test sanity --test pylint [explain] failed with 3 errors:

lib/ansible/module_utils/network/picos/picos.py:75:20: undefined-variable Undefined variable 'commans'
lib/ansible/modules/network/picos/__init__.py:1:0: trailing-newlines Trailing newlines
test/units/modules/network/picos/__init__.py:1:0: trailing-newlines Trailing newlines

The test ansible-test sanity --test boilerplate [explain] failed with 2 errors:

lib/ansible/modules/network/picos/__init__.py:0:0: missing: __metaclass__ = type
lib/ansible/modules/network/picos/__init__.py:0:0: missing: from __future__ import (absolute_import, division, print_function)

The test ansible-test sanity --test empty-init [explain] failed with 2 errors:

lib/ansible/modules/network/picos/__init__.py:0:0: empty __init__.py required
test/units/modules/network/picos/__init__.py:0:0: empty __init__.py required

The test ansible-test sanity --test import --python 2.7 [explain] failed with 1 error:

lib/ansible/modules/network/picos/picos_facts.py:109:0: ImportError: No module named picos.picos

The test ansible-test sanity --test import --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/network/picos/picos_facts.py:109:0: ImportError: No module named picos.picos

The test ansible-test sanity --test pep8 [explain] failed with 2 errors:

lib/ansible/modules/network/picos/__init__.py:1:1: W391 blank line at end of file
test/units/modules/network/picos/__init__.py:1:1: W391 blank line at end of file

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Jan 30, 2019

The test ansible-test sanity --test pylint [explain] failed with 4 errors:

lib/ansible/module_utils/network/picos/__init__.py:1:0: trailing-newlines Trailing newlines
lib/ansible/module_utils/network/picos/picos.py:75:20: undefined-variable Undefined variable 'commans'
lib/ansible/modules/network/picos/__init__.py:1:0: trailing-newlines Trailing newlines
test/units/modules/network/picos/__init__.py:1:0: trailing-newlines Trailing newlines

The test ansible-test sanity --test boilerplate [explain] failed with 2 errors:

lib/ansible/modules/network/picos/__init__.py:0:0: missing: __metaclass__ = type
lib/ansible/modules/network/picos/__init__.py:0:0: missing: from __future__ import (absolute_import, division, print_function)

The test ansible-test sanity --test empty-init [explain] failed with 3 errors:

lib/ansible/module_utils/network/picos/__init__.py:0:0: empty __init__.py required
lib/ansible/modules/network/picos/__init__.py:0:0: empty __init__.py required
test/units/modules/network/picos/__init__.py:0:0: empty __init__.py required

The test ansible-test sanity --test pep8 [explain] failed with 3 errors:

lib/ansible/module_utils/network/picos/__init__.py:1:1: W391 blank line at end of file
lib/ansible/modules/network/picos/__init__.py:1:1: W391 blank line at end of file
test/units/modules/network/picos/__init__.py:1:1: W391 blank line at end of file

click here for bot help

@ansibot ansibot added the ci_verified Changes made in this PR are causing tests to fail. label Jan 30, 2019
@ansibot ansibot removed the ci_verified Changes made in this PR are causing tests to fail. label Jan 30, 2019
@ansibot
Copy link
Contributor

ansibot commented Jan 30, 2019

The test ansible-test sanity --test pylint [explain] failed with 1 error:

lib/ansible/module_utils/network/picos/picos.py:75:20: undefined-variable Undefined variable 'commans'

click here for bot help

@ansibot ansibot added the ci_verified Changes made in this PR are causing tests to fail. label Jan 30, 2019
@ansibot ansibot added core_review In order to be merged, this PR must follow the core review workflow. and removed ci_verified Changes made in this PR are causing tests to fail. needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Jan 30, 2019
@bw957
Copy link
Author

bw957 commented Jan 30, 2019

@ansiblegalaxy @anotherjesse @jvantuyl
I am a first time contributor and still in learning process. I am not sure what is next. I noticed it has labels core_review and needs_triage. Is this review scheduled by Ansibullbot? Do I need to do anything, or just wait? By the way, it says "use command bot_status", how do I issue such a command? On this page or somewhere else?
Thanks a lot for your help!

@ansibot
Copy link
Contributor

ansibot commented Jan 30, 2019

Components

docs/docsite/rst/dev_guide/developing_module_utilities.rst
support: core
maintainers: acozine

lib/ansible/module_utils/network/picos/init.py
support: community
maintainers:

lib/ansible/module_utils/network/picos/picos.py
support: community
maintainers:

lib/ansible/modules/network/picos/init.py
support: community
maintainers:

lib/ansible/modules/network/picos/picos_facts.py
support: community
maintainers:

test/units/modules/network/picos/init.py
support: core
maintainers: NilashishC Qalthos ganeshrn gdpak justjais rcarrillocruz trishnaguha

test/units/modules/network/picos/fixtures/cat_sys_class_swmon_hwinfo_serial_number
support: core
maintainers: NilashishC Qalthos ganeshrn gdpak justjais rcarrillocruz trishnaguha

test/units/modules/network/picos/fixtures/hostname
support: core
maintainers: NilashishC Qalthos ganeshrn gdpak justjais rcarrillocruz trishnaguha

test/units/modules/network/picos/fixtures/license_s
support: core
maintainers: NilashishC Qalthos ganeshrn gdpak justjais rcarrillocruz trishnaguha

test/units/modules/network/picos/fixtures/version
support: core
maintainers: NilashishC Qalthos ganeshrn gdpak justjais rcarrillocruz trishnaguha

test/units/modules/network/picos/picos_module.py
support: core
maintainers: NilashishC Qalthos ganeshrn gdpak justjais rcarrillocruz trishnaguha

test/units/modules/network/picos/test_picos_facts.py
support: core
maintainers: NilashishC Qalthos ganeshrn gdpak justjais rcarrillocruz trishnaguha

Metadata

waiting_on: ansible
changes_requested_by: null
needs_info: False
needs_revision: False
needs_rebase: False
merge_commits: []
too many files or commits: False
mergeable_state: clean
shippable_status: success
maintainer_shipits (module maintainers): 0
community_shipits (namespace maintainers): 0
ansible_shipits (core team members): 0
shipit_actors (maintainer or core team member): []
shipit_actors_other: []
automerge: automerge shipit test failed

click here for bot help

@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Feb 7, 2019
@ansibot
Copy link
Contributor

ansibot commented Apr 28, 2019

@ansibot ansibot added the docsite This issue/PR relates to the documentation website. label Apr 28, 2019
@ansibot ansibot added needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed core_review In order to be merged, this PR must follow the core review workflow. labels May 6, 2019
@ansibot
Copy link
Contributor

ansibot commented Jun 23, 2019

@abenokraitis
Copy link
Contributor

@bw957 Yikes, looks like this fell through the cracks. Unfortunately we are no longer accepting new content submissions into the Ansible project, but instead you should create an Ansible Content Collection and publish it on Ansible Galaxy.

Developing a Collection: https://docs.ansible.com/ansible/latest/dev_guide/developing_collections.html#developing-collections

Creating a Galaxy namespace: https://galaxy.ansible.com/docs/contributing/namespaces.html

Hope this helps!

@sivel sivel removed the needs_triage Needs a first human triage before being processed. label Feb 17, 2020
@ansible ansible locked and limited conversation to collaborators Mar 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.8 This issue/PR affects Ansible v2.8 docs This issue/PR relates to or includes documentation. docsite This issue/PR relates to the documentation website. module This issue/PR relates to a module. needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. networking Network category new_contributor This PR is the first contribution by a new community member. new_module This PR includes a new module. new_plugin This PR includes a new plugin. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team. test This PR relates to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants