Skip to content

Commit

Permalink
Introduce port_map file for dell S6000 (sonic-net#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-shirshov authored and lguohan committed Nov 2, 2016
1 parent 5da46bf commit 160d796
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debian/syncd.init
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ start)
start_bcm
DAEMON_ARGS+=" -p /etc/syncd.d/dell_s6000.profile "

if [ ${ENABLE_SAITHRIFT} == 1 ]; then
DAEMON_ARGS+=" -r -m /etc/syncd.d/dell_s6000_port_map.ini"
fi

elif [ "$onie_platform" == "x86_64-dell_s6100_c2538-r0" ]; then
start_bcm
DAEMON_ARGS+=" -p /etc/syncd.d/dell_s6100.profile -N"
Expand Down
33 changes: 33 additions & 0 deletions etc/syncd.d/dell_s6000_port_map.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# alias lanes
Ethernet1 29,30,31,32
Ethernet2 25,26,27,28
Ethernet3 37,38,39,40
Ethernet4 33,34,35,36
Ethernet5 41,42,43,44
Ethernet6 45,46,47,48
Ethernet7 5,6,7,8
Ethernet8 1,2,3,4
Ethernet9 9,10,11,12
Ethernet10 13,14,15,16
Ethernet11 21,22,23,24
Ethernet12 17,18,19,20
Ethernet13 49,50,51,52
Ethernet14 53,54,55,56
Ethernet15 61,62,63,64
Ethernet16 57,58,59,60
Ethernet17 65,66,67,68
Ethernet18 69,70,71,72
Ethernet19 77,78,79,80
Ethernet20 73,74,75,76
Ethernet21 105,106,107,108
Ethernet22 109,110,111,112
Ethernet23 117,118,119,120
Ethernet24 113,114,115,116
Ethernet25 121,122,123,124
Ethernet26 125,126,127,128
Ethernet27 85,86,87,88
Ethernet28 81,82,83,84
Ethernet29 89,90,91,92
Ethernet30 93,94,95,96
Ethernet31 97,98,99,100
Ethernet32 101,102,103,104

0 comments on commit 160d796

Please sign in to comment.