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
4 changes: 4 additions & 0 deletions tests/common/devices/multi_asic.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ def critical_services_tracking_list(self):
# Update the asic service based on feature table state and asic flag
config_facts = self.config_facts(host=self.hostname, source="running")['ansible_facts']
for service in list(self.sonichost.DEFAULT_ASIC_SERVICES):
if service == "teamd" and config_facts['DEVICE_METADATA']['localhost']['switch_type'] == 'dpu':
logger.warning("Removing teamd from default services for switch_type DPU")
self.sonichost.DEFAULT_ASIC_SERVICES.remove(service)
continue
if config_facts['FEATURE'][service]['has_per_asic_scope'] == "False":
self.sonichost.DEFAULT_ASIC_SERVICES.remove(service)
if config_facts['FEATURE'][service]['state'] == "disabled":
Expand Down