summaryrefslogtreecommitdiff
path: root/libpod/network/netconflist.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-24 18:48:32 +0100
committerGitHub <noreply@github.com>2020-11-24 18:48:32 +0100
commit850bdd236ad3047695a479e1fa174267eb6f1825 (patch)
treec7107aa13094207ff73eef3abd5a428141641014 /libpod/network/netconflist.go
parent4ebd9d9191606319f618d6e7e552256c07fff2c4 (diff)
parent9602e290de75bdd7fb5b42f6d36069dd19271735 (diff)
downloadpodman-850bdd236ad3047695a479e1fa174267eb6f1825.tar.gz
podman-850bdd236ad3047695a479e1fa174267eb6f1825.tar.bz2
podman-850bdd236ad3047695a479e1fa174267eb6f1825.zip
Merge pull request #8467 from Luap99/fix-mac-custom-net
Fix custom mac address with a custom cni network
Diffstat (limited to 'libpod/network/netconflist.go')
-rw-r--r--libpod/network/netconflist.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpod/network/netconflist.go b/libpod/network/netconflist.go
index 111f1715c..ee9adce14 100644
--- a/libpod/network/netconflist.go
+++ b/libpod/network/netconflist.go
@@ -119,6 +119,13 @@ func NewFirewallPlugin() FirewallConfig {
}
}
+// NewTuningPlugin creates a generic tuning section
+func NewTuningPlugin() TuningConfig {
+ return TuningConfig{
+ PluginType: "tuning",
+ }
+}
+
// NewDNSNamePlugin creates the dnsname config with a given
// domainname
func NewDNSNamePlugin(domainName string) DNSNameConfig {