update anycast
parent
b50552c05b
commit
f8750cd414
|
@ -1,14 +1,13 @@
|
||||||
|
|
||||||
define ANYCAST_POPS = [ 104, 201, 202, 221, 241, 401, 411, 501, 402, 223 ];
|
define ANYCAST_POPS = [ 104, 201, 202, 221, 241, 401, 411, 501, 402, 223, 222 ];
|
||||||
protocol static default_anycast {
|
protocol static default_anycast {
|
||||||
ipv6;
|
ipv6;
|
||||||
route 2a06:a005:2980::/44 reject {
|
route 2a06:a005:2980::/44 reject {
|
||||||
bgp_large_community.add((200536, 0, 665));
|
bgp_large_community.add((200536, 0, 665));
|
||||||
|
|
||||||
if (POP !~ ANYCAST_POPS) then {
|
if (POP !~ ANYCAST_POPS) then {
|
||||||
bgp_large_community.add((200536, 1, 0));
|
bgp_large_community.add((200536, 1, 0));
|
||||||
}
|
}
|
||||||
if (POP ~ [ 221, 104, 402, 202 ]) then {
|
if (POP ~ [ 221, 104, 402, 202, 101 ]) then {
|
||||||
bgp_large_community.add((200536, 115, 1));
|
bgp_large_community.add((200536, 115, 1));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue