summaryrefslogtreecommitdiff
path: root/src/op_mode/show_interfaces.py
AgeCommit message (Collapse)Author
2021-09-04op-mode: T3619: bugfix "show interfaces X detail"Christian Poessinger
Commit 27e53fbc ("op-mode: T3619: bugfix "show interfaces" for VLANs") fixed the op-mode command for the "show interfaces" operation, but if a user was interested in all the ethernet or bridge interfaces, the command "show interfaces <type> detail" did not yield any output. The filtered_interfaces() function was further generalized to only operate on base components and call itself recusively if required.
2021-09-04op-mode: T3619: bugfix "show interfaces" for VLANsChristian Poessinger
Commit 31169fa8a7 ("vyos.ifconfig: T3619: only set offloading options if supported by NIC") always instantiated an object of the Ethtool class for an ethernet object - this is right as a real ethernet interface is managed by Ethtool. Unfortunately the script used for "show interface" determindes the "base class" for an interface by its name, so eth0 -> Ethernet, eth0.10 -> Ethernet. This assumption is incorrect as a VLAN interface can not have the physical parameters changed of its underlaying interface. This can only be done for eth0. There is no need for the op-mode script to determine the implementation class for an interface at this level, as we are only interested in the state of the interface and it's IP addresses - which is a common operation valid for every interface on VyOS.
2021-09-04op-mode: import cleanup in "show interfaces" scriptChristian Poessinger
2021-08-24op-mode: T2223: drop dead code "get_vrrp_intf()"Christian Poessinger
2021-04-27op-mode: T2946: only call 'stty size' if in terminalJohn Estabrook
2021-03-07Revert "op-mode: T3357: Fix show_interfaces bug with tunnels"Christian Poessinger
This reverts commit e1c993f57efdf91f26a36f1d0339298e63fdf20e.
2021-03-07T3388: "show interfaces" op-mode command lacks PPPoE interfacesChristian Poessinger
Commit e5b335830ef ("vyos.ifconfig: T1579: remove calls to vyos.ifconfig.Interface.get_config()") removed the PPPoEIf class as it seemed to be unused. It turns out it is required by the op-mode commands for e.g. "show interfaces".
2021-03-02op-mode: T3357: Fix show_interfaces bug with tunnelssever-sever
2021-01-26op-mode: T3110: Gracefully handle SIGPIPE in show-interfaceserkin
2020-11-06op-mode: T2731: fix "show interfaces" returns invalid state when link is downChristian Poessinger
There has been a miss-match of admin-down and oper-down status for the Python implementation of "show interfaces".
2020-07-21interfaces: T2658: Fix description lengthsever-sever
2020-06-20op-mode: T2621: fix repeated interface descriptionChristian Poessinger
2020-06-15ifconfig: T2599: sort interface by natural orderThomas Mangin
2020-05-18flake8: T2475: fix a number of issue reported by flake8Thomas Mangin
2020-04-23pppoe: T2223: report the state of pppoe intfThomas Mangin
2020-04-14op_mode: T2223: two cosmetic change and bug fixThomas Mangin
2020-04-14op_mode: T2223 python version of show_interfacesThomas Mangin