diff options
| author | Chirag Shah <chirag@cumulusnetworks.com> | 2020-08-06 11:18:42 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@cumulusnetworks.com> | 2020-08-07 15:23:27 -0700 |
| commit | a446dc589bbf47ab36712f6204c0292ddc8c5377 (patch) | |
| tree | f72f1117eab7dfab1ce6f6f30197abeffc517d8e /python/makevars.py | |
| parent | cd211e2049e672d96dd1c549fcd259f68e0d57ea (diff) | |
zebra: fix crash in vrf-vni mapping
As part of PR 6758 vrf vni converted to transactional cli.
Handle a scenario where vrf is not created yet (inactive) and vni
is mapped to the inactive vrf.
Testing Done:
bharat(config-vrf)# do show vrf
vrf vrf1 id 11 table 1001
vrf vrf5 inactive (configured)
bharat(config)# vrf vrf5
bharat(config-vrf)# vni 5005
bharat(config-vrf)# do show vrf vni
VRF VNI VxLAN IF L3-SVI State Rmac
vrf5 5005 None None Down None
bharat(config-vrf)# no vni 5005
bharat(config-vrf)# do show vrf vni
VRF VNI VxLAN IF L3-SVI State Rmac
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'python/makevars.py')
0 files changed, 0 insertions, 0 deletions
