Skip to content

Commit 5b0d6f6

Browse files
authored
[port_utils] Update port_utils for new 9332 port layout (#3121)
Signed-off-by: Danny Allen <daall@microsoft.com>
1 parent d1f3510 commit 5b0d6f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ansible/module_utils/port_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ def get_port_alias_to_name_map(hwsku):
2626
port_alias_to_name_map["hundredGigE1/%d" % (i / 4 + 1)] = "Ethernet%d" % i
2727
elif hwsku == "DellEMC-Z9332f-M-O16C64":
2828
# 100G ports
29-
s100G_ports = [x for x in range(0, 32, 2)] + [x for x in range(64, 96, 2)] + [x for x in range(160, 192, 2)] + [x for x in range(224, 256, 2)]
29+
s100G_ports = [x for x in range(0, 96, 2)] + [x for x in range(128, 160, 2)]
3030

3131
# 400G ports
32-
s400G_ports = [x for x in range(32, 64, 8)] + [x for x in range(96, 160, 8)] + [x for x in range(192, 224, 8)]
32+
s400G_ports = [x for x in range(96, 128, 8)] + [x for x in range(160, 256, 8)]
3333

3434
# 10G ports
3535
s10G_ports = [x for x in range(256, 258)]

0 commit comments

Comments
 (0)