Page MenuHomeVyOS Platform

Raise an error when trying to get information about network interfaces that don't exist
Open, LowPublic

Description

vyos@vyos# sudo /usr/libexec/vyos/op_mode/interfaces.py show --raw --intf-name eth999
[]

Right now that produces empty output but no error, so a script/API client won't blow up when a request is wrong.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change
Issue type
Behavior change