aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vpp/device/container_memif
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-01-24 12:31:25 +0100
committerTibor Frank <tifrank@cisco.com>2019-01-24 15:12:37 +0100
commit552491e8bcff9745b04fbdd92609351ec9597cdc (patch)
tree36d3c8c38d07d175cf2f3c26eec3ee121c49a2c4 /tests/vpp/device/container_memif
parent4ecbd6dc1e6dd07efa58f2bc001e838aad0457f4 (diff)
FIX: correct call of vpp_add_route
Change-Id: I63a2b5f484ac627c020e30c9f01a868c57aacf42 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'tests/vpp/device/container_memif')
-rw-r--r--tests/vpp/device/container_memif/eth2p-ethip4-ip4base-eth-2memif-1dcr-dev.robot11
-rw-r--r--tests/vpp/device/container_memif/eth2p-ethip6-ip6base-eth-2memif-1dcr-dev.robot11
2 files changed, 12 insertions, 10 deletions
diff --git a/tests/vpp/device/container_memif/eth2p-ethip4-ip4base-eth-2memif-1dcr-dev.robot b/tests/vpp/device/container_memif/eth2p-ethip4-ip4base-eth-2memif-1dcr-dev.robot
index 35be8c05f9..e32dd6e04d 100644
--- a/tests/vpp/device/container_memif/eth2p-ethip4-ip4base-eth-2memif-1dcr-dev.robot
+++ b/tests/vpp/device/container_memif/eth2p-ethip4-ip4base-eth-2memif-1dcr-dev.robot
@@ -96,11 +96,12 @@
| | ${memif_if2_key}= | Get interface by sw index | ${nodes['DUT1']}
| | ... | ${memif_if2}
| | ${memif_if2_mac}= | Get interface MAC | ${nodes['DUT1']} | ${memif_if2_key}
-| | And Vpp Route Add | ${dut_node} | ${net3} | ${prefix_length} | ${net2_ip2}
-| | ... | ${memif_if1} | resolve_attempts=${NONE} | count=${NONE}
-| | And Vpp Route Add | ${dut_node} | ${net1} | ${prefix_length} | ${net2_ip1}
-| | ... | ${memif_if2} | resolve_attempts=${NONE} | count=${NONE}
-| | ... | vrf=${fib_table_2}
+| | And Vpp Route Add | ${dut_node} | ${net3} | ${prefix_length}
+| | ... | gateway=${net2_ip2} | interface=${memif_if1}
+| | ... | resolve_attempts=${NONE} | count=${NONE}
+| | And Vpp Route Add | ${dut_node} | ${net1} | ${prefix_length}
+| | ... | gateway=${net2_ip1} | interface=${memif_if2}
+| | ... | resolve_attempts=${NONE} | count=${NONE} | vrf=${fib_table_2}
| | Add IP Neighbor | ${dut_node} | ${memif_if1} | ${net2_ip2}
| | ... | ${memif_if2_mac}
| | Add IP Neighbor | ${dut_node} | ${dut_to_tg_if2} | ${net3_ip2}
diff --git a/tests/vpp/device/container_memif/eth2p-ethip6-ip6base-eth-2memif-1dcr-dev.robot b/tests/vpp/device/container_memif/eth2p-ethip6-ip6base-eth-2memif-1dcr-dev.robot
index f2de31900e..6cdffd407e 100644
--- a/tests/vpp/device/container_memif/eth2p-ethip6-ip6base-eth-2memif-1dcr-dev.robot
+++ b/tests/vpp/device/container_memif/eth2p-ethip6-ip6base-eth-2memif-1dcr-dev.robot
@@ -99,11 +99,12 @@
| | ${memif_if2_key}= | Get interface by sw index | ${nodes['DUT1']}
| | ... | ${memif_if2}
| | ${memif_if2_mac}= | Get interface MAC | ${nodes['DUT1']} | ${memif_if2_key}
-| | And Vpp Route Add | ${dut_node} | ${net3} | ${prefix_length} | ${net2_ip2}
-| | ... | ${memif_if1} | resolve_attempts=${NONE} | count=${NONE}
-| | And Vpp Route Add | ${dut_node} | ${net1} | ${prefix_length} | ${net2_ip1}
-| | ... | ${memif_if2} | resolve_attempts=${NONE} | count=${NONE}
-| | ... | vrf=${fib_table_2}
+| | And Vpp Route Add | ${dut_node} | ${net3} | ${prefix_length}
+| | ... | gateway=${net2_ip2} | interface=${memif_if1}
+| | ... | resolve_attempts=${NONE} | count=${NONE}
+| | And Vpp Route Add | ${dut_node} | ${net1} | ${prefix_length}
+| | ... | gateway=${net2_ip1} | interface=${memif_if2}
+| | ... | resolve_attempts=${NONE} | count=${NONE} | vrf=${fib_table_2}
| | Add IP Neighbor | ${dut_node} | ${memif_if1} | ${net2_ip2}
| | ... | ${memif_if2_mac}
| | Add IP Neighbor | ${dut_node} | ${dut_to_tg_if2} | ${net3_ip2}