Skip to content

Commit

Permalink
Merge pull request #10648 from kubevirt-bot/cherry-pick-10557-to-rele…
Browse files Browse the repository at this point in the history
…ase-1.1

[release-1.1] net, setup: Integrate the unplug flow through netpod (and nmstate)
  • Loading branch information
kubevirt-bot committed Nov 2, 2023
2 parents 0c43030 + 576101a commit e8e638e
Show file tree
Hide file tree
Showing 17 changed files with 805 additions and 862 deletions.
7 changes: 0 additions & 7 deletions pkg/network/setup/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"configstate.go",
"configstatecache.go",
"netconf.go",
"netstat.go",
"network.go",
"podnic.go",
"unpluggedpodnic.go",
],
importpath = "kubevirt.io/kubevirt/pkg/network/setup",
visibility = ["//visibility:public"],
Expand All @@ -32,23 +30,19 @@ go_library(
"//staging/src/kubevirt.io/api/core/v1:go_default_library",
"//staging/src/kubevirt.io/client-go/log:go_default_library",
"//staging/src/kubevirt.io/client-go/precond:go_default_library",
"//vendor/github.com/vishvananda/netlink:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/util/errors:go_default_library",
],
)

go_test(
name = "go_default_test",
srcs = [
"configstate_test.go",
"configstatecache_test.go",
"netconf_test.go",
"netstat_test.go",
"network_suite_test.go",
"network_test.go",
"podnic_test.go",
"unpluggedpodnic_test.go",
],
embed = [":go_default_library"],
deps = [
Expand All @@ -68,7 +62,6 @@ go_test(
"//vendor/github.com/golang/mock/gomock:go_default_library",
"//vendor/github.com/onsi/ginkgo/v2:go_default_library",
"//vendor/github.com/onsi/gomega:go_default_library",
"//vendor/github.com/vishvananda/netlink:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
],
)
88 changes: 0 additions & 88 deletions pkg/network/setup/configstate.go

This file was deleted.

163 changes: 0 additions & 163 deletions pkg/network/setup/configstate_test.go

This file was deleted.

0 comments on commit e8e638e

Please sign in to comment.