Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove deprecated raw ondatra client usage #427

Merged
merged 2 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cloudbuild/vendors/vendors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func testGNMI(t *testing.T, dut *ondatra.DUTDevice) {

func testGRIBI(t *testing.T, dut *ondatra.DUTDevice) {
t.Helper()
c := dut.RawAPIs().GRIBI().New(t)
c := dut.RawAPIs().GRIBI(t)
req := &gribipb.GetRequest{
NetworkInstance: &gribipb.GetRequest_All{},
Aft: gribipb.AFTType_ALL,
Expand Down Expand Up @@ -57,7 +57,7 @@ func testGNOI(t *testing.T, dut *ondatra.DUTDevice) {

func testP4RT(t *testing.T, dut *ondatra.DUTDevice) {
t.Helper()
c := dut.RawAPIs().P4RT().New(t)
c := dut.RawAPIs().P4RT(t)
resp, err := c.Capabilities(context.Background(), &p4pb.CapabilitiesRequest{})
if err != nil {
t.Fatalf("P4RT failure: Capabilities request failed: %v", err)
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/openconfig/gnmi v0.10.0
github.com/openconfig/gribi v1.0.0
github.com/openconfig/lemming/operator v0.2.0
github.com/openconfig/ondatra v0.2.7
github.com/openconfig/ondatra v0.2.8
github.com/p4lang/p4runtime v1.3.0
github.com/pborman/uuid v1.2.1
github.com/pkg/errors v0.9.1
Expand Down Expand Up @@ -95,7 +95,7 @@ require (
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/open-traffic-generator/snappi/gosnappi v0.11.14 // indirect
github.com/openconfig/gnoi v0.0.0-20230221223856-1727ed932554 // indirect
github.com/openconfig/gnsi v1.2.1 // indirect
github.com/openconfig/gnsi v1.2.3 // indirect
github.com/openconfig/gocloser v0.0.0-20220310182203-c6c950ed3b0b // indirect
github.com/openconfig/goyang v1.4.0 // indirect
github.com/openconfig/ygnmi v0.8.7 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -686,8 +686,8 @@ github.com/openconfig/gnmi v0.10.0 h1:kQEZ/9ek3Vp2Y5IVuV2L/ba8/77TgjdXg505QXvYmg
github.com/openconfig/gnmi v0.10.0/go.mod h1:Y9os75GmSkhHw2wX8sMsxfI7qRGAEcDh8NTa5a8vj6E=
github.com/openconfig/gnoi v0.0.0-20230221223856-1727ed932554 h1:qV9anDoBeILsK/rUe7sc0DePwo7dkA45lzDQhfeTniA=
github.com/openconfig/gnoi v0.0.0-20230221223856-1727ed932554/go.mod h1:ZMRwQ7maVNSOjie3Jn67fW5WY7UDrFSiYSlV/GxthQs=
github.com/openconfig/gnsi v1.2.1 h1:JIC6+uVg39jLx3K39g/n6+J7b+c8FKU8TgwFAxmON+A=
github.com/openconfig/gnsi v1.2.1/go.mod h1:QikTHkm468uc2rq/kVhETfyZ6FPeM+zitubrHBbB0HE=
github.com/openconfig/gnsi v1.2.3 h1:Y/fBMQOn5xqdo9xuT7AK2YHSRejx/ws4sDOMBCHQG6w=
github.com/openconfig/gnsi v1.2.3/go.mod h1:QikTHkm468uc2rq/kVhETfyZ6FPeM+zitubrHBbB0HE=
github.com/openconfig/gocloser v0.0.0-20220310182203-c6c950ed3b0b h1:NSYuxdlOWLldNpid1dThR6Dci96juXioUguMho6aliI=
github.com/openconfig/gocloser v0.0.0-20220310182203-c6c950ed3b0b/go.mod h1:uhC/ybmPapgeyAL2b9ZrUQ+DZE+DB+J+/7377PX+lek=
github.com/openconfig/goyang v0.0.0-20200115183954-d0a48929f0ea/go.mod h1:dhXaV0JgHJzdrHi2l+w0fZrwArtXL7jEFoiqLEdmkvU=
Expand All @@ -701,8 +701,8 @@ github.com/openconfig/gribi v1.0.0/go.mod h1:VFqGH2ZPFIfnKTimP4/AQB4OK0eySW5muJN
github.com/openconfig/grpctunnel v0.0.0-20220819142823-6f5422b8ca70 h1:t6SvvdfWCMlw0XPlsdxO8EgO+q/fXnTevDjdYREKFwU=
github.com/openconfig/lemming/operator v0.2.0 h1:dovZnR6lQkOHXcODli1NDOr/GVYrBY05KS5X11jxVbw=
github.com/openconfig/lemming/operator v0.2.0/go.mod h1:LKgEXSR5VK2CAeh2uKijKAXFj42uQuwakrCHVPF0iII=
github.com/openconfig/ondatra v0.2.7 h1:abEI0qO4Q/BrXV/qi2unXn8dpkZFp9DF8rw6kZod5/E=
github.com/openconfig/ondatra v0.2.7/go.mod h1:Vfwg/PvsupSJOxTxpQvF078MyHxJGvff3jIr4H0vgzs=
github.com/openconfig/ondatra v0.2.8 h1:Ivh5p4kFnXgZVIqGmfgICwH19CJSgafWE8LD9qy0lrE=
github.com/openconfig/ondatra v0.2.8/go.mod h1:Wgp0ZqfuCr4ooUHNqMvO1gCV4jVzg2/JTZJkc6E1W8g=
github.com/openconfig/testt v0.0.0-20220311054427-efbb1a32ec07 h1:X631iD/B0ximGFb5P9LY5wHju4SiedxUhc5UZEo7VSw=
github.com/openconfig/ygnmi v0.8.7 h1:8K87+VztXhHqsU6/OYRnY/l/bGqFk+qU61mhhdxMCYo=
github.com/openconfig/ygnmi v0.8.7/go.mod h1:7up6qc9l9G4+Cfo37gzO0D7+2g4yqyW+xzh4vYsYTEE=
Expand Down