From 46efda9bd3a32cfe9944cb421ae3e2a3978bf9fc Mon Sep 17 00:00:00 2001 From: "juraj.linkes" Date: Thu, 31 Jan 2019 15:32:24 +0100 Subject: CSIT-1477: add 1n_tx2 VPP Device - add 1n_tx2 testbed - update VF reservation to meet 1n_tx2 testbed needs - update ansible with 1n_tx2 Change-Id: Ia075a913d4859f537fd0e6bff731ea88aff01dd9 Signed-off-by: juraj.linkes --- resources/libraries/python/Constants.py | 3 +++ resources/libraries/python/ContainerUtils.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'resources/libraries/python') diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py index cb66a5d8d5..877fc25012 100644 --- a/resources/libraries/python/Constants.py +++ b/resources/libraries/python/Constants.py @@ -67,6 +67,9 @@ class Constants(object): # QEMU VM DPDK path QEMU_VM_DPDK = '/opt/dpdk-19.02' + # Docker container SUT image + DOCKER_SUT_IMAGE_UBUNTU = 'snergster/csit-sut:latest' + # TRex install version TREX_INSTALL_VERSION = '2.54' diff --git a/resources/libraries/python/ContainerUtils.py b/resources/libraries/python/ContainerUtils.py index 7d04b06fba..228648921a 100644 --- a/resources/libraries/python/ContainerUtils.py +++ b/resources/libraries/python/ContainerUtils.py @@ -784,7 +784,8 @@ class Docker(ContainerEngine): return if not self.container.image: - setattr(self.container, 'image', 'snergster/csit-sut:latest') + setattr(self.container, 'image', + Constants.DOCKER_SUT_IMAGE_UBUNTU) cmd = 'docker pull {image}'.format(image=self.container.image) -- cgit 1.2.3-korg