Skip to content

Commit

Permalink
Remove the deletion of vrf selection policy parent OC path in the API…
Browse files Browse the repository at this point in the history
… used for creating dcGate policies (openconfig#2870)
  • Loading branch information
self-maurya authored Apr 2, 2024
1 parent 63d06bc commit c13a18c
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,6 @@ func configNonDefaultNetworkInstance(t *testing.T, dut *ondatra.DUTDevice) {
}
}

func deleteVrfSelectionPolicy(t *testing.T, dut *ondatra.DUTDevice) {
t.Helper()
gnmi.Delete(t, dut, gnmi.OC().NetworkInstance(deviations.DefaultNetworkInstance(dut)).PolicyForwarding().Config())
}

type policyFwRule struct {
SeqId uint32
protocol oc.UnionUint8
Expand Down Expand Up @@ -624,7 +619,6 @@ func testRecursiveIPv4EntrywithVrfPolW(t *testing.T, args *testArgs) {
}
t.Log("Delete existing vrf selection policy and Apply vrf selectioin policy W")
configNonDefaultNetworkInstance(t, args.dut)
deleteVrfSelectionPolicy(t, args.dut)
configureVrfSelectionPolicyW(t, args.dut)

t.Logf("Adding IP %v with NHG %d NH %d with IP %v as NH via gRIBI", ateIndirectNH, nhgIndex2, nhIndex2, atePort2.IPv4)
Expand Down

0 comments on commit c13a18c

Please sign in to comment.