Merge "bgpwtf: edge01: fix ipv4 static routing for customers"

This commit is contained in:
q3k 2021-09-10 22:45:41 +00:00 committed by Gerrit Code Review
commit eed9afe210

View file

@ -191,7 +191,10 @@ in rec {
};
in {
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."aggregate_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "aggregate" ''
# Static v6 routes for customers.