plans: the trunk is edited by three verbs and printed by no table #2058
No reviewers
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!2058
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "plan/1119-0037"
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/interfaces-trunk-view.md, measured on68857a05.show interfaces trunkis a refused view: the 13-entryINTERFACES_VIEW_KEYWORDStable (engine/cli.js:551-568,trunkat:557) answers it with% 'trunk' is a view, not a port: this console has no 'show interfaces trunk'.and points atshow vlan brief+show interfaces <port>.test/show-interfaces-view-keywords.test.js:108pins the phrase;docs/ARCHITECTURE.md:722/738/1260/1290carry the 13 / twelve / 97 counts.cli.js:3175-3330), 15 of the last 80 commits are about it, fivetrunk-allowed-*suites pin it - and nothing lists the trunks.switchportSentence()engine/vlan.js:436, printed atcli.js:6487):show interfacesis 66 lines on the 8-port generic switch, ~370 on a 48-port box.switchport trunk allowed vlan 10,20,99is accepted with VLAN 99 never created (allowed but not active), and a trunk cabled to an access port measuresstatus: up, protocol: upwhilemismatchReason()(vlan.js:738) already knows the sentence and no view prints it.Device.inactiveVlan()(device.js:382-395) answers the deleted-VLAN question for access ports only, and says in its own comment that the trunk half is left alone.Five ordered steps, each one PR: capture the vendor's four sections (S, research only), add sections 1-2 as
_showInterfacesTrunk()beside_showDhcp()(M, needs Jay's approval), extract one VLAN database shared withshow vlanso allowed-vs-active cannot disagree (S), share the carrier list withno vlan(S), and move the docs, help index and the four ARCHITECTURE counts (S).Vlans in spanning tree forwarding state and not prunedis out of scope:engine/stp.js:191runs one tree with no VLAN argument, so a per-VLAN answer does not exist to print.Closes no open issue - the queue is #130 and #803, both device requests. It supplies the transcript open PR #2056 records as unfound, which is why it is complementary rather than a duplicate.
Guards:
node scripts/syntax-check.js430 files OK;node scripts/check-doc-citations.jsclean.33e06c34178f9153a6de8f9153a6deto6f108e8fbe6f108e8fbetof0b760af55