diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-01-04 12:05:50 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-01-04 12:05:50 +0000 |
commit | b1004dcd24ba09d51eae2aaabd80b316275d8f88 (patch) | |
tree | 31973ea4698c512796d21556a3f185171dbc228f /interface-definitions/qos.xml.in | |
parent | f5af95be4f66380d213771b975c63361e27616ef (diff) | |
download | vyos-1x-b1004dcd24ba09d51eae2aaabd80b316275d8f88.tar.gz vyos-1x-b1004dcd24ba09d51eae2aaabd80b316275d8f88.zip |
T1237: Fix failover route install route with diff metrics
If there is no route in the routing table (requires install route)
it checks routing table and returns best route None
But if we have 2 routes to the same dest ip but with different
metrics it doesn't get None (not first route install)
It cause that bast metric route cannot be installed (wrong logic)
Add func "is_route_exists" and check route/gateway/metric for
the required route
Diffstat (limited to 'interface-definitions/qos.xml.in')
0 files changed, 0 insertions, 0 deletions