diff options
author | Jan Gelety <jgelety@cisco.com> | 2019-03-18 13:30:11 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2019-05-31 08:00:11 +0000 |
commit | fe1975eb1ac994df1bd759deda7154bb7dd9d7a7 (patch) | |
tree | 694e0f5920cac8f71e4ffbff9f9223c1a217cba6 /tests/vpp/func | |
parent | 245ea1de4f111c159a50bc309f53db3f520453ed (diff) |
CSIT-1468: InterfaceUtil migration from VAT to PAPI
Change-Id: I0062710d58996be767a852dc00545fedd60a5c72
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'tests/vpp/func')
4 files changed, 10 insertions, 4 deletions
diff --git a/tests/vpp/func/interfaces/api-crud-tap-func.robot b/tests/vpp/func/interfaces/api-crud-tap-func.robot index e0df1f2cb1..53c9038507 100644 --- a/tests/vpp/func/interfaces/api-crud-tap-func.robot +++ b/tests/vpp/func/interfaces/api-crud-tap-func.robot @@ -24,7 +24,7 @@ | Library | resources.libraries.python.Namespaces | Library | resources.libraries.python.IPUtil | ... -| Force Tags | HW_ENV | VM_ENV | 3_NODE_DOUBLE_LINK_TOPO | SKIP_TEST +| Force Tags | HW_ENV | VM_ENV | 3_NODE_DOUBLE_LINK_TOPO | ... | Test Setup | Set up TAP functional test | ... @@ -66,5 +66,5 @@ | | And Check Tap Present | ${dut_node} | ${tap_int2} | | When Delete Tap Interface | ${dut_node} | ${int2} | | Then Run Keyword And Expect Error -| | ... | ValueError: No JSON object could be decoded +| | ... | Tap interface :${tap_int2} does not exist | | ... | Check Tap Present | ${dut_node} | ${tap_int2} diff --git a/tests/vpp/func/ip4_tunnels/vxlan/eth2p-ethip4vxlan-l2xcbase-func.robot b/tests/vpp/func/ip4_tunnels/vxlan/eth2p-ethip4vxlan-l2xcbase-func.robot index aa88be5731..f76ff689f5 100644 --- a/tests/vpp/func/ip4_tunnels/vxlan/eth2p-ethip4vxlan-l2xcbase-func.robot +++ b/tests/vpp/func/ip4_tunnels/vxlan/eth2p-ethip4vxlan-l2xcbase-func.robot @@ -64,3 +64,6 @@ | | And Configure L2XC | ${dut2_node} | ${dut2_to_tg} | ${dut2s_vxlan} | | Then Send ICMPv4 bidirectionally and verify received packets | | ... | ${tg_node} | ${tg_to_dut1} | ${tg_to_dut2} +| | And Get VXLAN dump | ${dut1_node} +| | And Get VXLAN dump | ${dut1_node} | interface=vxlan_tunnel0 +| | And Get VXLAN dump | ${dut2_node} | interface=${dut2s_vxlan} diff --git a/tests/vpp/func/ip6_tunnels/vxlan/eth2p-ethip6vxlan-l2bdbasemaclrn-func.robot b/tests/vpp/func/ip6_tunnels/vxlan/eth2p-ethip6vxlan-l2bdbasemaclrn-func.robot index 74463c22c5..2d9ee14038 100644 --- a/tests/vpp/func/ip6_tunnels/vxlan/eth2p-ethip6vxlan-l2bdbasemaclrn-func.robot +++ b/tests/vpp/func/ip6_tunnels/vxlan/eth2p-ethip6vxlan-l2bdbasemaclrn-func.robot @@ -77,3 +77,6 @@ | | ... | ${dut2_to_tg} | ${dut2s_vxlan} | | Then Send ICMPv6 bidirectionally and verify received packets | | ... | ${tg_node} | ${tg_to_dut1} | ${tg_to_dut2} +| | And Get VXLAN dump | ${dut1_node} +| | And Get VXLAN dump | ${dut1_node} | interface=vxlan_tunnel0 +| | And Get VXLAN dump | ${dut2_node} | interface=${dut2s_vxlan} 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 203c25d018..d9a0c3d729 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 @@ -129,9 +129,9 @@ | | ... | ${dut1_to_dut2_ip4_static_adjacency} | | ... | ${dut2_to_dut1_ip4_static_adjacency} | | ${lisp1_if_idx}= | resources.libraries.python.InterfaceUtil.Get Sw If Index -| | ... | ${dut1_node} | lisp_gpe0 +| | ... | ${dut1_node} | lisp_gpe0.0 | | ${lisp2_if_idx}= | resources.libraries.python.InterfaceUtil.Get Sw If Index -| | ... | ${dut2_node} | lisp_gpe0 +| | ... | ${dut2_node} | lisp_gpe0.0 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg} | | When Configure manual keyed connection for IPSec | | ... | ${dut1_node} | ${lisp1_if_idx} | ${encr_alg} | ${encr_key} |