-
Notifications
You must be signed in to change notification settings - Fork 393
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
Port-channel Fixes for iosxe ShowCtsInterface parser (iosxe/show_cts) #815
Port-channel Fixes for iosxe ShowCtsInterface parser (iosxe/show_cts) #815
Conversation
I've added new golden_output files |
Hello @aj-cruz, I have just checked your PR and it seems you removed the output from golden_output2_output.txt file. Please revert it back. |
Hello @SohanTirpude I reverted golden_output2, but it is now failing Action tests. However, now that I added code to address that, the golden_output2_expected will no longer match. Let me know how you would like me to proceed. Thanks. |
…nieparser into aj_fix_show_cts_iosxe
Hello @aj-cruz, Yes, as you mentioned we will need to update the golden_output2_expected.py file with the newer output. As per the guidelines, we should not remove anything from "*_output.txt" files and as per our changes, we can update the "*_expected.py" files. But along with these changes, we must add the newer output files. Because with the new output, we are seeing this above-mentioned error. So, to reproduce that error, we need original new output. I hope it is clear now. Kindly let me know if it is not. |
@SohanTirpude Understood, thanks. I've added port-channel interfces to golden_output2_expected and it is passing Actions tests. I believe it is ready for review. |
Please pull the latest dev code and then merge this PR |
…osxe Merging latest dev code
Hello @Taarini I'm not sure I did this correct, I'm kinda new to all this, but I did a git merge from upstream/master to my branch and my Actions test are failing with this error:
Looks like the show_platform iosxe parser from the master branch has a problem? |
Hello @aj-cruz, Thank you very much for letting us know about this. Yes, it looks like regex Can you please do us a favour and add the below lines of code after regex
Kindly let me know if you have any confusion. Thank you. |
Hello @SohanTirpude , You want me to add that to |
Looks like now the Actions test are failing with this:
|
Description
Fixes/Updates to show_cts iosxe parser and associated tests to support port-channel interfaces.
Motivation and Context
Resolves #812
Impact (If any)
Screenshots:
Code for using the fixed parser:
Code for displaying the results:
The results from running the code with the proposed fixes:
Checklist: