Set fabric port defaults for vs platform - #1998
Open
lakshmi-nexthop wants to merge 1 commit into
Open
Conversation
Signed-off-by: lakshmi-nexthop <lakshmi@nexthop.ai>
Collaborator
|
/azp run |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
12 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
For UT2 kvm, running test_bgp_facts.py is causing an error due to fabric ports not initialized to default values.
ut2 is the first voq switch in VS platform. And the fabric lanemap is not set, but the default values are not set in the vslib. This caused the API getFabricPortList (in fabricport orch) to return error.
Summary:
Fixes # (issue)
Type of change
Approach
What is the motivation for this PR?
Support kvm ut2
Work item tracking
How did you do it?
set the fabric port default values to be 0 (for count) and null for ports.
How did you verify/test it?
ran test_bgp_facts.py on vtb and it passed without error
Any platform specific information?
Documentation