update anycast prefix status
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8928541045
commit
ea49153048
|
@ -1,6 +1,15 @@
|
|||
|
||||
define ANYCAST_POPS = [ 104, 201, 221, 241, 401, 411, 501, 402, 223 ];
|
||||
protocol static default_anycast {
|
||||
ipv6;
|
||||
route 2a06:a005:2980::/44 reject {
|
||||
bgp_large_community.add((200536, 0, 665));
|
||||
|
||||
if (POP !~ ANYCAST_POPS) then {
|
||||
bgp_large_community.add((200536, 1, 0));
|
||||
}
|
||||
if (POP ~ [ 221, 104, 402 ]) then {
|
||||
bgp_large_community.add((200536, 115, 1));
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue