aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
AgeCommit message (Collapse)AuthorFilesLines
2016-10-04Interactive terminal fixesMiroslav Miklus2-6/+14
- remember if execution timed out and do not try to send "quit" on close - increase timeout of vat command execution from 10s to 60s Change-Id: I2b96a6dce1220eff45002276d1fe8a771fca2205 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-10-03CSIT-235: Switched Port Analyzer mirroring (SPAN) - IPv4selias4-0/+60
- 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-10-03INMARSAT-54 Honeycomb configures PBBpmikus2-3/+100
- CRUD tests usinf Honeycomb REST API Change-Id: I4885cd0feb26f8ef56beb0d8848772ea2d42cb3a Signed-off-by: Tibor Frank <tifrank@cisco.com>
2016-10-03CSIT-405: Honeycomb test update and cleanupselias5-15/+73
- update suite setup and constants to allow test runs again - cleanup basic interface keywords - cleanup L2-fib test data - add "continue on failure" keyword to some partially failing tests - add teardown to all suites, restarts honeycomb if suite had test failures - fix minor PEP-8 violations in Topology.py Change-Id: Ic5b434af71f77855f81461b280299b8318932c5a Signed-off-by: selias <samelias@cisco.com>
2016-10-03LISP - implement changes done in VPP-376Tibor Frank1-22/+21
Change-Id: Ia9f7913522421b6fd9ecba18eb4d68bc0f3b3271 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2016-09-29Enable paramiko ssh keepalive (10s)Miroslav Miklus1-0/+2
Change-Id: I1e46ad76f033d239ad29d3b6fe00011a4444453d Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-09-28Add automated deployment of Honeycomb on DUTsTibor Frank1-0/+54
JIRA: CSIT-56 - create bootstrap_vpp_honeycomb.sh script which deploys VPP and Honeycomb on DUTs - Modify start-testcase script Change-Id: I88511479cb8681168675c934f4fccbea83fa34bc Signed-off-by: Tibor Frank <tifrank@cisco.com>
2016-09-26Fix drop rate search for worst of nStefano Chiesa1-1/+1
Change-Id: Ie98ab1095dedb4c24dbd44f64d3781934f664561 Signed-off-by: Stefano Chiesa <ssuryant@cisco.com>
2016-09-25Use tmp directory for log filesJan Gelety1-2/+2
- store log files in tmp directory and exclude all files in this directory from archiving when creating tarballs Change-Id: Ie3e11670c9d466c5fcf41d03ccd0a7bbb04ffeb0 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-09-24CSIT-412 replace latency (N/A) string by number -1Miroslav Miklus1-11/+2
Change-Id: Id6373d3bbfcc42e315976b59aa86c6cadee411f1 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-09-22CSIT-411 Show Vhost Userpmikus1-0/+11
- Add keyword to show vhost user Change-Id: Ia844bbcb8507b8c7cbf6b7bb1a7dc8d10148d6f4 Signed-off-by: pmikus <pmikus@cisco.com>
2016-09-21CSIT-360: Fix: Parallel test sets run.Matej Klotton1-6/+9
- fix typos Change-Id: I5292b27ae584c86cb4986df5439bdebd5fa40b67 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-09-20CSIT-360: Parallel test sets runJan Gelety1-1/+11
- use parallel test set runs on as many VIRL sessions as needed for defined test sets Change-Id: I7640f15894a1451aba963989fab4dc838f2ab6d8 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-09-15CSIT-408 sub-NDR latency measurementsMiroslav Miklus2-8/+34
- measure latency at 10% and 50% of found NDR. - fix the accuracy reported by T-REX (round to usec) Change-Id: I9fe2b5f942cb816db6fd0bb4262b48b8da6dac2f Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-09-15CSIT-404 Adjust DPDK testpmd startup parameterspmikus1-11/+17
Change-Id: If0f58e725e15aa01b61bc43b222c6254af9cd07e Signed-off-by: pmikus <pmikus@cisco.com>
2016-09-12CSIT-383: IPSEC IPv4 negative test casesJan Gelety2-8/+8
- 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-06Fix pylint warnings in IPFIXUtil.pyselias1-1/+2
- replace "import *" with only the required scapy fields Change-Id: If29e42fd2f54ca78ae05ddb4e004ee1a7506a3b1 Signed-off-by: selias <samelias@cisco.com>
2016-09-05CSIT-229: ip4-lispgpe-ip4Tibor Frank6-63/+143
- main fib, - vrf, - phy2lisp Change-Id: Ic9bacef4574dc07b25041c4cd0653825a65c94fb Signed-off-by: Tibor Frank <tifrank@cisco.com>
2016-08-25CSIT-251 IPv6 IPFIX - baseline testsselias1-0/+4
- add support for IPv6 fields to IPFIX data class - add IPv6 IPFIX test suite Change-Id: I8a0197c9e7dd91303feea11111c158698252a1eb Signed-off-by: selias <samelias@cisco.com>
2016-08-25CSIT-353: Add basic map-t testsMatej Klotton1-2/+27
Change-Id: I78075e445cdd61e0e3cf9353bddeaf6e6bc978fa Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-08-25CSIT-237: VPN routed forwarding (VRF) - baseline for IPv6Zdeno Olsovsky2-4/+14
Change-Id: I5c3053c692df29255a1da22a66f7ac282e3d5624 Signed-off-by: Zdeno Olsovsky <zolsovsk@cisco.com>
2016-08-25CSIT-233 IPv4 IPFIX - baseline testsselias4-8/+283
- 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-28: IPSEC basic conectivity test - IPv4Jan Gelety1-1/+1
- use all supported encryption and integrity algorithms in tunnel mode and in transport mode Change-Id: I2ae395d88d514b2ca3f62ab9aecbb27d8fb827b0 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-08-23Small fixies in IPSEC resourcesJan Gelety1-8/+6
Change-Id: I06e4000d93a86d885200ef1d0dd9b00e520ba77f Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-08-23CSIT-369 Update Honeycomb persistence data locationselias1-2/+1
- update persistence cleanup method with new file path - remove unnecessary test case for bvi in multiple bridge domains - remove unused bridge domain keywords Change-Id: Ib5378f47af4a03ec5663a79db4c0dc1bf054c557 Signed-off-by: selias <samelias@cisco.com>
2016-08-22CSIT-342 Update T-rex version to v2.07pmikus1-1/+1
- Update T-rex version to v2.07 Change-Id: I1709087628f05c3142f4e4b25a68502673e848dc Signed-off-by: pmikus <pmikus@cisco.com>
2016-08-22CSIT-366 IPv4dp - baseline vhost-userpmikus2-1/+30
- Add test cases for vhost-user testing with NIC(X520)-to-VM(testpmd,virtio) Change-Id: I598e70221b939b2b08aa324d2c98059eee8b6857 Signed-off-by: pmikus <pmikus@cisco.com>
2016-08-18CSIT-171 CSIT-172 Policer tests initial commitMatus Fabian1-0/+610
policer python library, traffic script and IPv4/IPv6 example tests Change-Id: I6470c86ce1acdcaaff9fdcf81510126836f1135e Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-08-17CSIT-312 VPP vhost-user - VPP vhost-user driver, virtio in VMpmikus2-42/+141
- Add libraries and keywords to control Qemu VM and VMapp Change-Id: Iaaedfe240afe394f507ccaf0cf7a77c8b863acd3 Signed-off-by: pmikus <pmikus@cisco.com>
2016-08-15CSIT-197: Add basic mapping rule tests for MAP-EMatej Klotton3-2/+209
- 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-10CSIT-321 L2 Cross-connect - baseline - NIC-to-NIC(XL710)Miroslav Miklus1-0/+33
Change-Id: I0c78d17242eedbfa573f1e2c20dc491a71b8dd4a Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-08-10Revert "CSIT-342 Update T-rex version to v2.07"Miroslav Miklus1-1/+1
"For XL710/X710 there is a need to upgrade the firmware to 5.04 (or later)” This reverts commit 147ce6e1ab9e6f557172d05aa0c09d44a34b0fdc. Change-Id: I4abc19fe04d1b5b9b8def25ad53586fd02f79028 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-08-09CSIT-341 Refactor DHCPv4 proxy testPatrik Hrnciar2-3/+7
Change-Id: Id44ef8677f8b023c9cb6a3fec7dc8e3fc1d979d4 Signed-off-by: Patrik Hrnciar <phrnciar@cisco.com>
2016-08-09CSIT-342 Update T-rex version to v2.07pmikus1-1/+1
Update T-rex version to v2.07 Change-Id: If93c95a3dbd3f2fbbb42d8155d3721f83bff92a2 Signed-off-by: pmikus <pmikus@cisco.com>
2016-08-08CSIT-338 PCI numa_node discoveryMiroslav Miklus2-2/+108
Allow to discover PCI - numa node relationship. Change-Id: I04a445e42b3cbbf450b990ebbc2c83ac313815f1 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-08-08Update Honeycomb directory locationselias1-1/+1
- update "REMOTE_HC_DIR" constant - update location of "MTU" setting in interface operational data Change-Id: Id455ec4f3f03107f628913356801f4c21c5704b3 Signed-off-by: selias <samelias@cisco.com>
2016-08-06CSIT-338 CpuUtils - CPU layoutMiroslav Miklus1-0/+100
Extends node from topology file with "cpuinfo", this information can be defined in the topology file, or can be retrieved from the node. Change-Id: I913dba93daab3b41b36f3ab07f5c03ad46c659dd Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-08-04CSIT-337 Improve Qemu affinity settingpmikus1-11/+21
Improve Qemu affinity setting by getting the list of Qemu thread IDs via QMP and pin each thread PID to specific host core by taskset. Change-Id: I1b0ee8d8425cf1f97b16d6761fff0be2fadc44a8 Signed-off-by: pmikus <pmikus@cisco.com>
2016-08-03CSIT-217 Hugepage configuration on physical LF testbedspmikus1-1/+50
If Qemu requires more Hugepages than availbale in system it fails to start. This patch is aimed to add option to configure more hugepages needed. Default behavior is to fail to start if amount of hugepages is lower then required. Change-Id: I64bd8a5ec5bfa559676035c23001b12d00b026a5 Signed-off-by: pmikus <pmikus@cisco.com>
2016-08-01CSIT-25 DHCPv4 proxy testsPatrik Hrnciar2-0/+26
Change-Id: I5aa449d7289fe8d015a32b21c0a368e9693ba757 Signed-off-by: Patrik Hrnciar <phrnciar@cisco.com>
2016-08-01CSIT-179 IPv6 Scale - performancepmikus2-0/+51
- Add libraries for ipv6 scale setup - Add test cases for testing 10k/100k/1M fib entries - Add t-rex profiles for large scale testing Change-Id: I4260405c960afe659db7e0764a68a87b9e8de0b2 Signed-off-by: pmikus <pmikus@cisco.com>
2016-07-28CSIT-212 SetupFramework scp result - logging fixMiroslav Miklus1-9/+17
Change-Id: I23a8090a117acd9cd0bef8bd69689751742d63e9 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-07-28CSIT-169 IPv4 Scale - performancepmikus1-0/+45
- Add libraries for ipv4 scale setup - Add test cases for testing 10k/100k/1M fib entries - Add t-rex profiles for large scale testing Change-Id: If085e0d834e5ffe5538ba76756e8b9d0e8255cb2 Signed-off-by: pmikus <pmikus@cisco.com>
2016-07-28CSIT-207: Update LISP Eid APIAndrej Kozemcak1-3/+3
- rename show_local_lisp_eid_tabl -> show_lisp_eid_table. - change EID json output data Change-Id: I4f5f7b5995b61cb0d5034b107c125caba1d73034 Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
2016-07-28CSIT-203: Expand LISP testAndrej Kozemcak1-2/+2
- Change LISP configuration and test if LISP tunnel still work. Change-Id: I28426d7cc0ede11aa7e826ab40ed1c95c8606abc Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
2016-07-28CSIT-224 Update T-rex version to v2.06pmikus1-1/+1
- Update T-rex to version v2.06 with DPDK1607-rc3 Change-Id: I796b0ddaa9b7cb677a3a2fc6300904fabee4353e Signed-off-by: pmikus <pmikus@cisco.com>
2016-07-27CSIT-271: FIX Delete bridge after TAP testMatej Klotton1-5/+16
Change-Id: Ic28405eb108feb2b24d77e1dd44c1b3320bd2288 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-07-27CSIT-212: FIX: Weekly job gets stucked in 2nd FUNCT test attemptMatej Klotton1-1/+1
- remove mem-prealloc parameter from qemu options Change-Id: I5a75f53da970c4aa772f29ed49bbf25c07bf2d87 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-07-26CSIT-106 Vpp config - use only test-related interfacesMiroslav Miklus1-2/+4
Current behaviour is to add all interfaces from topology, we only want to add interfaces from computed path. Change-Id: I9c5d4e765dbe399ee06dd13f0d25c48d3d8e5127 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-07-25CSIT-199: Use static adjacencies in LISP dp testsFlorin Coras2-1/+60
Switch to using static adjacencies and remote mappings instead of only the latter in LISP data plane tests. Change-Id: Ia2a05165425ac68fa7839f9c8f402033b8274fcf Signed-off-by: Florin Coras <fcoras@cisco.com>