summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-12 21:25:10 +0200
committerChristian Breunig <christian@breunig.cc>2023-07-12 21:26:25 +0200
commitac60fe7d1840b8768542ee4b3f28f46544c290f2 (patch)
tree37a62d5dbdefe67b0050846a388e9949f1a14da2 /src/conf_mode
parent4e2a087cc7e91a510dd590f7cc761e36ac8f77f8 (diff)
downloadvyos-1x-ac60fe7d1840b8768542ee4b3f28f46544c290f2.tar.gz
vyos-1x-ac60fe7d1840b8768542ee4b3f28f46544c290f2.zip
T5195: drop sysctl_* implementation from vyos.util - prefer vyos.utils.system
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/protocols_mpls.py2
-rwxr-xr-xsrc/conf_mode/system-ip.py2
-rwxr-xr-xsrc/conf_mode/system-ipv6.py2
-rwxr-xr-xsrc/conf_mode/vrf.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/conf_mode/protocols_mpls.py b/src/conf_mode/protocols_mpls.py
index 73af6595b..bb982c5fc 100755
--- a/src/conf_mode/protocols_mpls.py
+++ b/src/conf_mode/protocols_mpls.py
@@ -23,7 +23,7 @@ from vyos.config import Config
from vyos.template import render_to_string
from vyos.util import dict_search
from vyos.util import read_file
-from vyos.util import sysctl_write
+from vyos.utils.system import sysctl_write
from vyos.configverify import verify_interface_exists
from vyos import ConfigError
from vyos import frr
diff --git a/src/conf_mode/system-ip.py b/src/conf_mode/system-ip.py
index 95865c690..b2225d665 100755
--- a/src/conf_mode/system-ip.py
+++ b/src/conf_mode/system-ip.py
@@ -22,8 +22,8 @@ from vyos.configverify import verify_route_map
from vyos.template import render_to_string
from vyos.util import call
from vyos.util import dict_search
-from vyos.util import sysctl_write
from vyos.util import write_file
+from vyos.utils.system import sysctl_write
from vyos.xml import defaults
from vyos import ConfigError
from vyos import frr
diff --git a/src/conf_mode/system-ipv6.py b/src/conf_mode/system-ipv6.py
index b6d3a79c3..60ebc8006 100755
--- a/src/conf_mode/system-ipv6.py
+++ b/src/conf_mode/system-ipv6.py
@@ -22,7 +22,7 @@ from vyos.configdict import dict_merge
from vyos.configverify import verify_route_map
from vyos.template import render_to_string
from vyos.util import dict_search
-from vyos.util import sysctl_write
+from vyos.utils.system import sysctl_write
from vyos.util import write_file
from vyos.xml import defaults
from vyos import ConfigError
diff --git a/src/conf_mode/vrf.py b/src/conf_mode/vrf.py
index 0b983293e..2871f8527 100755
--- a/src/conf_mode/vrf.py
+++ b/src/conf_mode/vrf.py
@@ -32,7 +32,7 @@ from vyos.util import dict_search
from vyos.util import get_interface_config
from vyos.util import popen
from vyos.util import run
-from vyos.util import sysctl_write
+from vyos.utils.system import sysctl_write
from vyos import ConfigError
from vyos import frr
from vyos import airbag