commit
c900f2878d
4 changed files with 16 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ All notable changes to this project are documented here. The project follows
|
|||
## [Unreleased]
|
||||
|
||||
- DKNOG in Copenhagen joins the conference calendar every March.
|
||||
- A PNI in the customer’s city now meets their local-breakout requirement while your network is Tier 1 (#20).
|
||||
|
||||
## [1.26.1] — 2026-10-25
|
||||
|
||||
|
|
|
|||
|
|
@ -728,7 +728,6 @@
|
|||
"Wants NetChill on-net: a cache or a PNI":"Vuole NetChill on-net: una cache o un PNI",
|
||||
"Backup generator in every city they touch":"Generatore di backup in ogni città che tocca",
|
||||
"Insists on two routers in their city":"Pretende due router nella sua città",
|
||||
"Local breakout: transit or an IX port in their own city":"Breakout locale: transit o una porta IX nella sua città",
|
||||
"Two data centers in every metro they touch":"Due data center in ogni area metropolitana che tocca",
|
||||
"Wants two different transit providers (or none at all)":"Vuole due provider di transit diversi (o nessuno)",
|
||||
"Needs low-loss reach into China":"Vuole raggiungere la Cina con poche perdite",
|
||||
|
|
@ -2362,4 +2361,5 @@
|
|||
"Replace 16 Tbps of them and the cable pays for itself in about {n} months.":"Sostituiscine 16 Tbps e il cavo si ripaga in circa {n} mesi.",
|
||||
"<b>{km} km is longer than any optic reaches at full speed.</b> Transponders will run in long-haul mode (1.2T, 800G or 400G per channel), or add regen sites along the way to get full speed back.":"<b>{km} km sono più di quanto qualsiasi ottica raggiunga a piena velocità.</b> I transponder andranno in modalità long-haul (1.2T, 800G o 400G per canale), oppure aggiungi siti di rigenerazione lungo il percorso per tornare alla piena velocità.",
|
||||
"The hallway track moved to a bar by the harbour, where the woman behind the bar kept pouring aquavit long past midnight and asked nobody about their AS path. Back at the hotel bar, someone said “just one more drink”. Your BGP sessions stayed up all night. So did you.":"L'hallway track si è spostato in un bar sul porto, dove la signora dietro al bancone ha continuato a versare acquavite ben oltre mezzanotte senza chiedere a nessuno il suo AS path. Poi al bar dell'hotel qualcuno ha detto «solo un ultimo bicchiere». Le tue sessioni BGP sono rimaste su tutta la notte. Anche tu.",
|
||||
"Local breakout: transit or an IX port in their own city, or a local PNI while Tier 1":"Breakout locale: transit o una porta IX nella città del cliente, oppure un PNI locale quando sei Tier 1",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1925,7 +1925,7 @@ const REQS={
|
|||
netchill:{l:tr('Wants NetChill on-net: a cache or a PNI'),bonus:.15,ok:()=>S.caches.some(c=>c.net==='nfx')||S.pni.some(p=>p.net==='nfx')},
|
||||
gen:{l:tr('Backup generator in every city they touch'),bonus:.15,ok:b=>[b.city,b.city2].filter(Boolean).every(c=>S.pops[c]&&S.pops[c].gen)},
|
||||
routers:{l:tr('Insists on two routers in their city'),bonus:.15,ok:b=>((S.pops[b.city]&&S.pops[b.city].routers)||1)>=2},
|
||||
local:{l:tr('Local breakout: transit or an IX port in their own city'),bonus:.2,ip:true,ok:b=>S.transit.some(t=>t.city===b.city)||hasIxAt(b.city)},
|
||||
local:{l:tr('Local breakout: transit or an IX port in their own city, or a local PNI while Tier 1'),bonus:.2,ip:true,ok:b=>S.transit.some(t=>t.city===b.city)||hasIxAt(b.city)||(isTier1()&&S.pni.some(p=>p.city===b.city))},
|
||||
metro:{l:tr('Two data centers in every metro they touch'),bonus:.2,only:true,ok:b=>[b.city,b.city2].filter(Boolean).every(c=>S.pops[c]&&S.pops[c].site2)},
|
||||
twoup:{l:tr('Wants two different transit providers (or none at all)'),bonus:.15,ip:true,ok:()=>new Set(S.transit.map(t=>t.net)).size>=2||S.transit.length===0},
|
||||
china:{l:tr('Needs low-loss reach into China'),bonus:.3,ip:true,ok:()=>S.transit.some(t=>t.premium&&t.city==='hkg')||S.links.some(l=>l.premium)||S.pni.some(p=>NET[p.net].cn)},
|
||||
|
|
|
|||
|
|
@ -642,3 +642,16 @@ test('#49 subsea cables stay on the map when you zoom in', () => {
|
|||
assert.ok(near[2] > 20, `so they are drawn live (${near[2]} strokes)`);
|
||||
assert.deepEqual(errors, []);
|
||||
});
|
||||
|
||||
test('#20 local PNIs satisfy local breakout only while Tier 1, without changing transit or IX rules',()=>{
|
||||
const {ev,errors}=load();ev("ACT.start({});S.cash=1e8;S.transit=[];S.ixp={};S.pni=[{id:'local',net:'nfx',city:'fra',tier:0}];R.reach=1");
|
||||
assert.equal(ev("REQS.local.ok({city:'fra'})"),false);
|
||||
ev("for(const n of t1Need())S.pni.push({id:n.id,net:n.id,city:n.pops.find(c=>c!=='fra'),tier:0});R.reach=1");
|
||||
assert.equal(ev('isTier1()'),true);assert.equal(ev("REQS.local.ok({city:'fra'})"),true);
|
||||
assert.equal(ev("REQS.local.ok({city:'den'})"),false,'a PNI in another city does not count');
|
||||
ev("S.won=true;S.pni=S.pni.filter(p=>p.net!==t1Need()[0].id)");
|
||||
assert.equal(ev("REQS.local.ok({city:'fra'})"),false,'a historical Tier 1 win is insufficient');
|
||||
ev("S.transit=[{id:'t',net:'cog',city:'fra',tier:0}]");assert.equal(ev("REQS.local.ok({city:'fra'})"),true);
|
||||
ev("S.transit=[];S.ixp.fra=0");assert.equal(ev("REQS.local.ok({city:'fra'})"),true);
|
||||
assert.deepEqual(errors,[]);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue