Page MenuHomeVyOS Platform

op-mode should raise error on show_fdb for nonexistent bridge interface
Closed, ResolvedPublicBUG


In the case of non-existent bridge interface, the command, called by _get_raw_data_fdb, called by show_fdb:

sudo bridge --json fdb show br {bridge}

will return exit code -1. The source code for iproute2 'show_fdb' reveals that this is the only condition to return -1 for that command, consequently we can unambiguously raise the op-mode error 'UnconfiguredSubsystem' in this case.


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

jestabro changed the task status from Open to In progress.Sep 6 2022, 5:22 PM
jestabro triaged this task as Normal priority.
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
jestabro moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.