Page MenuHomeVyOS Platform

Add arg to completion helper 'list_interfaces' to filter out vlan subinterfaces
Closed, ResolvedPublicFEATURE REQUEST

Description

Add argument --no-vlan-subinterfaces to suppress listing of subinterfaces:

jestabro@eunomia:~$ ./list_interfaces --type ethernet
eth0 eth1 eth1.10 eth1.30 eth1.40

jestabro@eunomia:~$ ./list_interfaces --type ethernet --no-vlan-subinterfaces
eth0 eth1

Details

Difficulty level
Easy (less than an hour)
Version
vyos-1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

jestabro triaged this task as Normal priority.Jul 31 2023, 8:30 PM
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
jestabro moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.