summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-18configsession: T3259: avoid deadlock when data fills stdout pipeJohn Estabrook
If the subprocess is producing enough data (in this case showConfig on a large config file), then the construction: p = subprocess.Popen(.., stdout=subprocess.PIPE, ..) p.wait() will deadlock with the subprocess waiting for data to be consumed, while the Python process waits for its termination. So consume data, then wait for termination. (cherry picked from commit 83bcd13775323bec35d018223029e9a8b13179c8)
2021-02-15smoketest: bfd: ensure sessions are sourced from a valid local ifChristian Poessinger
.. if BFD connections will be source from invalid sources this will crash bfdd in FRR 7.3 (cherry picked from commit 82bdae42ceefb1132f8a98628fa9681543f4f269)
2021-02-14templates: convert DOS -> UNIX line endingsChristian Poessinger
2021-02-14template: T2947: backport additional Jinja2 filtersChristian Poessinger
is_ip_network and compare_netmask Jinja2 filter have been added via commit 920789798 ("nat: T2947: add many-many translation") on "current" and are required for the 1:1 NAT functionality. jinja2.exceptions.TemplateAssertionError: no filter named 'is_ip_network'
2021-02-14smoketest: bfd: add initial testChristian Poessinger
(cherry picked from commit b01c23d48a3ff3b95175568198fb307ffbc04b86)
2021-02-13nat: T3307: fix destination nat generationEsa Varemo
Fix destination NAT template trying to map source->translation instead of destination->translation. Fixes https://phabricator.vyos.net/T3307 (cherry picked from commit 4a0504a96cf0f3078e964ed201f196fb55172e00)
2021-02-13smoketest: rpki: extend tests with IPv6 caching serversChristian Poessinger
(cherry picked from commit cec4b325ea014c09d3c60fac07651ec2a0b2d522)
2021-02-13smoketest: rpki: remove failfast settingChristian Poessinger
(cherry picked from commit 55b763e1a8ae48f1bc7f46c341479f6140cad3b6)
2021-02-11T3248: add the missing mode-force option, just a dummy for issuing ↵Daniil Baturin
deprecation warnings.
2021-02-09xml: cleanup wrong include file extensionsChristian Poessinger
(cherry picked from commit f89969c1729a94901a817bd97da6f5b2a3712af0)
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)