fix: Cisco line card URL mapping (8800/84/86 → 8000 family page, skip ASR9K logo-only)
This commit is contained in:
parent
c9333ab5ea
commit
653824f23b
@ -52,11 +52,15 @@ function buildCiscoUrl(model: string): string | null {
|
||||
const slug = m.toLowerCase().replace(/[^a-z0-9]/g, "-");
|
||||
return `https://www.cisco.com/c/en/us/products/switches/catalyst-${slug}/index.html`;
|
||||
}
|
||||
// Cisco 8000 SP series: 8101-32FH, 8202-32FH, 8608
|
||||
// Cisco no longer has individual 8000 model pages — use the family page instead
|
||||
// Cisco 8000 SP series chassis: 8101-32FH, 8202-32FH, 8608
|
||||
if (/^8[0-9]{3}/.test(m)) {
|
||||
return `https://www.cisco.com/site/us/en/products/networking/sdwan-routers/8000-series/index.html`;
|
||||
}
|
||||
// Cisco 8800 line cards (88-LC0-*, 84-MPA-*, 86-MPA-*) → same 8000 family page
|
||||
if (/^(88|84|86)-/.test(m)) {
|
||||
return `https://www.cisco.com/site/us/en/products/networking/sdwan-routers/8000-series/index.html`;
|
||||
}
|
||||
// ASR 9000 / A900 line cards only return the Cisco logo as og:image — skip
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user