X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=docs%2Ftag_documentation.rst;h=f0f23c223b618b213b227fa054ebf4a9ce58ded2;hp=1e00ea7ef3af034684d6b6ca043d637d907cfc11;hb=89eb19f67d91a4aa535fb95ece3f26381dddfc28;hpb=043b2564cd0bfbcb3b00c782fb8d317e752ac210 diff --git a/docs/tag_documentation.rst b/docs/tag_documentation.rst index 1e00ea7ef3..f0f23c223b 100644 --- a/docs/tag_documentation.rst +++ b/docs/tag_documentation.rst @@ -1,11 +1,23 @@ -CSIT TAGs Descriptions -====================== +CSIT Tags +========= -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 +descriptions. +Testbed Topology Tags +--------------------- -Topology TAGs -------------- +.. topic:: 2_NODE_DOUBLE_LINK_TOPO + + 2 nodes connected in a circular topology with two links interconnecting + the devices. + +.. topic:: 2_NODE_SINGLE_LINK_TOPO + + 2 nodes connected in a circular topology with at least one link + interconnecting devices. .. topic:: 3_NODE_DOUBLE_LINK_TOPO @@ -17,7 +29,7 @@ Topology TAGs 3 nodes connected in a circular topology with at least one link interconnecting devices. -Objective TAGs +Objective Tags -------------- .. topic:: SKIP_PATCH @@ -25,8 +37,11 @@ Objective TAGs Test case(s) marked to not run in case of vpp-csit-verify (i.e. VPP patch) and csit-vpp-verify jobs (i.e. CSIT patch). +.. topic:: SKIP_VPP_PATCH -Environment TAGs + Test case(s) marked to not run in case of vpp-csit-verify (i.e. VPP patch). + +Environment Tags ---------------- .. topic:: HW_ENV @@ -41,8 +56,7 @@ Environment TAGs DUTs with VPP and capable of running Virtual Machine. - -NIC model tags +NIC Model Tags -------------- .. topic:: NIC_Intel-X520-DA2 @@ -57,6 +71,10 @@ NIC model tags Intel X710 NIC. +.. topic:: NIC_Intel-XXV710 + + Intel XXV710 NIC. + .. topic:: NIC_Cisco-VIC-1227 VIC-1227 by Cisco. @@ -65,8 +83,11 @@ NIC model tags VIC-1385 by Cisco. +.. topic:: NIC_Amazon-Nitro-50G -Scaling TAGs + Amazon EC2 ENA NIC. + +Scaling Tags ------------ .. topic:: FIB_20K @@ -81,108 +102,159 @@ Scaling TAGs 2x1,000,000 entries in single fib table -.. topic:: SRC_USER_10 +.. topic:: L2BD_1 - Traffic flow with 10 unique IPs (users) in one direction. + Test with 1 L2 bridge domain. -.. topic:: SRC_USER_100 +.. topic:: L2BD_10 - Traffic flow with 100 unique IPs (users) in one direction. + Test with 10 L2 bridge domains. -.. topic:: SRC_USER_1000 +.. topic:: L2BD_100 - Traffic flow with 1000 unique IPs (users) in one direction. + Test with 100 L2 bridge domains. -.. topic:: SRC_USER_2000 +.. topic:: L2BD_1K - Traffic flow with 2000 unique IPs (users) in one direction. + Test with 1000 L2 bridge domains. -.. topic:: SRC_USER_4000 +.. topic:: VLAN_1 - Traffic flow with 4000 unique IPs (users) in one direction. + Test with 1 VLAN sub-interface. +.. topic:: VLAN_10 -Tags marking functional vs. performance of tests ------------------------------------------------- + Test with 10 VLAN sub-interfaces. -.. topic:: FUNCTEST +.. topic:: VLAN_100 - All functional test cases. + Test with 100 VLAN sub-interfaces. -.. topic:: PERFTEST +.. topic:: VLAN_1K - All performance test cases. + Test with 1000 VLAN sub-interfaces. +.. topic:: VXLAN_1 -Performance testing tags ------------------------- + Test with 1 VXLAN tunnel. -.. topic:: PDRDISC +.. topic:: VXLAN_10 - Partial Drop Rate evaluation of single run result, with non-zero packet - loss tolerance (LT) expressed in percentage of packets transmitted. + Test with 10 VXLAN tunnels. -.. topic:: NDRDISC +.. topic:: VXLAN_100 - Non Drop Rate evaluation of results. Loss acceptance of dropped packets is - set to zero lost packets. + Test with 100 VXLAN tunnels. -.. topic:: NDRCHK +.. topic:: VXLAN_1K - Performance tests where TG verifies DUTs' throughput at ref-NDR (reference - Non Drop Rate) with zero packet loss tolerance. + Test with 1000 VXLAN tunnels. -.. topic:: NDRPDRDISC +.. topic:: TNL_{t} - Find performance of DUT based on RFC2544 with linear / binary / combined - search. (Previous LONG tests.) + IPSec in tunnel mode - {t} tunnels. -Ethernet frame size tags for performance tests ----------------------------------------------- +.. topic:: SRC_USER_{u} -.. topic:: 64B + Traffic flow with {u} unique IPs (users) in one direction. + {u}=(1,10,100,1000,2000,4000). - 64B frames used for test. +.. topic:: 100_FLOWS -.. topic:: 78B + Traffic stream with 100 unique flows (10 IPs/users x 10 UDP ports) in one + direction. - 78B frames used for test. +.. topic:: 10k_FLOWS -.. topic:: IMIX + Traffic stream with 10 000 unique flows (10 IPs/users x 1000 UDP ports) in + one direction. - IMIX frame sequence (28x 64B, 16x 570B, 4x 1518B) used for test. +.. topic:: 100k_FLOWS + + Traffic stream with 100 000 unique flows (100 IPs/users x 1000 UDP ports) in + one direction. + +.. topic:: HOSTS_{h} + + Stateless or stateful traffic stream with {h} client source IP4 addresses, + usually with 63 flow differing in source port number. Could be UDP or TCP. + If NAT is used, the clients are inside. Outside IP range can differ. + {h}=(1024,4096,16384,65536,262144). + +.. topic:: GENEVE4_{t}TUN + + Test with {t} GENEVE IPv4 tunnel. {t}=(1,4,16,64,256,1024) + +Test Category Tags +------------------ + +.. topic:: DEVICETEST + + All vpp_device functional test cases. + +.. topic:: PERFTEST + + All performance test cases. -.. topic:: 1460B +VPP Device Type Tags +-------------------- + +.. topic:: SCAPY + + All test cases that uses Scapy for packet generation and validation. + +Performance Type Tags +--------------------- - 1460B frames used for test. +.. topic:: NDRPDR -.. topic:: 1480B + 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. + The results come from the final trials, which have duration of 30 seconds. - 1480B frames used for test. +.. topic:: MRR -.. topic:: 1514B + Performance tests where TG sends the traffic at maximum rate (line rate) + and reports total sent/received packets over trial duration. + The result is an average of 10 trials of 1 second duration. - 1514B frames used for test. +.. topic:: SOAK -.. topic:: 1518B + Performance tests using PLRsearch to find the critical load. + +.. topic:: RECONF + + Performance tests aimed to measure lost packets (time) when performing + reconfiguration while full throughput offered load is applied. + +Ethernet Frame Size Tags +------------------------ - 1518B frames used for test. +These are describing the traffic offered by Traffic Generator, +"primary" traffic in case of asymmetric load. +For traffic between DUTs, or for "secondary" traffic, see ${overhead} value. -.. topic:: 9000B +.. topic:: {b}B - 9000B frames used for test. + {b} Bytes frames used for test. -Test type tags +.. topic:: IMIX + + IMIX frame sequence (28x 64B, 16x 570B, 4x 1518B) used for test. + +Test Type Tags -------------- .. topic:: BASE Baseline test cases, no encapsulation, no feature(s) configured in tests. + No scaling whatsoever, beyond minimum needed for RSS. .. topic:: IP4BASE IPv4 baseline test cases, no encapsulation, no feature(s) configured in - tests. + tests. Minimal number of routes. Other quantities may be scaled. .. topic:: IP6BASE @@ -199,9 +271,15 @@ Test type tags L2BD baseline test cases, no encapsulation, no feature(s) configured in tests. +.. topic:: L2PATCH + + L2PATCH baseline test cases, no encapsulation, no feature(s) configured in + tests. + .. topic:: SCALE - Scale test cases. + Scale test cases. Other tags specify which quantities are scaled. + Also applies if scaling is set on TG only (e.g. DUT works as IP4BASE). .. topic:: ENCAP @@ -211,8 +289,117 @@ Test type tags At least one feature is configured in test cases. Use also feature tag(s). +.. topic:: UDP + + Tests which use any kind of UDP traffic (STL or ASTF profile). + +.. topic:: TCP + + Tests which use any kind of TCP traffic (STL or ASTF profile). + +.. topic:: TREX + + Tests which test trex traffic without any software DUTs in the traffic path. + +.. + TODO: Should we define tags STL and ASTF? + +.. topic:: UDP_UDIR + + Tests which use unidirectional UDP traffic (STL profile only). + +.. topic:: UDP_BIDIR + + Tests which use bidirectional UDP traffic (STL profile only). + +.. topic:: UDP_CPS + + Tests which measure connections per second on minimal UDP pseudoconnections. + This implies ASTF traffic profile is used. + This tag selects specific output processing in PAL. + +.. topic:: TCP_CPS -Forwarding mode tags + Tests which measure connections per second on empty TCP connections. + This implies ASTF traffic profile is used. + This tag selects specific output processing in PAL. + +.. topic:: TCP_RPS + + Tests which measure requests per second on empty TCP connections. + This implies ASTF traffic profile is used. + This tag selects specific output processing in PAL. + +.. topic:: UDP_PPS + + Tests which measure packets per second on lightweight UDP transactions. + This implies ASTF traffic profile is used. + This tag selects specific output processing in PAL. + +.. topic:: TCP_PPS + + Tests which measure packets per second on lightweight TCP transactions. + This implies ASTF traffic profile is used. + This tag selects specific output processing in PAL. + +.. topic:: HTTP + + Tests which use traffic formed of valid HTTP requests (and responses). + +.. + TODO: Add HTTP tag to the current hoststack tests. + TODO: Document other tags already used by hoststack tests. + +.. topic:: LDP_NGINX + + LDP NGINX is un-modified NGINX with VPP via LD_PRELOAD. + +.. topic:: NF_DENSITY + + Performance tests that measure throughput of multiple VNF and CNF + service topologies at different service densities. + +NF Service Density Tags +----------------------- + +.. topic:: CHAIN + + NF service density tests with VNF or CNF service chain topology(ies). + +.. topic:: PIPE + + NF service density tests with CNF service pipeline topology(ies). + +.. topic:: NF_L3FWDIP4 + + NF service density tests with DPDK l3fwd IPv4 routing as NF workload. + +.. topic:: NF_VPPIP4 + + NF service density tests with VPP IPv4 routing as NF workload. + +.. topic:: {r}R{c}C + + Service density matrix locator {r}R{c}C, {r}Row denoting number of + service instances, {c}Column denoting number of NFs per service + instance. {r}=(1,2,4,6,8,10), {c}=(1,2,4,6,8,10). + +.. topic:: {n}VM{t}T + + Service density {n}VM{t}T, {n}Number of NF Qemu VMs, {t}Number of threads + per NF. + +.. topic:: {n}DCRt}T + + Service density {n}DCR{t}T, {n}Number of NF Docker containers, {t}Number of + threads per NF. + +.. topic:: {n}_ADDED_CHAINS + + {n}Number of chains (or pipelines) added (and/or removed) + during RECONF test. + +Forwarding Mode Tags -------------------- .. topic:: L2BDMACSTAT @@ -235,8 +422,24 @@ Forwarding mode tags VPP IPv6 routed forwarding. +.. topic:: LOADBALANCER_MAGLEV + + VPP Load balancer maglev mode. + +.. topic:: LOADBALANCER_L3DSR + + VPP Load balancer l3dsr mode. + +.. topic:: LOADBALANCER_NAT4 + + VPP Load balancer nat4 mode. -Underlay tags +.. topic:: N2N + + Mode, where NICs from the same physical server are directly + connected with a cable. + +Underlay Tags ------------- .. topic:: IP4UNRLAY @@ -251,8 +454,7 @@ Underlay tags MPLS underlay. - -Overlay tags +Overlay Tags ------------ .. topic:: L2OVRLAY @@ -267,13 +469,8 @@ Overlay tags IPv6 overlay (IPv6 payload). - -Encapsulation tags ------------------- - -.. topic:: ETH - - All test cases with base Ethernet (no encapsulation). +Tagging Tags +------------ .. topic:: DOT1Q @@ -283,6 +480,13 @@ Encapsulation tags All test cases with dot1ad. +Encapsulation Tags +------------------ + +.. topic:: ETH + + All test cases with base Ethernet (no encapsulation). + .. topic:: LISP All test cases with LISP. @@ -291,6 +495,26 @@ Encapsulation tags All test cases with LISP-GPE. +.. topic:: LISP_IP4o4 + + All test cases with LISP_IP4o4. + +.. topic:: LISPGPE_IP4o4 + + All test cases with LISPGPE_IP4o4. + +.. topic:: LISPGPE_IP6o4 + + All test cases with LISPGPE_IP6o4. + +.. topic:: LISPGPE_IP4o6 + + All test cases with LISPGPE_IP4o6. + +.. topic:: LISPGPE_IP6o6 + + All test cases with LISPGPE_IP6o6. + .. topic:: VXLAN All test cases with Vxlan. @@ -303,22 +527,83 @@ Encapsulation tags All test cases with GRE. +.. topic:: GTPU + + All test cases with GTPU. + .. topic:: IPSEC All test cases with IPSEC. +.. topic:: SRv6 + + All test cases with Segment routing over IPv6 dataplane. + +.. topic:: SRv6_1SID + + All SRv6 test cases with single SID. + +.. topic:: SRv6_2SID_DECAP + + All SRv6 test cases with two SIDs and with decapsulation. + +.. topic:: SRv6_2SID_NODECAP + + All SRv6 test cases with two SIDs and without decapsulation. + +.. topic:: GENEVE -Interface tags + All test cases with GENEVE. + +.. topic:: GENEVE_L3MODE + + All test cases with GENEVE tunnel in L3 mode. + +.. topic:: FLOW + + All test cases with FLOW. + +.. topic:: NTUPLE + + All test cases with NTUPLE. + +.. topic:: L2TPV3 + + All test cases with L2TPV3. + +Interface Tags -------------- .. topic:: PHY All test cases which use physical interface(s). +.. topic:: GSO + + All test cases which uses Generic Segmentation Offload. + .. topic:: VHOST All test cases which uses VHOST. +.. topic:: VHOST_1024 + + All test cases which uses VHOST DPDK driver with qemu queue size set + to 1024. + +.. topic:: VIRTIO + + All test cases which uses VIRTIO native VPP driver. + +.. topic:: VIRTIO_1024 + + All test cases which uses VIRTIO native VPP driver 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. @@ -331,24 +616,132 @@ Interface tags 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. + +.. topic:: LBOND_{n}L + + All test cases which use {n} link(s) for link bonding. + +.. topic:: DRV_{d} + + All test cases which NIC Driver for DUT is set to {d}. Default is VFIO_PCI. + {d}=(AVF, RDMA_CORE, VFIO_PCI, AF_XDP). + +.. topic:: TG_DRV_{d} + + All test cases which NIC Driver for TG is set to {d}. Default is IGB_UIO. + {d}=(RDMA_CORE, IGB_UIO). + +.. topic:: RXQ_SIZE_{n} + + All test cases which RXQ size (RX descriptors) are set to {n}. Default is 0, + which means VPP (API) default. + +.. topic:: TXQ_SIZE_{n} -Feature tags + All test cases which TXQ size (TX descriptors) are set to {n}. Default is 0, + which means VPP (API) default. + +Feature Tags ------------ .. topic:: IACLDST iACL destination. -.. topic:: COPWHLIST +.. topic:: ADLALWLIST + + ADL allowlist. + +.. 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 - COP whitelist. + ACL plugin configured and tested in stateful mode (permit+reflect action). -.. topic:: SNAT +.. topic:: ACL1 - SNAT configured and tested. + ACL plugin configured and tested with 1 not-hitting ACE. +.. topic:: ACL10 -Encryption tags + 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. + +.. 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 --------------- .. topic:: IPSECSW @@ -367,71 +760,105 @@ Encryption tags IPSec in tunnel mode. +.. topic:: IPSECINT -Client-workload tags --------------------- + IPSec in interface mode. -.. topic:: VM +.. topic:: AES - All test cases which use at least one virtual machine. + IPSec using AES algorithms. -.. topic:: LXC +.. topic:: AES_128_CBC - All test cases which use Linux container. + IPSec using AES 128 CBC algorithms. -.. topic:: APP +.. topic:: AES_128_GCM - All test cases with specific APP use. + IPSec using AES 128 GCM algorithms. + +.. topic:: AES_256_GCM + + IPSec using AES 256 GCM algorithms. + +.. topic:: HMAC + + IPSec using HMAC integrity algorithms. +.. topic:: HMAC_SHA_256 -Multi-threading tags + IPSec using HMAC SHA 256 integrity algorithms. + +.. topic:: HMAC_SHA_512 + + IPSec using HMAC SHA 512 integrity algorithms. + +.. topic:: SCHEDULER + + IPSec using crypto sw scheduler engine. + +Client-Workload Tags -------------------- -.. topic:: STHREAD +.. topic:: VM - All test cases using single poll mode thread. + All test cases which use at least one virtual machine. -.. topic:: MTHREAD +.. topic:: LXC - All test cases using more then one poll mode driver thread. + All test cases which use Linux container and LXC utils. + +.. topic:: DRC + + All test cases which use at least one Docker container. + +.. topic:: DOCKER -.. topic:: 1NUMA + All test cases which use Docker as container manager. - All test cases with packet processing on single socket. +.. topic:: APP -.. topic:: 2NUMA + All test cases with specific APP use. - All test cases with packet processing on two sockets. +Container Orchestration Tags +---------------------------- -.. topic:: SMT +.. topic:: {n}VSWITCH - All test cases with symmetric Multi-Threading (HyperThreading) enabled. + {n} VPP running in {n} Docker container(s) acting as a VSWITCH. + {n}=(1). -.. topic:: NOSMT +.. topic:: {n}VNF - All test cases with symmetric Multi-Threading (HyperThreading) disabled. + {n} VPP running in {n} Docker container(s) acting as a VNF work load. + {n}=(1). -.. topic:: 1T1C +Multi-Threading Tags +-------------------- - 1 worker thread pinned to 1 dedicated physical core. 1 receive queue per - interface. Main thread pinned to core 0. +.. topic:: STHREAD -.. topic:: 2T2C + *Dynamic tag*. + All test cases using single poll mode thread. - 2 worker threads pinned to 2 dedicated physical cores. 1 receive queue per - interface. Main thread pinned to core 0. +.. topic:: MTHREAD + + *Dynamic tag*. + All test cases using more then one poll mode driver thread. -.. topic:: 4T4C +.. topic:: {n}NUMA - 4 worker threads pinned to 4 dedicated physical cores. 2 receive queues per - interface. Main thread pinned to core 0. + All test cases with packet processing on {n} socket(s). {n}=(1,2). -.. topic:: 6T6C +.. topic:: {c}C - 6 worker threads pinned to 6 dedicated physical cores. 3 receive queues per - interface. Main thread pinned to core 0. + {c} worker thread pinned to {c} dedicated physical core; or if + HyperThreading is enabled, {c}*2 worker threads each pinned to a separate + logical core within 1 dedicated physical core. Main thread pinned to core 1. + {t}=(1,2,4). -.. topic:: 8T8C +.. topic:: {t}T{c}C - 8 worker threads pinned to 8 dedicated physical cores. 4 receive queues per - interface. Main thread pinned to core 0. + *Dynamic tag*. + {t} worker threads pinned to {c} dedicated physical cores. Main thread + pinned to core 1. By default CSIT is configuring same amount of receive + queues per interface as worker threads. {t}=(1,2,4,8), {t}=(1,2,4).