Page MenuHomeVyOS Platform

Extend list_interfaces.py to support multiple interface types
Closed, ResolvedPublicFEATURE REQUEST

Description

Currently the helper script /usr/libexec/vyos/completion/list_interfaces.py only supports a single interface type

$ /usr/libexec/vyos/completion/list_interfaces.py
lo eth0 eth1 gre0 gretap0 erspan0 tun666
$ /usr/libexec/vyos/completion/list_interfaces.py -t ethernet
eth0 eth1

but specifying two types results in no result at all:

$ /usr/libexec/vyos/completion/list_interfaces.py -t ethernet -t bridge

but the expected result would be:

$ /usr/libexec/vyos/completion/list_interfaces.py -t ethernet -t bridge
eth0 eth1 br0 br1

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Related Objects

StatusSubtypeAssignedTask
ResolvedFEATURE REQUESTc-po
ResolvedFEATURE REQUESTdmbaturin

Event Timeline

c-po triaged this task as Normal priority.
dmbaturin set Is it a breaking change? to Perfectly compatible.
dmbaturin set Issue type to improvement.
dmbaturin set Issue type to Feature (new functionality).Fri, Nov 8, 10:50 AM