Skip to content

Commit

Permalink
Merge pull request #725 from mmirecki/tapdevices
Browse files Browse the repository at this point in the history
cnf-tests: add tap device tests
  • Loading branch information
openshift-merge-robot authored Dec 8, 2021
2 parents a9fdee7 + 89c9ddd commit 441b1f0
Show file tree
Hide file tree
Showing 16 changed files with 494 additions and 156 deletions.
3 changes: 3 additions & 0 deletions cnf-tests/TESTLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ The cnf tests instrument each different feature required by CNF. Following, a de
| dpdk VFS split for dpdk and netdevice Run a regular pod using a vf shared with the dpdk's pf | Verifies that a regular pod can run while sharing vfs with a pod using a vf for dpdk payload |
| dpdk VFS split for dpdk and netdevice should forward and receive packets from a pod running dpdk base | Verifies that the testpmd application inside a pod is able to receive and send packets, when the pf is shared between regular netdevice pods and dpdk pods. |
| dpdk restoring configuration should restore the cluster to the original status | Verifies that the cluster state is restored after running the dpdk tests. |
| dpdk vhostnet Client should be able to forward packets Should be able to transmit packets | Verifies packets can be sent to a tap device |
| dpdk vhostnet Server should be able to receive packets and forward to tap device Should be able to transmit packets | Verifies packets can be forewarded to a tap device |

## SR-IOV

Expand All @@ -93,6 +95,7 @@ The cnf tests instrument each different feature required by CNF. Following, a de
| [sriov] operator Custom SriovNetworkNodePolicy Nic Validation Test connectivity using the requested nic Intel Corporation Ethernet Controller XXV710 for 25GbE SFP28 | Optional test to assert that 25GbE SFP28 works for networking |
| [sriov] operator Custom SriovNetworkNodePolicy Resource Injector SR-IOV Operator Config, disable Network resource injector | Verifies that by disabling the network resource injector in the config, the injector is really disabled. |
| [sriov] operator Custom SriovNetworkNodePolicy Resource Injector SR-IOV Operator Config, disable Webhook resource injector | Verifies that by disabling the mutating webhook in the config, the webhook is really disabled. |
| [sriov] operator Custom SriovNetworkNodePolicy vhost-net and tun devices Validation Should have the vhost-net device inside the container | Verifies the vhost-net device is inside the container |
| [sriov] operator Generic SriovNetworkNodePolicy IPv6 configured secondary interfaces on pods should be able to ping each other | Connectivity test via icmp for two ipv6 configured interfaces. |
| [sriov] operator Generic SriovNetworkNodePolicy Meta Plugin Configuration Should be able to configure a metaplugin | Verifies that it's possible to configure a metaplugin in chain with the sriov CNI plugin |
| [sriov] operator Generic SriovNetworkNodePolicy Multiple sriov device and attachment Should configure multiple network attachments | Checks that when adding multiple networks to the pod, multiple interfaces are created inside the pod. |
Expand Down
3 changes: 3 additions & 0 deletions cnf-tests/docgen/e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"[sriov] operator Custom SriovNetworkNodePolicy Nic Validation Test connectivity using the requested nic Intel Corporation Ethernet Controller XXV710 for 25GbE SFP28": "Optional test to assert that 25GbE SFP28 works for networking",
"[sriov] operator Custom SriovNetworkNodePolicy Resource Injector SR-IOV Operator Config, disable Network resource injector": "Verifies that by disabling the network resource injector in the config, the injector is really disabled.",
"[sriov] operator Custom SriovNetworkNodePolicy Resource Injector SR-IOV Operator Config, disable Webhook resource injector": "Verifies that by disabling the mutating webhook in the config, the webhook is really disabled.",
"[sriov] operator Custom SriovNetworkNodePolicy vhost-net and tun devices Validation Should have the vhost-net device inside the container": "Verifies the vhost-net device is inside the container",
"[sriov] operator Generic SriovNetworkNodePolicy IPv6 configured secondary interfaces on pods should be able to ping each other": "Connectivity test via icmp for two ipv6 configured interfaces.",
"[sriov] operator Generic SriovNetworkNodePolicy Meta Plugin Configuration Should be able to configure a metaplugin": "Verifies that it's possible to configure a metaplugin in chain with the sriov CNI plugin",
"[sriov] operator Generic SriovNetworkNodePolicy Multiple sriov device and attachment Should configure multiple network attachments": "Checks that when adding multiple networks to the pod, multiple interfaces are created inside the pod.",
Expand All @@ -100,6 +101,8 @@
"dpdk VFS split for dpdk and netdevice Run a regular pod using a vf shared with the dpdk's pf": "Verifies that a regular pod can run while sharing vfs with a pod using a vf for dpdk payload",
"dpdk VFS split for dpdk and netdevice should forward and receive packets from a pod running dpdk base": "Verifies that the testpmd application inside a pod is able to receive and send packets, when the pf is shared between regular netdevice pods and dpdk pods.",
"dpdk restoring configuration should restore the cluster to the original status": "Verifies that the cluster state is restored after running the dpdk tests.",
"dpdk vhostnet Client should be able to forward packets Should be able to transmit packets": "Verifies packets can be sent to a tap device",
"dpdk vhostnet Server should be able to receive packets and forward to tap device Should be able to transmit packets": "Verifies packets can be forewarded to a tap device",
"fec Expose resource on the node should show resources under the node": "Verifies that the sriov-fec operator is able to create and expose virtual functions from the acc100 accelerator card",
"gatekeeper mutation should apply mutations by order": "Verifies that gatekeeper mutations are applied by order",
"gatekeeper mutation should avoid mutating existing metadata info(labels/annotations)": "Verifies that gatekeeper will not mutate an objects label/annotation if it already exists",
Expand Down
Loading

0 comments on commit 441b1f0

Please sign in to comment.