From c262a66855b568d154446dec309164b4f6bc8a21 Mon Sep 17 00:00:00 2001 From: Nikita Skrynnik Date: Mon, 6 Jun 2022 14:40:03 +0700 Subject: [PATCH 1/2] add clientinfo chain element Signed-off-by: Nikita Skrynnik --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 54073c8..f83f0aa 100644 --- a/main.go +++ b/main.go @@ -48,6 +48,7 @@ import ( "github.com/networkservicemesh/sdk/pkg/networkservice/common/retry" "github.com/networkservicemesh/sdk/pkg/networkservice/connectioncontext/dnscontext/vl3dns" "github.com/networkservicemesh/sdk/pkg/networkservice/connectioncontext/ipcontext/vl3" + "github.com/networkservicemesh/sdk/pkg/registry/common/clientinfo" registrysendfd "github.com/networkservicemesh/sdk/pkg/registry/common/sendfd" "github.com/networkservicemesh/sdk/pkg/tools/opentelemetry" "github.com/networkservicemesh/sdk/pkg/tools/token" @@ -279,6 +280,7 @@ func main() { registryclient.WithClientURL(&config.ConnectTo), registryclient.WithDialOptions(clientOptions...), registryclient.WithNSEAdditionalFunctionality( + clientinfo.NewNetworkServiceEndpointRegistryClient(), registrysendfd.NewNetworkServiceEndpointRegistryClient(), ), ) From a80fb8b322111df2c89ab080a8ed9b8bf204ea36 Mon Sep 17 00:00:00 2001 From: Nikita Skrynnik Date: Mon, 6 Jun 2022 14:46:54 +0700 Subject: [PATCH 2/2] go generate Signed-off-by: Nikita Skrynnik --- internal/imports/imports_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/imports/imports_linux.go b/internal/imports/imports_linux.go index f6785dd..684f96b 100644 --- a/internal/imports/imports_linux.go +++ b/internal/imports/imports_linux.go @@ -35,6 +35,7 @@ import ( _ "github.com/networkservicemesh/sdk/pkg/networkservice/connectioncontext/ipcontext/vl3" _ "github.com/networkservicemesh/sdk/pkg/networkservice/core/chain" _ "github.com/networkservicemesh/sdk/pkg/registry/chains/client" + _ "github.com/networkservicemesh/sdk/pkg/registry/common/clientinfo" _ "github.com/networkservicemesh/sdk/pkg/registry/common/sendfd" _ "github.com/networkservicemesh/sdk/pkg/tools/debug" _ "github.com/networkservicemesh/sdk/pkg/tools/grpcutils"