Skip to content

Commit

Permalink
[mellanox]: fix orchagent start args for mellanox (#3268)
Browse files Browse the repository at this point in the history
Bug is introduced in #2980. Mellanox does not support setting
MAC on switch create.
  • Loading branch information
lguohan authored Aug 2, 2019
1 parent c6e442b commit 11ea368
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dockers/docker-orchagent/orchagent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ elif [ "$platform" == "barefoot" ]; then
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
elif [ "$platform" == "vs" ]; then
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
elif [ "$platform" == "mellanox" ]; then
ORCHAGENT_ARGS+=""
else
MAC_ADDRESS=`sonic-cfggen -d -v 'DEVICE_METADATA.localhost.mac'`
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
Expand Down

0 comments on commit 11ea368

Please # to comment.