-# Copyright (c) 2016 Cisco and/or its affiliates.
+# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
| 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 | 2_NODE_SINGLE_LINK_TOPO | DEVICETEST | HW_ENV | DCR_ENV
+| ... | FUNCTEST | L2BD | BASE | ETH | TAP
| ...
-| Test Setup | Set up TAP functional test
+| Test Setup | Run Keywords | Set up VPP device test
+| ... | AND | Clean Up Namespaces | ${nodes['DUT1']}
| ...
-| Test Teardown | Tear down TAP functional test with Linux bridge | ${bid_TAP}
+| Test Teardown | Run Keywords | Tear down VPP device test
+| ... | AND | Clean Up Namespaces | ${nodes['DUT1']}
+| ... | AND | Linux Del Bridge | ${nodes['DUT1']} | ${bid_TAP}
| ...
| Documentation | *Tap Interface Traffic Tests*
| ... | *[Top] Network Topologies:* TG=DUT1 2-node topology with two links
| ${tap_int2}= | tap1
*** Test Cases ***
-| TC01: Tap Interface Simple BD
+| tc01-eth2p-ethicmpv4-l2bdbasemaclrn-eth-2tap-device_tap-simple-bd
| | [Documentation]
-| | ... | [Top] TG-DUT1-TG.
-| | ... | [Enc] Eth-IPv4-ICMPv4.
| | ... | [Cfg] On DUT1 configure two L2BD with two if's for each L2BD with MAC\
| | ... | learning and one L2BD joining two linux-TAP interfaces created by VPP\
| | ... | located in namespace.
| | And Add interface to bridge domain | ${dut_node}
| | ... | ${dut_to_tg_if2} | ${bid_from_TG} | 0
| | Then Send ICMP packet and verify received packet | ${tg_node}
-| | ... | ${tg_to_dut_if1} | ${tg_to_dut_if2}
+| | ... | ${tg_to_dut_if1} | ${tg_to_dut_if2}
\ No newline at end of file