summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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
2024-07-05GitHub: T6494: do not use 0/null value to mark build succeedChristian Breunig
GitHub performs loose equality comparisons. If the types do not match, GitHub coerces the type to a number. GitHub casts data types to a number using these conversions: https://docs.github.com/en/actions/learn-github-actions/expressions
2024-07-04migration: T6007: add missing check for None in utility functionJohn Estabrook
An empty component version string will trigger a full migration, however, the case of component_version is None was missed in a utility function. Fix comment formatting.
2024-07-05T6556: workflow trigger branches cleanupVijayakumar A
2024-07-04Merge pull request #3782 from c-po/T4287-wifi-2Christian Breunig
wireless: T4287: use Debian postinst over preinst when using update-alternatives
2024-07-04wireless: T4287: use Debian postinst over preinst when using update-alternativesChristian Breunig
This fixes an error during ISO assembly: update-alternatives: error: no alternatives for regulatory.db dpkg: error processing archive /tmp/apt-dpkg-install-PJplR3/00-vyos-1x_1.5dev0-1880-gecaa44498_amd64.deb (--unpack): new vyos-1x package pre-installation script subprocess returned error exit status 2
2024-07-04Merge pull request #3777 from c-po/T4287-wifiChristian Breunig
wireless: T4287: use upstream regulatory database due to kernel signing
2024-07-04Merge pull request #3753 from jvoss/haproxy_loggingChristian Breunig
T6539: add logging options to load-balancer reverse-proxy
2024-07-04Merge pull request #3778 from Giggum/vyos_t6371Christian Breunig
op-mode: T6371: fix output of NAT rules with single port range
2024-07-04Merge pull request #3776 from zdc/T6544-currentChristian Breunig
vyos_net_name: T6544: Updated the `vyos_net_name` script
2024-07-03op-mode: T6371: fix output of NAT rules with single port rangeGiggum
2024-07-03T6539: add logging options to load-balancer reverse-proxyJonathan Voss
2024-07-03wireless: T4287: use upstream regulatory database due to kernel signingChristian Breunig
Most likely b/c of our non signed Kernel binary we do not trust the Debian signed wireless regulatory database. Fallback to the upstream database instead.
2024-07-03Merge pull request #3767 from dmbaturin/T6537-reboot-prompt-hostnameChristian Breunig
op-mode: T6537: include hostname in the reboot/shutdown warning message
2024-07-03vyos_net_name: T6544: Updated the `vyos_net_name` scriptzsdc
Improvements in the `vyos_net_name`: - Used a new locking system, to be sure that multiple running scripts will not try to perform operations at the same time. - Replace logging from a file to syslog. This is common with all the rest logs, and additionally gives a better view of actions done during a boot. - Small bug fix in `get_configfile_interfaces()`: exit with an error in case a config file cannot be parsed. This resolves potentially an unbound `config` object. - Minor formatting fixes to follow our requirements.
2024-07-03locking: T6544: Added locking utilzsdc
Sometimes we need a reliable way to lock an execution until some other operation is not done. This commit introduces locking util, which can be used as a common lock, even between different processes. Usage example: ``` from vyos.utils.locking import Lock lock = Lock('my_lock_id') lock.acquire(timeout=10) print(f'Lock acquired: {lock.is_locked}') lock.release() ```
2024-07-03Merge pull request #3769 from vyos/T6546-add-permission-unused-checkChristian Breunig
T6546: unused import check permission update
2024-07-04T6546: unused import check permission update and fixVijayakumar A
2024-07-04T6546: unused import check permission updateVijayakumar A
2024-07-03op-mode: T6537: include hostname in the reboot/shutdown warning messageDaniil Baturin
2024-07-03Merge pull request #3760 from jestabro/sysvinit-logrotateChristian Breunig
syslog: T5366: remove reference to deprecated sysvinit rsyslog script
2024-07-03Merge pull request #3749 from nicolas-fort/T6536-wildcardChristian Breunig
T6536: nat: add migration script that replaces wildcard charater
2024-07-03syslog: T5366: remove reference to deprecated sysvinit rsyslog scriptJohn Estabrook
2024-07-03T6536: change wildcard character from + to * - extend fix to interfaces ↵Nicolas Fort
defined in zone policy.
2024-07-03T6536: nat: add migration script that replaces wildcard charater supported ↵Nicolas Fort
in 1.3 <+> with character supported in latest version <*>
2024-07-03Merge pull request #3746 from ↵Daniil Baturin
dmbaturin/T6498-machine-readable-tech-support-report op-mode: T6498: add machine-readable tech support report script
2024-07-03op-mode: T6498: add machine-readable tech support report scriptDaniil Baturin
2024-07-03Merge pull request #3752 from sever-sever/T6538Christian Breunig
T6538: Add the ability to set GENEVE interfaces to VRF
2024-07-02GitHub: T6494: add consolidated ISO test result comment on PR (#3750)Christian Breunig
2024-07-02Merge pull request #3721 from HollyGurza/T5878Daniil Baturin
ssh: T5878: Allow changing the PubkeyAcceptedAlgorithms option
2024-07-02Merge pull request #3745 from c-po/no-legacyDaniil Baturin
T6527: add legacy Vyatta interpreter files still in use
2024-07-02T6538: Add the ability to set GENEVE interfaces to VRFViacheslav Hletenko
2024-07-02Merge pull request #3748 from sever-sever/T6523Christian Breunig
T6523: Telegraf use nft scripts only if the firewall configured
2024-07-02T6523: Telegraf use nft scripts only if the firewall configuredViacheslav Hletenko
If a firewall is not configured there is no reason to get and execute telegraf firewall custom scripts as there are no nft chain in the firewall nftables configuration