summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/base_accel_ppp_test.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-09 09:29:52 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-06-10 11:50:33 +0000
commit66af3962fa79e86ca2933289f273ccad08748eab (patch)
tree614923e96f8eb04bb644f392eea7482e23630409 /smoketest/scripts/cli/base_accel_ppp_test.py
parentc55422db607efe7b62c863c31a1e8516d57f8e0f (diff)
downloadvyos-1x-66af3962fa79e86ca2933289f273ccad08748eab.tar.gz
vyos-1x-66af3962fa79e86ca2933289f273ccad08748eab.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 (cherry picked from commit e318eb33446de47835480d4b8f1646b39fb5c388)
Diffstat (limited to 'smoketest/scripts/cli/base_accel_ppp_test.py')
-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