summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-31router-advert: T2745: use template common coding style in for loopsChristian Poessinger
(cherry picked from commit f89a0cfc7d0d908cbe1715b760b07926ffa3f7b9)
2021-07-27Revert "ifconfig: drop unused classes for pppoe and vti"Christian Poessinger
This reverts commit e4d697b1d3aad0cb8e81f4c36bcaa4c089195f43. We need those classes for the operational level "show interfaces" command.
2021-07-27T3697: wait for charon to get started before trying to restart it.Daniil Baturin
2021-07-26smoketest: config: azure: also utilize "default-esp-group" featureChristian Poessinger
(cherry-picked from commit 57fa30de709afe31aeddb5fedf565ce44c5ba937)
2021-07-25vrf: T31: add missind import for cmd()Christian Poessinger
2021-07-25vrf: T31: ignore iproute2 errorsChristian Poessinger
Re-issuing the same iproute2 commands can lead to errors, simply ignore them and not raise a Python exception. (cherry-picked from commit 9920f7340d60b51d32bad9dbd24a907718f72837)
2021-07-25ifconfig: T2653: obey conding styleChristian Poessinger
(cherry-picked from commit 08614557b679c59495b3bf629f763f9a4cc0ed25)
2021-07-25smoketest: add shim for every test to re-use common tastsChristian 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. (cherry picked from commit 0f3def974fbaa4a26e6ad590ee37dd965bc2358f)
2021-07-25tunnel: T3173: add new options "no-pmtu-discovery" and "ignore-df"Christian Poessinger
2021-07-25ifconfig: backport ifconfig framework from 1.4 to support new tunnel optionsChristian Poessinger
It is easier to backport the entire vyos.ifconfig library from 1.4 instead of backporting single pieces which are required to add new feature to the tunnel interface section. In addition that both libraries are now back in sync it will become much easier to backport any other new feature introduced in VyOS 1.4!
2021-07-25ifconfig: drop unused classes for pppoe and vtiChristian Poessinger
PPPoE uses an entire different approach to setup the interface and VTI is still implemented using the old node.def definitions from vyatta-cfg-system.
2021-07-25vyos.util: backport 1.4 changes on dict_search()Christian Poessinger
2021-07-25smoketest: openvpn: fix deprecated option warning for key generationChristian Poessinger
WARNING: Using --genkey --secret filename is DEPRECATED. Use --genkey secret filename instead.
2021-07-25Merge pull request #942 from yunzheng/T65Christian Poessinger
openvpn: T65: Fix auth-user-pass authentication only
2021-07-24openvpn: T65: Fix auth-user-pass authentication onlyYun Zheng Hu
2021-07-24Merge branch 'equuleus' of https://github.com/vyos/vyos-1x into equuleusDaniil Baturin
2021-07-24T3697: fix a conditional.Daniil Baturin
2021-07-24Merge branch 'equuleus' of https://github.com/vyos/vyos-1x into equuleusDaniil Baturin
2021-07-24Merge branch 'equuleus' of https://github.com/vyos/vyos-1x into equuleusDaniil Baturin
2021-07-24T3697: hopefully complete fix for checking whether IPsec should start.Daniil Baturin
2021-07-24Merge pull request #940 from yunzheng/T3681Christian Poessinger
vyos-1x-vmware: T3681: don't bytecompile ether-resume.py
2021-07-24Merge pull request #941 from yunzheng/T3682Christian Poessinger
vyos-1x-vmware: T3682: remove dhclient from ether-resume.py
2021-07-23T3697: return an empty dict when IPsec isn't fully configuredDaniil Baturin
to avoid trying to wait for a daemon that shouldn't even be running.
2021-07-23vyos-1x-vmware: T3682: remove dhclient from ether-resume.pyYun Zheng Hu
dhclient is already handled by netplug so it's removed to avoid double renewing of dhcp leases.
2021-07-23vyos-1x-vmware: T3681: don't bytecompile ether-resume.pyYun Zheng Hu
Exclude /vmware-tools/scripts/ from bytecompilation to avoid the `__pycache__` directory being created.
2021-07-23login: T3699: verify system username does not conflict with Linux base usersChristian Poessinger
2021-07-22T3697: check if strongswan should be running before attempting to restart it.Daniil Baturin
2021-07-21Merge pull request #933 from sever-sever/T3683Christian Poessinger
VXLAN: T3683: Fix for ipv6 source-interface option
2021-07-21VXLAN: T3683: Fix for ipv6 source-interface optionViacheslav
2021-07-20ifconfig: tunnel: T3691: add missing GRETAP key supportChristian Poessinger
2021-07-19isis: T3576: add IPv6 supportChristian Poessinger
(cherry picked from commit f26ef2a25690826eed4200b219d7f61e8dbf9201)
2021-07-17vxlan: T3683: bugfix on MTU calculation for IPv6 underlayChristian Poessinger
(cherry picked from commit eb8cd3af91bac01a3f7f99b362c8105d69bb3c55)
2021-07-13Merge pull request #919 from erkin/equuleusChristian Poessinger
T3679: Update the unexpected exception message
2021-07-13T3679: Update the unexpected exception messageerkin
2021-07-13T3663: use inotify-based watching for the IPsec process restart.Daniil Baturin
2021-07-13T3663: add a small sleep between polling for a new inotify event.Daniil Baturin
2021-07-13T3663: fixed in the inotify-based vrrp script.Daniil Baturin
2021-07-13vyos.util: T3663: move inotify-based imports to function levelChristian Poessinger
Keep the vyos.util function clean and not pull in the rest of the world when importing it.
2021-07-13T3663: add pre_hook argument to util.wait_for_inotifyDaniil Baturin
When waiting for processes that don't take long, we need add an inotify watcher _before_ starting that process. The pre-hook arguments allows the user to pass a () -> () anonymous function to be called before adding a watch.
2021-07-13T3663: fix the call to time.time() to match the new import scheme.Daniil Baturin
2021-07-13T3663: python3-inotify should be a runtime dependencyJohn Estabrook
2021-07-13T3663: prerequisites for inotify-based watching implementations.Daniil Baturin
2021-07-13T3663: use inotify-based watching in "show vrrp".Daniil Baturin
2021-07-12op-mode: T427: add "summary" command for WireGuard interface informationChristian Poessinger
(cherry picked from commit 2f3043ffce8a2556d12b3193df7fd3cdc9fdad09)
2021-07-11vxlan: T3665: add VRF supportChristian Poessinger
(cherry picked from commit 12bc0e667d66070fa8ad84781bdedca46c571e9e)
2021-07-11smoketest: T3637: add testcase for vrf bind-to-all optionChristian Poessinger
(cherry picked from commit 63a094b339296d97ecf3b87eac8d1d3ce8fadd3a)
2021-07-11vrf: T3637: bind-to-all didn't work properlyDate Huang
because of typo change from `bind_to_all` to `bind-to-all` refer: interface-definitions/vrf.xml.in (cherry picked from commit 8a78c790c1239eef533c7bbe12911aaeec4dc90f)
2021-07-02conntrack: T3660: make peer port configurableChristian Poessinger
(cherry picked from commit bc01277bdfdf49be8950fe2cbf3749d42da2850d)
2021-07-02conntrack: T3535: add missing valueHelp/constraint for peer CLI nodeChristian Poessinger
(cherry picked from commit 96dce0f47805bb321881183da9a47b621fd54ec8)
2021-07-02Merge pull request #904 from sever-sever/T3535Christian Poessinger
conntrack-sync: T3535: Rewrite conf and op modes to XML python style