-- Migration 097: Whitebox / misc vendor image backfill
-- Models: RA-B6510-48V8C (Ragile), AS7946-74XKDB (Edgecore)
-- Sources: unixsurplus.com (BigCommerce CDN, OEM-equiv Micas hardware),
--          eBay CDN (search confirmed listing)
-- Coverage: +2 models (actual — remaining 7 models have no publicly accessible images:
--           D7332/D7264Q28B/D7054Q28B: productline.inventec.com Taiwan-hosted, unreachable globally;
--           DM4610-48T6X: Datacom model designation may differ from public catalog;
--           CiTRANS 680: fiberhome.com Chinese-only, no CDN image accessible;
--           PF5248: NEC product archived/discontinued, no image CDN;
--           OLT 9100: DZS product designation unconfirmed in public catalog)

-- RA-B6510-48V8C: unixsurplus.com BigCommerce CDN (Micas M2-W6510-48V8C OEM — same hardware platform)
-- The Ragile RA-B6510-48V8C and Micas M2-W6510-48V8C are manufactured on the same whitebox platform.
-- Source: https://www.unixsurplus.com/micas-networks-m2-w6510-48v8c-48x25g-8x100g-sonic-whitebox/
UPDATE switches
SET image_url         = 'https://cdn11.bigcommerce.com/s-vsgqhdo3pb/images/stencil/1280x1280/products/4463/18390/Micas-M2-W6510-48V8C-All-Switches-100101-1__37341.1746745386.png?c=2',
    product_page_url  = COALESCE(product_page_url, 'https://ragilenetworks.com/products/'),
    assets_scraped_at = NOW()
WHERE model = 'RA-B6510-48V8C'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'ragile-networks');

-- AS7946-74XKDB: eBay CDN (confirmed listing search "As7946-74xkdb Edgecore for sale")
-- 74-port 800G OSFP, Tomahawk 5, 2U chassis — very new product (2024), limited reseller coverage
UPDATE switches
SET image_url         = 'https://i.ebayimg.com/images/g/GnUAAOSwZpRnBPBR/s-l1600.jpg',
    product_page_url  = COALESCE(product_page_url, 'https://www.edge-core.com/product/as7946-74xkdb/'),
    assets_scraped_at = NOW()
WHERE model = 'AS7946-74XKDB'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'edgecore');
