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/vm_vhost | |
parent | df5ed0d9317e2a1d4a7248459cc6aec39f80a052 (diff) |
FIB table add/delete
Change-Id: Icadb4884a1c08a2230fd4692df69310ce382ec94
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'tests/vpp/func/vm_vhost')
6 files changed, 11 insertions, 0 deletions
diff --git a/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm.robot b/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm.robot index 2a426f5efd..fe61568ba9 100644 --- a/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm.robot +++ b/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm.robot @@ -70,6 +70,7 @@ | | ${vhost2}= | And Vpp Create Vhost User Interface | ${dut_node} | ${sock2} | | And Set Interface State | ${dut_node} | ${vhost1} | up | | And Set Interface State | ${dut_node} | ${vhost2} | up +| | And Add Fib Table | ${dut_node} | ${fib_table_2} | | And Assign Interface To Fib Table | ${dut_node} | | ... | ${vhost2} | ${fib_table_2} | | And Assign Interface To Fib Table | ${dut_node} diff --git a/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4ipsectptlispgpe-ip4base-eth-2vhost-1vm-func.robot b/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4ipsectptlispgpe-ip4base-eth-2vhost-1vm-func.robot index f4ff9a37d2..a247919fa1 100644 --- a/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4ipsectptlispgpe-ip4base-eth-2vhost-1vm-func.robot +++ b/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4ipsectptlispgpe-ip4base-eth-2vhost-1vm-func.robot @@ -163,6 +163,8 @@ | | Configure path in 3-node circular topology | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']} | | Set interfaces in 3-node circular topology up +| | And Add Fib Table | ${dut1_node} | ${fib_table} +| | And Add Fib Table | ${dut2_node} | ${fib_table} | | Assign Interface To Fib Table | ${dut1_node} | | ... | ${dut1_to_tg} | ${fib_table} | | Assign Interface To Fib Table | ${dut2_node} diff --git a/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4lispgpe-ip4base-eth-2vhost-1vm-func.robot b/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4lispgpe-ip4base-eth-2vhost-1vm-func.robot index 2bbafed6ee..c4c0c4a1d7 100644 --- a/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4lispgpe-ip4base-eth-2vhost-1vm-func.robot +++ b/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4lispgpe-ip4base-eth-2vhost-1vm-func.robot @@ -105,6 +105,7 @@ | | ... | | ${vhost1}= | Vpp Create Vhost User Interface | ${dut1_node} | ${sock1} | | ${vhost2}= | Vpp Create Vhost User Interface | ${dut1_node} | ${sock2} +| | And Add Fib Table | ${dut1_node} | ${fib_table} | | Assign Interface To Fib Table | ${dut1_node} | | ... | ${vhost2} | ${fib_table} | | Set Interface Address | ${dut1_node} | ${vhost2} | ${vhost_ip} | ${prefix4} diff --git a/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4lispgpe-ip4basevrf-eth-2vhost-1vm-func.robot b/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4lispgpe-ip4basevrf-eth-2vhost-1vm-func.robot index 0a6a5e4603..09bed1aea7 100644 --- a/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4lispgpe-ip4basevrf-eth-2vhost-1vm-func.robot +++ b/tests/vpp/func/vm_vhost/ip4/eth2p-ethip4lispgpe-ip4basevrf-eth-2vhost-1vm-func.robot @@ -67,6 +67,8 @@ | | Given Configure path in 3-node circular topology | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']} | | And Set interfaces in 3-node circular topology up +| | And Add Fib Table | ${dut1_node} | ${fib_table_1} +| | And Add Fib Table | ${dut2_node} | ${fib_table_1} | | And Assign Interface To Fib Table | ${dut1_node} | | ... | ${dut1_to_tg} | ${fib_table_1} | | And Assign Interface To Fib Table | ${dut2_node} @@ -104,6 +106,7 @@ | | ... | | ${vhost1}= | Vpp Create Vhost User Interface | ${dut1_node} | ${sock1} | | ${vhost2}= | Vpp Create Vhost User Interface | ${dut1_node} | ${sock2} +| | And Add Fib Table | ${dut1_node} | ${fib_table} | | Assign Interface To Fib Table | ${dut1_node} | | ... | ${vhost2} | ${fib_table} | | Set Interface Address | ${dut1_node} | ${vhost2} | ${vhost_ip} | ${prefix4} diff --git a/tests/vpp/func/vm_vhost/ip6/eth2p-ethip6lispgpe-ip6base-eth-2vhost-1vm-func.robot b/tests/vpp/func/vm_vhost/ip6/eth2p-ethip6lispgpe-ip6base-eth-2vhost-1vm-func.robot index 9ed970df7c..45b81d4f56 100644 --- a/tests/vpp/func/vm_vhost/ip6/eth2p-ethip6lispgpe-ip6base-eth-2vhost-1vm-func.robot +++ b/tests/vpp/func/vm_vhost/ip6/eth2p-ethip6lispgpe-ip6base-eth-2vhost-1vm-func.robot @@ -101,6 +101,7 @@ | | ... | | ${vhost1}= | Vpp Create Vhost User Interface | ${dut1_node} | ${sock1} | | ${vhost2}= | Vpp Create Vhost User Interface | ${dut1_node} | ${sock2} +| | And Add Fib Table | ${dut1_node} | ${fib_table} | ipv6={TRUE} | | Assign Interface To Fib Table | ${dut1_node} | | ... | ${vhost2} | ${fib_table} | ipv6=${TRUE} | | Vpp Set If IPv6 Addr | ${dut1_node} | ${vhost2} | ${vhost_ip} diff --git a/tests/vpp/func/vm_vhost/ip6/eth2p-ethip6lispgpe-ip6basevrf-eth-2vhost-1vm-func.robot b/tests/vpp/func/vm_vhost/ip6/eth2p-ethip6lispgpe-ip6basevrf-eth-2vhost-1vm-func.robot index a9d57c577f..16cded0f24 100644 --- a/tests/vpp/func/vm_vhost/ip6/eth2p-ethip6lispgpe-ip6basevrf-eth-2vhost-1vm-func.robot +++ b/tests/vpp/func/vm_vhost/ip6/eth2p-ethip6lispgpe-ip6basevrf-eth-2vhost-1vm-func.robot @@ -67,6 +67,8 @@ | | Given Configure path in 3-node circular topology | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']} | | And Set interfaces in 3-node circular topology up +| | And Add Fib Table | ${dut1_node} | ${fib_table_1} | ipv6=${TRUE} +| | And Add Fib Table | ${dut2_node} | ${fib_table_1} | ipv6=${TRUE} | | And Assign Interface To Fib Table | ${dut1_node} | | ... | ${dut1_to_tg} | ${fib_table_1} | ipv6=${TRUE} | | And Assign Interface To Fib Table | ${dut2_node} @@ -108,6 +110,7 @@ | | ... | | ${vhost1}= | Vpp Create Vhost User Interface | ${dut1_node} | ${sock1} | | ${vhost2}= | Vpp Create Vhost User Interface | ${dut1_node} | ${sock2} +| | And Add Fib Table | ${dut1_node} | ${fib_table} | ipv6=${TRUE} | | Assign Interface To Fib Table | ${dut1_node} | | ... | ${vhost2} | ${fib_table} | ipv6=${TRUE} | | Vpp Set If IPv6 Addr | ${dut1_node} | ${vhost2} | ${vhost_ip} |