Skip to content

Commit

Permalink
RT-2.14 | Changes to isis drain test (#3844)
Browse files Browse the repository at this point in the history
* Changes to RT-2.14 test

* comment space
  • Loading branch information
arvbaska1 authored Feb 26, 2025
1 parent 300f44f commit 84ffc46
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions feature/isis/otg_tests/isis_drain_test/isis_drain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,10 @@ func configureISISDUT(t *testing.T, dut *ondatra.DUTDevice, intfs []string) {
isis := prot.GetOrCreateIsis()

globalISIS := isis.GetOrCreateGlobal()
// Explicit Disable the default igp-ldp-sync enabled global leaf
isismpls := prot.GetOrCreateIsis().GetOrCreateGlobal().GetOrCreateMpls()
isismplsldpsync := isismpls.GetOrCreateIgpLdpSync()
isismplsldpsync.Enabled = ygot.Bool(false)
if deviations.ISISInstanceEnabledRequired(dut) {
globalISIS.Instance = ygot.String(isisInstance)
}
Expand All @@ -257,6 +261,9 @@ func configureISISDUT(t *testing.T, dut *ondatra.DUTDevice, intfs []string) {
}
for _, intfName := range intfs {
isisIntf := isis.GetOrCreateInterface(intfName)
// Explicit Disable the default igp-ldp-sync enabled interface level leaf
isisintfmplsldpsync := isisIntf.GetOrCreateMpls().GetOrCreateIgpLdpSync()
isisintfmplsldpsync.Enabled = ygot.Bool(false)
isisIntf.GetOrCreateInterfaceRef().Interface = ygot.String(intfName)
isisIntf.GetOrCreateInterfaceRef().Subinterface = ygot.Uint32(0)
if deviations.InterfaceRefConfigUnsupported(dut) {
Expand Down
2 changes: 1 addition & 1 deletion feature/isis/otg_tests/isis_drain_test/metadata.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ platform_exceptions: {
}
deviations: {
ipv4_missing_enabled: true
missing_isis_interface_afi_safi_enable: true
interface_ref_config_unsupported: true
}
}
platform_exceptions: {
Expand Down

0 comments on commit 84ffc46

Please sign in to comment.