docs(cli): the round-trip sweep covers 2,203 models, not 2,204 of all of them #2157
No reviewers
Labels
No labels
blocked-on-build
bug
device
device-request
enhancement
from-github
needs-datasheet
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!2157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/1119-1317"
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?
docs/CLI.md(thehostnamewarning paragraph) says the round-trip guard "replays all 2,204 models that print a running-config".What the code does.
test/config-roundtrip.test.jsprints its own coverage:the sweep covered the catalogue (2203 models). It reaches that number afterif (!ports.length) continue;-- only specs with a non-parent Ethernet port can be seeded, so the sweep never types at the 153 models that have none. The catalogue is 2,356 specs, 2,203 of them with an Ethernet port.So the sentence was wrong twice: the count (2,204) and the population ("all models that print a running-config" -- every spec prints one; the sweep covers the ones it can seed a port on).
Change. The sentence now names the 2,203 models with an Ethernet port, which is what the guard replays and the number it prints.
Guards after the edit: syntax-check 453 files OK; docs-show-commands 7/7 (59 forms, 118 commands, 74 refusals); docs-cli-transcript 9/9; help-completeness 8/8 (102 advertised commands, 19 mechanisms, 16 show); doc-catalog-counts 43 checks; config-roundtrip 2203 models swept, 0 failures.
Docs-only: no code changed. The comment at
test/hostname-illegal-characters.test.js:112still says 2198 and is left for a code-stream touch.