summaryrefslogtreecommitdiff
path: root/src/conf_mode
AgeCommit message (Collapse)Author
2020-04-09util: T2226: os.system was wrongly converted to runThomas Mangin
os.system does print the ouput of the command, run() does not. A new function called call() does the printing and return the error code.
2020-04-09Revert "tunnel: T2028: prevent single 'remote' keyword"Christian Poessinger
This reverts commit 37973a13bbc168c09e5f4d1e606f91fd7ffbb41a.
2020-04-09Merge pull request #317 from thomas-mangin/T2028-remoteChristian Poessinger
tunnel: T2028: fix remote and registration
2020-04-08tunnel: T2028: prevent single 'remote' keywordThomas Mangin
When the remote keywrod is ommited, the default value of '' is still set, therefore the ip command will include it. Remote is now removed if unset.
2020-04-08vyos.util: introduce chmod_750() for files/directoriesChristian Poessinger
2020-04-08wireguard: T2244: re-use interface removal code from WireGuardIf classChristian Poessinger
2020-04-08wireguard: T2244: fix writing PSKChristian Poessinger
2020-04-08vyos-util: rename chown_file() > chown()Christian Poessinger
... to make it clear also directories can be chown(-ed)
2020-04-08wireguard: T2247: add VRF supportChristian Poessinger
2020-04-08wireguard: T2244: rewrite to match code structure of other interfacesChristian Poessinger
Accessing a list of dictionaries and parsind/manipulating the content can and should be done in a way other interface implementations do it. Just to name a few: - Ethernet - L2TPv3 - WWAN (WirelessModem)
2020-04-08Merge pull request #315 from jjakob/openvpn-templateChristian Poessinger
openvpn: T2234: clean up and rework openvpn template
2020-04-08openvpn: T2234: clean up and rework openvpn templatejjakob
- rearranged options to put them in logical groups separated by blank lines - removed unnecessary blank lines (whitespace) - fixed encryption if-else comparison logic that caused 3des to be ignored - set tls if tls-version-min is set
2020-04-08vrf: add additional documentation linkChristian Poessinger
2020-04-08Merge pull request #313 from DmitriyEshenko/dmvpn-fix1Christian Poessinger
tunnel: T2236: Add additional check for type change
2020-04-08Merge pull request #311 from thomas-mangin/T2028-explainChristian Poessinger
tunnel: T2028: document the classes created
2020-04-08tunnel: T2236: Add additional check for type changeDmitriyEshenko
2020-04-08tunnel: T2028: document the classes createdThomas Mangin
2020-04-08bridge: T2232: bugfix wifi and wwan verify() sectionChristian Poessinger
Commit fcce471 ("bridge: T2232: prevent deletion of enslaved interfaces") added a regression by referencing a wrong variable name.
2020-04-07http api: T2160: Fix error message when api proxy restricted.John Estabrook
2020-04-07http api: T2160: move 'api virtual-host' to 'api-restrict virtual-host'John Estabrook
Restriction of api proxy should be owned by https.py, not http-api.py.
2020-04-07bridge: T2232: prevent deletion of enslaved interfacesChristian Poessinger
Interfaces enslaved to a bridge are not allowed to be deleted. If an interface is deleted from the config but it is still enslaved to a bridge will cause a configuration error on the subsequent boot.
2020-04-07l2tpv3: T1923: switch to formatted strings in verify()Christian Poessinger
2020-04-07util: T2226: fix merge conflictThomas Mangin
2020-04-06util: T2226: remove all references to subprocess_cmdThomas Mangin
2020-04-06util: T2206: rewrite vrf to cmdThomas Mangin
2020-04-06util: T2226: rewrite cert to use cmdThomas Mangin
2020-04-06util: T2226: rewrite vrrp to use runThomas Mangin
2020-04-06util: T2226: rewrite syslog to use runThomas Mangin
2020-04-06util: T2226: rewrite certbot to use cmdThomas Mangin
Previously failures of mkpasswd would not be reported to users
2020-04-06util: T2226: rewrite certbot to use cmdThomas Mangin
2020-04-06util: T2226: rewrite wirelessmodem to use cmdThomas Mangin
2020-04-06util: T2226: rewrite wireless to use run (should be cmd)Thomas Mangin
cmd is not used as with not wireless adaptor wireless testing fails
2020-04-06util: T2226: rewrite wireguard to use cmdThomas Mangin
2020-04-06util: T2226: rewrite pppoe to use cmdThomas Mangin
2020-04-06util: T2226: rewrite openvpn to use cmdThomas Mangin
2020-04-06util: T2226: rewrite qat to use run vyos.utilThomas Mangin
2020-04-06util: T2226: rewrite http to use cmdThomas Mangin
2020-04-06util: T2226: rewrite flow accounting to use cmdThomas Mangin
The failure are now reported slightly differently using the cmd "raising" feature which will allow down the line to intercept the issue and present them better to the user
2020-04-06util: T2226: rewrite arp to use cmdThomas Mangin
2020-04-06util: T2226: rewrite conf accel-ppp commands to use cmdThomas Mangin
2020-04-06util: T2226: rewrite system host-name to use cmdThomas Mangin
Previously any failure to set the hostname would have been ignored. Part of the convertion, if the change fail, the commit will fail too.
2020-04-06util: T2226: covert most calls from os.system to utilThomas Mangin
As little change a possible but the function call The behaviour should be totally unchanged.
2020-04-06ipsec: T2230: bugfix code cleanupChristian Poessinger
Commit dbc174d ("ipsec: T2230: move inlined templates to dedicated files") did not remove an inlined function.
2020-04-06lldp: use vyos.version over handcrafted open().read().split() codeChristian Poessinger
2020-04-06ipsec: T2230: bugfix rewriting Jinja2 codeChristian Poessinger
Commit dbc174d ("ipsec: T2230: move inlined templates to dedicated files") did not alter existing code which was used for template processing.
2020-04-05ipsec: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05salt-minion: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05pim: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05mpls: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-04-05igmp: T2230: move inlined templates to dedicated filesChristian Poessinger