Skip to content

Commit ffc0a41

Browse files
Adding nvidia smartswitch support for MSN4280 (sonic-net#17188)
Add port interface support for MSM4280.
1 parent 75d195e commit ffc0a41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ansible/module_utils/port_utils.py

+3
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,9 @@ def get_port_alias_to_name_map(hwsku, asic_name=None):
471471
port_alias_to_name_map['etp65'] = "Ethernet512"
472472
if hwsku == "Mellanox-SN5610N-C224O8":
473473
port_alias_to_name_map['etp66'] = "Ethernet520"
474+
elif hwsku == "ACS-SN4280":
475+
for i in range(0, 256, 8):
476+
port_alias_to_name_map["Ethernet%d" % i] = "Ethernet%d" % i
474477
elif hwsku == "Arista-7060DX5-32":
475478
for i in range(1, 33):
476479
port_alias_to_name_map["Ethernet%d/1" % i] = "Ethernet%d" % ((i - 1) * 8)

0 commit comments

Comments
 (0)