plans: spanning-tree per-port tunables - cost, port-priority and portfast, measured on 76546d5b #1996
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!1996
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "plan/1118-1511"
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?
Plan only - no code, no engine/test/workflow edits in this PR.
docs/plans/stp-port-tunables.md, measured on76546d5b:engine/stp.js:144(portCost()) already prefersport.cost, and the only production caller never sets it:engine/simulator.js:905derives every port cost from the cable rate, so the override exists fortest/stp-path-cost.test.js:66and nothing else.engine/stp.js:104says so,comparePortIds()(:120-142) compares names with no priority byte - andSTP_UNMODELLED(engine/cli.js:642) refusescost,portfast,edgeand nine more at:1139-1144/:1295-1300.engine/cli.js:168records that_ifaceMode()does not dispatchspanning-treeand an interface block falls through to_configMode(:1122).stpTimers()(engine/convergence.js:54) gives every port 15 s listening + 15 s learning andstpPortStateAt()(:240) makes no exception.engine/cli.js:5775-5781) and refuses every tail at:5727; only the bridge priority round-trips (cli.js:6244,engine/device.js:1492/:1555).Six ordered steps, each one PR and one worker: the interface-mode door plus
spanning-tree cost(acceptance and engine consumption in the same PR),port-prioritywith a real priority byte,portfastwith the convergence shortcut, the Cost/Prio.Nbr/Type columns andshow spanning-tree interface, the config round trip, then the prose that now contradicts the code. Step 7 is PVST/per-VLAN and is marked as needing Jay.Closes no open issue - the queue is #130 and #803 (device requests) and #1980 (a changelog plan). It closes the gap #1493 documented only as far as the message.