Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-02 | fconfig: l2tpv3: T1823: fix configuration build syntax | Christian Poessinger | |
Fixes reference to unspecified variable Traceback (most recent call last): File "/usr/libexec/vyos/conf_mode/interfaces-l2tpv3.py", line 245, in <module> apply(c) File "/usr/libexec/vyos/conf_mode/interfaces-l2tpv3.py", line 211, inapply l = L2TPv3If(l2tpv3['intf'], **conf) File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py", line 185, in __init__ self._create() File "/usr/lib/python3/dist-packages/vyos/ifconfig/l2tpv3.py", line 48, in _create cmd = 'ip l2tp add tunnel tunnel_id {} '.format(config['tunnel_id']) NameError: name 'config' is not defined | |||
2020-04-02 | ifconfig: l2tpv3: T1823: add missing items from config dict to options | Christian Poessinger | |
Commit 8a4dd6c2816 ("ifconfig: T2057: add class Register") added the interface options but not all have been migrated. The forgotten ones have been added by this commit (session_id & peer_session_id). | |||
2020-04-02 | ifconfig: l2tpv3: T1823: add missing import statement | Christian Poessinger | |
Import statement has been forgotton on the ifconfig file split. | |||
2020-03-31 | Merge pull request #283 from thomas-mangin/T2057-wg-dump | Christian Poessinger | |
ifconfig: T2057: Move code from interface.py to wireguard.py | |||
2020-03-31 | ifconfig: T2057: centralise wireguard code | Thomas Mangin | |
Some left over wireguard code was left in the interface.py file. The code was moved into the wireguard.py file and the now empty interface.py file removed as no longer holdin any code. | |||
2020-03-31 | ifconfig: T2057: allow to disable interface debugging | Thomas 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-30 | wireless: T2057: fix missing rename of set_state() -> set_admin_state() | Christian Poessinger | |
Commit 627d1c704c83 ("ifconfig: T2057: explicity name state functions") introduced a new API naming, unfortunately this was nod added for wireless interfaces. | |||
2020-03-28 | ifconfig: T2057: fix import for run show interfaces wireguard | Thomas Mangin | |
when ifconfig.py was broken down in multiple files an import was missed. This fixes this import | |||
2020-03-28 | ipv6: T1831: migrate eui64 addressing to XML and python | Christian Poessinger | |
2020-03-28 | ipv6: T1831: migrate autoconf node | Christian Poessinger | |
Autoconfigure addresses using Prefix Information in Router Advertisements. | |||
2020-03-28 | ipv6: T1831: use integers over bool in interface configuration | Christian Poessinger | |
2020-03-28 | ipv6: T1831: migrate forwarding and dup-addr-detect-transmits nodes | Christian Poessinger | |
... to new XML and Python based frontend/backend. | |||
2020-03-28 | Merge pull request #275 from thomas-mangin/T2057-oper-admin | Christian Poessinger | |
ifconfig: T2057: explicity name state functions | |||
2020-03-28 | ifconfig: T2057: explicity name state functions | Thomas 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-28 | Merge pull request #278 from thomas-mangin/T2167 | Christian Poessinger | |
ifconfig: T2167: get_mac was not returning | |||
2020-03-28 | ifconfig: T2167: get_mac was not returning | Thomas Mangin | |
2020-03-28 | Merge pull request #276 from thomas-mangin/T2057-alias | Christian Poessinger | |
ifconfig: T2057: add get_alias function | |||
2020-03-28 | Merge pull request #277 from thomas-mangin/T2057-fix-force | Christian Poessinger | |
ifconfig: T2057: option forcing | |||
2020-03-27 | ifconfig: T2057: add get_alias function | Thomas Mangin | |
2020-03-27 | ifconfig: T2057: option forcing | Thomas Mangin | |
The code was trying to not perform change when not necessary however it prevent zero value to be set | |||
2020-03-27 | wireless: T2105: properly support disabled WIFI interfaces | Christian Poessinger | |
It is not sufficient to only place a wifi interface in adminsitrative down state as hostapd could change the interface state again. If the wifi interface is administratively disabled, hostapd or wpa_supplicant should not be started at all to prevent anyone from messing arround with the admin state. | |||
2020-03-27 | ifconfig: T2158: never fail when setting flowcontrol | Thomas 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-25 | ifconfig: T2057: fix finding section name from interface | Thomas Mangin | |
2020-03-25 | Merge pull request #265 from thomas-mangin/2057-dhcp-vlan | Christian Poessinger | |
ifconfig: T2057: break down DHCP, add register, STP and VLAN as adapters | |||
2020-03-24 | ifconfig: T2158: xen_netfront does not support setting pause/speed | Nate Carlson | |
* Add xen_netfront to the list of interface types that will error reading pause via ethtool * Also disable for speed, as it doesn't make sense (although the driver doesn't error.) | |||
2020-03-24 | ifconfig: T2057: remove need for interface-types.json | Thomas Mangin | |
2020-03-24 | ifconfig: T2057: convert STP to adapter | Thomas Mangin | |
2020-03-24 | ifconfig: T2057: convert VLAN to adapter | Thomas Mangin | |
2020-03-24 | ifconfig: T2057: add PPPoEIf class | Thomas Mangin | |
2020-03-24 | ifconfig: T2057: add VTunIf class | Thomas Mangin | |
2020-03-24 | ifconfig: T2057: add class Register | Thomas Mangin | |
2020-03-24 | ifconfig: T2057: small cleanup VLANIf | Thomas Mangin | |
2020-03-24 | ifconfig: T2057: break down DHCP | Thomas Mangin | |
2020-03-24 | Merge pull request #261 from thomas-mangin/2154 | Christian Poessinger | |
ethernet: T2154: do not report errors where none are | |||
2020-03-23 | ifconfig: T2154: fixing failure to start-stop-daemon | Thomas Mangin | |
2020-03-23 | T2125: Replacing all missing imports | kroy-the-rabbit | |
2020-03-23 | T2125: Fixing missing import | kroy-the-rabbit | |
2020-03-23 | wireless: T2151: switch to iw when adding and deleting interfaces | Christian Poessinger | |
2020-03-23 | ifconfig: T2151: always start interface in monitoring mode | Christian Poessinger | |
2020-03-23 | ifconfig: T2151: get_state() must use administrative state and not operstate | Christian Poessinger | |
... as set_state() changes the interface administrative state, too! | |||
2020-03-23 | ifconfig: T2151: ensure interface is admin down when changing MAC address | Christian Poessinger | |
2020-03-23 | ifconfig: T2151: add possibility to query assigned MAC address | Christian Poessinger | |
... this is required for delta checks | |||
2020-03-23 | Merge pull request #258 from thomas-mangin/31-vrf | Christian Poessinger | |
tunnel: T31: fix vrf deletion, add support for vrf on tunnels | |||
2020-03-23 | ifconfig: T31: convert all interface to set_vrf api | Thomas Mangin | |
2020-03-23 | Merge pull request #256 from thomas-mangin/2057-cleanup | Christian Poessinger | |
ifconfig: T2057: tidying up code for geneve and vxlan | |||
2020-03-23 | tunnel: T31: add support for vrf on tunnels | Thomas Mangin | |
2020-03-22 | geneve: T2057: use self.default as template for get_config | Thomas Mangin | |
2020-03-22 | vxlan: T2057: rewrite _create command | Thomas Mangin | |
2020-03-22 | ifconfig: T2151: add WiFiIf interface representation class | Christian Poessinger | |
This class is required as wireless interfaces are created using iw instead of ip from iproute2. | |||
2020-03-22 | vxlan: T2057: use self.default as template for get_config | Thomas Mangin | |