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

Issue when parsing IOS-XR configs with more than 3 levels of config #21

Closed
ethanroy opened this issue Feb 10, 2015 · 1 comment
Closed
Assignees
Labels

Comments

@ethanroy
Copy link

Hey, I am having some issues parsing through some config to pull route targets out of IOS-XR config, after working with it for a while it seems like any config with 4 indents doesn't get evaluated.

Config:
screen shot 2015-02-10 at 10 56 47 am

Script:
screen shot 2015-02-10 at 10 57 47 am

Output:
node$ python vrf.py
['vrf test', ' address-family ipv4 unicast', ' import route-policy bgp-pref', ' import route-target', ' export route-target']

Let me know what you think, everything else I have done has worked great.
Thanks

mpenning added a commit that referenced this issue Feb 11, 2015
--HG--
branch : ciscoconfparse
mpenning added a commit that referenced this issue Feb 11, 2015
--HG--
branch : ciscoconfparse
@mpenning mpenning added the bug label Feb 11, 2015
@mpenning mpenning self-assigned this Feb 11, 2015
@mpenning
Copy link
Owner

Thank you for reporting this problem. The bug should be fixed in version 1.2.10; I added a unit test to detect the issue going forward.

mpenning added a commit that referenced this issue Oct 28, 2015
--HG--
branch : ciscoconfparse
mpenning added a commit that referenced this issue Oct 28, 2015
--HG--
branch : ciscoconfparse
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants