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_macsec.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_macsec.py')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_macsec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_macsec.py b/smoketest/scripts/cli/test_interfaces_macsec.py index 2f1898b6f..31071a0f7 100755 --- a/smoketest/scripts/cli/test_interfaces_macsec.py +++ b/smoketest/scripts/cli/test_interfaces_macsec.py @@ -25,7 +25,7 @@ from vyos.configsession import ConfigSessionError from vyos.ifconfig import Section from vyos.util import cmd from vyos.util import read_file -from vyos.util import get_json_iface_options +from vyos.util import get_interface_config from vyos.util import process_named_running def get_config_value(interface, key): @@ -34,7 +34,7 @@ def get_config_value(interface, key): return tmp[0] def get_cipher(interface): - tmp = get_json_iface_options(interface) + tmp = get_interface_config(interface) return tmp['linkinfo']['info_data']['cipher_suite'].lower() class MACsecInterfaceTest(BasicInterfaceTest.BaseTest): |