Skip to content

Commit

Permalink
fixing interface level config and timer (#3577)
Browse files Browse the repository at this point in the history
  • Loading branch information
ram-mac authored Nov 12, 2024
1 parent cedbeab commit eb41790
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ func configureISIS(t *testing.T, ts *isissession.TestSession) {
// Interface level configs.
isisIntfLevel := intf.GetOrCreateLevel(2)
isisIntfLevel.LevelNumber = ygot.Uint8(2)
isisIntfLevel.SetEnabled(true)
isisIntfLevel.Enabled = ygot.Bool(true)
isisIntfLevel.GetOrCreateHelloAuthentication().Enabled = ygot.Bool(true)
isisIntfLevel.GetHelloAuthentication().AuthPassword = ygot.String(password)
isisIntfLevel.GetHelloAuthentication().AuthType = oc.KeychainTypes_AUTH_TYPE_SIMPLE_KEY
Expand Down Expand Up @@ -191,13 +193,15 @@ func TestISISWideMetricEnabled(t *testing.T) {
fptest.LogQuery(t, "Protocol ISIS", isissession.ProtocolPath(ts.DUT).Config(), pcl)

ts.PushAndStart(t)
time.Sleep(time.Minute * 2)

statePath := isissession.ISISPath(ts.DUT)
intfName := ts.DUTPort1.Name()
if deviations.ExplicitInterfaceInDefaultVRF(ts.DUT) {
intfName += ".0"
}
t.Run("ISIS telemetry", func(t *testing.T) {
time.Sleep(time.Minute * 2)

// Checking adjacency
ateSysID, err := ts.AwaitAdjacency()
Expand Down

0 comments on commit eb41790

Please sign in to comment.