From 16d0bc66d38281f327cc44284b9eaa6401ebabfe Mon Sep 17 00:00:00 2001 From: Sonic Build Admin Date: Thu, 6 Feb 2025 21:42:42 +0000 Subject: [PATCH] [nvidia-bluefield] Add default disk to platform json #### Why I did it On nvidia-bluefield, there is a eMMC along with the default NVMe disk. However, the ssdhealth command today picks up eMMC by default. Thus added this new field to platforn.json Related to https://github.com/sonic-net/sonic-utilities/pull/3693 ##### Work item tracking - Microsoft ADO **(number only)**: #### How I did it Infra to read this is updated in the sonic-utilities show cli #### How to verify it Verfied if `show platform ssdhealth` is reading the correct disk by default #### 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) --- .../nvidia-bluefield/arm64-nvda_bf-bf3comdpu/platform.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/device/nvidia-bluefield/arm64-nvda_bf-bf3comdpu/platform.json b/device/nvidia-bluefield/arm64-nvda_bf-bf3comdpu/platform.json index b50809fd422..f8ba39eeebe 100644 --- a/device/nvidia-bluefield/arm64-nvda_bf-bf3comdpu/platform.json +++ b/device/nvidia-bluefield/arm64-nvda_bf-bf3comdpu/platform.json @@ -6,7 +6,10 @@ "fan_drawers": [], "psus": [], "thermals": [], - "sfps": [] + "sfps": [], + "disk": { + "device" : "/dev/nvme0n1" + } }, "interfaces": { "Ethernet0": {