diff --git a/packages/scraper/src/scrapers/switch-seed-smb.ts b/packages/scraper/src/scrapers/switch-seed-smb.ts index 2fe53bf..aa9e55e 100644 --- a/packages/scraper/src/scrapers/switch-seed-smb.ts +++ b/packages/scraper/src/scrapers/switch-seed-smb.ts @@ -87,7 +87,7 @@ const CISCO_SMB: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 24, "1G_SFP": 4 }, totalPorts: 28, maxSpeedGbps: 1, uplinkSpeedGbps: 1, switchingCapacityTbps: 0.056, rackUnits: 1, maxPowerW: 56, - stackingSupport: false, bgpSupport: false, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: false, lifecycleStatus: "Active", tags: ["smb", "sfp-uplink", "current-gen", "CBS"], }, { @@ -96,7 +96,7 @@ const CISCO_SMB: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 48, "10G_SFP+": 4 }, totalPorts: 52, maxSpeedGbps: 10, uplinkSpeedGbps: 10, switchingCapacityTbps: 0.176, rackUnits: 1, maxPowerW: 88, - stackingSupport: false, bgpSupport: false, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: false, lifecycleStatus: "Active", tags: ["smb", "10g-uplink", "sfp-plus", "CBS", "current-gen"], }, { @@ -105,7 +105,7 @@ const CISCO_SMB: SwitchSeed[] = [ portsConfig: { "1G_RJ45_PoE": 8, "10G_SFP+": 2 }, totalPorts: 10, maxSpeedGbps: 10, uplinkSpeedGbps: 10, switchingCapacityTbps: 0.04, maxPowerW: 240, - poeSupport: "PoE+ 2.5G", stackingSupport: false, lifecycleStatus: "active", + poeSupport: "PoE+ 2.5G", stackingSupport: false, lifecycleStatus: "Active", tags: ["smb", "10g-uplink", "multi-gig", "CBS"], }, ]; @@ -120,7 +120,7 @@ const HPE_ARUBA: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 24, "1G_SFP": 4 }, totalPorts: 28, maxSpeedGbps: 1, uplinkSpeedGbps: 1, switchingCapacityTbps: 0.056, rackUnits: 1, maxPowerW: 19, - stackingSupport: false, bgpSupport: false, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: false, lifecycleStatus: "Active", tags: ["smb", "sfp-uplink", "aruba", "1820-series"], }, { @@ -129,7 +129,7 @@ const HPE_ARUBA: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 48, "1G_SFP": 4 }, totalPorts: 52, maxSpeedGbps: 1, uplinkSpeedGbps: 1, switchingCapacityTbps: 0.104, rackUnits: 1, maxPowerW: 36, - stackingSupport: false, bgpSupport: false, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: false, lifecycleStatus: "Active", tags: ["smb", "sfp-uplink", "aruba", "1820-series", "48-port"], }, { @@ -138,7 +138,7 @@ const HPE_ARUBA: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 48, "1G_SFP": 4 }, totalPorts: 52, maxSpeedGbps: 1, uplinkSpeedGbps: 1, switchingCapacityTbps: 0.104, rackUnits: 1, - stackingSupport: false, bgpSupport: false, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: false, lifecycleStatus: "Active", tags: ["smb", "sfp-uplink", "aruba", "2530-series"], }, { @@ -147,7 +147,7 @@ const HPE_ARUBA: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 48, "10G_SFP+": 4 }, totalPorts: 52, maxSpeedGbps: 10, uplinkSpeedGbps: 10, switchingCapacityTbps: 0.176, rackUnits: 1, - stackingSupport: false, bgpSupport: false, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: false, lifecycleStatus: "Active", tags: ["smb", "10g-uplink", "sfp-plus", "aruba", "2540-series"], }, { @@ -156,7 +156,7 @@ const HPE_ARUBA: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 24, "10G_SFP+": 4 }, totalPorts: 28, maxSpeedGbps: 10, uplinkSpeedGbps: 10, switchingCapacityTbps: 0.128, rackUnits: 1, - stackingSupport: true, bgpSupport: true, lifecycleStatus: "active", + stackingSupport: true, bgpSupport: true, lifecycleStatus: "Active", tags: ["campus", "10g-uplink", "sfp-plus", "stacking", "aruba"], }, { @@ -165,7 +165,7 @@ const HPE_ARUBA: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 48, "10G_SFP+": 4 }, totalPorts: 52, maxSpeedGbps: 10, uplinkSpeedGbps: 10, switchingCapacityTbps: 0.176, rackUnits: 1, - stackingSupport: true, bgpSupport: true, lifecycleStatus: "active", + stackingSupport: true, bgpSupport: true, lifecycleStatus: "Active", tags: ["campus", "10g-uplink", "sfp-plus", "stacking", "aruba"], }, ]; @@ -180,7 +180,7 @@ const UBIQUITI: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 24, "10G_SFP+": 2 }, totalPorts: 26, maxSpeedGbps: 10, uplinkSpeedGbps: 10, switchingCapacityTbps: 0.052, rackUnits: 1, maxPowerW: 32, - stackingSupport: false, bgpSupport: false, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: false, lifecycleStatus: "Active", tags: ["smb", "sfp-plus", "unifi", "prosumer"], }, { @@ -189,7 +189,7 @@ const UBIQUITI: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 48, "10G_SFP+": 4 }, totalPorts: 52, maxSpeedGbps: 10, uplinkSpeedGbps: 10, switchingCapacityTbps: 0.176, rackUnits: 1, maxPowerW: 50, - stackingSupport: false, bgpSupport: false, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: false, lifecycleStatus: "Active", tags: ["smb", "sfp-plus", "unifi", "prosumer", "48-port"], }, { @@ -198,7 +198,7 @@ const UBIQUITI: SwitchSeed[] = [ portsConfig: { "10G_SFP+": 20, "25G_SFP28": 4 }, totalPorts: 28, maxSpeedGbps: 25, uplinkSpeedGbps: 25, switchingCapacityTbps: 0.456, rackUnits: 1, maxPowerW: 65, - stackingSupport: false, bgpSupport: false, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: false, lifecycleStatus: "Active", tags: ["campus", "aggregation", "sfp28", "sfp-plus", "unifi"], }, { @@ -207,7 +207,7 @@ const UBIQUITI: SwitchSeed[] = [ portsConfig: { "10G_RJ45": 20, "25G_SFP28": 4 }, totalPorts: 24, maxSpeedGbps: 25, uplinkSpeedGbps: 25, switchingCapacityTbps: 0.456, rackUnits: 1, maxPowerW: 280, - poeSupport: "PoE++ 2.5G/5G/10G", stackingSupport: false, lifecycleStatus: "active", + poeSupport: "PoE++ 2.5G/5G/10G", stackingSupport: false, lifecycleStatus: "Active", tags: ["campus", "multi-gig", "sfp28", "unifi", "10g-rj45"], }, ]; @@ -222,7 +222,7 @@ const MIKROTIK: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 24, "10G_SFP+": 2 }, totalPorts: 26, maxSpeedGbps: 10, uplinkSpeedGbps: 10, switchingCapacityTbps: 0.052, rackUnits: 1, maxPowerW: 52, - stackingSupport: false, bgpSupport: true, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: true, lifecycleStatus: "Active", tags: ["smb", "sfp-plus", "mikrotik", "routeros"], }, { @@ -231,7 +231,7 @@ const MIKROTIK: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 48, "10G_SFP+": 4, "40G_QSFP+": 2 }, totalPorts: 54, maxSpeedGbps: 40, uplinkSpeedGbps: 40, switchingCapacityTbps: 0.336, rackUnits: 1, maxPowerW: 98, - stackingSupport: false, bgpSupport: true, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: true, lifecycleStatus: "Active", tags: ["campus", "sfp-plus", "qsfp", "mikrotik", "48-port"], }, { @@ -240,7 +240,7 @@ const MIKROTIK: SwitchSeed[] = [ portsConfig: { "100G_QSFP28": 4 }, totalPorts: 4, maxSpeedGbps: 100, uplinkSpeedGbps: 100, switchingCapacityTbps: 0.8, maxPowerW: 60, - stackingSupport: false, bgpSupport: true, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: true, lifecycleStatus: "Active", tags: ["campus", "100g", "qsfp28", "mikrotik", "compact"], }, ]; @@ -255,7 +255,7 @@ const NETGEAR: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 24, "10G_SFP+": 4 }, totalPorts: 28, maxSpeedGbps: 10, uplinkSpeedGbps: 10, switchingCapacityTbps: 0.128, rackUnits: 1, - stackingSupport: true, bgpSupport: true, lifecycleStatus: "active", + stackingSupport: true, bgpSupport: true, lifecycleStatus: "Active", tags: ["smb", "sfp-plus", "netgear", "stacking"], }, { @@ -264,7 +264,7 @@ const NETGEAR: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 48, "10G_SFP+": 4 }, totalPorts: 52, maxSpeedGbps: 10, uplinkSpeedGbps: 10, switchingCapacityTbps: 0.176, rackUnits: 1, - stackingSupport: true, bgpSupport: true, lifecycleStatus: "active", + stackingSupport: true, bgpSupport: true, lifecycleStatus: "Active", tags: ["smb", "sfp-plus", "netgear", "stacking", "48-port"], }, { @@ -273,7 +273,7 @@ const NETGEAR: SwitchSeed[] = [ portsConfig: { "100G_QSFP28": 8, "25G_SFP28": 24 }, totalPorts: 32, maxSpeedGbps: 100, uplinkSpeedGbps: 100, switchingCapacityTbps: 3.2, rackUnits: 1, - stackingSupport: true, bgpSupport: true, lifecycleStatus: "active", + stackingSupport: true, bgpSupport: true, lifecycleStatus: "Active", tags: ["campus", "100g", "25g", "sfp28", "qsfp28", "netgear"], }, ]; @@ -288,7 +288,7 @@ const ZYXEL: SwitchSeed[] = [ portsConfig: { "1G_RJ45": 24, "10G_SFP+": 4 }, totalPorts: 28, maxSpeedGbps: 10, uplinkSpeedGbps: 10, switchingCapacityTbps: 0.128, rackUnits: 1, - stackingSupport: false, bgpSupport: false, lifecycleStatus: "active", + stackingSupport: false, bgpSupport: false, lifecycleStatus: "Active", tags: ["smb", "sfp-plus", "zyxel"], }, { @@ -297,7 +297,7 @@ const ZYXEL: SwitchSeed[] = [ portsConfig: { "1G_RJ45_PoE": 24, "10G_SFP+": 4 }, totalPorts: 28, maxSpeedGbps: 10, uplinkSpeedGbps: 10, switchingCapacityTbps: 0.128, rackUnits: 1, maxPowerW: 400, - poeSupport: "PoE+", stackingSupport: false, lifecycleStatus: "active", + poeSupport: "PoE+", stackingSupport: false, lifecycleStatus: "Active", tags: ["smb", "poe", "sfp-plus", "zyxel"], }, ]; @@ -346,7 +346,7 @@ async function upsertSwitch(seed: SwitchSeed): Promise { seed.poeSupport ?? null, seed.stackingSupport ?? false, seed.bgpSupport ?? false, - seed.lifecycleStatus ?? "active", + seed.lifecycleStatus ?? "Active", seed.tags ?? [], ] );