Skip to content
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
2 changes: 2 additions & 0 deletions dataplane/saiserver/saiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ type Server struct {
saiSwitch *saiSwitch
systemPort *systemPort
tam *tam
lag *lag
}

func (s *Server) ObjectTypeQuery(ctx context.Context, req *saipb.ObjectTypeQueryRequest) (*saipb.ObjectTypeQueryResponse, error) {
Expand Down Expand Up @@ -213,6 +214,7 @@ func New(ctx context.Context, mgr *attrmgr.AttrMgr, s *grpc.Server, opts *dplane
saiSwitch: sw,
systemPort: &systemPort{},
tam: &tam{},
lag: sw.Lag,
}
fwdpb.RegisterForwardingServer(s, fwdCtx)
fwdpb.RegisterInfoServer(s, fwdCtx)
Expand Down
4 changes: 2 additions & 2 deletions dataplane/saiserver/switch.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type saiSwitch struct {
nextHop *nextHop
policer *policer
route *route
lag *lag
Lag *lag
tunnel *tunnel
queue *queue
sg *schedulerGroup
Expand Down Expand Up @@ -230,7 +230,7 @@ func newSwitch(mgr *attrmgr.AttrMgr, engine switchDataplaneAPI, s *grpc.Server,
nextHop: newNextHop(mgr, engine, s),
route: newRoute(mgr, engine, s),
routerInterface: newRouterInterface(mgr, engine, s),
lag: newLAG(mgr, engine, s),
Lag: newLAG(mgr, engine, s),
tunnel: newTunnel(mgr, engine, s),
udf: newUdf(mgr, engine, s),
scheduler: newScheduler(mgr, engine, s),
Expand Down
Loading