From 9911b3f52d5efe871bfd7b0e8ed8c1df28232128 Mon Sep 17 00:00:00 2001 From: Aryeh Feigin <101218333+arfeigin@users.noreply.github.com> Date: Wed, 4 Jan 2023 23:59:27 +0200 Subject: [PATCH] Update db_migrator.py --- scripts/db_migrator.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/db_migrator.py b/scripts/db_migrator.py index 03afb29ba1..c77bbe0564 100755 --- a/scripts/db_migrator.py +++ b/scripts/db_migrator.py @@ -868,6 +868,10 @@ def common_migration_ops(self): new_cfg = {**init_cfg, **curr_cfg} self.configDB.set_entry(init_cfg_table, key, new_cfg) + # Avoiding copp table migration is platform specific at the moment as I understood this might cause issues for some + # vendors, probably Broadcom. This change can be checked with any specific vendor and if this works fine the platform + # condition can be modified and extend. If no vendor has an issue with not clearing copp tables the condition can be + # removed together with calling to migrate_copp_table function. if self.asic_type != "mellanox": self.migrate_copp_table() if self.asic_type == "broadcom" and 'Force10-S6100' in self.hwsku: