Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DanG100 committed Dec 5, 2023
1 parent 8348b76 commit fbc5708
Show file tree
Hide file tree
Showing 51 changed files with 38,279 additions and 38,379 deletions.
7,338 changes: 3,668 additions & 3,670 deletions dataplane/proto/acl.pb.go

Large diffs are not rendered by default.

852 changes: 425 additions & 427 deletions dataplane/proto/bfd.pb.go

Large diffs are not rendered by default.

1,066 changes: 532 additions & 534 deletions dataplane/proto/bmtor.pb.go

Large diffs are not rendered by default.

1,104 changes: 551 additions & 553 deletions dataplane/proto/bridge.pb.go

Large diffs are not rendered by default.

1,104 changes: 551 additions & 553 deletions dataplane/proto/buffer.pb.go

Large diffs are not rendered by default.

25,775 changes: 12,887 additions & 12,888 deletions dataplane/proto/common.pb.go

Large diffs are not rendered by default.

341 changes: 169 additions & 172 deletions dataplane/proto/counter.pb.go

Large diffs are not rendered by default.

378 changes: 188 additions & 190 deletions dataplane/proto/debug_counter.pb.go

Large diffs are not rendered by default.

1,694 changes: 846 additions & 848 deletions dataplane/proto/dtel.pb.go

Large diffs are not rendered by default.

448 changes: 223 additions & 225 deletions dataplane/proto/fdb.pb.go

Large diffs are not rendered by default.

350 changes: 174 additions & 176 deletions dataplane/proto/generic_programmable.pb.go

Large diffs are not rendered by default.

544 changes: 271 additions & 273 deletions dataplane/proto/hash.pb.go

Large diffs are not rendered by default.

1,478 changes: 738 additions & 740 deletions dataplane/proto/hostif.pb.go

Large diffs are not rendered by default.

376 changes: 187 additions & 189 deletions dataplane/proto/ipmc.pb.go

Large diffs are not rendered by default.

430 changes: 214 additions & 216 deletions dataplane/proto/ipmc_group.pb.go

Large diffs are not rendered by default.

1,436 changes: 717 additions & 719 deletions dataplane/proto/ipsec.pb.go

Large diffs are not rendered by default.

456 changes: 227 additions & 229 deletions dataplane/proto/isolation_group.pb.go

Large diffs are not rendered by default.

342 changes: 170 additions & 172 deletions dataplane/proto/l2mc.pb.go

Large diffs are not rendered by default.

448 changes: 223 additions & 225 deletions dataplane/proto/l2mc_group.pb.go

Large diffs are not rendered by default.

734 changes: 366 additions & 368 deletions dataplane/proto/lag.pb.go

Large diffs are not rendered by default.

1,876 changes: 937 additions & 939 deletions dataplane/proto/macsec.pb.go

Large diffs are not rendered by default.

365 changes: 181 additions & 184 deletions dataplane/proto/mcast_fdb.pb.go

Large diffs are not rendered by default.

760 changes: 379 additions & 381 deletions dataplane/proto/mirror.pb.go

Large diffs are not rendered by default.

590 changes: 294 additions & 296 deletions dataplane/proto/mpls.pb.go

Large diffs are not rendered by default.

314 changes: 156 additions & 158 deletions dataplane/proto/my_mac.pb.go

Large diffs are not rendered by default.

970 changes: 484 additions & 486 deletions dataplane/proto/nat.pb.go

Large diffs are not rendered by default.

494 changes: 246 additions & 248 deletions dataplane/proto/neighbor.pb.go

Large diffs are not rendered by default.

632 changes: 315 additions & 317 deletions dataplane/proto/next_hop.pb.go

Large diffs are not rendered by default.

1,068 changes: 533 additions & 535 deletions dataplane/proto/next_hop_group.pb.go

Large diffs are not rendered by default.

557 changes: 277 additions & 280 deletions dataplane/proto/policer.pb.go

Large diffs are not rendered by default.

3,920 changes: 1,959 additions & 1,961 deletions dataplane/proto/port.pb.go

Large diffs are not rendered by default.

302 changes: 150 additions & 152 deletions dataplane/proto/qos_map.pb.go

Large diffs are not rendered by default.

528 changes: 263 additions & 265 deletions dataplane/proto/queue.pb.go

Large diffs are not rendered by default.

442 changes: 220 additions & 222 deletions dataplane/proto/route.pb.go

Large diffs are not rendered by default.

760 changes: 379 additions & 381 deletions dataplane/proto/router_interface.pb.go

Large diffs are not rendered by default.

426 changes: 212 additions & 214 deletions dataplane/proto/rpf_group.pb.go

Large diffs are not rendered by default.

330 changes: 164 additions & 166 deletions dataplane/proto/samplepacket.pb.go

Large diffs are not rendered by default.

464 changes: 231 additions & 233 deletions dataplane/proto/scheduler.pb.go

Large diffs are not rendered by default.

362 changes: 180 additions & 182 deletions dataplane/proto/scheduler_group.pb.go

Large diffs are not rendered by default.

832 changes: 415 additions & 417 deletions dataplane/proto/srv6.pb.go

Large diffs are not rendered by default.

500 changes: 249 additions & 251 deletions dataplane/proto/stp.pb.go

Large diffs are not rendered by default.

4,044 changes: 2,021 additions & 2,023 deletions dataplane/proto/switch.pb.go

Large diffs are not rendered by default.

344 changes: 171 additions & 173 deletions dataplane/proto/system_port.pb.go

Large diffs are not rendered by default.

3,940 changes: 1,969 additions & 1,971 deletions dataplane/proto/tam.pb.go

Large diffs are not rendered by default.

1,894 changes: 946 additions & 948 deletions dataplane/proto/tunnel.pb.go

Large diffs are not rendered by default.

670 changes: 334 additions & 336 deletions dataplane/proto/udf.pb.go

Large diffs are not rendered by default.

504 changes: 251 additions & 253 deletions dataplane/proto/virtual_router.pb.go

Large diffs are not rendered by default.

1,120 changes: 559 additions & 561 deletions dataplane/proto/vlan.pb.go

Large diffs are not rendered by default.

944 changes: 471 additions & 473 deletions dataplane/proto/wred.pb.go

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dataplane/saiserver/saiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,16 +236,16 @@ func (s *Server) Initialize(ctx context.Context, _ *saipb.InitializeRequest) (*s
return &saipb.InitializeResponse{}, nil
}

func (srv *Server) Reset(ctx context.Context) error {
_, err := srv.forwardingContext.ContextDelete(ctx, &fwdpb.ContextDeleteRequest{
ContextId: &fwdpb.ContextId{Id: srv.forwardingContext.id},
func (s *Server) Reset(ctx context.Context) error {
_, err := s.forwardingContext.ContextDelete(ctx, &fwdpb.ContextDeleteRequest{
ContextId: &fwdpb.ContextId{Id: s.forwardingContext.id},
})
if err != nil {
return err
}

_, err = srv.forwardingContext.ContextCreate(ctx, &fwdpb.ContextCreateRequest{
ContextId: &fwdpb.ContextId{Id: srv.forwardingContext.id},
_, err = s.forwardingContext.ContextCreate(ctx, &fwdpb.ContextCreateRequest{
ContextId: &fwdpb.ContextId{Id: s.forwardingContext.id},
})
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion dataplane/standalone/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ cc_library(
],
visibility = ["//visibility:public"],
deps = [
"//dataplane/standalone/packetio",
"//dataplane/proto:sai_cc_grpc",
"//dataplane/standalone/packetio",
"//dataplane/standalone/sai",
"@com_github_google_glog//:glog",
"@com_github_grpc_grpc//:grpc++",
Expand Down

0 comments on commit fbc5708

Please sign in to comment.