Remove duplicate NYC exchange and retain NY-Yikes
This commit is contained in:
parent
4c88e00434
commit
9e9ecca1ad
3 changed files with 6 additions and 4 deletions
|
|
@ -8,8 +8,8 @@ All notable changes to this project are documented here. The project follows
|
|||
|
||||
- Barcelona joins the map with Catnip-IX, local transit and peering.
|
||||
- More exchanges now include FRIES-IX, Paella-NIX, KleyWrecks,
|
||||
LO-NAPS, JINXED-IX and IX Strayla, plus BB-Kicks in Tokyo and
|
||||
DE-KICKS New York. FRIES-IX 10G and 100G ports and LAG members are free.
|
||||
LO-NAPS, JINXED-IX and IX Strayla, plus BB-Kicks in Tokyo.
|
||||
FRIES-IX 10G and 100G ports and LAG members are free.
|
||||
|
||||
## [1.10.0] — 2026-10-24
|
||||
|
||||
|
|
|
|||
|
|
@ -848,7 +848,6 @@ NETS.push(
|
|||
share many members with it, but not all. The incumbent keeps the city id, challengers are 'city~n'. */
|
||||
const XIX=[
|
||||
{id:'jnb~2',c:'jnb',name:'JINXED-IX',cheap:.7,take:0.5,core:['drz','akm','cfl','tng'],blurb:'The older Johannesburg exchange, run by the local ISP association. Knock on wood before every maintenance window.'},
|
||||
{id:'nyc~3',c:'nyc',name:'DE-KICKS New York',cheap:1,take:0.5,core:['drz','akm','cfl','nfx','ggl','amz','msf','cmc'],blurb:'The Frankfurt giant opened a branch in Manhattan. Same switches, worse bagels back home.'},
|
||||
{id:'fra~2',c:'fra',name:'KleyWrecks',cheap:.5,take:0.5,core:['drz','akm','cfl','slw','bdc','ydx'],blurb:'A smaller commercial exchange down the road from DE-KICKS. The service comes with a port, without the sales webinar.'},
|
||||
{id:'fra~3',c:'fra',name:'Apfelwein-IX',cheap:0.3,take:0.3,blurb:'A community exchange run from above a cider bar. Tiny, cheap, and every member gets a glass.'},
|
||||
{id:'ams~2',c:'ams',name:'NL-Nyx',cheap:0.6,take:0.6,blurb:'One fabric across the whole country. Distributed, cheap and a little smug about it.'},
|
||||
|
|
|
|||
|
|
@ -161,7 +161,10 @@ test('Amsterdam has FRIES-IX, with free 10G and 100G ports and paid larger ports
|
|||
test('community exchanges are wired up in every city, and Barcelona has Catnip-IX', () => {
|
||||
const { ev, errors } = load();
|
||||
setup(ev);
|
||||
const exchanges = ['ams~3', 'mad~2', 'fra~2', 'lon~2', 'nyc~3', 'jnb~2', 'syd~2', 'tok~2'];
|
||||
const exchanges = ['ams~3', 'mad~2', 'fra~2', 'lon~2', 'jnb~2', 'syd~2', 'tok~2'];
|
||||
assert.deepEqual(JSON.parse(ev("JSON.stringify(ixIdsIn('nyc'))")), ['nyc', 'nyc~2'], 'NYC keeps its two existing exchanges');
|
||||
assert.equal(ev("ixName('nyc')"), 'NY-Yikes');
|
||||
assert.equal(ev("isDk('nyc')"), true, 'NY-Yikes is already part of DE-KICKS Group');
|
||||
const bad = ev("XIX.filter(x=>x.core).map(x=>x.id).flatMap(k=>XIXM[k].members.filter(id=>!NET[id]||!NET[id].pops.includes(XIXM[k].c)).map(id=>k+':'+id)).join()");
|
||||
assert.equal(bad, '', 'every member has a POP in the city');
|
||||
assert.ok(ev("Object.keys(XIXM).every(k=>CITY[XIXM[k].c].ix&&ixIdsIn(XIXM[k].c).includes(k))"), 'each sits beside a main IX');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue