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

[smart-switch] Extend config generator for t1-smartswitch topology. #27

Closed
wants to merge 1 commit into from

Conversation

oleksandrivantsiv
Copy link
Owner

Why I did it

The Smart Switch includes two types of devices (Switch and DPU) that require the sample configuration. Generate Smart Switch sample configurations for Switch or DPU based on the device type.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Extend the sample config generator for t1-smartswitch topology.

How to verify it

Run sonic-cfggen UT.

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)

data = generate_t1_sample_config(data)
data['DEVICE_METADATA']['localhost']['subtype'] = 'SmartSwitch'

mpbr_prefix = '169.254.200'
mpbr_address = '{}.254'.format(mpbr_prefix)

bridge_name = 'bridge_midplane'
data['MID_PLANE_BRIDGE'] = {

Choose a reason for hiding this comment

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

Can you please clarify why is this removed?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Based on the changes in IP address assignment HLD, it is no longer needed. This configuration now sits in platform.json and is used only by midplane bridge service

oleksandrivantsiv pushed a commit that referenced this pull request Aug 31, 2024
…tically (sonic-net#20083)

#### Why I did it
src/sonic-dash-api
```
* 4919d9e - (HEAD -> master, origin/master, origin/HEAD) Allow `underlay_sip` to coexist with `vnet` in Route table (#27) (4 hours ago) [Lawrence Lee]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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