-
Notifications
You must be signed in to change notification settings - Fork 6
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
CASMNET-2301-fixing-VRF-test #633
Conversation
I installed your RPM on surtur, there is a second OSPF test that has
Looks like your change is also needed here canu/canu/test/aruba/test_suite.yaml Lines 314 to 327 in 1853f96
Somewhat distressingly the test passes because even though the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marumugam-hpe good work. In the future a bit more description in the PR is appropriate. I correct it in this one.
Summary and Scope
This change was made to allow customization of VRF name used for customers. Only
canu test
was modified.Previously
canu test
had a hard codedCustomer
VRF. This was both wrong in that the PoR name isCSM
, and didn't allow for customization. The new code defaults the VRF toCSM
but allows command-line based customization.This code also fixes a logic issue in the VRF neighbors test. Previously the test checked for a return of
No OSPF Neighbors
from the command line. The original test allowed errors where no VRF was configured to show up as a test success. The new logic catches both no neighbors and misconfiguration errors more effectively, though the framework does not allow dissecting which specific error occurred.Issues and Related PRs
https://jira-pro.it.hpe.com:8443/browse/CASMNET-2301
Testing
Tested on spine switch 001/002 on Surtur.