Ariadne Conill
aee2d45e18
static: use ip addr|route flush instead of manually deleting matching routes
...
This ensures we wind up with a clean slate for the interface or VRF when taking
interfaces/VRFs down.
Closes #149 .
2021-04-22 01:43:12 -06:00
Maximilian Wilhelm
4a8230f916
tests: Update static executor test to reflect latest change.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 04:49:46 +02:00
Maximilian Wilhelm
6dc43a2bb4
Let's use "point-to-point" and map "pointopoint" to it.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 04:03:27 +02:00
Maximilian Wilhelm
67163c6561
static executor: Add support for IPv4 'pointopoint' addresses.
...
Closes #96
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-03 20:38:40 +02:00
Ariadne Conill
74b6f9487c
static: always associate default routes with $IFACE
...
Hetzner uses link-local addressing for their default IPv6 route,
accordingly we should specify the device a route is associated with
so that it will use the correct interface.
Thanks to Devin Brown for reporting this issue.
2020-10-02 15:44:46 -06:00
Ariadne Conill
ce07e1ff1f
static: add support for the metric property
2020-08-20 04:40:38 -06:00
Ariadne Conill
9caffc01c2
static executor: if vrf-table is set, apply the static route to a specific table
2020-08-20 02:59:43 -06:00
Ariadne Conill
83440e3f88
tests: add static executor tests
2020-07-26 04:11:17 -06:00