diff options
author | Jan Gelety <jgelety@cisco.com> | 2019-01-24 12:31:25 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-01-24 15:12:37 +0100 |
commit | 552491e8bcff9745b04fbdd92609351ec9597cdc (patch) | |
tree | 36d3c8c38d07d175cf2f3c26eec3ee121c49a2c4 /tests/vpp/device/vm_vhost | |
parent | 4ecbd6dc1e6dd07efa58f2bc001e838aad0457f4 (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/vm_vhost')
-rw-r--r-- | tests/vpp/device/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm-dev.robot | 11 | ||||
-rw-r--r-- | tests/vpp/device/vm_vhost/ip6/eth2p-ethip6-ip6base-eth-2vhost-1vm-dev.robot | 11 |
2 files changed, 12 insertions, 10 deletions
diff --git a/tests/vpp/device/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm-dev.robot b/tests/vpp/device/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm-dev.robot index f421f59b26..8c6a7fc8a8 100644 --- a/tests/vpp/device/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm-dev.robot +++ b/tests/vpp/device/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm-dev.robot @@ -92,11 +92,12 @@ | | ... | ${dut_node} | ${dut_to_tg_if2} | ${net3_ip1} | ${prefix_length} | | ${vhost2_mac}= | And Get Vhost User Mac By SW Index | | ... | ${dut_node} | ${vhost2} -| | And Vpp Route Add | ${dut_node} | ${net3} | ${prefix_length} | ${net2_ip2} -| | ... | ${vhost1} | resolve_attempts=${NONE} | count=${NONE} -| | And Vpp Route Add | ${dut_node} | ${net1} | ${prefix_length} | ${net2_ip1} -| | ... | ${vhost2} | resolve_attempts=${NONE} | count=${NONE} -| | ... | vrf=${fib_table_2} +| | And Vpp Route Add | ${dut_node} | ${net3} | ${prefix_length} +| | ... | gateway=${net2_ip2} | interface=${vhost1} | resolve_attempts=${NONE} +| | ... | count=${NONE} +| | And Vpp Route Add | ${dut_node} | ${net1} | ${prefix_length} +| | ... | gateway=${net2_ip1} | interface=${vhost2} | resolve_attempts=${NONE} +| | ... | count=${NONE} | vrf=${fib_table_2} | | Add IP Neighbor | ${dut_node} | ${vhost1} | ${net2_ip2} | ${vhost2_mac} | | Add IP Neighbor | ${dut_node} | ${dut_to_tg_if2} | ${net3_ip2} | | ... | ${tg_to_dut_if2_mac} diff --git a/tests/vpp/device/vm_vhost/ip6/eth2p-ethip6-ip6base-eth-2vhost-1vm-dev.robot b/tests/vpp/device/vm_vhost/ip6/eth2p-ethip6-ip6base-eth-2vhost-1vm-dev.robot index b1dd99858b..303d830b2d 100644 --- a/tests/vpp/device/vm_vhost/ip6/eth2p-ethip6-ip6base-eth-2vhost-1vm-dev.robot +++ b/tests/vpp/device/vm_vhost/ip6/eth2p-ethip6-ip6base-eth-2vhost-1vm-dev.robot @@ -96,11 +96,12 @@ | | And Suppress ICMPv6 router advertisement message | ${nodes} | | ${vhost2_mac}= | And Get Vhost User Mac By SW Index | | ... | ${dut_node} | ${vhost2} -| | And Vpp Route Add | ${dut_node} | ${net3} | ${prefix_length} | ${net2_ip2} -| | ... | ${vhost1} | resolve_attempts=${NONE} | count=${NONE} -| | And Vpp Route Add | ${dut_node} | ${net1} | ${prefix_length} | ${net2_ip1} -| | ... | ${vhost2} | resolve_attempts=${NONE} | count=${NONE} -| | ... | vrf=${fib_table_2} +| | And Vpp Route Add | ${dut_node} | ${net3} | ${prefix_length} +| | ... | gateway=${net2_ip2} | interface=${vhost1} | resolve_attempts=${NONE} +| | ... | count=${NONE} +| | And Vpp Route Add | ${dut_node} | ${net1} | ${prefix_length} +| | ... | gateway=${net2_ip1} | interface=${vhost2} | resolve_attempts=${NONE} +| | ... | count=${NONE} | vrf=${fib_table_2} | | Add IP Neighbor | ${dut_node} | ${vhost1} | ${net2_ip2} | ${vhost2_mac} | | Add IP Neighbor | ${dut_node} | ${dut_to_tg_if2} | ${net3_ip2} | | ... | ${tg_to_dut_if2_mac} |