aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vpp/device/ip4
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2020-09-16 16:45:36 +0200
committerJan Gelety <jgelety@cisco.com>2020-10-23 14:53:19 +0200
commit07ec871862034f7f439ed269fc30c55f6f95e066 (patch)
tree8b92ced1bf561a16fcc2738e49c7dd98f5a52198 /tests/vpp/device/ip4
parent905ab17015b24183770e3b55517482e30904d7f4 (diff)
CSIT-1597 NAT44 API: dynamic config
- cover API changes in VPP: https://gerrit.fd.io/r/c/vpp/+/29463 - update vpp stable to version 21.01-rc0~283-g5f4f2081c Change-Id: I079c10e4537448c3b078f22c3fe4ed266a5e2e2c Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'tests/vpp/device/ip4')
-rw-r--r--tests/vpp/device/ip4/eth2p-ethip4tcp-nat44ed-dev.robot5
-rw-r--r--tests/vpp/device/ip4/eth2p-ethip4udp-nat44ed-dev.robot5
2 files changed, 2 insertions, 8 deletions
diff --git a/tests/vpp/device/ip4/eth2p-ethip4tcp-nat44ed-dev.robot b/tests/vpp/device/ip4/eth2p-ethip4tcp-nat44ed-dev.robot
index 0a60b3f2e1..c72fae1870 100644
--- a/tests/vpp/device/ip4/eth2p-ethip4tcp-nat44ed-dev.robot
+++ b/tests/vpp/device/ip4/eth2p-ethip4tcp-nat44ed-dev.robot
@@ -71,7 +71,7 @@
| ${dst_port}= | 8080
# NAT settings
| ${nat_mode}= | endpoint-dependent
-| ${max_translations_per_thread}= | 81920
+| ${n_sessions}= | ${64512}
| ${in_net}= | 192.168.0.0
| ${in_mask}= | ${22}
| ${out_net}= | 68.142.68.0
@@ -98,9 +98,6 @@
| | Given Set Jumbo
| | And Add worker threads to all DUTs | ${phy_cores} | ${rxq}
| | And Pre-initialize layer driver | ${nic_driver}
-| | And Add NAT to all DUTs | nat_mode=${nat_mode}
-| | And Add NAT max translations per thread to all DUTs
-| | ... | ${max_translations_per_thread}
| | And Apply startup configuration on all VPP DUTs | with_trace=${True}
| | When Initialize layer driver | ${nic_driver}
| | And Initialize layer interface
diff --git a/tests/vpp/device/ip4/eth2p-ethip4udp-nat44ed-dev.robot b/tests/vpp/device/ip4/eth2p-ethip4udp-nat44ed-dev.robot
index e4e5241b18..18f648f2dc 100644
--- a/tests/vpp/device/ip4/eth2p-ethip4udp-nat44ed-dev.robot
+++ b/tests/vpp/device/ip4/eth2p-ethip4udp-nat44ed-dev.robot
@@ -71,7 +71,7 @@
| ${dst_port}= | 8080
# NAT settings
| ${nat_mode}= | endpoint-dependent
-| ${max_translations_per_thread}= | 81920
+| ${n_sessions}= | ${64512}
| ${in_net}= | 192.168.0.0
| ${in_mask}= | ${22}
| ${out_net}= | 68.142.68.0
@@ -98,9 +98,6 @@
| | Given Set Jumbo
| | And Add worker threads to all DUTs | ${phy_cores} | ${rxq}
| | And Pre-initialize layer driver | ${nic_driver}
-| | And Add NAT to all DUTs | nat_mode=${nat_mode}
-| | And Add NAT max translations per thread to all DUTs
-| | ... | ${max_translations_per_thread}
| | And Apply startup configuration on all VPP DUTs | with_trace=${True}
| | When Initialize layer driver | ${nic_driver}
| | And Initialize layer interface