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

[smartswitch] Add support of a new 't1-smartswitch' topology to the sample config generator. #17326

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

oleksandrivantsiv
Copy link
Collaborator

Why I did it

Add support of a new 't1-smartswitch' topology to the sample config generator. The topology passed to sonic-cfggen utility as a parameter to generate sample configuration for Smart Switch:

sonic-cfggen  -k <SKU> --preset t1-smartswitch ...
Work item tracking
  • Microsoft ADO (number only):

How I did it

Extend sample config generator to support new topology and read Smart Switch specific data from hwsku.json.

How to verify it

Run unit tests. The changes are covered with the new unit tests.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

@liat-grozovik liat-grozovik merged commit fef1346 into sonic-net:master Dec 7, 2023
data['MID_PLANE_BRIDGE'] = {
'GLOBAL': {
'bridge': bridge_name,
'address': '{}/24'.format(mpbr_address)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yaqiangz you are right. I'll create a PR with the fix.

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.

5 participants