rls1807 report: added section logical topologies in ../vpp_performance_tests/overview...
[csit.git] / docs / tag_documentation.rst
index 7c6cc47..9800197 100644 (file)
@@ -1,8 +1,10 @@
 CSIT TAGs Descriptions
 ======================
 
 CSIT TAGs Descriptions
 ======================
 
-Documentation for tags used to select and identify test cases.
-
+All CSIT test cases are labelled with Robot Framework tags used to allow for
+easy test case type identification, test case grouping and selection for
+execution. Following sections list currently used CSIT TAGs and their
+documentation.
 
 Topology TAGs
 -------------
 
 Topology TAGs
 -------------
@@ -17,7 +19,6 @@ Topology TAGs
     3 nodes connected in a circular topology with at least one link
     interconnecting devices.
 
     3 nodes connected in a circular topology with at least one link
     interconnecting devices.
 
-
 Objective TAGs
 --------------
 
 Objective TAGs
 --------------
 
@@ -30,7 +31,6 @@ Objective TAGs
 
     Test case(s) marked to not run in case of vpp-csit-verify (i.e. VPP patch).
 
 
     Test case(s) marked to not run in case of vpp-csit-verify (i.e. VPP patch).
 
-
 Environment TAGs
 ----------------
 
 Environment TAGs
 ----------------
 
@@ -46,7 +46,6 @@ Environment TAGs
 
     DUTs with VPP and capable of running Virtual Machine.
 
 
     DUTs with VPP and capable of running Virtual Machine.
 
-
 NIC model tags
 --------------
 
 NIC model tags
 --------------
 
@@ -70,7 +69,6 @@ NIC model tags
 
     VIC-1385 by Cisco.
 
 
     VIC-1385 by Cisco.
 
-
 Scaling TAGs
 ------------
 
 Scaling TAGs
 ------------
 
@@ -110,6 +108,20 @@ Scaling TAGs
 
     Traffic flow with 4000 unique IPs (users) in one direction.
 
 
     Traffic flow with 4000 unique IPs (users) in one direction.
 
+.. topic:: 100_FLOWS
+
+    Traffic stream with 100 unique flows (10 IPs/users x 10 UDP ports) in one
+    direction.
+
+.. topic:: 10k_FLOWS
+
+    Traffic stream with 10 000 unique flows (10 IPs/users x 1000 UDP ports) in
+    one direction.
+
+.. topic:: 100k_FLOWS
+
+    Traffic stream with 100 000 unique flows (100 IPs/users x 1000 UDP ports) in
+    one direction.
 
 Tags marking functional vs. performance of tests
 ------------------------------------------------
 
 Tags marking functional vs. performance of tests
 ------------------------------------------------
@@ -122,7 +134,6 @@ Tags marking functional vs. performance of tests
 
     All performance test cases.
 
 
     All performance test cases.
 
-
 Performance testing tags
 ------------------------
 
 Performance testing tags
 ------------------------
 
@@ -136,14 +147,30 @@ Performance testing tags
     Non Drop Rate evaluation of results. Loss acceptance of dropped packets is
     set to zero lost packets.
 
     Non Drop Rate evaluation of results. Loss acceptance of dropped packets is
     set to zero lost packets.
 
+.. topic:: NDRPDR
+
+    Single test finding both No Drop Rate and Partial Drop Rate simultaneously.
+    The search is done by optimized algorithm which performs
+    multiple trial runs at different durations and transmit rates.
+
 .. topic:: NDRCHK
 
     Performance tests where TG verifies DUTs' throughput at ref-NDR (reference
     Non Drop Rate) with zero packet loss tolerance.
 
 .. topic:: NDRCHK
 
     Performance tests where TG verifies DUTs' throughput at ref-NDR (reference
     Non Drop Rate) with zero packet loss tolerance.
 
+.. topic:: PDRCHK
+
+    Performance tests where TG verifies DUTs' throughput at ref-PDR (reference
+    Partial Drop Rate) with 0.5% loss tolerance.
+
+.. topic:: MRR
+
+    Performance tests where TG sends the traffic at maximum rate (line rate)
+    and reports total sent/received packets over performance trial duration.
+
 .. topic:: NDRPDRDISC
 
 .. topic:: NDRPDRDISC
 
-    Find performance of DUT based on RFC2544 with linear / binary / combined
+    Find performance of DUT based on :rfc:`2544` with linear / binary / combined
     search. (Previous LONG tests.)
 
 Ethernet frame size tags for performance tests
     search. (Previous LONG tests.)
 
 Ethernet frame size tags for performance tests
@@ -221,9 +248,24 @@ Test type tags
     At least one feature is configured in test cases. Use also feature tag(s).
 
 .. topic:: TLDK
     At least one feature is configured in test cases. Use also feature tag(s).
 
 .. topic:: TLDK
-    
+
     Functional test cases for TLDK.
 
     Functional test cases for TLDK.
 
+.. topic:: TCP
+
+    Tests which use TCP.
+
+.. topic:: TCP_CPS
+
+    Performance tests which measure connections per second using http requests.
+
+.. topic:: TCP_RPS
+
+    Performance tests which measure requests per second using http requests.
+
+.. topic:: HTTP
+
+    Tests which use HTTP.
 
 Forwarding mode tags
 --------------------
 
 Forwarding mode tags
 --------------------
@@ -248,7 +290,6 @@ Forwarding mode tags
 
     VPP IPv6 routed forwarding.
 
 
     VPP IPv6 routed forwarding.
 
-
 Underlay tags
 -------------
 
 Underlay tags
 -------------
 
@@ -264,7 +305,6 @@ Underlay tags
 
     MPLS underlay.
 
 
     MPLS underlay.
 
-
 Overlay tags
 ------------
 
 Overlay tags
 ------------
 
@@ -280,13 +320,8 @@ Overlay tags
 
     IPv6 overlay (IPv6 payload).
 
 
     IPv6 overlay (IPv6 payload).
 
-
-Encapsulation tags
-------------------
-
-.. topic:: ETH
-
-    All test cases with base Ethernet (no encapsulation).
+Tagging tags
+------------
 
 .. topic:: DOT1Q
 
 
 .. topic:: DOT1Q
 
@@ -296,6 +331,13 @@ Encapsulation tags
 
     All test cases with dot1ad.
 
 
     All test cases with dot1ad.
 
+Encapsulation tags
+------------------
+
+.. topic:: ETH
+
+    All test cases with base Ethernet (no encapsulation).
+
 .. topic:: LISP
 
     All test cases with LISP.
 .. topic:: LISP
 
     All test cases with LISP.
@@ -320,6 +362,9 @@ Encapsulation tags
 
     All test cases with IPSEC.
 
 
     All test cases with IPSEC.
 
+.. topic:: SRv6
+
+    All test cases with Segment routing over IPv6 dataplane.
 
 Interface tags
 --------------
 
 Interface tags
 --------------
@@ -332,6 +377,18 @@ Interface tags
 
     All test cases which uses VHOST.
 
 
     All test cases which uses VHOST.
 
+.. topic:: VHOST_256
+
+    All test cases which uses VHOST with qemu queue size set to 256.
+
+.. topic:: VHOST_1024
+
+    All test cases which uses VHOST with qemu queue size set to 1024.
+
+.. topic:: CFS_OPT
+
+    All test cases which uses VM with optimised scheduler policy.
+
 .. topic:: TUNTAP
 
     All test cases which uses TUN and TAP.
 .. topic:: TUNTAP
 
     All test cases which uses TUN and TAP.
@@ -344,6 +401,39 @@ Interface tags
 
     All test cases which uses Netmap.
 
 
     All test cases which uses Netmap.
 
+.. topic:: MEMIF
+
+    All test cases which uses Memif.
+
+.. topic:: SINGLE_MEMIF
+
+    All test cases which uses only single Memif connection per DUT. One DUT
+    instance is running in container having one physical interface exposed to
+    container.
+
+.. topic:: LBOND
+
+    All test cases which uses link bonding (BondEthernet interface).
+
+.. topic:: LBOND_DPDK
+
+    All test cases which uses DPDK link bonding.
+
+.. topic:: LBOND_VPP
+
+    All test cases which uses VPP link bonding.
+
+.. topic:: LBOND_MODE_XOR
+
+    All test cases which uses link bonding with mode XOR.
+
+.. topic:: LBOND_MODE_LACP
+
+    All test cases which uses link bonding with mode LACP.
+
+.. topic:: LBOND_LB_L34
+
+    All test cases which uses link bonding with load-balance mode l34.
 
 Feature tags
 ------------
 
 Feature tags
 ------------
@@ -356,10 +446,61 @@ Feature tags
 
     COP whitelist.
 
 
     COP whitelist.
 
-.. topic:: SNAT
+.. topic:: NAT44
+
+    NAT44 configured and tested.
+
+.. topic:: NAT64
+
+    NAT44 configured and tested.
+
+.. topic:: ACL
+
+    ACL plugin configured and tested.
+
+.. topic:: IACL
+
+    ACL plugin configured and tested on input path.
+
+.. topic:: OACL
+
+    ACL plugin configured and tested on output path.
+
+.. topic:: ACL_STATELESS
+
+    ACL plugin configured and tested in stateless mode (permit action).
+
+.. topic:: ACL_STATEFUL
+
+    ACL plugin configured and tested in stateful mode (permit+reflect action).
+
+.. topic:: ACL1
+
+    ACL plugin configured and tested with 1 not-hitting ACE.
+
+.. topic:: ACL10
+
+    ACL plugin configured and tested with 10 not-hitting ACEs.
+
+.. topic:: ACL50
+
+    ACL plugin configured and tested with 50 not-hitting ACEs.
+
+.. topic:: SRv6_PROXY
+
+    SRv6 endpoint to SR-unaware appliance via proxy.
 
 
-    SNAT configured and tested.
+.. topic:: SRv6_PROXY_STAT
 
 
+    SRv6 endpoint to SR-unaware appliance via static proxy.
+
+.. topic:: SRv6_PROXY_DYN
+
+    SRv6 endpoint to SR-unaware appliance via dynamic proxy.
+
+.. topic:: SRv6_PROXY_MASQ
+
+    SRv6 endpoint to SR-unaware appliance via masquerading proxy.
 
 Encryption tags
 ---------------
 
 Encryption tags
 ---------------
@@ -380,7 +521,6 @@ Encryption tags
 
     IPSec in tunnel mode.
 
 
     IPSec in tunnel mode.
 
-
 Client-workload tags
 --------------------
 
 Client-workload tags
 --------------------
 
@@ -390,22 +530,60 @@ Client-workload tags
 
 .. topic:: LXC
 
 
 .. topic:: LXC
 
-    All test cases which use Linux container.
+    All test cases which use Linux container and LXC utils.
+
+.. topic:: DOCKER
+
+    All test cases which use Docker as container manager.
 
 .. topic:: APP
 
     All test cases with specific APP use.
 
 
 .. topic:: APP
 
     All test cases with specific APP use.
 
+Container orchestration tags
+----------------------------
+
+.. topic:: K8S
+
+    All test cases which use Kubernetes for orchestration.
+
+.. topic:: SFC_CONTROLLER
+
+    All test cases which use ligato/sfc_controller for driving configuration
+    of vpp inside container.
+
+.. topic:: VPP_AGENT
+
+    All test cases which use Golang implementation of a control/management plane
+    for VPP
+
+.. topic:: 1VSWITCH
+
+    VPP running in Docker container acting as VSWITCH.
+
+.. topic:: 1VNF
+
+    1 VPP running in Docker container acting as VNF work load.
+
+.. topic:: 2VNF
+
+    2 VPP running in 2 Docker containers acting as VNF work load.
+
+.. topic:: 4VNF
+
+    4 VPP running in 4 Docker containers acting as VNF work load.
 
 Multi-threading tags
 --------------------
 
 .. topic:: STHREAD
 
 
 Multi-threading tags
 --------------------
 
 .. topic:: STHREAD
 
-    All test cases using single poll mode thread.
+   *Dynamic tag*.
+   All test cases using single poll mode thread.
 
 .. topic:: MTHREAD
 
 
 .. topic:: MTHREAD
 
+   *Dynamic tag*.
     All test cases using more then one poll mode driver thread.
 
 .. topic:: 1NUMA
     All test cases using more then one poll mode driver thread.
 
 .. topic:: 1NUMA
@@ -416,39 +594,41 @@ Multi-threading tags
 
     All test cases with packet processing on two sockets.
 
 
     All test cases with packet processing on two sockets.
 
-.. topic:: SMT
-
-    All test cases with symmetric Multi-Threading (HyperThreading) enabled.
-
-.. topic:: NOSMT
-
-    All test cases with symmetric Multi-Threading (HyperThreading) disabled.
-
 .. topic:: 1T1C
 
 .. topic:: 1T1C
 
+   *Dynamic tag*.
     1 worker thread pinned to 1 dedicated physical core. 1 receive queue per
     1 worker thread pinned to 1 dedicated physical core. 1 receive queue per
-    interface. Main thread pinned to core 0.
+    interface. Main thread pinned to core 1.
 
 .. topic:: 2T2C
 
 
 .. topic:: 2T2C
 
+   *Dynamic tag*.
     2 worker threads pinned to 2 dedicated physical cores. 1 receive queue per
     2 worker threads pinned to 2 dedicated physical cores. 1 receive queue per
-    interface. Main thread pinned to core 0.
+    interface. Main thread pinned to core 1.
 
 .. topic:: 4T4C
 
 
 .. topic:: 4T4C
 
+   *Dynamic tag*.
     4 worker threads pinned to 4 dedicated physical cores. 2 receive queues per
     4 worker threads pinned to 4 dedicated physical cores. 2 receive queues per
-    interface. Main thread pinned to core 0.
+    interface. Main thread pinned to core 1.
 
 
-.. topic:: 6T6C
+.. topic:: 2T1C
 
 
-    6 worker threads pinned to 6 dedicated physical cores. 3 receive queues per
-    interface. Main thread pinned to core 0.
+   *Dynamic tag*.
+    2 worker threads each pinned to a separate logical core within 1 dedicated
+    physical core. 1 receive queue per interface. Main thread pinned to core 1.
 
 
-.. topic:: 8T8C
+.. topic:: 4T2C
 
 
-    8 worker threads pinned to 8 dedicated physical cores. 4 receive queues per
-    interface. Main thread pinned to core 0.
+   *Dynamic tag*.
+    4 worker threads each pinned to a separate logical core within 2 dedicated
+    physical core. 2 receive queue per interface. Main thread pinned to core 1.
 
 
+.. topic:: 8T4C
+
+   *Dynamic tag*.
+    8 worker threads each pinned to a separate logical core within 4 dedicated
+    physical core. 4 receive queue per interface. Main thread pinned to core 1.
 
 Honeycomb tags
 --------------
 
 Honeycomb tags
 --------------
@@ -457,6 +637,10 @@ Honeycomb tags
 
     Honeycomb functional test cases.
 
 
     Honeycomb functional test cases.
 
+.. topic:: HC_NSH
+
+    Honeycomb NSH test cases.
+
 .. topic:: HC_PERSIST
 
     Honeycomb persistence test cases.
 .. topic:: HC_PERSIST
 
     Honeycomb persistence test cases.