X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=resources%2Flibraries%2Fpython%2FConstants.py;h=0473ca2090deb50eac80d559315f8cb9fefdb84f;hb=a4c6a63b84f537b3ae660eab7d2a96ffb7740514;hp=cb66a5d8d5d62a93048ee44cb3fa7c9a8244dbb6;hpb=533fcfe3d177447aee7a3dca5f0d7a5f06d70377;p=csit.git diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py index cb66a5d8d5..0473ca2090 100644 --- a/resources/libraries/python/Constants.py +++ b/resources/libraries/python/Constants.py @@ -61,12 +61,21 @@ class Constants(object): # QEMU VM kernel image path QEMU_VM_KERNEL = '/opt/boot/vmlinuz' + # QEMU VM kernel initrd path + QEMU_VM_KERNEL_INITRD = '/opt/boot/initrd.img' + # QEMU VM nested image path QEMU_VM_IMAGE = '/var/lib/vm/vhost-nested.img' # QEMU VM DPDK path QEMU_VM_DPDK = '/opt/dpdk-19.02' + # Docker container SUT image + DOCKER_SUT_IMAGE_UBUNTU = 'snergster/csit-sut:latest' + + # Docker container arm SUT image + DOCKER_SUT_IMAGE_UBUNTU_ARM = 'snergster/csit-arm-sut:latest' + # TRex install version TREX_INSTALL_VERSION = '2.54' @@ -97,8 +106,8 @@ class Constants(object): # Equivalent to ~0 used in vpp code BITWISE_NON_ZERO = 0xffffffff - # Maximum number of API calls per PapiExecutor execution - PAPI_MAX_API_BULK = 250 + # Default path to VPP API socket. + SOCKSVR_PATH = "/run/vpp/api.sock" # Mapping from NIC name to its bps limit. # TODO: Implement logic to lower limits to TG NIC or software. Or PCI.