summaryrefslogtreecommitdiff
path: root/libpod/network/cni/README.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-08-24 10:30:11 -0400
committerGitHub <noreply@github.com>2021-08-24 10:30:11 -0400
commite9daaf62e3921b8c696f3abd92f001a9447c8aa1 (patch)
treeea500d48f28682ad36f6eb4954717c6629fb68b4 /libpod/network/cni/README.md
parente20ec47a59b4ac65d42f3fee7b8b7ec5760ea35d (diff)
parentc0b1edd6a4dcad2b89a01975988d186b21b3158e (diff)
downloadpodman-e9daaf62e3921b8c696f3abd92f001a9447c8aa1.tar.gz
podman-e9daaf62e3921b8c696f3abd92f001a9447c8aa1.tar.bz2
podman-e9daaf62e3921b8c696f3abd92f001a9447c8aa1.zip
Merge pull request #11232 from Luap99/network
Network interface
Diffstat (limited to 'libpod/network/cni/README.md')
-rw-r--r--libpod/network/cni/README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/libpod/network/cni/README.md b/libpod/network/cni/README.md
new file mode 100644
index 000000000..6f57feff5
--- /dev/null
+++ b/libpod/network/cni/README.md
@@ -0,0 +1,10 @@
+This package abstracts CNI from libpod.
+It implements the `ContainerNetwork` interface defined in [libpod/network/types/network.go](../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.