Actions
Bug #8846
closed
MH
JP
Misleading error message when adding/editing static routes which use a gateway on a disabled interface
Bug #8846:
Misleading error message when adding/editing static routes which use a gateway on a disabled interface
Start date:
08/28/2018
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
23.09
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:
All
Description
I was adding static route on disabled interface and got the following message:
As you can see from the message itself, network and gateway are in the same family. I've tracked that down to the skipping of disabled interfaces in return_gateways_array function.
Possible solutions:
The following input errors were detected: The gateway "10.66.0.99" is a different Address Family than network "10.66.10.0".
As you can see from the message itself, network and gateway are in the same family. I've tracked that down to the skipping of disabled interfaces in return_gateways_array function.
Possible solutions:
- change error message to something like: "The gateway "10.66.0.99" is a different Address Family than network "10.66.10.0" or interface disabled"
- remove skipping of disabled interfaces
- automatically disable gateways on disabled interfaces
Actions