tests: replace pycodestyle with black
[vpp.git] / extras / vpp_config / vpplib / constants.py
1 # Copyright (c) 2016 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     # QEMU version to install
33     QEMU_INSTALL_VERSION = "qemu-2.5.0"
34
35     # QEMU install directory
36     QEMU_INSTALL_DIR = "/opt/qemu-2.5.0"
37
38     # Honeycomb directory location at topology nodes:
39     REMOTE_HC_DIR = "/opt/honeycomb"
40
41     # Honeycomb persistence files location
42     REMOTE_HC_PERSIST = "/var/lib/honeycomb/persist"
43
44     # Honeycomb templates location
45     RESOURCES_TPL_HC = "resources/templates/honeycomb"
46
47     # ODL Client Restconf listener port
48     ODL_PORT = 8181