Skip to content

Commit

Permalink
TE-11.3,RT-1.10: configure default NI name (openconfig#2548)
Browse files Browse the repository at this point in the history
* use util function to configure default ni

* revert benchmarking test
  • Loading branch information
kjahed authored Feb 16, 2024
1 parent a4faded commit dd9eed3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,7 @@ func TestBgpKeepAliveHoldTimerConfiguration(t *testing.T) {
configureDUT(t, dut)
t.Log("Configure RPL")
configureRoutePolicy(t, dut, bgpGlobalAttrs.rplName, oc.RoutingPolicy_PolicyResultType_ACCEPT_ROUTE)
dutConfNIPath := gnmi.OC().NetworkInstance(deviations.DefaultNetworkInstance(dut))
gnmi.Replace(t, dut, dutConfNIPath.Type().Config(), oc.NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_DEFAULT_INSTANCE)
fptest.ConfigureDefaultNetworkInstance(t, dut)
t.Logf("Start DUT BGP Config")
dutConfPath := gnmi.OC().NetworkInstance(deviations.DefaultNetworkInstance(dut)).Protocol(oc.PolicyTypes_INSTALL_PROTOCOL_TYPE_BGP, "BGP")
dutConf := bgpCreateNbr(dut)
Expand Down

0 comments on commit dd9eed3

Please sign in to comment.