Upgrade autogen to NICs and search types
[csit.git] / tests / kubernetes / perf / __init__.robot
1 # Copyright (c) 2018 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 *** Settings ***
15 | Variables | resources/libraries/python/topology.py
16 | Library | resources.libraries.python.CpuUtils
17 | Library | resources.libraries.python.DUTSetup
18 | Library | resources.libraries.python.InterfaceUtil
19 | Library | resources.libraries.python.KubernetesUtils
20 | Library | resources.libraries.python.NodePath
21 | Library | resources.libraries.python.SchedUtils
22 | Library | resources.libraries.python.SetupFramework
23 | Library | resources.libraries.python.SetupFramework.CleanupFramework
24 | Library | resources.libraries.python.topology.Topology
25 | Library | Collections
26 | Suite Setup | Run Keywords | Setup performance global Variables
27 | ...         | AND          | Setup Framework | ${nodes}
28 | ...         | AND          | Load Docker image on all duts | ${nodes}
29 | ...                        | ${dcr_image}
30 | ...         | AND          | Setup Kubernetes on all duts | ${nodes}
31 | ...         | AND          | Get CPU Layout from all nodes | ${nodes}
32 | ...         | AND          | Update all numa nodes | ${nodes}
33 | ...                        | skip_tg=${True}
34 | ...         | AND          | Update NIC interface names on all duts | ${nodes}
35 | Suite Teardown | Run Keywords | Destroy Kubernetes on all duts | ${nodes}
36 | ...            | AND          | Cleanup Framework | ${nodes}
37
38 *** Keywords ***
39 | Setup performance global Variables
40 | | [Documentation]
41 | | ... | Setup suite Variables. Variables are used across performance testing.
42 | | ...
43 | | ... | _NOTE:_ This KW sets following suite variables:
44 | | ... | - dcr_image - vpp-agent docker image
45 | | ... | - pkt_trace - Switch to enable packet trace for test
46 | | ... | - dut_stats - Switch to enable DUT statistics
47 | | ... | - uio_driver - Default UIO driver
48 | | ... | - plugins_to_enable - List of plugins to be enabled for test
49 | | ...
50 | | Set Global Variable | ${dcr_image}
51 | | ... | /tmp/openvpp-testing/download_dir/prod_vpp_agent.tar.gz
52 | | Set Global Variable | ${pkt_trace} | ${False}
53 | | Set Global Variable | ${dut_stats} | ${False}
54 | | @{plugins_to_enable}= | Create List | dpdk_plugin.so
55 | | Set Global Variable | @{plugins_to_enable}