-- Migration 070 — Dell Technologies (PowerSwitch) + Extreme Networks
--
-- All 7 URLs verified HTTP 200 (2026-04-21).
--
-- Dell:
--   N3248TE-ON: networktigers.com Shopify CDN (reseller, stable versioned URL).
--   S5248F-ON + S5296F-ON: i.dell.com official Dell Dynamic Media / Scene7 CDN.
--     URL format: i.dell.com/is/image/DellContent/...psd?fmt=pjpg&...
--     .psd = source format; fmt=pjpg renders JPEG on the fly. Official Dell CDN, stable.
--   Z9332F-ON + Z9664F-ON: expresscomputersystems.com Shopify CDN (versioned, stable).
--
-- Extreme Networks:
--   8720-32C + X465-48P: extr-p-001.sitecorecontenthub.cloud official Sitecore Content Hub CDN.

-- ── Dell PowerSwitch ─────────────────────────────────────────────────────────

-- N3248TE-ON — 48×1G PoE+ + 2×10G SFP+ SmartFabric access switch
UPDATE switches
SET image_url        = 'https://www.networktigers.com/cdn/shop/products/dell-N3248TE-ON_97bd9599-34ff-4c20-95b1-159ccf8be1d6_large.jpg?v=1665170115',
    product_page_url = COALESCE(product_page_url, 'https://www.dell.com/en-us/shop/servers-storage-and-networking/powerswitch-n3248te-on/spd/networking-n3200-series'),
    assets_scraped_at = NOW()
WHERE model = 'N3248TE-ON'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'dell');

-- S5248F-ON — 48×25G SFP28 + 2×100G QSFP28 open networking ToR
UPDATE switches
SET image_url        = 'https://i.dell.com/is/image/DellContent/content/dam/ss2/product-images/dell-enterprise-products/networking-products/s5248f-on/mg/powerswitch-s5248f-on-black-gallery-1.psd?fmt=pjpg&pscan=auto&scl=1&hei=402&wid=1155&qlt=100,1&resMode=sharp2&size=1155,402&chrss=full',
    product_page_url = COALESCE(product_page_url, 'https://www.dell.com/en-us/shop/servers-storage-and-networking/powerswitch-s5248f-on/spd/networking-s5248f-on'),
    assets_scraped_at = NOW()
WHERE model = 'S5248F-ON'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'dell');

-- S5296F-ON — 96×25G SFP28 + 8×100G QSFP28 open networking ToR
UPDATE switches
SET image_url        = 'https://i.dell.com/is/image/DellContent/content/dam/ss2/product-images/dell-enterprise-products/networking-products/s5296f-on/mg/powerswitch-s5296f-on-black-gallery-1.psd?fmt=pjpg&pscan=auto&scl=1&hei=402&wid=1155&qlt=100,1&resMode=sharp2&size=1155,402&chrss=full',
    product_page_url = COALESCE(product_page_url, 'https://www.dell.com/en-us/shop/servers-storage-and-networking/powerswitch-s5296f-on/spd/networking-s5296f-on'),
    assets_scraped_at = NOW()
WHERE model = 'S5296F-ON'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'dell');

-- Z9332F-ON — 32×400G QSFP-DD spine switch (SONiC/OS10)
UPDATE switches
SET image_url        = 'https://expresscomputersystems.com/cdn/shop/files/z9332f-on-front_600x.jpg?v=1697479297',
    product_page_url = COALESCE(product_page_url, 'https://www.dell.com/support/product-details/en-us/product/networking-z9332f-on/overview'),
    assets_scraped_at = NOW()
WHERE model = 'Z9332F-ON'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'dell');

-- Z9664F-ON — 64×400G QSFP-DD AI/HPC fabric spine switch
UPDATE switches
SET image_url        = 'https://expresscomputersystems.com/cdn/shop/files/z9664f-on-main_400x.jpg?v=1725038963',
    product_page_url = COALESCE(product_page_url, 'https://www.dell.com/support/product-details/en-us/product/networking-z9664f-on/overview'),
    assets_scraped_at = NOW()
WHERE model = 'Z9664F-ON'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'dell');

-- ── Extreme Networks ──────────────────────────────────────────────────────────

-- 8720-32C — 32×100G QSFP28 Trusted Delivery data center switch
UPDATE switches
SET image_url        = 'https://extr-p-001.sitecorecontenthub.cloud/api/public/content/f06e268eadba43578e52341c004372ed?v=9f8c6c18',
    product_page_url = COALESCE(product_page_url, 'https://www.extremenetworks.com/products/switches/trusted-delivery-switches/8720'),
    assets_scraped_at = NOW()
WHERE model = '8720-32C'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'extreme');

-- X465-48P — 48×1G PoE++ + 4×10G SFP+ campus switch (ExtremeXOS)
UPDATE switches
SET image_url        = 'https://extr-p-001.sitecorecontenthub.cloud/api/public/content/1387a5ff773543ee80355e18fa15f183?v=5508b231',
    product_page_url = COALESCE(product_page_url, 'https://www.extremenetworks.com/products/switches/extremexos-switches/x465'),
    assets_scraped_at = NOW()
WHERE model = 'X465-48P'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'extreme');
