aboutsummaryrefslogtreecommitdiffstats
path: root/resources/traffic_scripts
AgeCommit message (Collapse)AuthorFilesLines
2018-05-04Fix various pylint 1.5.4 warningsVratko Polak1-1/+0
+ DUTSetup.py:424 Else clause on loop without a break statement + InterfaceUtil.py:400 Else clause on loop without a break statement + QemuUtils.py:564 Wrong continued indentation + SetupDPDKTest.py: Locally enabling broad-except + VatExecutor.py: Catching too general exception Exception + ssh.py:95 No exception type(s) specified. + HTTPRequest.py: Tolerate HTTPCodes.OK + multiple: Drop ":returns: None" from docstrings. There are still several warnings present: - R0902(too-many-instance-attributes) - R0912(too-many-branches) - R0913(too-many-arguments) - R0914(too-many-locals) - R0915(too-many-statements) - R0401(cyclic-import) And there are multiple blocks of similar lines, mainly across various Setup*Test.py files: - R0801(duplicate-code) Change-Id: I582575cb52b85d69d268e6374852f6e74bb71052 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2017-11-08CSIT-811 HC Test: BGP functional testsselias1-0/+85
Added traffic tests for Honeycomb's BGP feature. Change-Id: I5fa99908ab61d8bc9d2975e451917b98571b6aca Signed-off-by: selias <samelias@cisco.com>
2017-09-28HC Test: Fix intermittent failures of HC startupselias1-32/+26
- rework "check Honeycomb startup state" keyword - increase timeout value for startup - add separators to Honeycomb log file between test suites - other minor fixes: - remove usused import from NAT suite - fix loop in ICMPv6 ND proxy traffic script - add teardown to LISP cases - update prerequisites for sub-interface SPAN test Change-Id: I2f714ffc1d2e8435d3abe690d8bd15099e071c9a Signed-off-by: selias <samelias@cisco.com>
2017-09-18Ignore unexpected ICMPv6 Neighbor Discovery - Neighbor Solicitation packetsJan Gelety22-424/+631
We need to adapt all functional traffic scripts related to functional IPv6 tests to ingore receiving of unexpected ICMPv6ND_NS (ICMPv6 Neighbor Discovery - Neighbor Solicitation) packets that are sent automatically and we cannot avoid to receive them. The reason is to prevent false negative test results in case of csit functional tests that could block creation of new operational branch (csit weekly jobs), usage of new vpp builds (csit semiweekly jobs) and merging patches - csit as well as vpp. Change-Id: I43c90e7c766762fa769a81661338759a11b401a1 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-08-09CSIT-611: HC Test: Lisp suite updates + LispGPEselias2-0/+350
- added LispGPE test suite - added IPv6 tests to Lisp suite - added traffic tests to Lisp suite Change-Id: I3b699149cd73ebf5856072d3f26e98a370dbfc4b Signed-off-by: selias <samelias@cisco.com>
2017-07-05 Change the bootstrap script file and test the CI-management.Fangyin Hu4-16/+52
Debug the NSH SFC functional test. Change the test cases and not use the tcpdump. Delete the unused code. Change the directory structure. Change-Id: I52486b9ba4b02e305f702ffc8cdb84e941cb18ff Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
2017-06-30CSIT-619 HC Test: Honeycomb performance testing - initial commitselias1-0/+360
- keywords and scripts for HC performance testing setup - basic performance suite: operational data read - traffic script and keywords used in tests Change-Id: Ic0290be73a7c925ea2561f8cd2524c5cb83fcda2 Signed-off-by: selias <samelias@cisco.com>
2017-06-09 Add the NSH SFC functional test cases.Fangyin Hu4-0/+372
1. Proxy Inbound test with 152/256/512/1024/1280/1518 Bytes VxLAN-GPE + NSH packet 2. Proxy Outbound test with 128/256/512/1024/1280/1518 Bytes VxLAN packet 3. SFC SFF test with 152/256/512/1024/1280/1518 Bytes VxLAN-GPE + NSH packet Separate the functional test bootstrap file to another code review. Change-Id: I05cf6ab1d01c1b41c1c61044d6d31fd6219b86af Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
2017-04-25Vhost testsMatej Klotton2-0/+123
Change-Id: I03722afe13722941e084bc01161f7c2af30e3cb1 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2017-03-30CSIT-532 HC Test: IPv6 Neighbor Discovery proxyselias1-0/+194
Change-Id: I6495726a814e116191f7a183be71c661466e7053 Signed-off-by: selias <samelias@cisco.com>
2017-03-29Virl test: dot1q ip4baseMatej Klotton1-33/+71
Change-Id: I070bdbb0ea9cb609cb367ad744f7ad569b7115b9 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2017-03-10SPAN test - improvement of packet checkJan Gelety1-31/+97
Change-Id: Ic95fbe288495ee4cd75178d74c220f6af5d2b11a Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-02-24VIRL test: Dot1Q-L2BD-vhost_user test (CSIT-502)Matej Klotton1-3/+30
- Create test cases to test Dot1Q+L2BD+vhost_user IPv4 and IPv6 scenarios Change-Id: I0823e2d22a36fce236c037cfda27d588ebcd1cc5 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2017-02-23Add pypcap python requirementMatej Klotton3-26/+26
Using pypcap's L2listen instead of standard AF_PACKET scapy can see received Dot1Q tag. Change-Id: Icb3dcb272a9611158a26a83fede7550bba3f367e Signed-off-by: Matej Klotton <mklotton@cisco.com>
2017-02-15HC Test: ACL updatesselias1-0/+125
- update low level ACL based on yang model changes - remove ietf-ACL test suite and test data and keywords - add ACL-plugin test suite, test data and keywords The ietf model of ACLs is no longer supported in Honeycomb. It has been replaced by the ACL plugin. Change-Id: Ic2c2a3e11c9717d1d3885275f6b868a0098343f9 Signed-off-by: selias <samelias@cisco.com>
2016-11-11CSIT-471: Fix check of DHCPv6 message types.Jan Gelety1-12/+42
- use message typoe check for every DHCPv6 message - remove EXPECTED_FAILING tag from TC01: VPP proxies valid DHCPv6 request to DHCPv6 server Change-Id: Idf1d3feb0f445bb5b0acc03671344ca63acbf4f3 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-11-10DHCPv6 messages - increase log infoJan Gelety1-19/+31
- log content of variable in case it doesn't match expected value Change-Id: Ie0718923b347589a85897c6bc7b4f252b724f083 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-10-28DHCPv6 Proxy test updatePatrik Hrnciar1-6/+6
Change-Id: I8206a652bfa31cda0f7120741a0479a10ad4b1a1 Signed-off-by: Patrik Hrnciar <phrnciar@cisco.com>
2016-10-04CSIT-227, CSIT-240 IPv4/IPv6 Multipath routing testsPatrik Hrnciar1-0/+131
- add IPv4 Equal-cost multipath routing test - add IPv6 Equal-cost multipath routing test Change-Id: I62eaf9983b7767e124f80af7d8c8652ffc460cf8 Signed-off-by: Patrik Hrnciar <phrnciar@cisco.com>
2016-10-04CSIT-365: IPv6 encaps softwire - MAP-E part IIMatej Klotton1-0/+1
- check traffic with multiple domains configured. Generate given amount of random configurations. - add map-e hairpinning test. - add icmp test for map-e. - reformat map_e.robot, capitalize all KW. Change-Id: I94c4c9d6b186cc4a7c65cdb84ee795365dff5e82 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-10-03CSIT-235: Switched Port Analyzer mirroring (SPAN) - IPv4selias3-5/+142
- add library for SPAN setup - add telemetry traffic script and a keyword to run it - add "telemetry" folders for python and robot libraries - move IPFIX libraries to these new folders - add first SPAN test case, mirroring IPv4 ICMP packets Change-Id: Ibca35f724c13662bf80dce2d7e2649d1a0b8676a Signed-off-by: selias <samelias@cisco.com>
2016-09-14CSIT-241: IPv6 Router Advertisementselias2-6/+133
- add traffic script to verify Router Solicitation response - add keyword to execute traffic script - add test case 02: retransmit RA message after set interval - add test case 03: respond to RS request Change-Id: I83d742713ae42d0a1baacf460c29c06d32669b9a Signed-off-by: selias <samelias@cisco.com>
2016-09-12CSIT-383: IPSEC IPv4 negative test casesJan Gelety1-3/+1
- use integrity and/or encryption key(s) different from integrity and encryption keys stored on VPP node to create tx packet on TG Change-Id: I38bf7e1dd6f488e605bad991c7a7f4d1ff226e8c Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-09-06CSIT-353: MAP-T FIX: Add tx src mac to traffic scriptMatej Klotton1-2/+4
Change-Id: I011231c68dc470590323933dbdb3f33c3026559b Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-08-26CSIT-124: IPv4 encapsulations - IP4-GRE-IP4Matej Klotton1-0/+124
- add gre test with multiple tunnel configured - configure tunnel source as a loopback - route from tunnel to tunnel - check droping unknown tunnel destination Change-Id: Ib522d158d9de5c66f556c6734ceadc994eea02d4 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-08-26CSIT-252 IPFIX - ipv6 functional scaleselias1-2/+2
- add packet and session scale tests to IPFIX IPv6 test suite Change-Id: I2fd41da94b541901255827810132fb3aa90aef1a Signed-off-by: selias <samelias@cisco.com>
2016-08-25CSIT-234 IPFIX - ipv4 functional scaleselias1-0/+225
- add traffic script for classify session scale test - add keyword for classify session scale test - add packet scale and session scale test to IPFIX IPv4 suite Change-Id: I3abd07dbf705fe664b723916ce1d82cd9649a2ae Signed-off-by: selias <samelias@cisco.com>
2016-08-25CSIT-353: Add basic map-t testsMatej Klotton2-0/+265
Change-Id: I78075e445cdd61e0e3cf9353bddeaf6e6bc978fa Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-08-25CSIT-237: VPN routed forwarding (VRF) - baseline for IPv6Zdeno Olsovsky1-14/+80
Change-Id: I5c3053c692df29255a1da22a66f7ac282e3d5624 Signed-off-by: Zdeno Olsovsky <zolsovsk@cisco.com>
2016-08-25CSIT-233 IPv4 IPFIX - baseline testsselias1-0/+198
- add scapy classes for parsing IPFIX packets - add vat scripts and keywords for settings up IPFIX - add IPv4 IPFIX test suite Change-Id: I80ab76ca361c7920a01a46ad720b1c04acd0d147 Signed-off-by: selias <samelias@cisco.com>
2016-08-25CSIT-31 DHCPv6 Proxy testPatrik Hrnciar1-0/+330
Change-Id: Ie06980f6e42af3676d8f1ee42c9b9733428365af Signed-off-by: Patrik Hrnciar <phrnciar@cisco.com>
2016-08-18CSIT-171 CSIT-172 Policer tests initial commitMatus Fabian1-0/+125
policer python library, traffic script and IPv4/IPv6 example tests Change-Id: I6470c86ce1acdcaaff9fdcf81510126836f1135e Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-08-15CSIT-197: Add basic mapping rule tests for MAP-EMatej Klotton1-2/+3
- IPv4 prefix length + ea bits length < 32 - IPv4 prefix length + ea bits length == 32 - IPv4 prefix length + ea bits length > 32 - End user IPv6 prefix is 64 - IPv4 preffix is 0 Change-Id: Ib8d76abfebfb206fbbaa3c1422b2d321a3ed8712 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-08-09CSIT-341 Refactor DHCPv4 proxy testPatrik Hrnciar2-72/+69
Change-Id: Id44ef8677f8b023c9cb6a3fec7dc8e3fc1d979d4 Signed-off-by: Patrik Hrnciar <phrnciar@cisco.com>
2016-08-01CSIT-25 DHCPv4 proxy testsPatrik Hrnciar2-0/+381
Change-Id: I5aa449d7289fe8d015a32b21c0a368e9693ba757 Signed-off-by: Patrik Hrnciar <phrnciar@cisco.com>
2016-07-19CSIT-34: VLAN tag rewrite translate tests with x-connects - IPv4Jan Gelety2-13/+46
- VLAN tag rewrite translate-1-1 - VLAN tag rewrite translate-1-2 - VLAN tag rewrite translate-2-1 - VLAN tag rewrite translate-2-2 REMARK: Negative test cases will be tagged with SKIP_PATCH after merge. Change-Id: I76045e1416fe1a72298ccc2090cd373fac09b468 Signed-off-by: Jan Gelety <jgelety@cisco.com> Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-07-13CSIT-32: Add lightweight hairpinning testMatej Klotton1-0/+144
Change-Id: Ibb62cab0891dfd2bd347c85e89d41bf02f2f96ac Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-07-13CSIT-32: Add decapsulation testMatej Klotton1-0/+126
Change-Id: I7c1e3e6aa5c88acf85afdcd01de5817603abbcab Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-07-13CSIT-32: Add Softwire lw4o6 ICMP testMatej Klotton2-0/+139
Change-Id: Ie82707b41f63c31e2a04c8300a961bd9c2ea5ad0 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-07-12CSIT-32: Add Lightweight 4over6 test.Matej Klotton1-0/+135
Add keywords for configure MAP domanins and rules. Add testcase for check encapsulation IPv4 in IPv6. Change-Id: I52f04a15d982ccba1d35ce9ade9d7f0ce8e7f286 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-06-30CSIT-24 Proxy ARP testPatrik Hrnciar1-0/+4
Change-Id: Ia41af7e29dcb8c41d58c07134a385428ac1b285c Signed-off-by: Patrik Hrnciar <phrnciar@cisco.com>
2016-06-17Fix VPP sends ARP requests for unknown destinations TC destination MAC addressMatej Klotton1-13/+30
-JIRA: CSIT-142 The ICMP packet was send to wrong destination. Don't use resolve-attemts in add route. Fix testcase. Add testcase Sends ARP to GW with EXPECTED_FAILING. Variable naming fix. Documentation update. Change-Id: I71a7a274c154c525b176c87884d089155d7ae61b Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-06-16Router Advertisement TestsZdeno Olsovsky1-0/+87
-JIRA: CSIT-30 Change-Id: Iedb403d555284d36a81cc490a79e56b019ebeed0 Signed-off-by: Zdeno Olsovsky <zolsovsk@cisco.com>
2016-06-07iACL TCP/UDP testsPatrik Hrnciar1-0/+121
- IPv4 CSIT-92 - IPv6 CSIT-107 Change-Id: Ia93e96f624ce73ef08b89d4b22334a67ebb69e13 Signed-off-by: Patrik Hrnciar <phrnciar@cisco.com>
2016-06-06Add test VPP honors DHCPv4 lease timeMatej Klotton2-0/+224
-JIRA: CSIT-130 Change-Id: I1d0a92e8865021ac5c85e63256e1b75a839d4ce9 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-06-06Add test VPP sends DHCP REQUEST after OFFERMatej Klotton1-0/+218
-JIRA: CSIT-101 Change-Id: I9b92920f8ce324c447cb44ed4cd8d7f8c9c9ed88 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-05-31CSIT-23 Add ARP request test.Patrik Hrnciar1-0/+118
Change-Id: Ibb48e6d84efc55f7fb656283a954fbaefc7154e7 Signed-off-by: Patrik Hrnciar <phrnciar@cisco.com>
2016-05-31Sample test suite for vpp sample plugin (macswap)Miroslav Miklus1-0/+66
JIRA: CSIT-123 Change-Id: I4774ddf3a2f67c322fe27e5f9d366f508156e70f Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-05-30Add DHCP Client libs and VPP sends DHCPv4 Discover testMatej Klotton1-0/+150
-JIRA: CSIT-100 Change-Id: I4b6fc5d974ebe500d6c6bc74c14e1db7b3d10c3a Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-05-20VPP in host user-mode, part IIZdeno Olsovsky1-15/+66
- JIRA: CSIT-61 Change-Id: I688b1013a78a1fa3ecdb44c2072f8bd1b46364fb Signed-off-by: Zdeno Olsovsky <zolsovsk@cisco.com>