diff options
author | Maciek Konstantynowicz <mkonstan@cisco.com> | 2018-08-14 17:30:45 +0100 |
---|---|---|
committer | Maciek Konstantynowicz <mkonstan@cisco.com> | 2018-08-15 09:28:21 +0000 |
commit | c2ce046f71f7de1f247be68513e3d4e10c8c2a04 (patch) | |
tree | e423174aad9f7d92ad79bad6831bb070331ad6b3 /docs/report/dmm_functional_tests | |
parent | 2c55fe4a2d74352090b64118858a3557e197aeee (diff) |
1807 report: updated virtual topologies for all functional tests.
Change-Id: I3053c7a9733ca7c03df993698472ad8d031dba96
Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
Diffstat (limited to 'docs/report/dmm_functional_tests')
-rw-r--r-- | docs/report/dmm_functional_tests/overview.rst | 80 |
1 files changed, 34 insertions, 46 deletions
diff --git a/docs/report/dmm_functional_tests/overview.rst b/docs/report/dmm_functional_tests/overview.rst index d30398a282..aa9e853817 100644 --- a/docs/report/dmm_functional_tests/overview.rst +++ b/docs/report/dmm_functional_tests/overview.rst @@ -4,20 +4,13 @@ Overview Virtual Topologies ------------------ -CSIT DMM functional tests are executed on virtualized topologies created using -:abbr:`VIRL (Virtual Internet Routing Lab)` simulation platform contributed by -Cisco. VIRL runs on physical baremetal servers hosted by LF FD.io project. -Based on the packet path through server SUTs, one logical topology type -is used for DMM DUT data plane testing: +CSIT DMM functional tests are executed in VM-based virtual topologies +created on demand using :abbr:`VIRL (Virtual Internet Routing Lab)` +simulation platform contributed by Cisco. VIRL runs on physical +baremetal servers hosted by LF FD.io project. -#. NIC-to-NIC switching topologies. - -NIC-to-NIC Switching -~~~~~~~~~~~~~~~~~~~~ - -The simplest logical topology for software data plane application like -DMM is NIC-to-NIC switching. Tested topologies for the 3-Node -testbed is shown in the figure below. +All tests are executed in three-node virtual test topology shown in the +figure below. .. only:: latex @@ -25,42 +18,37 @@ testbed is shown in the figure below. \begin{figure}[H] \centering - \graphicspath{{../_tmp/src/vpp_performance_tests/}} - \includegraphics[width=0.90\textwidth]{logical-3n-nic2nic} - \label{fig:logical-3n-nic2nic} + \graphicspath{{../_tmp/src/vpp_functional_tests/}} + \includegraphics[width=0.90\textwidth]{virtual-3n-nic2nic} + \label{fig:virtual-3n-nic2nic} \end{figure} .. only:: html - .. figure:: ../vpp_performance_tests/logical-3n-nic2nic.svg - :alt: logical-3n-nic2nic + .. figure:: ../vpp_functional_tests/virtual-3n-nic2nic.svg + :alt: virtual-3n-nic2nic :align: center -SUT1 and SUT2 are two VMs (Ubuntu), TG -is a Traffic Generator (TG, another Ubuntu VM). SUTs run sample server-client -application using the DMM libs in Linux user-mode as a Device Under Test (DUT) -within the VM. Currently TG node is not being used in DMM-CSIT. Logical -connectivity between SUTs is provided using virtual NICs using VMs' virtio -driver. - -Virtual testbeds are created on-demand whenever a verification job is started -(e.g. triggered by the gerrit patch submission) and destroyed upon completion -of all functional tests. Each node is a Virtual Machine and each connection -that is drawn on the diagram is available for use in any test case. During the -test execution, all nodes are reachable through the Management network connected -to every node via dedicated virtual NICs and virtual links (not shown above -for clarity). - -DMM Functional Tests Coverage ------------------------------ - -Following DMM functional test areas are covered in the |csit-release| with -results listed in this report: - -- **DMM basic testcase** - DMM has only one test case right now. - The testcase demonstrates single server[DUT1] and single client[DUT2] scenario - using DMM framework and kernel tcp/ip stack. - - - Test case count: 1 - -Total 1 DMM functional test in the |csit-release|. +SUT1 and SUT2 are two VMs (running Ubuntu), TG is a Traffic Generator VM +(running Ubuntu). SUTs run +sample server-client application using the DMM libraries in Linux user- +mode as a Device Under Test (DUT) within the VM. Currently TG node is +not being used in DMM-CSIT. Network connectivity between SUTs and to TG +is provided using virtual NICs and VMs' virtio drivers. + +Functional Tests Coverage +------------------------- + +|csit-release| includes following DMM functionality tested in virtual VM +environment: + ++-----------------------+----------------------------------------------+ +| Functionality | Description | ++=======================+==============================================+ +| DMM basic operation | DMM has only one test case right now. The | +| | testcase demonstrates single server[DUT1] | +| | and single client[DUT2] scenario using DMM | +| | framework and kernel tcp/ip stack. | +| | | +| | Test case count: 1. | ++-----------------------+----------------------------------------------+ |