Skip to content

Commit

Permalink
[load_minigraph]: Avoid starting PFCWD for EPMS devicetype (#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumukhatv authored and yxieca committed Apr 9, 2021
1 parent 3f10540 commit c96f19d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def load_minigraph():
command = "{} -H -m --write-to-db".format(SONIC_CFGGEN_PATH)
run_command(command, display_cmd=True)
client.set(config_db.INIT_INDICATOR, 1)
if device_type != 'MgmtToRRouter':
if device_type != 'MgmtToRRouter' and device_type != 'EPMS':
run_command('pfcwd start_default', display_cmd=True)
if os.path.isfile('/etc/sonic/acl.json'):
run_command("acl-loader update full /etc/sonic/acl.json", display_cmd=True)
Expand Down

0 comments on commit c96f19d

Please sign in to comment.