Skip to content

Commit

Permalink
add testing.T where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
dplore committed Nov 20, 2024
1 parent 524efaf commit 3b3b393
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/otg_helpers/otg_config_helpers/otgconfighelpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ func ConfigureOtgNetworkInterface(top gosnappi.Config, ate *ondatra.ATEDevice, a

// ConfigureOtgLag configures the aggregate port.
func ConfigureOtgLag(t *testing.T, top gosnappi.Config, ate *ondatra.ATEDevice, a *Port) {
t.Helper()

agg := top.Lags().Add().SetName(a.Name)
agg.Protocol().Lacp().SetActorKey(1).SetActorSystemPriority(1).SetActorSystemId(a.AggMAC)
for index, portName := range a.MemberPorts {
Expand Down

0 comments on commit 3b3b393

Please sign in to comment.