diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-14 11:12:07 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-14 14:46:01 +0100 |
commit | 7d67e8609471b6a5c9761a99301f368bd6747e13 (patch) | |
tree | 1425013d29db56847e4ca642018d2edde234afcb /smoketest/scripts/cli/test_interfaces_vxlan.py | |
parent | 007284ed9333ae65f7355ac49631965fef76a1db (diff) | |
download | vyos-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_interfaces_vxlan.py')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_vxlan.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_vxlan.py b/smoketest/scripts/cli/test_interfaces_vxlan.py index b66315c5e..2a04b0477 100755 --- a/smoketest/scripts/cli/test_interfaces_vxlan.py +++ b/smoketest/scripts/cli/test_interfaces_vxlan.py @@ -18,7 +18,7 @@ import unittest from vyos.configsession import ConfigSession from vyos.ifconfig import Interface -from vyos.util import get_json_iface_options +from vyos.util import get_interface_config from base_interfaces_test import BasicInterfaceTest @@ -52,7 +52,7 @@ class VXLANInterfaceTest(BasicInterfaceTest.BaseTest): ttl = 20 for interface in self._interfaces: - options = get_json_iface_options(interface) + options = get_interface_config(interface) vni = options['linkinfo']['info_data']['id'] self.assertIn(f'vni {vni}', self._options[interface]) |