summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/control.py
AgeCommit message (Collapse)Author
2020-04-04ifconfig: T2205: silence ethtool harmless failuresThomas Mangin
Not all interface are capable of all features. Since commands are now checked for valid completion, ethtool command failure must be ignored.
2020-03-31ifconfig: T2057: allow to disable interface debuggingThomas Mangin
In order to be able to use the interface class with operational mode, these commands must not log as it would otherwise mess with the output on the screen.
2020-03-28Merge pull request #275 from thomas-mangin/T2057-oper-adminChristian Poessinger
ifconfig: T2057: explicity name state functions
2020-03-28ifconfig: T2057: explicity name state functionsThomas Mangin
The Interface get_state/set_state were not clear about if they edited the admin or operational state. functions are now using admin_state and oper_state for clarity.
2020-03-28Merge pull request #277 from thomas-mangin/T2057-fix-forceChristian Poessinger
ifconfig: T2057: option forcing
2020-03-27ifconfig: T2057: option forcingThomas Mangin
The code was trying to not perform change when not necessary however it prevent zero value to be set
2020-03-27ifconfig: T2158: never fail when setting flowcontrolThomas Mangin
the result of the commands used to setup the interface is now checked. flowcontrol can not always be set on all interfaces, and when/if it fails, it prevents the interace to come up. This is problematic as it may prevent the router to come up. Therefore flowcontrol must be allowed to fail gracefully/silently.
2020-03-24ifconfig: T2057: add class RegisterThomas Mangin
2020-03-23tunnel: T31: add support for vrf on tunnelsThomas Mangin
2020-03-20ifconfig: T2057: fail change when command are failingThomas Mangin
2020-03-20ifconfig: T2057: data conversion was lost, better error messageThomas Mangin
2020-03-06ifconfig: T2104: splt ifconfig.py into multiple filesThomas Mangin