-
Notifications
You must be signed in to change notification settings - Fork 7
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 support for show running-config all #14
Comments
I expect You have choices... your simplest choice is to parse with Thoughts? |
Hi, I tried with Mikael |
Hello and thank you for testing.
In order to properly fix this, I need the complete copy of “show runn all”.
Either attach it to an email to me or add it to this GitHub issue.
…On Thu, Nov 28, 2024 at 14:21 Mikaël ANDRE ***@***.***> wrote:
Hi,
Thank you for your answer.
I tried with factory=False, same behavior.
I alse deleted line ip route static adjust-time 60, another line was not
correctly parsed ip route static inter-vrf.
I don't know if it's root cause but in both line there is a dash. Could
this dash be the issue ?
Mikael
—
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAJA75D2F2LFKB26GHDJ4D2C53OHAVCNFSM6AAAAABPOPMJQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBWG4ZDIMBSGM>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
FYI I formally confirmed that the bug does NOT affect ciscoconfparse2 with
factory=False.
As such the workaround is factory=False.
|
Hi,
First, I want to thank you for the great job. I reused this module in my job.
After analyze, some commands didn't appear because they are, by default, implemented (for example
ip ssh version 2
)To get entire configuration, I ran
show running-configuration full
.I ran my script with the full configuration.
I removed all empty lines, lines beginning with
!
.In attached file,I put output errors.
After deep dive reverse engineering, I guess some commands are not implemented in your module.
ValueError: ciscoconfparse2.py config_line_factory(all_lines=[], line=
ip route static adjust-time 60, comment_delimiters=[
['!']], syntax=
ios) could not find a subclass of BaseCfgLine()
Many thanks and have a nice day.
output_error.txt
The text was updated successfully, but these errors were encountered: