All checks were successful
Build all the nodes / netaccess01 (push) Successful in 20s
Build all the nodes / netcore02 (push) Successful in 21s
Build all the nodes / ap01 (push) Successful in 32s
Build all the nodes / netcore01 (push) Successful in 38s
Build all the nodes / hypervisor03 (push) Successful in 1m49s
Build all the nodes / hypervisor01 (push) Successful in 1m55s
Build all the nodes / geo01 (push) Successful in 1m57s
Build all the nodes / storage01 (push) Successful in 2m1s
Build all the nodes / hypervisor02 (push) Successful in 2m3s
Build all the nodes / geo02 (push) Successful in 2m8s
Build all the nodes / rescue01 (push) Successful in 2m15s
Build the shell / build-shell (push) Successful in 27s
Build all the nodes / tower01 (push) Successful in 2m17s
Build all the nodes / bridge01 (push) Successful in 2m20s
Build all the nodes / build01 (push) Successful in 2m28s
Build all the nodes / vault01 (push) Successful in 2m12s
Run pre-commit on all files / pre-commit (push) Successful in 40s
Build all the nodes / web03 (push) Successful in 1m59s
Build all the nodes / web01 (push) Successful in 2m27s
Build all the nodes / web02 (push) Successful in 2m26s
Build all the nodes / compute01 (push) Successful in 4m57s
91 lines
1.8 KiB
Nix
91 lines
1.8 KiB
Nix
# SPDX-FileCopyrightText: 2024 Lubin Bailly <lubin.bailly@dgnum.eu>
|
|
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
#
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
_:
|
|
|
|
{
|
|
networking = {
|
|
useNetworkd = true;
|
|
useDHCP = false;
|
|
|
|
nftables.enable = true;
|
|
firewall.allowedUDPPorts = [ 67 ];
|
|
};
|
|
|
|
systemd.network = {
|
|
networks = {
|
|
"10-enp1s0f0" = {
|
|
name = "enp1s0f0";
|
|
# description = "To the switch";
|
|
networkConfig = {
|
|
VLAN = [
|
|
"vlan-admin"
|
|
];
|
|
|
|
LinkLocalAddressing = false;
|
|
LLDP = false;
|
|
EmitLLDP = false;
|
|
IPv6AcceptRA = false;
|
|
IPv6SendRA = false;
|
|
};
|
|
};
|
|
|
|
"10-eno1" = {
|
|
name = "eno1";
|
|
# description = "Uplink cri";
|
|
address = [
|
|
"10.120.33.246/30"
|
|
"129.199.195.158/32"
|
|
];
|
|
routes = [
|
|
{
|
|
PreferredSource = "129.199.195.158";
|
|
Gateway = "10.120.33.245";
|
|
}
|
|
];
|
|
|
|
networkConfig = {
|
|
LLDP = false;
|
|
EmitLLDP = false;
|
|
IPv6AcceptRA = false;
|
|
IPv6SendRA = false;
|
|
};
|
|
|
|
};
|
|
|
|
"10-vlan-admin" = {
|
|
name = "vlan-admin";
|
|
# DHCP for the BMC
|
|
networkConfig.DHCPServer = "yes";
|
|
|
|
dhcpServerConfig = {
|
|
PoolOffset = 128;
|
|
EmitDNS = false;
|
|
EmitNTP = false;
|
|
EmitSIP = false;
|
|
EmitPOP3 = false;
|
|
EmitSMTP = false;
|
|
EmitLPR = false;
|
|
UplinkInterface = ":none";
|
|
};
|
|
|
|
address = [
|
|
"fd26:baf9:d250:8000::ffff/64"
|
|
"192.168.222.1/24"
|
|
];
|
|
};
|
|
};
|
|
|
|
netdevs = {
|
|
"10-vlan-admin" = {
|
|
netdevConfig = {
|
|
Name = "vlan-admin";
|
|
Kind = "vlan";
|
|
};
|
|
vlanConfig.Id = 3000;
|
|
};
|
|
};
|
|
};
|
|
}
|