更新了分库分表配置

This commit is contained in:
2026-01-26 11:20:16 +08:00
parent 2d1eb76608
commit f093da11d4
10 changed files with 88 additions and 105 deletions

View File

@@ -16,12 +16,21 @@ protocol kernel kernel_inet4_102 {
};
};
protocol pipe inet6_sync_to_master6 {
table inet6;
peer table master6;
export filter {
if bgp_large_community ~ [(LOCAL_ASN, 3,*)] then reject;
accept;
protocol kernel kernel_inet6_102 {
scan time 20;
kernel table 102;
ipv6 {
table inet6;
import none;
export filter {
if source = RTS_STATIC then reject;
if bgp_large_community ~ [(LOCAL_ASN, 3,*)] then reject;
if !is_bogon_prefix() then {
krt_prefsrc = LOCAL_V6_kernel;
accept;
}
reject;
};
};
import none;
}
};