Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ func configureGribi(t *testing.T, dut *ondatra.DUTDevice) {
fluent.NextHopGroupEntry().
WithNetworkInstance(deviations.DefaultNetworkInstance(dut)).
WithID(nhgID).
AddNextHop(nhID, uint64(i+1)),
AddNextHop(nhID, 1),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The weight for the Next Hop Group member is changed from uint64(i+1) to 1. While this change likely addresses the failure on Arista for this specific configuration, a similar pattern of using non-unit weights for single-member Next Hop Groups exists in programBasicEntries (line 471). If the platform issue is related to weights in single-member groups, programBasicEntries should also be updated to ensure the test passes consistently across the entire suite.

References
  1. Maintaining consistency in code patterns across the test suite is important, especially when applying a fix for a platform-specific issue that likely affects multiple locations using the same pattern.

)

// --- Create IPv6 route triggering MPLS-in-UDP encapsulation ---
Expand Down
Loading