docs(simulation): the BGP row's CLI pointers land in no dns zone and two IPv6 handlers #2551
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!2551
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/1124-0917"
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?
What was untrue
docs/SIMULATION.md§5.6 lists, for the BGP section's last row, the three places inengine/cli.jsthat implementrouter bgp,_bgp()andneighbor ... remote-as. It cited:engine/cli.js:2009-2010forrouter bgpengine/cli.js:3361for_bgp()engine/cli.js:3394-3405forneighbor ... remote-asEvidence from the code
Read off this tree (
ebaa7546):2009is inside theno dns zonehandler (engine/cli.js:2007-2015); therouter bgpdoor is at 2052.3361isif (key === 'valid') valid = n;inside_ipv6Nd()'s RA-prefix lifetime parser;_bgp(tokens)is defined at 3404.3394isif (!p.valid) return ['% Invalid IPv6 prefix ...']inside_ipv6Route(); theneighbor <ip> remote-as <as>block is 3438-3448 (its usage line at 3450).The three moved together because #2532 and #2537 added code above all of them — +43, +43, +44 lines. The paragraph under the row already narrates one earlier round of exactly this rot (1901/3168/3202 → 1944/3246/3279 → 2009/3361/3394); this change records the fifth reading and names what the fourth one now lands in, so the paragraph is not silently contradicted by the table above it.
No code changed. The console's BGP surface itself is unchanged and still exercised by
test/bgp*.test.js.Guards
node scripts/syntax-check.js— 565 files, all OKtest/docs-show-commands.test.js— 91 forms, 182 commands, 118 refusals, 7 passedtest/help-completeness.test.js— 19 mechanisms, 16showcommands, 8 passedtest/no-form-help-key.test.js— 81 passedtest/docs-cli-transcript.test.js— 9 passednode scripts/check-doc-citations.js— 364 citations, 24 judged, none more than 40 lines from the code it namesnode scripts/check-control-bytes.ts— cleanno dns zoneand two IPv6 handlers