aboutsummaryrefslogtreecommitdiffstats
path: root/resources/traffic_scripts
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-05-16Add IPsec traffic scriptMatus Fabian1-0/+208
JIRA: CSIT-28 Change-Id: Iaebea917ade85965b0dbaf35d58ea1ee14d76e3f Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-05-16CSIT-18: Add GRE tunnel libraries and tests.Matej Klotton2-0/+178
Change-Id: I91ccd65a26ea1782611bccc3badd91e64366a162 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-05-09CSIT-9: COP Whitelist/blacklistZdeno1-0/+107
- Included are also IPv6 tests - JIRA: CSIT-17 Change-Id: I89ae6c38cdc6742a597c0dc24ed1c033c1b5d155 Signed-off-by: Zdeno <zolsovsk@cisco.com>
2016-04-04Change send_ip_icmp recv timeout to 2secMatus Fabian1-1/+1
Traffic script send_ip_icmp recv timeout 10 sec is too long and execution rather end with ssh timeout. Change-Id: Id4df679799191fd03e2987f068f3ea9e7bf12fdf Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-03-07Modify sweep ping test casesJuraj Sloboda1-6/+6
- Write separate sweep ping test cases for jumbo frames - Compute sweep ping end size from reported MTU on DUT interface - Set MTU on TG according to MTU on DUT interface - Log VPP packet traces on IPv4 and IPv6 tests failure - Remove VM_ENV tag from sweep ping test cases for jumbo frames Change-Id: I47aa7977bcff9c4366c67578aef542924a1d055b Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
2016-03-07Move Send and receive L2 traffic KWs to standalone file.Matej Klotton1-3/+3
Change-Id: I3c919a15d5fdbf91ff493d64b768fb69b8c21b65 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-02-29Fix checksum comparison in latest codeJuraj Sloboda1-3/+3
Change-Id: I8aa53ce64f8f9e0553702f8a586fac3824a876f4 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
2016-02-27Fix checksum comparison in traffic scriptsJuraj Sloboda5-11/+15
Change-Id: Ibeff7c790ed4aba8b3a0534681912d0d5b826dbb Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
2016-02-27Check ipv4 ping responseJuraj Sloboda1-7/+52
Change-Id: I47ef2d59bdcbbb470550a037906bf8ba2a1bc66c Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
2016-02-23Move script code to main functionJuraj Sloboda1-52/+57
Change-Id: I84db0d569dad8b8b56a95a967ddd80ffc54d6aaf Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
2016-02-23Remove Interface.close, rename script argumentJuraj Sloboda2-36/+12
Change-Id: I5da20a12f801264821890e6516899344456576a8 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
2016-02-23Fixed strings with format splittingMatus Fabian4-5/+5
Change-Id: Iaded6b2ba46df86dd89afb2e2dc411d9972fb7d7 Signed-off-by: Matus Fabian <matfabia@cisco.com>