You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()
I expect ip route static adjust-time 60 to cause a problem with factory parsing...
You have choices... your simplest choice is to parse with factory=False, but admittedly you may be using this-factory-drug-I-published years ago and I now regret doing... lol...
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 ?
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.
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: