-
Notifications
You must be signed in to change notification settings - Fork 387
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
IOS-XR cef parser throws error: 'prefix_dict' referenced before assignment #737
Comments
To provide some more info, here's the CLI output coming back from the device as displayed in my terminal
The above IP addresses are bogus, but I want to check if I can find non-resolved routes in CEF. |
Hi naveci, I am looking at your ticket and reviewing it, Please let me know are you facing the issue still or not ? |
Hi naveci, Your cli output "10.255.255.224/32, version 31880810, drop adjacency, internal 0x1000001 0x30" was not matching the regular expression what was there, |
yes, still an issue and a reason for me not to use this feature right now. Thanks =) |
Hi, Could you please raise the PR, will contribute with reviews to merge. |
I'm sorry, it's unclear for me what to raise a PR for. I don't have any suggested code change. |
Hi @naveci , As per parser schema of this command (show cef ipv4 10.255.255.224/32 detail) , changes are required as per cli output. |
Hi @ParimiNeeraja, I understand that the regex is incomplete. However, I'm not an expert at regex and I don't have the solution for this right now. Hence why I'm reporting it as an issue. To raise a PR, some branch or fork has to be merged with another. I don't have a branch or fork to merge right now, as I don't have any proposed code change. Furthermore, I'm reporting this issue within the genieparser repository. I'm very sorry, but these directions really aren't clear to me. If you tell me to open a TAC case, that I can do. But as far as I'm aware, I'm here at the right place to report an issue to which I don't have the solution yet myself. |
Hi @naveci , Thanks for reporting the issue. We will add this to our backlog and keep you posted on when it will be released. |
Hi @naveci , Could you please share the full cli output(show cef ipv4 10.255.255.224/32 detail) for the issue you are facing. So that we can help you in fixing the issue. |
Hi, I believe the output was already somewhere in this topic, but here's one I just pulled from the router.
|
Hi @naveci , I Resolved this issue with your output. It will be available on 23.7 released |
Hi,
I ran into an issue today trying to parse a CEF table on an IOS-XR device. I can see the CLI output, but then Python returns the following data when using the Pyats CLI:
The returned data contains a dict of with the device name as key and then an empty dict as the value. No other data is returned.
My version:
The text was updated successfully, but these errors were encountered: