-- Migration 067 — Arista Networks: remaining models (QSG CDN front-panel images)
--
-- All 11 URLs verified HTTP 200 (2026-04-21).
-- Image CDN: arista.com/assets/images/qsg/[series]/Graphics/Front Panel/
--   Official Arista QSG (Quick Start Guide) front-panel PNG assets.
--   URL-encoded spaces (%20) in path component.
--
-- 7020R: uses 7020R4-48Y-4QC product image (current gen, product/ CDN).
-- 7050CX3-32S: QSG DCS-7050CX3-32S_Lodoga front panel.
-- 7050X4-32: QSG DCS-7050DX4-32S variant (same 7050X4 chassis, QSFP-DD ports).
-- 7060DX5-32: QSG DCS-7060DX5-32 front panel.
-- 7060PX4-32: QSG DCS-7060PX4-32_Blackhawk-P front panel.
-- 7060X4-32: QSG DCS-7060DX4-32_Blackhawk-DD variant (same chassis).
-- 7060X5-64: QSG DCS-7060X5-64-DD front panel (64×400G QSFP-DD).
-- 7130-48: generic 7130 hardware stock image (no per-SKU variant found).
-- 7170-64C: QSG DCS-7170-64C_Alhambra front panel.
-- 7260CX3-64: QSG DCS-7260CX3-64_Gardena front panel.
-- 7800R3-36P-LC: QSG 7800R3-36P-LC_McKinley line card.
-- 7280R3A-48D5: no confirmed URL found (QSG only covers DR3AK/DR3AM variants).
-- 750-36Y: no confirmed URL found (line card for CCS-750 chassis, no standalone image).

-- ── Arista 7000 Series ───────────────────────────────────────────────────────

-- 7020R — campus gigabit switch (7020R4 generation image)
UPDATE switches
SET image_url        = 'https://www.arista.com/assets/images/product/7020R4-48Y-4QC-YB-right-175px.png',
    product_page_url = COALESCE(product_page_url, 'https://www.arista.com/en/products/7020r-series-network-switch-datasheet'),
    assets_scraped_at = NOW()
WHERE model = '7020R'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'arista');

-- 7050CX3-32S — 32×100G QSFP28 leaf switch
UPDATE switches
SET image_url        = 'https://www.arista.com/assets/images/qsg/qsg-7050-series-1ru-gen3/Graphics/Front%20Panel/DCS-7050CX3-32S_Lodoga_TH.png',
    product_page_url = COALESCE(product_page_url, 'https://www.arista.com/en/products/7050x3-series'),
    assets_scraped_at = NOW()
WHERE model = '7050CX3-32S'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'arista');

-- 7050X4-32 — 32×400G QSFP-DD leaf switch
-- Image: DCS-7050DX4-32S (same chassis family, QSFP-DD ports)
UPDATE switches
SET image_url        = 'https://www.arista.com/assets/images/qsg/qsg-7050x4-series/Graphics/Front%20Panel/DCS-7050DX4-32S_Front-II.png',
    product_page_url = COALESCE(product_page_url, 'https://www.arista.com/en/products/7050x4-series'),
    assets_scraped_at = NOW()
WHERE model = '7050X4-32'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'arista');

-- 7060DX5-32 — 32×400G QSFP-DD deep-buffer leaf switch
UPDATE switches
SET image_url        = 'https://www.arista.com/assets/images/qsg/qsg-7060x5-series/Graphics/Front%20Panel/DCS-7060DX5-32.png',
    product_page_url = COALESCE(product_page_url, 'https://www.arista.com/en/products/7060x5-series'),
    assets_scraped_at = NOW()
WHERE model = '7060DX5-32'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'arista');

-- 7060PX4-32 — 32×400G QSFP-DD spine switch
UPDATE switches
SET image_url        = 'https://www.arista.com/assets/images/qsg/qsg-7060-series-1ru-gen3/Graphics/Front%20Panel/DCS-7060PX4-32_Blackhawk-P.png',
    product_page_url = COALESCE(product_page_url, 'https://www.arista.com/en/products/7060x4-series'),
    assets_scraped_at = NOW()
WHERE model = '7060PX4-32'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'arista');

-- 7060X4-32 — 32×400G QSFP-DD spine switch
-- Image: DCS-7060DX4-32 (same chassis)
UPDATE switches
SET image_url        = 'https://www.arista.com/assets/images/qsg/qsg-7060-series-1ru-gen3/Graphics/Front%20Panel/DCS-7060DX4-32_Blackhawk-DD.png',
    product_page_url = COALESCE(product_page_url, 'https://www.arista.com/en/products/7060x4-series'),
    assets_scraped_at = NOW()
WHERE model = '7060X4-32'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'arista');

-- 7060X5-64 — 64×400G QSFP-DD spine switch (deep buffer)
UPDATE switches
SET image_url        = 'https://www.arista.com/assets/images/qsg/qsg-7060x5-series/Graphics/Front%20Panel/DCS-7060X5-64-DD.png',
    product_page_url = COALESCE(product_page_url, 'https://www.arista.com/en/products/7060x5-series'),
    assets_scraped_at = NOW()
WHERE model = '7060X5-64'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'arista');

-- 7130-48 — 48-port FPGA-programmable low-latency switch
-- Image: generic 7130 hardware family stock photo (no per-model QSG variant found)
UPDATE switches
SET image_url        = 'https://www.arista.com/assets/images/article/Arista-7130-Hardware-stock.png',
    product_page_url = COALESCE(product_page_url, 'https://www.arista.com/en/products/7130-hardware'),
    assets_scraped_at = NOW()
WHERE model = '7130-48'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'arista');

-- 7170-64C — 64×100G P4-programmable switch (Tofino ASIC)
UPDATE switches
SET image_url        = 'https://www.arista.com/assets/images/qsg/qsg-7000-series-2ru/Graphics/Front%20Panel/DCS-7170-64C_Alhambra.png',
    product_page_url = COALESCE(product_page_url, 'https://www.arista.com/en/products/7170-series'),
    assets_scraped_at = NOW()
WHERE model = '7170-64C'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'arista');

-- 7260CX3-64 — 64×100G QSFP28 2U leaf switch
UPDATE switches
SET image_url        = 'https://www.arista.com/assets/images/qsg/qsg-7000-series-2ru/Graphics/Front%20Panel/DCS-7260CX3-64_Gardena.png',
    product_page_url = COALESCE(product_page_url, 'https://www.arista.com/en/products/7260cx3-series'),
    assets_scraped_at = NOW()
WHERE model = '7260CX3-64'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'arista');

-- 7800R3-36P-LC — 36×400G + 4×100G line card for 7800R3 chassis
UPDATE switches
SET image_url        = 'https://www.arista.com/assets/images/qsg/qsg-7800-series/Graphics/Line%20Cards/7800R3-36P-LC_McKinley.png',
    product_page_url = COALESCE(product_page_url, 'https://www.arista.com/en/products/7800r3-series'),
    assets_scraped_at = NOW()
WHERE model = '7800R3-36P-LC'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'arista');
