Skip to content

Set fabric port defaults for vs platform - #1998

Open
lakshmi-nexthop wants to merge 1 commit into
sonic-net:masterfrom
nexthop-ai:set-fabric-port-defaults-vs-platform
Open

Set fabric port defaults for vs platform#1998
lakshmi-nexthop wants to merge 1 commit into
sonic-net:masterfrom
nexthop-ai:set-fabric-port-defaults-vs-platform

Conversation

@lakshmi-nexthop

Copy link
Copy Markdown
Contributor

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

  • Bug fix
  • New feature
  • Refactor / cleanup
  • Documentation update
  • Test improvement

Approach

What is the motivation for this PR?

Support kvm ut2

Work item tracking
  • Microsoft ADO (number only):

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

Signed-off-by: lakshmi-nexthop <lakshmi@nexthop.ai>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants