summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-09 09:29:52 +0200
committerChristian Breunig <christian@breunig.cc>2024-06-10 10:29:18 +0200
commite318eb33446de47835480d4b8f1646b39fb5c388 (patch)
treed29cced9bb4b0c60fc655f21a77f3b1631048dac /smoketest
parent82607438d6df5291c581d802c7a2a98eabe084ff (diff)
downloadvyos-1x-e318eb33446de47835480d4b8f1646b39fb5c388.tar.gz
vyos-1x-e318eb33446de47835480d4b8f1646b39fb5c388.zip
vyos.utils: T5195: import vyos.cpu to this package
The intention of vyos.utils package is to have a common ground for repeating actions/helpers. This is also true for number of CPUs and their respective core count. Move vyos.cpu to vyos.utils.cpu
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/scripts/cli/base_accel_ppp_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/base_accel_ppp_test.py b/smoketest/scripts/cli/base_accel_ppp_test.py
index 212dc58ab..c6f6cb804 100644
--- a/smoketest/scripts/cli/base_accel_ppp_test.py
+++ b/smoketest/scripts/cli/base_accel_ppp_test.py
@@ -19,7 +19,7 @@ from configparser import ConfigParser
from vyos.configsession import ConfigSessionError
from vyos.template import is_ipv4
-from vyos.cpu import get_core_count
+from vyos.utils.cpu import get_core_count
from vyos.utils.process import process_named_running
from vyos.utils.process import cmd