summaryrefslogtreecommitdiffstats
path: root/test/test_nat.py
AgeCommit message (Expand)AuthorFilesLines
2019-06-18fib: fib api updatesNeale Ranns1-134/+78
2019-05-22stats: support multiple works for error countersOle Troan1-52/+61
2019-05-17Tests: Refactor. Remove copies of enums.Paul Vinciguerra1-6/+14
2019-05-06NAT: VPP-1646 test case assertsFilip Varga1-0/+1
2019-05-02NAT: VPP-1661 - test case cleanup and refactoringFilip Varga1-716/+1175
2019-04-24NAT: VPP-1531 api cleanup & updateFilip Varga1-577/+714
2019-04-23Revert "NAT: VPP-1531 api cleanup & update"Ole Trøan1-714/+577
2019-04-23NAT: VPP-1531 api cleanup & updateFilip Varga1-577/+714
2019-04-11Tests: Refactor tearDown show command logging, add lifecycle markers.Paul Vinciguerra1-47/+56
2019-04-10Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.Paul Vinciguerra1-0/+32
2019-03-28Typos. A bunch of typos I've been collecting.Paul Vinciguerra1-24/+24
2019-03-15Revert "API: Cleanup APIs interface.api"Ole Trøan1-17/+18
2019-03-15API: Cleanup APIs interface.apiJakub Grajciar1-18/+17
2019-03-11vpp_papi_provider: Remove more wrapper functions.Ole Troan1-12/+11
2019-03-11VPP-1508: Tests: Fix vpp_api struct.error under py3.Paul Vinciguerra1-9/+9
2019-03-11VPP-1508: Use scapy.compat to manage packet level library differences.Paul Vinciguerra1-41/+44
2019-03-11Tests: use self.assertNotIn().Paul Vinciguerra1-2/+2
2019-03-06test framework: vpp_papi_provider.py - further cleanupOle Troan1-23/+24
2019-03-04test framework: Fix wrapper functions to match API message names.Ole Troan1-31/+34
2019-03-04test framework: add factory function and default parametersOle Troan1-4/+4
2019-02-27NAT44: active-passive HA (VPP-1571)Matus Fabian1-2/+351
2019-01-30Use IP and MAC API types for neighborsNeale Ranns1-30/+44
2019-01-18VTL: Don't swallow exceptions from syslog_rfc5424_parserPaul Vinciguerra1-6/+11
2018-12-21MAP: Convert from DPO to input feature.Jon Loeliger1-2/+1
2018-12-20NAT: total users and sessions gauges (VPP-1484)Matus Fabian1-0/+33
2018-12-20Tests: Cleanup @skip decorator.Paul Vinciguerra1-10/+10
2018-12-18NAT44: nat44_add_del_lb_static_mapping enhancements (VPP-1514)Matus Fabian1-0/+60
2018-12-18PAPI: Add MACAddress object wrapper for vl_api_mac_address_tOle Troan1-7/+7
2018-12-14NAT: counters (VPP-1484)Matus Fabian1-1/+115
2018-12-10Test framework: StringIO fixes for Python3Ole Troan1-6/+6
2018-11-30Tests: Fix traceback.Paul Vinciguerra1-15/+14
2018-11-29NAT: syslog - sessions logging (VPP-1139)Matus Fabian1-1/+173
2018-11-26Python3 tests: Fix asserts.Paul Vinciguerra1-4/+4
2018-11-23NAT44: improve expired sessions reuse (VPP-1503)Matus Fabian1-17/+2
2018-11-22MAP: Use explicit address/prefix types in APIOle Troan1-0/+2
2018-11-22NAT44: Apply transitory timeout on TCP RST (VPP-1494)Matus Fabian1-0/+51
2018-11-20NAT44: fix virtual fragmentation reassembly in forwarding mode (VPP-1501)Matus Fabian1-0/+26
2018-11-19NAT44: fix bug in TCP close with output-feature interface (VPP-1493)Matus Fabian1-0/+82
2018-10-19NAT44: fix ICMP virtual fragmentation reassembly (VPP-1466)Matus Fabian1-109/+22
2018-10-12NAT44: identity NAT fix (VPP-1441)Matus Fabian1-0/+4
2018-10-08NAT44: do not create session record for identity mapping (VPP-1439)Matus Fabian1-0/+3
2018-09-24NAT44: endpoint-dependent mode session timeout improvement (VPP-1423)Matus Fabian1-0/+10
2018-09-20NAT44 virtual fragmentation reassembly for endpoint-dependent mode (VPP-1325)Juraj Sloboda1-16/+518
2018-09-13NAT: TCP MSS clampingMatus Fabian1-0/+52
2018-09-06NAT: fix maximum out of order fragments (VPP-1399)Matus Fabian1-6/+8
2018-09-06NAT: test cleanup (VPP-1252)Matus Fabian1-30/+11
2018-09-04NAT: add support for configurable port range (VPP-1346)Matus Fabian1-3/+32
2018-09-03NAT44: client-IP based session affinity for load-balancing (VPP-1297)Matus Fabian1-0/+61
2018-08-27NAT44: add support for session timeout (VPP-1272)Matus Fabian1-40/+185
2018-08-22NAT: update nat_show_config_reply API (VPP-1403)Matus Fabian1-0/+12
ass="p"> | | ${dut2_vm_refs}= | Create Dictionary | | Set Test Variable | ${dut1_vm_refs} | | Set Test Variable | ${dut2_vm_refs} | | ... | | Given Add '${wt}' worker threads and '${rxq}' rxqueues in 3-node single-link circular topology | | And Add PCI devices to DUTs in 3-node single link topology | | And Run Keyword If | ${get_framesize} < ${1522} | | ... | Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When Initialize IPv4 forwarding with vhost for '2' VMs in 3-node circular topology | | And Configure '2' guest VMs with dpdk-testpmd-mac connected via vhost-user in 3-node circular topology | | Then Traffic should pass with maximum rate | ${perf_trial_duration} | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} *** Test Cases *** | tc01-64B-1t1c-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy\ | | ... | core, 1 receive queue per NIC port. | | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\ | | ... | trial throughput test. | | ... | | [Tags] | 64B | 1T1C | STHREAD | | ... | | [Template] | Check RR for ethip4-ip4base-eth-4vhostvr1024-2vm | | framesize=${64} | wt=1 | rxq=1 | tc02-1518B-1t1c-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy\ | | ... | core, 1 receive queue per NIC port. | | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\ | | ... | trial throughput test. | | ... | | [Tags] | 1518B | 1T1C | STHREAD | | ... | | [Template] | Check RR for ethip4-ip4base-eth-4vhostvr1024-2vm | | framesize=${1518} | wt=1 | rxq=1 | tc03-IMIX-1t1c-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy\ | | ... | core, 1 receive queue per NIC port. | | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\ | | ... | trial throughput test. | | ... | | [Tags] | IMIX | 1T1C | STHREAD | | ... | | [Template] | Check RR for ethip4-ip4base-eth-4vhostvr1024-2vm | | framesize=IMIX_v4_1 | wt=1 | rxq=1 | tc04-64B-2t2c-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy\ | | ... | cores, 1 receive queue per NIC port. | | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\ | | ... | trial throughput test. | | ... | | [Tags] | 64B | 2T2C | MTHREAD | | ... | | [Template] | Check RR for ethip4-ip4base-eth-4vhostvr1024-2vm | | framesize=${64} | wt=2 | rxq=1 | tc05-1518B-2t2c-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy\ | | ... | cores, 1 receive queue per NIC port. | | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\ | | ... | trial throughput test. | | ... | | [Tags] | 1518B | 2T2C | MTHREAD | | ... | | [Template] | Check RR for ethip4-ip4base-eth-4vhostvr1024-2vm | | framesize=${1518} | wt=2 | rxq=1 | tc06-IMIX-2t2c-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy\ | | ... | cores, 1 receive queue per NIC port. | | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\ | | ... | trial throughput test. | | ... | | [Tags] | IMIX | 2T2C | MTHREAD | | ... | | [Template] | Check RR for ethip4-ip4base-eth-4vhostvr1024-2vm | | framesize=IMIX_v4_1 | wt=2 | rxq=1 | tc07-64B-4t4c-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy\ | | ... | cores, 2 receive queues per NIC port. | | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\ | | ... | trial throughput test. | | ... | | [Tags] | 64B | 4T4C | MTHREAD | | ... | | [Template] | Check RR for ethip4-ip4base-eth-4vhostvr1024-2vm | | framesize=${64} | wt=4 | rxq=2 | tc08-1518B-4t4c-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy\ | | ... | cores, 2 receive queues per NIC port. | | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\ | | ... | trial throughput test. | | ... | | [Tags] | 1518B | 4T4C | MTHREAD | | ... | | [Template] | Check RR for ethip4-ip4base-eth-4vhostvr1024-2vm | | framesize=${1518} | wt=4 | rxq=2 | tc09-IMIX-4t4c-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy\ | | ... | cores, 2 receive queues per NIC port. | | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\ | | ... | trial throughput test. | | ... | | [Tags] | IMIX | 4T4C | MTHREAD | | ... | | [Template] | Check RR for ethip4-ip4base-eth-4vhostvr1024-2vm | | framesize=IMIX_v4_1 | wt=4 | rxq=2