diff options
author | Jan Gelety <jgelety@cisco.com> | 2020-05-07 04:37:19 +0200 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2020-07-23 21:59:13 +0200 |
commit | 38ba3408ef77161b61cd4be702d0c6e8fc36f8e5 (patch) | |
tree | ce5ef9ae9e7c9b6d4498bc719ae33b04701aee81 /resources/libraries/robot/ip/ip4.robot | |
parent | a40195bdda6ec06af8479cfe7d3b3e11d4c9778f (diff) |
T-Rex: Add advanced stateful mode
- provide base routines to run T-Rex in advanced stateful mode
Change-Id: Ib0dc5f2919c370753335f6446860683dc4b12d93
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/robot/ip/ip4.robot')
-rw-r--r-- | resources/libraries/robot/ip/ip4.robot | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/libraries/robot/ip/ip4.robot b/resources/libraries/robot/ip/ip4.robot index e555dc17ac..2dc2a72857 100644 --- a/resources/libraries/robot/ip/ip4.robot +++ b/resources/libraries/robot/ip/ip4.robot @@ -81,18 +81,18 @@ | | ... | interface=${DUT2_${int}1}[0] | | | | Run Keyword Unless | '${remote_host1_ip}' == '${NONE}' -| | ... | Vpp Route Add | ${dut1} | ${remote_host1_ip} | 32 +| | ... | Vpp Route Add | ${dut1} | ${remote_host1_ip} | 24 | | ... | gateway=10.10.10.2 | interface=${DUT1_${int}1}[0] | | Run Keyword Unless | '${remote_host2_ip}' == '${NONE}' -| | ... | Vpp Route Add | ${dut} | ${remote_host2_ip} | 32 +| | ... | Vpp Route Add | ${dut} | ${remote_host2_ip} | 24 | | ... | gateway=20.20.20.2 | interface=${dut_if2} | | Run Keyword Unless | '${remote_host1_ip}' == '${NONE}' | | ... | Run Keyword If | '${dut2_status}' == 'PASS' -| | ... | Vpp Route Add | ${dut1} | ${remote_host1_ip} | 32 +| | ... | Vpp Route Add | ${dut1} | ${remote_host1_ip} | 24 | | ... | gateway=1.1.1.2 | interface=${DUT1_${int}2}[0] | | Run Keyword Unless | '${remote_host2_ip}' == '${NONE}' | | ... | Run Keyword If | '${dut2_status}' == 'PASS' -| | ... | Vpp Route Add | ${dut2} | ${remote_host2_ip} | 32 +| | ... | Vpp Route Add | ${dut2} | ${remote_host2_ip} | 24 | | ... | gateway=1.1.1.1 | interface=${DUT2_${int}1}[0] | Initialize IPv4 forwarding with scaling in circular topology |