a0a427af4e1eafaf460f9a2da5f8d3c0ce0ea332
[csit.git] / resources / libraries / python / constants.py
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 """Constants used in CSIT."""
15
16
17 class Constants(object):
18     """Constants used in CSIT."""
19
20     # OpenVPP testing directory location at topology nodes
21     REMOTE_FW_DIR = '/tmp/openvpp-testing'
22
23     # shell scripts location
24     RESOURCES_LIB_SH = 'resources/libraries/bash'
25
26     # vat templates location
27     RESOURCES_TPL_VAT = 'resources/templates/vat'
28
29     # OpenVPP VAT binary name
30     VAT_BIN_NAME = 'vpp_api_test'
31
32     # VPP service unit name
33     VPP_UNIT = 'vpp'
34
35     # QEMU version to install
36     QEMU_INSTALL_VERSION = 'qemu-2.11.2'
37
38     # QEMU install directory
39     QEMU_INSTALL_DIR = '/opt/qemu-2.11.2'
40
41     # TRex install version
42     TREX_INSTALL_VERSION = '2.35'
43
44     # TRex install directory
45     TREX_INSTALL_DIR = '/opt/trex-core-2.35'
46
47     # Kubernetes templates location
48     RESOURCES_TPL_K8S = 'resources/templates/kubernetes'
49
50     # Honeycomb directory location at topology nodes:
51     REMOTE_HC_DIR = '/opt/honeycomb'
52
53     # Honeycomb persistence files location
54     REMOTE_HC_PERSIST = '/var/lib/honeycomb/persist'
55
56     # Honeycomb log file location
57     REMOTE_HC_LOG = '/var/log/honeycomb/honeycomb.log'
58
59     # Honeycomb templates location
60     RESOURCES_TPL_HC = 'resources/templates/honeycomb'
61
62     # ODL Client Restconf listener port
63     ODL_PORT = 8181