summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-07T6305: accept ipoe interfaces on firewall rulesetNicolas Fort
(cherry picked from commit b5f22f70006eed6c7e62700128d5034b1b95db31)
2024-05-06Merge pull request #3417 from dmbaturin/T3664-template-path-varJohn Estabrook
vyos.template: T3664: add a module-level variable for template directory
2024-05-06vyos.template: T3664: add a module-level variable for template directoryDaniil Baturin
to enable calling scripts outside of live VyOS systems
2024-05-06Merge pull request #3413 from vyos/mergify/bp/sagitta/pr-3412Christian Breunig
T6307: Add dependency procps to build vyos-1x (backport #3412)
2024-05-06T6307: Add dependency procps to build vyos-1xViacheslav Hletenko
(cherry picked from commit 8041201fccffa96ca05ecd764b6d4b9d103b4c1a)
2024-05-04Merge pull request #3387 from vyos/mergify/bp/sagitta/pr-3384Christian Breunig
T6287: Config-sync add the ability to configure API port (backport #3384)
2024-05-04Merge pull request #3409 from vyos/mergify/bp/sagitta/pr-3408Christian Breunig
T6291: Add bonding.py to op-mode-standardized.json (backport #3408)
2024-05-04T6287: Config-sync add the ability to configure API portViacheslav Hletenko
Add the ability to configure the API port if the API on the secondary server works on a non-default port. The primary node will connect to configured port for config-sync ``` set service config-sync secondary address '192.0.2.11' set service config-sync secondary port '8443' ``` (cherry picked from commit a7c3f202ffea7859463f204cccf526f7517321f6)
2024-05-04T6291: Add bonding.py to op-mode-standardized.jsonl0crian1
(cherry picked from commit 963daf62d417a3fcccf33ed93904eddd21aa6a02)
2024-05-04Merge pull request #3406 from vyos/mergify/bp/sagitta/pr-3389Christian Breunig
T6291: Add LACP related op commands (backport #3389)
2024-05-04Merge pull request #3407 from vyos/mergify/bp/sagitta/pr-3405Christian Breunig
smoketest: T6283: T6250: add testcases (backport #3405)
2024-05-04smoketest: T6283: T6250: add testcasesChristian Breunig
(cherry picked from commit 5a82aee95270737aeeee9e6facf1234b61ce436d)
2024-05-04op-mode: T6291: add LACP related commandsl0crian1
show interfaces bonding lacp detail show interfaces bonding <bondif> lacp detail show interfaces bonding <bondif> lacp neighbors Co-authored-by: l0crian1 <ryan.claridge13@gmail.com> (cherry picked from commit 0c2bf3192382cffc5ed2dcead3889c332a48820f)
2024-05-04Merge pull request #3404 from jestabro/sagitta-config-sync-backportChristian Breunig
config-sync: T6185: T6146: combined backport of config-sync extensions and priority data
2024-05-03T6121: add section system time-zoneJohn Estabrook
(cherry picked from commit b6c5e66cc44fdec21e6731d98a1065e2adf87b3b)
2024-05-03config-sync: T6185: combine data for sections/configs in one commandJohn Estabrook
Package path/section data in single command containing a tree (dict) of section paths and the accompanying config data. This drops the call to get_config_dict and the need for a list of commands in request. (cherry picked from commit 30a530839cdbd934ea62369e385dc33fa50ab6de)
2024-05-03configtree: T6180: add masking function mask_inclusiveJohn Estabrook
(cherry picked from commit b2248b68afac795ad391b7203117d6d40a7ba6ed)
2024-05-03xml: T6146: add utils and helper to provide priority dataJohn Estabrook
(cherry picked from commit e915900bfec8d24276afb73599c94ab93f3c24ee)
2024-05-03Merge pull request #3403 from c-po/netns-removalDaniil Baturin
netns: T6295: disable incomplete support in VyOS 1.4 sagitta
2024-05-03Merge pull request #3402 from c-po/sagittaJohn Estabrook
pppoe-server: T6234: fix permissions on migration script
2024-05-02netns: T6295: disable incomplete support in VyOS 1.4 sagittaChristian Breunig
The netns support currently available on the VyOS CLI is only a proof-of-technology, we have no real support for any service behind it. In order to not confuse anyone on the LTS branch we decided to remove the netns option for interfaces until there is a proper usecase and implementation available.
2024-05-02pppoe-server: T6234: fix permissions on migration scriptJohn Estabrook
(cherry picked from commit a1f4404739e0baf2f378fe7c890174350a59ffc4)
2024-05-02Merge pull request #3394 from vyos/mergify/bp/sagitta/pr-3367Christian Breunig
T6269: policy: ensure correct rule parsing when using, and when not using <set table> option in policy route. (backport #3367)
2024-05-02Merge pull request #3401 from vyos/mergify/bp/sagitta/pr-3400Daniil Baturin
qos: T6225: Fix QoS random-detect policy (backport #3400)
2024-05-02Merge pull request #3393 from vyos/mergify/bp/sagitta/pr-3392Daniil Baturin
bgp: T6189: L3VPN connectivity is broken after re-enabling VRF (backport #3392)
2024-05-02Merge pull request #3396 from vyos/mergify/bp/sagitta/pr-3386Daniil Baturin
T6056: Change static-host-mapping should not restart snmpd (backport #3386)
2024-05-02qos: T6225: Fix qos random-detect policykhramshinr
Fix default values for random-detect Remove dsmakr qdisc from gred cofig because dsmark was deleted from kernel (cherry picked from commit 0b54c1bc411a21833ec573031cf5ad98fe709a2f)
2024-05-02Merge pull request #3395 from vyos/mergify/bp/sagitta/pr-3307Daniil Baturin
ntp: T4909 rewrite NTP op mode in the new format (backport #3307)
2024-05-02T6056: Change static-host-mapping shold not restart snmpdViacheslav Hletenko
We have several config XML definitions that use the same python3 script `system_host-name.py` https://github.com/vyos/vyos-1x/blob/current/interface-definitions/system_name-server.xml.in https://github.com/vyos/vyos-1x/blob/current/interface-definitions/system_host-name.xml.in https://github.com/vyos/vyos-1x/blob/current/interface-definitions/system_static-host-mapping.xml.in https://github.com/vyos/vyos-1x/blob/current/interface-definitions/system_domain-name.xml.in https://github.com/vyos/vyos-1x/blob/current/interface-definitions/system_domain-search.xml.in Any change in these scripts calls to restart the `service snmpd` The service `snmpd` should be restarted only if `host-name` or `domain-name` was changed. It is a good idea to rewrite it to `get_config_dict` in the future. (cherry picked from commit 4f1db505791deed533dddf0c2f5bdedd6fba34b8)
2024-05-02ntp: T4909: Rewrite NTP op mode in new formatGinko
ntp: T4909: Rewrite NTP op mode in new format Adapts ntp.xml.in to reference new ntp.py file Add ntp.py Adds a check to ntp.py to verify if the ntp service is configured Adds raw mode to ntp.py For raw output, replaces the original method of parsing the command line output FROM re.split+regex TO csv.reader. Separates chrony commands into equivalent functions show_tracking, show_sources, source_sourcestats and show_activity Revises the names of raw dictionary keys variables to be lowercase Corrects a comment typo and renames function name used for raw mode (cherry picked from commit d2a82c30695c2f4265dc5ca2165d27d5aa3e2cef)
2024-05-02T6269: policy: ensure correct rule parsing when using, and when not using ↵Nicolas Fort
<set table> option in policy route. (cherry picked from commit d518386d74ab09c7e75fdbf7f67e14839180f24b)
2024-05-01Merge pull request #3388 from vyos/mergify/bp/sagitta/pr-3364Christian Breunig
pppoe-server: T6234: PPPoE-server pado-delay refactoring (backport #3364)
2024-05-01bgp: T6189: explicitly call vtysh to remove VRF L3VNI configurationChristian Breunig
After e7bb65894 ("vrf: T6189: render FRR L3VNI configuration when creating VRF instance") we need to ensure that the VRF L3VNI configuration is removed in FRR prior to removing the BGP VRF instance. The reason is [1] where FRR only allows VRF BGP instance to be removed when there is NO VNI configured anymore. 1: https://github.com/FRRouting/frr/blob/064c3494527b9e84260410006768ed38e57e1de7/bgpd/bgp_vty.c#L1646-L1650 (cherry picked from commit 7b46172a4aecc714d929aecb8768ab82633de3ba)
2024-05-01vrf: T6189: render FRR L3VNI configuration when creating VRF instanceChristian Breunig
When adding and removing VRF instances on the fly it was noticed that the vni statement under the VRF instance in FRR vanishes. This was caused by a race condition which was previously designed to fix another bug. The wierd design of a Python helper below the VRF tree to only generate the VNI configuration nodes is now gone and all is rendered in the proper place. (cherry picked from commit e7bb65894f86372dc0f6e8fd39b1628e0a224c68)
2024-05-01Merge pull request #3391 from vyos/mergify/bp/sagitta/pr-3390Christian Breunig
smoketest: T6199: remove redundant code when unpacking Kernel GZ config (backport #3390)
2024-05-01smoketest: T6199: remove redundant code when unpacking Kernel GZ configChristian Breunig
(cherry picked from commit 6bcb201a0e7ee9fea5874b963bd3e727ecec578f)
2024-05-01pppoe-server: T6234: PPPoE-server pado-delay refactoringNataliia Solomko
(cherry picked from commit 107ee099e82397b31fca8cf1ac3860cbf76f0596)
2024-05-01Merge pull request #3385 from vyos/mergify/bp/sagitta/pr-3369Christian Breunig
firewall: T6257: Show member information for dynamic groups in op-mode (backport #3369)
2024-05-01firewall: T6257: Show member information for dynamic groups in op-modesarthurdev
(cherry picked from commit 456419c7930405b80d322586736734f707affaed)
2024-05-01Merge pull request #3383 from vyos/mergify/bp/sagitta/pr-3382Christian Breunig
haproxy: T6179: fix rule generation (backport #3382)
2024-05-01haproxy: T6179: fix rule generationNicolas Vollmar
(cherry picked from commit 0be0cdb932ca2d7399c026f1f601b56e179cc9c3)
2024-04-30Merge pull request #3377 from vyos/mergify/bp/sagitta/pr-3371Christian Breunig
openconnect: T4982: Support defining minimum TLS version in openconnect VPN (backport #3371)
2024-04-30Merge pull request #3380 from vyos/mergify/bp/sagitta/pr-3379Christian Breunig
T6169: DNS forwarding should allow underscore for srv record (backport #3379)
2024-04-30Merge pull request #3381 from vyos/mergify/bp/sagitta/pr-3368Christian Breunig
T6267: Check interface wireless module before apply config (backport #3368)
2024-04-30T6267: Check interface wireless module before apply configViacheslav Hletenko
Check if the wireless device/modem exists in the system and the module `ieee802111` was loaded In cases where we do not have wireless devices, it prevents the unexpected traceback ``` set interfaces wireless wlan0 address 192.0.2.5/32 commit Traceback (most recent call last): File "/usr/libexec/vyos/conf_mode/interfaces_wireless.py", line 269, in <modu> c = get_config() ^^^^^^^^^^^^ File "/usr/libexec/vyos/conf_mode/interfaces_wireless.py", line 104, in get_cg tmp = find_other_stations(conf, base, wifi['ifname']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/libexec/vyos/conf_mode/interfaces_wireless.py", line 54, in find_os for phy in os.listdir('/sys/class/ieee80211'): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/ieee80211' ``` (cherry picked from commit 09c302d7e57a0fdb6c51ae8f61d5ad6371a30b67)
2024-04-30T6169: DNS forwarding should allow underscore for srv recordViacheslav Hletenko
This srv recors looks valid: ``` set service dns forwarding authoritative-domain _tcp.db.mongors1.example.com records srv _mongodb entry 0 hostname 'mongors1.example.com' ``` But FQDN validator cannot validate it correctly, use regex to fix (cherry picked from commit 3c37b6a44dca552da950b5288a30c7e074d58704)
2024-04-30Merge pull request #3378 from vyos/mergify/bp/sagitta/pr-3374Christian Breunig
T6273: Allowed the use of "-" and "_" in PPPoE access-concentrator name (backport #3374)
2024-04-30T6273: Allowed the use of "-" and "_" in PPPoE access-concentrator nameaapostoliuk
Allowed the use of "-" and "_" in PPPoE access-concentrator name (cherry picked from commit de38b01710958b7f7dababcff9557e4be98c8450)
2024-04-30openconnect: T4982: Support defining minimum TLS version in openconnect VPNAlex W
(cherry picked from commit 9ff74d4370f0a5f66c303074796dab8b1ca5c4a5)
2024-04-29Merge pull request #3376 from vyos/mergify/bp/sagitta/pr-3375Christian Breunig
T6272: Changed interface existence verification in pppoe/ipoe to Warning (backport #3375)