diff --git a/go.mod b/go.mod index 4a77b997..67b69dc4 100644 --- a/go.mod +++ b/go.mod @@ -8,9 +8,9 @@ require ( github.com/edwarnicke/grpcfd v0.1.1 github.com/kelseyhightower/envconfig v1.4.0 github.com/networkservicemesh/api v1.1.2-0.20220119092736-21eda250c390 - github.com/networkservicemesh/sdk v0.5.1-0.20220124073803-419fa7053a1a - github.com/networkservicemesh/sdk-k8s v0.0.0-20220124074814-0dce7bf22573 - github.com/networkservicemesh/sdk-sriov v0.0.0-20220125054043-82a6836ef9b8 + github.com/networkservicemesh/sdk v0.5.1-0.20220126193800-17ea214c7fec + github.com/networkservicemesh/sdk-k8s v0.0.0-20220126203132-0cd73d38680a + github.com/networkservicemesh/sdk-sriov v0.0.0-20220126211306-44ea01b078a0 github.com/pkg/errors v0.9.1 github.com/sirupsen/logrus v1.8.1 github.com/spiffe/go-spiffe/v2 v2.0.0-alpha.4.0.20200528145730-dc11d0c74e85 diff --git a/go.sum b/go.sum index 5b142c8b..6feaf5be 100644 --- a/go.sum +++ b/go.sum @@ -355,14 +355,14 @@ github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OS github.com/nats-io/stan.go v0.10.0/go.mod h1:0jEuBXKauB1HHJswHM/lx05K48TJ1Yxj6VIfM4k+aB4= github.com/networkservicemesh/api v1.1.2-0.20220119092736-21eda250c390 h1:GREf14twiQkUInGh+M0qQH+jNQ9uvTfQC2FVieDd7tQ= github.com/networkservicemesh/api v1.1.2-0.20220119092736-21eda250c390/go.mod h1:B6meq/SWjWR6bGXZdXPfbOeaBK+T1JayLdtEJQCsXKU= -github.com/networkservicemesh/sdk v0.5.1-0.20220124073803-419fa7053a1a h1:VSV85CiW9+IJUPHN58GliNlcYuVldW+lts4fLkna+/o= -github.com/networkservicemesh/sdk v0.5.1-0.20220124073803-419fa7053a1a/go.mod h1:u3HgGqMae6MFZ//JRrN8CkEJ7pwr+CWBG7cvHymhHDY= -github.com/networkservicemesh/sdk-k8s v0.0.0-20220124074814-0dce7bf22573 h1:eaq8W/oZuEhanEBh/rB2cA+9Gk8UePLla10XIoxjAbU= -github.com/networkservicemesh/sdk-k8s v0.0.0-20220124074814-0dce7bf22573/go.mod h1:h3TCpkyiaq8aMWXkWf4jf3g6v23vFSRhKCE57JNJx1E= -github.com/networkservicemesh/sdk-kernel v0.0.0-20220125053613-63d40e5ccf8a h1:ozbMmCsDSKJtOZj6gWAOgLDOvpyNpNVkzfdP3k3gu+E= -github.com/networkservicemesh/sdk-kernel v0.0.0-20220125053613-63d40e5ccf8a/go.mod h1:DvBiFXiN7umMQISiuU2L1XChqqIYE43lgoeDXflJTRk= -github.com/networkservicemesh/sdk-sriov v0.0.0-20220125054043-82a6836ef9b8 h1:wFKI5b4VnAHV61SinOZr7JQ6FsmM2fuSIYOBK7Pg76A= -github.com/networkservicemesh/sdk-sriov v0.0.0-20220125054043-82a6836ef9b8/go.mod h1:aSNvpj40fMb46eKWBBZ9nPFiuaGH5GwdNer9WbwSLdA= +github.com/networkservicemesh/sdk v0.5.1-0.20220126193800-17ea214c7fec h1:fmJz1kfI3+KTElNIjNUyIFB+Ype4+JeT/6U1OPp9O/Q= +github.com/networkservicemesh/sdk v0.5.1-0.20220126193800-17ea214c7fec/go.mod h1:u3HgGqMae6MFZ//JRrN8CkEJ7pwr+CWBG7cvHymhHDY= +github.com/networkservicemesh/sdk-k8s v0.0.0-20220126203132-0cd73d38680a h1:xCQ6RgImKQxMrGs+6E8Mxd7o1mtHx+0f6c8WvPMr3lA= +github.com/networkservicemesh/sdk-k8s v0.0.0-20220126203132-0cd73d38680a/go.mod h1:5rBPdF8d5g6eiHcnK7Fx44b85v9qCew8b4bA1DEkxp0= +github.com/networkservicemesh/sdk-kernel v0.0.0-20220126194043-33b06882fd2e h1:SKVvAViEuEfBY8cX0pj05ELhNo+C2iZUTWmpmYpzc/4= +github.com/networkservicemesh/sdk-kernel v0.0.0-20220126194043-33b06882fd2e/go.mod h1:CLhgoibL/XEnLKQ94ah7r6YUqSZfXm9LYAPdROKS4ro= +github.com/networkservicemesh/sdk-sriov v0.0.0-20220126211306-44ea01b078a0 h1:l2SEKtac/0yFMM2qC6D8b3kR4ljvmQXd7AUenz5CACc= +github.com/networkservicemesh/sdk-sriov v0.0.0-20220126211306-44ea01b078a0/go.mod h1:g5tVP0gyhKMdnYmlUI/qv80E6ya2q2NKhirblZQ9Ihg= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= diff --git a/internal/imports/imports_linux.go b/internal/imports/imports_linux.go index 85e7b677..05d4f871 100644 --- a/internal/imports/imports_linux.go +++ b/internal/imports/imports_linux.go @@ -22,6 +22,7 @@ import ( _ "github.com/networkservicemesh/sdk-sriov/pkg/tools/tokens" _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/authorize" _ "github.com/networkservicemesh/sdk/pkg/registry/chains/client" + _ "github.com/networkservicemesh/sdk/pkg/registry/common/begin" _ "github.com/networkservicemesh/sdk/pkg/registry/common/expire" _ "github.com/networkservicemesh/sdk/pkg/registry/common/memory" _ "github.com/networkservicemesh/sdk/pkg/registry/common/recvfd" diff --git a/suite_setup_test.go b/suite_setup_test.go index d4a9ba0f..9b7c4fa2 100644 --- a/suite_setup_test.go +++ b/suite_setup_test.go @@ -1,6 +1,6 @@ -// Copyright (c) 2020 Cisco and/or its affiliates. +// Copyright (c) 2020-2022 Cisco and/or its affiliates. // -// Copyright (c) 2020-2021 Doc.ai and/or its affiliates. +// Copyright (c) 2020-2022 Doc.ai and/or its affiliates. // // SPDX-License-Identifier: Apache-2.0 // @@ -40,6 +40,7 @@ import ( "github.com/networkservicemesh/sdk-k8s/pkg/tools/k8stest/deviceplugin" "github.com/networkservicemesh/sdk-k8s/pkg/tools/k8stest/podresources" "github.com/networkservicemesh/sdk-k8s/pkg/tools/socketpath" + "github.com/networkservicemesh/sdk/pkg/registry/common/begin" "github.com/networkservicemesh/sdk/pkg/registry/common/expire" "github.com/networkservicemesh/sdk/pkg/registry/common/memory" registryrecvfd "github.com/networkservicemesh/sdk/pkg/registry/common/recvfd" @@ -127,6 +128,7 @@ func (f *ForwarderTestSuite) SetupSuite() { // ******************************************************************************** memrg := memory.NewNetworkServiceEndpointRegistryServer() registryServer := registrychain.NewNetworkServiceEndpointRegistryServer( + begin.NewNetworkServiceEndpointRegistryServer(), expire.NewNetworkServiceEndpointRegistryServer(f.ctx, 24*time.Hour), registryrecvfd.NewNetworkServiceEndpointRegistryServer(), memrg,