From b5f0b27994a8d820e4692af4ca08ca60ba380709 Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Mon, 15 Feb 2016 18:07:09 +0200 Subject: add default mac tests --- .../unit_tests/functional_tests/stl_basic_tests.py | 15 ++++++--------- scripts/exp/udp_1pkt_simple_mac_dst.pcap | Bin 0 -> 100 bytes scripts/exp/udp_1pkt_simple_mac_dst_src.pcap | Bin 0 -> 100 bytes scripts/exp/udp_1pkt_simple_mac_src.pcap | Bin 0 -> 100 bytes 4 files changed, 6 insertions(+), 9 deletions(-) create mode 100644 scripts/exp/udp_1pkt_simple_mac_dst.pcap create mode 100644 scripts/exp/udp_1pkt_simple_mac_dst_src.pcap create mode 100644 scripts/exp/udp_1pkt_simple_mac_src.pcap (limited to 'scripts') diff --git a/scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py b/scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py index ec1b6e92..a791afde 100644 --- a/scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py +++ b/scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py @@ -172,19 +172,16 @@ class CStlBasic_Test(functional_general_test.CGeneralFunctional_Test): ["udp_1pkt_ipv6_in_ipv4.py","-m 1 -c 1 -l 17",True], ["yaml/imix_3pkt.yaml","-m 50kpps --limit 20 --cores 2",True], ["yaml/imix_3pkt_vm.yaml","-m 50kpps --limit 20 --cores 2",True], - #["yaml/imix_1pkt_tuple_gen.yaml","-m 50kpps --limit 20 --cores 2",True] + ["udp_1pkt_simple_mac_dst.py","-m 1 -l 1 ",True], + ["udp_1pkt_simple_mac_src.py","-m 1 -l 1 ",True], + ["udp_1pkt_simple_mac_dst_src.py","-m 1 -l 1 ",True] - #imix_1pkt_tuple_gen.yaml ]; + #/udp_1pkt_simple_mac_dst_src.py + #/udp_1pkt_simple_mac_src.py - #self.profiles['imix_3pkt'] = os.path.join(self.profiles_path, "imix_3pkt.yaml") - #self.profiles['imix_3pkt_vm'] = os.path.join(self.profiles_path, "imix_3pkt_vm.yaml") - #self.profiles['random_size_9k'] = os.path.join(self.profiles_path, "../udp_rand_len_9k.py") - #self.profiles['imix_tuple_gen'] = os.path.join(self.profiles_path, "imix_1pkt_tuple_gen.yaml") - - - p1 = [ ["yaml/imix_1pkt_tuple_gen.yaml","-m 50kpps --limit 20 --cores 2",True] ] + p1 = [ ["udp_1pkt_simple_mac_dst_src.py","-m 1 -l 1 ",True] ] for obj in p: diff --git a/scripts/exp/udp_1pkt_simple_mac_dst.pcap b/scripts/exp/udp_1pkt_simple_mac_dst.pcap new file mode 100644 index 00000000..84c4ad71 Binary files /dev/null and b/scripts/exp/udp_1pkt_simple_mac_dst.pcap differ diff --git a/scripts/exp/udp_1pkt_simple_mac_dst_src.pcap b/scripts/exp/udp_1pkt_simple_mac_dst_src.pcap new file mode 100644 index 00000000..6ec0bbc5 Binary files /dev/null and b/scripts/exp/udp_1pkt_simple_mac_dst_src.pcap differ diff --git a/scripts/exp/udp_1pkt_simple_mac_src.pcap b/scripts/exp/udp_1pkt_simple_mac_src.pcap new file mode 100644 index 00000000..ddb20802 Binary files /dev/null and b/scripts/exp/udp_1pkt_simple_mac_src.pcap differ -- cgit 1.2.3-korg