diff options
author | Neale Ranns <nranns@cisco.com> | 2017-08-14 12:22:58 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-10-09 05:48:29 -0700 |
commit | e65ba17d162581fa8b803070a5e706f344c30f33 (patch) | |
tree | 15807af6c27cafa8e4be17292bf1718558d3e552 /tests/vpp/func/ip4 | |
parent | df5ed0d9317e2a1d4a7248459cc6aec39f80a052 (diff) |
FIB table add/delete
Change-Id: Icadb4884a1c08a2230fd4692df69310ce382ec94
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'tests/vpp/func/ip4')
3 files changed, 12 insertions, 8 deletions
diff --git a/tests/vpp/func/ip4/eth2p-ethip4-ip4base-copblklistbase-func.robot b/tests/vpp/func/ip4/eth2p-ethip4-ip4base-copblklistbase-func.robot index 9ff3d2df75..2da3802480 100644 --- a/tests/vpp/func/ip4/eth2p-ethip4-ip4base-copblklistbase-func.robot +++ b/tests/vpp/func/ip4/eth2p-ethip4-ip4base-copblklistbase-func.robot @@ -81,8 +81,7 @@ | | ... | ${dut1_node} | ${dut1_to_dut2} | ${dut1_if2_ip_GW} | ${tg_to_dut2_mac} | | And Vpp Route Add | ${dut1_node} | | ... | ${test_dst_ip} | ${ip_prefix} | ${dut1_if2_ip_GW} | ${dut1_to_dut2} -| | And Add fib table | ${dut1_node} -| | ... | ${cop_dut_ip} | ${ip_prefix} | ${fib_table_number} | drop +| | And Add fib table | ${dut1_node} | ${fib_table_number} | | When COP Add whitelist Entry | | ... | ${dut1_node} | ${dut1_to_tg} | ip4 | ${fib_table_number} | | And COP interface enable or disable | ${dut1_node} | ${dut1_to_tg} | enable diff --git a/tests/vpp/func/ip4/eth2p-ethip4-ip4base-copwhlistbase-func.robot b/tests/vpp/func/ip4/eth2p-ethip4-ip4base-copwhlistbase-func.robot index 775cbae579..df37b7b609 100644 --- a/tests/vpp/func/ip4/eth2p-ethip4-ip4base-copwhlistbase-func.robot +++ b/tests/vpp/func/ip4/eth2p-ethip4-ip4base-copwhlistbase-func.robot @@ -81,8 +81,9 @@ | | ... | ${dut1_node} | ${dut1_to_dut2} | ${dut1_if2_ip_GW} | ${tg_to_dut2_mac} | | And Vpp Route Add | ${dut1_node} | | ... | ${test_dst_ip} | ${ip_prefix} | ${dut1_if2_ip_GW} | ${dut1_to_dut2} -| | And Add fib table | ${dut1_node} -| | ... | ${cop_dut_ip} | ${ip_prefix} | ${fib_table_number} | local +| | And Add fib table | ${dut1_node} | ${fib_table_number} +| | And Vpp Route Add | ${dut1_node} +| | ... | ${cop_dut_ip} | ${ip_prefix} | vrf=${fib_table_number} | local=${TRUE} | | When COP Add whitelist Entry | | ... | ${dut1_node} | ${dut1_to_tg} | ip4 | ${fib_table_number} | | And COP interface enable or disable | ${dut1_node} | ${dut1_to_tg} | enable diff --git a/tests/vpp/func/ip4/eth2p-ethip4-ip4basevrf-func.robot b/tests/vpp/func/ip4/eth2p-ethip4-ip4basevrf-func.robot index b520d4df6c..46bcf757d2 100644 --- a/tests/vpp/func/ip4/eth2p-ethip4-ip4basevrf-func.robot +++ b/tests/vpp/func/ip4/eth2p-ethip4-ip4basevrf-func.robot @@ -309,16 +309,20 @@ | | ... | ${dut2_node} | ${dut2_to_dut1_if1} | | ${dut2_if2_idx}= | Get Interface SW Index | | ... | ${dut2_node} | ${dut2_to_dut1_if2} -| | And Add fib table | ${dut1_node} +| | And Add fib table | ${dut1_node} | ${fib_table_1} +| | And Add fib table | ${dut1_node} | ${fib_table_2} +| | And Add fib table | ${dut2_node} | ${fib_table_1} +| | And Add fib table | ${dut2_node} | ${fib_table_2} +| | And Vpp Route Add | ${dut1_node} | | ... | ${tg_dut2_ip1} | ${ip_prefix} | ${fib_table_1} | | ... | via ${dut2_to_dut1_ip1} sw_if_index ${dut1_if1_idx} multipath -| | And Add fib table | ${dut1_node} +| | And Vpp Route Add | ${dut1_node} | | ... | ${tg_dut2_ip2} | ${ip_prefix} | ${fib_table_2} | | ... | via ${dut1_to_dut2_ip2} sw_if_index ${dut1_if2_idx} multipath -| | And Add fib table | ${dut2_node} +| | And Vpp Route Add | ${dut2_node} | | ... | ${tg_dut1_ip1} | ${ip_prefix} | ${fib_table_1} | | ... | via ${dut2_to_dut1_ip1} sw_if_index ${dut2_if1_idx} multipath -| | And Add fib table | ${dut2_node} +| | And Vpp Route Add | ${dut2_node} | | ... | ${tg_dut1_ip2} | ${ip_prefix} | ${fib_table_2} | | ... | via ${dut2_to_dut1_ip2} sw_if_index ${dut2_if2_idx} multipath |