Skip to content

Commit 15c5aa0

Browse files
committed
Revert "Getting #4465 in 201911"
This reverts commit a3cb8a6.
1 parent a3cb8a6 commit 15c5aa0

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

dockers/docker-orchagent/orchagent.sh

-16
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,6 @@ ORCHAGENT_ARGS="-d /var/log/swss "
1717
# Set orchagent pop batch size to 8192
1818
ORCHAGENT_ARGS+="-b 8192 "
1919

20-
# Check if there is an "asic_id field" in the DEVICE_METADATA in configDB.
21-
#"DEVICE_METADATA": {
22-
# "localhost": {
23-
# ....
24-
# "asic_id": "0",
25-
# }
26-
#},
27-
# ID field could be integers just to denote the asic instance like 0,1,2...
28-
# OR could be PCI device ID's which will be strings like "03:00.0"
29-
# depending on what the SAI/SDK expects.
30-
asic_id=`sonic-cfggen -d -v DEVICE_METADATA.localhost.asic_id`
31-
if [ -n "$asic_id" ]
32-
then
33-
ORCHAGENT_ARGS+="-i $asic_id "
34-
fi
35-
3620
# Add platform specific arguments if necessary
3721
if [ "$platform" == "broadcom" ]; then
3822
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"

0 commit comments

Comments
 (0)