<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-11-13T14:35:22+00:00</updated>
<entry>
<title>Merge pull request #5628 from natali-rs1985/T9568</title>
<updated>2026-11-13T14:35:22+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2026-11-13T14:35:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5665f89e414d3f40db70f9e143184a0062f68b0e'/>
<id>urn:sha1:5665f89e414d3f40db70f9e143184a0062f68b0e</id>
<content type='text'>
remote: T9568: Do not send HTTP credentials to another host after a redirect</content>
</entry>
<entry>
<title>T9615: run is_ip_network test shadowed by a duplicate name</title>
<updated>2026-11-12T16:32:31+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-11-12T16:32:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=59ce4e88f58e49e846d505bda2c8397475edfdaf'/>
<id>urn:sha1:59ce4e88f58e49e846d505bda2c8397475edfdaf</id>
<content type='text'>
Two tests shared one name, so the is_ip_network test was replaced by the
compare_netmask test and never ran.
</content>
</entry>
<entry>
<title>Merge pull request #5636 from jestabro/perms-write-file</title>
<updated>2026-11-10T14:21:46+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2026-11-10T14:21:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7c8d8b1a4e7a62e80fddd7164f4e0366c1983f25'/>
<id>urn:sha1:7c8d8b1a4e7a62e80fddd7164f4e0366c1983f25</id>
<content type='text'>
T9590: fix order of set perms/ownership and first write in utils write_file</content>
</entry>
<entry>
<title>Merge pull request #5526 from yzguy/wwan-static-bearer-addressing</title>
<updated>2026-11-08T19:48:51+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-11-08T19:48:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1f1bc06c2645c9cc2675298ce3ad72e1e29a1bc4'/>
<id>urn:sha1:1f1bc06c2645c9cc2675298ce3ad72e1e29a1bc4</id>
<content type='text'>
wwan: T9388: apply a static bearer's address/gateway/DNS directly instead of DHCP(v6)/SLAAC</content>
</entry>
<entry>
<title>utils: T9322: simplify address assignment lookup and document ValueError</title>
<updated>2026-11-08T07:50:45+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-11-08T07:50:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=589f2e5552e8508dcc21fcc488ffc25a17e8f91f'/>
<id>urn:sha1:589f2e5552e8508dcc21fcc488ffc25a17e8f91f</id>
<content type='text'>
The lookup for an address on all interfaces carried a copy of the zone
index and VRF filtering that already exists in the lookup returning the
matching interfaces. It now delegates to it, so the two cannot drift.

The per-interface address match is written as a single condition, the
comments are trimmed, and the docstrings state that anything but a
single address raises ValueError instead of being reported as not
assigned.

The sflow zone index smoketest removes the dummy interface it creates,
and the unit tests drop a stale task reference and a duplicate import.
</content>
</entry>
<entry>
<title>utils: T9322: reject addresses that are not a single address and honour zone indexes</title>
<updated>2026-11-08T07:43:16+00:00</updated>
<author>
<name>Ruben Herold</name>
<email>ruben@puettmann.net</email>
</author>
<published>2026-11-02T09:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=bac758ad16b7cfa855eb977af8f50f4b9b0639d7'/>
<id>urn:sha1:bac758ad16b7cfa855eb977af8f50f4b9b0639d7</id>
<content type='text'>
The helper that tells whether an address is assigned to an interface
accepted ranges and addresses with a zone index. A range ended in a
traceback. A zone index was ignored, so an address on the loopback
interface was reported as assigned to the interface named in the zone.

The helper now rejects everything that is not a single address, a zone
index included. The functions that look for an address on all
interfaces use the zone to pick the one interface to check, so a zone
that names an interface which does not hold the address is no longer
accepted. The command that lists the addresses is passed as a list, so
the interface name and the namespace do not reach a shell.

Unit tests and a smoketest cover the cases.
</content>
</entry>
<entry>
<title>wwan: T9388: apply a static bearer's address/gateway/DNS directly</title>
<updated>2026-11-07T21:19:52+00:00</updated>
<author>
<name>Adam Smith</name>
<email>adamsmith@yzguy.io</email>
</author>
<published>2026-10-08T01:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9babe4468dec43d2df20488bacd3877d77c42b35'/>
<id>urn:sha1:9babe4468dec43d2df20488bacd3877d77c42b35</id>
<content type='text'>
QMI raw-ip modems get their address, gateway and DNS from ModemManager
as a "static" bearer instead of over a DHCP(v6) or Router Advertisement
exchange, so "address dhcp", "address dhcpv6" and "ipv6 address
autoconf" never produced a usable config and only worked for IPv4 by
accident.

Check the interface's connected bearer first. If its method for the
family is static, apply it directly; if it is dhcp, or there is no
bearer yet, fall through to the existing DHCP(v6) client / kernel SLAAC
unchanged.

- Address and DNS are applied from the bearer. DNS is registered with
  vyos-hostsd under the same dhcp-&lt;if&gt;/dhcpv6-&lt;if&gt; tags a real client
  uses. A DHCP(v6) client which was started while the bearer was still
  missing, including one which keeps restarting, is stopped before the
  settings are applied.
- The default route is rendered into FRR as a tag 210 static route, the
  same way a DHCP one is. WWANIf records the gateway of the bearer in
  /run/vyos-wwan, which the new get_wwan_router() filter reads, and a
  new block in staticd.frr.j2 fed by get_wwan_interfaces() renders the
  IPv4 and IPv6 default routes. Distance, no-default-route and VRFs
  behave as for DHCP, also for an interface without "address dhcp".
  frrender notices a gateway change, and WWANIf reconciles FRR with
  vyos-frr-render.py whenever the recorded gateway changes, the way the
  dhclient lease hook does, so op-mode reconnect is covered as well.
  The state is written atomically, as the renderer reads it
  concurrently.
- The address installed from the bearer is recorded in /run/vyos-wwan
  too. It is removed on reconnect, when the family is no longer
  configured and when the interface goes away, and nothing else on the
  interface is ever touched.
- vyos-netlinkd applies the bearer again after it re-dials a lost
  session, as the new session can come back with a different address or
  gateway. A DHCP client used to pick that up on its own. What a
  previous session left behind is dropped for a family the new one does
  not supply, the configured DHCP(v6) client or SLAAC is started for it
  as a commit would, and an incomplete result is retried on the
  following reconcile passes for a while.
- The bearer is picked by its connected status rather than bearers[0],
  and its config is polled briefly with wait_for() until it is no
  longer missing or a placeholder, since it can be populated slightly
  after the bearer reports connected.
</content>
</entry>
<entry>
<title>T9590: add unittest to check perms at first write of utils write_file</title>
<updated>2026-11-06T20:43:51+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2026-11-06T20:00:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2535901aa5b4bd34f172af389560f8dce146ea07'/>
<id>urn:sha1:2535901aa5b4bd34f172af389560f8dce146ea07</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #5631 from c-po/T9559</title>
<updated>2026-11-06T11:27:22+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2026-11-06T11:27:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c67221dfa4eac5e2f78eea09028a078a9c63cde6'/>
<id>urn:sha1:c67221dfa4eac5e2f78eea09028a078a9c63cde6</id>
<content type='text'>
https: T9559: fix bogus port conflict with "vrf default"</content>
</entry>
<entry>
<title>interfaces: T6393: install mirror and redirect filters for VLAN targets</title>
<updated>2026-11-05T22:21:40+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-11-05T22:19:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9854913e23cf21363a931640cc9994c169969c88'/>
<id>urn:sha1:9854913e23cf21363a931640cc9994c169969c88</id>
<content type='text'>
A VLAN sub-interface used as mirror or redirect target (e.g. bond0.10) was
only accepted if it already existed in the Kernel. The configuration
committed at runtime, but at boot the source interface is committed before
the VLAN is created - verify failed and the whole source interface was
rolled back, as reported for tunnel targets.

A VLAN target is now also accepted if its parent interface has the vif,
vif-s or vif-c configured on the CLI. VLAN sub-interfaces learn which
interfaces mirror or redirect into them and install their filters once
created, as other interfaces already do.

Add a config load test mirroring and redirecting into tunnel and bond VLAN
targets, which are committed after the ethernet sources.
</content>
</entry>
</feed>
