cli: show ip ospf neighbor prints the device's six columns - Pri and Dead Time included #1708
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!1708
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rev/1116-1800"
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?
The neighbour table printed four of the six fields a real box prints, in a different order: Address and Interface sat where Pri and Dead Time belong.
Question: which fields does
show ip ospf neighborprint, in what order, at what column, and what isDead Timecounting?Evidence
Change
show ip ospf neighborprintsNeighbor ID Pri State Dead Time Address Interfaceat the measured widths.ospfNeighbors[].prioritycarries the neighbour's Hello priority (1 everywhere;ip ospf priorityis not modelled).convergence.ospfTimers()- the schedule OSPF already converges on - so a converged table prints the whole interval and a finite run instant prints the countdown.docs/CLI.mdsample and prose updated;research/ospf-neighbor-table-layout.mdrecords sources, inferences and the open questions (row expiry at zero,FULL/ -spacing, the hour form).Tests
test/show-ospf.test.js46 -> 64 assertions (header string, six column positions, Pri alignment, the countdown at t=0/4 s/9 s/10 s/14 s, and a 120 s dead interval over a 30 s hello).node scripts/syntax-check.js: 355 files OK. Full suite: 284 suites, 10166 assertions, 0 failed.show ip ospf neighborprints the device's six columns - Pri and Dead Time included97a7a9ed9c35cb54d4de