sonic-buildimage
sonic-buildimage copied to clipboard
[Mellanox] Add dpuctl services to support "dark mode".
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)
- [ ]
- [ ]