Skip to content

Commit

Permalink
Fixed config_syncd_barefoot function (sonic-net#474)
Browse files Browse the repository at this point in the history
Signed-off-by: Myron Sosyak <[email protected]>
  • Loading branch information
msosyak authored and prsunny committed Jun 21, 2019
1 parent 0e969bd commit 82e908e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions syncd/scripts/syncd_init_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ config_syncd_barefoot()
fi
CMD_ARGS+=" -p $PROFILE_FILE"

export PYTHONHOME=/opt/bfn/install/
export PYTHONPATH=/opt/bfn/install/

# Check and load SDE profile
P4_PROFILE=$(sonic-cfggen -d -v 'DEVICE_METADATA["localhost"]["p4_profile"]')
if [[ -n "$P4_PROFILE" ]]; then
Expand Down

0 comments on commit 82e908e

Please sign in to comment.