Skip to content

Commit

Permalink
update sriov network service with vfconfig client and server chain el…
Browse files Browse the repository at this point in the history
…ements

Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@est.tech>
  • Loading branch information
pperiyasamy committed Jul 30, 2021
1 parent 2840e74 commit bf46d0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/networkservice/chains/xconnectns/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (
"github.com/networkservicemesh/sdk-kernel/pkg/kernel/networkservice/inject"
"github.com/networkservicemesh/sdk-kernel/pkg/kernel/networkservice/rename"
"github.com/networkservicemesh/sdk-sriov/pkg/networkservice/common/resourcepool"
"github.com/networkservicemesh/sdk-sriov/pkg/networkservice/common/vfconfig"
"github.com/networkservicemesh/sdk-sriov/pkg/sriov"
"github.com/networkservicemesh/sdk-sriov/pkg/sriov/config"
"github.com/networkservicemesh/sdk/pkg/networkservice/chains/client"
Expand Down Expand Up @@ -75,6 +76,7 @@ func NewSriovServer(ctx context.Context, name string, authzServer networkservice
additionalFunctionality := []networkservice.NetworkServiceServer{
metadata.NewServer(),
recvfd.NewServer(),
vfconfig.NewServer(),
// Statically set the url we use to the unix file socket for the NSMgr
clienturl.NewServer(clientURL),
connect.NewServer(ctx,
Expand All @@ -87,6 +89,8 @@ func NewSriovServer(ctx context.Context, name string, authzServer networkservice
// mechanisms
kernel.NewClient(bridgeName),
resourcepool.NewClient(sriov.KernelDriver, resourceLock, pciPool, resourcePool, sriovConfig),
// uncomment when vfconfig client chain element available
// vfconfig.NewClient(),
vxlan.NewClient(tunnelIP, bridgeName, vxlanInterfacesMutex, vxlanInterfaces),
recvfd.NewClient(),
sendfd.NewClient(),
Expand Down

0 comments on commit bf46d0f

Please sign in to comment.