diff options
author | Christian Breunig <christian@breunig.cc> | 2025-04-04 21:29:59 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-04-04 21:42:20 +0200 |
commit | 330af6a781e9a83dcfd2721011a7acc1bf47caed (patch) | |
tree | 1f4a80a70a3a54fe98769b24bdaf4e86cc5516db /libvyosconfig | |
parent | 85d44fbe2befb4789a38996ea899dec57c40a29a (diff) | |
download | vyos-1x-330af6a781e9a83dcfd2721011a7acc1bf47caed.tar.gz vyos-1x-330af6a781e9a83dcfd2721011a7acc1bf47caed.zip |
frrender: T7273: always start from the configs root level
Working on T7273 revealed that when committing the following CLI config
"set interfaces vxlan vxlan0 parameters neighbor-suppress" the CLI level
queried via conf.get_level() was at ['interfaces', 'vxlan'].
This had the side effect that queries on the configuration like:
conf.exists(['protocols', 'bgp']) returned False, as it would look accidently
at the level: ['interfaces', 'vxlan', 'protocols', 'bgp']
This error was there from the beginning of the FRRender class implementation.
Diffstat (limited to 'libvyosconfig')
0 files changed, 0 insertions, 0 deletions