-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minitest: Handle N7k F3-features w/o compat LCs (#463)
* test_vpc needs rescue for incompat intf * Handle N7k F3-features w/o compat LCs * The vrf_af route_target tests were failing because feature nv overlay failed - because our n7k does not have an F3 linecard: ``` 1) There are some features that refuse to load unless the VDC is limited to F3 only, but they will actually load if the config is present, despite the fact that there are no physical F3s. 2) We have some tests that need these features but don't need interfaces. ``` * Solution: Enable the vdc config for F3 but don't fail if the physical LC is not present * Prior to this solution I had created a couple of methods to find an appropriate interface based on the feature-to-LC requirements. This works but is only useful for features that also require an interface (unlike the vrf_af test). Eventually I would like to remove the other one-off methods (e.g. `fabricpath_testenv_setup`, `vxlan_linecard?`, etc) that do similar functions and convert the callers to use this common one instead. Since there are no current callers for it I just commented it out. * Tested on n7k (no F3 card) and N9K. * /if-else/case/
- Loading branch information
1 parent
d5f15a5
commit 594524a
Showing
4 changed files
with
92 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters