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

Add supported connection in junos module documentation #38813

Merged
merged 5 commits into from
Apr 17, 2018

Conversation

ganeshrn
Copy link
Member

SUMMARY

Add supported connection type in junos module doucmentation.

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

junos_*

ANSIBLE VERSION
2.5
ADDITIONAL INFORMATION

Add supported connection type in junos module doucmentation.
@ganeshrn ganeshrn added this to Need CP into 2.5.1 in zzz NOT USED: Networking Bugs Apr 16, 2018
@ansibot
Copy link
Contributor

ansibot commented Apr 16, 2018

@ansibot ansibot added 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 owner_pr This PR is made by the module's maintainer. support:network This issue/PR relates to code supported by the Ansible Network Team. labels Apr 16, 2018
@ganeshrn ganeshrn removed the needs_triage Needs a first human triage before being processed. label Apr 16, 2018
@@ -81,6 +81,7 @@
- This module requires the netconf system service be enabled on
the remote device being managed.
- Tested against vSRX JUNOS version 15.1X49-D15.4, vqfx-10000 JUNOS Version 15.1X53-D60.4.
- Works with local connection type only.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the plan for this, since it's connection local only

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since these modules will use junos-eznc library and not the persistent connection framework it will continue to be supported with connection=local
In future, we might want to move these modules to a role within ansible-network.

@@ -54,6 +54,7 @@
- This module requires the netconf system service be enabled on
the remote device being managed.
- Tested against vMX JUNOS version 17.3R1.10.
- Works with local connection type only.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the plan for this, since it's connection local only

@ansibot
Copy link
Contributor

ansibot commented Apr 16, 2018

The test ansible-test sanity --test ansible-doc --python 2.6 [explain] failed with 18 errors:

lib/ansible/modules/network/junos/junos_banner.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_command.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 2.7 [explain] failed with 18 errors:

lib/ansible/modules/network/junos/junos_banner.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_command.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.5 [explain] failed with 18 errors:

lib/ansible/modules/network/junos/junos_banner.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_command.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.6 [explain] failed with 18 errors:

lib/ansible/modules/network/junos/junos_banner.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_command.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.7 [explain] failed with 18 errors:

lib/ansible/modules/network/junos/junos_banner.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_command.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test docs-build [explain] failed with the error:

Command "/usr/bin/python test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/docs-build.py", line 55, in <module>
    main()
  File "test/sanity/code-smell/docs-build.py", line 17, in main
    raise subprocess.CalledProcessError(sphinx.returncode, cmd, output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['make', 'singlehtmldocs']' returned non-zero exit status 2.

The test ansible-test sanity --test validate-modules [explain] failed with 58 errors:

lib/ansible/modules/network/junos/junos_banner.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_banner.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_banner.py:0:0: E325 argument_spec for "active" defines type="bool" but documentation does not
lib/ansible/modules/network/junos/junos_banner.py:0:0: E326 Value for "choices" from the argument_spec (['login', 'motd']) for "banner" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_banner.py:0:0: E326 Value for "choices" from the argument_spec (['present', 'absent']) for "state" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_banner.py:58:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_command.py:0:0: E326 Value for "choices" from the argument_spec (['all', 'any']) for "match" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_command.py:0:0: E326 Value for "choices" from the argument_spec (['text', 'json', 'xml', 'set']) for "display" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_command.py:97:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_config.py:0:0: E324 Value for "default" from the argument_spec ('configured by junos_config') for "comment" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_config.py:0:0: E324 Value for "default" from the argument_spec ('merge') for "update" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_config.py:135:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_facts.py:0:0: E324 Value for "default" from the argument_spec ('text') for "config_format" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_facts.py:0:0: E324 Value for "default" from the argument_spec (['!config']) for "gather_subset" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_facts.py:0:0: E326 Value for "choices" from the argument_spec (['xml', 'text', 'set', 'json']) for "config_format" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_facts.py:65:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_interface.py:95:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_l2_interface.py:74:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_l3_interface.py:59:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_linkagg.py:74:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_lldp.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_lldp.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_lldp.py:61:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_lldp_interface.py:50:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_logging.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_logging.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_logging.py:78:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_netconf.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_netconf.py:0:0: E324 Value for "default" from the argument_spec (830) for "netconf_port" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_netconf.py:0:0: E326 Value for "choices" from the argument_spec (['present', 'absent']) for "state" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_netconf.py:53:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_rpc.py:0:0: E324 Value for "default" from the argument_spec ('xml') for "output" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_rpc.py:60:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_static_route.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_static_route.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_static_route.py:66:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_system.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_system.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_system.py:71:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_user.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_user.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_user.py:0:0: E325 argument_spec for "active" defines type="bool" but documentation does not
lib/ansible/modules/network/junos/junos_user.py:0:0: E325 argument_spec for "purge" defines type="bool" but documentation does not
lib/ansible/modules/network/junos/junos_user.py:0:0: E326 Value for "choices" from the argument_spec (['operator', 'read-only', 'super-user', 'unauthorized']) for "role" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_user.py:0:0: E326 Value for "choices" from the argument_spec (['present', 'absent']) for "state" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_user.py:91:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_vlan.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_vlan.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_vlan.py:60:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_vrf.py:85:1: E302 DOCUMENTATION is not valid YAML
test/sanity/validate-modules/ignore.txt:1269:1: A102 Remove since "lib/ansible/modules/network/junos/junos_logging.py" passes "E322" test
test/sanity/validate-modules/ignore.txt:1273:1: A102 Remove since "lib/ansible/modules/network/junos/junos_static_route.py" passes "E322" test

The test ansible-test sanity --test yamllint [explain] failed with 18 errors:

lib/ansible/modules/network/junos/junos_banner.py:58:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_command.py:97:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_config.py:135:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_facts.py:65:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_interface.py:95:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_l2_interface.py:74:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_l3_interface.py:59:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_linkagg.py:74:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_lldp.py:61:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_lldp_interface.py:50:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_logging.py:78:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_netconf.py:53:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_rpc.py:60:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_static_route.py:66:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_system.py:71:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_user.py:91:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_vlan.py:60:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_vrf.py:85:1: error DOCUMENTATION: syntax error: could not find expected ':'

click here for bot help

@ansibot ansibot added 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. owner_pr This PR is made by the module's maintainer. labels Apr 16, 2018
@gundalow
Copy link
Contributor

When there are lots of errors I'd suggest starting with the errors from yamllint. Once those issues are fixed then look at fixing the validate-modules issues.

@ansibot
Copy link
Contributor

ansibot commented Apr 17, 2018

The test ansible-test sanity --test ansible-doc --python 2.6 [explain] failed with 18 errors:

lib/ansible/modules/network/junos/junos_banner.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_command.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 2.7 [explain] failed with 18 errors:

lib/ansible/modules/network/junos/junos_banner.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_command.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.5 [explain] failed with 18 errors:

lib/ansible/modules/network/junos/junos_banner.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_command.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.6 [explain] failed with 18 errors:

lib/ansible/modules/network/junos/junos_banner.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_command.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.7 [explain] failed with 18 errors:

lib/ansible/modules/network/junos/junos_banner.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_command.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test docs-build [explain] failed with the error:

Command "/usr/bin/python test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/docs-build.py", line 55, in <module>
    main()
  File "test/sanity/code-smell/docs-build.py", line 17, in main
    raise subprocess.CalledProcessError(sphinx.returncode, cmd, output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['make', 'singlehtmldocs']' returned non-zero exit status 2.

The test ansible-test sanity --test validate-modules [explain] failed with 58 errors:

lib/ansible/modules/network/junos/junos_banner.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_banner.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_banner.py:0:0: E325 argument_spec for "active" defines type="bool" but documentation does not
lib/ansible/modules/network/junos/junos_banner.py:0:0: E326 Value for "choices" from the argument_spec (['login', 'motd']) for "banner" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_banner.py:0:0: E326 Value for "choices" from the argument_spec (['present', 'absent']) for "state" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_banner.py:58:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_command.py:0:0: E326 Value for "choices" from the argument_spec (['all', 'any']) for "match" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_command.py:0:0: E326 Value for "choices" from the argument_spec (['text', 'json', 'xml', 'set']) for "display" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_command.py:97:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_config.py:0:0: E324 Value for "default" from the argument_spec ('configured by junos_config') for "comment" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_config.py:0:0: E324 Value for "default" from the argument_spec ('merge') for "update" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_config.py:135:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_facts.py:0:0: E324 Value for "default" from the argument_spec ('text') for "config_format" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_facts.py:0:0: E324 Value for "default" from the argument_spec (['!config']) for "gather_subset" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_facts.py:0:0: E326 Value for "choices" from the argument_spec (['xml', 'text', 'set', 'json']) for "config_format" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_facts.py:65:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_interface.py:95:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_l2_interface.py:74:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_l3_interface.py:59:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_linkagg.py:74:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_lldp.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_lldp.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_lldp.py:61:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_lldp_interface.py:50:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_logging.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_logging.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_logging.py:78:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_netconf.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_netconf.py:0:0: E324 Value for "default" from the argument_spec (830) for "netconf_port" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_netconf.py:0:0: E326 Value for "choices" from the argument_spec (['present', 'absent']) for "state" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_netconf.py:53:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_rpc.py:0:0: E324 Value for "default" from the argument_spec ('xml') for "output" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_rpc.py:60:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_static_route.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_static_route.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_static_route.py:66:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_system.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_system.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_system.py:71:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_user.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_user.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_user.py:0:0: E325 argument_spec for "active" defines type="bool" but documentation does not
lib/ansible/modules/network/junos/junos_user.py:0:0: E325 argument_spec for "purge" defines type="bool" but documentation does not
lib/ansible/modules/network/junos/junos_user.py:0:0: E326 Value for "choices" from the argument_spec (['operator', 'read-only', 'super-user', 'unauthorized']) for "role" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_user.py:0:0: E326 Value for "choices" from the argument_spec (['present', 'absent']) for "state" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_user.py:91:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_vlan.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_vlan.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_vlan.py:60:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_vrf.py:85:1: E302 DOCUMENTATION is not valid YAML
test/sanity/validate-modules/ignore.txt:1269:1: A102 Remove since "lib/ansible/modules/network/junos/junos_logging.py" passes "E322" test
test/sanity/validate-modules/ignore.txt:1273:1: A102 Remove since "lib/ansible/modules/network/junos/junos_static_route.py" passes "E322" test

The test ansible-test sanity --test yamllint [explain] failed with 18 errors:

lib/ansible/modules/network/junos/junos_banner.py:58:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_command.py:97:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_config.py:135:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_facts.py:65:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_interface.py:95:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_l2_interface.py:74:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_l3_interface.py:59:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_linkagg.py:74:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_lldp.py:61:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_lldp_interface.py:50:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_logging.py:78:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_netconf.py:53:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_rpc.py:60:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_static_route.py:66:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_system.py:71:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_user.py:91:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_vlan.py:60:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_vrf.py:85:1: error DOCUMENTATION: syntax error: could not find expected ':'

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Apr 17, 2018

The test ansible-test sanity --test ansible-doc --python 2.6 [explain] failed with 16 errors:

lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 2.7 [explain] failed with 16 errors:

lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.5 [explain] failed with 16 errors:

lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.6 [explain] failed with 16 errors:

lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test ansible-doc --python 3.7 [explain] failed with 16 errors:

lib/ansible/modules/network/junos/junos_config.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_facts.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_linkagg.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_logging.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_netconf.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_rpc.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_static_route.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_system.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_user.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vlan.py:0:0: has a documentation error formatting or is missing documentation.
lib/ansible/modules/network/junos/junos_vrf.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test docs-build [explain] failed with the error:

Command "/usr/bin/python test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/docs-build.py", line 55, in <module>
    main()
  File "test/sanity/code-smell/docs-build.py", line 17, in main
    raise subprocess.CalledProcessError(sphinx.returncode, cmd, output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['make', 'singlehtmldocs']' returned non-zero exit status 2.

The test ansible-test sanity --test validate-modules [explain] failed with 49 errors:

lib/ansible/modules/network/junos/junos_config.py:0:0: E324 Value for "default" from the argument_spec ('configured by junos_config') for "comment" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_config.py:0:0: E324 Value for "default" from the argument_spec ('merge') for "update" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_config.py:135:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_facts.py:0:0: E324 Value for "default" from the argument_spec ('text') for "config_format" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_facts.py:0:0: E324 Value for "default" from the argument_spec (['!config']) for "gather_subset" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_facts.py:0:0: E326 Value for "choices" from the argument_spec (['xml', 'text', 'set', 'json']) for "config_format" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_facts.py:65:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_interface.py:95:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_l2_interface.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_l2_interface.py:74:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_l3_interface.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_l3_interface.py:59:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_linkagg.py:74:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_lldp.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_lldp.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_lldp.py:61:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_lldp_interface.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_lldp_interface.py:50:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_logging.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_logging.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_logging.py:78:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_netconf.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_netconf.py:0:0: E324 Value for "default" from the argument_spec (830) for "netconf_port" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_netconf.py:0:0: E326 Value for "choices" from the argument_spec (['present', 'absent']) for "state" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_netconf.py:53:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_rpc.py:0:0: E324 Value for "default" from the argument_spec ('xml') for "output" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_rpc.py:60:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_static_route.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_static_route.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_static_route.py:66:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_system.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_system.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_system.py:71:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_user.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_user.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_user.py:0:0: E325 argument_spec for "active" defines type="bool" but documentation does not
lib/ansible/modules/network/junos/junos_user.py:0:0: E325 argument_spec for "purge" defines type="bool" but documentation does not
lib/ansible/modules/network/junos/junos_user.py:0:0: E326 Value for "choices" from the argument_spec (['operator', 'read-only', 'super-user', 'unauthorized']) for "role" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_user.py:0:0: E326 Value for "choices" from the argument_spec (['present', 'absent']) for "state" does not match the documentation ([])
lib/ansible/modules/network/junos/junos_user.py:91:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_vlan.py:0:0: E324 Value for "default" from the argument_spec ('present') for "state" does not match the documentation (None)
lib/ansible/modules/network/junos/junos_vlan.py:0:0: E324 Value for "default" from the argument_spec (True) for "active" does not match the documentation (False)
lib/ansible/modules/network/junos/junos_vlan.py:60:1: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/junos/junos_vrf.py:85:1: E302 DOCUMENTATION is not valid YAML
test/sanity/validate-modules/ignore.txt:1269:1: A102 Remove since "lib/ansible/modules/network/junos/junos_logging.py" passes "E322" test
test/sanity/validate-modules/ignore.txt:1273:1: A102 Remove since "lib/ansible/modules/network/junos/junos_static_route.py" passes "E322" test

The test ansible-test sanity --test yamllint [explain] failed with 16 errors:

lib/ansible/modules/network/junos/junos_config.py:135:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_facts.py:65:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_interface.py:95:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_l2_interface.py:74:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_l3_interface.py:59:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_linkagg.py:74:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_lldp.py:61:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_lldp_interface.py:50:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_logging.py:78:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_netconf.py:53:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_rpc.py:60:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_static_route.py:66:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_system.py:71:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_user.py:91:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_vlan.py:60:1: error DOCUMENTATION: syntax error: could not find expected ':'
lib/ansible/modules/network/junos/junos_vrf.py:85:1: error DOCUMENTATION: syntax error: could not find expected ':'

click here for bot help

@acozine
Copy link
Contributor

acozine commented Apr 17, 2018

Phew. Some day I need to figure out how to break lines within the YAML, but for now two lines will be fine. Sorry about all the error output.

@ansibot ansibot added core_review In order to be merged, this PR must follow the core review workflow. and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Apr 17, 2018
@ansibot ansibot added the owner_pr This PR is made by the module's maintainer. label Apr 17, 2018
Copy link
Contributor

@acozine acozine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That took longer than I'd hoped, but I think this looks good - it clearly suggests that people should use the netconf connection whenever they can, but also tells them which other connection types work.

@ganeshrn ganeshrn merged commit 67d561b into ansible:devel Apr 17, 2018
@ganeshrn ganeshrn deleted the junos_documentation branch April 17, 2018 04:57
ganeshrn added a commit to ganeshrn/ansible that referenced this pull request Apr 17, 2018
* Add supported connection in junos module documentation

Add supported connection type in junos module doucmentation.

* adds link to platform docs

* makes recommended connection a code snippet

* does this fix banner and command?

* does this fix the rest of the errors?

(cherry picked from commit 67d561b)
ganeshrn added a commit that referenced this pull request Apr 17, 2018
* Add supported connection in junos module documentation

Add supported connection type in junos module doucmentation.

* adds link to platform docs

* makes recommended connection a code snippet

* does this fix banner and command?

* does this fix the rest of the errors?

(cherry picked from commit 67d561b)
@ganeshrn
Copy link
Member Author

Cherry-pick to 2.5 8f2d46e

@gundalow gundalow moved this from Need CP into 2.5.1 to Done in zzz NOT USED: Networking Bugs Apr 17, 2018
ilicmilan pushed a commit to ilicmilan/ansible that referenced this pull request Nov 7, 2018
* Add supported connection in junos module documentation

Add supported connection type in junos module doucmentation.

* adds link to platform docs

* makes recommended connection a code snippet

* does this fix banner and command?

* does this fix the rest of the errors?
@ansible ansible locked and limited conversation to collaborators Apr 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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. networking Network category owner_pr This PR is made by the module's maintainer. support:network This issue/PR relates to code supported by the Ansible Network Team.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants