Page MenuHomeVyOS Platform

Config edit level affecting the show_config() function
Open, LowPublicBUG


There are three places, where used show_config() function. This function should return the config at a given path.
But commands generated by this function looks like:

/bin/cli-shell-api showConfig --show-active-only path
/bin/cli-shell-api showConfig --show-working-only path

Therefore, it works properly only outside configuration sessions or when the edit level is root. In other cases, it uses the current edit level as root, so the output is not as expected.
We should use the --show-ignore-edit option with this command to fix this.


Difficulty level
Normal (likely a few hours)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 8:00 AM
erkin removed a subscriber: Active contributors.