Skip to content

Commit

Permalink
Upgrade FeatureProfiles to gosnappi v0.13.7 (#2566)
Browse files Browse the repository at this point in the history
* Upgrade FeatureProfiles to gosnappi v0.13.7

* fix tun_acl_dscp_test
  • Loading branch information
greg-dennis authored Jan 22, 2024
1 parent fb4ad69 commit 7718e50
Show file tree
Hide file tree
Showing 7 changed files with 95 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ func configureOTG(t *testing.T, ate *ondatra.ATEDevice) gosnappi.Config {
ate.OTG().StartProtocols(t)
time.Sleep(30 * time.Second)
// otgutils.WaitForARP(t, otg, topo, "IPv4")
t.Log(topo.Msg().GetCaptures())
pb, _ := topo.Marshal().ToProto()
t.Log(pb.GetCaptures())
return topo
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func TestTunnelEncapsulationByGREOverIPv6WithLoadBalance(t *testing.T) {
time.Sleep(30 * time.Second)
t.Logf("Start Traffic flow configuraturation in OTG")
configureTrafficFlowsToEncasulation(t, top, ateport1, ateport2, ateport3, &otgIntf1, dutIntf1.MAC)
t.Logf(top.ToJson())
t.Logf(top.Marshal().ToJson())
ate.OTG().PushConfig(t, top)
ate.OTG().StartProtocols(t)
time.Sleep(30 * time.Second)
Expand Down
2 changes: 1 addition & 1 deletion feature/gribi/mplsutil/topo.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func configureATEInterfaces(t *testing.T, ate *ondatra.ATEDevice, srcATE, srcDUT
ip6.SetAddress(p.ate.IPv6).SetGateway(p.dut.IPv6).SetPrefix(uint32(p.ate.IPv6Len))
}

c, err := topology.ToJson()
c, err := topology.Marshal().ToJson()
if err != nil {
return topology, err
}
Expand Down
20 changes: 10 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,28 @@ require (
github.com/google/gopacket v1.1.19
github.com/google/uuid v1.5.0
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
github.com/open-traffic-generator/snappi/gosnappi v0.13.3
github.com/open-traffic-generator/snappi/gosnappi v0.13.7
github.com/openconfig/entity-naming v0.0.0-20230912181021-7ac806551a31
github.com/openconfig/gnmi v0.10.0
github.com/openconfig/gnoi v0.3.0
github.com/openconfig/gnoigo v0.0.0-20231026010722-87413fdb22e7
github.com/openconfig/gnsi v1.2.3
github.com/openconfig/gnsi v1.2.4
github.com/openconfig/gocloser v0.0.0-20220310182203-c6c950ed3b0b
github.com/openconfig/goyang v1.4.5
github.com/openconfig/gribi v1.0.0
github.com/openconfig/gribigo v0.0.0-20231213034307-d0abeba7f432
github.com/openconfig/kne v0.1.14
github.com/openconfig/models-ci v1.0.2-0.20231113233730-f0986391428e
github.com/openconfig/ondatra v0.4.8
github.com/openconfig/ondatra v0.5.0
github.com/openconfig/replayer v0.0.0-20240110192655-4e9cf83d8d30
github.com/openconfig/testt v0.0.0-20220311054427-efbb1a32ec07
github.com/openconfig/ygnmi v0.11.0
github.com/openconfig/ygot v0.29.17
github.com/openconfig/ygnmi v0.11.1
github.com/openconfig/ygot v0.29.18
github.com/p4lang/p4runtime v1.4.0-rc.5.0.20220728214547-13f0d02a521e
github.com/protocolbuffers/txtpbfmt v0.0.0-20220608084003-fc78c767cd6a
golang.org/x/crypto v0.18.0
golang.org/x/exp v0.0.0-20240110193028-0dcbfd608b1e
github.com/yoheimuta/go-protoparser/v4 v4.9.0
golang.org/x/crypto v0.18.0
golang.org/x/exp v0.0.0-20240119083558-1b970713d09a
golang.org/x/text v0.14.0
google.golang.org/api v0.153.0
google.golang.org/grpc v1.60.1
Expand Down Expand Up @@ -137,15 +137,15 @@ require (
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.20.0 // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/term v0.16.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.16.0 // indirect
golang.org/x/tools v0.17.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240116215550-a9fa1716bcac // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
Expand Down
Loading

0 comments on commit 7718e50

Please sign in to comment.