Skip to content

Commit

Permalink
[Mellanox] Align PSU fan name in platform.json with latest change in PR
Browse files Browse the repository at this point in the history
#7490 (#7557)

The PSU fan name convention was changed from "psu_{}_fan_{}" to "psu{}_fan{}" in PR #7490, platform.json need to be changed and aligned.
  • Loading branch information
keboliu authored May 7, 2021
1 parent 7a575b3 commit 629f445
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions device/mellanox/x86_64-mlnx_msn2410-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"name": "PSU 1",
"fans": [
{
"name": "psu_1_fan_1"
"name": "psu1_fan1"
}
],
"thermals": [
Expand All @@ -86,7 +86,7 @@
"name": "PSU 2",
"fans": [
{
"name": "psu_2_fan_1"
"name": "psu2_fan1"
}
],
"thermals": [
Expand Down
4 changes: 2 additions & 2 deletions device/mellanox/x86_64-mlnx_msn2700-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"name": "PSU 1",
"fans": [
{
"name": "psu_1_fan_1"
"name": "psu1_fan1"
}
],
"thermals": [
Expand All @@ -86,7 +86,7 @@
"name": "PSU 2",
"fans": [
{
"name": "psu_2_fan_1"
"name": "psu2_fan1"
}
],
"thermals": [
Expand Down
4 changes: 2 additions & 2 deletions device/mellanox/x86_64-mlnx_msn2740-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"name": "PSU 1",
"fans": [
{
"name": "psu_1_fan_1"
"name": "psu1_fan1"
}
],
"thermals": [
Expand All @@ -71,7 +71,7 @@
"name": "PSU 2",
"fans": [
{
"name": "psu_2_fan_1"
"name": "psu2_fan1"
}
],
"thermals": [
Expand Down
4 changes: 2 additions & 2 deletions device/mellanox/x86_64-mlnx_msn3420-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"name": "PSU 1",
"fans": [
{
"name": "psu_1_fan_1"
"name": "psu1_fan1"
}
],
"thermals": [
Expand All @@ -97,7 +97,7 @@
"name": "PSU 2",
"fans": [
{
"name": "psu_2_fan_1"
"name": "psu2_fan1"
}
],
"thermals": [
Expand Down
4 changes: 2 additions & 2 deletions device/mellanox/x86_64-mlnx_msn3700-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"name": "PSU 1",
"fans": [
{
"name": "psu_1_fan_1"
"name": "psu1_fan1"
}
],
"thermals": [
Expand All @@ -108,7 +108,7 @@
"name": "PSU 2",
"fans": [
{
"name": "psu_2_fan_1"
"name": "psu2_fan1"
}
],
"thermals": [
Expand Down
4 changes: 2 additions & 2 deletions device/mellanox/x86_64-mlnx_msn3700c-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"name": "PSU 1",
"fans": [
{
"name": "psu_1_fan_1"
"name": "psu1_fan1"
}
],
"thermals": [
Expand All @@ -86,7 +86,7 @@
"name": "PSU 2",
"fans": [
{
"name": "psu_2_fan_1"
"name": "psu2_fan1"
}
],
"thermals": [
Expand Down
4 changes: 2 additions & 2 deletions device/mellanox/x86_64-mlnx_msn3800-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"name": "PSU 1",
"fans": [
{
"name": "psu_1_fan_1"
"name": "psu1_fan1"
}
],
"thermals": [
Expand All @@ -69,7 +69,7 @@
"name": "PSU 2",
"fans": [
{
"name": "psu_2_fan_1"
"name": "psu2_fan1"
}
],
"thermals": [
Expand Down
4 changes: 2 additions & 2 deletions device/mellanox/x86_64-mlnx_msn4410-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"name": "PSU 1",
"fans": [
{
"name": "psu_1_fan_1"
"name": "psu1_fan1"
}
],
"thermals": [
Expand All @@ -108,7 +108,7 @@
"name": "PSU 2",
"fans": [
{
"name": "psu_2_fan_1"
"name": "psu2_fan1"
}
],
"thermals": [
Expand Down
4 changes: 2 additions & 2 deletions device/mellanox/x86_64-mlnx_msn4600-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"name": "PSU 1",
"fans": [
{
"name": "psu_1_fan_1"
"name": "psu1_fan1"
}
],
"thermals": [
Expand All @@ -66,7 +66,7 @@
"name": "PSU 2",
"fans": [
{
"name": "psu_2_fan_1"
"name": "psu2_fan1"
}
],
"thermals": [
Expand Down
4 changes: 2 additions & 2 deletions device/mellanox/x86_64-mlnx_msn4600c-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"name": "PSU 1",
"fans": [
{
"name": "psu_1_fan_1"
"name": "psu1_fan1"
}
],
"thermals": [
Expand All @@ -66,7 +66,7 @@
"name": "PSU 2",
"fans": [
{
"name": "psu_2_fan_1"
"name": "psu2_fan1"
}
],
"thermals": [
Expand Down
4 changes: 2 additions & 2 deletions device/mellanox/x86_64-mlnx_msn4700-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"name": "PSU 1",
"fans": [
{
"name": "psu_1_fan_1"
"name": "psu1_fan1"
}
],
"thermals": [
Expand All @@ -108,7 +108,7 @@
"name": "PSU 2",
"fans": [
{
"name": "psu_2_fan_1"
"name": "psu2_fan1"
}
],
"thermals": [
Expand Down

0 comments on commit 629f445

Please sign in to comment.