update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-03-14 23:06:59 +08:00
parent 25a30bb2a8
commit d8d7fa32f7
2 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,6 @@
function pub_route_controller_specific() {
if 4837 ~ bgp_path && (200536, 120, 221) ~ bgp_large_community && REGION ~ [200..299] then bgp_local_pref = 114514;
if 4134 ~ bgp_path && (200536, 120, 222) ~ bgp_large_community && REGION ~ [200..299] then bgp_local_pref = 114514;
if 58453 ~ bgp_path && 2914 ~ bgp_path && (200536, 120, 401) ~ bgp_large_community then bgp_local_pref = 114514;
if 174 ~ bgp_path && 4837 ~ bgp_path && (200536, 120, 101) ~ bgp_large_community && REGION = 100 then bgp_local_pref = 114514;
if REGION = 400 && (200536, 121, 500) ~ bgp_large_community && (200536, 122, 410) ~ bgp_large_community then bgp_local_pref = bgp_local_pref + 6;