Skip to content

Commit

Permalink
[pfcwd]: Do not start pfc watchdog on Management Tor (#3719)
Browse files Browse the repository at this point in the history
Signed-off-by: Neetha John <[email protected]>
  • Loading branch information
neethajohn authored and lguohan committed Nov 7, 2019
1 parent d5af096 commit 95466c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion files/image_config/updategraph/updategraph
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ reload_minigraph()
acl-loader update full /etc/sonic/acl.json
fi
config qos reload
pfcwd start_default
DEVICE_TYPE=`sonic-cfggen -m -v DEVICE_METADATA.localhost.type`
if [ "${DEVICE_TYPE}" != "MgmtToRRouter" ]; then
pfcwd start_default
fi

if [[ -x /usr/bin/db_migrator.py ]]; then
# Set latest version number
Expand Down

0 comments on commit 95466c3

Please sign in to comment.