Skip to content

Commit

Permalink
sonic-mgmt: rename qsp 128x400g hwsku (#15687)
Browse files Browse the repository at this point in the history
The Arista-7060X6-64PE-128x400G HWSKU folder in
sonic-buildimage has been renamed to end in
'-O128S2' instead; this change updates the
corresponding references in sonic-mgmt.
  • Loading branch information
ccroy-arista authored Nov 27, 2024
1 parent 09f70c2 commit 29922f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible/group_vars/sonic/variables
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ broadcom_th_hwskus: ['Force10-S6100', 'Arista-7060CX-32S-C32', 'Arista-7060CX-32
broadcom_th2_hwskus: ['Arista-7260CX3-D108C8', 'Arista-7260CX3-C64', 'Arista-7260CX3-Q64']
broadcom_th3_hwskus: ['DellEMC-Z9332f-M-O16C64', 'DellEMC-Z9332f-O32']
broadcom_th4_hwskus: ['Arista-7060DX5-32', 'Arista-7060DX5-64S']
broadcom_th5_hwskus: ['Arista-7060X6-64DE', 'Arista-7060X6-64DE-64x400G', 'Arista-7060X6-64DE-256x200G', 'Arista-7060X6-64PE', 'Arista-7060X6-64PE-64x400G', 'Arista-7060X6-64PE-128x400G', 'Arista-7060X6-64PE-256x200G', 'Arista-7060X6-64PE-C256S2']
broadcom_th5_hwskus: ['Arista-7060X6-64DE', 'Arista-7060X6-64DE-64x400G', 'Arista-7060X6-64DE-256x200G', 'Arista-7060X6-64PE', 'Arista-7060X6-64PE-64x400G', 'Arista-7060X6-64PE-O128S2', 'Arista-7060X6-64PE-256x200G', 'Arista-7060X6-64PE-C256S2']
broadcom_j2c+_hwskus: ['Nokia-IXR7250E-36x100G', 'Nokia-IXR7250E-36x400G', 'Arista-7800R3A-36DM2-C36', 'Arista-7800R3A-36DM2-D36', 'Arista-7800R3AK-36DM2-C36', 'Arista-7800R3AK-36DM2-D36']
broadcom_jr2_hwskus: ['Arista-7800R3-48CQ2-C48', 'Arista-7800R3-48CQM2-C48']

Expand Down
2 changes: 1 addition & 1 deletion ansible/module_utils/port_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def get_port_alias_to_name_map(hwsku, asic_name=None):
port_alias_to_name_map["Ethernet%d/1" % i] = "Ethernet%d" % ((i - 1) * 8)
port_alias_to_name_map["Ethernet65"] = "Ethernet512"
port_alias_to_name_map["Ethernet66"] = "Ethernet513"
elif hwsku == "Arista-7060X6-64PE-128x400G":
elif hwsku == "Arista-7060X6-64PE-O128S2":
for i in range(1, 65):
for j in [1, 5]:
port_alias_to_name_map["Ethernet%d/%d" % (i, j)] = "Ethernet%d" % ((i - 1) * 8 + j - 1)
Expand Down

0 comments on commit 29922f7

Please sign in to comment.