Download presentation
Presentation is loading. Please wait.
Published byAugust Peters Modified over 8 years ago
1
© 2014 VMware Inc. All rights reserved. OVS Kernel testing Joe Stringer, Andy Zhou {joe,azhou}@ovn.org OVScon 2015-11-171 Dive in, Try it out! # $EDITOR tests/system-traffic.at # make check-kernel
2
User space unit testing Current unit testing framework – Based on AutoTest framework – Currently has ~1718 tests – Good coverage for OVS user space features – Experience of a good test framework Fast Repeatable Easy to write and troubleshoot 2OVScon 2015-11-17
3
Expanding datapath testing Until recently, OVS testing has been userspace-only – Pretend user/kernel datapaths are the same – Rely on out of band datapath testing So, we started building out a kernel datapath testsuite – Kernel datapath is getting more complex – Philosophy: Any testing is better than no testing – First major user: Connection tracking 3OVScon 2015-11-17
4
OVS kernel test topology 4OVScon 2015-11-17 Kernel OVS Network Namespace Network Namespace Network Namespace Network Namespace veth pair Virtual Machine
5
Connection Tracking Example 5OVScon 2015-11-17 Kernel OVS + Conntrack Flows Wget HTTP/FTP Client Wget HTTP/FTP Client tests/test-l7.py HTTP/FTP Server tests/test-l7.py HTTP/FTP Server
6
Suggestions? Patches? Improve testing infrastructure Vagrant boxes for testing Kernel compatibility Dealing with kernel crashes Integration with CI tools Expanding to system tests Interactions between features DPDK datapath testing Performance testing Scale testing 6OVScon 2015-11-17
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.