mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-04-27 11:22:24 +00:00
Adds a test for plain subdirectory chaining and also using passthru CNI with auxiliaryCNIChainName |
||
---|---|---|
.. | ||
templates | ||
generate_yamls.sh | ||
get_tools.sh | ||
README.md | ||
sed_generate_yaml.sh | ||
setup_cluster.sh | ||
simple-static-pod.yml | ||
static-pod-nad.yml | ||
teardown.sh | ||
test-default-route1.sh | ||
test-dra-integration.sh | ||
test-simple-macvlan1.sh | ||
test-simple-pod.sh | ||
test-static-pod.sh | ||
test-subdirectory-chaining-passthru.sh | ||
test-subdirectory-chaining.sh |
Multus e2e test with kind
Prerequisite
To run the e2e test, you need the following components:
- curl
- jinjanator (optional)
- docker
How to test e2e
$ git clone https://github.com/k8snetworkplumbingwg/multus-cni.git
$ cd multus-cni/e2e
$ ./get_tools.sh
If you have jinjanator
you can generate the YAML with:
$ ./generate_yamls.sh
Alternatively, if you have trouble with it, use the sed
script.
$ ./e2e/sed_generate_yaml.sh
Then, setup the cluster
$ ./setup_cluster.sh
$ ./test-simple-macvlan1.sh
How to teardown cluster
$ ./teardown.sh