From f6840c9a01b04d72b875a9b821fc9cdeb31812aa Mon Sep 17 00:00:00 2001 From: NikitaSkrynnik Date: Wed, 27 Nov 2024 11:22:15 +1100 Subject: [PATCH] fix CI issues Signed-off-by: NikitaSkrynnik --- README.md | 3 +++ internal/imports/imports_linux.go | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0ec69a6..843f4c5 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,9 @@ docker build . * `NSM_LOG_LEVEL` - Log level (default: "INFO") * `NSM_PPROF_ENABLED` - is pprof enabled (default: "false") * `NSM_PPROF_LISTEN_ON` - pprof URL to ListenAndServe (default: "localhost:6060") +* `NSM_LIVENESS_CHECK_ENABLED` - Dataplane liveness check enabled/disabled (default: "true") +* `NSM_LIVENESS_CHECK_INTERVAL` - Dataplane liveness check interval (default: "1200ms") +* `NSM_LIVENESS_CHECK_TIMEOUT` - Dataplane liveness check timeout (default: "1s") # Testing diff --git a/internal/imports/imports_linux.go b/internal/imports/imports_linux.go index 3d7b7a3..43d1229 100644 --- a/internal/imports/imports_linux.go +++ b/internal/imports/imports_linux.go @@ -21,17 +21,18 @@ import ( _ "github.com/networkservicemesh/sdk-vpp/pkg/networkservice/tag" _ "github.com/networkservicemesh/sdk-vpp/pkg/networkservice/up" _ "github.com/networkservicemesh/sdk-vpp/pkg/networkservice/vrf" + _ "github.com/networkservicemesh/sdk-vpp/pkg/tools/heal" _ "github.com/networkservicemesh/sdk/pkg/ipam/strictvl3ipam" _ "github.com/networkservicemesh/sdk/pkg/networkservice/chains/client" _ "github.com/networkservicemesh/sdk/pkg/networkservice/chains/endpoint" _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/authorize" + _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/begin" _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/clientinfo" _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/heal" _ "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" _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/onidle" _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/retry" _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/upstreamrefresh"