diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2016-10-29 22:44:06 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2016-11-28 16:18:35 -0200 |
| commit | 05e8e11e54a38cb9d6ed9c2522b557231197b1bc (patch) | |
| tree | 25a46023e3240694d6467f71335b14703a330fbe /tests/lib/cli/test_commands.py | |
| parent | a62c490110765542690860776f44628657a86169 (diff) | |
lib/zebra: put vrf_get() on a diet
Also, for some reason we had two functions to search a VRF by its name:
zebra_vrf_lookup_by_name() and zebra_vrf_list_lookup_by_name(). The first
one would loop through vrf_table and the other one through vrf_list. This
is not necessary anymore, so remove zebra_vrf_lookup_by_name() and rename
zebra_vrf_list_lookup_by_name() to zebra_vrf_lookup_by_name().
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'tests/lib/cli/test_commands.py')
0 files changed, 0 insertions, 0 deletions
