X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fperf%2F40ge2p1xl710-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-ndrpdrdisc.robot;h=c36c18828ba61420cee3f0aff1d4ba4423bdfee5;hp=b77d42f1f651da0d0e986ddb07de11dbcdee37c5;hb=086f3a5065d744e00fe10289eb2f090b7bde208e;hpb=b92b5be7d4bbbf523812f774bb2e539ab2081cf6 diff --git a/tests/perf/40ge2p1xl710-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-ndrpdrdisc.robot b/tests/perf/40ge2p1xl710-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-ndrpdrdisc.robot index b77d42f1f6..c36c18828b 100644 --- a/tests/perf/40ge2p1xl710-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-ndrpdrdisc.robot +++ b/tests/perf/40ge2p1xl710-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-ndrpdrdisc.robot @@ -12,21 +12,20 @@ # limitations under the License. *** Settings *** -| Resource | resources/libraries/robot/performance.robot +| Resource | resources/libraries/robot/performance_setup.robot | Resource | resources/libraries/robot/ipsec.robot | ... | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | ... | IP4FWD | IPSEC | IPSECHW | IPSECTUN | NIC_Intel-XL710 | BASE | ... -| Suite Setup | Run Keywords -| ... | 3-node Performance Suite Setup with DUT's NIC model | L3 | Intel-XL710 -| ... | AND | Verify Crypto Device On All DUTs | force_init=${True} -| ... | AND | Verify Kernel Module On All DUTs | igb_uio | force_load=${True} -| Suite Teardown | 3-node Performance Suite Teardown +| Suite Setup | Set up IPSec performance test suite | L3 | Intel-XL710 | ... -| Test Setup | Performance test setup -| Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize} -| ... | ${traffic_profile} +| Suite Teardown | Tear down 3-node performance topology +| ... +| Test Setup | Set up performance test +| ... +| Test Teardown | Tear down performance discovery test | ${min_rate}pps +| ... | ${framesize} | ${traffic_profile} | ... | Documentation | *IPv4 IPsec tunnel mode performance test suite.* | ... @@ -90,13 +89,13 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Add Cryptodev to all DUTs | ${1} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | And Initialize IPSec in 3-node circular topology | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2} | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1} | | And VPP IPsec Add Multiple Tunnels @@ -125,13 +124,13 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Add Cryptodev to all DUTs | ${1} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | And Initialize IPSec in 3-node circular topology | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2} | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1} | | And VPP IPsec Add Multiple Tunnels @@ -161,12 +160,12 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add Cryptodev to all DUTs | ${1} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | And Initialize IPSec in 3-node circular topology | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2} | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1} | | And VPP IPsec Add Multiple Tunnels @@ -195,12 +194,12 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add Cryptodev to all DUTs | ${1} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | And Initialize IPSec in 3-node circular topology | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2} | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1} | | And VPP IPsec Add Multiple Tunnels @@ -232,12 +231,12 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add Cryptodev to all DUTs | ${1} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | And Initialize IPSec in 3-node circular topology | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2} | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1} | | And VPP IPsec Add Multiple Tunnels @@ -268,12 +267,12 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add Cryptodev to all DUTs | ${1} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | And Initialize IPSec in 3-node circular topology | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2} | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1} | | And VPP IPsec Add Multiple Tunnels @@ -303,13 +302,13 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Add Cryptodev to all DUTs | ${2} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | And Initialize IPSec in 3-node circular topology | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2} | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1} | | And VPP IPsec Add Multiple Tunnels @@ -338,13 +337,13 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Add Cryptodev to all DUTs | ${2} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | And Initialize IPSec in 3-node circular topology | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2} | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1} | | And VPP IPsec Add Multiple Tunnels