summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-09xml: op-mode: remove absolute path from vtyshChristian Poessinger
(cherry picked from commit 46b749388e0198f0cb3eb5eca1bd1d6e940b2702)
2021-02-09xml: bgp: remove absolute path from vtyshChristian Poessinger
(cherry picked from commit 72c82bf8f2c294ca9023d2cbf9285b679188fae3)
2021-02-08smoketest: ripng: add initial testcasesChristian Poessinger
(cherry picked from commit e84dece28a7f3e46235f178eec5622547cb2eab6)
2021-02-07system: T2486: bugfix name-servers-dhcp NameError on vif-c interfacesChristian Poessinger
Commit 0f8beae7426 ("system: T2486: migrate disable-dhcp-nameservers to name-servers-dhcp") added a migration script for moving the name-servers. A small glitch was introduced when referencing vif-c interfaces unter a vif-s interface where a variable got referenced which was not defined. (cherry picked from commit 89108f629ec8cc6990473468c1c67ffa8742b884)
2021-02-07smoketest: configs: import basic rip-routerChristian Poessinger
(cherry picked from commit e7d5f996e1ecca228bc67def2b19a0790d8c7370)
2021-02-07rpki: T3293: bugfix for config migration when cache and address name matchChristian Poessinger
If the RPKI cache name equals the configured address, renaming is not possible, as rename expects the new path to not exist. (cherry picked from commit af2a22fb114b7d00f50fb32dc64b49e132ccca61)
2021-02-06smoketest: protocols: rip: initial importChristian Poessinger
(cherry picked from commit 37c961b8fc57d0f811758034f51fe0fed401275a)
2021-02-05xml: add new common interface-name validatorChristian Poessinger
2021-02-03xml: T3239: override default mtu values and remove workaroundsJohn Estabrook
(cherry picked from commit ea4c72ed0dbcee3f7e8f9693c5310190833651d8)
2021-02-03xml: T2910: add override script to MakefileJohn Estabrook
(cherry picked from commit dd89255dcc82e315d6106936a97b8c0be360519b)
2021-02-03xml: T2910: add script to support override of defaultValue elementsJohn Estabrook
(cherry picked from commit 3dfbd19e0f3676d70dc32f0e001e4589eb9e97d6)
2021-02-02vlan: T3018: vif/vif-s vlan id can not be re-usedChristian Poessinger
In the past it was possible to configure a vif-s interface and a vif interface both with the same VLAN ID. VyOS 1.2 reported a Kernel error: RTNETLINK answers: File exists Error creating VLAN device eth1.100 so this should not be possible at all in VyOS 1.3 (cherry picked from commit ccd516b4d10c518ea445928c01d6c7dc2770777b)
2021-02-02rpki: T3255: backport new implementation from current branchChristian Poessinger
2021-02-02nat: T2873: Add address filtering for DNAT translationserkin
(cherry picked from commit 06024ee642f9b0bd5658a91009ca9739dba52b6d)
2021-01-31smoketest: routes: add initial tests for static routesChristian Poessinger
(cherry picked from commit 8076176ec68915b1148829f63ad3da25441f27e7)
2021-01-31smoketest: vrf: add test case for static v4/v6 routes incl. leakingChristian Poessinger
(cherry picked from commit ca5d74015c862bbe936244fc32df28409968efca)
2021-01-31smoketest: configs: import sample config provided by Tim HarmanChristian Poessinger
2021-01-31smoketest: vrf: verify interfaces can be bound/unboundChristian Poessinger
(cherry picked from commit 33e10ccc33e3b25dcdd3d4ee57bfdc4e2c331a6e)
2021-01-31lldp: T2230: verify file exists before unlinking itChristian Poessinger
(cherry picked from commit ca202f30fc5fad4c2fd99064ad0eba2643e71a5f)
2021-01-31vyos: T3274: Handle EOF in ask_yes_no()erkin
(cherry picked from commit 55c5d662290aea9f2c3abe911bd9920f4f9d7d9a)
2021-01-30pppoe: T3273: Leave default-route in place if 'default-route' is set to 'none'Sam Burney
(cherry picked from commit 2dc11253e46b945adb392c5946fd9ad43f391d86)
2021-01-30bgp: T3037: add migration scriptChristian Poessinger
(cherry picked from commit 32822d5e1831dff5cd904c0cb5886f7d737afab6)
2021-01-30smoketest: dhcpv6: add client smoketestsChristian Poessinger
(cherry-picked form commit 99f4140d1c5b1813c75790a8a99aae8fa84d13ee)
2021-01-30dhcpv6: T3240: send DUID when only DHCPv6 PD is configuredBrandon Stepler
(cherry picked from commit e41857b6e179a7df20d15486847663be9676e376)
2021-01-30dhcpv6: T3240: support per-interface client DUIDsBrandon Stepler
(cherry picked from commit b23323922939a9ac3b43e0761b0af84dc9e3b47e)
2021-01-29vif-s: T3268: add VRF supportBrandon Stepler
(cherry picked from commit 7a5461bf4cb74fcb06b9096ef1d81c66798eb06c)
2021-01-29vif-c: verify: T3269: fix configuration verificationBrandon Stepler
(cherry picked from commit b8cddcdae36903feb84ee1807d6adb27337cf582)
2021-01-28dhcpv6: T3262: don't run DHCPv6 client when only dhcpv6-options is configuredBrandon Stepler
If dhcpv6-options is configured without requesting a DHCPv6 address or PD, the dhcpv6pd variable is assigned an empty dict. (cherry picked from commit d7d916f74e7d3b3b1fc85336f24f91af66b1e2a8)
2021-01-27smoketest: refactor setUp() for all interface based testcasesChristian Poessinger
It does not make sense (at all!) to re-initialize the entire class with every call to setUp(). We neither change the enabled/disabled tastcases dynamically, not do we adjust the testinterfaces during a run. Remove the runtime overhead and place one-time init calls into setUpClass() instead. (cherry picked from commit b48890396dcff074d1e9336ca1db9d3eafe2a12f)
2021-01-27pppoe: T3261: Stop systemd service if pppoe interface disableDmitriyEshenko
(cherry picked from commit 7630f2c915c27bceabcc808fcd9d29ed198b9dbe)
2021-01-25smoketest: bgp: add rpki testsChristian Poessinger
(cherry picked from commit 3082b678c88f74801fc4e9a57e23f25a53619467)
2021-01-25pppoe: T3251: Add double-quotes to protect special charactersDmitriyEshenko
(cherry picked from commit b64b45c6a5b66b8d6b07ab5a03fccaeabb3677a9)
2021-01-24smoketest: ospfv3: initial testcasesChristian Poessinger
(cherry picked from commit 5834355b6342b7f9ab43da8e97b519f112693d09)
2021-01-23isis: T2495: proper use ipv4net/ipv6net value helpersChristian Poessinger
(cherry picked from commit 0d0a495328c9bf752240e9e2d5dc605332990d86)
2021-01-23xml: use "macaddr" key over individual "h:h:h:h:h:h" notationChristian Poessinger
(cherry picked from commit 8926edf6b64adc550ee2f6bee9a78a43d46a2053)
2021-01-23console-server: T2490: dropbear can restart as long as necessaryChristian Poessinger
Lift the default daemon startup rate-limit when launching the dropbear service used by SSH connections to the console port. (cherry picked from commit ed622e21c28446e5c4c4e24551627dd940aca8bf)
2021-01-21dhcp: T3237: add constraint to static-mapping mac-address nodeChristian Poessinger
The format of the CLI specified MAC address was not validated as only addresses with a colon as seperator are supported. Constraint has been added. (cherry picked from commit 79af3560e7b2f88b6850739b0e30ee372c51f63b)
2021-01-18options: T3231: bugfix ctrl-alt-delete option was not workingChristian Poessinger
Bug introduced in commit 193323ba5d (system: T3078: rename "system options" -> "system option") as the new key used in the dict was not migrated. (cherry picked from commit 66ec730d3bc54379bc558c90c45d5f97e5760a14)
2021-01-18options: T1919: beautify with open() for reboot on panicChristian Poessinger
(cherry picked from commit 13d76e69cc43cae0570cc5fab1ee02fdec33aa17)
2021-01-18ssh: T3212: remove RestartPreventExitStatus from systemd unitChristian Poessinger
When configuring SSH to only run inside a given VRF the system can not start SSHd on bootup as the Kernel will report EPERM (Operation not permitted) when loading the VRF BPF program. This returns the exit code 255 which is marked in the systemd unit file to stop restarting the service forever. Removing this limitation will restart the SSHd on startup and it will live inside the VRF till the end of days. (cherry picked from commit cdbac8f10b470a06aff54832da7f006aa3ed194e)
2021-01-17openvpn: T2994: proper cleanup all files on interface deletionChristian Poessinger
(cherry picked from commit c0aaa0b8707c17fe86e6483b3f5caecaa3f7fd72)
2021-01-17openvpn: T2381: bugfix rendering multiple openvpn-options from CLIChristian Poessinger
The CLI statement "set interfaces openvpn vtun10 openvpn-option '--tun-mtu 1500 --fragment 1300 --mssfix'" will render in vtun10.conf to: --tun-mtu 1500 --fragment 1300 --mssfix On startup OpenVPN complains about: openvpn-vtun10: Options error: Unrecognized option or missing or extra parameter(s) in vtun10.conf:76: tun-mtu (2.4.7) The options must be split on -- to a new configuration line. (cherry picked from commit f8a8ee02d0ede240f555ffa558665df686df24a8)
2021-01-17smoketest: configs: add very basic bgp rpki configChristian Poessinger
(cherry picked from commit e0fdf9b4d746e751d0c12c1e6bd2d10daf22ec76)
2021-01-17smoketest: add testcases for "system ipv6"Christian Poessinger
(cherry picked from commit 62bd08a5811aeec5670c29af18583f9f3350cb1d)
2021-01-17ntp: T2185: store configuration in volatile /run areaChristian Poessinger
(cherry picked from commit 3c33359d0c9700a1c80f1a222fe5f43642cd4fde)
2021-01-17xdp: T2666: disable this highly experimental feature in 1.3 LTSChristian Poessinger
2021-01-16smoketest: interfaces: use provided unittest framework assert methodsChristian Poessinger
(cherry picked from commit b2b5ea81243f672d3cc3c4082374551f38fd4dde)
2021-01-16smoketest: loopback: interface can not be deleted, it must always existChristian Poessinger
Commit 35b049aa ("smoketest: interfaces: verify deletion of interfaces") validated that when the test completed (tearDown()) there must be no interfaces left registered for the tests. This is invalid for the loopback interface as it can not be deleted from the system. (cherry picked from commit b373d3841608838fd28f98691cb14e42c128c216)
2021-01-16smoketest: interfaces: verify deletion of interfacesChristian Poessinger
When deleting the test interfaces, ensure after each run that there are no leftovers from a previous run, indicating that there was a problem while removing the interfaces. (cherry picked from commit 35b049aa8b90ee41f9c59bf4b2e3610d03505776)
2021-01-16vrf: T31: add support for - and _ in VRF namesChristian Poessinger
(cherry picked from commit 8953a14b01a4183ea890f1c3d569aae54e363614)