-- Migration 078 — Cisco ASR 9000v (original), ASR-9001-S, NCS 1000 Optical
--
-- All URLs verified HTTP 200 (2026-04-21).
--
-- ASR-9001-S, ASR-9000V-AC, ASR-9000V-DC-A: networktigers.com Shopify CDN
--   (_463x.progressive.jpg, 16–28KB, genuine product photos)
--
-- A9KV-V2-DC-A, A9KV-V2-DC-E: networktigers.com Shopify CDN
--   UPDATES: Migration 073 used A9KV-V2-AC chassis photo for both DC variants;
--   specific DC-A and DC-E product photos now available on networktigers.com.
--
-- NCS 1001-K9, NCS 1002-K9, NCS1K-EDFA: router-switch.com Magento CDN
--   77–117KB JPEG product photos. NCS1K-EDFA uses same photo as NCS1001-K9
--   (amplifier shelf ships in same chassis form factor as the NCS 1001 node).
--
-- NCS 1004 (NCS1K4) — 4-slot 1U chassis:
--   All 13 NCS1K4 models (with or without extra space after "NCS1K4") are the
--   same physical 4-slot chassis. router-switch.com image confirmed 145KB.
--   Models ending in "QXP" use the dedicated qxp-k9 URL (same file size).
--   Models with a space prefix (e.g., "NCS1K4 -1.2T-K9") are DB artifacts from
--   the original seed data; they reference identical hardware to the non-space
--   variants and use the same chassis photo.
--
-- Skipped (no public image found):
--   ASR-9000V-24-A, ASR-9000V-DC-E: product EOL/sparse availability.
--   NCS1K14-2.4T-K9 and all NCS1K14 variants: router-switch placeholder only.
--   NCS1K4-1.2TL-K9, NCS1K4-1.2TLCW-K9, NCS1K4-QDD-CW-K9, NCS1K4-QXP-L-K9,
--   NCS1K4-XP-CW-K9, NCS1K4-XPL-CW-K9: same chassis — use NCS1K4-1.2T-K9 image.

-- ── Cisco ASR 9001-S ─────────────────────────────────────────────────────────

-- ASR-9001-S — ASR 9000 1U small fixed-port router (storage-capable variant)
UPDATE switches
SET image_url        = 'https://www.networktigers.com/cdn/shop/files/cisco-ASR-9001-S_463x.progressive.jpg?v=1686353582',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/support/routers/asr-9001-router/model.html'),
    assets_scraped_at = NOW()
WHERE model = 'ASR-9001-S'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- ── Cisco ASR 9000v (original, pre-V2) ──────────────────────────────────────

-- ASR-9000V-AC — Original ASR 9000v satellite shelf (AC power, 24+4 ports)
UPDATE switches
SET image_url        = 'https://www.networktigers.com/cdn/shop/products/cisco-ASR-9000V-AC_463x.progressive.jpg?v=1656320995',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/routers/asr-9000-series-aggregation-services-routers/models-comparison.html'),
    assets_scraped_at = NOW()
WHERE model = 'ASR-9000V-AC'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- ASR-9000V-DC-A — Original ASR 9000v satellite shelf (DC power, variant A)
UPDATE switches
SET image_url        = 'https://www.networktigers.com/cdn/shop/products/cisco-ASR-9000V-DC-A_c2c63479-ea43-4dc1-a237-d2d9f30f3630_463x.progressive.jpg?v=1680539557',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/routers/asr-9000-series-aggregation-services-routers/models-comparison.html'),
    assets_scraped_at = NOW()
WHERE model = 'ASR-9000V-DC-A'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- ── Cisco ASR 9000v-V2 — update DC variants with specific images ──────────────
-- Migration 073 used A9KV-V2-AC photo for both DC-A and DC-E.
-- Specific product photos for DC-A and DC-E are now available on networktigers.

-- A9KV-V2-DC-A — ASR 9000v-V2 satellite shelf (DC power, variant A)
UPDATE switches
SET image_url        = 'https://www.networktigers.com/cdn/shop/products/cisco-A9KV-V2-DC-A_463x.progressive.jpg?v=1687770537',
    assets_scraped_at = NOW()
WHERE model = 'A9KV-V2-DC-A'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- A9KV-V2-DC-E — ASR 9000v-V2 satellite shelf (DC power, variant E)
UPDATE switches
SET image_url        = 'https://www.networktigers.com/cdn/shop/files/cisco-A9KV-V2-DC-E_463x.progressive.jpg?v=1736690588',
    assets_scraped_at = NOW()
WHERE model = 'A9KV-V2-DC-E'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- ── Cisco NCS 1000 Series (Optical Transport) ────────────────────────────────

-- NCS1001-K9 — NCS 1001 1-slot optical transport node
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1001-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1000-series/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1001-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1002-K9 — NCS 1002 2-slot optical transport node (higher capacity)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1002-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1000-series/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1002-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K-EDFA — NCS 1000 EDFA optical amplifier shelf (same chassis as NCS1001)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k-edfa.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1000-series/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K-EDFA'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- ── Cisco NCS 1004 (NCS1K4) — 4-slot 1U chassis ─────────────────────────────
-- All models below are the same physical 4-slot chassis.
-- Primary image: NCS1K4-1.2T-K9 (145KB); QXP variants use the qxp-k9 URL.

-- NCS1K4-1.2T-K9 — NCS 1004 with 1.2Tbps line card
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-1.2t-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4-1.2T-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K4 -1.2T-K9 (space variant — DB artifact from original seed data)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-1.2t-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4 -1.2T-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K4-1.2TL-K9 — NCS 1004 with long-reach 1.2Tbps line card (same chassis)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-1.2t-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4-1.2TL-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K4 -1.2TL-K9 (space variant)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-1.2t-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4 -1.2TL-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K4-1.2TLCW-K9 — NCS 1004 coherent wavelength long-reach (same chassis)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-1.2t-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4-1.2TLCW-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K4-2-QDD-C-K9 — NCS 1004 with 2×QDD-C coherent cards (same chassis)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-1.2t-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4-2-QDD-C-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K4-OTN-XP — NCS 1004 with OTN cross-point card (same chassis)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-1.2t-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4-OTN-XP'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K4-OTN-XPL — NCS 1004 OTN cross-point long-reach (same chassis)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-1.2t-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4-OTN-XPL'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K4-QDD-CW-K9 — NCS 1004 QDD coherent wavelength (same chassis)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-1.2t-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4-QDD-CW-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K4-QXP-L-K9 — NCS 1004 QXP long-reach (same chassis; QXP family image)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-qxp-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4-QXP-L-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K4 -QXP-K9 (space variant — DB artifact)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-qxp-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4 -QXP-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K4-XP-CW-K9 — NCS 1004 XP coherent wavelength (same chassis)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-1.2t-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4-XP-CW-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');

-- NCS1K4-XPL-CW-K9 — NCS 1004 XPL coherent wavelength long-reach (same chassis)
UPDATE switches
SET image_url        = 'https://www.router-switch.com/media/catalog/product/c/i/cisco-ncs1k4-1.2t-k9.jpg',
    product_page_url = COALESCE(product_page_url, 'https://www.cisco.com/c/en/us/products/optical-networking/network-convergence-system-1004/index.html'),
    assets_scraped_at = NOW()
WHERE model = 'NCS1K4-XPL-CW-K9'
  AND vendor_id = (SELECT id FROM vendors WHERE slug = 'cisco');
