feat(apro): Add vlan apro for AP flashing
All checks were successful
lint / check (push) Successful in 24s
build configuration / build_rescue01 (pull_request) Successful in 1m5s
build configuration / build_web02 (pull_request) Successful in 1m7s
build configuration / build_storage01 (pull_request) Successful in 1m9s
build configuration / build_vault01 (pull_request) Successful in 1m13s
build configuration / build_compute01 (pull_request) Successful in 1m16s
build configuration / build_web01 (pull_request) Successful in 1m34s
build configuration / build_rescue01 (push) Successful in 1m8s
build configuration / build_web02 (push) Successful in 1m9s
build configuration / build_vault01 (push) Successful in 1m10s
build configuration / build_storage01 (push) Successful in 1m11s
build configuration / build_compute01 (push) Successful in 1m18s
build configuration / build_web01 (push) Successful in 1m36s

This commit is contained in:
catvayor 2024-04-08 16:01:29 +02:00
parent 999817ce8b
commit e8fde45fbf

View file

@ -2,6 +2,7 @@ let
vlanName = "vlan-uplink-cri";
vlanAdmin = "vlan-admin";
vlanAP = "vlan-admin-ap";
vlanAP-apro = "vlan-apro";
linkIp = "10.120.33.250";
linkPrefix = "30";
@ -22,6 +23,7 @@ in
vlanName
vlanAdmin
vlanAP
vlanAP-apro
];
LinkLocalAddressing = false;
@ -51,6 +53,11 @@ in
name = vlanAP;
address = [ "fd26:baf9:d250:8010::1/60" ];
};
"10-${vlanAP-apro}" = {
name = vlanAP-apro;
address = [ "10.0.255.1/24" ];
networkConfig.DHCPServer = "yes";
};
};
netdevs = {
"10-${vlanName}" = {
@ -80,6 +87,16 @@ in
Id = 3001;
};
};
"10-${vlanAP-apro}" = {
netdevConfig = {
Name = vlanAP-apro;
Kind = "vlan";
};
vlanConfig = {
Id = 2000;
};
};
};
};
networking.firewall.allowedUDPPorts = [ 67 ];
}