From ac60fe7d1840b8768542ee4b3f28f46544c290f2 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Wed, 12 Jul 2023 21:25:10 +0200 Subject: T5195: drop sysctl_* implementation from vyos.util - prefer vyos.utils.system --- src/conf_mode/protocols_mpls.py | 2 +- src/conf_mode/system-ip.py | 2 +- src/conf_mode/system-ipv6.py | 2 +- src/conf_mode/vrf.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/conf_mode') 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 -- cgit v1.2.3