diff options
Diffstat (limited to 'pkg/server/server.go')
-rw-r--r-- | pkg/server/server.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/server/server.go b/pkg/server/server.go index 16b6e869..e92155b8 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -1969,6 +1969,13 @@ func (s *BgpServer) addPathList(vrfId string, pathList []*table.Path) error { return err } +func (s *BgpServer) addPathStream(vrfId string, pathList []*table.Path) error { + err := s.mgmtOperation(func() error { + return s.addPathList(vrfId, pathList) + }, true) + return err +} + func (s *BgpServer) AddPath(ctx context.Context, r *api.AddPathRequest) (*api.AddPathResponse, error) { var uuidBytes []byte err := s.mgmtOperation(func() error { |