Skip to content
Merged
Changes from all commits
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 src/sonic-config-engine/minigraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -2241,7 +2241,7 @@ def parse_xml(filename, platform=None, port_config_file=None, asic_name=None, hw
# #voq switch_id for asic
# switch_id = chassis_metadata.get(asic_hostname, {}).get('asic_switch_id', None)
# on Voq system each asic has a switch_id
if switch_id is not None:
if switch_id is not None and chassis_type != CHASSIS_CARD_PACKET:
if sub_role is not None and FRONTEND_ASIC_SUB_ROLE == sub_role:
if slot_index is not None:
switch_id = get_asic_switch_id(slot_index, asic_name)
Expand Down