podman/libpod/network/cni
Paul Holzinger aee0ab98cd
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>
2021-09-16 15:37:34 +02:00
..
testfiles Network interface 2021-08-24 12:28:03 +02:00
README.md Network interface 2021-08-24 12:28:03 +02:00
cni_conversion.go CNI: add ipvlan driver 2021-09-16 15:37:34 +02:00
cni_exec.go Globally replace http:// with https:// 2021-08-27 06:14:46 -04:00
cni_suite_test.go Network interface 2021-08-24 12:28:03 +02:00
cni_types.go CNI: add ipvlan driver 2021-09-16 15:37:34 +02:00
config.go CNI: add ipvlan driver 2021-09-16 15:37:34 +02:00
config_test.go CNI: add ipvlan driver 2021-09-16 15:37:34 +02:00
network.go CNI: add ipvlan driver 2021-09-16 15:37:34 +02:00
run.go Wire network interface into libpod 2021-09-15 20:00:20 +02:00
run_test.go default network: do not validate the used subnets 2021-09-15 18:05:26 +02:00

README.md

This package abstracts CNI from libpod. It implements the ContainerNetwork interface defined in libpod/network/types/network.go for the CNI backend.

Testing

Run the tests with:

go test -v -mod=vendor -cover ./libpod/network/cni/

Run the tests as root to also test setup/teardown. This will execute CNI and therefore the cni plugins have to be installed.