summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-05dhcpv6-server: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05dhcpv6-relay: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05wireless: T2212: bugfix for BF-ANTENNA and SOUNDING-DIMENSION flagsalainlamar
VHT flags deal with many variables which depend on antenna count and supported features. BF-ANTENNA-(2|3|4) and SOUNDING-DIMENSION-(2|3|4) were not dealt with correctly. IEEE 802.11ac (VHT) supports at least 1 antenna and up to 8 antennas at most. The hsotapd VHT flags may support as many but most do not. Therefore, we need to be picky here...
2020-04-05ifconfig: l2tpv3: T1823: fix remaining errors in config syntaxChristian Poessinger
Commit b5310b0 ("ifconfig: l2tpv3: T1823: fix configuration build syntax") did not cover all parts of the l2tpv3 config. Some parts when e.g. adjusting l2tpv3 addresses after the tunnel was created did fail with the same error. This has been fixed.
2020-04-05ntp: T2230: fix wrong import statementChristian Poessinger
Commit 579275e ("ntp: T2230: move inlined templates to dedicated files") altered the import statements for forgot to adjust the code.
2020-04-05dhcp-relay: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05sstp: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05dhcp: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05l2tp: convert to PEP8 styleChristian Poessinger
2020-04-05ntp: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05ssh: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05T2230: confert dos to unix line endingsChristian Poessinger
2020-04-05l2tp: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05wireless: T1627: add imports from netaddrChristian Poessinger
Commit 3d978249b313 ("wireless: T1627: move Jinja2 templates to data/templates folder") remove a wildcard import statement which is required for MAC address modification for the AP.
2020-04-05Merge branch 't2206-wireguard' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't2206-wireguard' of github.com:c-po/vyos-1x: wireguard: T2228: support ports less then 1024 wireguard: T2206: add valueHelp for listen port wireguard: T2206: split endpoint node into address and port wwan: migrate: fix comment
2020-04-05wireguard: T2228: support ports less then 1024Christian Poessinger
2020-04-05wireguard: T2206: add valueHelp for listen portChristian Poessinger
2020-04-05wireguard: T2206: split endpoint node into address and portChristian Poessinger
WireGuard has been the only subsystem combining a remote ip address and a remote port number into a single node. This is bad as there is no possiblity for the XML based input validation for IP address and port numbers. That's the reason the peer endpoint node goets migrated into a peer address and a peer port node utilizing the embedded syntax node checking for IP addresses and port ranges.
2020-04-05wwan: migrate: fix commentChristian Poessinger
2020-04-05wwan: T1988: remove trailing whitespace in XMLChristian Poessinger
2020-04-05wireless: T1627: add missing importChristian Poessinger
Commit 3d978249b313c ("wireless: T1627: move Jinja2 templates to data/templates folder") made use of a new library function (chown_file) from vyos.util, unfortunately the required import was somehow not added into the patch.
2020-04-05Merge pull request #304 from DmitriyEshenko/cur-pim-igm-p2Christian Poessinger
pim: T1729: Add dr-priority and IGMP join support
2020-04-04pim: T1729: Add dr-priority and IGMP join supportDmitriyEshenko
2020-04-04wireless: T1627: move Jinja2 templates to data/templates folderChristian Poessinger
2020-04-04vyos.util: rename chmod_x_file() to chmod_x()Christian Poessinger
Now both files and directories are supported.
2020-04-04vrf: T2221: when deleting vrf also delete unreachable routeChristian Poessinger
If the unreachable routes for IPv4 and IPv6 are not deleted, there will be an error when creating the same VRF again after removal. Error changing VRF: Command '['sudo', 'ip', '-4', 'route', 'del', 'vrf', 'Blue', 'unreachable', 'default', 'metric', '4278198272']' returned non-zero exit status 2.
2020-04-04vrf: T2221: only set l3mdev when changedChristian Poessinger
2020-04-04vxlan: T2172: remove group or remote check in verify()Christian Poessinger
This is a low level requirement for supporting l2vpn evpn.
2020-04-04Merge pull request #302 from thomas-mangin/T2190Christian Poessinger
ifconfig: T2190: option to prevent Interface creation
2020-04-04Merge pull request #303 from alainlamar/T2211Christian Poessinger
wireless: T2211: bugfix: vht_oper_chwidth was not set in hostapd config
2020-04-04Merge pull request #299 from thomas-mangin/T2205Christian Poessinger
ifconfig: T2205: silence ethtool harmless failures
2020-04-04Merge pull request #298 from jjakob/openvpn-multihomeChristian Poessinger
openvpn: T2222: set 'multihome' option when local-host is unset
2020-04-04Merge pull request #301 from alainlamar/T2208Christian Poessinger
wireless: T2208: bugfix: errors in the XML and Python file
2020-04-04openvpn: T2184: skip unactive interfaceThomas Mangin
Should the openvpn status file not be present, present a blank interface.
2020-04-04wireless: T2211: bugfix: Bugfix for the bugfix: set no defaultsAlain Lamar
When any defaults are set, VHT capabilities are automatically assumed for all WiFi modes which does not match the reality. Therefore we must leave this undefined by default.
2020-04-04pppoe: T2219: support adding default route to VRFChristian Poessinger
2020-04-04wireless: T2211: bugfix: vht_oper_chwidth was not set in hostapd configAlain Lamar
When operating in certain modes, channel width must be configured for WiFi interfaces. The hostapd config does this in two separate lines which must both be configured: vht_oper_chwidth=(0|1|2|3) vht_capab+=[VHT160] for 160MHz in one block or vht_capab+=[VHT160-80PLUS80] for 160MHz as 2x 80MHz in two separate blocks.
2020-04-04wwan: T2219: rework route add to VRFChristian Poessinger
The old implementation actually did not work as the Quotes "" around the "vrf foo" statement got actually lost in translation.
2020-04-04wireless: T2208: bugfix: errors in the XML and Python fileAlain Lamar
Commits to "interfaces wireless wlanX capabilities vht link-adaptation (unsolicited|both)" always failed.
2020-04-04ifconfig: T2190: option to prevent Interface creationThomas Mangin
a new option was added to the Interface class "create". By default the value is set to True, and when an instance of the class is created and the underlying interface does not exists, the class will create it. If the option "create" is set to False, the interface will not be created and instead the class will raise an error when it is instantiated.
2020-04-04openvpn: T2222: set 'multihome' option when local-host is unsetjjakob
If configured with protocol udp and no local-host, openvpn needs the 'multihome' option to correctly work on all addresses.
2020-04-04pppoe: T1318: bugfix: proper use of ip-pre-up.d directoryChristian Poessinger
Commit b250b233ec1 ("pppoe: T1318: move Jinja2 templates to data/templates folder") actually placed the pre-up configuration script into the ip-up folder.
2020-04-04wwan: T2219: bugfix referencing wlm0 variable instead of real Python varChristian Poessinger
2020-04-04wwan: T2219: use Jinja variables rather then Bash argsChristian Poessinger
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-04-04pppoe: T2219: move adding of default route to ip-(up|down) scriptChristian Poessinger
As PPPoE interfaces should be part of a VRF it is required that the default can also be set into the specified VRF. The default way of PPP by setting the "defaultroute" option does not take a VRF into account. In this case PPP installs a Kernel route forwarding all default traffic over this interface. This change installs a static route with metric 1 instead into the routing table via FRR. This is not the same as a Kernel route in terms of metric 1 compared to 0 but it should do the trick.
2020-04-04pppoe: T1318: support more then 99 dialer interfacesChristian Poessinger
2020-04-04wwan: T2219: add default route into VRFChristian Poessinger
2020-04-04wwan: T1988: move default route scripts to Jinja templatesChristian Poessinger
2020-04-04pppoe: T1318: move Jinja2 templates to data/templates folderChristian Poessinger
This makes the actual code which generates the configs much more human readable.