diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2016-10-30 19:50:26 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2016-11-28 16:18:35 -0200 |
| commit | 661512bf053ecc3d441bb8938dcd4541ae7ffc33 (patch) | |
| tree | 01233125543e939ed1e5bd23c050509755c5db50 /tests/lib/cli/test_commands.py | |
| parent | 05e8e11e54a38cb9d6ed9c2522b557231197b1bc (diff) | |
zebra/lib: remove redundant fields from zebra_vrf
There's no need to duplicate the 'vrf_id' and 'name' fields from the 'vrf'
structure into the 'zebra_vrf' structure. Instead of that, add a back
pointer in 'zebra_vrf' that should point to the associated 'vrf' structure.
Additionally, modify the vrf callbacks to pass the whole vrf structure
as a parameter. This allow us to make further simplifications in the code.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'tests/lib/cli/test_commands.py')
0 files changed, 0 insertions, 0 deletions
