[Mellanox] Add a new Mellanox platform x86_64-mlnx_msn4600c and new SKU ACS-MSN4600C (#4483)

* New SKU support for MSN4600C

Signed-off-by: Shlomi Bitton <shlomibi@mellanox.com>
This commit is contained in:
shlomibitton 2020-04-30 10:30:11 +03:00 committed by GitHub
parent e1ba5b0f5f
commit b6291372d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 776 additions and 4 deletions

View File

@ -41,7 +41,7 @@ SFP_PORT_NAME_CONVENTION = "sfp{}"
# magic code defnition for port number, qsfp port position of each hwsku
# port_position_tuple = (PORT_START, QSFP_PORT_START, PORT_END, PORT_IN_BLOCK, EEPROM_OFFSET)
hwsku_dict = {'ACS-MSN2700': 0, 'Mellanox-SN2700': 0, 'Mellanox-SN2700-D48C8': 0, "LS-SN2700":0, 'ACS-MSN2740': 0, 'ACS-MSN2100': 1, 'ACS-MSN2410': 2, 'ACS-MSN2010': 3, 'ACS-MSN3700': 0, 'ACS-MSN3700C': 0, 'ACS-MSN3800': 4, 'Mellanox-SN3800-D112C8': 4, 'ACS-MSN4700': 0, 'ACS-MSN3420': 5}
hwsku_dict = {'ACS-MSN2700': 0, 'Mellanox-SN2700': 0, 'Mellanox-SN2700-D48C8': 0, 'LS-SN2700':0, 'ACS-MSN2740': 0, 'ACS-MSN2100': 1, 'ACS-MSN2410': 2, 'ACS-MSN2010': 3, 'ACS-MSN3700': 0, 'ACS-MSN3700C': 0, 'ACS-MSN3800': 4, 'Mellanox-SN3800-D112C8': 4, 'ACS-MSN4700': 0, 'ACS-MSN3420': 5, 'ACS-MSN4600C': 4}
port_position_tuple_list = [(0, 0, 31, 32, 1), (0, 0, 15, 16, 1), (0, 48, 55, 56, 1), (0, 18, 21, 22, 1), (0, 0, 63, 64, 1), (0, 48, 59, 60, 1)]
def log_info(msg, also_print_to_console=False):

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/buffers.json.j2

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/buffers_defaults_t0.j2

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/buffers_defaults_t1.j2

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/pg_profile_lookup.ini

View File

@ -0,0 +1,65 @@
# name lanes alias index
Ethernet0 0,1,2,3 etp1 0
Ethernet8 8,9,10,11 etp2 1
Ethernet16 16,17,18,19 etp3 2
Ethernet24 24,25,26,27 etp4 3
Ethernet32 32,33,34,35 etp5 4
Ethernet40 40,41,42,43 etp6 5
Ethernet48 48,49,50,51 etp7 6
Ethernet56 56,57,58,59 etp8 7
Ethernet64 64,65,66,67 etp9 8
Ethernet72 72,73,74,75 etp10 9
Ethernet80 80,81,82,83 etp11 10
Ethernet88 88,89,90,91 etp12 11
Ethernet96 96,97,98,99 etp13 12
Ethernet104 104,105,106,107 etp14 13
Ethernet112 112,113,114,115 etp15 14
Ethernet120 120,121,122,123 etp16 15
Ethernet128 128,129,130,131 etp17 16
Ethernet136 136,137,138,139 etp18 17
Ethernet144 144,145,146,147 etp19 18
Ethernet152 152,153,154,155 etp20 19
Ethernet160 160,161,162,163 etp21 20
Ethernet168 168,169,170,171 etp22 21
Ethernet176 176,177,178,179 etp23 22
Ethernet184 184,185,186,187 etp24 23
Ethernet192 192,193,194,195 etp25 24
Ethernet200 200,201,202,203 etp26 25
Ethernet208 208,209,210,211 etp27 26
Ethernet216 216,217,218,219 etp28 27
Ethernet224 224,225,226,227 etp29 28
Ethernet232 232,233,234,235 etp30 29
Ethernet240 240,241,242,243 etp31 30
Ethernet248 248,249,250,251 etp32 31
Ethernet256 256,257,258,259 etp33 32
Ethernet264 264,265,266,267 etp34 33
Ethernet272 272,273,274,275 etp35 34
Ethernet280 280,281,282,283 etp36 35
Ethernet288 288,289,290,291 etp37 36
Ethernet296 296,297,298,299 etp38 37
Ethernet304 304,305,306,307 etp39 38
Ethernet312 312,313,314,315 etp40 39
Ethernet320 320,321,322,323 etp41 40
Ethernet328 328,329,330,331 etp42 41
Ethernet336 336,337,338,339 etp43 42
Ethernet344 344,345,346,347 etp44 43
Ethernet352 352,353,354,355 etp45 44
Ethernet360 360,361,362,363 etp46 45
Ethernet368 368,369,370,371 etp47 46
Ethernet376 376,377,378,379 etp48 47
Ethernet384 384,385,386,387 etp49 48
Ethernet392 392,393,394,395 etp50 49
Ethernet400 400,401,402,403 etp51 50
Ethernet408 408,409,410,411 etp52 51
Ethernet416 416,417,418,419 etp53 52
Ethernet424 424,425,426,427 etp54 53
Ethernet432 432,433,434,435 etp55 54
Ethernet440 440,441,442,443 etp56 55
Ethernet448 448,449,450,451 etp57 56
Ethernet456 456,457,458,459 etp58 57
Ethernet464 464,465,466,467 etp59 58
Ethernet472 472,473,474,475 etp60 59
Ethernet480 480,481,482,483 etp61 60
Ethernet488 488,489,490,491 etp62 61
Ethernet496 496,497,498,499 etp63 62
Ethernet504 504,505,506,507 etp64 63

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/qos.json.j2

View File

@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600C.xml

View File

@ -0,0 +1,470 @@
<?xml version="1.0"?>
<root>
<platform_info type="4601">
<!-- Device MAC address -->
<device-mac-address>00:02:03:04:05:80</device-mac-address>
<!-- ISSU enabled -->
<issu-enabled>1</issu-enabled>
<!-- Number of ports in the following port list -->
<number-of-physical-ports>64</number-of-physical-ports>
<!-- List of ports in the device -->
<ports-list>
<port-info>
<local-port>105</local-port>
<width>4</width>
<module>0</module>
<!-- 0 none, 1=2, 2=4, 3=2,4 -->
<breakout-modes>3</breakout-modes>
<!-- (BITMASK) 2 - 1Gb , 16 - 10Gb , 32 - 40Gb , 384 - 50Gb , 1536 - 100Gb , 1536 - 200Gb -->
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>107</local-port>
<width>4</width>
<module>1</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>109</local-port>
<width>4</width>
<module>2</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>111</local-port>
<width>4</width>
<module>3</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>97</local-port>
<width>4</width>
<module>4</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>99</local-port>
<width>4</width>
<module>5</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>101</local-port>
<width>4</width>
<module>6</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>103</local-port>
<width>4</width>
<module>7</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>121</local-port>
<width>4</width>
<module>8</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>123</local-port>
<width>4</width>
<module>9</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>125</local-port>
<width>4</width>
<module>10</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>127</local-port>
<width>4</width>
<module>11</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>113</local-port>
<width>4</width>
<module>12</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>115</local-port>
<width>4</width>
<module>13</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>117</local-port>
<width>4</width>
<module>14</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>119</local-port>
<width>4</width>
<module>15</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>89</local-port>
<width>4</width>
<module>16</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>91</local-port>
<width>4</width>
<module>17</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>93</local-port>
<width>4</width>
<module>18</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>95</local-port>
<width>4</width>
<module>19</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>81</local-port>
<width>4</width>
<module>20</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>83</local-port>
<width>4</width>
<module>21</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>85</local-port>
<width>4</width>
<module>22</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>87</local-port>
<width>4</width>
<module>23</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>73</local-port>
<width>4</width>
<module>24</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>75</local-port>
<width>4</width>
<module>25</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>77</local-port>
<width>4</width>
<module>26</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>79</local-port>
<width>4</width>
<module>27</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>65</local-port>
<width>4</width>
<module>28</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>67</local-port>
<width>4</width>
<module>29</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>69</local-port>
<width>4</width>
<module>30</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>71</local-port>
<width>4</width>
<module>31</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>5</local-port>
<width>4</width>
<module>32</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>7</local-port>
<width>4</width>
<module>33</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>1</local-port>
<width>4</width>
<module>34</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>3</local-port>
<width>4</width>
<module>35</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>13</local-port>
<width>4</width>
<module>36</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>15</local-port>
<width>4</width>
<module>37</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>9</local-port>
<width>4</width>
<module>38</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>11</local-port>
<width>4</width>
<module>39</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>21</local-port>
<width>4</width>
<module>40</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>23</local-port>
<width>4</width>
<module>41</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>17</local-port>
<width>4</width>
<module>42</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>19</local-port>
<width>4</width>
<module>43</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>29</local-port>
<width>4</width>
<module>44</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>31</local-port>
<width>4</width>
<module>45</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>25</local-port>
<width>4</width>
<module>46</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>27</local-port>
<width>4</width>
<module>47</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>53</local-port>
<width>4</width>
<module>48</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>55</local-port>
<width>4</width>
<module>49</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>49</local-port>
<width>4</width>
<module>50</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>51</local-port>
<width>4</width>
<module>51</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>61</local-port>
<width>4</width>
<module>52</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>63</local-port>
<width>4</width>
<module>53</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>57</local-port>
<width>4</width>
<module>54</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>59</local-port>
<width>4</width>
<module>55</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>37</local-port>
<width>4</width>
<module>56</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>39</local-port>
<width>4</width>
<module>57</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>33</local-port>
<width>4</width>
<module>58</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>35</local-port>
<width>4</width>
<module>59</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>45</local-port>
<width>4</width>
<module>60</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>47</local-port>
<width>4</width>
<module>61</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>41</local-port>
<width>4</width>
<module>62</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>43</local-port>
<width>4</width>
<module>63</module>
<breakout-modes>3</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
</ports-list>
</platform_info>
</root>

View File

@ -0,0 +1 @@
ACS-MSN4600C t1

View File

@ -0,0 +1,12 @@
{
"chassis": {
"x86_64-mlnx_msn4600c-r0": {
"component": {
"BIOS": { },
"CPLD1": { },
"CPLD2": { },
"CPLD3": { }
}
}
}
}

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/platform_reboot

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/platform_wait

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn2700-r0/plugins/eeprom.py

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn2700-r0/plugins/psuutil.py

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn2700-r0/plugins/sfplpmget.py

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn2700-r0/plugins/sfplpmset.py

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn2700-r0/plugins/sfpreset.py

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn2700-r0/plugins/sfputil.py

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/pmon_daemon_control.json

View File

@ -0,0 +1,193 @@
################################################################################
# Copyright (c) 2020 Mellanox Technologies
#
# Platform specific sensors config for SN4600C
################################################################################
# Temperature sensors
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"
label temp1 "Ambient Fan Side Temp (air intake)"
chip "tmp102-i2c-*-4a"
label temp1 "Ambient Port Side Temp (air exhaust)"
bus "i2c-15" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-15-49"
label temp1 "Ambient COMEX Temp"
# Power controllers
bus "i2c-5" "i2c-1-mux (chan_id 4)"
chip "xdpe12284-i2c-*-62"
label in1 "PMIC-1 PSU 12V Rail (in)"
label in2 "PMIC-1 PSU 12V Rail (in)"
label in3 "PMIC-1 ASIC 0.8V VCORE_MAIN Rail (out)"
ignore in4
label temp1 "PMIC-1 Temp 1"
label temp2 "PMIC-1 Temp 2"
label power1 "PMIC-1 ASIC 12V VCORE_MAIN Rail Pwr (in)"
ignore power2
label power3 "PMIC-1 ASIC 12V VCORE_MAIN Rail Pwr (out)"
ignore power4
label curr1 "PMIC-1 ASIC 0.8V VCORE_MAIN Rail Curr (in)"
ignore curr2
label curr3 "PMIC-1 ASIC 0.8V VCORE_MAIN Rail Curr (out)"
ignore curr4
chip "xdpe12284-i2c-*-64"
label in1 "PMIC-2 PSU 12V Rail (in)"
label in2 "PMIC-2 PSU 12V Rail (in)"
label in3 "PMIC-2 ASIC 1.8V MAIN Rail (out)"
label in4 "PMIC-2 ASIC 1.2V MAIN Rail (out)"
label temp1 "PMIC-2 Temp 1"
label temp2 "PMIC-2 Temp 2"
label power1 "PMIC-2 ASIC 1.8V MAIN Rail Pwr (in)"
label power2 "PMIC-2 ASIC 1.2V MAIN Rail Pwr (in)"
label power3 "PMIC-2 ASIC 1.8V MAIN Rail Pwr (out)"
label power4 "PMIC-2 ASIC 1.2V MAIN Rail Pwr (out)"
label curr1 "PMIC-2 ASIC 1.8V MAIN Rail Curr (in)"
label curr2 "PMIC-2 ASIC 1.2V MAIN Rail Curr (in)"
label curr3 "PMIC-2 ASIC 1.8V MAIN Rail Curr (out)"
label curr4 "PMIC-2 ASIC 1.2V MAIN Rail Curr (out)"
chip "xdpe12284-i2c-*-66"
label in1 "PMIC-3 PSU 12V Rail (in)"
label in2 "PMIC-3 PSU 12V Rail (in)"
label in3 "PMIC-3 ASIC 0.85V MAIN Rail (out)"
label in4 "PMIC-3 ASIC 1.8V MAIN Rail (out)"
label temp1 "PMIC-3 Temp 1"
label temp2 "PMIC-3 Temp 2"
label power1 "PMIC-3 ASIC 12V MAIN Rail Pwr (in)"
label power2 "PMIC-3 ASIC 12V MAIN Rail Pwr (in)"
label power3 "PMIC-3 ASIC 0.85V MAIN Rail Pwr (out)"
label power4 "PMIC-3 ASIC 1.8V MAIN Rail Pwr (out)"
label curr1 "PMIC-3 ASIC 12V MAIN Rail Curr (in)"
label curr2 "PMIC-3 ASIC 12V MAIN Rail Curr (in)"
label curr3 "PMIC-3 ASIC 0.85V MAIN Rail Curr (out)"
label curr4 "PMIC-3 ASIC 1.8V MAIN Rail Curr (out)"
chip "xdpe12284-i2c-*-68"
label in1 "PMIC-4 PSU 12V Rail (in)"
label in2 "PMIC-4 PSU 12V Rail (in)"
label in3 "PMIC-4 ASIC 0.85V VCORE_T6_7 Rail (out)"
label in4 "PMIC-4 ASIC 1.8V T6_7 Rail (out)"
label temp1 "PMIC-4 Temp 1"
label temp2 "PMIC-4 Temp 2"
label power1 "PMIC-4 ASIC 0.85V VCORE_T6_7 Rail Pwr (in)"
label power2 "PMIC-4 ASIC 1.8V T6_7 Rail Pwr (in)"
label power3 "PMIC-4 ASIC 0.85V VCORE_T6_7 Rail Pwr (out)"
label power4 "PMIC-4 ASIC 1.8V T6_7 Rail Pwr (out)"
label curr1 "PMIC-4 ASIC 0.85V VCORE_T6_7 Rail Curr (in)"
label curr2 "PMIC-4 ASIC 1.8V T6_7 Rail Curr (in)"
label curr3 "PMIC-4 ASIC 0.85V VCORE_T6_7 Rail Curr (out)"
label curr4 "PMIC-4 ASIC 1.8V T6_7 Rail Curr (out)"
chip "xdpe12284-i2c-*-6a"
label in1 "PMIC-5 PSU 12V Rail (in)"
label in2 "PMIC-5 PSU 12V Rail (in)"
label in3 "PMIC-5 ASIC 0.85V VCORE_T6_7 Rail (out)"
label in4 "PMIC-5 ASIC 1.8V T6_7 Rail (out)"
label temp1 "PMIC-5 Temp 1"
label temp2 "PMIC-5 Temp 2"
label power1 "PMIC-5 ASIC 0.85V VCORE_T6_7 Rail Pwr (in)"
label power2 "PMIC-5 ASIC 1.8V T6_7 Rail Pwr (in)"
label power3 "PMIC-5 ASIC 0.85V VCORE_T6_7 Rail Pwr (out)"
label power4 "PMIC-5 ASIC 1.8V T6_7 Rail Pwr (out)"
label curr1 "PMIC-5 ASIC 0.85V VCORE_T6_7 Rail Curr (in)"
label curr2 "PMIC-5 ASIC 1.8V T6_7 Rail Curr (in)"
label curr3 "PMIC-5 ASIC 0.85V VCORE_T6_7 Rail Curr (out)"
label curr4 "PMIC-5 ASIC 1.8V T6_7 Rail Curr (out)"
chip "xdpe12284-i2c-*-6c"
label in1 "PMIC-6 PSU 12V Rail (in)"
label in2 "PMIC-6 PSU 12V Rail (in)"
label in3 "PMIC-6 ASIC 0.85V VCORE_T6_7 Rail (out)"
label in4 "PMIC-6 ASIC 1.8V T6_7 Rail (out)"
label temp1 "PMIC-6 Temp 1"
label temp2 "PMIC-6 Temp 2"
label power1 "PMIC-6 ASIC 0.85V VCORE_T6_7 Rail Pwr (in)"
label power2 "PMIC-6 ASIC 1.8V T6_7 Rail Pwr (in)"
label power3 "PMIC-6 ASIC 0.85V VCORE_T6_7 Rail Pwr (out)"
label power4 "PMIC-6 ASIC 1.8V T6_7 Rail Pwr (out)"
label curr1 "PMIC-6 ASIC 0.85V VCORE_T6_7 Rail Curr (in)"
label curr2 "PMIC-6 ASIC 1.8V T6_7 Rail Curr (in)"
label curr3 "PMIC-6 ASIC 0.85V VCORE_T6_7 Rail Curr (out)"
label curr4 "PMIC-6 ASIC 1.8V T6_7 Rail Curr (out)"
chip "xdpe12284-i2c-*-6e"
label in1 "PMIC-7 PSU 12V Rail (in)"
label in2 "PMIC-7 PSU 12V Rail (in)"
label in3 "PMIC-7 ASIC 1.2V VCORE_T6_7 Rail (out)"
label in4 "PMIC-7 ASIC 1.2V T6_7 Rail (out)"
label temp1 "PMIC-7 Temp 1"
label temp2 "PMIC-7 Temp 2"
label power1 "PMIC-7 ASIC 0.85V VCORE_T6_7 Rail Pwr (in)"
label power2 "PMIC-7 ASIC 1.8V T6_7 Rail Pwr (in)"
label power3 "PMIC-7 ASIC 0.85V VCORE_T6_7 Rail Pwr (out)"
label power4 "PMIC-7 ASIC 1.8V T6_7 Rail Pwr (out)"
label curr1 "PMIC-7 ASIC 0.85V VCORE_T6_7 Rail Curr (in)"
label curr2 "PMIC-7 ASIC 1.8V T6_7 Rail Curr (in)"
label curr3 "PMIC-7 ASIC 0.85V VCORE_T6_7 Rail Curr (out)"
label curr4 "PMIC-7 ASIC 1.8V T6_7 Rail Curr (out)"
bus "i2c-15" "i2c-1-mux (chan_id 6)"
chip "tps53679-i2c-*-58"
label in1 "PMIC-8 PSU 12V Rail (in)"
label in2 "PMIC-8 PSU 12V Rail (in)"
label in3 "PMIC-8 COMEX 1.8V Rail (out)"
label in4 "PMIC-8 COMEX 1.05V Rail (out)"
label temp1 "PMIC-8 Temp 1"
label temp2 "PMIC-8 Temp 2"
label power1 "PMIC-8 COMEX 1.8V Rail Pwr (out)"
label power2 "PMIC-8 COMEX 1.05V Rail Pwr (out)"
label curr1 "PMIC-8 COMEX 1.8V Rail Curr (out)"
label curr2 "PMIC-8 COMEX 1.05V Rail Curr (out)"
chip "tps53679-i2c-*-61"
label in1 "PMIC-9 PSU 12V Rail (in)"
label in2 "PMIC-9 PSU 12V Rail (in)"
label in3 "PMIC-9 COMEX 1.2V Rail (out)"
ignore in4
label temp1 "PMIC-9 Temp 1"
label temp2 "PMIC-9 Temp 2"
label power1 "PMIC-9 COMEX 1.2V Rail Pwr (out)"
ignore power2
label curr1 "PMIC-9 COMEX 1.2V Rail Curr (out)"
ignore curr2
# Power supplies
bus "i2c-4" "i2c-1-mux (chan_id 3)"
chip "dps460-i2c-*-58"
label in1 "PSU-2(R) 220V Rail (in)"
label in2 "PSU-2(R) 220V Rail (in)"
label in3 "PSU-2(R) 12V Rail (out)"
label fan1 "PSU-2(R) Fan 1"
ignore fan2
ignore fan3
label temp1 "PSU-2(R) Temp 1"
label temp2 "PSU-2(R) Temp 2"
label temp3 "PSU-2(R) Temp 3"
label power1 "PSU-2(R) 220V Rail Pwr (in)"
label power2 "PSU-2(R) 12V Rail Pwr (out)"
label curr1 "PSU-2(R) 220V Rail Curr (in)"
label curr2 "PSU-2(R) 12V Rail Curr (out)"
chip "dps460-i2c-*-59"
label in1 "PSU-1(L) 220V Rail (in)"
label in2 "PSU-1(L) 220V Rail (in)"
label in3 "PSU-1(L) 12V Rail (out)"
label fan1 "PSU-1(L) Fan 1"
ignore fan2
ignore fan3
label temp1 "PSU-1(L) Temp 1"
label temp2 "PSU-1(L) Temp 2"
label temp3 "PSU-1(L) Temp 3"
label power1 "PSU-1(L) 220V Rail Pwr (in)"
label power2 "PSU-1(L) 12V Rail Pwr (out)"
label curr1 "PSU-1(L) 220V Rail Curr (in)"
label curr2 "PSU-1(L) 12V Rail Curr (out)"
# Chassis fans
chip "mlxreg_fan-isa-*"
label fan1 "Chassis Fan Drawer-1"
label fan2 "Chassis Fan Drawer-2"
label fan3 "Chassis Fan Drawer-3"
# Miscellaneous
chip "*-virtual-*"
ignore temp1

View File

@ -50,7 +50,7 @@ logger = Logger()
# magic code defnition for port number, qsfp port position of each hwsku
# port_position_tuple = (PORT_START, QSFP_PORT_START, PORT_END, PORT_IN_BLOCK, EEPROM_OFFSET)
hwsku_dict_port = {'ACS-MSN2010': 3, 'ACS-MSN2100': 1, 'ACS-MSN2410': 2, 'ACS-MSN2700': 0, 'Mellanox-SN2700': 0, 'Mellanox-SN2700-D48C8': 0, 'LS-SN2700':0, 'ACS-MSN2740': 0, 'ACS-MSN3700': 0, 'ACS-MSN3700C': 0, 'ACS-MSN3800': 4, 'Mellanox-SN3800-D112C8': 4, 'ACS-MSN4700': 0, 'ACS-MSN3420': 5}
hwsku_dict_port = {'ACS-MSN2010': 3, 'ACS-MSN2100': 1, 'ACS-MSN2410': 2, 'ACS-MSN2700': 0, 'Mellanox-SN2700': 0, 'Mellanox-SN2700-D48C8': 0, 'LS-SN2700':0, 'ACS-MSN2740': 0, 'ACS-MSN3700': 0, 'ACS-MSN3700C': 0, 'ACS-MSN3800': 4, 'Mellanox-SN3800-D112C8': 4, 'ACS-MSN4700': 0, 'ACS-MSN3420': 5, 'ACS-MSN4600C': 4}
port_position_tuple_list = [(0, 0, 31, 32, 1), (0, 0, 15, 16, 1), (0, 48, 55, 56, 1), (0, 18, 21, 22, 1), (0, 0, 63, 64, 1), (0, 48, 59, 60, 1)]
class Chassis(ChassisBase):

View File

@ -37,7 +37,7 @@ hwsku_dict_with_unplugable_psu = ['ACS-MSN2010', 'ACS-MSN2100']
# in most SKUs the file psuX_curr, psuX_volt and psuX_power contain current, voltage and power data respectively.
# but there are exceptions which will be handled by the following dictionary
hwsku_dict_psu = {'ACS-MSN3700': 1, 'ACS-MSN3700C': 1, 'ACS-MSN3800': 1, 'Mellanox-SN3800-D112C8': 1, 'ACS-MSN4700': 1, 'ACS-MSN3420': 1}
hwsku_dict_psu = {'ACS-MSN3700': 1, 'ACS-MSN3700C': 1, 'ACS-MSN3800': 1, 'Mellanox-SN3800-D112C8': 1, 'ACS-MSN4700': 1, 'ACS-MSN3420': 1, 'ACS-MSN4600C': 1}
psu_profile_list = [
# default filename convention
{

View File

@ -124,7 +124,7 @@ thermal_api_names = [
THERMAL_API_GET_HIGH_THRESHOLD
]
hwsku_dict_thermal = {'ACS-MSN2700': 0, 'LS-SN2700':0, 'ACS-MSN2740': 3, 'ACS-MSN2100': 1, 'ACS-MSN2410': 2, 'ACS-MSN2010': 4, 'ACS-MSN3700': 5, 'ACS-MSN3700C': 6, 'Mellanox-SN2700': 0, 'Mellanox-SN2700-D48C8': 0, 'ACS-MSN3800': 7, 'Mellanox-SN3800-D112C8': 7, 'ACS-MSN4700': 8, 'ACS-MSN3420': 9}
hwsku_dict_thermal = {'ACS-MSN2700': 0, 'LS-SN2700':0, 'ACS-MSN2740': 3, 'ACS-MSN2100': 1, 'ACS-MSN2410': 2, 'ACS-MSN2010': 4, 'ACS-MSN3700': 5, 'ACS-MSN3700C': 6, 'Mellanox-SN2700': 0, 'Mellanox-SN2700-D48C8': 0, 'ACS-MSN3800': 7, 'Mellanox-SN3800-D112C8': 7, 'ACS-MSN4700': 8, 'ACS-MSN3420': 9, 'ACS-MSN4600C': 9}
thermal_profile_list = [
# 2700
{
@ -280,6 +280,22 @@ thermal_profile_list = [
THERMAL_DEV_FAN_AMBIENT
]
)
},
# 4600C
{
THERMAL_DEV_CATEGORY_CPU_CORE:(0, 4),
THERMAL_DEV_CATEGORY_MODULE:(1, 64),
THERMAL_DEV_CATEGORY_PSU:(1, 2),
THERMAL_DEV_CATEGORY_CPU_PACK:(0,1),
THERMAL_DEV_CATEGORY_GEARBOX:(0,0),
THERMAL_DEV_CATEGORY_AMBIENT:(0,
[
THERMAL_DEV_ASIC_AMBIENT,
THERMAL_DEV_COMEX_AMBIENT,
THERMAL_DEV_PORT_AMBIENT,
THERMAL_DEV_FAN_AMBIENT
]
)
}
]