My Nix Configuration
1# DN42 Community Standard BGP Communities 2# See main lists here: https://dn42.dev/howto/BGP-communities 3{ 4 latency = { 5 "2.7ms" = 1; 6 "7.3ms" = 2; 7 "20ms" = 3; 8 "55ms" = 4; 9 "148ms" = 5; 10 "403ms" = 6; 11 "1097ms" = 7; 12 "2981ms" = 8; 13 "gt2981" = 9; 14 }; 15 bandwidth = { 16 "0.1mb" = 21; 17 "1mb" = 22; 18 "10mb" = 23; 19 "100mb" = 24; 20 "1000mb" = 25; 21 }; 22 crypto = { 23 unencrypted = 31; 24 unsafeVPN = 32; 25 safeNoPFS = 33; 26 safePFS = 34; 27 }; 28 region = { 29 europe = 41; 30 northAmericaEast = 42; 31 northAmericaCentral = 43; 32 northAmericaWest = 44; 33 centralAmerica = 45; 34 southAmericaEast = 46; 35 southAmericaWest = 47; 36 africaNorth = 48; 37 africaSouth = 49; 38 asiaSouth = 50; 39 asiaSouthEast = 51; 40 asiaEast = 52; 41 pacificOceania = 53; 42 antarctica = 54; 43 asiaNorth = 55; 44 asiaWest = 56; 45 centralAsia = 57; 46 }; 47 country = { 48 canada = 1124; 49 china = 1156; 50 taiwan = 1158; 51 france = 1250; 52 germany = 1276; 53 hongKong = 1344; 54 japan = 1392; 55 netherlands = 1528; 56 norway = 1578; 57 russianFederation = 1643; 58 singapore = 1702; 59 switzerland = 1756; 60 unitedKingdom = 1826; 61 unitedStatesOfAmerica = 1840; 62 }; 63}