[pfcwd]: Do not start pfc watchdog on Management Tor (#3719)
Signed-off-by: Neetha John <nejo@microsoft.com>
This commit is contained in:
parent
d5af096f41
commit
95466c3ab7
@ -15,7 +15,10 @@ reload_minigraph()
|
|||||||
acl-loader update full /etc/sonic/acl.json
|
acl-loader update full /etc/sonic/acl.json
|
||||||
fi
|
fi
|
||||||
config qos reload
|
config qos reload
|
||||||
|
DEVICE_TYPE=`sonic-cfggen -m -v DEVICE_METADATA.localhost.type`
|
||||||
|
if [ "${DEVICE_TYPE}" != "MgmtToRRouter" ]; then
|
||||||
pfcwd start_default
|
pfcwd start_default
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -x /usr/bin/db_migrator.py ]]; then
|
if [[ -x /usr/bin/db_migrator.py ]]; then
|
||||||
# Set latest version number
|
# Set latest version number
|
||||||
|
Loading…
Reference in New Issue
Block a user