Skip to content
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

Enhancing vs support to mock based on platform #8685

Merged
merged 1 commit into from
Sep 9, 2021

Conversation

dgsudharsan
Copy link
Collaborator

Why I did it

Updated sai_vs profile based on fake platform provided. Currently vs initializes platform and data structures based on vs profile which is fixed. However, when fake platform env is set , vslib needs to initialize to a different platform.

How I did it

Created new sai profile for mellanox and when fake_platform is mellanox, this would override the sai.profile file.

How to verify it

Ran test cases with fake_platform and without it confirming it works.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@dgsudharsan dgsudharsan requested a review from lguohan as a code owner September 4, 2021 00:18
@kcudnik
Copy link
Contributor

kcudnik commented Sep 4, 2021

please check build errors

@dgsudharsan
Copy link
Collaborator Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yozhao101
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dgsudharsan
Copy link
Collaborator Author

@kcudnik @lguohan Build is now passing. Can we merge this?

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.

4 participants