summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)Author
2020-03-30migration: T2029: process new version syntax in configtreeJohn Estabrook
2020-03-30migration: T2029: remove reference to default vintage in MigratorJohn Estabrook
2020-03-30migration: T2029: run virtual migration before migrationJohn Estabrook
Update syntax of component version string, before passing config file to configtree in migration scripts.
2020-03-30migration: T2029: set default vintage; remove target from virtualJohn Estabrook
The VirtualMigrator updates the syntax of the component version string. Remove the default target, allowing downgrade to old syntax.
2020-03-30ifconfig: T2166: Recovery Proxy ARP for vlansDmitriyEshenko
2020-03-30wireless: 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-29vyos.util: increase usage of process_running() and remove duplicated codeChristian Poessinger
OpenVPN, WIFI, SSTP all had the same boiler plate copied about checking if a process associated with a pidfile is running or not. This has been migrated to the common library function vyos.util.process_running().
2020-03-28ifconfig: T2057: fix import for run show interfaces wireguardThomas Mangin
when ifconfig.py was broken down in multiple files an import was missed. This fixes this import
2020-03-28ifconfig: T2057: correctly provide the reason why a MAC could not be setThomas Mangin
2020-03-28ipv6: T1831: migrate eui64 addressing to XML and pythonChristian Poessinger
2020-03-28vyos.util: import cleanupChristian Poessinger
Instead of including all functions/classes from a file, only include the ones we really need.
2020-03-28ipv6: T1831: migrate autoconf nodeChristian Poessinger
Autoconfigure addresses using Prefix Information in Router Advertisements.
2020-03-28ipv6: T1831: use integers over bool in interface configurationChristian Poessinger
2020-03-28ipv6: T1831: migrate forwarding and dup-addr-detect-transmits nodesChristian Poessinger
... to new XML and Python based frontend/backend.
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 #278 from thomas-mangin/T2167Christian Poessinger
ifconfig: T2167: get_mac was not returning
2020-03-28ifconfig: T2167: get_mac was not returningThomas Mangin
2020-03-28Merge pull request #276 from thomas-mangin/T2057-aliasChristian Poessinger
ifconfig: T2057: add get_alias function
2020-03-28Merge pull request #277 from thomas-mangin/T2057-fix-forceChristian Poessinger
ifconfig: T2057: option forcing
2020-03-27ifconfig: T2057: add get_alias functionThomas Mangin
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-27wireless: T2105: properly support disabled WIFI interfacesChristian 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-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-25ifconfig: T2057: fix finding section name from interfaceThomas Mangin
2020-03-25Merge pull request #265 from thomas-mangin/2057-dhcp-vlanChristian Poessinger
ifconfig: T2057: break down DHCP, add register, STP and VLAN as adapters
2020-03-24ifconfig: T2158: xen_netfront does not support setting pause/speedNate 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-24ifconfig: T2057: remove need for interface-types.jsonThomas Mangin
2020-03-24ifconfig: T2057: convert STP to adapterThomas Mangin
2020-03-24ifconfig: T2057: convert VLAN to adapterThomas Mangin
2020-03-24ifconfig: T2057: add PPPoEIf classThomas Mangin
2020-03-24ifconfig: T2057: add VTunIf classThomas Mangin
2020-03-24ifconfig: T2057: add class RegisterThomas Mangin
2020-03-24ifconfig: T2057: small cleanup VLANIfThomas Mangin
2020-03-24ifconfig: T2057: break down DHCPThomas Mangin
2020-03-24Merge pull request #261 from thomas-mangin/2154Christian Poessinger
ethernet: T2154: do not report errors where none are
2020-03-23ifconfig: T2154: fixing failure to start-stop-daemonThomas Mangin
2020-03-23T2125: Replacing all missing importskroy-the-rabbit
2020-03-23T2125: Fixing missing importkroy-the-rabbit
2020-03-23wireless: T2151: switch to iw when adding and deleting interfacesChristian Poessinger
2020-03-23ifconfig: T2151: always start interface in monitoring modeChristian Poessinger
2020-03-23ifconfig: T2151: get_state() must use administrative state and not operstateChristian Poessinger
... as set_state() changes the interface administrative state, too!
2020-03-23ifconfig: T2151: ensure interface is admin down when changing MAC addressChristian Poessinger
2020-03-23ifconfig: T2151: add possibility to query assigned MAC addressChristian Poessinger
... this is required for delta checks
2020-03-23Merge pull request #258 from thomas-mangin/31-vrfChristian Poessinger
tunnel: T31: fix vrf deletion, add support for vrf on tunnels
2020-03-23ifconfig: T31: convert all interface to set_vrf apiThomas Mangin
2020-03-23Merge pull request #256 from thomas-mangin/2057-cleanupChristian Poessinger
ifconfig: T2057: tidying up code for geneve and vxlan
2020-03-23tunnel: T31: add support for vrf on tunnelsThomas Mangin
2020-03-22geneve: T2057: use self.default as template for get_configThomas Mangin
2020-03-22vxlan: T2057: rewrite _create commandThomas Mangin