diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2021-05-20 23:01:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 22:01:30 +0200 |
commit | 8fdebbe140bdd92d3c3086ac90a3f869f740b74d (patch) | |
tree | c070d5eba75806d5643a4204b305eb31ffffb589 /smoketest/scripts/cli/base_interfaces_test.py | |
parent | 9197a409876f9943032ac19834b5f04bdac6e00a (diff) | |
download | vyos-1x-8fdebbe140bdd92d3c3086ac90a3f869f740b74d.tar.gz vyos-1x-8fdebbe140bdd92d3c3086ac90a3f869f740b74d.zip |
vyos.util: T3532: Replace func get_interface_config
Replace function get_interface_config to
function get_interface_config, as we have
in 1.4 branch.
It need after this cherry-picked commit edcdea8
Diffstat (limited to 'smoketest/scripts/cli/base_interfaces_test.py')
-rw-r--r-- | smoketest/scripts/cli/base_interfaces_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/base_interfaces_test.py b/smoketest/scripts/cli/base_interfaces_test.py index 4e11c193a..87a572a56 100644 --- a/smoketest/scripts/cli/base_interfaces_test.py +++ b/smoketest/scripts/cli/base_interfaces_test.py @@ -29,7 +29,7 @@ from vyos.util import read_file from vyos.util import cmd from vyos.util import dict_search from vyos.util import process_named_running -from vyos.util import get_json_iface_options +from vyos.util import get_interface_config from vyos.validate import is_intf_addr_assigned from vyos.validate import is_ipv6_link_local @@ -353,7 +353,7 @@ class BasicInterfaceTest: for interface in self._interfaces: for vif_s in self._qinq_range: - tmp = get_json_iface_options(f'{interface}.{vif_s}') + tmp = get_interface_config(f'{interface}.{vif_s}') self.assertEqual(dict_search('linkinfo.info_data.protocol', tmp), '802.1ad') for vif_c in self._vlan_range: |