[Accton][wedge800bact] Add full-set Profile IDs for Wedge800BACT plat… #772
+35,066
−20,214
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description: This PR maps the Profile IDs to fulfill the PRD requirements for the Wedge800BACT platform to run SAI Test, Agent HW Test, and Link Test in T0.
What has changed:
Update the Platform mapping CSV files to include the profile IDs.
A. Uplink ports:
Optic:
PROFILE_800G_8_PAM4_RS544X2N_OPTICAL = 39
PROFILE_400G_4_PAM4_RS544X2N_OPTICAL = 38
PROFILE_200G_4_PAM4_RS544X2N_OPTICAL = 25
PROFILE_100G_4_NRZ_RS528_OPTICAL = 23
B. Downlink ports:
Optic:
PROFILE_800G_8_PAM4_RS544X2N_OPTICAL = 39
PROFILE_400G_4_PAM4_RS544X2N_OPTICAL = 38
Copper:
PROFILE_800G_8_PAM4_RS544X2N_COPPER = 50
PROFILE_400G_4_PAM4_RS544X2N_COPPER = 45
PROFILE_200G_4_PAM4_RS544X2N_COPPER = 24
PROFILE_100G_4_NRZ_RS528_COPPER = 22
PROFILE_100G_4_NRZ_NOFEC_COPPER = 32
PROFILE_200G_2_PAM4_RS544_COPPER= 54
PROFILE_100G_2_PAM4_RS544_COPPER = 55
PROFILE_50G_2_NRZ_RS528_COPPER = 21
PROFILE_50G_2_NRZ_NOFEC_COPPER = 19
PROFILE_100G_1_PAM4_RS544_COPPER = 56
PROFILE_50G_1_PAM4_RS544_COPPER = 43
C. Service Port:
Optic:
PROFILE_100G_4_NRZ_RS528_OPTICAL = 23
PROFILE_50G_2_NRZ_RS528_OPTICAL = 48
PROFILE_25G_1_NRZ_NOFEC_OPTICAL = 30
Copper:
PROFILE_100G_4_NRZ_RS528_COPPER = 22
PROFILE_10G_1_NRZ_NOFEC_COPPER = 11
Updated the platform mapping JSON filegenerated by the Platform Mapping Configuration Generation Tools.
The PMCG is based on the commit ID as Reverting D89214092
Note:
The Platform Mapping Configuration Generation (PMCG) Tools used for verification are based on commit ID:
Fix controllingPort calculation logic.
Therefore, this version of the overwritten JSON file will cause T0 Agent Test failures.
Pre-submission checklist
pip install -r requirements-dev.txt && pre-commit installpre-commit run-- pre-commit run --files fboss/lib/platform_mapping_v2/platforms/wedge800bact/wedge800bact_port_profile_mapping.csv
-- pre-commit run --files fboss/lib/platform_mapping_v2/platforms/wedge800bact/wedge800bact_si_settings.csv
Summary
Test Plan
The platform mapping CSV files have been verified to run T0 SAI Test, Agent HW Test, and Link Test by using the overwritten platform mapping JSON file. The Platform Mapping Configuration Generation (PMCG) Tools used for verification are based on commit ID: Fix controllingPort calculation logic.
At the time of submitting this PR, the PMCG tools have been rolled back to Reverting D89214092..
Therefore, this version of the overwritten JSON file will cause T0 Agent Test failures.