Repository navigation
[Cisco][P200] Fix for the AgentTrunkLoadBalancerTests for P200 - #1854
Open
itskittycisco wants to merge 2 commits into
Open
itskittycisco wants to merge 2 commits into
itskittycisco wants to merge 2 commits into
Conversation
Tianyu-Meta
approved these changes
Nov 12, 2026
|
@itskittycisco has updated the pull request. You must reimport the pull request before landing. |
Contributor
|
@Tianyu-Meta has imported this pull request. If you are a Meta employee, you can view this in D131447346. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pre-submission checklist
pip install -r requirements-dev.txt && pre-commit installpre-commit runclang-format.............................................................Passed
shellcheck...........................................(no files to check)Skipped
shfmt................................................(no files to check)Skipped
trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
check yaml...............................................................Passed
check json...........................................(no files to check)Skipped
check for merge conflicts................................................Passed
ruff check...........................................(no files to check)Skipped
ruff format..........................................(no files to check)Skipped
Check copyright headers in new FBOSS C/C++ files.........................Passed
Prevent sai_impl in fboss manifest.......................................Passed
Summary
AGGREGATE_PORT_ROUTER_INTERFACE is enabled to resolve the SAI error: create LAG_MEMBER on the member port returned OBJECT IN USE because that port still had a PORT RIF. This flag makes unlinkPortsForLagIfNeeded() run, which removes those member PORT RIFs in a separate config apply before the LAG members are created.
HASH_FIELDS_CUSTOMIZATION
G200 did program was one hash object with source IP, destination IP, and L4 ports, attached to SAI_SWITCH_ATTR_ECMP_HASH_IPV4 and ECMP_HASH_IPV6. Enabling the same for P200 as well.
Test Plan
Manually verified these tests:
AgentTrunkLoadBalancerTest.ECMPFullTrunkHalf4X2WideTrunksFrontPanelTraffic
AgentTrunkLoadBalancerTest.ECMPFullTrunkHalf4X3WideTrunksFrontPanelTraffic
AgentTrunkLoadBalancerTest.ECMPFullTrunkHalfHash4X2WideTrunksCpuTraffic
AgentTrunkLoadBalancerTest.ECMPFullTrunkHalfHash4X3WideTrunksCpuTraffic
AgentTrunkLoadBalancerTest.ECMPHalfTrunkFull4X2WideTrunksFrontPanelTraffic
AgentTrunkLoadBalancerTest.ECMPHalfTrunkFull4X3WideTrunksFrontPanelTraffic
AgentTrunkLoadBalancerTest.ECMPHalfTrunkFullHash4X2WideTrunksCpuTraffic
AgentTrunkLoadBalancerTest.ECMPHalfTrunkFullHash4X3WideTrunksCpuTraffic
AgentV6FlowLabelEcmpLoadBalancerTest.EcmpFlowLabelHashEnabledViaConfigChange
AgentV6FlowLabelTrunkLoadBalancerTest.V6FlowLabelEcmpTrunk4X3WideTrunksCpuTraffic
AgentV6FlowLabelTrunkLoadBalancerTest.V6FlowLabelEcmpTrunk4X3WideTrunksFrontPanelTraffic