-
Notifications
You must be signed in to change notification settings - Fork 102
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
Help wanted !!! There is a bug that needs your attention, thanks in advance! #201
Comments
These Lines
Regex will not match |
yuandongx
changed the title
A bug will come out when an error message has length more than 256.
Help wanted !!! There is a bug that needs your attention, thanks in advance!
Jan 12, 2021
Maybe relate to ansible-collections/cisco.asa#83 |
This appears to be a duplicate of #16. Thanks for reminding us that this really needs to get fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
I have missed a bug with code bock when I run a command
access-list test-acl-1 extended permit tcp object-group IP_Test host 10.22.5.38 eq 8080
, andIP_Test
does not exist on my device. An exception wiil be raised, but not.The reason of which is that length of error message is too long to handle with method
_find_prompt
.The method will only handle a block with length less than 256, but with length more than 256,
error_response
will beNone
again.So thenetwork_cli
will not work well.ISSUE TYPE
COMPONENT NAME
plugins/connection/network_cli.py
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: