-- Migration 086 — Asterfusion CX5/7, Arista 7130-48LB, Ruckus ICX 7850-48FS,
--                  Intel E810-CQDA2, Adtran FSP 3000 CloudConnect,
--                  Riedel MediorNet MicroN UHD, Netscout nGeniusONE InfiniStreamNG
--
-- All URLs verified HTTP 200 (2026-04-21).
--
-- Sources:
--   CX732Q-N, CX564P-N: asterfusion.com/wp-content/uploads — official product
--     images discovered via redirect: asterfusion.com/cx732q-n/ → CX732Q-N.png (267KB),
--     asterfusion.com/cx564p-n/ → CX564P-N.png (768KB). Standard WP uploads CDN.
--   7130-48LB: altatechnologies.com Shopify CDN (70KB PNG).
--     Arista's own arista.com/assets returns 3KB placeholder for this model.
--     Alta Technologies is a Cisco/Arista reseller with per-SKU product images.
--   ICX 7850-48FS: networktigers.com Shopify CDN (55KB JPEG, full-res source 149KB).
--     CommScope/Ruckus does not publish direct hardware CDN image for this model.
--   E810-CQDA2: ESAITech Shopify CDN (78KB JPEG). Intel ark.intel.com and
--     intel.com product pages block direct image access (403/redirect).
--   FSP 3000 CloudConnect: nwrusa.com (NW Remarketing) Shopify CDN (1.8MB JPEG).
--     Shows the ADVA C-4R CloudConnect chassis. adtran.com now redirects product
--     page and no longer serves a static CDN image for this SKU.
--     (Adtran acquired ADVA 2022; FSP 3000 CloudConnect = Adtran's optical lineup.)
--   MediorNet MicroN UHD: riedel.net official fileadmin CDN (279KB PNG).
--     Front-view product photography, same image shown on Riedel's own product page.
--   nGeniusONE InfiniStreamNG: netscout.com Pantheon/nginx CDN (85KB WebP),
--     three-rack-unit appliance view (2025-03 publication date).

-- ── Asterfusion ──────────────────────────────────────────────────────────────

-- CX732Q-N — 32×400G QSFP-DD bare-metal open networking switch (Tomahawk 3)
-- Image: asterfusion.com WP uploads CDN (267KB PNG); discovered via redirect
UPDATE switches
SET image_url        = 'https://asterfusion.com/wp-content/uploads/2022/11/CX732Q-N.png',
    product_page_url = COALESCE(product_page_url, 'https://asterfusion.com/cx732q-n/'),
    assets_scraped_at = NOW()
WHERE model = 'CX732Q-N'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'asterfusion');

-- CX564P-N — 64×100G SFP28 + MACsec open networking switch
-- Image: asterfusion.com WP uploads CDN (768KB PNG); discovered via redirect
UPDATE switches
SET image_url        = 'https://asterfusion.com/wp-content/uploads/2023/05/CX564P-N.png',
    product_page_url = COALESCE(product_page_url, 'https://asterfusion.com/cx564p-n/'),
    assets_scraped_at = NOW()
WHERE model = 'CX564P-N'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'asterfusion');

-- ── Arista Networks ───────────────────────────────────────────────────────────

-- 7130-48LB — Arista 7130 Series 48-port latency-optimised bare-metal switch
-- Image: Alta Technologies reseller Shopify CDN (70KB PNG), specifically labeled
--   7130-48LB. Arista's own CDN returns 3KB placeholder for this product.
UPDATE switches
SET image_url        = 'https://altatechnologies.com/cdn/shop/files/Arista_Switch_7130-48L_7130-48LB_1.png',
    product_page_url = COALESCE(product_page_url, 'https://www.arista.com/en/products/7130-series'),
    assets_scraped_at = NOW()
WHERE model = '7130-48LB'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'arista');

-- ── Ruckus (CommScope) ───────────────────────────────────────────────────────

-- ICX 7850-48FS — Ruckus ICX 7850 48×10G SFP+ + 8×100G QSFP28 campus/DC switch
-- Image: networktigers.com Shopify CDN (55KB JPEG, 149KB full-res source)
UPDATE switches
SET image_url        = 'https://www.networktigers.com/cdn/shop/products/ruckus-ICX7850-48FS-E2.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.commscope.com/product-type/enterprise-networking/enterprise-switches/ruckus-icx-7850/'),
    assets_scraped_at = NOW()
WHERE model = 'ICX 7850-48FS'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'ruckus-commscope');

-- ── Intel ─────────────────────────────────────────────────────────────────────

-- E810-CQDA2 — Intel Ethernet Network Adapter E810-CQDA2 (dual 100GbE QSFP28 PCIe)
-- Image: ESAITech Shopify CDN (78KB JPEG). Intel ark.intel.com blocks direct
--   image access (403/redirect). ESAITech is a specialised Intel NIC reseller.
UPDATE switches
SET image_url        = 'https://esaitech.com/cdn/shop/files/E810-CQDA2_1024x.jpg?v=1772096088',
    product_page_url = COALESCE(product_page_url, 'https://ark.intel.com/content/www/us/en/ark/products/186980/intel-ethernet-network-adapter-e810-cqda2.html'),
    assets_scraped_at = NOW()
WHERE model = 'E810-CQDA2'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'intel');

-- ── Adtran (formerly ADVA) ───────────────────────────────────────────────────

-- FSP 3000 CloudConnect — ADVA / Adtran optical transport compact chassis
-- Image: NW Remarketing (nwrusa.com) Shopify CDN (1.8MB JPEG, ADVA C-4R chassis).
--   Adtran.com redirects the product page; no static CDN image served.
UPDATE switches
SET image_url        = 'https://nwrusa.com/cdn/shop/products/ADVA-USED-1078800051-01-3_ba305bf9-568f-4998-ae64-12dd0ce9465d.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.adtran.com/en/products/optical-networking/'),
    assets_scraped_at = NOW()
WHERE model = 'FSP 3000 CloudConnect'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'adtran');

-- ── Riedel Communications ────────────────────────────────────────────────────

-- MediorNet MicroN UHD — Riedel MediorNet MicroN UHD media network node
-- Image: riedel.net official fileadmin CDN (279KB PNG, front view product photo)
UPDATE switches
SET image_url        = 'https://www.riedel.net/fileadmin/user_upload/10-products/12-media-networks/121-mediornet/1213-mn-micron/2020_Images/MicroN_UHD_Front.png',
    product_page_url = COALESCE(product_page_url, 'https://www.riedel.net/en/products/details/mediornet-micron-uhd/'),
    assets_scraped_at = NOW()
WHERE model = 'MediorNet MicroN UHD'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'riedel-communications');

-- ── Netscout ──────────────────────────────────────────────────────────────────

-- nGeniusONE InfiniStreamNG — Netscout InfiniStream Next-Gen network probe appliance
-- Image: netscout.com Pantheon/nginx CDN (85KB WebP, 3-rack-unit view, 2025-03)
UPDATE switches
SET image_url        = 'https://www.netscout.com/sites/default/files/styles/original_lazy_load/public/2025-03/07/images/ISNG%20Three%20Rack%20Unit.webp',
    product_page_url = COALESCE(product_page_url, 'https://www.netscout.com/product/infinistream'),
    assets_scraped_at = NOW()
WHERE model = 'nGeniusONE InfiniStreamNG'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'netscout');
