Page MenuHomeVyOS Platform

verify_interface_exists should not instantiate its own Config object
Closed, ResolvedPublicBUG

Description

Most of the standard verification functions of configverify.py take an argument config which in practice is the config_dict of the working config; verify_interface_exists instantiates its own Config object in ConfigTreeQuery, which provides results other than desired when (1) running under configd (2) at boot.

Change to use a standard config_dict object and investigate any issues revealed by the correction.

Details

Version
1.5
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

jestabro changed the task status from Open to In progress.Aug 8 2024, 7:50 PM
jestabro moved this task from Open to Backport Candidates on the VyOS 1.5 Circinus board.
jestabro changed the task status from Unknown Status to Resolved.Aug 19 2024, 4:13 PM
jestabro moved this task from Backport Candidates to Finished on the VyOS 1.4 Sagitta (1.4.1) board.