-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mellanox] thermal control enhancement for dynamic minimum FAN speed …
…policy and PSU speed policy
- Loading branch information
1 parent
592abec
commit 3b77d71
Showing
12 changed files
with
801 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
134 changes: 134 additions & 0 deletions
134
platform/mellanox/mlnx-platform-api/sonic_platform/device_data.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
DEVICE_DATA = { | ||
'ACS-MSN2700': { | ||
'thermal': { | ||
'minimum_table': { | ||
"p2c_trust": {"-127:40":13, "41:120":15}, | ||
"p2c_untrust": {"-127:25":13, "26:30":14 , "31:35":15, "36:120":16}, | ||
"c2p_trust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"c2p_untrust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"unk_trust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"unk_untrust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16} | ||
} | ||
} | ||
}, | ||
'LS-SN2700': { | ||
'thermal': { | ||
'minimum_table': { | ||
"p2c_trust": {"-127:40":13, "41:120":15}, | ||
"p2c_untrust": {"-127:25":13, "26:30":14 , "31:35":15, "36:120":16}, | ||
"c2p_trust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"c2p_untrust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"unk_trust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"unk_untrust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16} | ||
} | ||
} | ||
}, | ||
'ACS-MSN2740': { | ||
'thermal': { | ||
'minimum_table': { | ||
"p2c_trust": {"-127:120":13}, | ||
"p2c_untrust": {"-127:35":13, "36:40":14 , "41:120":15}, | ||
"c2p_trust": {"-127:120":13}, | ||
"c2p_untrust": {"-127:15":13, "16:30":14 , "31:35":15, "36:120":17}, | ||
"unk_trust": {"-127:120":13}, | ||
"unk_untrust": {"-127:15":13, "16:30":14 , "31:35":15, "36:120":17}, | ||
} | ||
} | ||
}, | ||
'ACS-MSN2410': { | ||
'thermal': { | ||
'minimum_table': { | ||
"p2c_trust": {"-127:40":13, "41:120":15}, | ||
"p2c_untrust": {"-127:25":13, "26:30":14 , "31:35":15, "36:120":16}, | ||
"c2p_trust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"c2p_untrust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"unk_trust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"unk_untrust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16} | ||
} | ||
} | ||
}, | ||
'Mellanox-SN2700': { | ||
'thermal': { | ||
'minimum_table': { | ||
"p2c_trust": {"-127:40":13, "41:120":15}, | ||
"p2c_untrust": {"-127:25":13, "26:30":14 , "31:35":15, "36:120":16}, | ||
"c2p_trust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"c2p_untrust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"unk_trust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"unk_untrust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16} | ||
} | ||
} | ||
}, | ||
'Mellanox-SN2700-D48C8': { | ||
'thermal': { | ||
'minimum_table': { | ||
"p2c_trust": {"-127:40":13, "41:120":15}, | ||
"p2c_untrust": {"-127:25":13, "26:30":14 , "31:35":15, "36:120":16}, | ||
"c2p_trust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"c2p_untrust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"unk_trust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16}, | ||
"unk_untrust": {"-127:20":13, "21:25":14 , "26:30":15, "31:120":16} | ||
} | ||
} | ||
}, | ||
'ACS-MSN2100': { | ||
'thermal': { | ||
'minimum_table': { | ||
"p2c_trust": {"-127:120":12}, | ||
"p2c_untrust": {"-127:15":12, "16:25":13, "26:30":14, "31:35":15, "36:120":16}, | ||
"c2p_trust": {"-127:40":12, "41:120":13}, | ||
"c2p_untrust": {"-127:40":12, "41:120":13}, | ||
"unk_trust": {"-127:40":12, "41:120":13}, | ||
"unk_untrust": {"-127:15":12, "16:25":13, "26:30":14, "31:35":15, "36:120":16} | ||
} | ||
} | ||
}, | ||
'ACS-MSN2010': { | ||
'thermal': { | ||
'minimum_table': { | ||
"p2c_trust": {"-127:120":12}, | ||
"p2c_untrust": {"-127:15":12, "16:20":13, "21:30":14, "31:35":15, "36:120":16}, | ||
"c2p_trust": {"-127:120":12}, | ||
"c2p_untrust": {"-127:20":12, "21:25":13 , "26:30":14, "31:35":15, "36:120":16}, | ||
"unk_trust": {"-127:120":12}, | ||
"unk_untrust": {"-127:15":12, "16:20":13 , "21:30":14, "31:35":15, "36:120":16} | ||
} | ||
} | ||
}, | ||
'ACS-MSN3700': { | ||
'thermal': { | ||
'minimum_table': { | ||
"p2c_trust": {"-127:25":12, "26:40":13 , "41:120":14}, | ||
"p2c_untrust": {"-127:15":12, "16:30":13 , "31:35":14, "36:40":15, "41:120":16}, | ||
"c2p_trust": {"-127:25":12, "26:40":13 , "41:120":14}, | ||
"c2p_untrust": {"-127:25":12, "26:40":13 , "41:120":14}, | ||
"unk_trust": {"-127:25":12, "26:40":13 , "41:120":14}, | ||
"unk_untrust": {"-127:15":12, "16:30":13 , "31:35":14, "36:40":15, "41:120":16}, | ||
} | ||
} | ||
}, | ||
'ACS-MSN3800': { | ||
'thermal': { | ||
'minimum_table': { | ||
"p2c_trust": {"-127:35":12, "36:120":13}, | ||
"p2c_untrust": {"-127:0":12, "1:10":13 , "11:15":14, "16:20":15, "21:35":16, "36:120":17}, | ||
"c2p_trust": {"-127:30":12, "31:40":13 , "41:120":14}, | ||
"c2p_untrust": {"-127:20":12, "21:30":13 , "31:35":14, "36:40":15, "41:120":16}, | ||
"unk_trust": {"-127:30":12, "31:40":13 , "41:120":14}, | ||
"unk_untrust": {"-127:0":12, "1:10":13 , "11:15":14, "16:20":15, "21:35":16, "36:120":17}, | ||
} | ||
} | ||
}, | ||
'Mellanox-SN3800-D112C8': { | ||
'thermal': { | ||
'minimum_table': { | ||
"p2c_trust": {"-127:35":12, "36:120":13}, | ||
"p2c_untrust": {"-127:0":12, "1:10":13 , "11:15":14, "16:20":15, "21:35":16, "36:120":17}, | ||
"c2p_trust": {"-127:30":12, "31:40":13 , "41:120":14}, | ||
"c2p_untrust": {"-127:20":12, "21:30":13 , "31:35":14, "36:40":15, "41:120":16}, | ||
"unk_trust": {"-127:30":12, "31:40":13 , "41:120":14}, | ||
"unk_untrust": {"-127:0":12, "1:10":13 , "11:15":14, "16:20":15, "21:35":16, "36:120":17}, | ||
} | ||
} | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.