Page MenuHomeVyOS Platform

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

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

Version
-
Is it a breaking change?
Behavior change
Issue type
Feature (new functionality)