-- Migration 064 — Avaya, NetApp, Keysight, A10 Networks, Evertz, RAD,
--                 Ekinops, DrayTek, Fujitsu, Broadcom, Calix, Citrix (NetScaler)
--
-- All 12 URLs verified HTTP 200 (2026-04-21).
--
-- Avaya VSP 7432CQ: networktigers.com Shopify CDN (VSP7400 series; Avaya VSP
--   acquired by Extreme Networks; reseller CDN stable).
-- NetApp CN1610: cdn11.bigcommerce.com flagshiptech.com reseller (cluster switch).
-- Keysight Vision X: tempestns.com WP CDN (Keysight acquired Ixia 2017).
-- A10 Networks Thunder 14045: piospartslap.de reseller (model-specific product image).
-- Evertz EXE-VSR-IP: evertz.com official (EXE3-front, current product family).
-- RAD ETX-2i-10G: rad.com official WP uploads CDN (2025 product page).
-- Ekinops 360-12: ekinops.com official (360 platform chassis image; 360-12 = slot
--   count within 360 platform, family shot used as no per-slot-count variant found).
-- DrayTek VigorSwitch P2540xs: draytek.co.uk official product image CDN.
-- Fujitsu FLASHWAVE 9500: worldwidesupply.net reseller (product-specific JPEG).
-- Broadcom BCM957508-P2100G: c1.neweggimages.com Newegg CDN (25GbE NIC / network device).
-- Calix E9-2: calix.com official documentation CDN (E9-2 chassis front view, 134KB PNG).
-- Citrix NetScaler SDX 26000-100G: docs.netscaler.com official hardware doc CDN.

-- ── Avaya ─────────────────────────────────────────────────────────────────────

-- VSP 7432CQ — 32×100G QSFP28 data center switch (now Extreme VSP 7400 series)
UPDATE switches
SET image_url        = 'https://www.networktigers.com/cdn/shop/products/extreme-VSP7400-32C_16505573-ffc3-4435-abd0-8695d2c41899_463x.progressive.jpg?v=1680641739',
    product_page_url = COALESCE(product_page_url, 'https://www.extremenetworks.com/products/vsp-7400-series/'),
    assets_scraped_at = NOW()
WHERE model = 'VSP 7432CQ'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'avaya');

-- ── NetApp ────────────────────────────────────────────────────────────────────

-- CN1610 — 10GbE cluster interconnect switch
UPDATE switches
SET image_url        = 'https://cdn11.bigcommerce.com/s-017c0/images/stencil/1280x1280/products/15990/77001/NetApp_111-00982_Cluster_Mode_Switch_2__62343.1659040558.jpg?c=2',
    product_page_url = COALESCE(product_page_url, 'https://www.netapp.com/data-storage/cluster-switch/cn1610/'),
    assets_scraped_at = NOW()
WHERE model = 'CN1610'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'netapp');

-- ── Keysight (ex. Ixia) ───────────────────────────────────────────────────────

-- Vision X — high-density network visibility / packet broker platform
UPDATE switches
SET image_url        = 'https://www.tempestns.com/wp-content/uploads/2022/03/keysight-vision-x-500x500.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.keysight.com/us/en/product/SYSVX-BASE-AC/vision-x.html'),
    assets_scraped_at = NOW()
WHERE model = 'Vision X'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'keysight-ex-ixia');

-- ── A10 Networks ──────────────────────────────────────────────────────────────

-- Thunder 14045 — carrier-grade ADC / application delivery controller
UPDATE switches
SET image_url        = 'https://www.piospartslap.de/media/image/product/24575/md/a10-networks-thunder-14045-carrier-grade-networking-4x-100g-sfp28-4x-40g-qsfp.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.a10networks.com/products/thunder-adc/'),
    assets_scraped_at = NOW()
WHERE model = 'Thunder 14045'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'a10-networks');

-- ── Evertz ────────────────────────────────────────────────────────────────────

-- EXE-VSR-IP — 1U video/IP routing platform (EXE3.0-VSR product family)
UPDATE switches
SET image_url        = 'https://evertz.com/products/img/EXE3-front-stenciled.png',
    product_page_url = COALESCE(product_page_url, 'https://evertz.com/products/EXE3.0-VSR'),
    assets_scraped_at = NOW()
WHERE model = 'EXE-VSR-IP'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'evertz');

-- ── RAD ───────────────────────────────────────────────────────────────────────

-- ETX-2i-10G — service aggregation demarcation switch/router
UPDATE switches
SET image_url        = 'https://www.rad.com/wp-content/uploads/2025/01/etx-2i-10g.png',
    product_page_url = COALESCE(product_page_url, 'https://www.rad.com/products/etx-2i-10g'),
    assets_scraped_at = NOW()
WHERE model = 'ETX-2i-10G'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'rad');

-- ── Ekinops ───────────────────────────────────────────────────────────────────

-- 360-12 — 12-slot OneOS360 carrier Ethernet platform
-- Image: official Ekinops 360 chassis (tower/side); no per-slot-count variant found.
UPDATE switches
SET image_url        = 'https://www.ekinops.com/images/products-photos/2pp---chassis_-tower_side2---ekinops.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.ekinops.com/solutions/technologies/carrier-ethernet/360-chassis'),
    assets_scraped_at = NOW()
WHERE model = '360-12'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'ekinops');

-- ── DrayTek ───────────────────────────────────────────────────────────────────

-- VigorSwitch P2540xs — 40-port PoE+ managed switch with SFP+ uplinks
UPDATE switches
SET image_url        = 'https://www.draytek.co.uk/images/products/p2540x/vsp2540x-500_300.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.draytek.com/products/vigorswitch-p2540xs/'),
    assets_scraped_at = NOW()
WHERE model = 'VigorSwitch P2540xs'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'draytek');

-- ── Fujitsu ───────────────────────────────────────────────────────────────────

-- FLASHWAVE 9500 — high-capacity DWDM / optical transport platform
UPDATE switches
SET image_url        = 'https://worldwidesupply.net/wp-content/uploads/2015/04/fujitsu_9500.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.fujitsu.com/us/products/network/ip-optical/'),
    assets_scraped_at = NOW()
WHERE model = 'FLASHWAVE 9500'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'fujitsu');

-- ── Broadcom ──────────────────────────────────────────────────────────────────

-- BCM957508-P2100G — 2×100G PCIe NIC / network adapter
UPDATE switches
SET image_url        = 'https://c1.neweggimages.com/productimage/nb640/33-995-298-08.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.broadcom.com/products/ethernet-connectivity/network-adapters/p2-series'),
    assets_scraped_at = NOW()
WHERE model = 'BCM957508-P2100G'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'broadcom');

-- ── Calix ─────────────────────────────────────────────────────────────────────

-- E9-2 Intelligent Edge System — 2U modular AXOS access/aggregation system
UPDATE switches
SET image_url        = 'https://www.calix.com/content/dam/calix/mycalix-misc/lib/iae/axos/21x/tutg/85512.png',
    product_page_url = COALESCE(product_page_url, 'https://www.calix.com/products/platform/intelligent-access/systems/axos-e9-2.html'),
    assets_scraped_at = NOW()
WHERE model = 'E9-2 Intelligent Edge System'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'calix');

-- ── Citrix (NetScaler) ────────────────────────────────────────────────────────

-- NetScaler SDX 26000-100G — 100G ADC / application delivery chassis
UPDATE switches
SET image_url        = 'https://docs.netscaler.com/en-us/netscaler-hardware-platforms/sdx/media/26000-100g-front-panel.png',
    product_page_url = COALESCE(product_page_url, 'https://docs.netscaler.com/en-us/citrix-hardware-platforms/sdx/hardware-platforms/sdx-26xxx100g.html'),
    assets_scraped_at = NOW()
WHERE model = 'NetScaler SDX 26000-100G'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'citrix-netscaler');
