summaryrefslogtreecommitdiff
path: root/libpod/network/cni/network.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2021-09-16 14:51:51 +0200
committerPaul Holzinger <pholzing@redhat.com>2021-09-16 15:37:34 +0200
commitaee0ab98cd3e3b552ac6eb0e7534a9f548b3109f (patch)
treebbc5d8969a4c612d17d60c7b4128773af5b63328 /libpod/network/cni/network.go
parentc20f61148cfc7c51f72bf266e154d1903db68c6a (diff)
downloadpodman-aee0ab98cd3e3b552ac6eb0e7534a9f548b3109f.tar.gz
podman-aee0ab98cd3e3b552ac6eb0e7534a9f548b3109f.tar.bz2
podman-aee0ab98cd3e3b552ac6eb0e7534a9f548b3109f.zip
CNI: add ipvlan driver
Add support for the ipvlan cni plugin. This allows us to create, inspect and list ipvlan networks correctly. Fixes #10478 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'libpod/network/cni/network.go')
-rw-r--r--libpod/network/cni/network.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/network/cni/network.go b/libpod/network/cni/network.go
index 46e07f780..d77e63a5d 100644
--- a/libpod/network/cni/network.go
+++ b/libpod/network/cni/network.go
@@ -109,7 +109,7 @@ func NewCNINetworkInterface(conf InitConfig) (types.ContainerNetwork, error) {
// Drivers will return the list of supported network drivers
// for this interface.
func (n *cniNetwork) Drivers() []string {
- return []string{types.BridgeNetworkDriver, types.MacVLANNetworkDriver}
+ return []string{types.BridgeNetworkDriver, types.MacVLANNetworkDriver, types.IPVLANNetworkDriver}
}
func (n *cniNetwork) loadNetworks() error {