summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_protocols_static.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-14 11:12:07 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-14 14:46:01 +0100
commit7d67e8609471b6a5c9761a99301f368bd6747e13 (patch)
tree1425013d29db56847e4ca642018d2edde234afcb /smoketest/scripts/cli/test_protocols_static.py
parent007284ed9333ae65f7355ac49631965fef76a1db (diff)
downloadvyos-1x-7d67e8609471b6a5c9761a99301f368bd6747e13.tar.gz
vyos-1x-7d67e8609471b6a5c9761a99301f368bd6747e13.zip
vyos.util: rename get_json_iface_options() -> get_interface_config()
Diffstat (limited to 'smoketest/scripts/cli/test_protocols_static.py')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_static.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_protocols_static.py b/smoketest/scripts/cli/test_protocols_static.py
index e68b86024..28ae5e2dd 100755
--- a/smoketest/scripts/cli/test_protocols_static.py
+++ b/smoketest/scripts/cli/test_protocols_static.py
@@ -21,7 +21,7 @@ from vyos.configsession import ConfigSession
from vyos.configsession import ConfigSessionError
from vyos.template import is_ipv6
from vyos.util import cmd
-from vyos.util import get_json_iface_options
+from vyos.util import get_interface_config
base_path = ['protocols', 'static']
vrf_path = ['protocols', 'vrf']
@@ -340,7 +340,7 @@ class StaticRouteTest(unittest.TestCase):
self.session.commit()
for vrf, vrf_config in vrfs.items():
- tmp = get_json_iface_options(vrf)
+ tmp = get_interface_config(vrf)
# Compare VRF table ID
self.assertEqual(tmp['linkinfo']['info_data']['table'], int(vrf_config['table']))