From 95466c3ab74784f62e42a83ea7157c7957347b72 Mon Sep 17 00:00:00 2001 From: Neetha John Date: Wed, 6 Nov 2019 18:51:02 -0800 Subject: [PATCH] [pfcwd]: Do not start pfc watchdog on Management Tor (#3719) Signed-off-by: Neetha John --- files/image_config/updategraph/updategraph | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/files/image_config/updategraph/updategraph b/files/image_config/updategraph/updategraph index dd8314b012..2eb510afa4 100755 --- a/files/image_config/updategraph/updategraph +++ b/files/image_config/updategraph/updategraph @@ -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