aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
AgeCommit message (Collapse)AuthorFilesLines
2019-03-08CSIT-845 Capture VPP core-dump from vpp crash on DUTsrls1901Peter Mikus7-86/+336
Change-Id: I987dcd5092d8527c9aefbe093e1ed7ae144d191b Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-03-07FIX: Do not set sriov_numvfs of QAT card to 0 in case of SW crypto testsJan Gelety1-2/+3
- when sriov_numvfs of QAT card is set to 0 for SW crypto tests and then back to 32 for subsequent HW crypto the dpdk backend is not running Change-Id: I9bc6b2549823e3318c31bda55a976199266e3535 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2019-03-06FIX: Workaround for qemuJan Gelety2-2/+10
- replace qemu image by fresh backup copy Change-Id: I13fa2a7f0f4ca6c36f993352f44086ae6ca8be63 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2019-03-01Adapt autogen for SFd testsVratko Polak1-12/+23
+ Make the skipping logic in autogen more flexible. + Do not emit 4c cases when there is too much VMs/containers. + Peter says the second -eth- should be renamed away from suites. + Regenerate suites so test case names match (new) suite names. Change-Id: I95ecc47ca07b8bae6693d5d4330811ff55672fc4 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-02-28Add tox.ini and few checker scriptsVratko Polak10-58/+260
(cherry-pick from master, also pasted current bash code style) The plan is to change csit-validate-pylint-master job to fail if (and only if) tox fails. This will allow us to easily add checks, with or without the voting power. Each check produces log (ignored in .gitignore) the voting job can archive. + Made autogen quiet by default, to avoid spam in autogen checker. + Unified the way direct csit subdirectories are git-ignored. Change-Id: I6477b1ef7da6d3e30f68c5850d04900cc52f431e Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-02-18FIX: Ligato building mechanics for rls1901Peter Mikus1-92/+11
Change-Id: I63e4cd0a497251c4b1fbebd645146ad0e9a2fbff Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-02-13FIX: Apply revert routing in case interfaces are revertedPeter Mikus1-0/+1
Change-Id: Iecd4606f000aa49a16a07fb02ae1b6f1c52a52d8 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-02-12Updated dpdk stable version in csit dpdk testsJan Gelety1-1/+1
Change-Id: I201770202a6eabdf81805daade1348daae127dc8 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2019-02-12Fix argument order in unidirection related KWsVratko Polak2-36/+38
The original unidirection Chhange [0] has changed the order, breaking some call sites. Also, use different indentation to save some vertical space. [0] https://gerrit.fd.io/r/#/c/16696/3/resources/libraries/python/TrafficGenerator.py@551 Change-Id: Ife9bd994da73f0afcd24fc16794f822a831c4353 Signed-off-by: Vratko Polak <vrpolak@cisco.com> (cherry picked from commit ca7b37a18d420b6033adbdf64d0115b554b85726)
2019-02-11FIX: Comparision for RXQPeter Mikus1-4/+4
Change-Id: I8e8c72ded61a53fe0170cde39c52145ab816f31c Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-02-08FIX: AVF APIPeter Mikus3-4/+11
Change-Id: If755c06935a525c7a312e63f32f6035f08fdb893 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-02-05FIX: Set ipsec backend to dpdk backend when aes-gcm cipher usedJan Gelety1-15/+121
Change-Id: I008b9e0fd62cdc8e29136930762bd7412bd50181 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2019-02-05Improve 1n-skx vpp_device mapping functionPeter Mikus1-6/+20
Improve mapping function for 1n-skx vpp_device to pickup available DUT1 net_dev and replace the name with TG net_dev prefix. This way we can eliminate situation, when pair with not equal VLANs are picked. Change-Id: If78329e730bfb4df34fb8d8924c8715d69a15e0c Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 1c108d51c08631548dc2b2ba1b7652e0b577d82c) (cherry picked from commit 44bc8611bca15c49663a89cfb29cf0ec1a5ed17e)
2019-02-04CSIT-1416 Remove installation of vpp from containersPeter Mikus6-94/+80
Use parent system (Host, Container) installation of VPP. This will save the internet bandwith by skip installing of prerequisites packages. It will also skip dpkg install and simplify the process of initializing VPP inside container. Previosly initialization of VPP in container takes about 55s. With this patch it is reduced to 2-3s. This patch removes the bloated VOLUME creation between container sidecars (a.k.a nested container) and fixes the hugepage allocation. Change-Id: Ifa2be532edb77354657e1b84568bdc34993b00d0 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-02-04CSIT-1411 Implement manual rx-placement override for bug in VPPPeter Mikus3-9/+177
Change-Id: Ie3d2b1f40a607ce5190ccfea6a372bc072d0a3b9 Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 1634e19d9adb70b634c80b760aabac81fd4bfdd1)
2019-02-04Trending: Remove NF_DENSITY tests from trendingTibor Frank1-2/+10
- also memif tests removed from graphs where they must not be. Change-Id: I1cbb02ba2dcdcd3a286c9ac4489c946993ac4790 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit de778ee617ed29443bdd8dfa393a2ec4b811b1b9)
2019-01-31Add TB23 back into production poolPeter Mikus1-1/+1
Change-Id: I69a16b1baa5147f22b7c5742c2ccf6e030474937 Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 65908ee392865911ad1b69610a7f3d43e6bf3bf3)
2019-01-30FIX: Hardcode nf_density RXQ count to 1Peter Mikus1-8/+27
Change-Id: I7ca3b2ce4f4c9d8b452d9de63e7466482d15aa50 Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit c17a7406971d2ef28dbfcceb989b545588854e6a)
2019-01-30FIX: Cleanup mechanics for vpp_devicePeter Mikus1-3/+10
Change-Id: Ice975127f8ecdd4cead418151cf37d61dfb218a0 Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 956989a5ad8966c06cf3300c2e5edf3f46466edb)
2019-01-30FIX: Put back sleep to wait for container to boot.Peter Mikus1-1/+1
Change-Id: Id63fc8670c7816cc71d8d6d8704ff7f1adf3db65 Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 509a1092965c674c581e4080e2e2dc4dec5371c7)
2019-01-30CSIT-1409 Implement pipeline configuration for l2bd with memif/ip4.Peter Mikus4-71/+227
Change-Id: I7463d47a9d65069332eb2a288ff44f4499a8a467 Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 11bd03f27a53fa6060bfa72bc98c52532cb6e404)
2019-01-29PLRsearch: Initial implementation and suitesVratko Polak8-3/+1202
Missing bits: - Add up-to-date .rst document (in child Change). - Prepare for releasing to PyPI.org (in child Change): -- Either copy dependencies from MLRsearch, or list in requirements. -- Perhaps move common dependencies to separate package for both search to depend on. -- All the other metadata stuff. Jira: CSIT-1276 Change-Id: I277efdb63dbb90b30e11f4e30a82e2130ac8efc3 Signed-off-by: Vratko Polak <vrpolak@cisco.com> (cherry picked from commit 27a56cad3679e4decbcca90acfb22c55a22153e0)
2019-01-28CSIT-1403 Implement multichain configuration for l2bd with memif/ip4.Peter Mikus4-114/+172
Change-Id: Ia87156b2ba826eb0a9a93d756b9765c7373ca6ce Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-01-28FIX: CPU util for NFPeter Mikus1-2/+5
- Fix detecting total allocable CPUs for NFs Change-Id: If3345518befb887655d3e162551c49df3163ed92 Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 15648d7c4f98cc90a406519362b0d7f548893859)
2019-01-24FIX: correct call of vpp_add_routeJan Gelety4-113/+141
Change-Id: I63a2b5f484ac627c020e30c9f01a868c57aacf42 Signed-off-by: Jan Gelety <jgelety@cisco.com> (cherry picked from commit 552491e8bcff9745b04fbdd92609351ec9597cdc)
2019-01-23Fix PyLint errorsTibor Frank12-156/+101
Change-Id: I5a369f4b9f9b478375fda4a634bf57cc9623e972 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 8bac97fb07e863573f5a2914058e1d23229d279b)
2019-01-23VPP_Device - add baseline tests - part IIb)Jan Gelety6-81/+245
CSIT-1372 Add following baseline tests to VPP_Device: - ip4 eth2p-ethip4-ip4base-eth-2memif-1dcr-dev - ip6 eth2p-ethip6-ip6base-eth-2memif-1dcr-dev - l2bd eth2p-eth-l2bdbasemaclrn-eth-2memif-1dcr-dev - l2xc eth2p-eth-l2xcbase-eth-2memif-1dcr-dev Change-Id: Ic4a3a01b62d800c528a9c9371891dcc26b875220 Signed-off-by: Jan Gelety <jgelety@cisco.com> (cherry picked from commit 5a53823d8a6e99072152654ac632bb06a6b467ac)
2019-01-21CSIT-1390 Implement multichain configuration for l2bd with vhost/l3fwd.Peter Mikus1-43/+182
Change-Id: I36ab0bc7c9eada4c3f7bb5cb8f53de7d267ff910 Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 88e6c1f979f530397a0743e4300d42faf9b538f5)
2019-01-15fix failing tests after namespace updates in HCMichal Cmarada2-22/+15
Change-Id: Idf7cbcf285ff130f771eb3878065e6daa869ac71 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-01-10CSIT-1362: migrate to package cloud for HC performance testsMichal Cmarada1-0/+115
Change-Id: I43f62ea97e432504eb4ece85744d7fd6ff426113 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-01-10VPP_Device - add baseline tests - part IIa)Jan Gelety4-15/+60
CSIT-1372 Add following baseline tests to VPP_Device: - ip4 eth2p-ethip4-ip4base-eth-2vhost-1vm-dev - ip6 eth2p-ethip6-ip6base-eth-2vhost-1vm-dev - l2bd eth2p-eth-l2bdbasemaclrn-eth-2vhost-1vm-dev - l2xc eth2p-eth-l2xcbase-eth-2vhost-1vm-dev + fix doc strings in all vpp_device tests Change-Id: Icc5ed801f3e8f6dedaa611779bd86fc20102fa74 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2019-01-10CSIT-1389 Refactor current keywords for multichaining - CNF (II)Peter Mikus2-48/+38
Change-Id: Ic6af8ebf59589bea66322fc87a33218c7dc0c132 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-01-09fix permissions for dut_setup.shMichal Cmarada1-0/+0
Change-Id: Ia11125e889a981a762c54281375a4e78159d8c69 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-01-09CSIT-1389 Refactor current keywords for multichaining - CNFPeter Mikus4-109/+107
- Add ability to create matrix of containers (chains x nodeness) - Change default Docker image to csit-dut - Use new resource mapping function Change-Id: Iaac0f2efc99146fbaef0b33dc71b38770610023d Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-01-08[V4] Add sending unidirectional traffic support for TG in CSITYulong Pei2-13/+121
Extend TG in CSIT to support to send unidirectional traffic, and then it can be used by unidirectional test cases e.g. Load balancer. Change-Id: Ie25bcdf7d4525a6d88d8ecd11a1b6d98275fa4d6 Signed-off-by: Yulong Pei <yulong.pei@intel.com>
2019-01-08CSIT-1387 Implement mapping functionPeter Mikus3-114/+134
Implement universal mapping function for placing the NF threads to cpu cores/threads. - Must be SMT aware. - Must work with N-core NF. - Must be DUT (vswtich) aware. - Must be deterministic. - Must use DTCR and MTCR parameters. Change-Id: I98b61861f85c5af7ecd856719b4adf2ba95c262f Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-01-04CSIT-1382 Create weekly/semiweekly job for vpp-devicePeter Mikus1-4/+5
- Update gather function Change-Id: If130b93fd8c9752bb804a8ecc53c1598e8669031 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-01-02VHOST vectors.Peter Mikus1-4/+7
Change-Id: I5e17c5ab5cb99af0ac3d063ffc911bf95457d3e4 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-12-19FIX: Avoid duplicated KW names in perf and func testsJan Gelety3-30/+30
Change-Id: I66c68edf6e26fa7baa7bdc5f5d60d4d4aa3af6b9 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-12-18FIX: do not use dump stats in IPv6 base testsJan Gelety1-5/+0
Change-Id: I9983b4aa1d6575f017bdfd69b6ab3b26206d9605 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-12-18Adding DMM build artifactssharath2-2/+50
Change-Id: Ia5153d8e716d506c85ec8b723331438efd66ab6a Signed-off-by: sharath <sharathkumarboyanapally@gmail.com>
2018-12-17FIX: Update PAPI to work with string changes in Python APIJan Gelety1-3/+4
Change-Id: I3b5f0568b5928cf12aaf2a555f52dd9809348579 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-12-11Delete old NDR/PDR keywordsVratko Polak1-376/+0
Change-Id: I932d46646408a030ffdeb78b3a3e19c39455750d Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-12-07VPP_Device - add baseline tests - part IJan Gelety4-183/+720
CSIT-1370 Add following baseline tests to VPP_Device: - ip4 eth2p-ethip4-ip4base-dev - ip6 eth2p-ethip6-ip6base-dev - l2bd eth2p-eth-l2bdbasemaclrn-dev Change-Id: Ic20000eb38c5511c27d020f3aa76b2620d7f7ef9 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-11-29FIX: VPP_Device - use vpp bionic packagesJan Gelety1-3/+10
Because there is already used ubuntu bionic on VPP device testbed and used download script from pacakgecloud site donwloads packages based on host OS we need additional file to store vpp bionic stable version for VPP_Device tests. Change-Id: If834dc8af7dffa19b8ddeae013c3da9b37a5a81a Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-11-27CSIT python API introductionJan Gelety5-12/+324
Jira: CSIT-1336 Change-Id: I96d2b0221c5a7466484a82339fc132c5921532d1 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-11-20Fix Acl Plugin tests after update of Acl modelsMichal Cmarada1-26/+10
Change-Id: I8c4090b508e28ae8f289e9dbbd5c72bbc3af4aca Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-11-08Add trigger fro DPDK testsTibor Frank1-0/+2
Change-Id: I214026c5df83778e87623770225e0fbb041ccc1c Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-11-08FIX: Ligato testsPeter Mikus1-1/+1
- Freeze stable sfc_controller version - Remove kafka connection - Add debug level outputs - Use mater branch instead of dev Change-Id: Icde06a741cae6393fe482a493eb214d015f145bf Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-10-29FIX: put base interafce up when creating VLAN sub-interfaceJan Gelety1-4/+16
Change-Id: I879d1a0f1e901c59c9e3fc061a8accd6f423ee0b Signed-off-by: Jan Gelety <jgelety@cisco.com>