show vlan: the vendor's column widths, and the rule line under the header #1583
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!1583
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rev/1116-0142"
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?
show vlanpadded the VLAN id to eight characters and printed no rule line, soStatussat at column 41 instead of 38 and the Ports list at 51 instead of 48 - every row three columns right of the heading above it.Four Cisco command references print the same shape (Cisco IOS LAN Switching Command Reference, IOS XE 16.6 Catalyst 9400, IOS XE 16.1 Catalyst 3850, Catalyst 3650 16.2 - all
show vlan):VLAN_COLUMNS; the header, the rule line and every row are built from it (vlanLine,vlanRule)test/show-vlan-table-shape.test.js(14 checks): the header and rule are the vendor strings, every dash group starts in its heading's column, and a row lands on 5/38/48 whatever the id and name aretest/show-vlan(29) andtest/show-vlan-reserved-defaults(30) now read rows by column position instead of whitespace runs, because a four-character id leaves a single space before the nameresearch/show-vlan-columns.mdrecords the evidence, plus the one thing not adopted: the Ports list is still not wrapped, because no source read here showed the continuation indentFull suite: 261 suites, 9447 assertions, 0 failed. Syntax check 331 files.
1991c89855f9ad73775e