Add Arista-7060X6-64DE-O128S2 and Arista-7060X6-64PE-C224O8 HWSKUs#15781
Add Arista-7060X6-64DE-O128S2 and Arista-7060X6-64PE-C224O8 HWSKUs#15781StormLiangMS merged 5 commits intosonic-net:masterfrom ccroy-arista:add-some-qs-hwskus
Conversation
Add the Arista-7060X6-64DE-O128S2 HWSKU to sonic-mgmt.
Add hwsku Arista-7060X6-64PE-C224O8.
|
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
ansible/module_utils/port_utils.py
Outdated
| port_alias_to_name_map["Ethernet13/1"] = "Ethernet96" | ||
| port_alias_to_name_map["Ethernet13/5"] = "Ethernet100" | ||
| for j in range(1, 9): | ||
| port_alias_to_name_map["Ethernet14/%d" % (j)] = "Ethernet%d" % (14 * 8 + (j - 1)) |
There was a problem hiding this comment.
can we replace the for loop with the following?
for i in range(1, 65, 2):
if i in [13, 17, 45, 49]:
for j in [1, 5]:
port_alias_to_name_map["Ethernet%d/%d" % (i, j)] = "Ethernet%d" % ((i - 1) * 8 + j - 1)
else:
for j in range(1, 9):
port_alias_to_name_map["Ethernet%d/%d" % (i, j)] = "Ethernet%d" % ((i - 1) * 8 + j - 1)
There was a problem hiding this comment.
Thanks @sdszhang, updated in latest commit.
Description of PR
Summary:
Fixes # (issue)
Add the necessary support files for the Arista-7060X6-64DE-O128S2 and Arista-7060X6-64PE-C224O8 hwskus to sonic-mgmt.
Type of change
Back port request
Approach
What is the motivation for this PR?
To support sonic-mgmt testing for the Arista-7060X6-64DE-O128S2 and Arista-7060X6-64PE-C224O8 hwskus.
How did you do it?
Added the necessary ansible variable/port util definitions for these hwskus.
How did you verify/test it?
Verified the testbed can be successfully configured and the sonic-mgmt suite of tests can be run against these hwskus.
Any platform specific information?
This targets the Arista-7060X6-64DE-O128S2 and Arista-7060X6-64PE-C224O8 hwskus.