Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-10 | T5148: Add smoketest for plugin openvpn-otp OpenVPN | Viacheslav Hletenko | |
2022-04-25 | smoketest: bugfix on proper inheritance levels for classmethod | Christian Poessinger | |
2022-04-20 | openvpn: T4369: enforce daemon-restart on openvpn-option CLI change | Christian Poessinger | |
2021-11-21 | smoketest: remove superfluous ConfigSession import | Christian Poessinger | |
2021-07-21 | pki: openvpn: T3642: Migrate OpenVPN to PKI and refactor | sarthurdev | |
2021-06-25 | openvpn: T1704: drop deprecated disable-ncp option | Christian Poessinger | |
2021-03-17 | smoketest: add shim for every test to re-use common tasts | Christian Poessinger | |
Currently every smoketest does the setup and destruction of the configsession on its own durin setUp(). This creates a lot of overhead and one configsession should be re-used during execution of every smoketest script. In addiion a test that failed will leaf the system in an unconsistent state. For this reason before the test is executed we will save the running config to /tmp and the will re-load the config after the test has passed, always ensuring a clean environment for the next test. | |||
2021-01-29 | smoketest: openvpn: remove print() when generating keys | Christian Poessinger | |
2020-12-29 | smoketest: adjust test method names | Christian Poessinger | |
This is for better readability during testruns | |||
2020-12-29 | smoketest: run all tests with verbosity=2 | Christian Poessinger | |
2020-11-23 | openvpn: T3074: fix site-2-site operation mode | Christian Poessinger | |
When rendering the configs "ifconfig" statement wrong IP addresses have been used for the "tun" operating mode. This has been corrected. | |||
2020-11-22 | smoketest: openvpn: T3080: verify configured keep-alive values | Christian Poessinger | |
2020-11-21 | smoketest: openvpn: T3060: verify authentication username and password | Christian Poessinger | |
2020-11-13 | openvpn: T3051: fix smoketest | Christian Poessinger | |
After commit 943a4a50 ("openvpn: T3051: fix creation of ifconfig-pool for client communication") the smoketests had nod been adjusted correctly. This has been fixed. | |||
2020-11-13 | vyos.template: provide general is_ip(v4|v6) helpers | Christian Poessinger | |
We had two places were the is_ip, is_ipv4 and is_ipv6 helpers had been defined. All places now have been converged into vyos.template as they are used both in the Jinja2 templates and also in our scripts. | |||
2020-11-06 | openvpn: T3051: fix multiple pushed routes to preconfigured clients | Christian Poessinger | |
2020-11-01 | smoketest: openvpn: remove debug code for faster test runs | Christian Poessinger | |
There have been leftovers to bypass testcases by simply just "return True" on most of the testcases. | |||
2020-11-01 | openvpn: T2994: re-add ifconfig-pool statement in server config | Christian Poessinger | |
Re-organize the template code and add addtitional Jinja2 filters for processing the ifconfig-pool statement. This reverts the changes from commit 7e546be9 ("openvpn: T2994: temporary revert to 1.2 crux behavior for client pools"). | |||
2020-11-01 | openvpn: T2994: remove workarounds for individual ipv4 and ipv6 keys | Christian Poessinger | |
Remove workaround which split (local|remote)_address and also subnet keys into individual keys for the assigned IP address family (4/6). During template rendering check IP version by introducing new ipv4 and ipv6 Jinja2 filters {% if foo | ipv4 %} or {% if bar | ipv6 %} options. | |||
2020-10-31 | smoketest: openvpn: fix testcase for server statement | Christian Poessinger | |
After commit 7e546be921 ("openvpn: T2994: temporary revert to 1.2 crux behavior for client pools") also adjust the testcase to not expect the "nopool" statement on the server command. | |||
2020-10-31 | smoketest: openvpn: test server mode "replace-default-route" | Christian Poessinger | |
2020-10-30 | smoketest: openvpn: extend server verify() test with TLS auth keys | Christian Poessinger | |
2020-10-30 | smoketest: openvpn: test server mode verify() steps | Christian Poessinger | |
2020-10-30 | smoketest: openvpn: test site2site mode verify() steps | Christian Poessinger | |
2020-10-30 | smoketest: openvpn: test client mode verify() steps | Christian Poessinger | |
2020-10-19 | smoketest: openvpn: test VRF assignment | Christian Poessinger | |
2020-10-19 | smoketest: openvpn: ensure interfaces do not persist after deletion | Christian Poessinger | |
2020-10-18 | smoketest: openvpn: add server (P-t-MP) and site2site testcases | Christian Poessinger | |
2020-10-18 | openvpn: T2969: force creation of tunnel interfaces | Christian Poessinger | |
A lot of VyOS code requires the Kernel interface to be present in order to properly work and adjust the interface to the users CLI intends (alias, ipv6, vrf - just to name a few). OpenVPN - when run in client mode - only creates the interface (e.g. vtun1) when the connection to the OpenVPN server was successful. This can't be always the case due to e.g. software-updates or routing issues to the remote side. This will in the end result in a zombie OpenVPN client interface where some config items might not have been set when the interface finally comes up - imagine a wrong assigned VRF instance. By always creating the OpenVPN interface manuall we ensure that all the CLI settings are properly configured in the OS kernel. | |||
2020-10-18 | smoketest: openvpn: add initial client test | Christian Poessinger | |