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

Difficulty level
Normal (likely a few hours)
Version
1.5
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

jestabro changed the task status from Open to In progress.Aug 8 2024, 7:50 PM
jestabro changed the task status from In progress to Backport pending.Aug 12 2024, 7:16 PM
jestabro moved this task from Need Triage to Backport Candidates on the VyOS 1.5 Circinus board.