Skip to content

Support for Standalone DPU platforms #57

Open
gpunathilell wants to merge 2 commits into
masterfrom
BF3_POC_Gen
Open

Support for Standalone DPU platforms #57
gpunathilell wants to merge 2 commits into
masterfrom
BF3_POC_Gen

Conversation

@gpunathilell

Copy link
Copy Markdown
Owner

Why I did it

Support for new DPU platform and for the Standalone DPU "Appliance" Topology
Changes introduced:
Platform independent changes:

  • dockers/docker-database/docker-database-init.sh Support for Appliance DPU, do not export REMOTE_DB_PORT and REMOTE_DB_IP in case of appliance DPU, so that database is initialized with local DPU_APPL_DB and DPU_STATE_DB in case of appliance topology
  • dockers/docker-orchagent/orchagent.sh - Allow zmq initialization in orchagent for Appliance subtype
  • dockers/docker-sonic-gnmi/gnmi-native.sh - Allow zmq port initialization in the gnmi server for Appliance subtype
  • src/sonic-config-engine/config_samples.py - Add support for appliance topology and generate basic default config during first boot
  • src/sonic-yang-models/yang-models/sonic-device_metadata.yang - Yang validation update for appliance topology
  • src/systemd-sonic-generator/systemd-sonic-generator.cpp - Differentiate between APPLIANCE_DPU and SMARTSWITCH_DPU during systemd service generation, this is done by checking for APPLIANCE_DPU key in platform.json
Work item tracking
  • Microsoft ADO (number only):

How I did it

Updated changes as described above

How to verify it

Test with manual deployment of image generated after build on standalone DPU device to test the SONiC image

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

  • 202205
  • 202211
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

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)

Signed-off-by: gpunathilell <gpunathilell@nvidia.com>
midplane_ip=$( ip -4 -o addr show eth0-midplane | awk '{print $4}' | cut -d'/' -f1 )
if [[ $midplane_ip != "" ]]
then
if [[ $IS_APPLIANCE_DPU == "false" ]]; then

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It is better to change to if [[ $IS_APPLIANCE_DPU != "true" ]]; then. In this case the code will work correctly even if IS_APPLIANCE_DPU is not set

Signed-off-by: gpunathilell <gpunathilell@nvidia.com>
kperumalbfn pushed a commit that referenced this pull request Dec 19, 2025
…sonic-net#24544)

#### Why I did it
src/dhcpmon
```
* 40b009d - (HEAD -> master, origin/master, origin/HEAD) Automated agent pool migration for branch master (#57) (3 days ago) [yijingyan2]
```
#### How I did it
#### How to verify it
#### Description for the changelog
gpunathilell pushed a commit that referenced this pull request Feb 17, 2026
…tically (sonic-net#25454)

#### Why I did it
src/sonic-dash-api
```
* 4b78817 - (HEAD -> master, origin/master, origin/HEAD) Add .github/copilot-instructions.md for AI-assisted development (#57) (28 hours ago) [rustiqly]
```
#### How I did it
#### How to verify it
#### Description for the changelog
@dgsudharsan
dgsudharsan removed their request for review April 1, 2026 03:55
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