forked from hswaw/hscloud
Merge "bgpwtf: edge01: fix ipv4 static routing for customers"
This commit is contained in:
commit
eed9afe210
1 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue