Skip to content

Commit

Permalink
syncd.init: Add ingrasys switch s9100 (sonic-net#157)
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
  • Loading branch information
kaiyu22 authored and lguohan committed Feb 23, 2017
1 parent 08495fb commit 81ad90e
Show file tree
Hide file tree
Showing 2 changed files with 5 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 @@ -86,6 +86,10 @@ start)
DAEMON_ARGS+=" -r -m /etc/syncd.d/msn2700_port_map.ini"
fi

elif [ "$onie_platform" == "x86_64-ingrasys_s9100-r0" ]; then
start_bcm
export OPENNSL_CONFIG_POST_INIT_FILE="/etc/bcm/th-ingrasys-s9100-32x100G.soc"
DAEMON_ARGS+=" -p /etc/syncd.d/ingrasys_s9100.profile -N"
fi

start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_ARGS
Expand Down
1 change: 1 addition & 0 deletions etc/syncd.d/ingrasys_s9100.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/etc/bcm/th-ingrasys-s9100-32x100G.config.bcm

0 comments on commit 81ad90e

Please sign in to comment.