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

Fix 496 - remove string substitution #502

Conversation

TheRealBecks
Copy link
Contributor

Fixes #496

SUMMARY

- have been wrongly replaced by _ in port_protocol causing dictionary key comparisons.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

eos_acls

Copy link

codecov bot commented Nov 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (58e5fe6) 82.76% compared to head (237cd31) 82.87%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #502      +/-   ##
==========================================
+ Coverage   82.76%   82.87%   +0.11%     
==========================================
  Files         153      153              
  Lines       11967    11966       -1     
==========================================
+ Hits         9904     9917      +13     
+ Misses       2063     2049      -14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/d44013e909c649b5a943b226edc7c8b9

✔️ ansible-test-network-integration-eos-httpapi-python39-stable215 SUCCESS in 42m 08s
✔️ ansible-test-network-integration-eos-httpapi-python39-stable214 SUCCESS in 41m 13s
✔️ ansible-test-network-integration-eos-httpapi-python39-stable213 SUCCESS in 35m 18s
✔️ ansible-test-network-integration-eos-httpapi-python39-stable212 SUCCESS in 37m 51s
ansible-test-network-integration-eos-httpapi-python39-stable211 RETRY_LIMIT in 1m 10s
✔️ ansible-test-network-integration-eos-network_cli-python39-stable215-scenario01 SUCCESS in 33m 30s (non-voting)
ansible-test-network-integration-eos-network_cli-python39-stable215-scenario02 FAILURE in 33m 20s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-libssh-python39-stable215-scenario01 SUCCESS in 34m 09s (non-voting)
ansible-test-network-integration-eos-network_cli-libssh-python39-stable215-scenario02 RETRY_LIMIT in 1m 19s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-python39-stable214-scenario01 SUCCESS in 32m 14s (non-voting)
ansible-test-network-integration-eos-network_cli-python39-stable214-scenario02 RETRY_LIMIT in 1m 51s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-libssh-python39-stable214-scenario01 SUCCESS in 31m 44s (non-voting)
ansible-test-network-integration-eos-network_cli-libssh-python39-stable214-scenario02 FAILURE in 35m 43s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-python39-stable213-scenario01 SUCCESS in 31m 15s (non-voting)
ansible-test-network-integration-eos-network_cli-python39-stable213-scenario02 FAILURE in 37m 28s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-libssh-python39-stable213-scenario01 SUCCESS in 32m 19s (non-voting)
ansible-test-network-integration-eos-network_cli-libssh-python39-stable213-scenario02 FAILURE in 37m 25s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-python39-stable212-scenario01 SUCCESS in 31m 40s (non-voting)
ansible-test-network-integration-eos-network_cli-python39-stable212-scenario02 FAILURE in 33m 50s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-libssh-python39-stable212-scenario01 SUCCESS in 32m 33s (non-voting)
ansible-test-network-integration-eos-network_cli-libssh-python39-stable212-scenario02 RETRY_LIMIT in 1m 09s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-python39-stable211-scenario01 SUCCESS in 32m 59s (non-voting)
ansible-test-network-integration-eos-network_cli-python39-stable211-scenario02 FAILURE in 35m 28s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-libssh-python39-stable211-scenario01 SUCCESS in 33m 07s (non-voting)
ansible-test-network-integration-eos-network_cli-libssh-python39-stable211-scenario02 FAILURE in 32m 49s (non-voting)
✔️ build-ansible-collection SUCCESS in 9m 49s
✔️ ansible-tox-linters SUCCESS in 12m 00s
✔️ ansible-galaxy-importer SUCCESS in 5m 24s

@TheRealBecks
Copy link
Contributor Author

The ACL tests for IPv6 fail:

Unsupported parameters for (basic.py) module: config.acls.aces.protocol_options.icmpv6.reject-route.

Supported parameters include: [...] reject_route [...]

The device IPv6 commands will be parsed as dictionary keys with an underscore. Therefore my fix isn't working. Back to the drawing board...

Copy link

Label error. Requires exactly 1 of: bug, enhancement, major, minor, patch, skip-changelog. Found:

@TheRealBecks
Copy link
Contributor Author

@rohitthakur2590 I don't think that it's possible or even good to merge my PR as there are several open issues with the eos_acls module. It looks like that there are three (?) sections that need a rewrite to address all issues at once. Also several test cases are missing.

I would like to add a new parent issue to collect all issues for that module (...there are also issues that have no issue report, yet...). From there on we can discuss how to proceed. Do you also think that that would be a good way to go?

Copy link

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/b3d41a9a199e44648bb74c6d9648ffe7

✔️ ansible-test-network-integration-eos-httpapi-python39-stable215 SUCCESS in 45m 13s
✔️ ansible-test-network-integration-eos-httpapi-python39-stable214 SUCCESS in 45m 22s
✔️ ansible-test-network-integration-eos-httpapi-python39-stable213 SUCCESS in 40m 35s
✔️ ansible-test-network-integration-eos-httpapi-python39-stable212 SUCCESS in 40m 04s
✔️ ansible-test-network-integration-eos-httpapi-python39-stable211 SUCCESS in 40m 36s
✔️ ansible-test-network-integration-eos-network_cli-python39-stable215-scenario01 SUCCESS in 36m 48s (non-voting)
ansible-test-network-integration-eos-network_cli-python39-stable215-scenario02 FAILURE in 39m 04s (non-voting)
ansible-test-network-integration-eos-network_cli-libssh-python39-stable215-scenario01 RETRY_LIMIT in 4m 16s (non-voting)
ansible-test-network-integration-eos-network_cli-libssh-python39-stable215-scenario02 FAILURE in 34m 34s (non-voting)
ansible-test-network-integration-eos-network_cli-python39-stable214-scenario01 RETRY_LIMIT in 4m 29s (non-voting)
ansible-test-network-integration-eos-network_cli-python39-stable214-scenario02 FAILURE in 41m 13s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-libssh-python39-stable214-scenario01 SUCCESS in 36m 50s (non-voting)
ansible-test-network-integration-eos-network_cli-libssh-python39-stable214-scenario02 FAILURE in 38m 24s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-python39-stable213-scenario01 SUCCESS in 38m 39s (non-voting)
ansible-test-network-integration-eos-network_cli-python39-stable213-scenario02 FAILURE in 34m 47s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-libssh-python39-stable213-scenario01 SUCCESS in 32m 50s (non-voting)
ansible-test-network-integration-eos-network_cli-libssh-python39-stable213-scenario02 FAILURE in 36m 52s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-python39-stable212-scenario01 SUCCESS in 33m 04s (non-voting)
ansible-test-network-integration-eos-network_cli-python39-stable212-scenario02 FAILURE in 33m 08s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-libssh-python39-stable212-scenario01 SUCCESS in 37m 37s (non-voting)
ansible-test-network-integration-eos-network_cli-libssh-python39-stable212-scenario02 FAILURE in 34m 40s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-python39-stable211-scenario01 SUCCESS in 34m 08s (non-voting)
ansible-test-network-integration-eos-network_cli-python39-stable211-scenario02 FAILURE in 36m 03s (non-voting)
✔️ ansible-test-network-integration-eos-network_cli-libssh-python39-stable211-scenario01 SUCCESS in 35m 20s (non-voting)
ansible-test-network-integration-eos-network_cli-libssh-python39-stable211-scenario02 FAILURE in 34m 54s (non-voting)
✔️ build-ansible-collection SUCCESS in 10m 40s
✔️ ansible-tox-linters SUCCESS in 12m 31s
✔️ ansible-galaxy-importer SUCCESS in 4m 51s

@rohitthakur2590
Copy link
Contributor

@TheRealBecks I agree! Let's open one separate issue for ACLS and mention all the acls specifics issues in that for the sake of better tracking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ACL ACEs with - in port_protocol get replaced by _
2 participants