catalogue(planet): six GS-4210 L2/L4 managed gigabit switches #1603
Closed
jaylouisw
wants to merge 1 commit from
catalogue/1116-0425 into main
pull from: catalogue/1116-0425
merge into: jaylouisw:main
jaylouisw:main
jaylouisw:rev/1121-1812
jaylouisw:catalogue/1121-1822
jaylouisw:docs/1121-1817
jaylouisw:catalogue/1121-1752
jaylouisw:docs/1121-1747
jaylouisw:rev/1121-1742
jaylouisw:catalogue/1121-1722
jaylouisw:rev/1121-1712
jaylouisw:docs/1121-1717
jaylouisw:catalogue/1121-1652
jaylouisw:rev/1121-1642
jaylouisw:docs/1121-1647
jaylouisw:ci/1121-1646
jaylouisw:ci/1121-1427
jaylouisw:rev/1121-1412
jaylouisw:catalogue/1121-1422
jaylouisw:docs/1121-1417
jaylouisw:catalogue/1121-1352
jaylouisw:rev/1121-1342
jaylouisw:docs/1121-1347
jaylouisw:rev/1121-1212
jaylouisw:catalogue/1121-1222
jaylouisw:docs/1121-1217
jaylouisw:ci/1121-1027
jaylouisw:catalogue/1121-1022
jaylouisw:rev/1121-1013
jaylouisw:docs/1121-1017
jaylouisw:catalogue/1121-0852
jaylouisw:rev/1121-0842
jaylouisw:docs/1121-0847
jaylouisw:ci/1121-0827
jaylouisw:catalogue/1121-0822
jaylouisw:rev/1121-0812
jaylouisw:catalogue/1121-0752
jaylouisw:rev/1121-0742
jaylouisw:docs/1121-0747
jaylouisw:catalogue/1121-0722
jaylouisw:docs/1121-0717
jaylouisw:rev/1121-0712
jaylouisw:rev/1121-0642
jaylouisw:plan/1121-0637
jaylouisw:ci/1121-0627
jaylouisw:catalogue/1121-0622
jaylouisw:rev/1121-0612
jaylouisw:docs/1121-0617
jaylouisw:plan/1120-0337
jaylouisw:docs/1120-0347
jaylouisw:rev/1119-1942
jaylouisw:rev/1119-1912
jaylouisw:catalogue/1119-1752
jaylouisw:docs/1119-1347
jaylouisw:catalogue/1119-1352
jaylouisw:fix/1119-1232
jaylouisw:fix/1119-0602
jaylouisw:catalogue/1119-0452
jaylouisw:catalogue/1119-0422
jaylouisw:docs/1119-0417
jaylouisw:fix/1119-0202
jaylouisw:catalogue/1119-0222
jaylouisw:rev/1119-0042
jaylouisw:catalogue/1118-2252
jaylouisw:docs/1118-2047
jaylouisw:catalogue/1118-2152
jaylouisw:fix/1118-2037
jaylouisw:ci/1118-2027
jaylouisw:docs/1118-1416
jaylouisw:fix/1118-1006
jaylouisw:catalogue/1118-0326
jaylouisw:catalogue/1117-2326
jaylouisw:catalogue/1117-0025
jaylouisw:catalogue/1116-1730
jaylouisw:fix/1523-speed-downgrade-one-end
jaylouisw:fix/enable-required-and-empty-pipe-help
jaylouisw:land-all-v5
jaylouisw:land-all-v4
jaylouisw:land-all-v3
jaylouisw:land-all-v2
jaylouisw:land-all
jaylouisw:fix/board-id
jaylouisw:fix/stated-range
jaylouisw:fix/no-form-names-v2
jaylouisw:fix/voice-vlan
jaylouisw:devices/catalogue-batch
jaylouisw:devices/powerline-moca
jaylouisw:devices/firewalls-enterprise
jaylouisw:devices/pon-splitters
jaylouisw:devices/nvr-and-taps
jaylouisw:devices/four-nvr-models
jaylouisw:fix/contributing-exemption
jaylouisw:fix/stale-github-urls
jaylouisw:ci/cancel-superseded-runs
jaylouisw:gh/1438
jaylouisw:device/uisp-console-lbe-xr
jaylouisw:gh/1442
jaylouisw:docs/readme-current-counts
jaylouisw:feat/device-ubiquiti-wave-fiber-onu
jaylouisw:fix/address-ownership
jaylouisw:feat/vrrp-in-path
jaylouisw:fix/merge-research-duplicate
jaylouisw:docs/hybrid-patch-current
jaylouisw:fix/audit-port-template
jaylouisw:fix/2930f-jl256a-uplinks
jaylouisw:feat/dhcp-in-path
jaylouisw:feat/hackgpon-ubiquiti-uisp-fiber-xgs
jaylouisw:feat/hackgpon-adtran-sdx-621
jaylouisw:tool/issue-duplicate-sweep
jaylouisw:feat/device-mikrotik-rb433ah
jaylouisw:feat/hackgpon-ma5671a
jaylouisw:issues/categories-and-labels
jaylouisw:ci/run-every-suite-locally
jaylouisw:chore/http-smoke
No reviewers
Labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!1603
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "catalogue/1116-0425"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the PLANET GS-4210 L2/L4 managed gigabit access family (vendor
planet, previously 5 devices, all media converters and PoE extenders). Six specs, one hardware revision each, every figure traceable to a PLANET datasheet or product page.Discrepancies stated rather than smoothed over
PLANET restates the same model number with different electrical figures across hardware revisions, so each entry names the revision it models in
notes:Extend mode (10 Mbps per port over 250 m) is documented in notes for the 48P4S but not modelled - the port is still declared at 1G.
Validation
node scripts/import-devices.js --dry-runover the batch:Scanned 1 file(s), 6 spec(s) / Would add: 6 duplicates: 0 rejected: 0node scripts/import-devices.js --apply: added 6, no capability tokens dropped (all are engine tokens: l2-forward, vlan, lacp, stp, cli, http-server, poe-pse)node scripts/audit-port-types.js:No port contradicts its declared type.(exit 0)node scripts/audit-devices.js:No hard defects.node scripts/syntax-check.js: 333 files, all OKnode --test test/importer-roundtrip.test.js test/import-devices-capabilities.test.js test/fuzz-importer.test.js: 26 passed, 0 failednode --test test/catalogue-hygiene.test.js: 25 passed, 0 failedpoeOut, port 49 cages as SFP/optical.This branch conflicts with
main, so it was not rebased:A conflict is a decision about behaviour rather than a mechanical fix, so this is left for a human. Rebasing by hand and force-pushing will let the automation pick it up again.
Needs Jay's decision — the three add/add files are two different devices, not two copies.
#1590 landed PLANET GS-4210 files on
mainat 04:47; this PR adds its own versions of the same paths. The hardware facts disagree:f3bed6e3/ddeb48fe/045ae9f9)003758b7/b49b2551/0450939c)One of the two datasheet readings is wrong and I cannot tell which from here — keeping either side silently ships a wrong port template. The PR also adds 3 models
maindoes not have, so closing it outright would lose those. Decision: which dataset is authoritative for the three overlapping models (then the other 3 land cleanly), or split the new models into a fresh PR and close this one.Narrowing the decision: only one of the three overlapping files actually disagrees.
I re-read both sides of each add/add file at
main=0c87c74cagainst this branch =b28ca2e6, and the picture is smaller than my note above:So the semantic question is now one model, not three: which datasheet is authoritative for the GS-4210-16P2S (240 W / 42 Gbps with 2.5G uplinks, or 220 W / 36 Gbps with 100/1000X uplinks). Main's 16P2S reads as a later hardware revision than the branch's, and its 24P2S copy already carries the matching "v4 vs v2/v3 revisions genuinely differ" note — so main is the more likely winner, but that is a hardware fact I cannot verify from here and will not guess.
The other three models this PR adds —
gs-4210-24t4s,gs-4210-48p4s,gs-4210-48t4s— exist only here and are worth keeping.Once the 16P2S figure is settled this becomes mechanical: keep main for the two agreeing files, add the three new models, and the rebase has nothing left to argue about. Also note all five CI jobs are red on
b28ca2e6(run 3243), and this Forgejo build returns 404 on the actions log API, so I could not read the failure reason — it will need a green run after the rebase regardless.— surgery loop, 2026-11-16 07:23 run
Split: the three undisputed models now live in #1631. This PR keeps the only real question.
I ran the full suite on this branch's head (
b28ca2e6) locally - 263 of 265 suites, 9,526 assertions, 2 failing suites:doc-catalog-counts- genuinely stale generated docs: the registry headline is 2,109 / 321 switches, the catalogue now says 2,115 / 327.npm run regen:registry-docfixes it. Not yours to decide.static-surface-connect ECONNREFUSED 127.0.0.1:16989, a port collision on my machine, not this branch.So nothing in the six device files is broken. The only thing standing between this branch and a clean rebase is still the GS-4210-16P2S reading (main: hw v3, 2x 100/1000/2500X SFP, 240 W, 42 Gbps - this branch: 100/1000X, 220 W, 36 Gbps).
What I did in this run: took the three models
maindoes not have (24T4S,48T4S,48P4S) verbatim from this branch, regenerateddocs/DEVICE_REGISTRY.mdon top of currentmain(0571a52a), and opened #1631 so they are not held hostage by the 16P2S question. Locally green there: doc-catalog-counts 24/24, validation 22/22, hardware-invariants 26/26, audit-port-types, control bytes, syntax (343 files).Once you say which 16P2S revision is authoritative, this PR reduces to: drop
gs-4210-8p2s.jsonandgs-4210-24p2s.json(identical to main), keep or dropgs-4210-16p2s.jsonper your call, andregen:registry-doc. That is a mechanical rebase I can do in one run.Closing as superseded — all seven files in this PR are now on
main, and the three PoE models here would regress what main already has.Verified against
origin/mainat1901308d:devices/planet/gs-4210-24t4s.json6a89c788(PR #1631, split out of this branch)devices/planet/gs-4210-48t4s.json6a89c788devices/planet/gs-4210-48p4s.json6a89c788devices/planet/gs-4210-8p2s.jsonff2d4951(PR #1590)devices/planet/gs-4210-16p2s.jsonff2d4951devices/planet/gs-4210-24p2s.jsonff2d4951research/incoming/devices-planet-gs4210.jsonsourceUrl+notesThe three PoE models are not a straight duplicate:
ff2d4951(Jay's own PR, co-committed by jay) landed them in the richer schema —portTemplatewith per-portspeedCaps,802.3af/802.3atcapability tokens, and afabricblock — while this branch carries the older draft shape (bare numeric interface names, noportTemplate, no PoE standard tokens). Merging this PR over main would remove those, so a rebase here is not the answer.The 16P2S question is already answered on main:
ff2d4951models hardware version 3 — 240 W, 42 Gbps, 2.5G SFP uplinks. This branch has hw v2 (220 W, 36 Gbps, 1000/1000X). If the v2 reading is the one you want, it is a one-file edit against main — reopen or file a fresh PR with just that change; I am not going to overwrite main's v3 numbers on my own judgement.CI on head
b28ca2e6was red on all five functional jobs (Test 18/20/22, smoke, Docker) after ~10 min each, andmergeable=falseat 41 commits behind — both moot now.Branch
catalogue/1116-0425left in place, nothing rewritten. Jay — nothing needed here unless you want the 16P2S hw v2 figures instead.Pull request closed