aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
AgeCommit message (Expand)AuthorFilesLines
2018-07-24CSIT-1097: Migrate ip4 to NDRPDR and edit MRRVratko Polak1-4/+10
2018-07-19FIX: Increase timeout for VAT for longer API calls.Peter Mikus1-1/+1
2018-07-18CSIT-1097: Ip6 NDRPDR and edited MRR suitesVratko Polak1-1/+8
2018-07-18CSIT-1201 Create L2patch perf testsPeter Mikus1-0/+30
2018-07-17CSIT-1186: Add srv6 NDRPDR suitesVratko Polak6-1/+246
2018-07-17Refactor DPDK testcases to new structurePeter Mikus2-6/+36
2018-07-16Add L2xc/L2bd/Ip4/Ip6 2-node tests for x710Peter Mikus1-0/+9
2018-07-13Add stats segment heapsize to default configPeter Mikus1-0/+9
2018-07-12CSIT-1186: Consume MLRsearch in agreed upon wayVratko Polak8-3/+3
2018-07-09CSIT-1142 2-node topology - keywordsPeter Mikus1-1/+1
2018-07-03CSIT-1046 Make uio driver configurable from topofilesPeter Mikus2-16/+33
2018-07-02Compatibility fixes with Ubuntu 18.04Peter Mikus3-10/+26
2018-06-29HC Tests: use vpp-fib-management module in dhcp tests (HC2VPP-348)Marek Gradzki1-1/+1
2018-06-29SetupFramework to detect failures, part IIPeter Mikus1-10/+4
2018-06-28FIX: SetupFramework to detect failuresPeter Mikus1-65/+57
2018-06-22CSIT-1043: Execute pci rescan only if neededjuraj.linkes2-51/+27
2018-06-21HC2VPP-331: Fix Honeycomb fails to assign VRF to interfaceMichal Cmarada1-0/+139
2018-06-20Revert "CSIT-986: Use MLRsearch from pip"Peter Mikus8-3/+809
2018-06-18CSIT-986: Use MLRsearch from pipVratko Polak8-809/+3
2018-06-18CSIT-986: Implement proposed MDR improvementsVratko Polak7-131/+137
2018-06-08CSIT-1081 Container VPP configuration refactorPeter Mikus2-30/+102
2018-06-07CSIT-1121: Add "Get DPDK version" KW to DPDK testsTibor Frank1-2/+1
2018-06-01VPP link bonding - lacp modeJan Gelety1-5/+96
2018-05-31DPDK link bonding: xor modeJan Gelety4-12/+118
2018-05-18CSIT-986: MDR rst documentationVratko Polak1-0/+1
2018-05-16HC Tests: adapt NAT tests to ietf-nat@2018-02-23.yang (CSIT-1086)Marek Gradzki1-4/+4
2018-05-16CSIT-992: Fix intermediate phases MDR parameterVratko Polak2-8/+15
2018-05-16HC tests: archive ODL logs (CSIT-1031)Marek Gradzki1-0/+39
2018-05-14CSIT-1036 Expose option to install DKMS in containerPeter Mikus1-9/+3
2018-05-12CSIT-1079 Add multiple mount dirs into containerPeter Mikus1-49/+58
2018-05-11CSIT-1076 Improve SSH connection handlingPeter Mikus1-25/+36
2018-05-10CSIT-992: Give MDR parameters official namesVratko Polak4-103/+115
2018-05-10Cleanup DPDK framework setupPeter Mikus2-236/+38
2018-05-10HC2VPP-253 - Update routing csit jobsMichal Cmarada1-16/+9
2018-05-10CSIT-1071 Add traffic evaluation criteria to MRRPeter Mikus1-2/+13
2018-05-09FIX: SSH connect issuePeter Mikus2-28/+19
2018-05-04CSIT-992: Add libraries for optimized searchVratko Polak8-20/+917
2018-05-04Fix various pylint 1.5.4 warningsVratko Polak15-45/+43
2018-04-25Fix warnings reported by gen_doc.shVratko Polak57-542/+563
2018-04-25FIX: SSH socket reading errorPeter Mikus2-19/+18
2018-04-24CSIT-1019: Fix PacketVerifier.RxQueue receive timeout issueLucian Banu1-28/+23
2018-04-23CSIT-1009: SRv6 proxy testsJan Gelety4-13/+61
2018-04-20FIX: Restart VPP in container before each testPeter Mikus1-0/+6
2018-04-20FIX: Configure number of memif queus properlyPeter Mikus1-2/+8
2018-04-19FIX: Memif tests failingPeter Mikus2-1/+14
2018-04-16Make default driver configurablePeter Mikus1-2/+2
2018-04-12Add more verbose DPDK logsPeter Mikus1-0/+9
2018-04-11CSIT-1037 K8s container extensionsPeter Mikus1-1/+1
2018-04-11Update DPDK to 18.02Peter Mikus4-82/+93
2018-04-11Create unified service operationsPeter Mikus3-50/+92
/span> | ${encr_alg} | ${auth_alg} | | And Add PCI devices to DUTs in 3-node single link topology | | And Add no multi seg to all DUTs | | And Add cryptodev to all DUTs | ${1} | | And Add DPDK dev default RXD to all DUTs | 2048 | | And Add DPDK dev default TXD to all DUTs | 2048 | | And Apply startup configuration on all VPP DUTs | | And Initialize IPSec in 3-node circular topology | | And VPP IPsec Create Tunnel Interfaces | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${dut1_if2} | | ... | ${dut2_if1} | ${n_tunnels} | ${encr_alg} | ${encr_key} | ${auth_alg} | | ... | ${auth_key} | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Find NDR using binary search and pps | ${framesize} | | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc02-64B-1t1c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-pdrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\ | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\ | | ... | linerate, step 50kpps and loss tolerance of 0.5%. | | ... | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg} | | And Add PCI devices to DUTs in 3-node single link topology | | And Add no multi seg to all DUTs | | And Add cryptodev to all DUTs | ${1} | | And Add DPDK dev default RXD to all DUTs | 2048 | | And Add DPDK dev default TXD to all DUTs | 2048 | | And Apply startup configuration on all VPP DUTs | | And Initialize IPSec in 3-node circular topology | | And VPP IPsec Create Tunnel Interfaces | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${dut1_if2} | | ... | ${dut2_if1} | ${n_tunnels} | ${encr_alg} | ${encr_key} | ${auth_alg} | | ... | ${auth_key} | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Find PDR using binary search and pps | ${framesize} | | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc03-1518B-1t1c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\ | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find NDR for 1518 Byte frames\ | | ... | using binary search start at 40GE linerate, step 50kpps. | | ... | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC | | ... | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg} | | And Add PCI devices to DUTs in 3-node single link topology | | And Add cryptodev to all DUTs | ${1} | | And Add DPDK dev default RXD to all DUTs | 2048 | | And Add DPDK dev default TXD to all DUTs | 2048 | | And Apply startup configuration on all VPP DUTs | | And Initialize IPSec in 3-node circular topology | | And VPP IPsec Create Tunnel Interfaces | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${dut1_if2} | | ... | ${dut2_if1} | ${n_tunnels} | ${encr_alg} | ${encr_key} | ${auth_alg} | | ... | ${auth_key} | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Find NDR using binary search and pps | ${framesize} | | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc04-1518B-1t1c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-pdrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\ | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 40GE\ | | ... | linerate, step 50kpps and loss tolerance of 0.5%. | | ... | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg} | | And Add PCI devices to DUTs in 3-node single link topology | | And Add cryptodev to all DUTs | ${1} | | And Add DPDK dev default RXD to all DUTs | 2048 | | And Add DPDK dev default TXD to all DUTs | 2048 | | And Apply startup configuration on all VPP DUTs | | And Initialize IPSec in 3-node circular topology | | And VPP IPsec Create Tunnel Interfaces | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${dut1_if2} | | ... | ${dut2_if1} | ${n_tunnels} | ${encr_alg} | ${encr_key} | ${auth_alg} | | ... | ${auth_key} | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Find PDR using binary search and pps | ${framesize} | | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc05-IMIX-1t1c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\ | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find NDR for IMIX_v4_1 frames\ | | ... | using binary search start at 40GE linerate, step 10kpps. | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B) | | ... | | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC | | ... | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${imix_size}= | Get Frame Size | ${framesize} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg} | | And Add PCI devices to DUTs in 3-node single link topology | | And Add cryptodev to all DUTs | ${1} | | And Add DPDK dev default RXD to all DUTs | 2048 | | And Add DPDK dev default TXD to all DUTs | 2048 | | And Apply startup configuration on all VPP DUTs | | And Initialize IPSec in 3-node circular topology | | And VPP IPsec Create Tunnel Interfaces | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${dut1_if2} | | ... | ${dut2_if1} | ${n_tunnels} | ${encr_alg} | ${encr_key} | ${auth_alg} | | ... | ${auth_key} | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Find NDR using binary search and pps | ${framesize} | | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc06-IMIX-1t1c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-pdrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\ | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GE\ | | ... | linerate, step 10kpps and loss tolerance of 0.5%. | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B) | | ... | | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${imix_size}= | Get Frame Size | ${framesize} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg} | | And Add PCI devices to DUTs in 3-node single link topology | | And Add cryptodev to all DUTs | ${1} | | And Add DPDK dev default RXD to all DUTs | 2048 | | And Add DPDK dev default TXD to all DUTs | 2048 | | And Apply startup configuration on all VPP DUTs | | And Initialize IPSec in 3-node circular topology | | And VPP IPsec Create Tunnel Interfaces | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${dut1_if2} | | ... | ${dut2_if1} | ${n_tunnels} | ${encr_alg} | ${encr_key} | ${auth_alg} | | ... | ${auth_key} | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Find PDR using binary search and pps | ${framesize} | | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc07-64B-2t2c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\ | | ... | with 2 thread, 2 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find NDR for 64 Byte frames\ | | ... | using binary search start at 40GE linerate, step 50kpps. | | ... | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC | | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg} | | And Add PCI devices to DUTs in 3-node single link topology | | And Add no multi seg to all DUTs | | And Add cryptodev to all DUTs | ${2} | | And Add DPDK dev default RXD to all DUTs | 2048 | | And Add DPDK dev default TXD to all DUTs | 2048 | | And Apply startup configuration on all VPP DUTs | | And Initialize IPSec in 3-node circular topology | | And VPP IPsec Create Tunnel Interfaces | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${dut1_if2} | | ... | ${dut2_if1} | ${n_tunnels} | ${encr_alg} | ${encr_key} | ${auth_alg} | | ... | ${auth_key} | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Find NDR using binary search and pps | ${framesize} | | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc08-64B-2t2c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-pdrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\ | | ... | with 2 thread, 2 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\ | | ... | linerate, step 50kpps and loss tolerance of 0.5%. | | ... | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg} | | And Add PCI devices to DUTs in 3-node single link topology | | And Add no multi seg to all DUTs | | And Add cryptodev to all DUTs | ${2} | | And Add DPDK dev default RXD to all DUTs | 2048 | | And Add DPDK dev default TXD to all DUTs | 2048 | | And Apply startup configuration on all VPP DUTs | | And Initialize IPSec in 3-node circular topology | | And VPP IPsec Create Tunnel Interfaces | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${dut1_if2} | | ... | ${dut2_if1} | ${n_tunnels} | ${encr_alg} | ${encr_key} | ${auth_alg} | | ... | ${auth_key} | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Find PDR using binary search and pps | ${framesize} | | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type}