sonic-buildimage icon indicating copy to clipboard operation
sonic-buildimage copied to clipboard

[Mellanox] Add dpuctl services to support "dark mode".

Open oleksandrivantsiv opened this issue 6 months ago • 0 comments

Why I did it

Smart Switch Dark Mode allows disabling of all DPUs, removing any influence the DPU has on the system.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Add the dpuctl.service that runs on system start and shuts down DPUs if needed.

How to verify it

Compile the image and run it on the Nvidia Smart Switch. Verify that all DPUs are down after the system starts.

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)

oleksandrivantsiv avatar Aug 17 '24 00:08 oleksandrivantsiv