Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-23 | vyos.util: dict_search() should not throw exception when inputs are None | Christian Poessinger | |
2021-02-24 | test: remove "test_ethtool.py" as this does not run on Jenkins | Christian Poessinger | |
2021-02-24 | ethernet: T3163: fix typos in vyos.ethtool comments | Christian Poessinger | |
2021-02-24 | ethernet: T3163: not all NIC drivers support ring-buffer configuration | Christian Poessinger | |
In addition to commit cf1156a60e ("ethernet: T3163: probe driver for maximum rx/tx ring-buffer size") this extends the logic in a way as not every driver supports setting the buffers at all so it will properly error out. When invoking "ethtool -g" both stdout and stderr are captured and no exception is raised if it's an unsupported driver feature. The verify() section will inform the user about the illegal operation. | |||
2021-01-19 | nat: T2947: add many-many translation | Christian Poessinger | |
Support a 1:1 or 1:n prefix translation. The following configuration will NAT source addresses from the 10.2.0.0/16 range to an address from 192.0.2.0/29. For this feature to work a Linux Kernel 5.8 or higher is required! vyos@vyos# show nat source { rule 100 { outbound-interface eth1 source { address 10.2.0.0/16 } translation { address 192.0.2.0/29 } } } This results in the nftables configuration: chain POSTROUTING { type nat hook postrouting priority srcnat; policy accept; oifname "eth1" counter packets 0 bytes 0 snat ip prefix to ip saddr map { 10.2.0.0/16 : 192.0.2.0/29 } comment "SRC-NAT-100" } | |||
2020-12-10 | test: vyos.validate: check is_addr_assigned() | Christian Poessinger | |
2020-12-06 | Revert "vyos.ifconfig: T1579: do not remove IPv6 link-local address on ↵ | Christian Poessinger | |
reconfiguration" This reverts commit d247736f67cc056062b75a4215a031bebcfee2ee. We need to clean link-local IPv6 addresses on link reconfiguration to also drop no longer existing link-local addresse son MAC address change. | |||
2020-12-06 | vyos.ifconfig: T1579: do not remove IPv6 link-local address on reconfiguration | Christian Poessinger | |
2020-12-06 | test: vyos.template: test additional templating functions | Christian Poessinger | |
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-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 | test: extend validate testcases | Christian Poessinger | |
Test additional network combinations of address and prefixes. | |||
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-11-01 | test: adjust testcase name for vyos.util.dict_search() | Christian Poessinger | |
After renaming the function in commit 25551c5a ("vyos.util: T2995: rename vyos_dict_search() -> dict_search()"), the test case should be renamed, too. | |||
2020-11-01 | test: vyos.validate: add unittests | Christian Poessinger | |
2020-10-30 | openvpn: T2994: verify DH key length | Christian Poessinger | |
2020-10-30 | vyos.util: T2995: change comment style for "make test" output | Christian Poessinger | |
2020-10-28 | vyos.util: T2995: rename vyos_dict_search() -> dict_search() | Christian Poessinger | |
Renamed using snippet below: ---------------------------- for file in $(find . -name "*.py") do sed -i "s/vyos_dict_search/dict_search/" $file done | |||
2020-10-25 | test: vyos.template: add testcase for vyos_*_from_cidr() converters | Christian Poessinger | |
2020-10-25 | test: import cleanup | Christian Poessinger | |
2020-10-24 | Revert "test: vyos.util: add testcase for process_named_running()" | Christian Poessinger | |
This reverts commit 9939139ba4ad18dc4b62a827d8ab7b74d0c28124. Unfortunately this test does not work within the CI system. It fails with: 17:21:35 ====================================================================== 17:21:35 FAIL: test_process_named_running (test_util.TestVyOSUtil) 17:21:35 ---------------------------------------------------------------------- 17:21:35 Traceback (most recent call last): 17:21:35 File "/var/lib/jenkins/jenkins_slave/workspace/vyos-1x_current/build/src/tests/test_util.py", line 34, in test_process_named_running 17:21:35 self.assertTrue(isinstance(pid, int)) 17:21:35 AssertionError: False is not true As process_named_running() returns None on non existing bash process | |||
2020-10-24 | test: vyos.util: add testcase for process_named_running() | Christian Poessinger | |
2020-10-24 | test: vyos.util: add testcase for find_device_file() | Christian Poessinger | |
2020-10-19 | unittests: T2995: vyos_dict_search() must return None on non-existing keys | Christian Poessinger | |
The current wversion unfortunately will raise a KeyError: >>> data = {} >>> vyos_dict_search('foo', data) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/vyos/util.py", line 685, in vyos_dict_search return dict[path] KeyError: 'foo' | |||
2020-10-19 | unittests: cleanup unused imports | Christian Poessinger | |
2020-07-22 | xml: T2582: use xml for is_tag and is_leaf | Thomas Mangin | |
2020-06-18 | T2614: add a key mangling option to vyos.config.get_config_dict() | Daniil Baturin | |
2019-09-28 | T1694: delete the now broken tests for NTP. | Daniil Baturin | |
2019-03-08 | [ntp] T1280 - reverting added options from that task | hagbard | |
2019-03-07 | [ntp] T1280 - restrict option for servers, so they can query upstream | hagbard | |
2019-03-07 | Revert "[ntp] adding extra option to test" | hagbard | |
This reverts commit 4b2c57f4ba08409b4b6ba459fa8a3d23c5f6990c. | |||
2019-03-07 | [ntp] adding extra option to test | hagbard | |
2019-03-04 | adjusted ntp test to accept the 2 new restrict parameters | hagbard | |
2019-02-16 | Temporary remove hostname test to get module to compile again | Christian Poessinger | |
2019-02-16 | hostname: additional test case fixes | Christian Poessinger | |
2019-02-16 | Tests: fix hostname tests | Christian Poessinger | |
Commit 3d3eccd687 ("T1174: migrate local hostname/DNS handling to vyos-1x") changed a lot of the internal data handling for setting the systems host and domain name information. | |||
2019-02-14 | [vyos.configtree] T1248: add a function for node copying | Daniil Baturin | |
Also improve sanity checks in the rename function and add unit tests for copy and rename. | |||
2019-01-30 | Add build time tests for NTP | kamijin_fanta | |
2019-01-26 | T1193: add some tests for the config parser. | Daniil Baturin | |
2019-01-22 | Revert "adjusted unit test" | hagbard | |
This reverts commit 0d80b06ccd33fc2a0001b8641ce45070f0e8726d. | |||
2019-01-21 | adjusted unit test | hagbard | |
2018-07-18 | T749: add unit tests for the initial setup library. | Daniil Baturin | |
2018-05-24 | T462: make cron jobs run with vyattacfg GID. | Daniil Baturin | |
2018-05-19 | host-name: fix test_apply | Yuya Kusakabe | |
2018-05-17 | Add tests for host-name and domain-name again | Yuya Kusakabe | |
2018-05-17 | Temporarily remove the broken hostname tests so that the package can build. | Daniil Baturin | |
2018-05-17 | Add tests for hostname | Yuya Kusakabe | |
2018-05-16 | T644: remove prefixing from all scripts and update environment variables ↵ | Daniil Baturin | |
with VyOS paths. | |||
2018-05-16 | Use '_' instead of '-' for python scripts for test | Yuya Kusakabe | |
2018-05-16 | T626 Add tests for vyos-update-crontab and initial setup for sonarcloud | Yuya Kusakabe | |