fix community
continuous-integration/drone/push Build is passing Details

This commit is contained in:
186526 2023-02-26 15:28:47 +08:00
parent 2034028718
commit 43e705ec07
2 changed files with 3 additions and 1 deletions

View File

@ -80,6 +80,7 @@
| ae-dxb1 | Dubai, AE | 601 | Edge | ✓ | | ae-dxb1 | Dubai, AE | 601 | Edge | ✓ |
| America | | America |
| us-iad1 | Ashburn, VA, US | 201 | Core | ✓ | | us-iad1 | Ashburn, VA, US | 201 | Core | ✓ |
| us-iad2 | Ashburn, VA, US | 201 | Edge | ✓ |
| us-sjc1 | Fremont, CA, US | 221 | Core | ✓ | | us-sjc1 | Fremont, CA, US | 221 | Core | ✓ |
| us-lax1 | Los Angeles, CA, US | 222 | Edge | ✓ | | us-lax1 | Los Angeles, CA, US | 222 | Edge | ✓ |
| us-sea1 | Seattle, CA, US | 223 | Core | ✓ | | us-sea1 | Seattle, CA, US | 223 | Core | ✓ |
@ -99,7 +100,7 @@
| cn-pek1 | Beijing, CN | 431 | Core | ✓ | | cn-pek1 | Beijing, CN | 431 | Core | ✓ |
| cn-pek2 | Beijing, CN | 431 | Edge | | cn-pek2 | Beijing, CN | 431 | Edge |
| cn-ctu1 | near Chengdu, China | 432 | Edge | ✓ | | cn-ctu1 | near Chengdu, China | 432 | Edge | ✓ |
| cn-can1 | Guangzhou, CN | 433 | Core | | | cn-can1 | Guangzhou, CN | 433 | Core | |
| cn-wuh1 | Wuhan, CN | 434 | Core | ✓ | | cn-wuh1 | Wuhan, CN | 434 | Core | ✓ |
| cn-wuh2 | Wuhan, CN | 434 | Edge | ✓ | | cn-wuh2 | Wuhan, CN | 434 | Edge | ✓ |
| cn-csx1 | Changsha, CN | 435 | Edge | | cn-csx1 | Changsha, CN | 435 | Edge |

View File

@ -55,6 +55,7 @@ function net186_export_filter(int POPID) {
if bgp_large_community !~ [(LOCAL_ASN, 120, *)] then bgp_large_community.add((LOCAL_ASN, 120, POP)); if bgp_large_community !~ [(LOCAL_ASN, 120, *)] then bgp_large_community.add((LOCAL_ASN, 120, POP));
if bgp_large_community !~ [(LOCAL_ASN, 121, *)] then bgp_large_community.add((LOCAL_ASN, 121, REGION)); if bgp_large_community !~ [(LOCAL_ASN, 121, *)] then bgp_large_community.add((LOCAL_ASN, 121, REGION));
if (LOCAL_ASN, 122, REGION) !~ bgp_large_community then bgp_large_community.add((LOCAL_ASN, 122, REGION));
return true; return true;
}; };