From b255549d4fee3a161c521a1a2bd8be3a0767189e Mon Sep 17 00:00:00 2001 From: Stefan Kobza Date: Thu, 18 Feb 2016 14:24:57 +0100 Subject: Add hw/vm tags, add single link tag. Add HW_EVN and VM_ENV tags to specify limitations on where the given test could be run. For tests that should be run only on bare metal, author of the test should add tag HW_ENV to it. Add 3_NODE_SINGLE_LINK_TOPO tag, to specify requirement on topology, where only one link is required in between any two nodes in the topology. Change-Id: I38c9a9732cad608bb6a9e4a2c5f1997236cd48b9 Signed-off-by: Stefan Kobza --- tests/suites/ipv4/ipv4_untagged.robot | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/suites/ipv4/ipv4_untagged.robot') diff --git a/tests/suites/ipv4/ipv4_untagged.robot b/tests/suites/ipv4/ipv4_untagged.robot index ccf15514df..4f1904e3ba 100644 --- a/tests/suites/ipv4/ipv4_untagged.robot +++ b/tests/suites/ipv4/ipv4_untagged.robot @@ -16,6 +16,7 @@ | Library | resources.libraries.python.NodePath | Resource | resources/libraries/robot/default.robot | Resource | resources/libraries/robot/ipv4.robot +| Force Tags | HW_ENV | VM_ENV | Suite Setup | Run Keywords | Setup all DUTs before test | ... | AND | Setup all TGs before traffic script | ... | AND | Update All Interface Data On All Nodes | ${nodes} @@ -25,6 +26,7 @@ *** Test Cases *** | VPP replies to ICMPv4 echo request +| | [Tags] | 3_NODE_SINGLE_LINK_TOPO | | Append Nodes | ${nodes['TG']} | ${nodes['DUT1']} | | Compute Path | | ${src_port} | ${src_node}= | First Interface @@ -41,6 +43,7 @@ | | Node "${src_node}" interface "${src_port}" can route to node "${dst_node}" interface "${dst_port}" ${hops} hops away using IPv4 | TG can route to DUT2 through DUT1 +| | [Tags] | 3_NODE_SINGLE_LINK_TOPO | | Append Nodes | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | | Compute Path | | ${src_port} | ${src_node}= | First Interface @@ -49,6 +52,7 @@ | | Node "${src_node}" interface "${src_port}" can route to node "${dst_node}" interface "${dst_port}" ${hops} hops away using IPv4 | TG can route to DUT2 egress interface through DUT1 +| | [Tags] | 3_NODE_SINGLE_LINK_TOPO | | Append Nodes | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']} | | Compute Path | | ${src_port} | ${src_node}= | First Interface @@ -57,6 +61,7 @@ | | Node "${src_node}" interface "${src_port}" can route to node "${dst_node}" interface "${dst_port}" ${hops} hops away using IPv4 | TG can route to TG through DUT1 and DUT2 +| | [Tags] | 3_NODE_SINGLE_LINK_TOPO | | Append Nodes | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']} | | Compute Path | | ${src_port} | ${src_node}= | First Interface @@ -77,9 +82,11 @@ | | Check ipv4 interface counter | ${node} | ${port} | ${exp_counter_val} | VPP can process ICMP echo request from min to max packet size with 1B increment +| | [Tags] | 3_NODE_SINGLE_LINK_TOPO | | Ipv4 icmp echo sweep | ${nodes['TG']} | ${nodes['DUT1']} | | ... | ${nodes['TG']['interfaces']['port3']['name']} | | ... | ${nodes['DUT1']['interfaces']['port1']['name']} | VPP responds to ARP request +| | [Tags] | 3_NODE_SINGLE_LINK_TOPO | | Send ARP request and validate response | ${nodes['TG']} | ${nodes['DUT1']} -- cgit 1.2.3-korg