automation-tests/common/libnetwork/cni
Toshiki Sonoda 32716085ac libnetwork: add NetworkInfo() for get network information
NetworkInfo() return the network binary path, package version,
program version and DNS information.

Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
2023-05-16 14:20:45 +09:00
..
testfiles libnetwork/cni: add isolate option 2022-07-07 16:26:11 +02:00
README.md add libnetwork package 2021-12-16 19:07:38 +01:00
cni_conversion.go libnetwork/cni: mkdir network config dir 2023-01-17 14:56:47 +01:00
cni_exec.go Build libnetwork/cni on FreeBSD 2022-05-14 10:55:32 +01:00
cni_suite_test.go Switch to ginkgo/v2 2022-03-30 10:03:17 +02:00
cni_types.go libnetwork/cni: fix panic with ipam driver none 2022-12-05 17:55:03 +01:00
config.go Closes #15830 Support docker-specific network create options via CLI 2023-02-10 21:51:48 +05:30
config_freebsd.go Build libnetwork/cni on FreeBSD 2022-05-14 10:55:32 +01:00
config_linux.go Build libnetwork/cni on FreeBSD 2022-05-14 10:55:32 +01:00
config_test.go Closes #15830 Support docker-specific network create options via CLI 2023-02-10 21:51:48 +05:30
network.go libnetwork: add NetworkInfo() for get network information 2023-05-16 14:20:45 +09:00
run.go Switch to golang native error wrapping 2022-07-12 10:54:07 +02:00
run_freebsd.go Build libnetwork/cni on FreeBSD 2022-05-14 10:55:32 +01:00
run_linux.go Build libnetwork/cni on FreeBSD 2022-05-14 10:55:32 +01:00
run_test.go pkg/netns: UnmountNS() accept netns path as string 2022-12-07 14:53:47 +01: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.