n/{zorigami,scylla} (kea): explicitly assign subnet identifiers
Some checks reported warnings
CI / aarch64-linux (push) Has been cancelled
CI / x86_64-linux (push) Has been cancelled

Auto-generated subnet identifiers are deprecated. not a problem yet with
the kea version in the pinned nixpkgs, but we're bound to hit it sooner
or later.
See: https://kea.readthedocs.io/en/kea-2.5.8/arm/dhcp4-srv.html#ipv4-subnet-identifier
This commit is contained in:
Ari Gato 2024-06-06 16:59:10 +02:00
parent 9489b7dd07
commit 0c878528a3
2 changed files with 4 additions and 0 deletions

View file

@ -276,6 +276,7 @@ in {
subnet4 = [
{
id = 1;
subnet = "192.168.24.0/24";
pools = [{ pool = "192.168.24.40 - 192.168.24.240"; }];
reservations-out-of-pool = true;
@ -299,6 +300,7 @@ in {
}];
}
{
id = 2;
subnet = "192.168.20.0/24";
pools = [{ pool = "192.168.20.40 - 192.168.20.240"; }];
reservations-out-of-pool = true;

View file

@ -496,12 +496,14 @@
subnet4 = [
{
id = 1;
subnet = "10.21.37.0/27";
pools = [{ pool = "10.21.37.5 - 10.21.37.25"; }];
reservations-out-of-pool = true;
reservations-in-subnet = true;
}
{
id = 2;
subnet = "10.21.37.32/27";
pools = [{ pool = "10.21.37.37 - 10.21.37.57"; }];
reservations-out-of-pool = true;