remove dn42

This commit is contained in:
2026-06-11 13:53:26 +08:00
parent 42fd9fcae4
commit b24d146845
16 changed files with 10 additions and 232 deletions

View File

@@ -1,47 +0,0 @@
template bgp dn42_up0_new {
graceful restart;
local as DN42_ASN;
ipv4 {
table dn42v4;
import filter {if !function_dn42_bgp_import_from_upstream() then reject; accept; };
export filter {if !function_dn42_bgp_export_to_upstream0() then reject; accept; };
};
ipv6 {import none;export none;};
}
template bgp dn42_up1_new {
graceful restart;
local as DN42_ASN;
ipv4 {
table dn42v4;
import filter {if !function_dn42_bgp_import_from_upstream() then reject; accept; };
export filter {if !function_dn42_bgp_export_to_upstream1() then reject; accept; };
};
ipv6 {import none;export none;};
}
template bgp dn42_ds {
graceful restart;
local as DN42_ASN;
ipv4 {
table dn42v4;
import filter {if !function_inet6_downstream_import() then reject; accept; };
export filter {if !function_inet6_downstream_export() then reject; accept; };
};
ipv6 {import none;export none;};
}
template bgp dn42_ibgp_new {
graceful restart;
local as DN42_ASN;
med metric;
direct;
ipv4 {
table dn42v4;
next hop self;
gateway direct;
import filter {if !function_dn42_ibgp_import() then reject; accept; };
export filter {if !function_dn42_ibgp_export() then reject; accept; };
};
ipv6 {import none;export none;};
}