From 33bae7053f4383a55f6bdb3346fabf9c8a8258c6 Mon Sep 17 00:00:00 2001 From: Archana Shinde Date: Mon, 8 Apr 2019 12:04:11 -0700 Subject: [PATCH 1/2] network: Make tcfilter model as default tcfilter requires no changes to the interface provided by the network plugin and supports a larger set of plugins. Fixes #1501 Signed-off-by: Archana Shinde --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0f802e3fb0..072aca5483 100644 --- a/Makefile +++ b/Makefile @@ -210,7 +210,7 @@ ifneq (,$(QEMUCMD)) # qemu-specific options (all should be suffixed by "_QEMU") DEFBLOCKSTORAGEDRIVER_QEMU := virtio-scsi - DEFNETWORKMODEL_QEMU := macvtap + DEFNETWORKMODEL_QEMU := tcfilter KERNELNAME_QEMU = $(call MAKE_KERNEL_NAME,$(KERNELTYPE)) KERNELPATH_QEMU = $(KERNELDIR)/$(KERNELNAME_QEMU) endif From 385268226f0e8f7785c779c043106961114ccc3d Mon Sep 17 00:00:00 2001 From: Archana Shinde Date: Fri, 12 Apr 2019 11:43:20 -0700 Subject: [PATCH 2/2] network: Change the package level network default Change the package level default network model to tcfilter. Signed-off-by: Archana Shinde --- virtcontainers/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtcontainers/network.go b/virtcontainers/network.go index eb766bf67e..511a18ca35 100644 --- a/virtcontainers/network.go +++ b/virtcontainers/network.go @@ -112,7 +112,7 @@ func (n *NetInterworkingModel) SetModel(modelName string) error { // DefaultNetInterworkingModel is a package level default // that determines how the VM should be connected to the // the container network interface -var DefaultNetInterworkingModel = NetXConnectMacVtapModel +var DefaultNetInterworkingModel = NetXConnectTCFilterModel // Introduces constants related to networking const (