mirror of https://gerrit.hackerspace.pl/hscloud
Merge "bgpwtf: edge01: fix ipv4 static routing for customers"
commit
eed9afe210
|
@ -191,7 +191,10 @@ in rec {
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
v4."internet_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "internet" "";
|
v4."internet_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "internet" "";
|
||||||
v4."aggregate_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "aggregate" "";
|
v4."aggregate_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "aggregate" ''
|
||||||
|
# Static v4 routes for customers.
|
||||||
|
if proto ~ "static_static_ipv4_customer_*" then accept;
|
||||||
|
'';
|
||||||
v6."internet_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "internet" "";
|
v6."internet_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "internet" "";
|
||||||
v6."aggregate_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "aggregate" ''
|
v6."aggregate_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "aggregate" ''
|
||||||
# Static v6 routes for customers.
|
# Static v6 routes for customers.
|
||||||
|
|
Loading…
Reference in New Issue