Skip to content

Commit

Permalink
Remove recvfd NSM chain element from endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
zolug committed Nov 6, 2023
1 parent 424bb21 commit 8672f46
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions cmd/proxy/internal/service/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (
"github.com/networkservicemesh/api/pkg/api/registry"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/kernel"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/recvfd"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/sendfd"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/null"
endpointOld "github.com/nordix/meridio/pkg/endpoint"
Expand All @@ -50,7 +49,6 @@ func StartNSE(ctx context.Context,
additionalFunctionality := []networkservice.NetworkServiceServer{
// Note: naming the interface is left to NSM (refer to getNameFromConnection())
// However NSM does not seem to ensure uniqueness either. Might need to revisit...
recvfd.NewServer(),
mechanisms.NewServer(map[string]networkservice.NetworkServiceServer{
kernelmech.MECHANISM: kernel.NewServer(),
noop.MECHANISM: null.NewServer(),
Expand Down
2 changes: 0 additions & 2 deletions cmd/stateless-lb/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import (
"github.com/networkservicemesh/api/pkg/api/networkservice/mechanisms/noop"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/kernel"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/recvfd"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/sendfd"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/null"
nsmlog "github.com/networkservicemesh/sdk/pkg/tools/log"
Expand Down Expand Up @@ -192,7 +191,6 @@ func main() {
// Note: naming the interface is left to NSM (refer to getNameFromConnection())
// However NSM does not seem to ensure uniqueness either. Might need to revisit...
responderEndpoint := []networkservice.NetworkServiceServer{
recvfd.NewServer(),
mechanisms.NewServer(map[string]networkservice.NetworkServiceServer{
kernelmech.MECHANISM: kernel.NewServer(),
noop.MECHANISM: null.NewServer(),
Expand Down

0 comments on commit 8672f46

Please sign in to comment.