aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_ipsec_ah.py
AgeCommit message (Expand)AuthorFilesLines
2021-02-25tests: Add tests for IPSec async mode using the crypto SW schedulerNeale Ranns1-4/+4
2021-02-10ipsec: Use the new tunnel API types to add flow label and TTL copyNeale Ranns1-2/+4
2021-02-09Revert "ipsec: Use the new tunnel API types to add flow label and TTL copy"Matthew Smith1-4/+2
2021-02-08ipsec: Use the new tunnel API types to add flow label and TTL copyNeale Ranns1-2/+4
2020-11-02ipsec: Tunnel SA DSCP behaviourNeale Ranns1-2/+94
2019-12-23ipsec: Test and fix IPSec worker hand-offNeale Ranns1-1/+9
2019-11-08ipsec: remove dedicated IPSec tunnelsNeale Ranns1-0/+1
2019-06-18fib: fib api updatesNeale Ranns1-2/+1
2019-04-25crypto_ipsecmb: use pre-expanded keysDamjan Marion1-1/+1
2019-04-11IPSEC-MB: Use random & non-repeating IV (VPP-1642)Neale Ranns1-1/+1
2019-04-10crypto: Intel IPSEC-MB engineNeale Ranns1-39/+47
2019-04-10IPSEC: for each engine and algorithm testsNeale Ranns1-189/+229
2019-04-10Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.Paul Vinciguerra1-0/+8
2019-04-08IPSEC TEST: various hash alogrithmsNeale Ranns1-8/+87
2019-03-28ipsec: USE_EXTENDED_SEQ_NUM -> USE_ESNDamjan Marion1-1/+1
2019-03-25IPSEC tests fnd fix or Extended Sequence NumbersNeale Ranns1-5/+29
2019-03-21IPSEC: Mutli-tunnel testsNeale Ranns1-2/+3
2019-02-28TEST: IPSEC NAT-T with UDP headerNeale Ranns1-2/+2
2019-02-18IPSEC: move SA counters into the stats segmentNeale Ranns1-22/+26
2019-02-05IPSEC: SPD counters in the stats sgementNeale Ranns1-9/+13
2019-01-31IPSEC: API modernisationNeale Ranns1-8/+20
2019-01-29make test: remove generic importsKlement Sekera1-1/+2
2019-01-25IPSEC: tests use opbject registryNeale Ranns1-234/+108
2019-01-24IPSEC Tests: to per-test setup and tearDownNeale Ranns1-102/+239
2018-12-02IPSEC-AH: anti-replay testingNeale Ranns1-2/+5
2018-11-15ipsec: infra for selecting backendsKlement Sekera1-11/+8
2018-10-03ipsec: add missing ipv6 ah code & ipv6 testsKlement Sekera1-70/+98
2018-06-24Revert "Revert "ipsec: VPP-1316 calculate IP/TCP/UDP inner checksums""Klement Sekera1-189/+98
2018-06-22Revert "ipsec: VPP-1316 calculate IP/TCP/UDP inner checksums"Ole Troan1-98/+189
2018-06-21ipsec: VPP-1316 calculate IP/TCP/UDP inner checksumsKlement Sekera1-189/+98
2018-05-11make test: reorganize ipsec_ah test codeKlement Sekera1-191/+124
2018-05-09ipsec: support UDP encap/decap for NAT traversalKlement Sekera1-4/+4
2018-04-17make test: ipsec test cleanupKlement Sekera1-7/+5
2018-03-19Scapy upgrade to 2.4.0.rc5Neale Ranns1-2/+1
2017-12-15ESP_AH_test_automation_scripts rev1“mystarrocks”1-0/+325
ss="s">Test packets are generated by TG on links to DUTs. TG traffic profile\ | ... | contains two L3 flow-groups (flow-group per direction, ${flows_per_dir}\ | ... | flows per flow-group) with all packets containing Ethernet header, IPv4\ | ... | header with IP protocol=61 and static payload. MAC addresses are\ | ... | matching MAC addresses of the TG node interfaces. | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** | @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so | ${crypto_type}= | ${None} | ${nic_name}= | Intel-X710 | ${nic_driver}= | vfio-pci | ${nic_rxq_size}= | 0 | ${nic_txq_size}= | 0 | ${osi_layer}= | L3 | ${overhead}= | ${0} # ACL test setup | ${acl_action}= | permit | ${acl_apply_type}= | input | ${no_hit_aces_number}= | 1 | ${flows_per_dir}= | 100 | ${ip_nr}= | ${10} # starting points for non-hitting ACLs | ${src_ip_start}= | 30.30.30.1 | ${dst_ip_start}= | 40.40.40.1 | ${ip_step}= | ${1} | ${sport_start}= | ${1000} | ${dport_start}= | ${1000} | ${port_step}= | ${1} | ${trex_stream1_subnet}= | 10.10.10.0/24 | ${trex_stream2_subnet}= | 20.20.20.0/24 # Traffic profile: | ${traffic_profile}= | trex-sl-3n-ethip4udp-10u10p-conc *** Keywords *** | Local Template | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config. | | ... | Each DUT uses ${phy_cores} physical core(s) for worker threads. | | ... | [Ver] Measure NDR and PDR values using MLRsearch algorithm.\ | | | | ... | *Arguments:* | | ... | - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). | | ... | Type: integer, string | | ... | - phy_cores - Number of physical cores. Type: integer | | ... | - rxq - Number of RX queues, default value: ${None}. Type: integer | | | | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None} | | | | Set Test Variable | \${frame_size} | | | | Given Set Max Rate And Jumbo | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} | | And Pre-initialize layer driver | ${nic_driver} | | And Apply startup configuration on all VPP DUTs | | When Initialize layer driver | ${nic_driver} | | And Initialize layer interface | | And Initialize IPv4 routing with IPv4 ACLs on DUT1 in circular topology | | ... | ${ip_nr} | | Then Find NDR and PDR intervals using optimized search *** Test Cases *** | tc01-64B-1c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr | | [Tags] | 64B | 1C | | frame_size=${64} | phy_cores=${1} | tc02-64B-2c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr | | [Tags] | 64B | 2C | | frame_size=${64} | phy_cores=${2} | tc03-64B-4c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr | | [Tags] | 64B | 4C | | frame_size=${64} | phy_cores=${4} | tc04-1518B-1c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr | | [Tags] | 1518B | 1C | | frame_size=${1518} | phy_cores=${1} | tc05-1518B-2c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr | | [Tags] | 1518B | 2C | | frame_size=${1518} | phy_cores=${2} | tc06-1518B-4c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr | | [Tags] | 1518B | 4C | | frame_size=${1518} | phy_cores=${4} | tc07-9000B-1c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr | | [Tags] | 9000B | 1C | | frame_size=${9000} | phy_cores=${1} | tc08-9000B-2c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr | | [Tags] | 9000B | 2C | | frame_size=${9000} | phy_cores=${2} | tc09-9000B-4c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr | | [Tags] | 9000B | 4C | | frame_size=${9000} | phy_cores=${4} | tc10-IMIX-1c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr | | [Tags] | IMIX | 1C | | frame_size=IMIX_v4_1 | phy_cores=${1} | tc11-IMIX-2c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr | | [Tags] | IMIX | 2C | | frame_size=IMIX_v4_1 | phy_cores=${2} | tc12-IMIX-4c-ethip4udp-ip4base-iacl1sl-100flows-ndrpdr | | [Tags] | IMIX | 4C | | frame_size=IMIX_v4_1 | phy_cores=${4}