diff options
author | Christian Breunig <christian@breunig.cc> | 2024-12-11 21:35:54 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-12-16 22:24:50 +0100 |
commit | 4d0774e534766d70961975933635e6c54dcc1982 (patch) | |
tree | 91d055721c998d27f425e60519ba5ca9014725e7 /python | |
parent | 147751ec59527800e956b7ea689805ba80769abe (diff) | |
download | vyos-1x-4d0774e534766d70961975933635e6c54dcc1982.tar.gz vyos-1x-4d0774e534766d70961975933635e6c54dcc1982.zip |
vrf: T6746: bugfix change of VNI
VNI was always retrieved via effective configuration and not active
configuration.
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/configdict.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/configdict.py b/python/vyos/configdict.py index 9522d8fcc..fb6365060 100644 --- a/python/vyos/configdict.py +++ b/python/vyos/configdict.py @@ -1100,8 +1100,8 @@ def get_frrender_dict(conf, argv=None) -> dict: vrf['name'][vrf_name]['protocols'].update({'static': {'deleted' : ''}}) vrf_vni_path = ['vrf', 'name', vrf_name, 'vni'] - if conf.exists_effective(vrf_vni_path): - vrf_config.update({'vni': conf.return_effective_value(vrf_vni_path)}) + if conf.exists(vrf_vni_path): + vrf_config.update({'vni': conf.return_value(vrf_vni_path)}) dict.update({'vrf' : vrf}) elif conf.exists_effective(vrf_cli_path): |