Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
config: Set default internetworking model to tcfilter
Browse files Browse the repository at this point in the history
tc filtering handles network connect much more cleanly
without the need to reprogram the network interface provided
by the network plugin.
It also makes it possible to support ipvlan.
Hence make this as the default.

bridged mode should be eventually deprecated.

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
  • Loading branch information
amshinde committed Oct 17, 2018
1 parent 0167d0a commit 2e26a2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ DEFMEMSLOTS := 10
#Default number of bridges
DEFBRIDGES := 1
#Default network model
DEFNETWORKMODEL := macvtap
DEFNETWORKMODEL := tcfilter
#Default entropy source
DEFENTROPYSOURCE := /dev/urandom

Expand Down
7 changes: 7 additions & 0 deletions cli/config/configuration.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,13 @@ path = "@NETMONPATH@"
# - macvtap
# Used when the Container network interface can be bridged using
# macvtap.
#
# - tcfilter
# Uses tc filter rules to redirect traffic from the network interface
# provided by plugin to a tap interface connected to the VM.
# Supports ipvlan.
#
# default model has been set to tcfilter.
internetworking_model="@DEFNETWORKMODEL@"

# If enabled, the runtime will create opentracing.io traces and spans.
Expand Down

0 comments on commit 2e26a2b

Please sign in to comment.