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

Only generate config for existing ports in sonic-vs #9185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

networkop
Copy link

Why I did it

The current logic in start.sh file does not take into account the ports saved in /usr/share/sonic/hwsku/port_config.ini.
This change will ensure that the final generated config will only contain ports present in the port_config.ini file

Without this change, the vs image will have the full set of (32) ports even when fewer eth interface are connected.

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

  • [x ] 201811
  • [ x] 201911
  • [x ] 202006
  • [x ] 202012
  • [x ] 202106

Description for the changelog

Only generate config for existing ports

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.

1 participant