Skip to content

Commit

Permalink
[platform] Add support configurations files for DCS-7060CX-32S (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
Staphylo authored and lguohan committed Feb 21, 2017
1 parent 06ee8b6 commit f57fd0b
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dockers/docker-orchagent/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ elif [ "$HWSKU" == "Arista-7050-QX32" ]; then
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
SWSSCONFIG_ARGS+="td2.32ports.qos.1.json td2.32ports.qos.2.json td2.32ports.qos.3.json td2.32ports.qos.4.json td2.32ports.qos.5.json td2.32ports.qos.6.json "
SWSSCONFIG_ARGS+="td2.32ports.buffers.1.json td2.32ports.buffers.2.json td2.32ports.buffers.3.json "
elif [ "$HWSKU" == "Arista-7060-CX32S" ]; then
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
elif [ "$HWSKU" == "AS7512" ]; then
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
fi
Expand Down
33 changes: 33 additions & 0 deletions src/sonic-config-engine/platform/Arista-7060-CX32S/port_config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# name lanes alias
Ethernet0 33,34,35,36 Ethernet1/1
Ethernet4 37,38,39,40 Ethernet2/1
Ethernet8 41,42,43,44 Ethernet3/1
Ethernet12 45,46,47,48 Ethernet4/1
Ethernet16 49,50,51,52 Ethernet5/1
Ethernet20 53,54,55,56 Ethernet6/1
Ethernet24 57,58,59,60 Ethernet7/1
Ethernet28 61,62,63,64 Ethernet8/1
Ethernet32 65,66,67,68 Ethernet9/1
Ethernet36 69,70,71,72 Ethernet10/1
Ethernet40 73,74,75,76 Ethernet11/1
Ethernet44 77,78,79,80 Ethernet12/1
Ethernet48 81,82,83,84 Ethernet13/1
Ethernet52 85,86,87,88 Ethernet14/1
Ethernet56 89,90,91,92 Ethernet15/1
Ethernet60 93,94,95,96 Ethernet16/1
Ethernet64 97,98,99,100 Ethernet17/1
Ethernet68 101,102,103,104 Ethernet18/1
Ethernet72 105,106,107,108 Ethernet19/1
Ethernet76 109,110,111,112 Ethernet20/1
Ethernet80 113,114,115,116 Ethernet21/1
Ethernet84 117,118,119,120 Ethernet22/1
Ethernet88 121,122,123,124 Ethernet23/1
Ethernet92 125,126,127,128 Ethernet24/1
Ethernet96 1,2,3,4 Ethernet25/1
Ethernet100 5,6,7,8 Ethernet26/1
Ethernet104 9,10,11,12 Ethernet27/1
Ethernet108 13,14,15,16 Ethernet28/1
Ethernet112 17,18,19,20 Ethernet29/1
Ethernet116 21,22,23,24 Ethernet30/1
Ethernet120 25,26,27,28 Ethernet31/1
Ethernet124 29,30,31,32 Ethernet32/1
47 changes: 47 additions & 0 deletions src/sonic-config-engine/platform/Arista-7060-CX32S/sensors.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# libsensors configuration file for DCS-7060CX-32S
# ------------------------------------------------
#

bus "i2c-2" "SCD SMBus master 0 bus 0"
bus "i2c-3" "SCD SMBus master 0 bus 1"
bus "i2c-5" "SCD SMBus master 0 bus 3"
bus "i2c-6" "SCD SMBus master 0 bus 4"
bus "i2c-7" "SCD SMBus master 0 bus 5"

chip "k10temp-pci-00c3"
label temp1 "Cpu temp sensor"

# missing support for
# chip "max6697-i2c-2-1a"
# board sensor 65 75
# (1) switch chip left sensor 95 105
# (5) switch chip right sensor 95 105
# (6) front panel temp sensor 65 75

chip "max6658-i2c-3-4c"
label temp1 "Cpu board temp sensor"
set temp1_max 75
set temp1_crit 80

label temp2 "Back panel temp sensor"
set temp2_max 75
set temp2_crit 80

chip "pmbus-i2c-3-4e"
label temp1 "Power controller 1 sensor 1"
label temp2 "Power controller 1 sensor 2"

chip "pmbus-i2c-7-4e"
label temp1 "Power controller 2 sensor 1"
label temp2 "Power controller 2 sensor 2"

chip "pmbus-i2c-6-58"
label temp1 "Power supply 1 hotspot sensor"
label temp2 "Power supply 1 inlet temp sensor"
label temp3 "Power supply 1 sensor"

chip "pmbus-i2c-5-58"
label temp1 "Power supply 2 hotspot sensor"
label temp2 "Power supply 2 inlet temp sensor"
label temp3 "Power supply 2 sensor"

0 comments on commit f57fd0b

Please sign in to comment.