<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/conf_mode/dhcp_server.py, branch feature/T9082-codeql-cpp</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=feature%2FT9082-codeql-cpp</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-12-31T22:49:48+00:00</updated>
<entry>
<title>T5474: establish common file name pattern for XML conf mode commands</title>
<updated>2023-12-31T22:49:48+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-30T22:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4ef110fd2c501b718344c72d495ad7e16d2bd465'/>
<id>urn:sha1:4ef110fd2c501b718344c72d495ad7e16d2bd465</id>
<content type='text'>
We will use _ as CLI level divider. The XML definition filename and also
the Python helper should match the CLI node.

Example:
set interfaces ethernet -&gt; interfaces_ethernet.xml.in
set interfaces bond -&gt; interfaces_bond.xml.in
set service dhcp-server -&gt; service_dhcp-server-xml.in
</content>
</entry>
<entry>
<title>dhcp: T3316: Adjust kea lease files' location and permissions</title>
<updated>2023-12-29T06:37:56+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-12-27T07:51:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=745b9ea8f0df58ccd68215360b0375e89c0632a8'/>
<id>urn:sha1:745b9ea8f0df58ccd68215360b0375e89c0632a8</id>
<content type='text'>
Move the kea lease file to a separate directory `/config/dhcp` that `kea`
process can write to so that subprocesses spawned by `kea` process can
operate on the lease files.

To allow `kea` process to write to `/config/dhcp`, add `_kea` user to
`vyattacfg` group. And the lease files are owned completely by `_kea`
user to play well with `kea-lfc` process.

Specifically, this is necessary for `kea-lfc` which is spawned by `kea`
process to clean up expired leases. Since `kea-lfc` creates additional
backup lease files, it needs write access to the lease file directory.

Additionally, change the extension of the lease file from `.leases` to
`.csv` to reflect the actual file format.
</content>
</entry>
<entry>
<title>Merge pull request #2650 from indrajitr/kea-reservation-fix</title>
<updated>2023-12-28T12:07:41+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-28T12:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b0fc2507aab533c1d6c4472667f39f9c11f40e69'/>
<id>urn:sha1:b0fc2507aab533c1d6c4472667f39f9c11f40e69</id>
<content type='text'>
dhcp: T3316: Support hostname, DUID and MAC address in reservation</content>
</entry>
<entry>
<title>T5840: Add override for systemd kea-ctrl-agent.service</title>
<updated>2023-12-22T16:08:18+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-12-22T16:08:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f999a7160745668dbcfd79a3c71bb8510d1aaabe'/>
<id>urn:sha1:f999a7160745668dbcfd79a3c71bb8510d1aaabe</id>
<content type='text'>
After update KEA to 2.4.x in the bf04cd8fea44d375fb7d93d75a1f31c220730c88
there is a file that expects ConditionFileNotEmpty=/etc/kea/kea-api-password
It cause the unit `kea-ctrl-agent.service` cannot start

systemd[1]: kea-ctrl-agent.service - Kea Control Agent was skipped because of an unmet condition check (ConditionFileNotEmpty=/etc/kea/kea-api-password)

Override systemd kea-ctrl-agent.service do not check this file
</content>
</entry>
<entry>
<title>dhcp: T3316: Support hostname, DUID and MAC address in reservation</title>
<updated>2023-12-22T01:48:25+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-12-17T21:21:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4e1b826eecdf611fc318b2b95a27d289799ae5f4'/>
<id>urn:sha1:4e1b826eecdf611fc318b2b95a27d289799ae5f4</id>
<content type='text'>
Reinstate support for hostname in DHCP reservation. Having `hostname` in
allows for server-side assignment of hostname. This is useful for static
lookup of hostname.

Ensure that hostname is a valid FQDN (doesn't have underscore, etc.)

Additionally, support using either of DUID or MAC address for
reservation. While MAC address is typically used for IPv4, and DUID is
typically used for IPv6, either of them can be used in IPv4 and IPv6
reservations in Kea.
</content>
</entry>
<entry>
<title>dhcp: T3316: Kea DHCP and DHCPv6 fixes</title>
<updated>2023-12-17T00:39:26+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2023-12-17T00:25:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8e0a54676ff2ac90b7c24e4f05b05bcebc584bd3'/>
<id>urn:sha1:8e0a54676ff2ac90b7c24e4f05b05bcebc584bd3</id>
<content type='text'>
* Move Kea socket permission change on-demand and speed up conf scripts
* Fix issue with DHCP reservations when no `ip-address` value
</content>
</entry>
<entry>
<title>dhcp: T3316: Migrate dhcp/dhcpv6 server to Kea</title>
<updated>2023-12-07T23:29:38+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2022-12-16T10:41:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d95200e96763e4a7ed02577b1b177c84abb77838'/>
<id>urn:sha1:d95200e96763e4a7ed02577b1b177c84abb77838</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T2958: Refactor DHCP-server systemd unit and lease</title>
<updated>2023-09-04T14:54:05+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-08-29T10:02:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c07055258b853de641d2a1353582800b24c514d2'/>
<id>urn:sha1:c07055258b853de641d2a1353582800b24c514d2</id>
<content type='text'>
Render isc-dhcp-server systemd unit from configuration
</content>
</entry>
<entry>
<title>T5483: clean up tmp config file</title>
<updated>2023-08-16T02:40:56+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-08-16T02:40:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4ea96d2485971dbdafe921ca65967f8385450f11'/>
<id>urn:sha1:4ea96d2485971dbdafe921ca65967f8385450f11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5319: remove workarounds for defaults in dhcp_server.py</title>
<updated>2023-08-07T05:48:31+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-08-06T02:16:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=332196ca0107d564502665907d3f165500cff1a9'/>
<id>urn:sha1:332196ca0107d564502665907d3f165500cff1a9</id>
<content type='text'>
</content>
</entry>
</feed>
