-
Notifications
You must be signed in to change notification settings - Fork 228
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
Parse failures causing later false positives #6637
Comments
Hi @bcavns01 - I'm not quite sure I grok this. E.g., I'm not sure how
failing to parse (which it did!) causes a reference to be lost. That line doesn't reference anything else. Other questions:
You can sync with us on Batfish Slack if you want a real-time interaction. Thanks! |
Hi @dhalperi , Thanks for the quick follow-up. Sorry for the ambiguity in the OP. I think I got too excited by the free-form format for posting issues to this repo. :) Not all the examples in the OP were related to unused structures. They were just examples of failures to parse that would seem to directly impact routing and ACLs. For the issue of unused structures, as-path-group will probably be one of the larger sources of trouble for us, so I'll try for a clearer example of that: Related Issue seen: (This seems to be the only related issue) 14,,"[configs/config:[1059, 4695]]",Parse warning,This feature is not currently supported,as-path-group 15133-PATH,[popsf_as_path_group pops_from pops_common pops_term po_policy_statement s_policy_options s_common statement set_line_tail set_line flat_juniper_configuration] Example of what was seen as as unused: 63,as-path-group as-path,ap15133_13,configs/config:[7097] What the config actually has: (ignore the XXXXXs, those are just redactions.)
It's possible that I'm misunderstanding something, but the ap15133_13 is definitely in use, and it looks like it's only being see as not in use because of the failure to parse To answer your other question, this is being tested on a QFX5100. |
@bcavns01 -- thanks! This is very helpful. Dumb question: is it legal to actually use the name If so, the issue (with reference tracking) is that we need to call the |
I wouldn't expect to be able to directly refer to it, but I'm not sure I've ever needed to try, so I can't say for sure. Looks like you've already merged in a potential fix for this, though. Great! |
FYI as-path-group is now supported: #8613 |
We're seeing parse failures for lines related to routing and firewall ACLs. When we later check for things like unusedStructures, we get results for things that are actually in use, but they are undetected because the structures using them failed to parse:
Examples of lines that failed parsing::
The text was updated successfully, but these errors were encountered: