<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/tests/test_template.py, branch fix/T8955-http-api-verify-tls</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=fix%2FT8955-http-api-verify-tls</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=fix%2FT8955-http-api-verify-tls'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2025-06-28T21:16:52+00:00</updated>
<entry>
<title>T7591: remove copyright years from source files</title>
<updated>2025-06-28T21:16:52+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-06-28T18:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1478516ae437f19ebeb7d6ff9b83dd74f8e76758'/>
<id>urn:sha1:1478516ae437f19ebeb7d6ff9b83dd74f8e76758</id>
<content type='text'>
The legal team says years are not necessary so we can go ahead with it, since
it will simplify backporting.

Automatically removed using: git ls-files | grep -v libvyosconfig | xargs sed -i -E \
's/^# Copyright (19|20)[0-9]{2}(-[0-9]{4})? VyOS maintainers.*/# Copyright VyOS maintainers and contributors &lt;maintainers@vyos.io&gt;/g'

In addition we will error-out during "make" if someone re-adds a legacy
copyright notice
</content>
</entry>
<entry>
<title>firewall: T6951:  Add a configuration command for ethertypes that bridge firewalls should always accept</title>
<updated>2025-06-17T15:16:51+00:00</updated>
<author>
<name>Nataliia Solomko</name>
<email>natalirs1985@gmail.com</email>
</author>
<published>2025-06-13T09:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8dbc3c5e67cc1fd043a78dd3446a1a733ebd814f'/>
<id>urn:sha1:8dbc3c5e67cc1fd043a78dd3446a1a733ebd814f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ssh: T6013: rename trusted-user-ca-key -&gt; truster-user-ca</title>
<updated>2025-05-29T12:01:32+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-05-20T17:57:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4b4bbd73b84c2c478c7752f58e7f66ec6d90459e'/>
<id>urn:sha1:4b4bbd73b84c2c478c7752f58e7f66ec6d90459e</id>
<content type='text'>
The current implementation for SSH CA based authentication uses "set service
ssh trusted-user-ca-key ca-certificate &lt;foo&gt;" to define an X.509 certificate
from "set pki ca &lt;foo&gt; ..." - fun fact, native OpenSSH does not support X.509
certificates and only runs with OpenSSH ssh-keygen generated RSA or EC keys.

This commit changes the bahavior to support antive certificates generated using
ssh-keygen and loaded to our PKI tree. As the previous implementation
did not work at all, no migrations cript is used.
</content>
</entry>
<entry>
<title>vyos.template: T7122: add Jinja2 clever function helper to read vyos.defaults</title>
<updated>2025-05-04T09:23:54+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-05-04T09:23:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=aff2835d7b6226e4b89f51e3f6133da26f3a07bf'/>
<id>urn:sha1:aff2835d7b6226e4b89f51e3f6133da26f3a07bf</id>
<content type='text'>
Add a new category if Jinja2 operands. We already have filters and tests, but
sometimes we would like to call a Python function without and data "|" piped
to it - that's what they call a clever-function.

{{ get_default_port(NAME) }} can be used to retrieve the value from
vyos.defaults.internal_ports[NAME] within Jinja2. We no longer need to extend
the dictionary with arbitrary data retrieved from vyos.defaults, we can now
simply register another clever-function to the Jinja2 backend.
</content>
</entry>
<entry>
<title>T6510: remove shebang for "make test" testcases</title>
<updated>2024-06-26T19:47:09+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-06-26T19:31:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=33d4f8adb85fbf5e3b279ef59f1d2f113639e62f'/>
<id>urn:sha1:33d4f8adb85fbf5e3b279ef59f1d2f113639e62f</id>
<content type='text'>
Tests must run supervisioned by unittest framework and should not be
executed manually
</content>
</entry>
<entry>
<title>utils: T5738: always use vyos.utils.network.interface_exists over os.path.exists</title>
<updated>2024-04-01T18:38:56+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-01T18:38:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5bb27f0c6220fd940b63cdd37a60c312c0ac3efd'/>
<id>urn:sha1:5bb27f0c6220fd940b63cdd37a60c312c0ac3efd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: T5869: consolidate duplicated test cases</title>
<updated>2023-12-29T12:30:48+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-29T12:30:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=80e2e80b5504d1da643a0d5c9772a1f9dee0aa99'/>
<id>urn:sha1:80e2e80b5504d1da643a0d5c9772a1f9dee0aa99</id>
<content type='text'>
We have had duplicated test cases in test_jinja_filters.py and test_template.py,
They have been consolidated into test_template.py.
</content>
</entry>
<entry>
<title>vyos.template: T5869: first_host_address() does not honor RFC4291 section 2.6.1</title>
<updated>2023-12-29T12:30:20+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-29T12:29:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=cc4ce81ece57faca8ce111b8f3748389ecb40202'/>
<id>urn:sha1:cc4ce81ece57faca8ce111b8f3748389ecb40202</id>
<content type='text'>
The subnet router anycast address is predefined. Its format is as follows:

|                         n bits                 |   128-n bits   |
+------------------------------------------------+----------------+
|                   subnet prefix                | 00000000000000 |
+------------------------------------------------+----------------+
The "subnet prefix" in an anycast address is the prefix that identifies a
specific link. This anycast address is syntactically the same as a unicast
address for an interface on the link with the interface identifier set to zero.

Packets sent to the Subnet-Router anycast address will be delivered to one
router on the subnet. All routers are required to support the Subnet-Router
anycast addresses for the subnets to which they have interfaces.

The Subnet-Router anycast address is intended to be used for applications where
a node needs to communicate with any one of the set of routers.

Our code as of now returns the subnet router anycast address as the
first_host_address().
</content>
</entry>
<entry>
<title>ipsec: T2816: add Jinja2 converter for ESP/IKE groups to string</title>
<updated>2021-07-03T11:45:31+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-07-03T11:40:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2d79a5000c8a02fd7570f629c3182fd55fdb8c86'/>
<id>urn:sha1:2d79a5000c8a02fd7570f629c3182fd55fdb8c86</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vyos.template: T3418: add new is_interface helper function</title>
<updated>2021-04-05T13:37:04+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-04-05T13:36:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=23598fc082fcf0c02e113586bfc615583a05d2f3'/>
<id>urn:sha1:23598fc082fcf0c02e113586bfc615583a05d2f3</id>
<content type='text'>
</content>
</entry>
</feed>
