<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/tests, branch rolling</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2026-07-07T13:42:21+00:00</updated>
<entry>
<title>Merge pull request #5275 from BradKollmyer/remote-T8829-head-fallback</title>
<updated>2026-07-07T13:42:21+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2026-07-07T13:42:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e3b38a56bd24407b1f03d6e833b3b5db94fe2443'/>
<id>urn:sha1:e3b38a56bd24407b1f03d6e833b3b5db94fe2443</id>
<content type='text'>
remote: T8829: fall back to GET when HEAD is not supported</content>
</entry>
<entry>
<title>Merge pull request #5285 from c-po/cmdl</title>
<updated>2026-06-29T14:18:55+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2026-06-29T14:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4a888ac808c29323d3adb3862d908e7cb2bfc592'/>
<id>urn:sha1:4a888ac808c29323d3adb3862d908e7cb2bfc592</id>
<content type='text'>
utils: T9003: add list-argument variant of cmd() for safer subprocess execution</content>
</entry>
<entry>
<title>T9015: add nosetest</title>
<updated>2026-06-24T20:30:08+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2026-06-24T19:17:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5b52dbea7e780809ddc9b0d086c49849336f3259'/>
<id>urn:sha1:5b52dbea7e780809ddc9b0d086c49849336f3259</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ipsec: T8975: add unit tests for vti_updown_db lock wiring</title>
<updated>2026-06-24T04:49:41+00:00</updated>
<author>
<name>Robert Navarro</name>
<email>crshman@gmail.com</email>
</author>
<published>2026-06-19T02:13:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=66d984ae1b25928335650d04a28a497702ba8280'/>
<id>urn:sha1:66d984ae1b25928335650d04a28a497702ba8280</id>
<content type='text'>
The module previously had no tests. Cover the DB logic (add/remove,
multiple connections per interface, removeAllOtherInterfaces,
setPersistentInterfaces, seed-from-file) and assert each open_* helper
acquires the serialising lock, exercised with vyos.utils.locking.Lock
patched out.
</content>
</entry>
<entry>
<title>remote: T8829: fall back to GET when HEAD is not supported</title>
<updated>2026-06-21T22:42:29+00:00</updated>
<author>
<name>Brad Kollmyer</name>
<email>bradk@vitalsoft.com</email>
</author>
<published>2026-06-21T22:31:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=516eccd41b75bbfd237440d919ef5292215ba30d'/>
<id>urn:sha1:516eccd41b75bbfd237440d919ef5292215ba30d</id>
<content type='text'>
HttpC.download() always probed remote URLs with HEAD before GET to
discover redirects and Content-Length. Some APIs (e.g. AbuseIPDB)
reject HEAD with 405 Method Not Allowed, causing firewall remote-group
downloads to fail and leave empty cached list files.

Treat HEAD 405/501 as unsupported and proceed with GET using the
original URL. When HEAD does not provide Content-Length, read it from
the GET response headers instead. Validate available storage after
determining file size and before opening the destination file.

Log sanitized download errors in vyos-domain-resolver when a remote-
group list-file fetch fails. Add unit tests with mock servers that
return 405 or 501 on HEAD and 200 on GET.
</content>
</entry>
<entry>
<title>utils: T9003: add list-argument variant of cmd() for safer subprocess execution</title>
<updated>2026-06-20T12:12:23+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-06-19T20:27:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2c7757048169be7db306efbedacd3ae9af4fbb64'/>
<id>urn:sha1:2c7757048169be7db306efbedacd3ae9af4fbb64</id>
<content type='text'>
A list-argument variant of cmd() for safer subprocess execution named cmdl().
Command must be a list of strings; no shell interpolation is performed, which
eliminates a class of command-injection risks present when building commands
with f-strings or other string formatting.
</content>
</entry>
<entry>
<title>T8916: add simple nosetest for subtree_from_partial utility</title>
<updated>2026-05-28T13:31:32+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2026-05-27T13:19:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8aa9fe5d526e3a7432959e60216ca3363bde90fb'/>
<id>urn:sha1:8aa9fe5d526e3a7432959e60216ca3363bde90fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #5130 from natali-rs1985/T8460</title>
<updated>2026-04-24T12:43:36+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2026-04-24T12:43:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=0cc2bbfc54370cce2d2c7540fb155e464207f1be'/>
<id>urn:sha1:0cc2bbfc54370cce2d2c7540fb155e464207f1be</id>
<content type='text'>
vpp: T8460: Use isolated cpus for VPP cpu-cores</content>
</entry>
<entry>
<title>vpp: T8460: Use isolated cpus for VPP cpu-cores</title>
<updated>2026-04-21T13:45:43+00:00</updated>
<author>
<name>Nataliia Solomko</name>
<email>natalirs1985@gmail.com</email>
</author>
<published>2026-04-14T15:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9cb6f4c001fa5d4f4ed26850fc99dde4c3692c8f'/>
<id>urn:sha1:9cb6f4c001fa5d4f4ed26850fc99dde4c3692c8f</id>
<content type='text'>
VPP CPU core assignment now uses kernel-isolated CPUs (from /sys/devices/system/cpu/isolated) with explicit corelist-workers instead of computing offsets from available cores with skip-cores/workers. Added validation that enough CPUs are actually isolated before VPP starts, and that isolate-cpus config only references existing CPU IDs. Moved smoketest for kernel option 'isolate-cpus' to test_vpp.py
</content>
</entry>
<entry>
<title>T8534: refactor sysctl_(read|write) to accept key parts</title>
<updated>2026-04-21T04:13:21+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-04-19T20:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=754635c257b1860ce393cdc342c1b7ca7e65da1f'/>
<id>urn:sha1:754635c257b1860ce393cdc342c1b7ca7e65da1f</id>
<content type='text'>
Interface names can contain dots (e.g. VLAN subinterfaces like eth0.10), which
conflicts with sysctl's dot-separated key syntax.

Change sysctl_read() and sysctl_write() to take key components as a list and
normalize each component by replacing . with / before invoking sysctl. This
fixes sysctl lookups/updates for VLAN subinterfaces.

Extend the SR-TE smoketest to cover a VLAN subinterface.

Previous error raising this issue:
  vyos-configd: sysctl: cannot stat /proc/sys/net/ipv6/conf/eth0/10/seg6_enabled: No such file or directory
  vyos-configd: sysctl: cannot stat /proc/sys/net/ipv6/conf/eth0/201/seg6_enabled: No such file or directory
</content>
</entry>
</feed>
