Skip to content

Commit

Permalink
Revert "Getting #4465 in 201911"
Browse files Browse the repository at this point in the history
This reverts commit a3cb8a6.
  • Loading branch information
judyjoseph committed Apr 30, 2020
1 parent a3cb8a6 commit 15c5aa0
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions dockers/docker-orchagent/orchagent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,6 @@ ORCHAGENT_ARGS="-d /var/log/swss "
# Set orchagent pop batch size to 8192
ORCHAGENT_ARGS+="-b 8192 "

# Check if there is an "asic_id field" in the DEVICE_METADATA in configDB.
#"DEVICE_METADATA": {
# "localhost": {
# ....
# "asic_id": "0",
# }
#},
# ID field could be integers just to denote the asic instance like 0,1,2...
# OR could be PCI device ID's which will be strings like "03:00.0"
# depending on what the SAI/SDK expects.
asic_id=`sonic-cfggen -d -v DEVICE_METADATA.localhost.asic_id`
if [ -n "$asic_id" ]
then
ORCHAGENT_ARGS+="-i $asic_id "
fi

# Add platform specific arguments if necessary
if [ "$platform" == "broadcom" ]; then
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
Expand Down

0 comments on commit 15c5aa0

Please sign in to comment.