summaryrefslogtreecommitdiff
path: root/src/conf_mode
AgeCommit message (Collapse)Author
2020-03-29vrf: T31: bugfix after converting remove list to dictChristian Poessinger
The list of VRFs to remove has been converted to a dict. The deletion of a VRF was no longer triggered as the logic still thought it is a list.
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-29wwan: T1988: add missing support for backup default routesChristian Poessinger
2020-03-29wwan: T1988: create peer directory on demandChristian Poessinger
2020-03-29pppoe: T1318: create peer directory on demandChristian Poessinger
2020-03-29wwan: T1988: reorder config option to match VyOS 1.2Christian Poessinger
2020-03-29pppoe: T1988: bugfix creating ip-pre-up.d directory after moving to vyos-1xChristian Poessinger
The creation of this directory has been done in the past using vyatta- wirelessmodem and after it's replacement in vyos-1x the directory has not been deployed anymore. Thos when rendering the PPPoE configuration the directory will be created on deemand.
2020-03-28Merge pull request #282 from thomas-mangin/T2057-mac-hwidChristian Poessinger
ifconfig: T2057: Do not set empty hw_id mac
2020-03-28wwan: T1988: ppp: change order of debug and logfile optionsChristian Poessinger
2020-03-28wwan: T1988: support interface disableChristian Poessinger
2020-03-28wwan: T1988: add support for Sierra Wireless MC7710 modemChristian Poessinger
2020-03-28wwan: T1988: initial XML/Python representationChristian Poessinger
2020-03-28ifconfig: T2057: Do not set empty hw_id macThomas Mangin
set_mac is validating the mac address passed, therefore passing empty string will cause it to fail. if the hardware id could not be found then it should not be attempted to be set
2020-03-28ipv6: T1831: migrate eui64 addressing to XML and pythonChristian Poessinger
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-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-27pim: T1729: Basic PIM implementationDmitriyEshenko
2020-03-26router-advert: T2162: bugfix migrating link-mtu nodes with 0 valueChristian Poessinger
... those nodes mean link-mtu advertisement is disabled in radvd and thus we delete the node completely as it's useless.
2020-03-25openvpn: T2148: fix setting "server client" without "ip"Jernej Jakob
2020-03-25Merge pull request #268 from Elbandi/fixsnmpChristian Poessinger
T2161: Skip ipv6 listen, if it is disabled
2020-03-25T2161: Skip ipv6 listen, if it is disabledAndras Elso
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-25Merge pull request #267 from jjakob/openvpn-remove-old-filesChristian Poessinger
openvpn: T2146: remove old files
2020-03-24openvpn: T2146: remove user/pass auth file when not neededJernej Jakob
2020-03-24openvpn: T2146: delete old client configsJernej Jakob
Previously old client configs for clients that were deleted from the server stayed in the ccd directory, causing them to still be used. As we can't know which clients were deleted, this deletes all the client configs as they are recreated shortly later.
2020-03-24service https: T2157: Organize server block directives as 'virtual host'John Estabrook
2020-03-24router-advert: T1831: update comment in jinja templateChristian Poessinger
2020-03-24ifconfig: T2057: remove need for interface-types.jsonThomas Mangin
2020-03-24ifconfig: T2057: convert STP to adapterThomas Mangin
2020-03-24ifconfig: T2057: add VTunIf classThomas Mangin
2020-03-24router-advert: T1831: new implementation using XML and PythonChristian Poessinger
2020-03-23ifconfig: T2154: fixing failure to start-stop-daemonThomas Mangin
2020-03-23wireless: T2151: switch to iw when adding and deleting interfacesChristian Poessinger
2020-03-23T2152 fix to allow external IP usage to workkroy-the-rabbit
Conf got set to inappropriate level to make the web-url option work
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 #257 from thomas-mangin/2028-modify-fixChristian Poessinger
tunnel: T2028: fix wrongly blocked interface change
2020-03-23tunnel: T31: add support for vrf on tunnelsThomas Mangin
2020-03-23tunnel: T2028: fix wrongly block interface changeThomas Mangin
2020-03-22wireless: T2151: calculate MAC address only if not deletedChristian Poessinger
Calculation of the locally administered MAC address should only be performed when the interface is not deleted.
2020-03-22wireless: T2151: rename dict member from type to op_modeChristian Poessinger
2020-03-22Merge pull request #222 from thomas-mangin/T2028Christian Poessinger
tunnel: T2028: move interface tunnel to XML/Python
2020-03-22tunnel: T2028: move interface tunnel to XML/PythonThomas Mangin
This patch migrates the "interface tunnel" section to xml/python
2020-03-22wireless: T2151: calculate locally administered MAC address per SSIDChristian Poessinger
According to http://wiki.stocksy.co.uk/wiki/Multiple_SSIDs_with_hostapd every SSID served by access-point should run on its own, locally administered MAC address. Take the phy's interface MAC address as base and calculate a per interface locally administered MAC address.
2020-03-22wireless: T1627: add validator on physical-interfaceChristian Poessinger
A physical (phy) interface is mandatory for WiFi to work.
2020-03-22wireless: T1627: bugfix reading physical-interface to configChristian Poessinger