Skip to content

Commit

Permalink
[Mellanox] Fix the issue in check sysfs on SN5600 (sonic-net#9558)
Browse files Browse the repository at this point in the history
For the psu capability, the psuX_volt_in_capability can be checked on any kind of platform
For sn5600, need to check the psuX_volt_out2_capability, but not psuX_volt_out_capability
  • Loading branch information
nhe-NV authored Dec 10, 2023
1 parent 6106c7a commit 1e8d71a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/common/mellanox_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

PSU_CAPABILITIES = [
['psu{}_curr', 'psu{}_curr_in', 'psu{}_power', 'psu{}_power_in', 'psu{}_volt', 'psu{}_volt_in', 'psu{}_volt_out'],
['psu{}_curr', 'psu{}_curr_in', 'psu{}_power', 'psu{}_power_in', 'psu{}_volt', 'psu{}_volt_out2']
['psu{}_curr', 'psu{}_curr_in', 'psu{}_power', 'psu{}_power_in', 'psu{}_volt', 'psu{}_volt_in', 'psu{}_volt_out2']
]
SWITCH_MODELS = {
"x86_64-nvidia_sn5600-r0": {
Expand All @@ -28,7 +28,7 @@
"psus": {
"number": 2,
"hot_swappable": True,
"capabilities": PSU_CAPABILITIES[0]
"capabilities": PSU_CAPABILITIES[1]
},
"cpu_pack": {
"number": 1
Expand Down

0 comments on commit 1e8d71a

Please sign in to comment.