summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-20wireless: T6597: improve hostapd startup and corresponding smoketestsChristian Breunig
This was found during smoketesting as thoase started to repeadingly fail in the last weeks File "/usr/libexec/vyos/tests/smoke/cli/test_interfaces_wireless.py", line 534, in test_wireless_security_station_address self.assertTrue(process_named_running('hostapd')) AssertionError: None is not true Digging into this revealed that this is NOT related to the smoketest coding but to hostapd/systemd instead. With a configured WIFI interface and calling: "sudo systemctl reload-or-restart hostapd@wlan1" multiple times in a short period caused systemd to report: "Jul 18 16:15:32 systemd[1]: hostapd@wlan1.service: Deactivated successfully." According to the internal systemd logic used in our version this is explained by: /* If there's a stop job queued before we enter the DEAD state, we shouldn't act on Restart=, in order to not * undo what has already been enqueued. */ if (unit_stop_pending(UNIT(s))) allow_restart = false; if (s->result == SERVICE_SUCCESS) s->result = f; if (s->result == SERVICE_SUCCESS) { unit_log_success(UNIT(s)); end_state = SERVICE_DEAD;` Where unit_log_success() generates the log message in question. Improve the restart login in the wireless interface script and an upgrade to hostapd solved the issue.
2024-07-19T6525: Add default dir for ext-scripts without absolute pathkhramshinr
2024-07-19SSTP-server: add missed pppd_compat moduleViacheslav Hletenko
2024-07-19PPTP-server: add missed pppd_compat moduleViacheslav Hletenko
2024-07-19L2TP-server: add missed pppd_compat moduleViacheslav Hletenko
2024-07-19IPoE-server: add missed pppd_compat moduleViacheslav Hletenko
2024-07-19smoketest: T6406: use check_kmod() helper over native call()Christian Breunig
2024-07-19smoketest: T6597: add "commit" debug informationChristian Breunig
2024-07-19utils: T5195: fix timeout commentChristian Breunig
2024-07-19Merge pull request #3828 from HollyGurza/T6578Christian Breunig
T6578: Fix unhandled exception in "show openconnect-server sessions"
2024-07-18openvpn: T6591: deprecate OpenVPN server net30 topology (#3825)Daniil Baturin
2024-07-18Merge pull request #3818 from dmbaturin/T6586-unconfigured-objectJohn Estabrook
op-mode: T6586: add a distinct exception for unconfigured objects (as opposed to entire subsystems)
2024-07-18T6578: Fix unhandled exception in "show openconnect-server sessions"khramshinr
2024-07-18Merge pull request #3820 from kumvijaya/currentChristian Breunig
T6590: rebase label worflow added
2024-07-17Merge pull request #3811 from dmbaturin/T6580-op-mode-path-completionChristian Breunig
op-mode: T6580: read active nodes directly from the config tree without calling cli-shell-api
2024-07-17T6590: rebase label worflow addedVijayakumar A
2024-07-17Merge pull request #3817 from c-po/op-mode-restartChristian Breunig
op-mode: T6577: create generic service restart helper to work with the API
2024-07-17op-mode: T6586: add a distinct exception for unconfigured objectsDaniil Baturin
as opposed to entire subsystems
2024-07-16op-mode: T6577: create generic service restart helper to work with the APIChristian Breunig
Right now we have multiple restart helpers (e.g. dhcp server, ssh, ntp) that all do the same (more or less): * Check if service is configured on CLI * Restart if configured * Error out if unconfigured This is not available via the op-mode API. Create a new restart.py op-mode helper that takes the service name and possible VRF as argument so it's also exposed via API.
2024-07-16Merge pull request #3809 from kumvijaya/currentChristian Breunig
T6572: added trigger pr caller workflow
2024-07-15Merge pull request #3816 from zdc/T6583-currentDaniil Baturin
ruff: T6583: Added settings for ruff
2024-07-15ruff: T6583: Added settings for ruffzsdc
Ruff settings help to write code in the same style for all contributors. These settings are compatible with requirements used in another very (if not the most) popular code formatter - black, except using a single quote, to keep the style also compatible with what we have now.
2024-07-15Merge pull request #3810 from c-po/restart-ntpChristian Breunig
op-mode: T6575: add support for NTP service restart via CLI
2024-07-15Merge pull request #3813 from jestabro/configdep-errorChristian Breunig
configdep: T6559: fix regression in dependent script error under configd
2024-07-15configdep: T6559: add smoketest of dependency script errorJohn Estabrook
2024-07-14configdep: T6559: use single dependency list with reset under configdJohn Estabrook
2024-07-14configdep: T6559: drop global redundancy removal to fix error reportingJohn Estabrook
2024-07-14Merge pull request #3812 from dmbaturin/T6581-show-firewall-rule-completionChristian Breunig
firewall: T6581: fix completion for "show firewall ... rule"
2024-07-14firewall: T6581: fix completion for "show firewall ... rule"Daniil Baturin
2024-07-14op-mode: T6580: read active nodes directly from the config treeDaniil Baturin
without calling cli-shell-api
2024-07-13op-mode: T6575: add support for NTP service restart via CLIChristian Breunig
This seemed to be arround in the early days, but is not available since at least VyOS 1.3.3. Add CLI helper to restart the NTP process (chrony).
2024-07-13T6572: added trigger workflow caller workflowVijayakumar A
2024-07-13T6572: added create-pr workflowVijayakumar A
2024-07-13T6572: added trigger-pr workflowVijayakumar A
2024-07-11Merge pull request #3805 from c-po/t6566-mon-bandChristian Breunig
op-mode: T6566: add support for listing all interfaces in "monitor bandwidth"
2024-07-10op-mode: T6566: add support for listing all interfaces in "monitor bandwidth"Christian Breunig
Right now we can only monitor the bandwidth for one individual interface, but not all at once. This adds support to monitor all interfaces.
2024-07-08vxlan: T6505: Support VXLAN VLAN-VNI range mapping in CLI (#3756)Nataliia S
2024-07-07T6560: added workflow trigger path restrictions (#3799)Vijayakumar A
2024-07-06Merge pull request #3791 from c-po/T6537-powerctrlChristian Breunig
op-mode: T6537: remove unused cmd imported from vyos.utils.process
2024-07-05Merge pull request #3790 from c-po/reverse-proxy-log-fixChristian Breunig
smoketest: T6539: remove explicit test for non existing global log entry
2024-07-05Merge pull request #3789 from c-po/github-action-buildChristian Breunig
GitHub: T6494: do not use 0/null value to mark build succeed
2024-07-05T6556: pull_request_target update in unused import (#3792)Vijayakumar A
2024-07-05op-mode: T6537: remove unused cmd imported from vyos.utils.processChristian Breunig
Commit dc60fe99350 ("op-mode: T6537: include hostname in the reboot/shutdown warning message") added a more local import of vyos.utils.process.cmd() that made the fglobal import obsolete and trigger a linter warning. $ make unused-imports -------------------------------------------------------------------- Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
2024-07-05Merge pull request #3711 from part1cleth1ef/currentChristian Breunig
T6496: Added support for WPA-Enterprise client-mode
2024-07-05Merge pull request #3784 from vyos/T6556-trigger-branches-cleanupChristian Breunig
T6556: workflow trigger branches cleanup
2024-07-05wireless: T6496: use mac-address validator on BSSID and move it up one CLI levelChristian Breunig
2024-07-05wireless: T6496: use ascii regex for WPA passphrase constraintChristian Breunig
2024-07-05wireless: T6496: support for EAP-MSCHAPv2 client over wifiChristopher
fix: attempt to fix indentation on `wpa_supplicant.conf.j2` fix: attempt to fix indentation on `wpa_supplicant.conf.j2` fix: incorrect bssid mapping fix: use the correct jinja templating (I think) fix: “remote blank space fix: attempt to fix the formatting in j2 fix: attempt to fix the formatting in j2 feat: rename enterprise username and password + add checks in conf mode. fix: move around `bssid` config option on `wpa_supplicant.conf.j2` and fix the security config part fix: fix indentation on `wpa_supplicant.conf.j2`
2024-07-05smoketest: T6539: remove explicit test for non existing global log entryChristian Breunig
Commit dd5908eac ("T6539: add logging options to load-balancer reverse-proxy") added CLI commands to add custom log entries for frontend and backend servers as well as a global log directive. Remove explicit test code for no longer always present "global log" directive.
2024-07-05Merge pull request #3788 from jestabro/check-component-versionChristian Breunig
migration: T6007: add missing check for None in utility function