diff options
author | Christian Breunig <christian@breunig.cc> | 2024-06-09 09:29:52 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-06-10 11:50:33 +0000 |
commit | 66af3962fa79e86ca2933289f273ccad08748eab (patch) | |
tree | 614923e96f8eb04bb644f392eea7482e23630409 /src/conf_mode | |
parent | c55422db607efe7b62c863c31a1e8516d57f8e0f (diff) | |
download | vyos-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 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/container.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/container.py b/src/conf_mode/container.py index 3efeb9b40..0ce528045 100755 --- a/src/conf_mode/container.py +++ b/src/conf_mode/container.py @@ -29,7 +29,7 @@ from vyos.configdict import node_changed from vyos.configdict import is_node_changed from vyos.configverify import verify_vrf from vyos.ifconfig import Interface -from vyos.cpu import get_core_count +from vyos.utils.cpu import get_core_count from vyos.utils.file import write_file from vyos.utils.process import call from vyos.utils.process import cmd |