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

[vslib]: Remove invalid lane when create ports #938

Merged
merged 2 commits into from
Sep 24, 2021

Conversation

Pterosaur
Copy link
Contributor

@Pterosaur Pterosaur commented Sep 22, 2021

To make the virtual SAI supports partial ports enabled.

Here is the qemu xml example that only enables two interfaces.
image

The SWSS will exit with an unexpected error as follow
image
image

I check the availability of eth-x ports at creating port.

Signed-off-by: Ze Gan [email protected]

Signed-off-by: Ze Gan <[email protected]>
@Pterosaur Pterosaur merged commit db403f4 into sonic-net:master Sep 24, 2021
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
* [vslib]: Remove invalid lane when create ports

Signed-off-by: Ze Gan <[email protected]>

* refactor function

Signed-off-by: Ze Gan <[email protected]>
@Pterosaur Pterosaur deleted the fix_partial_ports2 branch January 12, 2023 04:24
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