-
Notifications
You must be signed in to change notification settings - Fork 17
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
Some config merge errors are not reported back by napalm-sros: #68
Comments
/cc @jbemmel |
I have found the reason why this error was not reported. (Commit error handling dit not work at all for my SROS lab ) This was the error:
That matched this regex sros.py lines 348,349: (The # makes it looks like it's a cmd_line) So I changed the code a bit to first match the error regex and later the cmd_line (Maybe the whole cmd_line can be left out ?) This is the current diff. I added some extra debugging to have more logging.
I have pushed this to my fork @ https://github.com/rinsekloek/napalm-sros |
Thanks, PR applied: #69 |
When deploying a new router I stumbled upon the issue that a config merge error is not reported back via the Napalm SROS module in Peering Manager, but when I do the config change manually Incuding commit, I do get these messages. Is this expected behaviour ? I would like to get feedback If my commit is not working.
Config merge from Peering manager via Napalm: (No error message is reported back, but I would expecet the message of policy-variable definition-missing )
Manual config change on Router: (There were some policy-variable definition-missing , clear error output)
The text was updated successfully, but these errors were encountered: