Skip to content

Commit

Permalink
Preserve copp tables through DB migration
Browse files Browse the repository at this point in the history
  • Loading branch information
arfeigin committed Nov 24, 2022
1 parent addae73 commit 5ef77ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/db_migrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,8 @@ def common_migration_ops(self):
new_cfg = {**init_cfg, **curr_cfg}
self.configDB.set_entry(init_cfg_table, key, new_cfg)

self.migrate_copp_table()
if self.asic_type != "mellanox":
self.migrate_copp_table()
if self.asic_type == "broadcom" and 'Force10-S6100' in self.hwsku:
self.migrate_mgmt_ports_on_s6100()
else:
Expand Down

0 comments on commit 5ef77ca

Please sign in to comment.