Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/library/generate_golden_config_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def generate(self):
config = self.update_dns_config(config)

# To enable bmp feature
if self.check_version_for_bmp() is True:
if self.check_version_for_bmp() is True and device_info.is_supervisor() is False:
Copy link
Copy Markdown
Contributor

@FengPan-Frank FengPan-Frank Apr 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @BYGX-wcr for the change, could you also help to add some annotation in above line for why this check is needed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

if multi_asic.is_multi_asic():
config = self.overwrite_feature_golden_config_db_multiasic(config, "bmp")
else:
Expand Down
Loading